Is Mediapipe Iris coming to Maven Repository?

Please make sure that this is a feature request.
System information (Please provide as much relevant information as possible)

MediaPipe Solution (you are using): Mediapipe FaceMesh
Programming language: Android Java
Are you willing to contribute it (Yes/No): Not enough expertise

Describe the feature and the current behaviour/state:
All I really want is the depth estimation which is not available in Mediapipe Facemesh. Mediapipe Iris has it but integrating into our project seems difficult
Will this change the current api? How?
Possibly.
Who will benefit from this feature?
A lot of people. I think Iris is more accurate for measuring the distance between the user and camera which has more benefits.
Please specify the use cases for this feature:
One of the features we want to implement is calculating if the user is looking parallel to the camera.
Any Other info:

Hi @PraveshARMedical ,
Unfortunately, It's currently not supported. We do see this as a great feature to have and will prioritize this work.

Hello @PraveshARMedical,
We are upgrading the MediaPipe Legacy Solutions to new MediaPipe solutions However, the libraries, documentation, and source code for all the MediapPipe Legacy Solutions will continue to be available in our GitHub repository and through library distribution services, such as Maven and NPM.
You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you


Config programmatic roles in the config.py

We are adding more roles that are controlled externally and they shouldn't be modified by user.
@mistercrunch ^^

LGTM


[buy] Error message on approve step of BUY transaction on default pool project

See https://www.carbonmark.com/projects/VCS-191-2008/purchase/pools/bct
This is the default project for the BCT pool
Also confirmed get this error on UBO default pool project
https://www.carbonmark.com/projects/VCS-1140-2015/purchase/pools/ubo
NOTE: buy appears to work if not the default pool project

Buy 1 tonne - Confirm Purchase modal opens
APPROVE step works fine
SUBMIT step throws error

Some ideas, after looking at the errors and approvals (And reproducing it on my machine)

Check that we are passing the correct project token addresses down to the actual transaction.
Check that we are using the correct method

for cost quoting, getRedeemCost util should invoke aggregator.getSourceAmountDefaultRedeem()
for the purchase, redeemCarbonTransaction util should fall into this case:

More debugging, our inputs seem correct for toucanRedeemExactCarbonPoolDefault
sourceToken: 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174,
poolToken: 0x2f800db0fdb5223b3c3f354886d907a671414a7f,
amount: "1000000000000000000",
maxAmountIn: "312309",
from: 0,
to: 0

I did notice that we are not passing the correct value for maxAmountIn but that didn't seem to fix it....

Combination of mistakes led to this. Fix incoming.


Jm/merge killfill broker rack

Merging in killfill's fix for supporting the broker.rack param

It looks like @jlm3575 hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot


HDDS-6936. Mark TestContainerStateMachineFailures#testApplyTransactionFailure as flaky.

What changes were proposed in this pull request?
Add @Flaky annotation to this test due to unrelated failures described in HDDS-6935.
What is the link to the Apache JIRA
HDDS-6936
How was this patch tested?
N/A, this patch is only skipping a test.

Thanks @adoroszlai. That sounds good. I wasn't sure what procedure we wanted to follow for adding the annotations.


update README.md to friendly name of xVhdFile

README.md was using incorrectly using an abbreviated form (xVhdFileDirectory) of the full name (MSFT_xVhdFileDirectory) instead of the real friendly name (xVhdFile).

LGTM


Setup on ubuntu 20.04 on Google Cloud

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
can you give me tutorial?
Because i'm trying to setup but the error on Cannot listen: listen EADDRINUSE: address already in use :::3001 And Trace: Error [ERR_SERVER_NOT_RUNNING]: Server is not running.
at new NodeError (internal/errors.js:322:7)
at Server.close (net.js:1624:12)
at Object.onceWrapper (events.js:519:28)
at Server.emit (events.js:412:35)
at emitCloseNT (net.js:1677:8)
at processTicksAndRejections (internal/process/task_queues.js:81:21) {
code: 'ERR_SERVER_NOT_RUNNING'
}
at process. (/opt/uptime-kuma/uptime-kuma/server/server.js:1540:13)
at process.emit (events.js:400:28)
at processPromiseRejections (internal/process/promises.js:245:33)
at processTicksAndRejections (internal/process/task_queues.js:96:32)
🐻 Uptime-Kuma Version
Latest
💻 Operating System and Arch
Ubuntu 20.04 x86_64
🌐 Browser
i'm using trial
🐋 Docker Version
No response
🟩 NodeJS Version
14.18.1

You should check what is using 3001.

pkill 3001
rerun command

Just a side question, since you are running it on Google Cloud:
Have you considered running just the container in Cloud Run instead of a VM?


Rule blocked: CORERULES-4, CORERULES-48, CORERULES-49

Sample Request
cg0006.json.txt
Links to related JIRA Tickets
https://jira.cdisc.org/browse/CORERULES-4
https://jira.cdisc.org/browse/CORERULES-49
https://jira.cdisc.org/browse/CORERULES-48
Rule Information

Standard: SDTMIG
Rule Description:

CG0006: --DY calculated as per the study day algorithm as a non-zero integer value
CG0222: --ENDY is properly calculated per study day algorithm
CG0220: --STDY is properly calculated per study day algorithm

Describe the bug

The rule is giving incorrect results. In many cases, NAN is returned for the dy operator even when dates are correct. In the attached test request, there should be no issues.
The dy operator is returning 0 when it cannot calculate a result. Instead, it should be returning null. (If it returns 0, this will cause the rule to not flag data issues when the data has 0 instead of empty/null.)

Refer to previous related issue:
https://github.com/cdisc-org/cdisc-rules-engine/issues/152

@gcampion-cdisc the provided rule is written incorrectly. Here is it corrected:
Notes:

Providing DM as the domain for the operation means that all comparisons will be done on the DM domain. Removing domain means that the calculation will be performed on the domain currently being evaluated.
I believe the goal was to calculate the difference between the --DTC value of the current domain and RFSTDTC in the DM domain. If that is the case then the "name" value in the operation needs to be "--DTC" with no domain provided
dy_rule.json.txt


Return tuples from SubArray properties, add suport for single value in get_tel_ids

The properties of SubarrayDescription are immutable, so the proper type is a tuple, not a list.
This also enables get_tel_ids(<single value>).

@kosack @LukasNickel had to resolve conflicts


Fixes

We merged #331 a bit quickly. No idea how I missed this.
There were remaining calls to request_state. One in new_widget, which had to be removed anyway now that we now provide js default values, and another in manager-base.

:+1:


The initial implementation of Proposal, Vote, Organization, Federation and Network and their controllers

The following CRDs and their controllers were initially created:

Proposal
Vote
Organization
Federation
Network

/lgtm
basic test passed, fix test later


New version: SpheriCart v0.1.1

Registering package: SpheriCart
Repository: https://github.com/lab-cosmo/sphericart
Created by: @cortner
Version: v0.1.1
Commit: 30634f00ef269824379e931119788f68163f8b05
Reviewed by: @cortner
Reference: https://github.com/lab-cosmo/sphericart/issues/86#issuecomment-2179595751
Description: Multi-language library for the calculation of spherical harmonics in Cartesian coordinates

There is a LICENSE.md in the top folder of the package and a LICENSE.md in the sub-folder where there julia code lives. Can somebody explain to me please why this is not automerged?
To be clear I am not interested in manually merging this PR. I need to the automerge functionality for the future.


Seemingly unsound catch

Once in a blue moon on pub.dev we get the following stack trace:
Error:
    NoSuchMethodError: Class 'GrpcError' has no instance method 'asApiResponse'.
    Receiver: Instance of 'GrpcError'
    Tried calling: asApiResponse()

Stack:
    dart:core-patch/object_patch.dart 38:5                 Object.noSuchMethod
    package:pub_dev/frontend/handlers/pubapi.g.dart 25:18  _$PubApiRouter.<fn>
    package:shelf_router/src/router_entry.dart 109:14      RouterEntry.invoke.<fn>
    package:shelf_router/src/router_entry.dart 104:12      RouterEntry.invoke
    package:shelf_router/src/router.dart 184:26            Router.call
    package:pub_dev/frontend/handlers.dart 69:16           createAppHandler.<fn>
    package:pub_dev/shared/handler_helpers.dart 93:16      _redirectLoopDetectorWrapper.<fn>
    package:pub_dev/shared/handler_helpers.dart 149:16     _cspHeaderWrapper.<fn>
    package:pub_dev/shared/handler_helpers.dart 245:34     _userAuthWrapper.<fn>.<fn>
    package:pub_dev/account/backend.dart 283:14            AccountBackend.withBearerToken
    package:pub_dev/shared/handler_helpers.dart 244:12     _userAuthWrapper.<fn>
    package:pub_dev/shared/handler_helpers.dart 135:25     _requestContextWrapper.<fn>
    package:pub_dev/shared/handler_helpers.dart 260:25     _httpsWrapper.<fn>
    package:pub_dev/shared/handler_helpers.dart 228:12     _sanitizeRequestWrapper.<fn>
    package:pub_dev/shared/handler_helpers.dart 173:14     _logRequestWrapper.<fn>
    package:shelf/shelf_io.dart 138:16                     handleRequest

Code at pub_dev/frontend/handlers/pubapi.g.dart 25:18
) async {
      try {
        final _$result = await service.listVersions(
          request,
          package,
        );
        return _$result;
      } on ApiResponseException catch (e) {
        return e.asApiResponse(); // <-here
      } catch (e, st) {
        return $utilities.unhandledError(e, st);
      }
    },
  );

It seems that e should be an ApiResponseException to go to the catch case, but according to the stack-trace it is a GrpcError.

You don't have something like typedef ApiResponseException = dynamic; in scope? ;-)

//cc @alexmarkov


Sonic '06 Font Picture Reading/Writing and revised PKG API

Added reading and writing support for the PFT format. Also included Knuxfan24's revised PKG API that makes it easier to use when adding new entries.

Closing due to outdated code - moved to Marathon.IO.


feat(oui-icons): add guides icon

Add guides icon
Description of the Change
Add guides icon

It could be a nice add to update the icon used by the guide component here: https://ovh-ux.github.io/ovh-ui-kit-documentation/#!/oui-angular/guide-menu.
For now, it's directly the SVG: https://github.com/ovh-ux/ovh-ui-angular/blob/master/packages/oui-guide-menu/src/guide-menu.html#L4.
We could use this icon instead.


Can’t turn on/off Dyson Pure

I keep getting this error when I try and turn it off and on even though all the sensors are working:

Log shows:
Log details (ERROR)

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:241
integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 10:52:43 PM (5 occurrences)
Last logged: 10:55:22 PM

[140040329476800] Unexpected exception
[140040332143936] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 977, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1049, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 328, in async_handle_turn_on_service
    await self.async_turn_on(percentage, preset_mode, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 337, in async_turn_on
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/dyson_local/fan.py", line 166, in turn_on
    self._device.turn_on()
  File "/config/custom_components/dyson_local/vendor/libdyson/dyson_pure_cool_link.py", line 52, in turn_on
    self._set_configuration(fmod="FAN")
  File "/config/custom_components/dyson_local/vendor/libdyson/dyson_device.py", line 324, in _set_configuration
    raise DysonNotConnected
custom_components.dyson_local.vendor.libdyson.exceptions.DysonNotConnected

I am having the same issue as of this morning, but none of the sensors are working either. Seems the integration is having issues

@son1cn are you also seeing the same errors in the logs?
The error in the log that @oneseventhree shared is... interesting, it only happens when the device is no longer connected to wifi, or no longer reachable over the network.

@dotvezz I saw the same thing pop up on the bottom of the screen but can't find anything similar in the logs.
After you mentioned Wifi, I tried the Dyson app and my fan was not appearing either. I then checked my network controller and it was not getting an address for whatever reason.
Simple power reset, it has an address again, and it is back online. Thanks!

Something is off in past 1-2 weeks. All Dyson entities simply stop responding - some unknown error.
Restarting HA solves the problem.

I deleted the integration - and readded it but WITHOUT the MyDyson credentials. I just used the Wifi Sticker on the fan and it seems to all work now :)


[i18n] How can I translate operators e.g. "contains" or "in"/"not in"?

Hi,
I used custom controls to customize component and apply i18n. I also would like to translate operators and store them in key value pair list. Is there simple way to accomplish this?
operators: {valueField: number, textField: string} []  = [ {valueField: 3, textField: 'contains'}, {valueField: 5, textField: 'in'}];

I've used a workaround for that. Take a look on my comment here: https://github.com/zebzhao/Angular-QueryBuilder/issues/129


ISSUE-291 Remove findbugs-annotations and mariadb modules because of LGPL license.

@raju-saravanan Can you verify this?

@raju-saravanan Removed unused mariadb provided scope dependency in storage-tool. Pl verify running bootstrap with mysql instance.


ESP32

Is it possible to port this interface to Arduino IDE for ESP32 ?
Do you plan this in the future ?

While in general this might be possible if the ESP32 comes with a full-features Bluetooth stack, I have no plans to implement something like this in the near future.


Add ss58 address for Subsocial network

This PR adds a new ss58 address 28 for Subsocial network in this file:
https://github.com/paritytech/substrate/blob/293bcd6059f1e4e3dd95aa64989dadef4234222d/primitives/core/src/crypto.rs#L414

Do we need to make any related changes to support this new ss58 address in other repos? For example in Polkadot Apps?

Do we need to make any related changes to support this new ss58 address in other repos? For example in Polkadot Apps?

https://polkadot.js.org/? yes, afaik


Failed to obtain an enrolled user

Hi,
I'm hosting the chaincode in bluemix, the node app is having a problem get the enrolment for "admin".
I get the following error:
error: Error: Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED <IP_ADDRESS>:13411]     at ClientRequest.<anonymous> (D:\Users\abance\Documents\BlockChain\marbles-3.0\node_modules\fabric-ca-client\lib\FabricCAClientImpl.js:568:12)     at emitOne (events.js:96:13)     at ClientRequest.emit (events.js:188:7)     at TLSSocket.socketErrorListener (_http_client.js:309:9)     at emitOne (events.js:96:13)     at TLSSocket.emit (events.js:188:7)     at emitErrorNT (net.js:1281:8)     at _combinedTickCallback (internal/process/next_tick.js:74:11)     at process._tickCallback (internal/process/next_tick.js:98:9) error: [fcw] Failed to get enrollment marbles-a5cc7fd2d65b4036b9c325664fc8a912-supply-chain-channel-1-fabric-peer-1a Error: Failed to obtain an enrolled user     at ca_client.enroll.then.then.then.catch (D:\Users\abance\Documents\BlockChain\marbles-3.0\utils\fc_wrangler\enrollment.js:167:12)     at process._tickCallback (internal/process/next_tick.js:103:7) error: [fcw] could not format error error: could not enroll...
Any suggestions?
Cheers,
Alex

Do you see message like the one below in the terminal window after gulp marbles1?
warn: ----------------------------------------------------------------------
warn: ----------------------------- Hey Buddy! -----------------------------
warn: ------------------------ It looks like you did -----------------------
error: ------------------------------- not  --------------------------------
warn: ------------------------- follow my instructions ---------------------
warn: ----------------------------------------------------------------------
warn: Your network config JSON has a network ID of "FakeNetworkID"...
warn: You likely have other settings that are wrong too!
warn: ----------------------------------------------------------------------
error: Fix this file: blockchain_creds1.json
warn: It must have credentials/hostnames/ports/channels/etc for YOUR network
warn: How/where would I get that info? Using the Bluemix service? Then look at these instructions(near the end):
warn:   https://github.com/IBM-Blockchain/marbles/blob/v3.0/docs/install_chaincode.md
warn: ----------------------------------------------------------------------

This is the case with me. Problem is that I can't get the JSON credentials following the link above, because in Bluemix I'm stuck because of an error that is still open!
unknown error, contact support

closing, inactivity


Widget renderer output lost when notebook is closed in VSCode

VSCode doesn't save widget output state when the file is closed, so all cells have to be recomputed to see the output.
See: https://github.com/microsoft/vscode-jupyter/issues/4404

When using the jsdom renderer, output is saved between sessions.


Improve the implementation of fence between the replication and workers

Search before asking

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

Motivation
The replication thread needs to avoid using the DB pointer while restoring the DB.
It now will set is_loading to true to stop new commands to be executed and
wait for WorkExclusivityGuard to confirm
existing commands have been done. But as @mapleFU mentioned in chat, it's an error-prone
way to do like that, maybe we need to improve this by introducing a better fence implementation.
Solution
None
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Hi @git-hulk ,
I'd like to follow up on this issue. Could this be assigned to me?
Could you please provide more details about the chat mentioned and I can have a more comprehensive understanding of the problem. 😊
Best Regards,
Edward

@LindaSummer Thanks for your interest. We can close this issue after PR https://github.com/apache/kvrocks/pull/2549 which uses the try_lock to avoid the long pending in replication thread. So it should be good to leave as it is for now.

@LindaSummer Thanks for your interest. We can close this issue after PR #2549 which uses the try_lock to avoid the long pending in replication thread. So it should be good to leave as it is for now.

Got it! Thanks very much for your detail information about the issue. 😊


Add Case Insensitive Compare Option for String Values

When comparing string types, there should be an option to suppress differences if the only change is casing. Currently MyValue and myvalue are considered different.

NM. It was there, Just had to sort through all the code to find it.


mbed-cli doesn't work with python3 on Ubuntu 18.04

Ubuntu 18.04 now comes by default with python3 support and pip support is also through python3.
Using mbed-cli is now giving warning and sometimes weird failures failing to link the application because of some incompatible python code.
For example, I am trying to compile an application which requires to be built for ARMC6 but it fails in linking for me, even though I am using newer than 5.8 version of MbedOS.
 xxxx@ubuntu:~/example(master)$ mbed compile -t ARMC6 -m NUMAKER_PFM_M2351 --app-config configs/wifi_esp8266_v4.json
[mbed] WARNING: If you're using Python 3 with Mbed OS 5.8 and earlier versions, Python errors will occur when compiling, testing and exporting
---
[mbed] Working path "/home/yogpan01/example/mbed-client-example" (library)
[mbed] Program path "/home/yogpan01/example/mbed-client-example"
Building project mbed-client-example (NUMAKER_PFM_M2351, ARMC6)
Scan: mbed-client-lite-example-restricted
Link: mbed-client-lite-example-restricted
b"Warning: L3912W: Option 'legacyalign' is deprecated."
[ERROR] can't concat str to bytes
[mbed] ERROR: "/usr/bin/python3" returned error.
       Code: 1
       Path: "/home/xxxx/example/mbed-client-example"
       Command: "/usr/bin/python3 -u /home/yogpan01/example/mbed-client-example/mbed-os/tools/make.py -t ARMC6 -m NUMAKER_PFM_M2351 --source . --build ./BUILD/NUMAKER_PFM_M2351/ARMC6 --app-config configs/wifi_esp8266_v4.json"
       Tip: You could retry the last command with "-v" flag for verbose output
---
[mbed] WARNING: Using Python 3 with Mbed OS 5.8 and earlier can cause errors with compiling, testing and exporting
---

@yogpan01 Thanks for the bug report

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-826

@yogpan01 Cna you provide which version of Mbed OS you're using, as well the output of pip list?

Also, as a rule of thumb, using verbose output when debugging is generally really helpful.
Would appreciate seeing the more verbose log.

@yogpan01 @screamerbg Please retest this with a fresh Mbed OS master branch pull.
https://github.com/ARMmbed/mbed-os/pull/9673 came in today which fixed a parsing error when using Py3 that looks like it was also affecting this PR.
If not, please provide more verbose output by also using the -v flag.

It works fine on MbedOS master, when we can have this fix for any mbed-os official release?

@yogpan01: ARMmbed/mbed-os#9673 targets 5.11.5 which is planned for the next week I guess.

@yogpan01 My mistake. Also saw the internal comment. Will keep open until 5.11.5 RC PR is created and merged.

Closing since 5.11.5 is now released.


HashKey Me Wallet

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below 30k at the time of submission.

I think https://github.com/w3f/Open-Grants-Program/pull/42#issuecomment-683679750 covers this.  It's unclear how this differs from KZen's wallet.

Thanks for the application. But I have few comments:

First it seems you are currently combining two applications in one PR. Could you create two separate PRs?
Your new application is currently above the 30k limit.
Also we ask teams to provide more details, see https://github.com/w3f/Open-Grants-Program/blob/master/applications/application-template.md For example: mockups/designs, unit-test or tutorials.

we have given up one #42 PR
we adjusted the quantity of BTC from 3 to 2.5

I think #42 (comment) covers this. It's unclear how this differs from KZen's wallet.

We are not very different from Kzen'wallet in the underlying technical implementation. There will be a great difference in product positionging between Kzen'swallet and HashKey Me wallet. For example ,support for polkadot ecology ,DeFi on polkadot.

Thanks for the update. This PR still consists of two applications (three files) as far as I can see it. Could you remove everything except the main application? Also could you share some initial design or mock-up of the UI?

The other two files have been deleted
Added some  mock-up of the UI ,for more information you can download our android application https://android-package.hk.ufileos.com/package/app-release.apk

@gcc2ge I have a couple of issues that I'd like you to address:

We don't fund the UI design & UX flows. This is considered as team's own contribution and proves that a team has done their adequate level of research & preparation. Therefore, most of your milestone 1 would not be funded & you'd need to adjust the application to include the appropriate UI components design & UX flows
What is the value added of a 2p wallet? Wouldn't you always want a more resilient solution, like 2/3 signatures? If you only need two parties to agree, you're in deep trouble if one of the parties decides not to participate, for whatever reason
Your solution relies heavily on a 3rd party backend server & DB. While the core idea is decentralised, what happens when your servers go down? Is there a way to switch to a decentralised provider? Or perhaps allow the users to run their own infrastructure?
Which client are you talking about in the entirety of the application?
Is your grant going to integrate into the current Android app that you shared with us? If so, how much are you planning to re-use?

@mmagician

We don't fund the UI design & UX flows.

we will adjust milestone 1

What is the value added of a 2p wallet?
Two-Party threshold includes four protocols:

DKG: distributed key generation for creating secret shares
Signing: use the secret shares to generate a signature
Rotation: update the distributed secret shares
Secret Shares Recovery:  recover a secret share

There are two roles in Two-Party threshold:

Owner: have ownership of asset in the blockchain
Providers: take participate in creating secret shares

Ensure that the Owner keeps control over its assets, we introduce the following two requirements:

No transaction can be made without the Owner participation.
At any point in time the Owner can recover the full private key.

Your solution relies heavily on a 3rd party backend server & DB.

3rd party backend server and DB running on server ,which helps clients quickly query the blockchain for events, transactions status and balance. We abstract the client-server  communication interface, anyone can implement this interface, query directly from mainnet.

Which client are you talking about in the entirety of the application?

Android and IOS client

Is your grant going to integrate into the current Android app that you shared with us?

yes, all functions

@gcc2ge You haven't answered my question, but rather copy-pasted text from your previous grant application:

@mmagician: Wouldn't you always want a more resilient solution, like 2/3 signatures? If you only need two parties to agree, you're in deep trouble if one of the parties decides not to participate, for whatever reason

Also, when you say:

@gcc2ge: At any point in time the Owner can recover the full private key

There is only one owner? The second party participating in the agreement is the provider, then? In which case is a centralised server, if I understand correctly?

@gcc2ge: Android and IOS client

So are you planning to write native Swift & Java/Kotlin support for your cryptographic library?
Thanks for your response

@gcc2ge You haven't answered my question, but rather copy-pasted text from your previous grant application:

@mmagician: Wouldn't you always want a more resilient solution, like 2/3 signatures? If you only need two parties to agree, you're in deep trouble if one of the parties decides not to participate, for whatever reason

Also, when you say:

@gcc2ge: At any point in time the Owner can recover the full private key

There is only one owner? The second party participating in the agreement is the provider, then? In which case is a centralised server, if I understand correctly?

@gcc2ge: Android and IOS client

So are you planning to write native Swift & Java/Kotlin support for your cryptographic library?
Thanks for your response

So are you planning to write native Swift & Java/Kotlin support for your cryptographic library?

@mmagician
There is only one owner? The second party participating in the agreement is the provider, then? In which case is a centralised server, if I understand correctly?
yes, provider is a centralised server, in case of provider crash, we have a backup server which keep sending heartbeat messages to provider server,if the provider does not response ,backup server will help owner recover their private key.
So are you planning to write native Swift & Java/Kotlin support for your cryptographic library?

we cross compile  cryptographic library to dll for swift and java

we cross compile cryptographic library to dll for swift and java

@gcc2ge So how do you plan to write the cryptographic library? What language?
I have reservations in having the provider on a centralised server that users have no control over. In general we ask teams to open source all parts of the project, in this case that would mean providing an open-sourced backend stack that is deployable  by end-users, in case they want to run the stack themselves.

we cross compile cryptographic library to dll for swift and java

@gcc2ge So how do you plan to write the cryptographic library? What language?
I have reservations in having the provider on a centralised server that users have no control over. In general we ask teams to open source all parts of the project, in this case that would mean providing an open-sourced backend stack that is deployable by end-users, in case they want to run the stack themselves.

@mmagician
The Cryptographic Library part will be open source

we cross compile cryptographic library to dll for swift and java

@gcc2ge So how do you plan to write the cryptographic library? What language?
I have reservations in having the provider on a centralised server that users have no control over. In general we ask teams to open source all parts of the project, in this case that would mean providing an open-sourced backend stack that is deployable by end-users, in case they want to run the stack themselves.

@mmagician
The Cryptographic Library part will be open source

That's not sufficient. And to reiterate @mmagician's question, what language will this be written in? What crypto dependencies will it reuse?

I'll remind people:  There is minimal value in two party wallet designs because if you can do two parties correctly then you can do arbitrary k-of-n thresholds correctly (excluding ECDSA which we discurage), which provides backup functionality, unlike two party.

we cross compile cryptographic library to dll for swift and java

@gcc2ge So how do you plan to write the cryptographic library? What language?
I have reservations in having the provider on a centralised server that users have no control over. In general we ask teams to open source all parts of the project, in this case that would mean providing an open-sourced backend stack that is deployable by end-users, in case they want to run the stack themselves.

@mmagician
The Cryptographic Library part will be open source

That's not sufficient. And to reiterate @mmagician's question, what language will this be written in? What crypto dependencies will it reuse?

@Lederstrumpf @mmagician
We write it in rust, we developed baseed on the ZenGo-X/curv cryptographic library

The library has a built in support for some useful operations/primitives such as verifiable secret sharing, commitment schemes, zero knowledge proofs, and simple two party protocols such as ECDH and coin flip. The library comes with serialize/deserialize support to be used in higher level code to implement networking.

I'll remind people: There is minimal if any value in two party wallet designs because if you can do two parties correctly then you can do arbitrary k-of-n thresholds correctly (excluding ECDSA), which provides backup functionality, unlike two party.

@burdges
Owners need to have full control of their private key. If it is K-of-N, assuming there is no owner in K, others can spend owner's assets without the participation of owner .K ==n can ensure that the owner participate in signature, that's why we chose 2p.

I'll remind people: There is minimal if any value in two party wallet designs because if you can do two parties correctly then you can do arbitrary k-of-n thresholds correctly (excluding ECDSA), which provides backup functionality, unlike two party.

@burdges
Owners need to have full control of their private key. If it is K-of-N, assuming there is no owner in K, others can spend owner's assets without the participation of owner .K ==n can ensure that the owner participate in signature, that's why we chose 2p.

k==n is only the most rudimentary way to ensure this - @burdges already highlighted backup functionality.

@mmagician @Lederstrumpf @Noc2 @burdges
The reasons we currently support 2P are for the speed of private key generation, the efficiency of signature generation, and ease of use by users.
In order to achieve a more decentralized goal, after internal discussion of our team, we can extend the protocol into  K-of-N. The provider can be deployed by the owner alone, or the owner can specify a trusted third-party deployment. We will provide the deployment script, as well as a set of communication protocols suitable for K-of-N, the code of the protocol we will also be completely open source
The following is the flow chart of our new protocol

I've gone through the history of this PR and strongly vote closing it for the following reasons:

@gcc2ge claims they're doing TSS, but this only overlaps with their support of 2-of-2
@gcc2ge is evasive in answering rudimentary questions and providing such details - most concerns raised have yet gone unanswered
At 2.5BTC for 11 weeks of work for one FTE (application lists three FTEs, but their allocations to this project don't overlap), the cost is too high for the low effort put into the proposal, firmly reflected by the quality of the proposal
As @gcc2ge has now revealed, this work will simply be based on a library by ZenGo X (previously KZen) who have already implemented this, confirming the concern @burdges raised initially. The only advantage of this proposal over KZen's wallet that @gcc2ge mentioned is "support for polkadot ecology ,DeFi on polkadot", which is a claim void of substance.

@gcc2ge once you address my latest review, my other points above still stand. As such, my vote for a close is now weaker, but unless this PR's cost is decreased or material improvements are made, I still vote against it. Doing k-of-n TSS is again merely exposing features from ZenGo X's library, so I find the estimated duration of M2 too high. That being said, other reviewers may view this PR more favourably, so my approval is optional.

My vote is also against the proposal, mainly due to relying on a centralised & closed-source server for key generation.

@burdges @mmagician @Lederstrumpf @Noc2
According to your feedback, we have made some modifications to the proposal

Remove the centralized parts of the wallet
Reduced the cost to 1.5BTC, Total Estimated Duration: 6 weeks

Sorry for the late response and thanks for all the effort you put into this. It seems the committee is unwilling to go ahead with the application, mostly because of concerns around the cryptographic implementation. Therefore, I close the application/PR. But feel free to send us another grant proposal for a different project.


Put origin URL in file metadata

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2021.03.14
[x] I've searched the bugtracker for similar feature requests including closed ones

Feature-request:
Please consider to put the origin URL of a video into the metadata of the resulting file.
This is useful for back-reference a video that is on local storage to its origin.

It is embedded in the purl field in mkv
mp4 however does not support this field


fix: refresh tree hierarchy upon child removal

When removing a child from a tree row, make sure the hierarchy is rebuilt so the UI can update itself. Credit to @stimmins for this patch.
This should fix #430

@Schweigi Do you think we can merge this ? I'm OK, but as I was off since few weeks, I prefer asking :)

@Toilal we can merge it. It may have some performance impacts but for now I think the fix itself is more important.

Thanks. This pull request has been integrated manually.


Plugin working on android but not on browser

I've posted this problem also on stackoverflow
I'm experimenting with the phonertc cordova plugin. Any public demo wasn't working for me, so i've written one by my self, copying the structures of the examples of the original repository.
The demo is a simple audio call between two users that are using the app. When i run it on android it works fine, i can talk to the other person, and on the signaling server logs i can read the messages that the library exchanges between the two clients.
But when i run on the browser (chrome or mozilla), i can see that the application logic works fine, but the library, when calling
session.call()
just does not generate any error message and the signaling server receive nothing. Just, the demo do not works on browser and i have no idea how to debug this.
All the project is here on github if you want to check for mistakes. What can i do to debug or solve this problem?

I sort of have the same issue. The communication between app (both ios and android) to the browser used to work perfectly, but since a Chrome update (don't know which major version) it just hangs after exchanging ICE candidates.

Me too doesn't work only on browsers.

Many methods regarding mozRTCPeerConnection/webkitRTCPeerConnection/navigator.getUserMedia are DEPRECATED.  I'm working on solution that will work in desktop and mobile browser that will not use such methods.


Updated the dates in the  tags

Lest we forget later, this updates the dates to be correct for Hack Cambridge 2017.

🚀


java handson homework 2

Metric
Value

alert_status
b:white_check_mark: OK/b

bugs
2

code_smells
16

reliability_rating
C (at least 1 Major Bug)br/Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)br/Note: A being best, E being worst

vulnerabilities
0


Couple things

Need to grant permissions on the mixed mujoco envs (maybe other non-mujoco ones as well). Getting error AccessDeniedException: 403 ...  does not have storage.objects.list access to justinjfu-public.

You should wrap your environments in a TimeLimit wrapper: https://github.com/openai/gym/blob/master/gym/wrappers/time_limit.py. Right now they must be automatically terminated else infinite loop.

Missing the Ant mujoco from Bear paper =(

Not really an issue with the code, but curious for your thoughts: do you have reason to believe that the environments on which none of your tested methods achieve any reasonable score, are even solvable / well-posed problems for the tabula rasa, completely offline setting? It seems a bit silly to throw these out there as benchmarks. Potentially better approach 1: start with too much data, so that a reasonable baseline (e.g., offline SAC) solved. Then the benchmark becomes not performance, but equivalent performance gotten from random sub sampling of the data. Potentially better approach 2: offer these as warm-up / demo-like datasets, to see how fast an agent that has the ability to explore can achieve good performance using them to bootstrap its performance.

Anyways, thanks for making the Mujoco datasets available. I have the following "better" expert agents to produce datasets if you are interested (probably can do even better, wasn't sure why Bear paper stopped short on the expert perf): Ant 6900, HalfCheetah 16700, Hopper 4200, Walker 6600.

Thank you for catching these!
The issues in points 1 & 2 seem to be limited to the gym-mujoco tasks. 3 is on the way as well.
4 is an interesting point and a valid concern. It's more complicated than simply adding more data, because the distribution of the data seems to matter as well - for example offline SAC tends to perform poorly on expert data even when given huge amounts of data. We are trying to subsample a certain set of successful trajectories and seeing if an algorithm like cloning will work from those - this will hopefully come in an update in a few weeks.


Possible issue with data collector endpoint when using automate cluster with dedicated chef server frontends

Describe the bug
When automate cluster is configured with dedicated chef server and automate frontends, any traffic that is proxied from the chef-server frontend (automate-cs-nginx) to the data-collector endpoint on the automate nodes results in a 502.
The logs show two types of issue  no live upstreams while connecting to upstream and upstream SSL certificate verify error:
Nov 18 12:07:56 ip-10-1-0-33.eu-west-1.compute.internal hab[2587]: automate-cs-nginx.default(O): 2019/11/18 12:07:56 [error] 15542#0: *91 no live upstreams while connecting to upstream, client: <IP_ADDRESS>, server: , request: "POST /organizations/load/data-collector HTTP/1.1", upstream: "https://external-automate/data-collector/v0/", host: "a2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com"
Nov 18 12:07:56 ip-10-1-0-33.eu-west-1.compute.internal hab[2587]: automate-cs-nginx.default(O): <IP_ADDRESS> - - [18/Nov/2019:12:07:56 +0000]  "POST /organizations/load/data-collector HTTP/1.1" 502 "0.046" 170 "-" "Go-http-client/1.1" "external-automate" "502" "0.000" "13.2.20" "algorithm=sha1;version=1.0" "chef-load" "2019-11-18T12:07:56Z" "UN4oP77wKt93KULB78MJ99meqPY=" 1050498
Nov 18 12:07:57 ip-10-1-0-33.eu-west-1.compute.internal hab[2587]: automate-cs-nginx.default(O): 2019/11/18 12:07:57 [error] 15542#0: *73 upstream SSL certificate verify error: (20:unable to get local issuer certificate) while SSL handshaking to upstream, client: <IP_ADDRESS>, server: , request: "POST /organizations/load/data-collector HTTP/1.1", upstream: "https://<IP_ADDRESS>:443/data-collector/v0/", host: "a2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com"
Nov 18 12:07:57 ip-10-1-0-33.eu-west-1.compute.internal hab[2587]: automate-cs-nginx.default(O): 2019/11/18 12:07:57 [error] 15542#0: *73 upstream SSL certificate verify error: (20:unable to get local issuer certificate) while SSL handshaking to upstream, client: <IP_ADDRESS>, server: , request: "POST /organizations/load/data-collector HTTP/1.1", upstream: "https://<IP_ADDRESS>:443/data-collector/v0/", host: "a2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com"
Nov 18 12:07:57 ip-10-1-0-33.eu-west-1.compute.internal hab[2587]: automate-cs-nginx.default(O): 2019/11/18 12:07:57 [error] 15542#0: *73 upstream SSL certificate verify error: (20:unable to get local issuer certificate) while SSL handshaking to upstream, client: <IP_ADDRESS>, server: , request: "POST /organizations/load/data-collector HTTP/1.1", upstream: "https://<IP_ADDRESS>:443/data-collector/v0/", host: "a2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com"

All other requests from chef load seem healthy apart from those that hit the data-collector
{"level":"info","method":"GET","msg":"API Request","node_name":"chef-load-160","request_time_seconds":0.092,"status_code":200,"time":"2019-11-18T12:11:43Z","url":"https://A2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com:443/organizations/load/nodes/chef-load-160"}
{"level":"info","method":"GET","msg":"API Request","node_name":"chef-load-160","request_time_seconds":0.016,"status_code":200,"time":"2019-11-18T12:11:43Z","url":"https://A2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com:443/organizations/load/environments/_default"}
{"level":"info","method":"POST","msg":"API Request","node_name":"chef-load-160","request_time_seconds":0.009,"status_code":502,"time":"2019-11-18T12:11:43Z","url":"https://A2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com:443/organizations/load/data-collector"}
{"level":"info","method":"POST","msg":"API Request","node_name":"chef-load-160","request_time_seconds":0.023,"status_code":200,"time":"2019-11-18T12:11:43Z","url":"https://A2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com:443/organizations/load/environments/_default/cookbook_versions"}
{"headers":{"Content-Type":["application/json"],"X-Data-Collector-Auth":["version=1.0"],"X-Data-Collector-Token":["93a49a4f2482c64126f7b6015e6b0f30284287ee4054ff8807fb63d9cbd1c506"]},"level":"info","method":"POST","msg":"API Request","name":"node_ping::chef-load-317","request_time_seconds":0,"status_code":999,"time":"2019-11-18T12:11:43Z","url":""}
{"level":"info","method":"PUT","msg":"API Request","node_name":"chef-load-159","request_time_seconds":1.664,"status_code":200,"time":"2019-11-18T12:11:43Z","url":"https://A2-2339952d-chef-server-lb-66487630.eu-west-1.elb.amazonaws.com:443/organizations/load/nodes/chef-load-159"}

To Reproduce
create an automate cluster from the aws reference architecture
Expected behavior
when chef load is pointed at an automate cluster with dedicated chef-server frontends traffic destined for the data-collector should be accepted.
Additional context
I have a cluster ready that has this issue
The only way I could get this to work was manually editing the config to include the setting proxy_ssl_verify off;
Currently, this setting is not available to set via the automate config for automate-cs-nginx - but I would like to understand why this is not working before we disable verification. Happy to work with someone to troubleshoot this issue.

    location ~ "^/organizations/([^/]+)/data-collector$" {
      set $request_org $1;
      access_by_lua_block { validator.validate("POST") }
      proxy_set_header x-data-collector-token $data_collector_token;
      proxy_set_header x-data-collector-auth "version=1.0";
      proxy_ssl_verify              off; # <------- this
      rewrite ^ /data-collector/v0/ break;
      proxy_pass https://external-automate;

    }

whilst trying to get more information about this issue I have tried setting the following settings in the automate-cs-nginx conf:
cfg.external_automate.root_cert
and
cfg.external_automate.server_name
as well as changing the verify_depth to 8
    location ~ "^/organizations/([^/]+)/data-collector$" {
      set $request_org $1;
      access_by_lua_block { validator.validate("POST") }
      proxy_set_header x-data-collector-token $data_collector_token;
      proxy_set_header x-data-collector-auth "version=1.0";
      proxy_ssl_verify              off;
      rewrite ^ /data-collector/v0/ break;

      {{~#if cfg.external_automate.root_cert }}
      proxy_ssl_trusted_certificate {{pkg.svc_config_path}}/external_automate_root_ca.crt;
      {{/if}}

      {{~#if cfg.external_automate.server_name }}
      proxy_ssl_name {{ cfg.external_automate.server_name }};
      {{/if}}

      {{~#if cfg.external_automate.ssl_upstream }}
      proxy_pass https://external-automate;
      {{else}}
      proxy_pass http://external-automate;
      {{/if}}
    }

the verify depth setting could be altered through chef-automate config patch
however cfg.external_automate.root_cert and cfg.external_automate.server_name are not exposed as far as I could tell. So I had to set them via hab config apply

can you share your config. I think something like the following should work:
[global.v1.external.automate.ssl]
server_name = "does the SNI thing"
root_cert = "your_root_cere_here"

When I set what you suggested and apply the config via chef-automate config patch the erchef and automate-cs-nginx services enter into a failed state.
[root@ip-10-1-0-79 ~]# journalctl -f| grep cs-nginx| grep error
Nov 19 17:34:40 ip-10-1-0-79.eu-west-1.compute.internal hab[15572]: automate-cs-nginx.default(O): 2019/11/19 17:34:40 [error] 19867#0: *1 upstream SSL certificate verify error: (2:unable to get issuer certificate) while SSL handshaking to upstream, client: <IP_ADDRESS>, server: , request: "POST /organizations/load/data-collector HTTP/1.1", upstream: "https://<IP_ADDRESS>:443/data-collector/v0/", host: "sbrown-chef-0.devoptimist.net:443"
Nov 19 17:34:42 ip-10-1-0-79.eu-west-1.compute.internal hab[15572]: automate-cs-nginx.default hook[health-check]:(HK): curl: (22) The requested URL returned error: 500 Internal Server Error
Nov 19 17:34:42 ip-10-1-0-79.eu-west-1.compute.internal hab[15572]: automate-cs-nginx.default(O): 2019/11/19 17:34:42 [error] 19867#0: *36 upstream SSL certificate verify error: (2:unable to get issuer certificate) while SSL handshaking to upstream, client: <IP_ADDRESS>, server: , request: "POST /organizations/load/data-collector HTTP/1.1", upstream: "https://<IP_ADDRESS>:443/data-collector/v0/", host: "sbrown-chef-0.devoptimist.net:443"
Nov 19 17:34:43 ip-10-1-0-79.eu-west-1.compute.internal hab[15572]: automate-cs-nginx.default(O): 2019/11/19 17:34:43 [error] 19867#0: *36 upstream SSL certificate verify error: (2:unable to get issuer certificate) while SSL handshaking to upstream, client: <IP_ADDRESS>, server: , request: "POST /organizations/load/data-collector HTTP/1.1", upstream: "https://<IP_ADDRESS>:443/data-collector/v0/", host: "sbrown-chef-0.devoptimist.net:443"

[root@ip-10-1-0-79 ~]# journalctl -f| grep erchef
Nov 19 17:36:01 ip-10-1-0-79.eu-west-1.compute.internal hab[15572]: automate-cs-oc-erchef.default(O): [error] SSL: certify: ssl_handshake.erl:1490:Fatal error: unknown ca
Nov 19 17:36:05 ip-10-1-0-79.eu-west-1.compute.internal hab[15572]: automate-cs-oc-erchef.default(O): [error] SSL: certify: ssl_handshake.erl:1490:Fatal error: unknown ca

both these errors point to the root certificate or server_name being incorrect however I believe they are set to the correct values. I tested this with:
[root@ip-10-1-0-79 cert_test]# curl -vvI https://sbrown-automate-0.devoptimist.net --cacert /hab/svc/automate-cs-nginx/config/external_automate_root_ca.crt
* About to connect() to sbrown-automate-0.devoptimist.net port 443 (#0)
*   Trying <IP_ADDRESS>...
* Connected to sbrown-automate-0.devoptimist.net (<IP_ADDRESS>) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /hab/svc/automate-cs-nginx/config/external_automate_root_ca.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
*       subject: CN=sbrown-automate-0.devoptimist.net
*       start date: Nov 19 08:44:59 2019 GMT
*       expire date: Feb 17 08:44:59 2020 GMT
*       common name: sbrown-automate-0.devoptimist.net
*       issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
> HEAD / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: sbrown-automate-0.devoptimist.net
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< server: nginx
server: nginx
< date: Tue, 19 Nov 2019 17:43:18 GMT
date: Tue, 19 Nov 2019 17:43:18 GMT
< content-type: text/html
content-type: text/html
< content-length: 2214
content-length: 2214
< last-modified: Wed, 30 Oct 2019 18:46:27 GMT
last-modified: Wed, 30 Oct 2019 18:46:27 GMT
< etag: "5db9da83-8a6"
etag: "5db9da83-8a6"
< accept-ranges: bytes
accept-ranges: bytes
< x-frame-options: sameorigin
x-frame-options: sameorigin
< cache-control: private
cache-control: private
< x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
x-content-type-options: nosniff
< strict-transport-security: max-age=63072000
strict-transport-security: max-age=63072000

<
* Connection #0 to host sbrown-automate-0.devoptimist.net left intact

this is how the relevant part of the chef_https.conf file looks currently:
    location ~ "^/organizations/([^/]+)/data-collector$" {
      set $request_org $1;
      access_by_lua_block { validator.validate("POST") }
      proxy_set_header x-data-collector-token $data_collector_token;
      proxy_set_header x-data-collector-auth "version=1.0";
      rewrite ^ /data-collector/v0/ break;
      proxy_ssl_trusted_certificate /hab/svc/automate-cs-nginx/config/external_automate_root_ca.crt;

      proxy_ssl_name sbrown-automate-0.devoptimist.net;

      proxy_pass https://external-automate;

    }

and the nginx.conf
 upstream external-automate {
    server sbrown-automate-0.devoptimist.net:443;
    keepalive 8;
  }

fyi @jaym

I was doing some extra poking around and ran the same curl with the default root ca included with the automate-cs-nginx service.
[root@ip-10-1-0-79 ~]# curl -vvI https://sbrown-automate-0.devoptimist.net --cacert /hab/svc/automate-cs-nginx/config/root_ca.crt
* About to connect() to sbrown-automate-0.devoptimist.net port 443 (#0)
*   Trying <IP_ADDRESS>...
* Connected to sbrown-automate-0.devoptimist.net (<IP_ADDRESS>) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /hab/svc/automate-cs-nginx/config/root_ca.crt
  CApath: none
* Server certificate:
*       subject: CN=sbrown-automate-0.devoptimist.net
*       start date: Nov 19 08:44:59 2019 GMT
*       expire date: Feb 17 08:44:59 2020 GMT
*       common name: sbrown-automate-0.devoptimist.net
*       issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
* NSS error -8179 (SEC_ERROR_UNKNOWN_ISSUER)
* Peer's Certificate issuer is not recognized.
* Closing connection 0
curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

In the output I can see * NSS error -8179 (SEC_ERROR_UNKNOWN_ISSUER)
and this is kind of the same error I see in the automate-cs-nginx log :
 *1 upstream SSL certificate verify error: (2:unable to get issuer certificate) while SSL handshaking to upstream

[root@ip-10-1-0-79 ~]# openssl x509 -in /hab/svc/automate-cs-nginx/config/root_ca.crt -text |grep Issuer
        Issuer: CN=Chef Automate 593697d2-92d0-4beb-a554-dcf75638ee14

it looks like the proxy_ssl_trusted_certificate directive is being ignored in my setup

automate-cs-oc-erchef also seems to have the correct external automate cert
[root@ip-10-1-0-79 automate-cs-oc-erchef]# curl -vvI https://sbrown-automate-0.devoptimist.net --cacert /hab/svc/automate-cs-oc-erchef/config/external_automate_root_ca.crt
* About to connect() to sbrown-automate-0.devoptimist.net port 443 (#0)
*   Trying <IP_ADDRESS>...
* Connected to sbrown-automate-0.devoptimist.net (<IP_ADDRESS>) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /hab/svc/automate-cs-oc-erchef/config/external_automate_root_ca.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
*       subject: CN=sbrown-automate-0.devoptimist.net
*       start date: Nov 19 08:44:59 2019 GMT
*       expire date: Feb 17 08:44:59 2020 GMT
*       common name: sbrown-automate-0.devoptimist.net
*       issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
> HEAD / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: sbrown-automate-0.devoptimist.net
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< server: nginx
server: nginx
< date: Tue, 19 Nov 2019 18:39:29 GMT
date: Tue, 19 Nov 2019 18:39:29 GMT
< content-type: text/html
content-type: text/html
< content-length: 2214
content-length: 2214
< last-modified: Wed, 30 Oct 2019 18:46:27 GMT
last-modified: Wed, 30 Oct 2019 18:46:27 GMT
< etag: "5db9da83-8a6"
etag: "5db9da83-8a6"
< accept-ranges: bytes
accept-ranges: bytes
< x-frame-options: sameorigin
x-frame-options: sameorigin
< cache-control: private
cache-control: private
< x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
x-content-type-options: nosniff
< strict-transport-security: max-age=63072000
strict-transport-security: max-age=63072000

<
* Connection #0 to host sbrown-automate-0.devoptimist.net left intact

but also still errors in the log
 SSL: certify: ssl_handshake.erl:1490:Fatal error: unknown ca

so I got this to work with a self-signed certificate. but I could not get it to work with letsencrypt certificates or ACM certificates.
possibly an issue with verify_depth??, I had left it set to the default of 2
I think this can be closed now


RHIDP-2842 : chore(gh action): possible fix to pull...

What does this PR do?
chore(gh action): possible fix to pull before pushing, so we get fewer collisions when lots of PRs are being generated/merged concurrently
Signed-off-by: Nick Boldt<EMAIL_ADDRESS>Screenshot/screencast of this PR
N/A
What issues does this PR fix or reference?
N/A (or see commit message above for issue number)
How to test this PR?
N/A
PR Checklist
As the author of this Pull Request I made sure that:

[x] The Eclipse Contributor Agreement is valid
[x] Code produced is complete
[x] Code builds without errors
[ ] Tests are covering the bugfix
[x] The repository devfile is up to date and works, if one exists
[x] Sections What issues does this PR fix or reference and How to test this PR completed
[x] Relevant user documentation updated
[x] Relevant contributing documentation updated
[x] CI/CD changes implemented, documented and communicated

Reviewers
Reviewers, please comment how you tested the PR when approving it.

Assessing this in RHIDP-2842.

Let's hold on merging this until after 1.2 GA in case this needs to be backed out

Docs team will look into merging this next Monday July 1 and see if any issues caused.

It does not work well on pull requests: the gh-pages branch is missing on user forks.

It does not work well on pull requests: the gh-pages branch is missing on user forks.

what error do you get? Can you provide a link to a PR or action that failed?


Running a whole date of psii deleted my wrapper script as well as everything in the directory containing the yaml used.

The automation script calls onto specific directories/files for deletion. You can check out the function called clean_inputs. It is normal for it to delete raw data, but it would not delete your working directory (automation) nor your yaml script directory (automation/yaml_files/). If you ran this as a batch job, I would check your batch script.

Unable to recreate. The deletion may have been due to SLURM job scheduling instead of PhytoOracle automation script.


Add photo_url to Hanze persons

Publinova Gitlab ticket

Still a minor problem with accessibility of the links. Might have a look later today and make PR

Made a PR, but I have some doubts: https://github.com/surfedushare/sources-middleware/pull/29/
Tests are not covering the rewrite yet, but not sure if we want to and how to proceed.

Still isn't working. We need to rewrite the file endpoint to accept "persons" and "research-output" prefixes. Currently only research-output is supported.

This now works? We can remove the file proxy?

It isn't working and is causing various errors


support unique path for failed writing

fix https://github.com/vesoft-inc/nebula-exchange/issues/128

Codecov Report
Patch coverage: 30.76% and project coverage change: -0.17 :warning:

Comparison is base (cfeb703) 56.63% compared to head (c863889) 56.47%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #129      +/-   ##
============================================
- Coverage     56.63%   56.47%   -0.17%
  Complexity       85       85
============================================
  Files            18       18
  Lines          1485     1491       +6
  Branches        281      283       +2
============================================
+ Hits            841      842       +1
- Misses          495      498       +3
- Partials        149      151       +2

Impacted Files
Coverage Δ

...cala/com/vesoft/exchange/common/ErrorHandler.scala
0.00% <0.00%> (ø)

...ft/exchange/common/processor/ReloadProcessor.scala
0.00% <0.00%> (ø)

...la/com/vesoft/exchange/common/config/Configs.scala
63.37% <66.66%> (-0.15%)
:arrow_down:

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

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


endpoints.xml is missing in iOS DLL

Hi, I had to rebuild the iOS DLL from source as the endpoints.xml file is missing from the nuget package DLL which causes this error when calling AmazonSimpleNotificationServiceClient
{System.ArgumentNullException: Argument cannot be null.
Parameter name: stream
  at System.IO.StreamReader.Initialize (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00199] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:255
  at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen) [0x0000e] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:166
  at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:152
  at System.IO.StreamReader..ctor (System.IO.Stream stream) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:139
  at Amazon.RegionEndpoint.LoadEndpointDefinitionsFromEmbeddedResource () [0x00000] in <filename unknown>:0
  at Amazon.RegionEndpoint.LoadEndpointDefinitions () [0x00000] in <filename unknown>:0
  at Amazon.RegionEndpoint.GetEndpointForService (System.String serviceName) [0x00000] in <filename unknown>:0
  at Amazon.Runtime.ClientConfig.set_RegionEndpoint (Amazon.RegionEndpoint value) [0x00000] in <filename unknown>:0
  at Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient..ctor (System.String awsAccessKeyId, System.String awsSecretAccessKey, Amazon.RegionEndpoint region) [0x00000] in <filename unknown>:0

Thanks I will update the NuGet package appropriately.
Thanks,
TEW
Sent from Windows Mail
From: rjcollingham
Sent: Wednesday, March 18, 2015 8:08 AM
To: 'awslabs/aws-sdk-xamarin'
Hi, I had to rebuild the iOS DLL from source as the endpoints.xml file is missing from the nuget package DLL which causes this error when calling AmazonSimpleNotificationServiceClient
{System.ArgumentNullException: Argument cannot be null.
Parameter name: stream
at System.IO.StreamReader.Initialize (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00199] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:255
at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen) [0x0000e] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:166
at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:152
at System.IO.StreamReader..ctor (System.IO.Stream stream) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/StreamReader.cs:139
at Amazon.RegionEndpoint.LoadEndpointDefinitionsFromEmbeddedResource () [0x00000] in :0
at Amazon.RegionEndpoint.LoadEndpointDefinitions () [0x00000] in :0
at Amazon.RegionEndpoint.GetEndpointForService (System.String serviceName) [0x00000] in :0
at Amazon.Runtime.ClientConfig.set_RegionEndpoint (Amazon.RegionEndpoint value) [0x00000] in :0
at Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient..ctor (System.String awsAccessKeyId, System.String awsSecretAccessKey, Amazon.RegionEndpoint region) [0x00000] in :0
—
Reply to this email directly or view it on GitHub.

Hi
Nuget package is still 2.1.7 and we are still getting the error.
Can you update the package?
Best

The 64 bit Package folder was not supported fully at the time, I will verify this has been corrected and update the package appropriately.
If you need it in the interim, download the 64 bit project for iOS and compile.  Take the generated assembly from the bin/release folder and use this in your iOS 64bit project.
Let me know if this helps.
Thanks,
TEW
Sent from Windows Mail
From: Ufuk ARSLAN
Sent: Saturday, April 18, 2015 6:27 AM
To: 'awslabs/aws-sdk-xamarin'
Cc: Tara Walker
Hi
Nuget package is still 2.1.7 and we are still getting the error.
Can you update the package?
Best
—
Reply to this email directly or view it on GitHub.

I am using it that way right now. But it would be better to have a nuget package though.

Yes, this will be readdressed in v4.
Sent from Windows Mail
From: Ufuk ARSLAN
Sent: Sunday, April 19, 2015 3:52 PM
To: 'awslabs/aws-sdk-xamarin'
Cc: Tara Walker
I am using it that way right now. But it would be better to have a nuget package though.
—
Reply to this email directly or view it on GitHub.

I'm getting the same error

If you need it in the interim, download the 64 bit project for iOS and compile

I need it. Where can I get 64 bit project for iOS?

he means Unified (the project is called "AWSSDK_iOS). I just tried it. downloading,  recompiling and replacing the dll works.

New binary is in Compiled Binaries

Closed Issue:
Please ensure that if you have leveraged the NuGet Package for iOS which is mixing iOS Class with Unified currently;   Please reference the compiled assemblies in the updated Compiled Binaries for OR compile the project for the desired platform to obtain the assembly.
This issue is only relevant for iOS 64 bit (Unified).


CORS requests behave unexpectedly

If a cross origin OPTIONS request is received from a browser, Membrane expects a content-length header or an EOF in the stream but no browsers add these, meaning all CORS requests log an error then fail because the browser also doesn't add an EOF.
There are some comments mentioning the reason and quoting the HTTP 1.1. spec but I can't seem to find the requirement of content-length/EOF
Background
I have an Angular2 page that makes REST requests to my back-end using the Authorization header.  I have inserted Membrane as a reverse proxy which fails on every CORS OPTIONS request, sent from the browser.

Are you using HTTP 1.0 by any chance?  I have nginx acting as a reverse proxy in front of Membrane and I was running into the same issue until I specified in my reverse proxy that HTTP 1.1 be used.  I don't believe OPTIONS was introduced until HTTP 1.1.

This was a result of a mistake on my part.  I do need to unconditionally let all OPTIONS requests through but had messed up an interceptor later in the chain.


Troubleshoot bridge network issue

We now can deploy YARN cluster with Kata Runtime enabled, see #30 .
However, it still has issue while running spark-shell or map reduce apps.
Using this issue to track the troubleshooting progress.

It turns out the problem is caused by the bridge network. Runc runtime can not work for spark-shell in bridge network either.
The error message indicates the bind address failed in spark driver. After further investigation, looks like the port it's trying to bind is -1 (invalid port) for some reason that we don't know.
I have tried to change the spark bind address but no luck.
Next steps:

Run the example spark application in bridge network see what will happen.
Continue troubleshooting.

We have to find out the root cause of this issue.

The Kata runtime should works fine now for Spark on YARN + Docker with Kata runtime enabled.


Pipeline Chat History

Description
This adds three different Chat History types to the pipelines:

Node
Named
Global

Node history stores and includes the history for only that particular node. A Named history can be shared between nodes. Global history is the history for the full pipeline run (i.e. the input and output of the pipeline).
Global history uses the current ChatHistory model, and similarly will compress this history, using whatever LLM is associated with the node that is requesting that history to be inserted.
Note, if you have multiple LLMs with different allowed token lengths, I think you will need to set all of them to be the minimum of all the token lengths, otherwise you get errors.
For now, node and named history do not compress their history.
In follow up PRs I will work on ways of storing multiple compressed summaries so that the same history can be shared between nodes with different context lengths. At that time, I will also implement compression of the named and node history types.
User Impact

Allows actually chatting with a pipeline, rather than just sending a single message.
Demo

Screencast from 2024-09-20 15-31-19.webm
Docs

Very cool. I think we also want no history, or perhaps it should be implemented as a max number of messages to keep (which could be zero). I think in the translation case you likely don't want much, if any, history as it's just x-shot prompting that unnecessarily gets expensive. I think you also wouldn't want to spend tokens on compression / summerization activities either in that case.

Codecov Report
Attention: Patch coverage is 99.12664% with 2 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

apps/chat/bots.py
0.00%
1 Missing :warning:

apps/pipelines/nodes/nodes.py
98.00%
1 Missing :warning:

Additional details and impacted files

:loudspeaker: Thoughts on this report? Let us know!

Possibly for a future PR but for named histories (node & named) we'll need to limit their size either by compression or filtering.

Yes, I'm working on this next. Might be worth doing it in a separate PR as there is a whole extra model to go with it.

@coderabbitai pause


bug: NullPointerException

https://github.com/sourcegraph/jetbrains/issues/684
https://github.com/sourcegraph/jetbrains/issues/695
https://github.com/sourcegraph/jetbrains/issues/702
https://github.com/sourcegraph/jetbrains/issues/705
https://github.com/sourcegraph/jetbrains/issues/706
https://github.com/sourcegraph/jetbrains/issues/720
https://github.com/sourcegraph/jetbrains/issues/721

Fixed by https://github.com/sourcegraph/jetbrains/pull/722


admin dashboard

will we see in future that template with admin dashboard?

This template with an admin dashboard? 🤣
I doubt so, It's too far from the scope of a personal blog template. I heard nice things about https://www.tremor.so/ if you are looking to build a dashboard.


Versioning library

Make sure to merge in develop to this branch or CICD will continue to fail

@spoonincode Very interesting. This seems to be a caveat associated with ninja. I'll look into it.

~/eos $ mkdir ninja; mkdir make; pushd ./; cd ninja; cmake -GNinja ..; popd; pushd ./; cd make; cmake ..; popd;
.
.
.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/john.debord/eos/ninja
.
.
.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/john.debord/eos/make

~/eos $ pushd ./; cd ninja; ninja; popd; pushd ./; cd make; make -j20; popd;
.
.
.
[437/601] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/resource_limits.cpp.o
[438/601] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/thread_utils.cpp.o
[439/601] Updating version metadata... <---
[441/601] Building CXX object libraries/wabt/CMakeFiles/wabt.dir/src/token.cc.o
[442/601] Building CXX object libraries/wabt/CMakeFiles/wabt.dir/src/opcode.cc.o
.
.
.
[  6%] Building CXX object libraries/wabt/CMakeFiles/wabt.dir/src/prebuilt/wast-lexer-gen.cc.o
[  5%] Linking C static library libbuiltins.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: Updating version metadata... <---
[  5%] Built target appbase_version
[  6%] Building CXX object libraries/wabt/CMakeFiles/wabt.dir/src/lexer-source.cc.o
.
.
.

~/eos $ ./ninja/bin/cleos version full; ./make/bin/cleos version full;
v1.9.0-develop-680b6bb50c2b41af59cec25a49afd9b2cb98de10
v1.9.0-develop-680b6bb50c2b41af59cec25a49afd9b2cb98de10

~/eos $ echo "//yo" >> programs/cleos/main.cpp;
~/eos $ git status
On branch version-library
Your branch is ahead of 'origin/version-library' by 2 commits.
  (use "git push" to publish your local commits)

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   programs/cleos/main.cpp

~/eos $ pushd ./; cd ninja; ninja; popd; pushd ./; cd make; make -j20; popd;
.
.
.

~/eos $ ./ninja/bin/cleos version full; ./make/bin/cleos version full;
v1.9.0-develop-98f88862f3ba286ee3780dbb89175b5436432537
v1.9.0-develop-98f88862f3ba286ee3780dbb89175b5436432537-dirty

~/eos $ pushd ./; cd ninja; ninja; popd; pushd ./; cd make; make -j20; popd;
.
.
.

~/eos $ ./ninja/bin/cleos version full; ./make/bin/cleos version full;
v1.9.0-develop-98f88862f3ba286ee3780dbb89175b5436432537-dirty
v1.9.0-develop-98f88862f3ba286ee3780dbb89175b5436432537-dirty

@spoonincode Fixed. Turns out that ninja aggressively starts building before version_impl.cpp even has a chance to get generated (therefore ninja never sees that version_impl.cpp has been touched).
This is why the version library would only get built on the second iteration of using ninja; because on the second iteration, ninja sees that version_impl.cpp has been touched.


fatal error LNK1120: 4 unresolved externals when using bazel to build transform-graph

System information

OS Platform and Distribution: Windows 10
TensorFlow installed from: source
TensorFlow version: 1.12.0
Python version: 3.5
Bazel version (if compiling from source): 0.19.2
CUDA/cuDNN version: No
GPU model and memory: No

Problem
I have a build problem when using bazel to build transform-graph. The error is fatal error LNK1120: 4 unresolved externals
Commands executed before running into the problem
I've already done set BAZEL_VC=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
then bazel build tensorflow/tools/graph_transforms:transform_graph --local_resources 2048,.5,1.0
Full error log:
ERROR: C:/users/administrator/desktop/tensorflow-build/tensorflow/tensorflow/tools/graph_transforms/BUILD:219:1: Linking of rule '//tensorflow/tools/graph_transforms:transform_graph' failed (Exit 1120): link.exe failed: error executing command
cd C:/users/administrator/_bazel_administrator/x7v2faqn/execroot/org_tensorflow
SET LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64;
SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64;;C:\WINDOWS\system32
SET PWD=/proc/self/cwd
SET PYTHON_BIN_PATH=C:/Anaconda/envs/tensor/python.exe
SET PYTHON_LIB_PATH=C:/Anaconda/envs/tensor/lib/site-packages
SET TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
SET TF_DOWNLOAD_CLANG=0
SET TF_NEED_CUDA=0
SET TF_NEED_OPENCL_SYCL=0
SET TF_NEED_ROCM=0
SET TMP=C:\Users\ADMINI~1\AppData\Local\Temp
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/link.exe /nologo /OUT:bazel-out/x64_windows-opt/bin/tensorflow/tools/graph_transforms/transform_graph.exe /SUBSYSTEM:CONSOLE -DEFAULTLIB:advapi32.lib /MACHINE:X64 @bazel-out/x64_windows-opt/bin/tensorflow/tools/graph_transforms/transform_graph.exe-2.params /OPT:ICF /OPT:REF
LINK : warning LNK4044: unrecognized option '/lpthread'; ignored
Creating library bazel-out/x64_windows-opt/bin/tensorflow/tools/graph_transforms/transform_graph.lib and object bazel-out/x64_windows-opt/bin/tensorflow/tools/graph_transforms/transform_graph.exp
batch_kernels.lo.lib(batch_kernels.obj) : warning LNK4217: locally defined symbol ?DEVICE_CPU@tensorflow@@3QEBDEB (char const * const tensorflow::DEVICE_CPU) imported in function "void __cdecl tensorflow::dynamic initializer for 'registrar__body__0__object''(void)" (??__Eregistrar__body__0__object@tensorflow@@YAXXZ) captured_function.lib(captured_function.obj) : warning LNK4049: locally defined symbol ?DEVICE_CPU@tensorflow@@3QEBDEB (char const * const tensorflow::DEVICE_CPU) imported arithmetic_optimizer.lib(arithmetic_optimizer.obj) : warning LNK4049: locally defined symbol ?DEVICE_CPU@tensorflow@@3QEBDEB (char const * const tensorflow::DEVICE_CPU) imported pin_to_host_optimizer.lib(pin_to_host_optimizer.obj) : warning LNK4049: locally defined symbol ?DEVICE_CPU@tensorflow@@3QEBDEB (char const * const tensorflow::DEVICE_CPU) imported arithmetic_optimizer.lib(arithmetic_optimizer.obj) : warning LNK4217: locally defined symbol ?DEVICE_GPU@tensorflow@@3QEBDEB (char const * const tensorflow::DEVICE_GPU) imported in function "private: bool __cdecl tensorflow::grappler::anonymous namespace'::ReorderCastAndTranspose::NodeIsOnCpuOrGpu(class tensorflow::NodeDef const *)const " (?NodeIsOnCpuOrGpu@ReorderCastAndTranspose@?A0x2ef8a95a@grappler@tensorflow@@AEBA_NPEBVNodeDef@4@@Z)
layout_optimizer.lib(layout_optimizer.obj) : warning LNK4049: locally defined symbol ?DEVICE_GPU@tensorflow@@3QEBDEB (char const * const tensorflow::DEVICE_GPU) imported
pin_to_host_optimizer.lib(pin_to_host_optimizer.obj) : warning LNK4049: locally defined symbol ?DEVICE_GPU@tensorflow@@3QEBDEB (char const * const tensorflow::DEVICE_GPU) imported
unicode_script_op.lo.lib(unicode_script_op.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl icu_62::ErrorCode::~ErrorCode(void)" (_imp??1ErrorCode@icu_62@@UEAA@XZ) referenced in function "public: virtual void __cdecl tensorflow::UnicodeScriptOp::Compute(class tensorflow::OpKernelContext *)" (?Compute@UnicodeScriptOp@tensorflow@@UEAAXPEAVOpKernelContext@2@@Z)
unicode_script_op.lo.lib(unicode_script_op.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: signed char __cdecl icu_62::ErrorCode::isSuccess(void)const " (_imp?isSuccess@ErrorCode@icu_62@@QEBACXZ) referenced in function "public: virtual void __cdecl tensorflow::UnicodeScriptOp::Compute(class tensorflow::OpKernelContext *)" (?Compute@UnicodeScriptOp@tensorflow@@UEAAXPEAVOpKernelContext@2@@Z)
unicode_script_op.lo.lib(unicode_script_op.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum UErrorCode __cdecl icu_62::ErrorCode::reset(void)" (_imp?reset@ErrorCode@icu_62@@QEAA?AW4UErrorCode@@XZ) referenced in function "public: virtual void __cdecl tensorflow::UnicodeScriptOp::Compute(class tensorflow::OpKernelContext *)" (?Compute@UnicodeScriptOp@tensorflow@@UEAAXPEAVOpKernelContext@2@@Z)
unicode_script_op.lo.lib(unicode_script_op.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) const icu_62::ErrorCode::`vftable'" (_imp??_7ErrorCode@icu_62@@6B@) referenced in function "public: virtual void __cdecl tensorflow::UnicodeScriptOp::Compute(class tensorflow::OpKernelContext *)" (?Compute@UnicodeScriptOp@tensorflow@@UEAAXPEAVOpKernelContext@2@@Z)
bazel-out/x64_windows-opt/bin/tensorflow/tools/graph_transforms/transform_graph.exe : fatal error LNK1120: 4 unresolved externals
Target //tensorflow/tools/graph_transforms:transform_graph failed to build
INFO: Elapsed time: 569.319s, Critical Path: 237.59s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
INFO: 0 processes.
FAILED: Build did NOT complete successfully

Assigning to Pete, since this is about the transform_graph tool.

this is a similar error to what i described in #23955.
also got a link error while bazel build the transform_graph tool on a windows 10 os.

Getting same error. Has any progress been made?

I've tried some other versions of tensorflow and bazel, but it seems to be a problem with windows 10. I've just simply changed to ubuntu and no more error.

Thanks, ubuntu works indeed

Sorry for the slow response. I haven't had a chance to look at this yet, so keeping it open, but I'm not sure when we will be able to debug it, so adding contributions welcome.

Also hitting the same error on r1.12 branch, even after applying https://github.com/tensorflow/tensorflow/commit/7e090f6a5412fd5f22b5b75ca7ae7844c3d025e9 :[

@petewarden Actually, it did fix it, one should just make sure the #define U_STATIC_IMPLEMENTATION is before the other includes, at least on my r1.12 branch.

Hello and Thanks all for your comments on this post
Any update on this issue guys ?
@lissyx I tried your suggested solution but still stuck and unable to build transform_graph on windows
Is there any pre-built binaries that we can use instead ?
Thanks and Regards

@RaniemAR I can't speak for TensorFlow team regarding prebuilt binaries, but make sure you place the define at the right place.
Here: https://github.com/mozilla/tensorflow/commit/ebd1a0ff1a0ed3e211ced4033a42326fd25c8661

Thanks a lot you were absolutely right, I thought I made sure I added it above the includes but when I double checked i found out that I was wrong. Fixed it and it now builds
Thanks a million

@petewarden Since our backport of the upstream fix works, I've opened a PR: https://github.com/tensorflow/tensorflow/pull/26845

Closing as a duplicate of #23955


Implemented Create and Delete handlers for Hana

Description
Closes #{issue_number}.

Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Lorant Polya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@polyal Please sign our CLA: https://github.com/FerretDB/FerretDB/pull/2384#issuecomment-1499785603
@sroches PTAL

State of this pull request is a little messy.  Created a clean one here:
https://github.com/FerretDB/FerretDB/pull/2458


[Question] Using System.Text.Json library in project

First of all, I appreciate the team's effort to create a great library, simple to use WinUI. However, System.Text.Json library is also great, why don't we use them instead of Newtonsoft.Json

Hi @ngoquoctoandev
we did not use Newtonsoft.Json
can you give me more details?

You are using the external Nucs.JsonSettings library, and it warns that the project contains vulnerable packages.

We use nucs.JsonSettings because of its ease of use and robustness for saving/retrieving application settings in our VSIX Project Template and not in our WinUICommunity libraries. and this is an optional feature which can be removed by you and replaced with any.
To solve the security message, you can install the latest version of Json package yourself to override it.
I am not the owner of the nucs.JsonSettings package and I have already sent a request to change newtonsoft.json to the System.Text.Json


Some way to generate or regenerate ores?

Describe your suggestion:
TekTopia has a Druid villager that performs, among other things, an earth rejuvenation spell that actually generates ores in mineshafts once more.  It'd be neat if there was some way to accomplish the same thing in Roots.
Additional context:
Look at these absolute champions of protecting mother earth:
[link removed as it doesn't work]

From the look of it, this is specifically an interaction between a TekTopia entity/villager and a TekTopia structure, which already has the capacity programmed in for it. I think there could definitely be interesting applications for a similar concept, ritual or spell (perhaps an "earth magnet" spell that pulls ore from the ground, similar to how the mining tree works in Twilight Forest might work).
Unfortunately, this most likely will not happen in 1.12, as I'm past the point of major new features/spells/etc.
I'd keep open as a future suggestion, but I'm trying to cut down on what's on the tracker.


Better Greedy meshing

At the moment, the greedy mesher only meshes its current chunk, which is assigned to the thread. This behaviour can be observed here. To fix this problem, the output of the threads should be combined in an extra stage and then the mesh should be generated.

The new mesher is finished.

I notice an issue in my implementation yesterday, maybe this would result in a better result. At the moment I'm adding the option to the new greedy algorithm to generate a texture instead of just a colorpalette. This would result in less vertices and faces, but a bigger texture.
Similar to your blender addon. I've didn't look at the source of the addon, only at the readme but this addon and my library using the same source for the greedy algorithm. But maybe not the same implementation. I make use of multithreading, which generates this chunk like pattern of 16x16x16 cubes.

I believe the addon does have a texture option, but I don't use it, I actually prefer your solution to simply use the default diffuse colours on parts that don't have materials, as it's cheaper to render but looks the exact same.

I've released a new version, where I fixed the bug I mentioned. Maybe the result is now better for your mesh.


Experiment Investigation: Order payments via Invoicing

We would like to try a lean experiment on order payments via invoice.
Three requirements are needed for a customer to be eligible for invoice payment:

[ ] Customer is located in the US, Canada or EU (UK too)
[ ] Customer has filled out company field
[ ] EU clients need to provide VAT number

Additionally, we need to find a solution to the following issues:

[ ] Customer needs to be informed about the next steps in the process. A modal with information should be opened when customer clicks on "Pay via Invoice". The customer needs to confirm that they have read and understood the next steps and then confirm.

[ ] We need to have a different email sent out to the clients after ordering. The order confirmation email should be changed with an Order in Progress email including Payment status: pending.

[ ] We should find a solution to gather Proof of Payment for customers who would like to proceed with production before we have received the money in our bank account.

Sculpteo _ Thank you for your order!.pdf


Suggestions in the Component Browser are missing

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[X] Yes, I can't use Enso because of this issue.

Is this a regression?

[X] Yes, previous version of Enso did not have this issue.

What issue are you facing?
Most of the suggestions seems to went away. I have a vector and I want to make a column out of it:
https://github.com/enso-org/enso/assets/108271897/5036429f-5cfa-4fe4-9db7-2f7bbdbdc337
Expected behaviour
Suggestions working
How we can reproduce it?
No response
Screenshots or screencasts
No response
Enso Version
2023.5.19 nightly
Browser or standalone distribution
Standalone distribution (local project)
Browser Version or standalone distribution
standalone
Operating System
Windows
Operating System Version
Win11pro 22H2 22621.1555
Hardware you are using
12th Gen Intel(R) Core(TM) i9-12900HK / RTX3060 Laptop / Nvidia Drivers 531.68

Does Stdlib actually have column method of Vector? I thought only Column::from_vector is there.

It's possible to create Column.from_vector so for seamless work (not deselecting a node) it would be good to have.

Vector now has to_column and set can take Range,Date_Range or Vector.


XMLHttpRequest failing to construct Response when body status is null

When using the XMLHttpRequestInterceptor these errors are thrown, crashing the webpage.
It does not appear when using other interceptors.
This is the code I am using -
import { BatchInterceptor } from '@mswjs/interceptors'
import { FetchInterceptor } from '@mswjs/interceptors/fetch'
import { XMLHttpRequestInterceptor } from '@mswjs/interceptors/XMLHttpRequest'

const interceptor = new BatchInterceptor({
    name: 'my-interceptor',
    interceptors: [new FetchInterceptor(), new XMLHttpRequestInterceptor()],
})

interceptor.apply()

interceptor.on('request', async (e: any, request: any) => {
    console.log("request", await e.clone().json())
})

interceptor.on('response', async (res: any, request: any) => {
    console.log("response", await res.clone().json())
})

Appears similar to #378

Hi, @disco-panda. Thanks for reporting this.
So there seems to be two issues going on:

The request gets terminated due to the forbidden request header (likely).
While the request is terminated, the library still attempts to construct a Response with incorrect input data.

I would love to put this use case into an integration test. This should be fairly easy to emulate with our testing setup.
The actual bug here is that we should never construct the Response instance if the request has been terminated.

Thank you so much for the fast response and great explanation of what is going on!

Funnily enough, when I moved to using Vite to build my code instead of webpack the issue went away... hmm.....

Hello.
This issue is completely unrelated to passing headers from #378.
The essence of the problem is that the interceptor is trying to construct a new Response() with a body for responses that, according to the specification, cannot have a body.
Here body is equal empty string "", but for http statuses 101, 103, 204, 205, 304 it must be null.

@avivasyuta, looks like we need to do a bit of response body transformations since XHR responses don't directly translate to Fetch API responses. Please, would you have a chance to open a pull request with a failing test for this? We can collaborate on it and ship the fix in a timely manner. I would be thankful!

Yes, I'm just trying to figure out how to write an test for this scenario. I'll open a PR when it is ready.

I believe we need to model a two scenarios (translate to 2 tests):

An XHR interceptor that has no request listener (no mocking) and instead requests an actual HTTP server that responds with one of the responses you mentioned that mustn't have bodies, like a 204 No Content for a GET request. We then add a response listener on the test and assert that it returns a valid response representation.
An XHR interceptor that has a request listener that returns the same response but a mocked one. This is just to make sure nothing goes awry between the consumer and the actual response arriving at the XHR (since the validity of the constructed response is now on the consumer's shoulders we can still, potentially, have a bug in the interceptor that would not handle that response correctly). In this test, we'd instead assert the xhr.response returned on the request instance.

You can take inspiration from the existing tests under test/modules/XMLHttpRequest, which are plenty and feature both of the above scenarios.

The trick is that the original XMLHttpRequest will have xhr.responseText === '' even for responses with 204 HTTP status code. Also if we create new response with null body than it text variant will equal empty string ``.
const resp = new Response(null)
await resp.text() // ''

So I can't figure out how to track the changes in the test.
I made a simple test that always passes. But in the console we can see that an error occurs.

I think that's the expected behavior as we channel runtime exceptions from Playwright but don't treat them as test failures to allow us to test those exceptions as intended.
Looks good! Please open a pull request with that if you haven't already.

The trick is that the original XMLHttpRequest will have xhr.response === '' even for responses with 204 HTTP status codes.

I see. Our goal is to manually check the response status code and prevent anything but null as the response body in those special cases.

Also if we create new response with null body than it text variant will equal empty string ``.

This is also correct. The proper way to get null response body back is by response.body, which will be a ReadableStream if the response has a body to stream, or null if the response body was set to null when constructing the response.

It seems to me that I've realised how to fix and test this issue.
I've made a PR.
Please see if this is a good approach when you have time so I can proceed.

Released: v0.24.1 🎉
This has been released in v0.24.1!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


[Update] make CellValue internal

Changes:

change visibility of CellValue to pub(crate)
remove internally unused methods that return CellValue

Since mutators and accessors are already available through Cell, would it not be better to exclude the CellValue type from the public API?

john-dc252

Since mutators and accessors are already available through Cell, would it not be better to exclude the CellValue type from the public API?

Sorry for the late reply.
The CellValue API, I think it would be useful to have.
Like when preparing a CellValue and applying it to multiple Cells.
If this is the case, I feel that Cell's set_value_from_string etc. is unnecessary.
As for the system, I want to keep it as simple as possible.
Hmmm, I will consider this a little.


What should be added to winrm?

Is your feature request related to a problem? Please describe.
What additional work should be done with winrm?
Describe the solution you'd like
Can issues (or some other method of tracking) be created for desired changes?

I think it'd be good to submit individual issues for each area of work. Some things I can think of:

rename windows_directory/etc -> directory (so the call is windows_files.directory)
handle owner/permissions in the windows_files.* operations
use fact data in windows.service operation
implement get/put file for winrm (possibly using the alternative client)


Fixes for new dashboard texts

Fixes #2391 by truncating text more:

description with a larger characters:
description with a smaller characters:

Fixes #2433 show export encouragement -text for delete datasets dialog:

Fixes #2427 replaced “There are not datasets. No datasets no fun” with proposed text

Frontend tests were OK :+1: (details)

@saleiva @xavijam please review.

Only texts? In that case, not much to say, :+1:.

:+1:

IMHO 45 characters for map description is too short.

Yes, it's short, and as I wrote on the related issue it's sub-optimal but there is no perfect solution. The CSS approach works perfect on webkit, but for the rest there would be no ellipsis (or other indicator of more text). If you're fine with the following scenario I'm happy to change it to a CSS solution:

webkit:
non-webkit:

How about to adding a white gradient at the end?
For the rest of the browsers, i mean. cc @piensaenpixel

+1 @xavijam love your comment

Ah yes, you're right that should do. For the sake of simplicity I would leave the gradient since it's so subtle anyway. Looks OK?

retest this please

@viddo  one question, what do you think about remove the gradient for non-webkit browsers? really if we can show the ellipsis, i think we dont need the gradient

But the ellipsis is only available for webkit, so I suggest to leave the gradient.

Sorry... it was my fault. I mean remove the gradient for webkit browsers ;)

Frontend tests were OK :+1: (details)

and one more thing did you test this when you selected the map? you should change the color of the gradient. :)

@piensaenpixel: Fixed the hover/selected states (good catch!) in the last commit ffb1855.
However I do not see any issue way to opt-out of the gradient for webkit only. That's why I suggested to leave it, to not complicate things by special rules and hacks.

Frontend tests were OK :+1: (details)

@xavijam fixed privacy indicator in FF as well as the map card titles that was not ellipsed properly there either, see last two commits.

:us:

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

:us: