dyld[2207]: Library not loaded: @rpath/Structure.framework/Structure

Hello,
I've added the SDK but it fails on start on mobile:

dyld[2207]: Library not loaded: @rpath/Structure.framework/Structure
  Referenced from: <56079A00-72F9-39C4-90DC-23E98E1986C1> /private/var/containers/Bundle/Application/33D3E5EA-A3EA-4402-82E1-86FF7CDBF776/Scanner.app/Scanner
  Reason: tried: '/usr/lib/swift/Structure.framework/Structure' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/Structure.framework/Structure' (no such file), '/private/var/containers/Bundle/Application/33D3E5EA-A3EA-4402-82E1-86FF7CDBF776/Scanner.app/Frameworks/Structure.framework/Structure' (no such file), '/usr/lib/swift/Structure.framework/Structure' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/Structure.framework/Structure' (no such file), '/private/var/containers/Bundle/Application/33D3E5EA-A3EA-4402-82E1-86FF7CDBF776/Scanner.app/Frameworks/Structure.framework/Structure' (no such file)

What I'm missing?

Hello!
Thanks for reaching out.
Please make sure that the "Embed Frameworks" option is enabled in the "Build Phases" section:

Also, check that Structure Framework is present in the built app: Scanner.app/Frameworks/Structure.framework


Editor version 3.2.2 cannot fetch COPYbooks.

Development environment used

Z Open Editor version:
Editor Platform

[X] Visual Studio Code
[ ] Red Hat CodeReady Workspaces
[ ] Eclipse Che
[ ] Standalone Theia

Editor Platform Version:
Operating System (on which VS Code runs such as Windows 10 2004, otherwise name and version of platform such as OpenShift v4.3): Windows 11
Java Version (when using VS Code or Theia, execute java -version and paste the details here):
[ ] Related to RSE API?

RSE API Plugin version:
Zowe CLI version: 7.18.2
Node.js version: v18.17.1

Logs attached (see here how to get them): no

Problem Description
Detailed steps for reproducing the problem:

Pick a COBOL program via Zowe Explorer (dataset member opened successfully, so Zowe works as expected)

Observed behavior

Expected behavior

copybooks found

This works in previous versions of IBM Z Open Editor. The bug was introduced in v3.2.2.

@COBOL-Erik thanks for reporting this. Can you provide more steps to reproduce the error perhaps snippets from your log? Are you just opening a file and get the errors when the editor tries to load the copybooks? This is a commonly used function so we need to figure out what goes wrong in your case.

I get this as soon as I open a COBOL member in my PDS with Zowe Explorer. Here is the log:
2023-10-02T15:40:01.304+02:00 INFO : Zowe Explorer was modified for IBM Remote System Explorer API (RSE API) support by IBM Z Open Editor.
2023-10-02T15:40:01.366+02:00 INFO : IBM Z Open Editor extension has (re)started.
2023-10-02T15:40:42.093+02:00 ERROR: ZoweResourceResolver.checkMVSConnection: MVS connection check failed for profile zosmf_SEBz with HTTP Error 401 - Unauthorized
2023-10-02T15:40:46.723+02:00 INFO : ZoweViews.stopResolving: Stopping remote file resolving due to invalid credentials for the Zowe CLI profile. To resume remote file resolving for {0} files, use the "IBM Z Open Editor: Reload Zowe Profiles" command palette option or restart VS Code.
2023-10-02T15:40:46.724+02:00 INFO : ZoweViews.stopResolving: Stopping remote file resolving due to invalid credentials for the Zowe CLI profile. To resume remote file resolving for {0} files, use the "IBM Z Open Editor: Reload Zowe Profiles" command palette option or restart VS Code.
2023-10-02T15:40:46.725+02:00 WARN : The COBOL language server requested the include file "xxx", which was not found. enforceCaseSensitiveIncludeFileNames was set to false. Check your Zowe CLI profile and property group settings and if you have not already done so, switch to the "DEBUG" log level for more information.
2023-10-02T15:40:46.725+02:00 INFO : ZoweViews.stopResolving: Stopping remote file resolving due to invalid credentials for the Zowe CLI profile. To resume remote file resolving for {0} files, use the "IBM Z Open Editor: Reload Zowe Profiles" command palette option or restart VS Code.
Again, note that everything works fine when I Install Another Version of the IBM Z Open Editor.

(I removed the original include file name and changed it to "xxx". The last two message lines occur for every COPY statement in the source.)

@COBOL-Erik thanks for the details. I not able to reproduce the problem, unfortunately. If you enable DEBUG level logging as described here you will get more output. As you are a customer you could open a ticket with tech support and then we could exchange full log files in a secure way. Mention my name in the ticket and we could even do a screen sharing session.
However, this is how the DEBUG log would look like when it is working.
2023-10-02T11:41:40.932-07:00 DEBUG: ZLanguagesResourceResolver.documentRequested: The COBOL language server requested the following include file: "CUSTCOPY". The ID for this request was assigned as "m7pqns" There are 1 pending requests being processed.
2023-10-02T11:41:40.933-07:00 DEBUG: ZLanguagesResourceResolver.findIncludeFiles(RequestId:m7pqns): Started looking for "CUSTCOPY" in 1 property groups: [cobol-copybooks] and will search in that order.
2023-10-02T11:41:40.933-07:00 DEBUG: ZLanguagesResourceResolver: The download queue has been configured to maximally perform 10 parallel downloads. You can change this value with the "zopeneditor.zowe.{maximumParallelFileDownloads}" user setting.
2023-10-02T11:41:40.934-07:00 DEBUG: ZoweResourceResolver.checkMVSConnection: Running a Zowe profile connection test using the profile "devtest25.zosmf" by reading data set "sys1.proclib".
2023-10-02T11:41:41.498-07:00 DEBUG: ZoweResourceResolver.downloadMVSDataset(RequestId:m7pqns): Looking for data set member "IBMUSER.SAMPLE.COBCOPY(CUSTCOPY)" on MVS using Zowe CLI Profile "devtest25.zosmf".
2023-10-02T11:41:42.120-07:00 DEBUG: ZoweResourceResolver.downloadMVSDataset(RequestId:m7pqns): Data set member "IBMUSER.SAMPLE.COBCOPY(CUSTCOPY)" was found and content is being downloaded to "/Users/phaumer/.vscode/extensions/ibm.zopeneditor-3.2.2/resources/temp/zopeneditor/_D_/devtest25.zosmf/IBMUSER.SAMPLE.COBCOPY/CUSTCOPY.cpy".

It starts with our language server requesting a file. As we support parallel requests and downloads we generate a request id that you can use to filter down all the parallel request coming in. Or, you could just create a sample file with a single copybook.
We then log which property groups from your zapp files are being used for this request.
If this is a the first request since the editor started it will tell you how many parallel downloads have been configured and then perform a connection test. It will query the existence of SYS1.PROCLIB to do that. Note, that this line does not have a request id so if you have a filter you need to remove it to see it.
If the connection succeeds it will proceed looking for the copybooks using the contents of your property groups.

I assume that in your case the connection test fails. In Debug mode though there should be more error messages that we could look at. The important information to check also that in all cases the same profile is being used.

Hi,
We experience some problems for some users like this one...
ZOE/ZE cannot resynchronize the password stored by the Zowe profile.
The solution was to issue a zowe cli command from the VS Code terminal, from a folder in the VS Code workspace, for example a file list request.
In this case the zowe cli command revalidates the credentials and updates the profile.
Can you try this and report result here?

I have run a number of Zowe commands in the VSC terminal in the workspace, but it does not seem to help with the editor and includes.


Problems when installing version from PyPi

(This issue serves just as an organization issue, the problem was already solved in the most recent branch, just not merged yet)
The Stoneforge version from PyPi is outdated (v0.1.4). When trying to do the command pip install stoneforge, this is the output:

If I run pip install stoneforge --no-depedencies, the installation process happens normally. However, something unexpected occurs when you attempt to import the module afterward:

Documentação do bug foi adicionada na wiki do stoneforge. Fechando a issue.


[nghttp2]: update to 1.55.1

Fix CVE-2023-35945 and GHSA-jfxv-29pc-x22r (https://github.com/envoyproxy/envoy/security/advisories/GHSA-jfxv-29pc-x22r)

Moving the PR to draft. Please set it to "ready for review" once changes have been applied.


Feature: Allow users to disable syntax highlighting

Summary

This PR adds a feature that allows users to disable syntax highlighting in the text editor to improve performance.
Changes Made

Added a new toggle switch in the user preferences UI for disabling syntax highlighting.
Implemented logic to handle the enabling and disabling of syntax highlighting based on user preferences.
Updated relevant views to reflect changes in the syntax highlighting state.

TODO
N/A
Motivation

The primary goal of this PR is to provide users with an option to disable syntax highlighting in the text editor. This feature is necessary because disabling syntax highlighting can significantly improve performance, especially for users working with large files or on lower-end devices.
Testing

Manually tested the toggle switch to ensure it correctly enables and disables syntax highlighting.
Verified that performance improves when syntax highlighting is disabled by measuring load times and responsiveness.
Ran the full test suite to ensure no existing functionality is broken by this change.

Screenshots/GIFs

Checklist
Please ensure all of the following are completed before submitting the PR:

[x] Code has been tested and verified.
[x] Documentation has been updated to reflect the changes.
[x] All tests pass successfully.
[x] Code follows the project's coding guidelines and style.
[x] The branch is up-to-date with the latest changes from the main branch.
[x] Reviewed by at least one other contributor.

Related Issues
This PR addresses the following issue(s): NONE
Additional Notes

N/A

Thanks for submitting a pull request!
We will review it as soon as possible.

Hey @nanashili,
Thanks for your contribution.
Your PR has been merged!
Your name will appear on https://auroraeditor.com/#contributors in a few moments, if you have contributed to the editor.
Thanks again for your contribution!
Kind Regards,
Aurora Editor Team.


Switch to ARM caused silent breaking changes

Trace found cause was casting negative float to uint, which is handled differently in ARM: https://www.embeddeduse.com/2013/08/25/casting-a-negative-float-to-an-unsigned-int/
Undefined result raised no error but cause breaking changes in app.
Problem affected two partners.
Setup:

Unity Version 2019.1
MRTK Version v2.0

Target Platform:

HoloLens 2

@jackie could you please provide a call stack or pointer to the method? that was casting float to uint?

Cast was done in client written code. Behavior was essentially that object could not be moved in a certain direction, the cause of which was not immediately apparent but after much stepping was found to be a value being set as "undefined" instead of a valid uint. The other partner affected by this (that I'm aware of, it's apparently cropped up a few other times in previous hacks?) also had done this casting in their own code. So it's really just that the switch to ARM introduced some problems that weren't flagged or warned for.

So it's really just that the switch to ARM introduced some problems that weren't flagged or warned for.

Hm, I'm not sure this is something that we can respond to in MRTK directly, doing a static analysis looking for casts from float to uint seems like something that the compiler / linter should be doing. But it's good to have this filed in case other people run into this issue and can work around it.


Epic: Be able to reference fields and constraints defined in another profile file

EPIC Feature Request
Description of Problem
As a Data Helix user I want to be able to re-use profile json's defined my myself or other people in another file so that I can encourage re-use, smaller profile files and less repeated configs.
This could include defining libraries of rules.  Eg may have a NI.json that has a nation insurance constraint that defines the regex that NI numbers adhere to.
Possibly I'd like to be able to parameterise the json i am using too.
Estimate - Fibonacci number sequence 1,2,3,5,8,13 etc

2 man weeks

TODO
Create story titles for doing and tickets for oding the tasks required to do this epic and list them here

Closing as duplicate as now defining in a milestone (milestone 8)


Get Saved Collections by Name

Is it possible to retreive the list of saved collections and their names with this API? I only see the collection IDs returned with the saved items, but there's no way to get the collection names.

Is there a way ?

There's ig.feed.saved() now.

@Nerixyz did you added possibility to fetch collection by id? ig.feed.saved() returns only main collection.

@Nerixyz did you added possibility to fetch collection by id? ig.feed.saved() returns only main collection.

This isn't supported yet, feel free to open a PR and add it.

Yes, useful to have.

@Nerixyz did you added possibility to fetch collection by id? ig.feed.saved() returns only main collection.

This isn't supported yet, feel free to open a PR and add it.

Is it added in v2?

#1683 maybe its works

#1684 i opened PR @Nerixyz

I saw it, it looks okay to me. But I can't publish any version on npm.


API: Specify that DLPack should use BufferError

I would actually like MUST, but since most implementations currently don't actually give a BufferError, writing it as SHOULD instead.
First part of closing https://github.com/numpy/numpy/issues/20742

@seberg I assume that this recommendation does not fix the namespace for the actual exception object, right?

While DLPack is a buffer conceptually, it is not the buffer as in Py_buffer. Why not introduce dedicated DLPackCreationError in array namespace?
Here is what I had in my POC:
Raises:
    DLPackCreationError: when array can be represented as
        DLPack tensor. This may happen when array was allocated
        on a partitioned sycl device, or its USM allocation is
        not bound to the platform default SYCL context.
    MemoryError: when host allocation to needed for `DLManagedTensor`
        did not succeed.
    ValueError: when array elements data type could not be represented
        in `DLManagedTensor`.

Based on 11/3/2022 meeting, we are good moving forward with this PR.

This has received two approvals and was discussed in workgroup meetings. Will merge.


VS 2013 stack overflow

Compiling on Visual Studio 2013. Program compiles 64-bit, but fails at the start of main with the following code:
#include "q3.h"

int main()
{
    q3Scene scene(1.0 / 60.0);
}

"Unhandled exception at 0x00007FF70F992E27 in program.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x0000003329403000)."

I just built with x64 MSCV 2013 and run the demo in debug/release mode without a crash. Can you give any more information than this, perhaps a stack dump?

On a hunch, I moved my declaration and initialization of the q3Scene object to outside main, and I no longer have the issue. Just for info though, VS code analysis with simple program listed above shows the following issue "C6262	Excessive stack usage	Function uses '20971784' bytes of stack:  exceeds /analyze:stacksize '16384'.  Consider moving some data to heap.	breakfast	main.cpp	3". Not helpful, but heres the callstack.

I think that's because the q3Scene object should not be stack-allocated. It seems to be too large for the stack to handle?

That is clear now, but I believe there should be a note in the documentation. I'll submit a pull request later.

solved it like this
std::unique_ptr<q3Scene> scene(new q3Scene (1.0 / 60.0));

Internal stack implementation changed so this should no longer be a problem.


Add Release Builds To Pipeline

Build in Release for both Ubuntu and Windows.
TODOS 👍

[x] Add release build for Ubuntu using the unix-rel preset.
[x] Add release build for Windows using the vs2022-rel preset.

Closed with #48 and #52


added receive function to l1Migrator

What does this pull request do? Explain your changes. (required)

L1 Migrator Contract was unable to receive ETH when withdrawETHToL1Migrator function was called due to lack of fallback function on the contract. This PR adds receive function to L1 Migrator.
Specific updates (required)

Adds receive() function to L1 Migrator
updated tests to test for receive function

How did you test each of these updates (required)

ran default test suite
Does this pull request close any open issues?

https://github.com/code-423n4/2022-01-livepeer-findings/issues/198
Checklist:

[x] README and other documentation updated
[x] All tests using yarn test pass

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
241

Relevant Lines:
241

💛  - Coveralls


[#5192] Add unit tests for SendHandoffActivity

Fixes # 5192
Description
This PR adds unit tests for the SendHandoffActivity class reaching 100% code coverage.
Specific Changes

Added Action_SendHandoffActivity.test.dialog script file.
Added Action_SendHandoffActivity in ActionTests class.
Added schema to the omitted list in SchemaMergeTests as it fails with the same issue that affects Action_SendActivity.test.dialog.

Testing
These images show the new test passing and the coverage for the class.

Promoted to MS in PR# 5754.


[BLE Mesh] How to turn a node into a provisioner ? (IDFGH-1555)

Environment

Development Kit : [ESP32-Wrover-Kit|ESP32-DevKitC|ESP32-LyraT]
Kit version : [v3|v4]
Module or chip used:  [ESP32-WROOM-32|ESP32-WROVER]
IDF version : v4.0-dev-1191-g138c941fa
Build System:         [Make]
Compiler version: 8.2.0
Operating System:     [Windows]
Power Supply:         [USB|external 5V]

Problem Description
I am currently trying to use the BLE Mesh API to create a game, and I will have until 16 devices to connect, each device has one button and one RGB led. I want the devices to start as node(unprovisioned) and if push the button of one, it will become a provisioner and provision the 15 devices left.
So the problems is :

When I want to use both mode in the same program, a node can start properly, but not a provisioner. And I still don't know how to do that after some days of research.

Expected Behavior
I (0) cpu_start: App cpu up.
I (467) heap_init: Initializing. RAM available for dynamic allocation:
I (473) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (479) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (485) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (492) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (498) heap_init: At 3FFCBF48 len 000140B8 (80 KiB): DRAM
I (504) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (510) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (517) heap_init: At 40092124 len 0000DEDC (55 KiB): IRAM
I (523) cpu_start: Pro cpu start user code
I (541) spi_flash: detected chip: generic
I (542) spi_flash: flash io: dio
I (542) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (550) ble_mesh_provisioner: Initializing...
I (590) BTDM_INIT: BT controller compile version [4d3bde7]
I (590) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (690) phy: phy_version: 4100, 2a5dd04, Jan 23 2019, 21:00:07, 0, 0
I (970) ble_mesh_provisioner: ESP_BLE_MESH_PROVISIONER_SET_DEV_UUID_MATCH_COMP_EVT, err_code 0
I (1060) ble_mesh_provisioner: ESP_BLE_MESH_PROVISIONER_PROV_ENABLE_COMP_EVT, err_code 0
I (1060) ble_mesh_provisioner: ESP_BLE_MESH_PROVISIONER_ADD_LOCAL_APP_KEY_COMP_EVT, err_code 0
I (1070) ble_mesh_provisioner: ESP_BLE_MESH_PROVISIONER_BIND_APP_KEY_TO_MODEL_COMP_EVT, err_code 0
I (1080) ble_mesh_provisioner: BLE Mesh Provisioner initialized

Actual Behavior
I (0) cpu_start: App cpu up.
I (478) heap_init: Initializing. RAM available for dynamic allocation:
I (485) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (491) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (497) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (503) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (509) heap_init: At 3FFCC518 len 00013AE8 (78 KiB): DRAM
I (516) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (522) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (528) heap_init: At 40092124 len 0000DEDC (55 KiB): IRAM
I (534) cpu_start: Pro cpu start user code
I (553) spi_flash: detected chip: generic
I (553) spi_flash: flash io: dio
I (553) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (562) ble_mesh_provisioner: Initializing...
I (602) BTDM_INIT: BT controller compile version [4d3bde7]
I (602) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (702) phy: phy_version: 4100, 2a5dd04, Jan 23 2019, 21:00:07, 0, 0
I (972) ble_mesh_provisioner: ESP_BLE_MESH_PROVISIONER_SET_DEV_UUID_MATCH_COMP_EVT, err_code 0
ASSERTION FAIL [prov && prov->uuid] @ C:/msys32/home/cwx-eng/esp/esp-idf/components/bt/esp_ble_mesh/mesh_core/proxy.c:1387:
        bt_mesh_proxy_init, Device UUID is not initializedE (5562) task_wdt: Task watchdog got triggered. The following tasks did not
reset the watchdog in time:
E (5562) task_wdt:  - IDLE0 (CPU 0)
E (5562) task_wdt: Tasks currently running:
E (5562) task_wdt: CPU 0: BTC_TASK
E (5562) task_wdt: CPU 1: IDLE1
E (10561) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (10561) task_wdt:  - IDLE0 (CPU 0)
E (10561) task_wdt: Tasks currently running:
E (10561) task_wdt: CPU 0: BTC_TASK
E (10561) task_wdt: CPU 1: IDLE1

The program is still running after the error, but only reproduce the watchdog reset
Steps to repropduce

Copy the ble_mesh_provisioner example, in $IDF_PATH\examples\bluetooth\esp_ble_mesh
run "make menuconfig" -> "Component config" -> "ESP BLE Mesh Support" -> Check "Support for BLE Mesh Node"
run "make -j4 flash monitor"
wait

Question

How can I turn a node(unprovisioned) into a provisioner after using esp_ble_mesh_init once ? Do I have to restart the ESP ?

Hi Quiscale，
Note:    bt_mesh_proxy_init, Device UUID is not initialized
 The cause of the error is that the device's uuid is not initialized.

 You need to initialize the uuid variable in `esp_ble_mesh_prov_t` .

 You can refer to the `ble_mesh_node` demo.

Hi WCCWCC,
Yes I found my error not a long time ago, I don't know why but to solve my problem I did as you said it :
That was my code :
static esp_ble_mesh_prov_t mesh_provision_prov = {
		.prov_uuid           = MESH_uuid,
		.prov_unicast_addr   = 0x0001,
		.prov_start_address  = 0x0005,
		.prov_attention      = 0x00,
		.prov_algorithm      = 0x00,
		.prov_pub_key_oob    = 0x00,
		.prov_static_oob_val = NULL,
		.prov_static_oob_len = 0x00,
		.flags               = 0x00,
		.iv_index            = 0x00,
};

And now It looks like :
static esp_ble_mesh_prov_t mesh_provision_prov = {
		.uuid = MESH_uuid,
		.output_size = 0,
		.output_actions = 0,

		.prov_uuid           = MESH_uuid,
		.prov_unicast_addr   = 0x0001,
		.prov_start_address  = 0x0005,
		.prov_attention      = 0x00,
		.prov_algorithm      = 0x00,
		.prov_pub_key_oob    = 0x00,
		.prov_static_oob_val = NULL,
		.prov_static_oob_len = 0x00,
		.flags               = 0x00,
		.iv_index            = 0x00,
};

And it works, so I need to register twice the uuid


Implement Schnorr algorithm signature algorithm in pure Erlang

All messages are signed using Schnorr signature, the same protocol used by Bitcoin and defined in BIP-340. That's one of the most important requirement here. Unfortunately, at this time, it seems no version of this algorithm is present in OTP and no one implemented it in pure Erlang.
Implementing an algorithm from the cryptography world is never a good idea, but, it could be great to learn a little bit more. Here the list of specifications and implementation I found.
The test vectors can be found there: https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv with the implementation: https://github.com/bitcoin/bips/blob/master/bip-0340/reference.py

https://bips.xyz/340
https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki
https://www.rfc-editor.org/rfc/rfc8235
https://en.wikipedia.org/wiki/Schnorr_signature
https://github.com/WebOfTrustInfo/rwot1-sf/blob/master/topics-and-advance-readings/Schnorr-Signatures--An-Overview.md
https://github.com/calvinrzachman/schnorr
https://elixirforum.com/t/schnorr-signatures-anyone-here-willing-to-collaborate-or-create-a-lib/52641/14
https://github.com/RooSoft/nostr_basics
https://github.com/davidarmstronglewis/k256
https://github.com/RiverFinancial/bitcoinex/blob/ba5db6d978fdf30efb968e174e78c6a2ae3595a1/lib/secp256k1/schnorr.ex
https://gist.github.com/kallewoof/5d623445802a84f17cc7ff5572109074

Other resources:

https://www.youtube.com/watch?v=zTt4gvuQ6sY
https://www.youtube.com/watch?v=J_6rY159BdQ
https://www.youtube.com/watch?v=oTsjMz3DaLs
https://www.youtube.com/watch?v=18rZzvX_bgY
https://www.youtube.com/watch?v=7YWtg5KUKy4

Schnorr signature schema was a requirement for and has been implemented in #3. I am closing this issue.


GUI Error MAC OS

Kanishkas-MacBook-Air:WEASEL-master kanishkasharma$ python Weasel.py
Warning: QApplication was created before pyqtgraph was imported; there may be problems (to avoid bugs, call QApplication.setGraphicsSystem("raster") before the QApplication is created).
Error in WriteXMLfromDICOM.open_dicom_to_xml: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
Error in WriteXMLfromDICOM.create_XML_file: 'NoneType' object has no attribute 'iter'
XML file creation time = 1.8169419765472412
Error in TreeView.makeDICOMStudiesTreeView at line 122: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Note for self: there's a similar issue with GUI visualisation in Linux. This error reported may be because of how the selected folder is parsed to Weasel. I will investigate this in a Mac Virtual Machine when possible

This issue should be solved now @KanishkaS. It wasn't Mac related, it was Python 3.9 - XML.Element.getchildren was deprecated and it's now XML.Element.iter. Please test this on your Python 3.9 on your Mac when possible please.

Thanks @JSousa-UoL. The GUI works with DICOM import now for python 3.9.1.
Only a user interface comment (see below) - it is difficult to view white text on the GUI display at the moment.

Thanks!

This GUI 'text' issue does not happen when using python 3.8.5.

Thank you for your feedback @KanishkaS. That's a "funny" one, I wonder why that happens between different Python versions. At first I would say it's because of your Mac's dark mode, but it doesn't seem to be it. Thank you for sharing the requirements.txt and setup.py you used.
Be very careful with having Anaconda and "normal" Python installed in your Mac. Sometimes that recipe for trouble.

This white text doesn't seem to be related with Python version. I tested 3.9 and it worked, however the white text shows up when I switched to dark mode.
@IMI-TRISTAN , this is not urgent but I can try to have a look at this. If we want the text to be black in any circumstance, should that be set in styleSheet.py?

Text colour is best specified in styleSheet.py using CSS.  You'd need to
know which widget is displaying the text you wish to change; e.g., QLabel,
QPushButton etc
Steve
On Wed, 10 Feb 2021 at 14:03, João Almeida e Sousa<EMAIL_ADDRESS>wrote:

This white text doesn't seem to be related with Python version. I tested
3.9 and it worked, however the white text shows up when I switched to dark
mode.
@IMI-TRISTAN https://github.com/IMI-TRISTAN , this is not urgent but I
can try to have a look at this. If we want the text to be black in any
circumstance, should that be set in styleSheet.py?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/QIB-Sheffield/WEASEL/issues/24#issuecomment-776725838,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKUTUZDPBALQWACAEHZLDKLS6KGZNANCNFSM4XEP5QFQ
.

Ok, thanks for the info Steve. I'll keep this issue open and have a look at this when I have the time

Sounds good, thanks!
On Thu, 11 Feb 2021 at 11:50, João Almeida e Sousa<EMAIL_ADDRESS>wrote:

Ok, thanks for the info Steve. I'll keep this issue open and have a look
at this when I have the time
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/QIB-Sheffield/WEASEL/issues/24#issuecomment-777394725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKUTUZD22UHX3M3RDZ3UYNLS6PAAZANCNFSM4XEP5QFQ
.

This should have been solved now @KanishkaS. Please try to use Weasel in Dark Mode and check if the text in the TreeView is now black. It might not be all perfect in terms of colour/layout, but if it solved the white text for now, we can close. If something else comes up, we'll open a new issue

@JSousa-UoL: I did not have the issue on python 3.8.5 (my current version on Mac). This issue was present on python version  3.9 - irrespective or dark/light mode. I cannot test this at the moment as I cannot upgrade my python version at the moment.

Ok, I'll close this regardless as it's working o my Mac VM Python 3.9. At least we're aware of the Dark Mode in Mac

I had to uninstall anaconda as the pip install for weasel created duplicate libraries and caused errors in opening certain applications. This reverted back my python version to 3.9.1. I'm sharing a screenshot - some of the text is still too small to read on the GUI. This is no longer a bur but rather enhancement

Also, there is black text on black/grey screen..


Helm Chart for redis-commander

Congratulations!

it solves #413

thanks - i will have a look at this

done with commit 4c93819 as there were no changes within this PR as requested


llama_cpp conflict with transformers library

Hi everyone,
I'm currently trying to run the example script provided in the readme, but I noticed a Type error exception is thrown (and ignored) when importing the transformers==4.35.0 library in the same file.
Expected Behavior
The code snippet in the next section should generate an output without throwing any error.
Current Behavior
By running the following code snipped, I get an exception after the output is correctly generated. I'm aware the error is ignored but I would like to understand whether that's the expected behaviour or if there is something else I'm missing. Moreover, notice that removing  import transformers produces the correct output.
import transformers
from llama_cpp import Llama

if __name__ == "__main__":

    llm = Llama(model_path="./models/7B/llama-model.gguf")
    output = llm("Q: Name the planets in the solar system? A: ",
                 max_tokens=32, stop=["Q:", "\n"], echo=True)

    print(output)

And I get the following error
Exception ignored in: <function _LlamaContext.__del__ at 0x7f4cfd08a3b0>
Traceback (most recent call last):
  File "/home/project/my_env/lib/python3.10/site-packages/llama_cpp/llama.py", line 418, in __del__
TypeError: 'NoneType' object is not callable
Exception ignored in: <function _LlamaModel.__del__ at 0x7f4cfd089480>
Traceback (most recent call last):
  File "/home/project/my_env/lib/python3.10/site-packages/llama_cpp/llama.py", line 238, in __del__
TypeError: 'NoneType' object is not callable
Exception ignored in: <function _LlamaBatch.__del__ at 0x7f4cfd08b7f0>
Traceback (most recent call last):
  File "/home/project/my_env/lib/python3.10/site-packages/llama_cpp/llama.py", line 664, in __del__
TypeError: 'NoneType' object is not callable

Environment and Context

x86_64 GNU/Linux
Python 3.10.9
GNU Make 4.2.1
g++ 9.4.0

@speggioale can you update to the latest version and lmk if the issue still appears?

Appeared for me w/ v0.2.16 and v0.2.17

@abetlen possibly related to the autotokenizer? That includes transformer dep and in my tests I had to make a dedicated venv for the version it wanted. I had put the imports for it in the autotokenizer function itself so those deps wouldn't trigger unless you wanted to use autotokenizer. Works fine for my server endpoint use case, but those with an existing specific transformers version might run into a conflict if those deps do trigger.

@kddubey do you need that transformer version in this specific use case? Or is it a simple matter of a global pip install? If this specific use case doesn't need that specific transformers version, consider a venv just for this use case.

@bioshazard

do you need that transformer version in this specific use case?

No—I don't need transformers at all. It's just in a venv I use for development purposes. All of my transformers and llama_cpp code is correct with the latest versions. It's just that this (ignored) Exception is sometimes displayed

@kddubey I'll have to look deeper into this, sorry about that coming up, this issue happens because of some weird behaviour during python interpreter shutdown. It's odd that the transformer import causes this but maybe there's some cleanup hook in their library that's conflicting.

@abetlen no worries, consider this issue low priority :-)

I'm getting this error too, but I'm not importing transformers.
I've observed that the error occurs if I import torch, similar to @speggioale.
when I remove the import torch line, the problem goes away

@papipsycho that PR hasn't been part of a release yet. You shouldn't see the ignored exception if you install main:
python -m pip install git+https://github.com/abetlen/llama-cpp-python.git

A similar or perhaps same root cause error happens with llama_cpp_python==0.2.26 and transformers==4.36.2
Exception ignored in: <function _LlamaContext.__del__ at 0x7f84740e4430>
Traceback (most recent call last):
  File "python3.8/site-packages/llama_cpp/llama.py", line 425, in __del__
  File "python3.8/site-packages/llama_cpp/_utils.py", line 24, in __enter__
RuntimeError: could not find io module state (interpreter shutdown?)
Exception ignored in: <function _LlamaModel.__del__ at 0x7f84740e04c0>
Traceback (most recent call last):
  File "python3.8/site-packages/llama_cpp/llama.py", line 241, in __del__
  File "python3.8/site-packages/llama_cpp/_utils.py", line 24, in __enter__
RuntimeError: could not find io module state (interpreter shutdown?)
Exception ignored in: <function _LlamaBatch.__del__ at 0x7f84740e7790>
Traceback (most recent call last):
  File "python3.8/site-packages/llama_cpp/llama.py", line 675, in __del__
  File "python3.8/site-packages/llama_cpp/_utils.py", line 24, in __enter__
RuntimeError: could not find io module state (interpreter shutdown?)


Create Project “idebiz-id”

Automatically generated by Netlify CMS

👷 Deploy Preview for ibnuraffi processing.

Name
Link

🔨 Latest commit
47aea1ad923d167b2426138d27f8a2bd7329b5a4

🔍 Latest deploy log
https://app.netlify.com/sites/ibnuraffi/deploys/6266cdf32771400009d2c964


[VL] Remove v1write added sort for non-string type

What changes were proposed in this pull request?
This pr removes v1write added sort for non-string type, e.g., int/long/date.. and adds more tests for dynamic partition write
How was this patch tested?
add more tests

cc @JkSelf thank you

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4372_time.csv
log/native_master_01_10_2024_e1c9290b3_time.csv
difference
percentage

q1
32.03
32.16
0.129
100.40%

q2
27.28
24.87
-2.411
91.17%

q3
36.11
38.29
2.175
106.02%

q4
39.54
39.92
0.381
100.96%

q5
71.18
72.77
1.598
102.24%

q6
6.99
6.95
-0.047
99.33%

q7
84.56
87.97
3.404
104.03%

q8
87.26
86.61
-0.655
99.25%

q9
122.34
126.27
3.926
103.21%

q10
45.68
48.57
2.895
106.34%

q11
20.69
20.34
-0.350
98.31%

q12
27.86
25.39
-2.478
91.11%

q13
47.50
47.58
0.076
100.16%

q14
20.12
19.83
-0.291
98.55%

q15
30.58
29.34
-1.235
95.96%

q16
14.01
14.33
0.321
102.29%

q17
99.70
104.91
5.209
105.23%

q18
147.75
150.89
3.138
102.12%

q19
14.99
15.51
0.518
103.45%

q20
26.99
27.96
0.976
103.62%

q21
226.26
227.42
1.157
100.51%

q22
13.89
14.15
0.258
101.86%

total
1243.33
1262.02
18.694
101.50%


Installation Error on MacBook Pro (16-inch, 2021) - Apple M1 Max Chip

I was trying to install Superset as per the instructions on the page -- https://superset.apache.org/docs/installation/installing-superset-from-scratch on my MacBook Pro (16-inch, 2021) - Apple M1 Max Chip and ran into the error. I tried reinstaling all the prerequisites and repated the steps but still ended up with the same error message.
How to reproduce the bug

mkdir pysuperset
cd pysuperset
pipenv --python 3.8
pipenv shell
xcode-select --install
brew install readline pkg-config libffi openssl mysql postgres
pip install --upgrade setuptools pip
export LDFLAGS="-L$(brew --prefix openssl)/lib"
export CFLAGS="-I$(brew --prefix openssl)/include"
pip install apache-superset
superset db upgrade

Expected results
Successful Completion of DB upgrade. All steps completed successfully until step 10.
Actual results
superset db upgrade - command threw this error message
Traceback (most recent call last):
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/bin/superset", line 5, in
from superset.cli.main import superset
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/superset/init.py", line 21, in
from superset.app import create_app
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/superset/app.py", line 23, in
from superset.initialization import SupersetAppInitializer
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/superset/initialization/init.py", line 33, in
from superset.extensions import (
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/superset/extensions/init.py", line 32, in
from superset.utils.cache_manager import CacheManager
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/superset/utils/cache_manager.py", line 24, in
from superset.utils.core import DatasourceType
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/superset/utils/core.py", line 75, in
from cryptography.hazmat.backends.openssl.x509 import _Certificate
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/init.py", line 6, in
from cryptography.hazmat.backends.openssl.backend import backend
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 63, in
from cryptography.hazmat.bindings.openssl import binding
File "/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: dlopen(/Users/kousikan.veeramuthu/code/pysuperset/.venv/lib/python3.8/site-packages/_cffi_backend.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace (_ffi_prep_closure)
what actually happens.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):

browser type and version: NA
superset version: apache-superset-2.0.0
python version: Python 3.8.13
node.js version: v18.9.1
any feature flags active: NA

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[X] I have reproduced the issue with at least the latest released version of superset.
[X] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Have you tried cloning the Superset Repo locally?

Still reproduced as of March 2023 with Python 3.8.12 and Python 3.9.16. And yes, I am working with a local clone of Superset :(


Add Locale information to Order. Fixes #403

Added locale db-field to order.
Added helper tools to get/set current locale.
Ensure locale is properly saved while an order is in Cart state.
Install the saved locale during order processing.
Install order-locale for ajax requests to ensure ajax response is rendered with the proper locale.

@markguinn This could probably also be merged into develop. What do you think?

I don't see any breaking changes there so it could go in the next minor version. Assuming you started this on the 2.0 branch, I'm not sure the best way to move it to develop. If we just merge it, we'll also merge all the history on develop-2.0 which we don't want to do. I think you could start a new branch and cherry-pick it though. I think this would be great to have on the main branch if you can figure out the git-acrobatics.

@markguinn ok I'll merge this one and try to cherry-pick it into develop as well if that's fine with you.

That's great. Thanks!


(Redo) TestGCAndCleanup may take several hundreds seconds

What did you do?
In the test case of TestGCAndCleanup, each CheckGC will sleep for 100 seconds here https://github.com/pingcap/tiflow/blob/master/cdc/redo/meta_manager_test.go#L255 , this will make this test very slow.
What did you expect to see?
TestGCAndCleanup is very slow
What did you see instead?
TestGCAndCleanup can be finished in few seconds
Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
master

Upstream TiKV version (execute tikv-server --version):
master

TiCDC version (execute cdc version):
master

it has been replaced here? So it won't wait so long

it has been replaced here? So it won't wait so long

close this issue, since it has been addressed in cdc/redo/main_test.go.


Document specific steps to run e2e tests against EKS cluster

Signed-off-by: Nicolas De Loof<EMAIL_ADDRESS>

Codecov Report

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

@@            Coverage Diff             @@
##           master     #138      +/-   ##
==========================================
- Coverage   64.78%   64.18%   -0.61%
==========================================
  Files          90       90
  Lines       10944    10944
==========================================
- Hits         7090     7024      -66
- Misses       3551     3601      +50
- Partials      303      319      +16

Impacted Files
Coverage Δ

internal/controller/stackreconciler.go
53.19% <0%> (-26.6%)
:arrow_down:

internal/controller/resourceupdater.go
29.62% <0%> (-23.15%)
:arrow_down:

internal/controller/controller.go
87.5% <0%> (-12.5%)
:arrow_down:

internal/controller/stackownercache.go
92.42% <0%> (-3.04%)
:arrow_down:

internal/convert/stack.go
78.5% <0%> (-2.81%)
:arrow_down:

internal/convert/pod.go
86.12% <0%> (-2.4%)
:arrow_down:

internal/convert/service.go
97.65% <0%> (-1.57%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM


[Feature][Zeta] Add a checkpoint switch option to control the opening and closing of the checkpoint

Search before asking

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

Description
Backend
Now in zeta engine all job will enable checkpoint default. However, based on user feedback, it is not necessary to enable checkpoint in most offline scenarios, and the use of checkpoint requires high configuration of split data in the source table. Many users experience checkpoint timeout due to incorrect split configuration.
How to solve it
We can determine whether checkpoint is enabled by whether checkpoint.interval is configured.
Some key points:

This parameter also acts on Zeta, Flink, and Spark. The specific unified behavior of the three engines.
For Streaming Job, checkpoint cannot be closed. If checkpoint.interval is not configured, the checkpoint.interval value configured in seatunnel.yaml will be used.
For Batch Job, we can choose to turn checkpoint on or off, do not start checkpoint if checkpoint.interval is not configured, and enable checkpoint if checkpoint.interval is configured.

Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I'm willing to do this task, can you assign this to me?

I'm willing to do this task, can you assign this to me?

Hi, @FlechazoW  , Is there any progress on this task?


Added Awesome CSS generators

I have added awesome CSS generator websites to use them in the project directly. Please merge it under hacktoberfest.

Please look at it. THANKS!!


[Question] Continuous action space not being searched well

Important Note: We do not do technical support, nor consulting and don't answer personal questions per email.
I would like to understand more about continuous action space. I have a custom environment with an action space that range from about -2000 to 2000. When I train with PPO2, I notice that most of the chosen actions are around 0 and rarely go up as high as +-2, let alone +-2000. This seems a little strange since my environment supports action values far from zero.
How can the agent explore the action space if the actions are so limited?
Is it better to normalize the action space of my custom environment to be around 0?
I can discretize my action space and use a discrete space, but this seems to defeat the purpose of having agents that can learn in a continuous space.
I did not include example code since my question is fairly general, but I am happy to provide if it needed.
System Info

Installed with pip3
No gpus
Python 3.7
TF 1.14

Hello,
the answer is in the documentation : https://stable-baselines.readthedocs.io/en/master/guide/rl_tips.html#tips-and-tricks-when-creating-a-custom-environment
(and there is a related issue here: #473 )

It would be convenient to have a wrapper that normalises user-defined environements.

It would be convenient to have a wrapper that normalises user-defined environments.

This is more a gym-related issue. Anyway, we have some documentation about that and an env_checker now (cf doc).


seeAllCloseLayout not set properly

Forgot to paste
case .seeAllCloseLayout(let layout):                seeAllCloseLayout = layout
into GalleryViewController to use the new layout.

👍 fixed


chore: Add rack-cors to fix CORS issue on UI

@manikandan0603 @anbublacky - merging this as it needs to be deployed urgently.


The translation is missing for slot dropdown if the user is trying to book any product

Bagisto Version: Master
Steps To reproduce--
1. Log in as a customer. with Arabic locale
2. Click on any booking product.
3. Select the booking slot for the product.
Expected result: There should not miss any translation if the user is trying to book the product.
Actual result: The translation is missing for slot dropdown if the user is trying to book any product. Please find the screenshot Here

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


Infer cregbundle for all drawers

Summary
This swaps the default behaviour for the cregbundle to always bundle if possible, but not to emit a warning if the bundles are expanded and no concrete value was given for the parameter.  Previously, this sort of logic was only done for the text drawer.

Details and comments
Fix #9129.  This was previously done for the text drawer in #8689, but this PR makes it true for all the existing drawers.

In 825c5cf, I saw a couple of tests that were testing incorrect behaviour.  I made issue #9173 about it, and here I've updated the relevant tests to have unittest.expectedFailure and the correct assertions.

The text drawer doesn't actually change public behaviour here.  The tests changed because they use a private internal function whose cregbundle default had got out-of-sync with the default set in the public entry point, but the tests use the internal function (not certain why).  This change propagates the new default all the way through the stack, which is what caused the tests to actually change.
Nothing actually changes public behaviour here - various internal-only functions had cregbundle=False defaults, but those were always overridden by public API calls, with the end result being everything defaulted to True (or the inferring behaviour, in the case of text).  This PR just sets everything to default to the infer behaviour, which doesn't change anything about the visual output from using a public API point without specifying cregbundle, it just suppresses the warnings from mpl and latex if it has to set cregbundle=False.


Make pci-ids optional

Depends on https://github.com/hermitcore/libhermit-rs/pull/419.
Closes https://github.com/hermitcore/rusty-hermit/pull/104.

bors r=stlankes


fix(build): update build system to latest from darvaza.org/x

Summary by CodeRabbit

New Features

Introduced new scripts for generating Makefile targets and retrieving Go version information.
Added configuration rules for managing Go package versions in Renovate.

Bug Fixes

Updated .editorconfig for improved formatting rules across multiple file types.

Chores

Removed several unnecessary dependencies from the project.
Deleted outdated scripts related to Makefile generation and tooling setup.
Updated configuration for linting in GitHub Actions.

this should fix #10 which currently fails because golangci-lint explodes due to Go version mismatch


Update the setup-just version shown in the README

Just to make it easier to copypaste.

Nice, thank you!


package don t work with new version of gatsby 4

warn Plugin @epicdesignlabs/gatsby-source-bigcommerce is not compatible with
your gatsby version 4.0.2 - It requires<EMAIL_ADDRESS>warn Plugin @epicdesignlabs/gatsby-source-bigcommerce is not compatible with
your gatsby version 4.0.2 - It requires<EMAIL_ADDRESS>

@aimadgh Hey there. I will look into this issue and will release an updated version in few hours. Thanks for report.

that gonna be helpful, thanks for you time


feat: Label docs with corresponding version

To avoid confusion, we should have some indication in the documentation Website to which version they are relating to (e.g. current documentation site is relevant for the latest beta version).

(e.g. current documentation site is relevant for the latest beta version).
The documentation directly available at netlifycms.org should be for the most current stable release.
A select (widget) could control which specific doc version to display but the default should be the stable version.

(e.g. current documentation site is relevant for the latest beta version).

The documentation directly available at netlifycms.org should be for the most current stable release.
A select (widget) could control which specific doc version to display but the default should be the stable version.

Completely agree with the select widget for changing doc versions and that the default docs should represent the latest stable version. As a first step we should have least have some kind of indication for the version (before we add multiple versions).

The Jest docs could serve as example:
https://github.com/facebook/jest/tree/master/website/versioned_docs


.github/workflows/docker.yml: Restrict permissions for GITHUB_TOKEN

As a good security practice, we should grant the GITHUB_TOKEN the least required access.

You addressed https://github.com/oasisprotocol/testnet-faucet/pull/18#discussion_r1757584464. While at it, can you also address https://github.com/oasisprotocol/testnet-faucet/pull/18#discussion_r1757561904. I suggest you stop marking comments as resolved if there are still open things.

Regarding the process, do you think it’s better for the reviewer to always resolve comments, or would you prefer I continue marking them resolved after changes?

It depends on whether they are trivial or if there are still open things (even if they are still discussed after the PR gets merged).


Range doesn't update with non-trivially-fractional step sizes

Version
Browser: Chrome 88.0.4324.192
Version<EMAIL_ADDRESS>Platform: Mac OS X 10.13.6
Expected behavior
Range works as expected given a step size with trailing non-zero digits.
Observed behavior
Given even a slight deviation from a range evenly divisible by the step size, updates fail to fire, and sometimes dependent cells never exit the initial cell-executing-and-waiting-for-value state.
The image below illustrates normal behavior (top) and problematic behavior (bottom):
https://observablehq.com/d/f23b60cc80002344

Notes:
Exactly what it should do is debatable, but maybe lower + i * step is a reasonable expectation. I encountered this first with Range([0, Math.PI], {step: Math.PI / 1000}), which is a case where you can't really do any better to make it approximately evenly divisible.

Edit:
viewof y = Range([0, 1.001], { step: 0.01 })

works as expected, so my initial statement that it must be "evenly divisible" is not quite right. It's more like the step size needs to be "nice".

I am getting a range that doesn't work at all in Mac Safari with:
viewof x = Range([0, 2*Math.PI+1e-15], { step: Math.PI/4 })

It never returns a value.
This works more or less as expected though:
viewof y = html`<input type=range min=0 max=${2*Math.PI+1e-15} step=${Math.PI/4} value=${Math.PI/2}>`

I would propose as a workaround using a variable in range [0, 1], [-1, 1], or similar, and then remapping in a wrapper
Maybe something like:
viewof x_over_π = Range([0, 2], { step: 0.25, value: 1, format: x => Math.PI * x });

x = x_over_π * Math.PI

This may be the same issue as https://github.com/observablehq/inputs/issues/121

I'm late to the party but just found this issue because a user noted it in the forum: https://talk.observablehq.com/t/set-value-of-range-input/4810
Here's a reproduction showing it breaking in v0.7.13: https://next.observablehq.com/d/e2bbaf2de99c099b

Roeland Schoukens reports it was already broken in Windows / Firefox 86 before validation was added in v0.7.13:

For me (Windows, Firefox 86) both versions on this reproduction don’t work.

I believe this is happening because the value of the number input can be programmatically changed by functions like format (defaults to formatDate)  and transform, and they might not return a valid value[1]. For example, every time the input range changes, the value of the number range is set like this:
https://github.com/observablehq/inputs/blob/bf525033948bbdda452e65bc06c09a6b42f3b06c/src/range.js#L59-L60
when update is called, it calls HTMLSelectElement.checkValidity() under the hood, triggering browser validation.
A couple of options that come to mind in no particular order are:

bypass the browser validation of the number input by setting its defaultValue instead of its value.
document that format and transform must return a valid value[1], and fix formatDate accordingly.
hook into the validation api

[1]: The HTML living standard defines the validations that are performed, for the cases described in this issue the relevant validations could be summarized as: min < value < max and value = n * step

I would consider using custom validation in javascript code instead of relying on the browser's.

The default Range format is derived from formatNumber, not formatDate, and should already be compatible with the number input as noted:
https://github.com/observablehq/inputs/blob/23e6828b4a00835bf5e1b4d5fa13c775b5deaa41/src/range.js#L11
I’m investigating now.

I’ve added a validate option to Inputs.number and Inputs.range in 0.9.4.


GdNative  - Invalid call. Nonexistent function 'xxxx' in base 'Reference (sqlite.gdns)'.

Godot version:

Godot3.0.2 stable
OS/device including version:

Windows64 - Desktop - AMD Radeon 7570M
Issue description:

I downloaded the GdNative script release from this repository:
https://github.com/khairul169/gdsqlite-native/
And tryed to use it to load resource Data from a database, but when i tryed to load the data (using the resource's _init function on tool mode) i got the error message:
res://db/persistent_data.gd:26 - Invalid call. Nonexistent function 'open_database' in base 'Reference (sqlite.gdns)
I opened an issue in this repository, but i feel this is not related, the function 'open_database' is declared here:
https://github.com/khairul169/gdsqlite-native/blob/master/src/gdsqlite.c#L275
Steps to reproduce:
My project is too big to proportionate a minimum example, but here's the script that loads the file:
https://gist.github.com/MarianoGnu/1d615ce634b5bc9bbc35e8ff64df9f59
Minimal reproduction project:

Image with the error logs, i tryed many stuff, but at the end it never worked

Never used GDNative, but all the examples I found online had the onready keyword in the preload.
For example, the original help documentation: http://docs.godotengine.org/en/3.0/tutorials/plugins/gdnative/gdnative-c-example.html
onready var data = preload("res://bin/simple.gdns").new()

Other tutorials: (https://stackedboxes.org/2017/08/20/trying-out-gdnative/)[https://stackedboxes.org/2017/08/20/trying-out-gdnative/]
# Load the class itself from the NativeScript
onready var Averager = preload("res://averager.gdns")

yes, but Resources are not nodes and have not a "_ready" function, that's why i used call_deferred instead to make sure objects where initialized, but this even't woudn't matter, because when i press ctrl+alt+s to save the script it's reloaded, and the error appears again, even thought the native script should be completely loaded long ago.
I suspect it has to do with Native Scripts not being loaded on editor, and the game crashes if i run the game (not sure if related)
I'd like to debug myself, but since my linux distro broke i can't compile godot (or the native script itself)

This module is outdated and use functions removed in #15580 (godot_string_new_data, godot_string_new_data and godot_string_get_data).

thx, i'll comment it on the module's issue


ERROR in Failed to list lazy routes: Unknown module 'P:/Ionic4FullApp-StartUp_4.7/src/app/app.module#AppModule'.

🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
Please help us process issues more efficiently by filing an
issue using one of the following templates:
https://github.com/angular/angular-cli/issues/new/choose
Thank you!
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑

getting this error while ionic serve

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


Grid intersection example

This PR adds an example notebook to the grid intersection functionality.

[x] is related to  #5
[x] no tests added since it just is an example notebook
[x] All code checks from pre-commit passed
[x] Added an entry in the CHANGELOG.md file

Thanks! Merging now.


Reimplement Autolinks using only docutils features

Currently the restructuredText markup implements Autolinks by parsing and modifiying the generated HTML. This implementation is...

Unnecessarily complex: The same functionality can be implemented with a modified docutils Writer class only. This allows dropping the dependency on pyquery and is surly much more efficient.
Buggy:

Indirect links don't work at all.
A comment in the code promises that embedded URIs would also be turned into links to the wiki. This also doesn't work and - by my understanding of the specs - should only work in the case of the embedded URI being a internal target. As in:`long text <meep_>`_

.. _meep: link_

This implementation fixes all these problems which should be made clear by the tests I've added. It is based heavily on code from MoinMoin.
It includes the commit from #143 dropping the bundled rst2html5.py since the WalikiHTML5Writer class derives from the external package's HTML5Writer.

Coverage increased (+3.8%) to 75.0% when pulling 1692fe4f8b8c1ed2cee2a7d7a98f10bd896d4760 on wagnerflo:autolinks into<PHONE_NUMBER>909056ef994e8e35ecc2ec552bba31 on mgaitan:master.

this is brilliant. thank you so much. @wagnerflo please, feel free to add yourself to the list of contributors, and tell me if you are planning more improvements. I would like to release a new version when you consider appropriate.
In the other hand, one issue that would be nice to fix in the next release (particularly important  for deployments with medium-high load like http://python.org.ar) is #134. I wonder if you may be interested in looking at it.

As far as necessary to get the project I'm using Waliki in to a finished state I will continue contributing. Starting next week the frequency will probably drop quite a bit as other tasks will have to take priority.
For a decision when to do a release I currently have no opinion, but I do have a few functions to complete and test for my project that might turn up points of improvement or bugs.
I'll see about #134. That seems to be quite important and not very hard.


Error on compilemessages due to translations from django-debug-toolbar

The command django-admin compilemessages fails when I have django-debug-toolbar installed (I tried both 4.1.0 and 4.2.0 which is currently the latest release).
The full error is as follows (the #0 and timing at the start of each line are due to docker compose and should be irrelevant for the issue):
#0 5.203 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/pt_BR/LC_MESSAGES/django.po:151: a format specification for argument 'cache_calls', as in 'msgstr[0]', doesn't exist in 'msgid_plural'
#0 5.203 msgfmt: found 2 fatal errors
#0 5.203 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/sv_SE/LC_MESSAGES/django.po:81: number of format specifications in 'msgid' and 'msgstr' does not match
#0 5.203 msgfmt: found 1 fatal error
#0 5.203 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/sk/LC_MESSAGES/django.po:162: a format specification for argument 'cache_calls', as in 'msgstr[0]', doesn't exist in 'msgid_plural'
#0 5.203 msgfmt: found 4 fatal errors
#0 5.203 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/ca/LC_MESSAGES/django.po:80: number of format specifications in 'msgid' and 'msgstr' does not match
#0 5.203 msgfmt: found 1 fatal error
#0 5.203 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/pt/LC_MESSAGES/django.po:80: number of format specifications in 'msgid' and 'msgstr' does not match
#0 5.203 msgfmt: found 1 fatal error
#0 5.203 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/fi/LC_MESSAGES/django.po:150: a format specification for argument 'cache_calls', as in 'msgstr[0]', doesn't exist in 'msgid_plural'
#0 5.203 msgfmt: found 2 fatal errors
#0 5.203 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/zh_CN/LC_MESSAGES/django.po:146: a format specification for argument 'cache_calls', as in 'msgstr[0]', doesn't exist in 'msgid_plural'
#0 5.203 msgfmt: found 1 fatal error
#0 5.212 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/pl/LC_MESSAGES/django.po:155: a format specification for argument 'cache_calls', as in 'msgstr[0]', doesn't exist in 'msgid_plural'
#0 5.212 msgfmt: found 3 fatal errors
#0 5.213 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/uk/LC_MESSAGES/django.po:83: number of format specifications in 'msgid' and 'msgstr' does not match
#0 5.213 msgfmt: found 1 fatal error
#0 5.215 Execution of msgfmt failed: /tmp/.venv/Lib/site-packages/debug_toolbar/locale/cs/LC_MESSAGES/django.po:154: a format specification for argument 'cache_calls', as in 'msgstr[0]', doesn't exist in 'msgid_plural'
#0 5.215 msgfmt: found 3 fatal errors

All I can find from researching the error is that this error is due to plurals being used incorrectly, but the lines I checked from the traceback don't use any syntax for plurals and in fact seem unrelated to each other (sometimes they're the same place, like for catalan and portuguese, but for other languages they point to completely different places).
Needless to say I did not modify the package after installing it, and all this is running in a clean Docker container that other colleagues have been using for ages, except I'm on Windows (but the container isn't). Any clue why this isn't working for me?

I see a fuzzy translation at the first location:

No idea why the fuzzy translation wouldn't simply be ignored.

Apologies, the command actually includes --use-fuzzy. Still, I don't see why this should make it fail.

@tim-schilling Yes. I don't know why that would be a fatal error when the whole translation is marked as fuzzy though.

@berzi would you be able to create a minimal project that reproduces this effect?

@berzi would you be able to create a minimal project that reproduces this effect?

Unfortunately I don't think so, the error comes from an old and complex project from my company and it would be quite time-consuming to try and recreate it.

@berzi i understand, but from what we can see everything should be working. The only way for us to debug this would be to reproduce it. Since this work would most benefit you in particular, it feels reasonable to ask you to help us with that effort.
If you don't have time that's totally understandable.
This is a low priority for us because it's an undefined amount of work for an undefined amount of benefit.

@berzi I understand, but from what we can see everything should be working. The only way for us to debug this would be to reproduce it. Since this work would most benefit you in particular, it feels reasonable to ask you to help us with that effort.
If you don't have time that's totally understandable.
This is a low priority for us because it's an undefined amount of work for an undefined amount of benefit.

I understand that. The error doesn't block me at the moment so it's low priority for me as well. If I get any new clue or get the time to reproduce the error I'll post here again.
I'm fairly sure it has something to do with Windows, since I'm the only one of all my colleagues who worked and this and had this issue, but there's also many outdated things all along the pipeline (the Django version, the Docker Compose version...) so who knows.

That's actually a good place to start. What versions of python, docker
compose and Django are you using?
On Wed, Dec 13, 2023, 6:27 AM berzi @.***> wrote:

@berzi https://github.com/berzi I understand, but from what we can see
everything should be working. The only way for us to debug this would be to
reproduce it. Since this work would most benefit you in particular, it
feels reasonable to ask you to help us with that effort.
If you don't have time that's totally understandable.
This is a low priority for us because it's an undefined amount of work for
an undefined amount of benefit.
I understand that. The error doesn't block me at the moment so it's low
priority for me as well. If I get any new clue or get the time to reproduce
the error I'll post here again.
I'm fairly sure it has something to do with Windows, since I'm the only
one of all my colleagues who worked and this and had this issue, but
there's also many outdated things all along the pipeline (the Django
version, the Docker Compose version...) so who knows.
—
Reply to this email directly, view it on GitHub
https://github.com/jazzband/django-debug-toolbar/issues/1862#issuecomment-1853826108,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJYZP2UNELQU2KDU5F2TKTYJGNJLAVCNFSM6AAAAABAGFIZLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJTHAZDMMJQHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Docker Compose: 3.7
Python: 3.10
Django: 3.2.20
Django debug toolbar: tried both 4.1.0 and 4.2.0
gettext and other dependencies are installed with the following command:
apt-get install --no-install-recommends -y \
      gettext \
      libgettextpo-dev \
      procps \
      locales

I just tried again with and without --use-fuzzy and I cannot reproduce this. I'm going to close the issue, but please reopen if you find a way to make this reproducible.  Thank you!


Escaping backslashes in headers

I have a use case where I need to send a backslash in a header of a SUBSCRIBE frame.
The STOMP specification states that:

C style string literal escapes are used to encode any colons and newlines that are found within the UTF-8 encoded headers. When decoding frame headers, the following transformations MUST be applied:

\n (octet 92 and 110) translates to newline (octet 10)
\c (octet 92 and 99) translates to : (octet 58)
\\ (octet 92 and 92) translates to \ (octet 92)

Currently, webstomp-client (as well as jmesnil's stomp-websocket) does not escape \ into \\:
Object.keys(this.headers).forEach(name => {
    let value = this.headers[name];
    lines.push(`${name}:${value}`);
});

What are your thoughts on this? Shouldn't this be implemented in the library, since it's something defined in the specification, and should therefore not a responsability of the client application?
Thanks.

@JSteunou @onemanclapping do you guys mind if I give it a try?

You are more than welcome


Added Overview for Developer Guide

Coverage remained the same at 88.338% when pulling 79ce3d0bffcbe9f21a4c96bb1eb3a10f51de2669 on wynkheng:v1.3_UserGuide_Reconstruction into 57b3438856fd19ed9cab7faf9da926e449bd1ab5 on CS2103AUG2017-T15-B4:master.


R6 generator: animation time not taken into account

In d3planner, an ability with an animation time of say 13 frames will deal the damage immediately (tick t=0.00) and then delay for 13 frames.
In the game, the animation will play for 13 frames and then deal damage, at the end. This means that in practice, stuff like on-hit effects with ICDs will proc inconsistently for stuff with variable animation time. (lik monk generators)
If I have a generator with breakpoints like 6 / 6 / 9, then in d3planner I get:
t=0.00: hit, procs stricken, ICD = ceil(0.9*6)=6
t=0.10: icd expires
t=0.10: hit, procs stricken, ICD = ceil(0.9*6)=6
t=0.20: icd expires
t=0.20: hit, procs stricken, ICD = ceil(0.9*9)=9
t=0.35: icd expires
t=0.35: hit, procs stricken, ICD = ceil(0.9*6)=6
...

So after 4 hits, we have 4 stricken stacks. However, this is how it works in the real game:
t=0.00: animation started (length=6)
t=0.10: hit lands, procs stricken, ICD=6
t=0.10: animation started (length=6)
t=0.20: icd expires
t=0.20: hit lands, procs stricken, ICD=6
t=0.20: animation started (length=9)
t=0.30: icd expires
t=0.35: hit lands, procs stricken, ICD=9
t=0.35: animation started (length=6)
t=0.45: hit lands, **stricken on cooldown**
t=0.45: animation started (length=6)
t=0.50: icd expires
t=0.55: hit lands, procs stricken, ICD=6
...

In the real world, 3 generator hits = 2 stricken stacks, because going from a slow hit to a fast hit (as typically happens when going from the third to the first) triggers stricken with a longer ICD than the animation of the next attack.
But in d3planner, 3 generator hits = 3 stricken stacks. It's worth noting that this issue can't simply be “worked around” except by actually simulationg the animation duration / figuring out the point in time where the hit actually lands, because for example Fists of Fury's DoT can trigger stricken the moment the ICD expires, which means that FoF stacks at the fastest rate possible.
Also, for some reason, breaking wave doesn't seem to have this behavior - I haven't looked into it, but perhaps it's because breaking wave has the actual “hit” at a more consistent part of the animation?

As for how to approach this bug in the short-term, I think a good change would be to just make the third hit of all generators except crippling wave and fists of fury not apply stricken.

Any idea where we could get the correct time of impact for every animation? I'll try to look through the animation files, maybe its all there.

Also, for some reason, breaking wave doesn't seem to have this behavior - I haven't looked into it, but perhaps it's because breaking wave has the actual “hit” at a more consistent part of the animation?

Incidentally, I had followed up on this thought previously but forgot to post. The reason it works for breaking wave is because breaking wave's damage is front-loaded, the damage comes first followed by the sweeping animation. That way it procs stricken for all three hits.

Any idea where we could get the correct time of impact for every animation?

No idea. I don't know anything about diablo data harvesting or file formats. As for alternatives, I think getting them from the client is the only reasonable solution; but failing that a special-cased exception for monk generators would be reasonable.


[Release Tooling] Separate out dynamic content from zip README.md

Context

The zip README.md has two sections that are populated each release with metadata regarding the release's dependency graph and included versions. Other than those two sections, the zip README.md does not change often. So, it's reasonable to break out those sections into a separate METADATA.md file.
For additional context, this change is motivated by b/269421146.

#no-changelog

Confirmed. Merging.


add device agnostic tests & add helpful assertion for device agnostic tests

Our app doesn't have a window when run as a test host, which results in keyWindow being nil.  This could also happen if your test target is a "Logic Test", and not an "Application Test."
$ ls -1 WikipediaUnitTests/ReferenceImages_64/NSAttributedString_WMFModifyTests
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
I've added an assertion so others can get clearer feedback about what's going wrong and how to fix it.  FBSnapshotTestCase could arguably create a keyWindow implicitly, but I figured it's better to let users set up their test host properly instead of implicitly relying on the library to do it for them.

looks like I need to download iOS 9 sim and re-record snapshots. downloading now... :hourglass_flowing_sand:

@Grubas7 @nscoding I reverted my change using UIScreen and added an assertion instead.  This should prompt users (like me) who don't have a key window to go ahead and create one.

@bgerstle Cool. I wonder there should be some info about this in README. @nscoding ?

@Grubas7 @nscoding this should be ready to go, see my latest comment for a brief explanation on the approach and c9a9530 for the implementation

Looks good :+1:

@Grubas7 thanks for the feedback! all your comments should be addressed :ok_hand:

@bgerstle could you squash your commits?

@Grubas7 squashed & amended commit message

Thank you for working on this, it looks great, I left a couple of comments (nit picks really).

@nscoding addressed all of your comments, including the iPhone 6 screen size issue (and re-recorded reference image)

testSuccessfulComparisonOfDeviceAgnosticReferenceImages tests are failing, it's looking for 320x568 (iPhone 5 right? but we didn't provide this one)

Ahh that's different now too, as it used to be 320x480, forgot to re-record
those
On Sun, Jan 3, 2016 at 18:20 Patrick Chamelo<EMAIL_ADDRESS>wrote:

testSuccessfulComparisonOfDeviceAgnosticReferenceImages tests are failing,
it's looking for 320x568 (iPhone 5 right? but we didn't provide this one)
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/ios-snapshot-test-case/pull/137#issuecomment-168551718
.

@nscoding should be good now :checkered_flag:


Error in keystone generation

From Customer:

I am facing issue while deploying senzing streamloader, previously I was using streamloader for senzing and it was working properly.  But when I try to deploy new streamloader cluster with senzing api. I am facing error while running "init-container.py" file where it asked for boto3 library dependency which was not a dependency in the previous deployment.

Once I installed boto3 library, it is throwing me error "sh: 1: keytool: not found" and "FileNotFoundError: [Errno 2] No such file or directory: '/etc/opt/senzing/my-client-key-store.p12'".

Previously I did not face any such issue for streamloader deployment, were there any changes made to "init-container.py" file?

In consulting with @mahchiahui, the approach that will be taken is to use shutil's which method (https://docs.python.org/3/library/shutil.html) to determine if keytool is installed.  If it isn't we'll just log a message that no self-signed certificate was created.

Pull requests:

https://github.com/Senzing/docker-init-container/pull/157


chore: bdd-nh-1582929718 to 0.0.1

chore: Promote bdd-nh-1582929718 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


gnu-efi: 3.0.8 -> 3.0.9

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnu-efi/versions.
meta.description for gnu-efi is: '"GNU EFI development toolchain"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.0.9 with grep in /nix/store/nwhmbknxs9fvy6lvkflp587z96birzbj-gnu-efi-3.0.9

directory tree listing: https://gist.github.com/f354fb51906e18a4072436f0067850e7

du listing: https://gist.github.com/a50876dc2a76ee3d4bf4334fd8a841a2

Outpath report (click to expand)

Outpath difference report
17651 total rebuild paths
6566 package rebuilds
6560 x86_64-linux rebuilds
5739 i686-linux rebuilds
0 x86_64-darwin rebuilds
5352 aarch64-linux rebuilds
First ten rebuilds by attrpath
AgdaSheaves
AgdaStdlib
DisnixWebService
EmptyEpsilon
MMA
R
SDL
SDL2
SDL2_gfx
SDL2_image

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nwhmbknxs9fvy6lvkflp587z96birzbj-gnu-efi-3.0.9 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gnu-efi https://github.com/r-ryantm/nixpkgs/archive/f6383151af247447b82917e8a8a86de6c48edf45.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nwhmbknxs9fvy6lvkflp587z96birzbj-gnu-efi-3.0.9
ls -la /nix/store/nwhmbknxs9fvy6lvkflp587z96birzbj-gnu-efi-3.0.9/bin

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: gnu-efi
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: gnu-efi
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/nxz5qzngm04gm95jw5d78llnzxqg23sa-gnu-efi-3.0.9
shrinking /nix/store/nxz5qzngm04gm95jw5d78llnzxqg23sa-gnu-efi-3.0.9/lib/crt0-efi-aarch64.o
wrong ELF type
strip is /nix/store/426i2d272x6c8j4shwl1377xj2cf1ijj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nxz5qzngm04gm95jw5d78llnzxqg23sa-gnu-efi-3.0.9/lib
patching script interpreter paths in /nix/store/nxz5qzngm04gm95jw5d78llnzxqg23sa-gnu-efi-3.0.9
checking for references to /build in /nix/store/nxz5qzngm04gm95jw5d78llnzxqg23sa-gnu-efi-3.0.9...
wrong ELF type
/nix/store/nxz5qzngm04gm95jw5d78llnzxqg23sa-gnu-efi-3.0.9

Success on x86_64-linux (full log)
Attempted: gnu-efi
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/4v85fk7al3sb0mbp02l2i02sfm7mv7s5-gnu-efi-3.0.9
shrinking /nix/store/4v85fk7al3sb0mbp02l2i02sfm7mv7s5-gnu-efi-3.0.9/lib/crt0-efi-x86_64.o
wrong ELF type
strip is /nix/store/xzn29jrdk6czmx5qai15v6hwsrxviw4c-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4v85fk7al3sb0mbp02l2i02sfm7mv7s5-gnu-efi-3.0.9/lib
patching script interpreter paths in /nix/store/4v85fk7al3sb0mbp02l2i02sfm7mv7s5-gnu-efi-3.0.9
checking for references to /build in /nix/store/4v85fk7al3sb0mbp02l2i02sfm7mv7s5-gnu-efi-3.0.9...
wrong ELF type
/nix/store/4v85fk7al3sb0mbp02l2i02sfm7mv7s5-gnu-efi-3.0.9


[Bug][Manager] The status of the deleted source is updated incorrectly

What happened
After configuring group and stream workflows, the deleted source status will be modified incorrectly.
What you expected to happen
After configuring group and stream workflows, the deleted source status cannot be modified
How to reproduce
Configure the group and reconfigure it after deleting the source. The source status will be modified at this time.
Environment
No response
InLong version
master
InLong Component
InLong Manager
Are you willing to submit PR?

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

Code of Conduct

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

I will deal with this problem！


Restart doctests and example tests

Now that we are approaching the end of dask we need to restart doctests and extests on Travis, not least to ensure we haven't broken all of the docs on the dask branch!
Fixes #2460

Hurrah, all the tests have passed! @corinnebosley could I please bother you to merge if you're happy?

@dkillick Boom! That's an empowering way to start the day. I feel like a strong, independent woman.

:boom:

@dkillick Travis is now telling me that the build is broken.  It's either fibbing to me now or it was fibbing before when it said all the tests passed...

@corinnebosley I do believe it might be fibbing now... Give it time, it'll get there :smile:

@dkillick I restarted the failing test, which had timed out and also claimed a pep8 failure (which I think was a fib).  Github is also claiming that I pushed up a branch called Dask as a PR, but I didn't.
It's messing with my head.  I no longer feel like a strong independent woman.  I feel confused and suspicious.

@dkillick Tests have passed now.  Again...

I restarted the failing test

:+1:

timed out and also claimed a pep8 failure

It seems that whenever Travis testing times out it spuriously warns of pep8 failures; seems to be something to do with how the tests are run.

Tests have passed now.

Happy times! :tada:


Telemetry should include profile

The telemetry events for start, stop, commands do not include which profile is used. It would be good to log whether MicroShift or OpenShift Local is being used so we can prioritize between the two or understand when (e.g.) a behaviour or error is prevalent in one vs the other.

Yes, no real need to record it twice, but it is usually easier when the data is in whichever relevant event you want to filter by. e.g. start is likely one we'd want to compare the profiles (or whether users behaviour is different for the profiles, e.g. do they start/stop one on demand vs leave the other running? how long do users typical run it?), so I'd include it in there even if there was an init/creation event that already included it.
The key thing we wanted to know is 'how much are people using MicroShift or OpenShift within Podman Desktop'. Unless the backend knows what triggered the action, the only place to get this would be via the Podman Desktop telemetry. Even if the extension has no real need to know IMHO it's worth one extra backend call to include this in telemetry/logs.

The migration from Woopra to Amplitude might have dropped it from a view. I
have asked Praveen to update the Amplitude views last week as we have the
data.
--
Gerard Braad | http://gbraad.nl
STEM is the source, but BUILD is how you develop!
[ Better Understanding Involves Learning and Doing ]

how much are people using MicroShift or OpenShift within Podman Desktop'

Every call records the originator for our backend telemetry


Proof Key for Code Exchange is required for cross-origin authorization code redemption

Sorry for the trouble.
I have a SPA would like to use 3rd-party authentication, came across from MSal samples' README.md. Long story short, there are two options to set it up:

Sample README, Register a single-page application (SPA) in Azure Active Directory B2C,
use PKCE,
Implicit grant not recommended for Msal v2.x,
support acct type to be Accounts in any identity provider or organizational directory (for authenticating users with user flows)
Set up sign-up and -in with a MS acct using Azure Active Directory B2C,
not using PKCE,
Implicit grant needed,
support acct type to be Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)

They both require B2C Tenant and switch to that directory where tenant is in. Once a tenant is created it goes into the very first directory I ever started my Azure Free-tier subscription, namely Default directory, not in the Initial domain directory namely myapp001.
But myapp001 directory is the only one whose Azure AD B2C has Identity providers and User flow in menu, Default doesn't. So setting up identity and run flow test are at myapp001.
Option 1 above Run user flow got:

Proof key for Code Exchange is required
https://jwt.ms/?error=server_error&error_description=AADB2C90273%3A+An+invalid+response+was+received+%3A+'Error%3A+invalid_request%2CError+Description%3A+Proof+Key+for+Code+Exchange+is+required+for+cross-origin+authorization+code+redemption.'
Correlation+ID%3A+d99befc9-c6e0-4084-ad60-1478118506d7
Timestamp%3A+2022-03-31+23%3A45%3A17Z

Below is the registered App

Option 2 above got:

We're unable to complete your request
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.

Note, it uses a registered App from Default directory which has PKCE as below

Thank you very much!
Update 1
All my User flows are Sign in (Recommended) only. Since the Samples are working, there must be a way to configure them.
A blind guess, B2C tenant, Identity providers and User flows must be in the same AZ AD B2C directory.

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

ID: 7646910a-39c5-eebd-97f9-db6e7e55d1fa
Version Independent ID: 34f989f5-05ea-19ad-7db9-40cc0a753b29
Content: Set up sign-up and sign-in with a Microsoft Account - Azure AD B2C
Content Source: articles/active-directory-b2c/identity-provider-microsoft-account.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@TLKG Thank you for your feedback. We will investigate and update as appropriate.

@TLKG I understand that you are creating SPA in B2C tenant and adding Microsoft Account identity provider(IdP) to sign-in users with a Microsoft account in your B2C application.
1.To make application for 3rd party authentication, application need to register in your Azure AD B2C tenant. For SPA application in B2C tenant, make sure to select Single-page application (SPA), and then set redirect URL.
I can see in your screenshot, you mentioned the SPA application to use PKCE which is as expected. I tried to replicate the scenario in my lab by registering the application as mentioned in documentation and able to access the application successfully with SignIn User flow.
If you are still getting the error, could you try to change it from SPA to Web.
2.Another documentation is to include Microsoft Account Identity Provider to your B2C application to allow users to sign in from their Microsoft Account.
As per documentation, you need to register your MS identity provider in your Azure AD tenant rather than your B2C tenant.
You can switch to Azure AD tenant using settings above.

The error you are getting here is “The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.” due to URL you mentioned in redirect URI is not matching.
The redirect uri is something that AAD needs to know so that once AAD has done preparing the requested token, it would post that token back on that redirect uri so that the application can consume it. In this case, IdP return the token to B2C tenant so URL should be https://your-tenant-name.b2clogin.com/your-tenant-name.onmicrosoft.com/oauth2/authresp
where your-tenant-name here is your B2C tenant name which has been redacted here.

I followed both the documentation step wise and reproduced the scenario in my lab and able to sign in successfully with Microsoft Account Idp in Azure AD B2C SPA application.

@shwetamathur7
Did as you suggested got same results.
Let's verify we're on the same page:

Did you test using Free account/subscription?
Three things needed for 3rd party authentication:
2.1 Microsoft.AzureActiveDirectory registered under the Subscription, Settings, Resource providers
2.2 B2C tenant to be created under the subscription
Both done using this tutorial, skipping "Verify the application's publisher domain".
2.3 Azure AD B2C to register an App, set up Identity providers and User flows

After 2.2, B2C tenant shows up in the Directory who started with the Subscription. My case, it is Default Directory.
2.3 will be performed in the newly created directory from 2.2. In your screenshot should be B2C, mine is myapp001.
Are we on the same page?

@TLKG Apologies for delay in response.
I tested using subscription account and registered B2C SPA application, set up IdP and User flows in B2C tenant.
Created Microsoft Account in Azure AD tenant and configure as Idp in B2C tenant.
Is myapp001 is your B2C tenant?

@shwetamathur7  myapp001 is my B2C tenant created. Its name shown in the B2C Tenants list is myapp001.onmicrosoft.com. Are we on the same page from 1 to 2.3?

@TLKG Yes, we are on the same page. Are you still facing same error?

@shwetamathur7 Will email and close this thread. Thank you!

Hi,
I am facing the exact same issue and would appreciate to know the resolution.
Thanks a lot!

Azure is very tricky. Not very sure the solution, my memory is:- create a file in api folder, called local.settings.json. - Place this inside"Host":    {        "CORS": "http://localhost:4200"    },You can also read https://learn.microsoft.com/en-us/azure/static-web-apps/application-settings#configure-application-settingsGood luck.On Sep 25, 2023, at 1:29 AM, Julien Muller @.> wrote:Hi,I am facing the exact same issue and would appreciate to know the resolution.Thanks a lot!—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.>

Azure is very tricky. Not very sure the solution, my memory is:

create a file in api folder, called local.settings.json.
Place this inside
"Host":   {       "CORS": "http://localhost:4200/"   },

You can also read https://learn.microsoft.com/en-us/azure/static-web-apps/application-settings#configure-application-settings
Good luck.


WIP: adding more jck test targets into jck playlist

update jck build.xml to ensure it uses the same javac in JAVA_BIN
add JCK_VERSION to use same test target on all JCK versions
and JCK custom test targets and JCK_TEST_TARGET variable
user can run JCK test subset with new added JCK custom test targets
export JCK_TEST_TARGET to define which JCK test subset to run
add daily and weekly JCK test tags and test targets

Signed-off-by: Tianyu Zuo<EMAIL_ADDRESS>

For the weekly builds (a.k.a. whole set of JCK tests), I have some thoughts but it may be wrong. Please correct me if any part is inappropriate.
I think the definition of daily and weekly would be different between OpenJ9 and AdoptOpenJDK.
AdoptOpenJDK is providing a whole JDK so it needs to run the 'whole' set of JCK tests, which means it need to run runtime, compiler and devtools.
However for OpenJ9, it provides the VM part of JDK, I assume the whole set of JCK tests for OpenJ9 is the JCK runtime suites. With the same reason, the requests of 'daily' tests may be different as well. Do we want to use the same playlist for both OpenJ9 and OpenJDK?
Another issue is about how the whole set of JCK tests will be executed: serial or parallel? Serial execution would be easy to implement as just one target can do the task. If it is parallel, do we want to parallel weekly targets which have been defined in the jck playlist, or run jck.xxx.custom target several times with different passed in JCK test subset?

I have deleted those weekly targets since the weekly run are not clear yet.

@TianyuZuo - it is true that different projects will have different preferences for what JCKs they want to run against different builds, which is a reason to be careful not to over-label.
At AdoptOpenJDK there is no weekly build.  There are nightly builds and release builds.
There is a JCK test build that is run against the release build that should include ALL of the JCK tests, therefore can use "make jck" to accomplish it.
For nightly builds at AdoptOpenJDK, we may choose to run a subset of the JCKs (topic under discussion in issue #186 ).  That JCK test build is limited by time, and I would imagine would be a subset from the vm and api tests.
For other projects like that wish to use this test material from AdoptOpenJDK (assuming they have their own JCK test materials), they can choose the full test suite and run "make jck" or once we decide on the nightly subset, use the tag name that we agree upon for the make target, or run a set of individual make targets of their choosing.  I am saying hold off on this tag for now, as you know we are about to update testkitgen, and we'd either add a level called 'nightly' or leverage the existing 'sanity' or 'extended' levels for that purpose.  At present, I want to try and use the same playlist for both AdoptOpenJDK and OpenJ9 testing.
For now, I do not care to optimize the running of these tests in parallel, as we do not really have enough machines to support this.  If we eventually do support parallel testing, we would be doing that in a Jenkinsfile and likely would do that using the jck.xxx.custom targets as you suggest.   Note we will always still need to support a serial/manual run outside of Jenkins.

If you have tried running this from your branch, and are satisfied that it works as expected, then I will merge this for now.  We will have to update the playlist when we bring in the updates to testkitgen, at which point we can finalize what level we use for which builds.

Hi @smlambert
Thanks for the info, which helps a lot. So I will keep the plyalist.xml as is (without weekly test targets, only contains daily targets). And once the tkg is synced from OpenJ9, they will also be updated.
Tests have been tested locally, worked and passed as expected.


Lower docker image size

I suppose to lower docker image size because more than 1GB is not great at all. Tried to use alpine base image but could not to force it to work. 😶

Added limit for video files size.


Qingwei/debug perf

@borisyankov
Profiling on macbook I am using does not show significant difference, although number of render is reduce a whole lot. Time taken and profile chart both are close
each render spent more than 80% of CPU time in binary, maybe that's a better place to optimize
Note: This is for discussion, do not merge unless you're sure ;)

Coverage decreased (-0.05%) to 32.155% when pulling bdab21a6b092cd7546ce0bb5ddb108ddb12c4f9e on qingweibinary:qingwei/debug_perf into e78392be4617ec0053ab3134b34d1a32f7dd83d6 on binary-com:master.

each render spent more than 80% of CPU time in binary

What does that mean? :)

@borisyankov typo
in binary-charts

Hmmm...
I do know why we don't see that much improvement ;(