Developer Control Pane - Source/License Clarification

Aspire uses the developer control pane (DCP) underneath to control local development/testing orchestration (Aspire.Hosting.Orchestration;github.com/microsoft/usvc-apiserver).
Are there any plans to open-source that tool too? Currently the EULA states "You may install and use any number of copies of the software to develop and test your applications", is it allowed to use DCP in on-premise, "local-cloud", single-node scenarios too? This makes it possible to generally develop distributed applications in a unified way independent of the production requirement regarding reliability. I know there are tools like minikube, k3s for those scenarios too but dcp might be easier and more comfortable to use.

It seems like they are planning to make it a commercial product.

These license terms are effective by you using the software and terminates following first availability of a commercial release of the software or upon termination by Microsoft. Microsoft may extend this agreement in its discretion.

It also collects data and there is no documentation on how you can opt out of it.

@d0pare what are you referring to here?

It's from MICROSOFT DEVELOPER CONTROL PLANE  EULA

DATA COLLECTION. The software may collect information about you and your use of the software, and send that to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may opt-out of many of these scenarios, but not all, as described in the software documentation. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://aka.ms/privacy. You can learn more about data collection and its use from the software documentation and our privacy statement. Your use of the software operates as your consent to these practices.

You can check EULA.rtf in the following Nuget package under the tools folder.
https://nuget.info/packages/Aspire.Hosting.Orchestration.win-x64/8.0.0-preview.1.23557.2

@d0pare DCP does not currently collect any data or telemetry, data or usage.


Using eigen3_cmake_module to fix RHEL build

Signed-off-by: Marco A. Gutierrez<EMAIL_ADDRESS>Bug fix
It seems that the Eigen3 cmake file provided in RHEL8 does not set the variables correctly and when trying to build the packages that depend on Eigen3 even though the library is found, include files don't seem to be found during the compilation process:
...
/opt/ros/galactic/include/rmf_traffic/Trajectory.hpp:26:10: fatal error: Eigen/Geometry: No such file or directory
#include <Eigen/Geometry>
...

Fixed bug
This seems to be an issue that was already there on Ubuntu bionic and that is well documented and fixed by this package: https://github.com/ros2/eigen3_cmake_module
Fix applied
This PR adds a dependency to eigen3_cmake_module and applies the necessary changes to make the package compile correctly in RHEL 8. It has been tested that these changes do not affect current compilation on Ubuntu distributions.

https://github.com/open-rmf/rmf_traffic/pull/47/commits/e8f1ef35bacf507b9b5e6851ae4b8a192a640a3b should now include all the changes discussed above.


f1 score

Hi,
I am not sure if I understand the f1 measure for dependency SRL.
How is this calculated? Do we care about the position of roles?
For example,
gold: ['_', 'A1', '_', '_', 'A2']
pred: ['_', '_', 'A1', '_', 'A2']

It seems from your code in eval.py line 25-34, you put A1 and A2 into a set and calculate the union with prediction (A1, A2). So in this case the F1 is 100?
Thank you!

@edchengg Hi there, sorry for the misunderstanding. Yes we should always consider the positions of arguments when measuring. In our latest practice we considered this point.
The thing is like we uploaded a very initial codes, where as you can find there are two evaluation tools eval.py' and eval_bio.py', that can be confusing.
We now have updated them with the authenticone.
Thanks.

Thanks for your quick response! This makes sense.
BTW, do you use BIO format ?
I got an F1 around 85 on the English test with mBERT. Do you think this is reasonable?
Thank you!

In our scenario, i.e., dependency SRL, one mention is with only one token. There is no need to concatenate additional BIO tag to the role label.
For the English set (EWT), we got 80% F1 with only word form. With POS+dep-tree it reaches 87%. Further with BERT, the final result goes to 90+%.
But we did try BERT representation only. I think your F1 score is valid tho.


Fix Issue with prune trial result status

Signed-off-by: Saad Khan<EMAIL_ADDRESS>This PR aims to fix the issue #17 .
Updated the list having the supported types in the utils.py file

benchmark.log
experiment-output.csv
@kusumachalasani  I have updated the code and ran the benchmark as you suggested.
I have attached the log file here. Please check and confirm if anything else needs to be changed.


[stable/redis-ha] Add Optional Prometheus Exporter Sidecar

Added support for an optional prometheus exporter sidecar container in each Redis pod.
Signed-off-by: Tim Mitrovich<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR adds support for (optionally) injecting a prometheus Redis exporter container in each Redis pod as a sidecar. This addition makes it really easy to add metrics scraping to all Redis pods without having to install the exporters as separate pods. The exporter sidecar is disabled by default so until the sidecar is enabled, this chart will behave as it always have. That way existing users won't "accidentally" get the sidecar, but those that do want it can easily turn it on.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #11084
fixes #5977

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

@ssalaues good suggestions. I implemented all of the suggestions. Have a look and let me know if there is anything else you think we should do.

/lgtm


information please

Hello, I would like to know a little more about this system and I also see that in codeush Not available I would like a little documentation to see the installation or to know if you have any other system with .net core

Hi @mane06 , I am looking for documentation or installation too. Did you reach to @go2ismail ?


Add tooltips to Histograms

Checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of Buckaroo.

What type of jupyter notebook were you using (VSCode notebook, google colab, Jupyter Lab, Jupyter notebook).  Select multiple if you can reproduce this in multiple environments.  If other, please add to description.
Jupyter Lab
Reproducible example

This currently doesn't work in the JS only examples.
Issue description
I think histograms used to have tooltips.  There certainly is code to generate tooltips.  It doesn't display
Expected behavior
Tooltips conveying histogram bar range should display
Installed versions

```
0.7.4
```

Jupyter Log output
No response

I suspect this is related to https://github.com/paddymul/buckaroo/blob/57b850bcaf3463f45d0a904f8df2787fe2a5fcff/js/components/DFViewerParts/HistogramCell.tsx#L66-L89
and an upgrade of ag-grid.  the tooltip handling was pretty custom

related
https://github.com/recharts/recharts/issues/5181#

Fixed by da1bf14 release 0.7.9
https://github.com/paddymul/buckaroo/commit/da1bf14d5b64660eb9a314aadefffd597c04b737


[feat] Add ED25519 pubkey to "About" page

Also need to create and store this keypair on setup complete

This is the host key?

No, new key to be used for SSH access to remote server and suth with Start9


Git merge conflict markers checked into master

See:
https://github.com/YUzhva/react-leaflet-markercluster/blob/e9d9ff1ed6314d83373ef3d1045c9eeca6727b7b/dist/react-leaflet-markercluster.min.js#L1-L5

Nudge @YUzhva  ☝

Fixed at: [release] 1.1.8: Remove deprecated-styles. Use react-leaflet context for markers. (#62)


Memory usage

I'm using the following script:
import org.ajoberstar.grgit.*;

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'org.ajoberstar:gradle-git:0.9.+'
    }
}

ext.repo = Grgit.open(project.file('../'))
ext.tagList = ext.repo.tag.list()
ext.tag = tagList.get(tagList.size() - 1).getName()

if (isRelease == 'false') {
    int lastNumber = Integer.parseInt(tag.substring(tag.size() - 1))
    ext.tag = tag.substring(0, tag.size() - 1) + (lastNumber + 1);
}

When this script is active, I get a lot of java.lang.OutOfMemoryError: PermGen space errors. Killing the java process solves the problem for a short while. Possibly a memory leak somewhere? I have confirmed that this issue does not occur when I disable that script.

I'm closing this for now, but if anyone has more information feel free to reopen.


Ambient calculation in renewability chart and dashboard should be updated

Background
The dashboard item 'Renewability' has an accompanying chart that shows how the dashboard value is calculated. This is the chart 'Renewability of final demand', which shows the share of fossil and renewable carriers in the total final demand, here for a blank nl2019 scenario:

The total final demand also includes the ambient heat pumped by heat pumps and the geothermal own use, which you can see in the query final_demand_of_ambient_in_renewability:

- query =
    100 * SUM(
        V(INTERSECTION(G(final_demand_group),USE(energetic)), "sustainability_share * supply_of_ambient_heat"),
        V(INTERSECTION(G(final_demand_group),USE(energetic)), "sustainability_share * supply_of_ambient_cold"),
        Q(ambient_heat_pumped_by_heat_pumps)
    ) /
    SUM(
        V(INTERSECTION(G(final_demand_group),USE(energetic)), demand),
        Q(ambient_heat_pumped_by_heat_pumps),
        Q(geothermal_own_use_in_sectors)
    )

Problem
The first issue is that this dashboard item and accompanying chart explicitly take ambient heat and cold into account, even though these products are excluded from the final and primary demand mekkos.
The second issue is that for the share of ambient in renewability, both heat and cold are taken into account, while the ambient_heat_pumped_by_heat_pumps only takes heat into account:

- query =
    V(
    	households_water_heater_heatpump_ground_water_electricity,
    	households_water_heater_heatpump_air_water_electricity,
    	households_space_heater_heatpump_air_water_electricity,
    	households_space_heater_heatpump_ground_water_electricity,
    	agriculture_heatpump_water_water_ts_electricity,
    	agriculture_geothermal,
    	households_space_heater_hybrid_heatpump_air_water_electricity,
        households_water_heater_hybrid_heatpump_air_water_electricity,
    	buildings_space_heater_heatpump_air_water_network_gas,
    	buildings_space_heater_collective_heatpump_water_water_ts_electricity,
        industry_chemicals_other_heatpump_water_water_electricity,
    	input_of_ambient_heat
    ).sum

The third issue is that this query is outdated: its latest update stems from 2017. Since then a number of heat pumps have been added.
Solution
The first issue should be tackled in #3641, where it is already discussed.
For second and third issue I propose to update the ambient_heat_pumped_by_heat_pumps query so that it is dynamic and includes both ambient heat and cold. I propose to use the following filters, as they seem to produce the desired results:
FILTER(G(application_group),"ambient_heat_input_conversion > 0")

FILTER(G(application_group),"ambient_cold_input_conversion > 0")

@marliekeverweij and @DorinevanderVlies I'm interested to hear your opinion on this. I feel like it is quite a relevant issue since it affects one of the main dashboard items.

For second and third issue I propose to update the ambient_heat_pumped_by_heat_pumps query so that it is dynamic and includes both ambient heat and cold.

Sounds good. I have a feeling that @AlexanderWirtz might have an opinion about this.

I feel like it is quite a relevant issue since it affects one of the main dashboard items.

More general, I doubt whether this dashboard item is often used. I haven't used it for years myself.

More general, I doubt whether this dashboard item is often used

I'm not sure to which extent it is used at the moment, but was at least part of the 20-20-20 climate goals of the EU. The focus now seems to be mainly on CO2 emissions reduction. I can imagine though that a certain level of renewability is relevant KPI for scenario-makers.

I've addressed the third issue and updated the ambient_heat_pumped_by_heat_pumps query to use a dynamic group instead of hardcoded nodes.
Open issue
This still leaves the main question: should ambient heat, ambient cold and geothermal be included in the renewability queries, which means that we implicitly count them as final demand.
If so, then a query ambient_cold_pumped_by_heat_pumps should be added to the renewability queries, since they currently only include geothermal and ambient heat. See e.g. for hydrogen:
- query =
    100 * SUM(
        V(INTERSECTION(G(final_demand_group),USE(energetic)), "(1.0 - sustainability_share) * supply_of_hydrogen")
    ) /
    SUM(
        V(INTERSECTION(G(final_demand_group),USE(energetic)), demand),
        Q(ambient_heat_pumped_by_heat_pumps),
        Q(geothermal_own_use_in_sectors)
    )

I have copied the remaining open issue to #3641, so that it can be picked up in a single issue. I will therefore close this issue.


can not start tikv in Docker

I use Docker to run tikv,and I have start pd success.
It shows
fs.file-max = 6579436
sysctl: error reading key 'net.ipv6.conf.all.stable_secret': I/O error
sysctl: error reading key 'net.ipv6.conf.default.stable_secret': I/O error
sysctl: error reading key 'net.ipv6.conf.eth0.stable_secret': I/O error
sysctl: error reading key 'net.ipv6.conf.lo.stable_secret': I/O error
2019/06/12 03:45:45.136 INFO mod.rs:26: Welcome to TiKV.
Release Version:   2.1.11
Git Commit Hash:   5caddf8ca07aaf8803fcc91b92fb4b187b4083ef
Git Commit Branch: HEAD
UTC Build Time:    2019-06-03 09:13:48
Rust Version:      rustc 1.29.0-nightly (4f3c7a472 2018-07-17)
2019/06/12 03:45:45.141 INFO tikv-server.rs:443: using config: {
  "log-level": "info",
  "log-file": "",
  "log-rotation-timespan": "24h",
  "panic-when-unexpected-key-or-data": false,
  "readpool": {
    "storage": {
      "high-concurrency": 4,
      "normal-concurrency": 4,
      "low-concurrency": 4,
      "max-tasks-per-worker-high": 2000,
      "max-tasks-per-worker-normal": 2000,
      "max-tasks-per-worker-low": 2000,
      "stack-size": "10MB"
    },
    "coprocessor": {
      "high-concurrency": 9,
      "normal-concurrency": 9,
      "low-concurrency": 9,
      "max-tasks-per-worker-high": 2000,
      "max-tasks-per-worker-normal": 2000,
      "max-tasks-per-worker-low": 2000,
      "stack-size": "10MB"
    }
  },
  "server": {
    "addr": "<IP_ADDRESS>:20160",
    "advertise-addr": "<IP_ADDRESS>:20160",
    "status-addr": "<IP_ADDRESS>:20180",
    "status-thread-pool-size": 1,
    "grpc-compression-type": "none",
    "grpc-concurrency": 4,
    "grpc-concurrent-stream": 1024,
    "grpc-raft-conn-num": 10,
    "grpc-stream-initial-window-size": "2MB",
    "grpc-keepalive-time": "10s",
    "grpc-keepalive-timeout": "3s",
    "concurrent-send-snap-limit": 32,
    "concurrent-recv-snap-limit": 32,
    "end-point-recursion-limit": 1000,
    "end-point-stream-channel-size": 8,
    "end-point-batch-row-limit": 64,
    "end-point-stream-batch-row-limit": 128,
    "end-point-request-max-handle-duration": "1m",
    "snap-max-write-bytes-per-sec": "100MB",
    "snap-max-total-size": "0KB",
    "labels": {}
  },
  "storage": {
    "data-dir": "/data/tikv",
    "gc-ratio-threshold": 1.1,
    "max-key-size": 4096,
    "scheduler-notify-capacity": 10240,
    "scheduler-concurrency": 2048000,
    "scheduler-worker-pool-size": 4,
    "scheduler-pending-write-threshold": "100MB"
  },
  "pd": {
    "endpoints": [
      "<IP_ADDRESS>:2379"
    ]
  },
  "metric": {
    "interval": "15s",
    "address": "",
    "job": "tikv"
  },
  "raftstore": {
    "sync-log": true,
    "prevote": true,
    "raftdb-path": "/data/tikv/raft",
    "capacity": "0KB",
    "raft-base-tick-interval": "1s",
    "raft-heartbeat-ticks": 2,
    "raft-election-timeout-ticks": 10,
    "raft-min-election-timeout-ticks": 10,
    "raft-max-election-timeout-ticks": 20,
    "raft-max-size-per-msg": "1MB",
    "raft-max-inflight-msgs": 256,
    "raft-entry-max-size": "8MB",
    "raft-log-gc-tick-interval": "10s",
    "raft-log-gc-threshold": 50,
    "raft-log-gc-count-limit": 73728,
    "raft-log-gc-size-limit": "72MB",
    "raft-entry-cache-life-time": "30s",
    "raft-reject-transfer-leader-duration": "3s",
    "split-region-check-tick-interval": "10s",
    "region-split-check-diff": "6MB",
    "region-compact-check-interval": "5m",
    "clean-stale-peer-delay": "11m",
    "region-compact-check-step": 100,
    "region-compact-min-tombstones": 10000,
    "region-compact-tombstones-percent": 30,
    "pd-heartbeat-tick-interval": "1m",
    "pd-store-heartbeat-tick-interval": "10s",
    "snap-mgr-gc-tick-interval": "1m",
    "snap-gc-timeout": "4h",
    "lock-cf-compact-interval": "10m",
    "lock-cf-compact-bytes-threshold": "256MB",
    "notify-capacity": 40960,
    "messages-per-tick": 4096,
    "max-peer-down-duration": "5m",
    "max-leader-missing-duration": "2h",
    "abnormal-leader-missing-duration": "10m",
    "peer-stale-state-check-interval": "5m",
    "leader-transfer-max-log-lag": 10,
    "snap-apply-batch-size": "10MB",
    "consistency-check-interval": "0s",
    "report-region-flow-interval": "1m",
    "raft-store-max-leader-lease": "9s",
    "right-derive-when-split": true,
    "allow-remove-leader": false,
    "merge-max-log-gap": 10,
    "merge-check-tick-interval": "10s",
    "use-delete-range": false,
    "cleanup-import-sst-interval": "10m",
    "local-read-batch-size": 1024
  },
  "coprocessor": {
    "split-region-on-table": true,
    "batch-split-limit": 10,
    "region-max-size": "144MB",
    "region-split-size": "96MB",
    "region-max-keys": 1440000,
    "region-split-keys": 960000
  },
  "rocksdb": {
    "wal-recovery-mode": 2,
    "wal-dir": "",
    "wal-ttl-seconds": 0,
    "wal-size-limit": "0KB",
    "max-total-wal-size": "4GB",
    "max-background-jobs": 6,
    "max-manifest-file-size": "128MB",
    "create-if-missing": true,
    "max-open-files": 40960,
    "enable-statistics": true,
    "stats-dump-period": "10m",
    "compaction-readahead-size": "0KB",
    "info-log-max-size": "1GB",
    "info-log-roll-time": "0s",
    "info-log-keep-log-file-num": 10,
    "info-log-dir": "",
    "rate-bytes-per-sec": "0KB",
    "bytes-per-sync": "1MB",
    "wal-bytes-per-sync": "512KB",
    "max-sub-compactions": 1,
    "writable-file-max-buffer-size": "1MB",
    "use-direct-io-for-flush-and-compaction": false,
    "enable-pipelined-write": true,
    "defaultcf": {
      "block-size": "64KB",
      "block-cache-size": "16105MB",
      "disable-block-cache": false,
      "cache-index-and-filter-blocks": true,
      "pin-l0-filter-and-index-blocks": true,
      "use-bloom-filter": true,
      "whole-key-filtering": true,
      "bloom-filter-bits-per-key": 10,
      "block-based-bloom-filter": false,
      "read-amp-bytes-per-bit": 0,
      "compression-per-level": [
        "no",
        "no",
        "lz4",
        "lz4",
        "lz4",
        "zstd",
        "zstd"
      ],
      "write-buffer-size": "128MB",
      "max-write-buffer-number": 5,
      "min-write-buffer-number-to-merge": 1,
      "max-bytes-for-level-base": "512MB",
      "target-file-size-base": "8MB",
      "level0-file-num-compaction-trigger": 4,
      "level0-slowdown-writes-trigger": 20,
      "level0-stop-writes-trigger": 36,
      "max-compaction-bytes": "2GB",
      "compaction-pri": 3,
      "dynamic-level-bytes": true,
      "num-levels": 7,
      "max-bytes-for-level-multiplier": 10,
      "compaction-style": 0,
      "disable-auto-compactions": false,
      "soft-pending-compaction-bytes-limit": "64GB",
      "hard-pending-compaction-bytes-limit": "256GB"
    },
    "writecf": {
      "block-size": "64KB",
      "block-cache-size": "9663MB",
      "disable-block-cache": false,
      "cache-index-and-filter-blocks": true,
      "pin-l0-filter-and-index-blocks": true,
      "use-bloom-filter": true,
      "whole-key-filtering": false,
      "bloom-filter-bits-per-key": 10,
      "block-based-bloom-filter": false,
      "read-amp-bytes-per-bit": 0,
      "compression-per-level": [
        "no",
        "no",
        "lz4",
        "lz4",
        "lz4",
        "zstd",
        "zstd"
      ],
      "write-buffer-size": "128MB",
      "max-write-buffer-number": 5,
      "min-write-buffer-number-to-merge": 1,
      "max-bytes-for-level-base": "512MB",
      "target-file-size-base": "8MB",
      "level0-file-num-compaction-trigger": 4,
      "level0-slowdown-writes-trigger": 20,
      "level0-stop-writes-trigger": 36,
      "max-compaction-bytes": "2GB",
      "compaction-pri": 3,
      "dynamic-level-bytes": true,
      "num-levels": 7,
      "max-bytes-for-level-multiplier": 10,
      "compaction-style": 0,
      "disable-auto-compactions": false,
      "soft-pending-compaction-bytes-limit": "64GB",
      "hard-pending-compaction-bytes-limit": "256GB"
    },
    "lockcf": {
      "block-size": "16KB",
      "block-cache-size": "1GB",
      "disable-block-cache": false,
      "cache-index-and-filter-blocks": true,
      "pin-l0-filter-and-index-blocks": true,
      "use-bloom-filter": true,
      "whole-key-filtering": true,
      "bloom-filter-bits-per-key": 10,
      "block-based-bloom-filter": false,
      "read-amp-bytes-per-bit": 0,
      "compression-per-level": [
        "no",
        "no",
        "no",
        "no",
        "no",
        "no",
        "no"
      ],
      "write-buffer-size": "128MB",
      "max-write-buffer-number": 5,
      "min-write-buffer-number-to-merge": 1,
      "max-bytes-for-level-base": "128MB",
      "target-file-size-base": "8MB",
      "level0-file-num-compaction-trigger": 1,
      "level0-slowdown-writes-trigger": 20,
      "level0-stop-writes-trigger": 36,
      "max-compaction-bytes": "2GB",
      "compaction-pri": 0,
      "dynamic-level-bytes": true,
      "num-levels": 7,
      "max-bytes-for-level-multiplier": 10,
      "compaction-style": 0,
      "disable-auto-compactions": false,
      "soft-pending-compaction-bytes-limit": "64GB",
      "hard-pending-compaction-bytes-limit": "256GB"
    },
    "raftcf": {
      "block-size": "16KB",
      "block-cache-size": "128MB",
      "disable-block-cache": false,
      "cache-index-and-filter-blocks": true,
      "pin-l0-filter-and-index-blocks": true,
      "use-bloom-filter": true,
      "whole-key-filtering": true,
      "bloom-filter-bits-per-key": 10,
      "block-based-bloom-filter": false,
      "read-amp-bytes-per-bit": 0,
      "compression-per-level": [
        "no",
        "no",
        "no",
        "no",
        "no",
        "no",
        "no"
      ],
      "write-buffer-size": "128MB",
      "max-write-buffer-number": 5,
      "min-write-buffer-number-to-merge": 1,
      "max-bytes-for-level-base": "128MB",
      "target-file-size-base": "8MB",
      "level0-file-num-compaction-trigger": 1,
      "level0-slowdown-writes-trigger": 20,
      "level0-stop-writes-trigger": 36,
      "max-compaction-bytes": "2GB",
      "compaction-pri": 0,
      "dynamic-level-bytes": true,
      "num-levels": 7,
      "max-bytes-for-level-multiplier": 10,
      "compaction-style": 0,
      "disable-auto-compactions": false,
      "soft-pending-compaction-bytes-limit": "64GB",
      "hard-pending-compaction-bytes-limit": "256GB"
    }
  },
  "raftdb": {
    "wal-recovery-mode": 2,
    "wal-dir": "",
    "wal-ttl-seconds": 0,
    "wal-size-limit": "0KB",
    "max-total-wal-size": "4GB",
    "max-manifest-file-size": "20MB",
    "create-if-missing": true,
    "max-open-files": 40960,
    "enable-statistics": true,
    "stats-dump-period": "10m",
    "compaction-readahead-size": "0KB",
    "info-log-max-size": "1GB",
    "info-log-roll-time": "0s",
    "info-log-keep-log-file-num": 10,
    "info-log-dir": "",
    "max-sub-compactions": 1,
    "writable-file-max-buffer-size": "1MB",
    "use-direct-io-for-flush-and-compaction": false,
    "enable-pipelined-write": true,
    "allow-concurrent-memtable-write": false,
    "bytes-per-sync": "1MB",
    "wal-bytes-per-sync": "512KB",
    "defaultcf": {
      "block-size": "64KB",
      "block-cache-size": "1288MB",
      "disable-block-cache": false,
      "cache-index-and-filter-blocks": true,
      "pin-l0-filter-and-index-blocks": true,
      "use-bloom-filter": false,
      "whole-key-filtering": true,
      "bloom-filter-bits-per-key": 10,
      "block-based-bloom-filter": false,
      "read-amp-bytes-per-bit": 0,
      "compression-per-level": [
        "no",
        "no",
        "lz4",
        "lz4",
        "lz4",
        "zstd",
        "zstd"
      ],
      "write-buffer-size": "128MB",
      "max-write-buffer-number": 5,
      "min-write-buffer-number-to-merge": 1,
      "max-bytes-for-level-base": "512MB",
      "target-file-size-base": "8MB",
      "level0-file-num-compaction-trigger": 4,
      "level0-slowdown-writes-trigger": 20,
      "level0-stop-writes-trigger": 36,
      "max-compaction-bytes": "2GB",
      "compaction-pri": 0,
      "dynamic-level-bytes": true,
      "num-levels": 7,
      "max-bytes-for-level-multiplier": 10,
      "compaction-style": 0,
      "disable-auto-compactions": false,
      "soft-pending-compaction-bytes-limit": "64GB",
      "hard-pending-compaction-bytes-limit": "256GB"
    }
  },
  "security": {
    "ca-path": "",
    "cert-path": "",
    "key-path": ""
  },
  "import": {
    "import-dir": "/tmp/tikv/import",
    "num-threads": 8,
    "num-import-jobs": 8,
    "num-import-sst-jobs": 2,
    "max-prepare-duration": "5m",
    "region-split-size": "512MB",
    "stream-channel-window": 128,
    "max-open-engines": 8,
    "upload-speed-limit": "512MB",
    "min-available-ratio": 0.05
  }
}
2019/06/12 03:45:45.142 ERRO tikv-server.rs:84: Limit("the maximum number of open file descriptors is too small, got 65536, expect greater or equal to 82920")

How can I resolve it?Thanks

I use pingcap/tivk:latest,it works well.

The docker's maximum number of open file descriptors is limited to 65535, there are two ways to fix it:

unlimit -n 82920
change the max-open-files in configuration (not recommend)

add --ulimit to run the container:
docker run --ulimit nofile=90000:90000 ...


Performing JSON -> object conversions for Javascript input bindings

Addresses https://github.com/Azure/azure-webjobs-sdk-script/issues/154

Other than nit about previously existing code, looks good. Consider approved. :shipit:

Looks awesome. I was about to send a PR that still uses JSON.parse -- I'll wait for this and rebase.


Triangle Tutorial is not working after changing to Filament v1.10.0

Describe the bug
Triangle Tutorial is not working after v1.10.0 is released.
This is probably due to the material breakage in Filament, as described in the release notes. I think it needs to be rebuilt.
To Reproduce
Steps to reproduce the behavior:

Go to Filament's Triangle Tutorial page
https://google.github.io/filament/webgl/tutorial_triangle.html

The following error is displayed on the console.
filament.js:9
in filament::MaterialParser *filament::createParser(filament::backend::Backend, const void *, size_t):69

filament.js:9
reason: Material version mismatch. Expected 11 but received 10.

filament.js:9
Uncaught (in promise) RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
    at abort (https://unpkg.com/filament/filament.js:9:10953)
    at _abort (https://unpkg.com/filament/filament.js:9:112511)
    at https://unpkg.com/filament@1.10.0/filament.wasm:wasm-function[243]:0x9bcb
    at https://unpkg.com/filament@1.10.0/filament.wasm:wasm-function[271]:0xcbd3
    at https://unpkg.com/filament@1.10.0/filament.wasm:wasm-function[1686]:0x1006cb
    at https://unpkg.com/filament@1.10.0/filament.wasm:wasm-function[1038]:0x980b7
    at Engine$_createMaterial [as _createMaterial] (eval at new_ (https://unpkg.com/filament/filament.js:9:90896), <anonymous>:9:10)
    at Engine.Filament.Engine.createMaterial (https://unpkg.com/filament/filament.js:247:29)
    at new App (https://google.github.io/filament/webgl/tutorial_triangle.js:31:24)
    at https://google.github.io/filament/webgl/tutorial_triangle.js:83:16

Expected behavior
It is expected that the triangle will be displayed without any error.
Screenshots
The canvas is black and nothing is displayed
Desktop (please complete the following information):

OS: Windows 10 + Chrome 90.0.4430.212
GPU: NVIDIA GTX RTX 2060
Backend: WebGL(ANGLE)

Additional context
The same error appears in the console in Firefox.

Gah, thank you for the bug report!  Will fix ASAP.


Update print stmts to use f-string

What changes were proposed in this pull request?
Update print and debug statements to use f-strings.
How was this pull request tested?
Ran make clean, make install, make docs, make test.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

I did a quick scan and it appears that there are two <string>.format( instances left in the source code:

https://github.com/elyra-ai/elyra/blob/90fb4994d19ae4f82884d6446cea92b2468ec02e/elyra/tests/pipeline/resources/components/bash_operator.py#L120
https://github.com/elyra-ai/elyra/blob/90fb4994d19ae4f82884d6446cea92b2468ec02e/elyra/metadata/metadata_app.py#L770 (@kiersten-stokes, @kevin-bates I remember we discussed this one when we tried to resolve all issues that black reported.  Was there a reason why this one could not be rewritten to use an f-string?)

I remember we discussed this one when we tried to resolve all issues that black reported. Was there a reason why this one could not be rewritten to use an f-string?

I don't think we spent much time looking into it, but it looks like f-strings are captured when "executed" while format enables a "functional behavior" that would allow the "string" to be re-constructed. So even using a dummy schemaspace placeholder wherever the subclass sets up its description string won't really work.  That said, the subclass may know its schemaspace (in this particular scenario) and we could probably forgo the "dynamism" in play here.
$ python
Python 3.10.2 | packaged by conda-forge | (main, Mar  8 2022, 16:02:23) [Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> subcommand_description = f"This is schemaspace '{schemaspace}'."
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'schemaspace' is not defined
>>> schemaspace = None
>>> subcommand_description = f"This is schemaspace '{schemaspace}'."
>>> print(subcommand_description)
This is schemaspace 'None'.
>>> schemaspace = 'foo'
>>> print(subcommand_description)
This is schemaspace 'None'.
>>>

The same may be true in the first example.  format() essentially enables a "functional string", while f-string is a one-time "capture" of the parameters (as evidenced in the REPL example).  But you may want to try converting the first and see.  (Too lazy [and late] to try that in the REPL. :smile:)

@ptitzler So we're leaving this one in place?
https://github.com/elyra-ai/elyra/blob/710aee782c8a6d2f6f7dbe4e16829ad7932bc343/elyra/metadata/metadata_app.py#L770
I made the other change that you had suggested.


Update selection UI with EUISelectable + EUIFieldSearch

Created a hybrid approach for release speed and somewhat improved user experience. Marking for improvement in 2.5 release.

[ ] Use EUISelectable to allow user to find existing data sources.
[ ] Use EUIFieldSearch to allow users to search for an existing data source
[ ] If no external data source connections have been made, disable the radio button and have Default selected by default OR present a button for creation, which should open in a new tab.

For speed I imagine the best approach for the case where there are no external data source connections set up is to disable the radio button like this:

An alternative which we can do in 2.5 is this, which will aid in the discovery and possible adoption of the (production ready version) feature while helping build the mental model of external data sources and index patterns:

Disabling the option with the fast approach might cause confusion on why it's being disabled.
Here is the selectable with no content existing, it is also straightforward that user has none configured:


Add support for SAME_UPPER and SAME_LOWER auto_pad for Convolution and MaxPool

We're not parsing this attribute for convolution or pooling which is leading to failure of reading certain ONNX files produced by CNTK. However, this feature is listed as deprecated in the ONNX standard. Not sure if it's worth implementing or not.

We will currently support SAME_UPPER as default. SAME_LOWER can be implemented using the Pad operator, but we did not see any models using this mode.


Non-nil enums allowed?

I have the following:
extension DefaultsKeys {
    static let theme = DefaultsKey<ThemeOptions>("theme")
}
enum ThemeOptions: Int {
    case dark
    case light
}

extension NSUserDefaults {
    subscript(key: DefaultsKey<ThemeOptions>) -> ThemeOptions {
        get { return unarchive(key) ?? .dark }
        set { archive(key, newValue) }
    }
}

I'm getting this error from unarchive() when the value is nil (not set):
Could not cast value of type 'NSTaggedPointerString' to 'NSNumber'
Is there a way to do non-nil enums?

I think this is something I'm running into due to sandboxing. I thought I removed the user defaults plist (which stored the .theme as a string - before I switched to enums.
Going to look around and figure out how to clear the user defaults properly when sandboxed.
I'll re-open if I think it's a problem with SwiftyUserDefaults - but you have a test to check that non-nil enums work, etc - so I think it's on my end.
Thanks.

Incase someone else stumbles onto this - I needed to kill cfprefssd - it was still using the user defaults file after I moved it to the trash:
http://stackoverflow.com/a/36501012/1575489


Diamond zero alternate

added regular variant in https://github.com/source-foundry/alt-hack/commit/da07794a9e590de3b9a2a72f0159ad2b7abb60af

slightly modified with taller fill:

all four variants added as of https://github.com/source-foundry/alt-hack/commit/87c61aa3538d62f504f898562752bd337c77e72f


Support OSX

Reference

Starscream.podspec
RxSwift.podspec

Seems like a god one, @freak4pc what do you think?

Thanks @yysskk.
Could you please add a build test for macOS Zion our CI?

@freak4pc I added a macOS target for CI build (https://github.com/RxSwiftCommunity/RxStarscream/pull/18/commits/7f4abc20f4dd5c120939e2d83379edd9f341b041) and a build test for macOS(https://github.com/RxSwiftCommunity/RxStarscream/pull/18/commits/ca5b713f9d99bc02c2f3924a66090887f8d40a3a) 👍

Looks great ! Let me review this by tomorrow and I’ll merge :)

@freak4pc merge, ok?


⚠ Empornium has degraded performance

In b00af4d, Empornium ($EMP) experienced degraded performance:

HTTP code: 200
Response time: 27574 ms

Resolved: Empornium performance has improved in 7191679 after 3 minutes.


refactor: change CompletionQueueImpl::cq return type

This change is in preparation for adding derivations of CompletionQueueImpl that do not contain a grpc::CompletionQueue.

This change is

google/cloud/internal/completion_queue_impl.h line 75 at r1 (raw file):
Previously, scotthart (Scott Hart) wrote…
Considering this is all internal, we can iterate on these mechanisms as many times as care to. I'm merely trying to unblock myself.

Let's keep this function pure virtual, and we can discuss the other stuff later?


can not read person with group

if someone has a group then can`t read him (it doesn`t read him at first time, if he has a group)
final contacts = await FlutterContacts.getContacts(withGroups: true);
not working at all

Sorry I can't help without more details. Feel free to re-open with more details regarding what you'd expect and what you're getting instead.

Issue still persisting in Android 13, flutter_contacts: ^1.1.6.
Steps to replicate:

Create a contact with no group
2)```
await FlutterContacts.getContacts(
withProperties: true,
withGroups: true,
deduplicateProperties: true,
);

Contact will be fetched correctly
 3) Add that contact to a group (Besides the emergency group as that's the only one that works)
 4) Use same Query in 2), contact is not returned

 @joachim-quis @yeahse


Modify market observable priority in margin calculations during auctions

Prioritise use of mark price, if unavailable fall back on indicative uncrossing price, if that's unavailable too (for orders only) use vwap of orders.

@gordsport if you're watching this: this is a spec change aligning spec with what we've implemented and tested so no core work should arise.

Thanks @davidsiska-vega please let me know the ticket for the sun case and it's priority (pre/post Oregon Trail timings).


Monte carlo simulation in hedging

Monte Carlo simulation provides a straightforward approach for numerically pricing stocks; but, it does not immediately produce the weights required to form a replicating portfolio.

I am interested in doing this, can you please assign me this?

Hello ,can you please elaborate on what exactly we need to do in this issue?

Hey, you can use Monte Carlo Simulation for Volatility Model or Monte Carlo Simulation for Investment Portfolio Growth by making a different folder for it.
Like the similar code.
`import numpy as np
from helpers import get_random_returns, get_confidence_levels, get_yearly_percentiles
from plots import plot_histogram, plot_yearly_percentiles
def perform_simulation(inputs):
years = inputs['end_age'] - inputs['start_age']
pot = inputs['starting_pot']
returns = get_random_returns(years=years)
mean_return = (np.mean(returns) - 1) * 100
history = []
for i in range(years):
annual_return = returns[i]
pot *= annual_return
pot += inputs['annual_contributions']
history.append(int(pot))
return pot, history, mean_return
def perform_monte_carlo(inputs, n=1000):
pot_sizes = []
results = []
mean_returns = []
for i in range(n):
final_amount, history, mean_return = perform_simulation(inputs)
pot_sizes.append(final_amount)
results.append(history)
mean_returns.append(mean_return)
lower_confidence, upper_confidence = get_confidence_levels(pot_sizes)
return {
'pot_sizes': pot_sizes,
'results': results,
'yearly_percentiles': get_yearly_percentiles(results, inputs),
'lower_confidence': lower_confidence,
'upper_confidence': upper_confidence,
'mean_returns': mean_returns
}
inputs = {
'start_age': 20,
'end_age': 65,
'starting_pot': 5000,
'annual_contributions': 500 * 12,
'target_amount': 300000,
'n_simulations': 10000
}
mc = perform_monte_carlo(inputs, n=inputs['n_simulations'])`

U can consider different stocks and implement it similar like https://www.kaggle.com/code/ianchute/house-prices-monte-carlo-inference this code does for house price prediction.

Ok, this sounds interesting, I would like to do this issue.

Yeah, its very interesting and there is always new to explore in it .

Hey, so I reviewed many resources on Monte Carlo simulation on stocks, I found mostly they are using Geometric brownian motion(GBM) , should I also implement a Monte carlo simulation using GBM?

Yeah you can proceed with GBM implementation for it

Hello, I have pulled request for the monte carlo simulation, please check if its good enough. Thanks.

Hey, I have reviewed your pull request and Its really good. Thankyou for your time and contribution.


navigator.appVersion

I've just upgraded to Zombie 3.1.0 from 2.x and all my tests are failing - it appears from what I can see that navigator.appVersion no longer exists. I can't see it referenced anywhere in the documentation as having been removed, so I'm raising this bug...

+1


Readme: aspect_ratio format

For the last version of this Node it is 1:1, 2:3, 16:9, ..
And not a aspect_ratio: The aspect ratio for cropping. (default: 1, min: 0.2, max: 5, step: 0.1)

Fixed.


[Feature Request] Thumbnail Downloads Pause / Cancel

Why/User Benefit/User Problem
pause or cancel on going downloads on a certain series instead of re arranging or manually canceling them on the chapter page
benefit is user will be able to pause download on a certain manga if user wants to download other manga on queue
What/Requirements
instead of a list it will show you the manga thumbnail and the ongoing downloads only are listed inside.
on the download page where thumbnails are located holding the thumbnail will select it and give you the option to pause or to cancel ongoing downloads.
you know that moment you queued the first manga with 100+ ch to download and you found other mangas with just 5 ch or 10 and you want to download it first but you had to scroll all the way to the bottom just to re order or go to the current 100+ ch manga page just to cancel all.
reorder does not do the job well, it downloads newest to oldest updates ( my 100+ ch download has been inserted in the middle of download list after reorder and i had to cancel all ongoing downloads on that manga manually because theres no pause or cancel all downloads on that certain manga only ) instead of queued first vice versa

So you want an option to pause or cancel individual downloads?

yes like i need to pause this manga to download other manga instead of re ordering or cancelling ongoing download just to download other in queue


GHA docker build is failing

Docker build is failing on GHA with the error:

ERROR: failed to solve: process "/bin/sh -c apt install curl" did not complete successfully: exit code: 1

This seems to be related to curl dependencies not being auto-accepted.

Found that building locally failed as well, due to curl not installing properly. The apt install command was not automatically updating dependencies, so added the -y flag to enable that, and I consolidated the multiple RUN commands to a single apt installation line to decrease the number of image layers.  Leaving this issue open until the GHA workflow completes to see if we have need of further fixes.

After the push fo sha 4cad89c, the GHA is now passing, and the image is built and published to GHCR: https://github.com/DataONEorg/dataone-indexer/actions/runs/6463511013


autocompletion tooltip flashes, likely due to autocompletion conflicts

Autocompletion tooltip flashes, briefly shows a batch of options, then quickly gets override by another batch provided by flow. I guess it's due to conflict with sublime's stock autocompletion. Can you provide a solution to disable fix behavior?
Did google but find no good solution. I know this is not a problem of FlowIDE itself, but still think here's the right place to ask, cus other users are very likely to encounter the same problem.

Yep, having this issue as well. Can't use FlowIDE because of it.

I think it's fixed with the show_sublime_autocomplete_suggestions: true option of FlowIDE 1.2.0?

I still have this issue, even with show_sublime_autocomplete_suggestions set to false (which seems to be the default now.


Shorts won't download with "-f "bv*[height=144]+ba""?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.01.02 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
When I try to download shorts with (-f "bv*[height=144]+ba") I got the following error:
ERROR: Postprocessing: Supported filetypes for thumbnail embedding are: mp3, mkv/mka, ogg/opus/flac, m4a/mp4/mov
But using (-S res:144) works fine.
Full settings:
yt-dlp  --add-metadata --embed-thumbnail   -f "bv*[height=144]+ba" -o "%(uploader)s/%(title)s.%(ext)s" --merge-output-format mp4
Im trying to download a big playlist and I wanted to add the 'best audio' option too.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--add-metadata', '--embed-thumbnail', '-f', 'bv*[height=144]+ba', '-o', '%(uploader)s/%(title)s.%(ext)s', '--merge-output-format', 'mp4', 'https://youtu.be/-J3gfK0jMfQ']
[debug] User config: []
[debug] System config: []
[debug] Encodings: locale utf-8, fs utf-8, pref utf-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.02 [d83b0ad] (pip)
[debug] Python 3.11.0 (CPython aarch64 64bit) - Linux-4.19.152-perf-21186317-abA526U1UES2AUD5-aarch64-with-libc (OpenSSL 3.0.7 1 Nov 2022, libc)
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1754 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.02, Current version: 2023.01.02
yt-dlp is up to date (2023.01.02)
[youtube] Extracting URL: https://youtu.be/-J3gfK0jMfQ
[youtube] -J3gfK0jMfQ: Downloading webpage
[youtube] -J3gfK0jMfQ: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] -J3gfK0jMfQ: Downloading 1 format(s): 17
[info] Downloading video thumbnail 46 ...
[info] Writing video thumbnail 46 to: TeamSamuraiX1/When a kid shows up to locals…#yugioh.webp
[debug] Invoking http downloader on "https://rr4---sn-5ualdns7.googlevideo.com/videoplayback?expire=1672903944&ei=qCi2Y823A5ivkwbbqYKIBQ&ip=2600%3A387%3Ac%3A6c10%3A%3A4&id=o-ANNW6oPLlN0O4c0t32XcuwJ489RviHiummEAeh-6UvIE&itag=17&source=youtube&requiressl=yes&mh=fu&mm=31%2C29&mn=sn-5ualdns7%2Csn-5uaeznls&ms=au%2Crdu&mv=m&mvi=4&pl=51&ctier=SH&initcwndbps=845000&spc=zIddbBoIFdEpnVSbEAdLLtZbM_m85HU&vprv=1&svpuc=1&mime=video%2F3gpp&gir=yes&clen=591333&dur=59.675&lmt=1671644206916296&mt=1672882159&fvip=1&fexp=24007246&c=ANDROID&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cctier%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgEpMwdrNQ2dZskfPCXgjqsJn5r6jvgdmAOkG_hR-6AVACIHoicrjcjp96Jkfk6sNr3RFd4kPpZAiOvQBkMAx1-f2h&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgZU9cDwNhm7gKQotg2LTB7rOErm05pq7njLot3q6RCrwCIGoiHgfsql6HPpEWEVTlmKNsr4t3YmXwvustAW8wTfXI"
[download] Destination: TeamSamuraiX1/When a kid shows up to locals…#yugioh.3gp
[download]   0.2% of  577.47KiB at    1.55Ki[download]   0.4% of  577.47KiB at    3.93Ki[download]   1.0% of  577.47KiB at    8.65Ki[download]   2.1% of  577.47KiB at   18.08Ki[download]   4.2% of  577.47KiB at   17.29Ki[download]   7.1% of  577.47KiB at   18.46Ki[download]  10.6% of  577.47KiB at   20.41Ki[download]  15.1% of  577.47KiB at   18.90Ki[download]  17.9% of  577.47KiB at   18.73Ki[download]  21.0% of  577.47KiB at   19.17Ki[download]  24.8% of  577.47KiB at   20.13Ki[download]  29.6% of  577.47KiB at   19.38Ki[download]  32.4% of  577.47KiB at   19.45Ki[download]  35.9% of  577.47KiB at   19.71Ki[download]  39.8% of  577.47KiB at   18.95Ki[download]  42.2% of  577.47KiB at   18.86Ki[download]  45.3% of  577.47KiB at   18.89Ki[download]  48.6% of  577.47KiB at   19.17Ki[download]  52.8% of  577.47KiB at   18.65Ki[download]  55.2% of  577.47KiB at   19.51Ki[download]  60.2% of  577.47KiB at   19.36Ki[download]  63.2% of  577.47KiB at   19.48Ki[download]  67.1% of  577.47KiB at   18.94Ki[download]  69.3% of  577.47KiB at   18.84Ki[download]  72.1% of  577.47KiB at   18.89Ki[download]  75.6% of  577.47KiB at   19.11Ki[download]  80.0% of  577.47KiB at   19.44Ki[download]  84.8% of  577.47KiB at   19.31Ki[download]  87.8% of  577.47KiB at   19.31Ki[download]  91.1% of  577.47KiB at   19.44Ki[download]  95.3% of  577.47KiB at   19.18Ki[download]  97.8% of  577.47KiB at   19.10Ki[download] 100.0% of  577.47KiB at   19.52Ki[download] 100% of  577.47KiB in 00:00:30 at 19.16KiB/s
[Metadata] Adding metadata to "TeamSamuraiX1/When a kid shows up to locals…#yugioh.3gp"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:TeamSamuraiX1/When a kid shows up to locals…#yugioh.3gp' -map 0 -dn -ignore_unknown -c copy -write_id3v1 1 -metadata 'title=When a kid shows up to locals…#yugioh' -metadata date=20221221 -metadata 'purl=https://www.youtube.com/watch?v=-J3gfK0jMfQ' -metadata 'comment=https://www.youtube.com/watch?v=-J3gfK0jMfQ' -metadata artist=TeamSamuraiX1 -movflags +faststart 'file:TeamSamuraiX1/When a kid shows up to locals…#yugioh.temp.3gp'
[ThumbnailsConvertor] Converting thumbnail "TeamSamuraiX1/When a kid shows up to locals…#yugioh.webp" to png
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i 'file:TeamSamuraiX1/When a kid shows up to locals…#yugioh.webp' -update 1 -movflags +faststart 'file:TeamSamuraiX1/When a kid shows up to locals…#yugioh.png'
ERROR: Postprocessing: Supported filetypes for thumbnail embedding are: mp3, mkv/mka, ogg/opus/flac, m4a/mp4/mov
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3307, in process_info
    replace_info_dict(self.post_process(dl_filename, info_dict, files_to_move))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3486, in post_process
    info = self.run_all_pps('post_process', info, additional_pps=info.get('__postprocessors'))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3468, in run_all_pps
    info = self.run_pp(pp, info)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 3446, in run_pp
    files_to_delete, infodict = pp.run(infodict)
                                ^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/postprocessor/common.py", line 24, in run
    ret = func(self, info, *args, **kwargs)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/postprocessor/common.py", line 129, in wrapper
    return func(self, info)                            ^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/postprocessor/embedthumbnail.py", line 216, in run
    raise EmbedThumbnailPPError('Supported filetypes for thumbnail embedding are: mp3, mkv/mka, ogg/opus/flac, m4a/mp4/mov')
yt_dlp.postprocessor.embedthumbnail.EmbedThumbnailPPError: Supported filetypes for thumbnail embedding are: mp3, mkv/mka, ogg/opus/flac, m4a/mp4/mov

using -f "bv*[height=144]+ba" will select this format:
ID  EXT   RESOLUTION FPS CH │   FILESIZE  TBR PROTO │ VCODEC         VBR ACODEC      ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
17  3gp   176x144      8  1 │  577.47KiB  79k https │ mp4v.20.3      79k mp4a.40.2    0k 22k 144p

whereas using -S res:144 will select these two formats to be merged:
ID  EXT   RESOLUTION FPS CH │   FILESIZE  TBR PROTO │ VCODEC         VBR ACODEC      ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
278 webm  144x256     30    │  627.79KiB  86k https │ vp9            86k video only          144p, webm_dash
251 webm  audio only      2 │  956.85KiB 132k https │ audio only         opus       132k 48k medium, webm_dash

The problem with the first format is that it is 3gp and contains both video and audio, so it will not be merged into mp4
And that is why you get this error message:

EmbedThumbnailPPError: Supported filetypes for thumbnail embedding are: mp3, mkv/mka, ogg/opus/flac, m4a/mp4/mov

What you can do:

add --remux-video mp4 to your command, or
avoid the 3gp format (by using -S "res:144"), or
don't embed thumbnails

@bashonly  --remux-video mp4 didn't solve the problem.
@pukkandan -Using width results in problems with normal videos.
A was looking for a setting to have a 720 resolution for both while getting the best audio too.

why can't you use -S? While what you want can be done with -f, -S was created exactly to simplify uses like this

I saw in another post that -S sometimes doesn't pick the best audio. I sincerely don't know if that is true or makes a difference at all. But I guess using -S is the solution im looking for.


Improve S3 Performance with More Variability in Cookbook Object Naming

HelpSpot 18569
Example of the current URL format of the cookbook file objects we store on S3
https://s3-external-1.amazonaws.com:443/opscode-platform-production-data/organization-3eca786473a44f68a91c1279ce6c845b/checksum-5ea9157974ce97b987a4e6219fdfc69a?AWSAccessKeyId=AKIAIQKPG2CTSTRVDO4Q&Expires=1405545736&Signature=na08SG8QrzaA9LBSR%2BIUN3/eENI%3D"

The portion of the key we are interested in is "opscode-platform-production-data/organization-3eca786473a44f68a91c1279ce6c845b"
We would get much better performance out of the gate if the bucket/org key looked like this instead, with a reversed key suffix for the organization
"opscode-platform-production-data/b548c6ec9721c19a86f44a374687ace3-noitazinagro".

Our customer recommends '...try the "not reversed" version if the first get() fails (during the transition to the new storage system, while background S3 workers' move things around.

More customer discussion on the issue follows
I came across this message on AWS support forums: https://forums.aws.amazon.com/thread.jspa?threadID=96847 and find it surprising that you didn't prefix the cookbook segment keys with more semi random data to spread them across multiple S3 storage nodes, this is part of S3 101 when dealing with massive numbers of objects.
I don't really understand your point about S3 storage nodes. It is
transparent from an API point of view. S3 use the first few bytes of the
keys to spread them across storage nodes, it's true that hitting different
storage nodes might result in inconsistencies when the data spreads, but I
suggest you read this document...
http://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html
(i have successfully optimized a high profile image sharing service just by
adding ".reverse!" in the bit of code where they compute the S3 key for
the objects they where storing... their scheme was very similar to yours)
"Amazon S3 maintains an index of object key names in each AWS region.
Object keys are stored lexicographically across multiple partitions in the
index. That is, Amazon S3 stores key names in alphabetical order. The key
name dictates which partition the key is stored in. Using a sequential
prefix, such as timestamp or an alphabetical sequence, increases the
likelihood that Amazon S3 will target a specific partition for a large
number of your keys, overwhelming the I/O capacity of the partition. If you
introduce some randomness in your key name prefixes, the key names, and
therefore the I/O load, will be distributed across more than one partition."
My solution to that was simply to store objects for
"organization-6213e346bef545b988d155a568d93d3e"
using "e3d39d865a551d889b545feb643e3126-noitazinagro", and try the "not
reverted" version if the first get() failed (during the transition to the
new storage system, while background S3 workers where converting every keys

i suppose you have massive numbers to handle there...)

Send me a beer when you get 10x S3 performance bump (no kidding)

It would be useful to check if s3 still behaves in the manner defined above.


[Bug]: JavaScript Error: "ChromeUtils .generateQl is not a function"

Debug log ID
JG5WZW5R-refs-euc
What happened?
In v6.7.103 (presumably since https://github.com/retorquere/zotero-better-bibtex/commit/70aa15996be52d5ba8be938ebba708787cefc031) the error "ChromeUtils .generateQl is not a function" is triggered when selecting something from the cayw dialog.

Can confirm that test build <IP_ADDRESS>08.4844 fixes the issue!


Async Nodes, block the Node computation without freezing the UI thread

@leon-thomm
Hey quick question is there a way to wait the thread that operates the node execution then have it wake up when an async task is done?
I have async nodes and the only way I can sorta fix this is if I add a delay node in between thanks!

The whole application is single threaded.  I think nothing stops your nodes from exploiting concurrency, even starting threads and processes and have the node update itself on completion or messages - it rather comes down to the use case and what design is intuitive.

I experimented with multi-threading in Ryven itself a while ago, especially for separating execution of the GUI thread and the flow execution, but I decided it's generally not worth the struggle. It is either extremely unsafe or requires a lot of abstraction, which comes at a cost in Python.

@leon-thomm so that threading bridge code is pretty much dead code? I was trying to figure out where it was being triggered, Also could you let me know where the entry point of an exec execution would happen? When you say it's single threaded you mean the UI thread is blocked when there is a long computation ?

so that threading bridge code is pretty much dead code?

not dead code but not implementing threading right now

I was trying to figure out where it was being triggered

In a few places, it's a ryvencore-qt thing - primarily in FlowCommands.py (see FlowUndoCommand).

Also could you let me know where the entry point of an exec execution would happen?

That's happening in ryvencore. The current version of Ryven runs on ryvencore v0.3. An update doesn't happen without a reason, either direct interaction from the user (using the node), or something else that the user or node developer set up. In early versions, update messages were always passed from node output to node input directly (quite literally, the node output object calling the connection object, which then calls the node input object, which then triggers its node's update method). This was gradually replaced by a central FlowExecutor class, see here and here.  This was standardized in the WIP ryvencore v0.4 which will power the next Ryven release, so everything will go through the FlowExecutor.

When you say it's single threaded you mean the UI thread is blocked when there is a long computation ?

yes, i.e. threading and concurrency should be built into the nodes themselves if it is needed.

@leon-thomm thank you for your answers! it means a lot I have gotten this to work for something I am working on just trying to figure out more of the details


The interval option makes line broken with gaps

might be related, a comment on https://observablehq.com/@d3/line-chart-missing-data/2#cell-329
the filter indeed makes gap disappear, but when an interval option is given with missing data, it will be broken line with gaps:
    Plot.lineY(aaplMissing, {x: "date", y: "close", stroke: "steelblue", interval: d3.utcMonth, }),
    Plot.lineY(aaplMissing, {x: "date", y: "close", stroke: "steelblue", interval: "month", }),

and the missing data is not just undefined or NaN, but completely missing of some months like aapl.filter(...):
aaplMissing1 = aapl.filter(d => d.date.getUTCMonth() >= 3) // simulate gaps

Originally posted by @tx0c in https://github.com/observablehq/plot/issues/1931#issuecomment-1977266336

That’s largely the point of the interval option — you’re specifying the expected interval of the data, so if the data is missing, you want to see a gap. If you want to interpolate across the missing data, then you can use the filter option instead. If you have more questions, please reply to this issue.


Fixes liqui's private api

Some difference private api between btce vs liqui

Can you please describe the fix? They say on their Luqui main website, that their API corresponds in 1-to-1 way to BTC-e, with base URL switched. Would we need a separate request implementation in Liqui then? I'm asking, because I think it might be better to fix the BTC-e (if there's a problem with it) which is the base API for both. So, was there a problem with Liqui, that requires this fix?

btce's private api url: 'https://btc-e.com/tapi' + version + query
liqui's private api url is only: 'https://api.liqui.io/tapi'
(not version + query in url)

Got it, thanks! We will test it then and accept your pull request very soon.

Coverage increased (+1.4%) to 60.447% when pulling 2b6ec52f85f2eb2eb36cb87ed6b2f97b81a1e556 on tritoanst:fixes-private-api-liqui into d0beadf7d98eb2be6a151725d9e1a99dddc75130 on kroitor:master.


Discourage renaming in pub use re-exports

In flate2 the write/read/bufread modules all repeat the same type names:
pub use gz::EncoderReader as flate2::read::GzEncoder;
pub use deflate::EncoderReader as flate2::read::DeflateEncoder;

Unfortunately the rustdoc for flate2::read::GzEncoder shows the private names:
impl<R: Read> EncoderReader<R>
fn new(r: R, level: Compression) -> EncoderReader<R>

This is a rustdoc bug (https://github.com/rust-lang/rust/issues/41072) but even aside from that, this pattern is confusing to people browsing the code because what they see clicking through a [src] link does not match how they will be using the library. Let's discourage renames in pub use unless there is a very good reason, and give an example of a very good reason from a high-quality crate.

Add to 'naming'.

I don't think this is a common enough problem to need a guideline.


Confirmation when you delete a cluster via the installer

I noticed that you can click the trash can on the installer page for a service and the installer will faithfully delete everything without a confirmation.
This is scary -- I'd love to see a confirmation button at least (or the github double opt in -- a la their repo delete feature) in case I decide to ruin my life by accident.

@jontonsoup There should be a confirmation modal when you click the trash icon for a cluster in the installer, are you not seeing that? What browser/version OS/version are you using? And do you see any errors in the JavaScript console?

@jvatic Let me double check -- I was pairing on this and we both made a comment at the same time about how it seemed dangerous. Its possible we both tricked ourselves though.

@jvatic PEBCAK -- seems to be working now. Everything probably works fine, and I just clicked the button so fast I forgot I did it :).
Double opt in is nice something to think about to save smart people like myself from myself.

@jontonsoup I'll keep an eye out for this as it could have been an intermittent bug of some kind. Feel free to open another issue regarding the double opt in.


Hacky fix for #10

I'm not sure what's going on, but it seems to fix a few things.
There are still some issues, but let's do one at a time.

Ah got it...

Ah! thanks a lot.
I had no clue what was happening.

I've published v0.5.1 with this pr merged


web/assets: introduce WrapFS

overlapping multiple fs.FS layers
glob filters to determine what's acceptable
try different name variants for each request

Summary by CodeRabbit

New Features

Introduced enhanced file system handling with support for sub-filesystems.
Added a flexible WrapFS type for layered file system access and customizable name resolution.
Implemented a wrapFSFile struct for robust file handling and HTTP serving capabilities.

Bug Fixes

Improved error handling for unsupported filesystem types.

Chores

Updated dependencies to the latest versions for improved performance and features.

<EMAIL_ADDRESS>tagged


Implement comprehensive IPFS URI resolver configuration options

Revisit resolution options (provider, parallel execution, etc...) for IFPS URI resolver and implement them as env variables
Before this task can be tackled, the IPFS part of the following issue needs to be implemented: https://github.com/polywrap/monorepo/issues/622

Hey @nerfZael @pileks, what is the status on this issue?

Hey @nerfZael @pileks, what is the status on this issue?

A PR is open, though I've yet to review it: https://github.com/polywrap/monorepo/pull/1060

Closing this issue as everything seems completed.


Rename Pinned/Unpinned Feature to Auto-Hide

Auto-Hide is the name Visual Studio and Qt Advanced Docking System use. This seems to be the more common way to refer to this feature and makes more sense to me.
This will result in some interface changes in the code.

Assigning to the 0.11.0 release to avoid breaking API for 0.10.0.


[Question] Adding grade 0 to the mesh results in the failure of the equielement.morpho test

Adding
m.addgrade(0)
to line 7 of equielement.morpho results in the failure of the test, specifically in the gradient, and hence the optimization.
Here is a screenshot of before and after:

I am not sure whether this is a bug or my lack of understanding of how EquiElement works. I was having some issue with EquiElement in a separate code, which is why I dug into the test example. While trying to visualize the vertices by adding grade 0 elements, the test failed and the vertex positions were quite off ([ 8.02753 4.31376 3.00688 ] as opposed to [ 0 0.500034 1 ]).

This is very strange. Trying to add grade 0 to a mesh should yield no change, because all meshes are required to have grade 0! I'll take a look...


Some question on python.runtime

when using python.runtime,some questions puzzle me, many mistakes happens, like "System.IO.FileNotFoundException","System.IO.FileLoadException",System.IO.FileNotFoundException,maybe this is the reason leadd my python code running slow,very slowly,I cant tolerate.my code is just a simple demo.so l wanna know how you resolve this problem,thanks,my python version is 3.6

Please follow the standard issue template so that we may get the information needed to help you resolve your issues.


Missing device configuration: Fibaro FGS-214

Checklist

[X] It is not in the configuration DB

[X] It was not merged recently or has a pending PR

Which device is missing?
Fibaro FGS-214
Manufacturer ID
0x010f
Product Type
0x0404
Product ID
0x3000
Firmware Version
5.0
Is the device listed on the Z-Wave Alliance website?
https://products.z-wavealliance.org/products/3949?selectedFrequencyId=-1
Do you have a manual?
https://manuals.fibaro.com/content/manuals/en/FGS-2x4/FGS-2x4-T-EN-1.0.pdf

@zwave-js-bot add fingerprint 0x0404:0x3000 to 0x010f:0x0404:0x1000:5.0

@zwave-js-bot add fingerprint 0x0404:0x3000 to 0x010f:0x0404:0x1000:5.0


Doesn't work under Gradle 7

Prerequisites
Using version 0.99.99
This is the latest one published to the Gradle plugin repo.
When I tried 1.2.0 it said cannot find version. Even when I use plugin management config.
Describe the bug
> Task :schemas:generateAvro FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':schemas:generateAvro' (type 'GenerateAvroJavaTask').
  - Type 'com.commercehub.gradle.plugin.avro.GenerateAvroJavaTask' property 'outputDir' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.0.2/userguide/validation_problems.html#missing_annotation for more details about this problem.

To Reproduce
 ./gradlew clean build -p schemas

or whatever is your project
Works without a problem under Gradle 6.9

The versions on the Gradle Plugin Portal are badly out of date. Please upgrade to version 1.0+ on Maven Central.

Using Maven Central and latest version 1.2.0 works - thanks

Using Maven Central and latest version 1.2.0 works - thanks

Could you tell me where can I find this version?

I cannot pull 1.2.0 from Maven Central. Was it removed? How should I get it now? What is the latest version I can get from some repository?

id 'com.commercehub.gradle.plugin.avro' version '1.2.0'
id 'com.github.davidmc24.gradle.plugin.avro' version '1.2.0'
@davidmc24 what is the difference between these 2 plugins . can we use any one?

@jpag5416
The difference is documented here: https://github.com/davidmc24/gradle-avro-plugin/blob/master/CHANGES.md#pre-10-versions
Lineage-wise, both plugin IDs refer to the same plugin, and maintained/released by the same maintainer (me).
The com.commercehub.gradle.plugin.avro plugin ID was used earlier in the plugin's development (pre-1.0 versions) when it was somewhat sponsored by CommerceHub.  I switched to the davidmc24 ID when JCenter was deprecated, as Maven Central would not allow me to continue publishing to a namespace that I couldn't prove ownership of (as sponsorship by CommerceHub had already ended at that time).
Unless you have a specific legacy compatibility reason, always use the latest released version, which would be id 'com.github.davidmc24.gradle.plugin.avro' version '1.7.1' at the moment.


Command to install all missing packages for a file

It would be handy to have a single command that would collect all library statements in a single R script, and install any packages so referenced that are missing. Basically, a batch version of the lightbulb that we already have for individual statements.

I suggested something like that a while back. +1
On Friday, April 15, 2016, Pavel Minaev<EMAIL_ADDRESS>wrote:

It would be handy to have a single command that would collect all library
statements in a single R script, and install any packages so referenced
that are missing. Basically, a batch version of the lightbulb that we
already have for individual statements.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/RTVS/issues/1584

This is part of the task to support MRAN checkpoint package, which will do this for you.

It would still be handy to have it as a lightbulb in the editor or some other obvious and visible place, even if all it does is checkpoint(Sys.Date()).

This currently lives in the Editor epic, but I think that we need to move this elsewhere. I will find a home for this.


AUTH-527: security/v1 - add constant for enforcing psa annotation

What
Add an annotation constant that reveals what the label syncer would enforce.
Why
It is unclear what the label syncer would set, if alert labels are set or the syncer is turned off.

/lgtm
/approve


generateJava fails with "not a valid name: short" for a GraphQL field named 'short'

Description:
generateJava fails with "not a valid name: short" for a GraphQL field named 'short'.
This seems to happen only to Java projects with generateClient set to true.
Steps to reproduce:
I created a demo Gradle project using https://start.spring.io/ with Java @8 + Spring Boot @2.5.4.
#build.gradle content
plugins {
	id 'org.springframework.boot' version '2.4.10'
	id 'io.spring.dependency-management' version '1.0.11.RELEASE'
	id 'java'
	id 'com.netflix.dgs.codegen' version '5.0.6'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'

repositories {
	mavenCentral()
}

dependencies {
	implementation 'org.springframework.boot:spring-boot-starter'
	testImplementation 'org.springframework.boot:spring-boot-starter-test'
	implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:latest.release"))
	implementation "com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter"
}

test {
	useJUnitPlatform()
}

generateJava {
	schemaPaths = ["${projectDir}/src/main/resources/schema"] // List of directories containing schema files
	packageName = 'com.example.demo.dto' // The package name to use to generate sources
	generateClient = true // Enable generating the type safe query API
}

#schema.graphqls
type Query {
    shows(titleFilter: String): [Show]
}

type Show {
    description: FormattedDescription
}

type FormattedDescription {
   short: String!
}

Actual result:
Then try to build the project:
$ ./gradlew build

> Configure project :
DGS CodeGen added [com.netflix.graphql.dgs.codegen:graphql-dgs-codegen-client-core:5.0.6] to the implementation dependencies.

> Task :generateJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':generateJava'.
> not a valid name: short

Expected result:
It should compile without errors.

That is expected behavior since short is a reserved keyword. We will need
to update codegen to accommodate that. Will fix this in the next release
soon.
On Tue, Sep 7, 2021 at 5:46 PM Iuliia Sobolevska @.***>
wrote:

Description:
generateJava fails with "not a valid name: short" for a GraphQL field
named 'short'.
This seems to happen only to Java projects with generateClient set to true.
Steps to reproduce:
I created a demo Gradle project using https://start.spring.io/ with Java
@8 https://github.com/8 + Spring Boot @2.5.4.
#build.gradle content
plugins {
id 'org.springframework.boot' version '2.4.10'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'com.netflix.dgs.codegen' version '5.0.6'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:latest.release"))
implementation "com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter"
}
test {
useJUnitPlatform()
}
generateJava {
schemaPaths = ["${projectDir}/src/main/resources/schema"] // List of directories containing schema files
packageName = 'com.example.demo.dto' // The package name to use to generate sources
generateClient = true // Enable generating the type safe query API
}
#schema.graphqls
type Query {
shows(titleFilter: String): [Show]
}
type Show {
description: FormattedDescription
}
type FormattedDescription {
short: String!
}
Actual result:
Then try to build the project:
$ ./gradlew build

Configure project :
DGS CodeGen added [com.netflix.graphql.dgs.codegen:graphql-dgs-codegen-client-core:5.0.6] to the implementation dependencies.

Task :generateJava FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':generateJava'.

not a valid name: short

Expected result:
It should compile without errors.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dgs-codegen/issues/216, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ5JPXMMN2AFFMP4GOSIGG3UA2W5RANCNFSM5DTPNYGQ
.

Fixed by PR #217


Where is etw_pytorch_utils?

Seems it require  etw_pytorch_utils, but I'm not sure where to put  etw_pytorch_utils. And is there a way to install  etw_pytorch_utils as a module.

That is an old repo of mine with some pytorch utils that are now almost entirely subsumed by libraries like pytorch-lightning and/or new features in pytorch proper.  That is is not needed for master in this repo.


Fix images on github org data page

Hey @jhaals, your changes in #5743 don't work in the deployed version: https://backstage.io/docs/integrations/github/org
The image links are broken. I think you have to place and link the images in the assets folder. It now works locally. Docs only, no changeset needed.

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Thanks for having my back @Fox32 🙌


Cannot load ApiDataFactory

What are you trying to achieve?
Use ApiDataFactory helper
What do you get instead?
Error:
Could not load helper ApiDataFactory from module './helper/ApiDataFactory':
Required modules are not installed.
RUN: npm install --save-dev unirest rosie
{}
Error:
at createHelpers (node_modules/codeceptjs/lib/container.js:125:13)
at Function.create (node_modules/codeceptjs/lib/container.js:28:25)
at Codecept.init (node_modules/codeceptjs/lib/codecept.js:54:15)
at Command.module.exports (node_modules/codeceptjs/lib/command/run.js:31:14)
at Command.listener (node_modules/commander/index.js:301:8)
at emitTwo (events.js:106:13)
at Command.emit (events.js:191:7)
at Command.parseArgs (node_modules/commander/index.js:615:12)
at Command.parse (node_modules/commander/index.js:458:21)
at Object. (node_modules/codeceptjs/bin/codecept.js:106:9)

Both unirest and rosie are actually installed:
$ npm list unirest rosie
<EMAIL_ADDRESS>/Users/user/my-app
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>The error is caused by missing const requireg = require('requireg') in ApiDataFactory.js:
  static _checkRequirements() {
    try {
      requireg("unirest");
      requireg("rosie");
    } catch(e) {
      return ["unirest", "rosie"]; // <= breakpoint here
    }
  }

> e
ReferenceError: requireg is not defined
message:"requireg is not defined"
stack:"ReferenceError: requireg is not defined\n    at Function._checkRequirements (node_modules/codeceptjs/lib/helper/ApiDataFactory.js:168:7)\n    at createHelpers (node_modules/codeceptjs/lib/container.js:112:40)\n    at Function.create (node_modules/codeceptjs/lib/container.js:28:25)\n    at Codecept.init (node_modules/codeceptjs/lib/codecept.js:54:15)\n    at Command.module.exports (node_modules/codeceptjs/lib/command/run.js:31:14)\n    at Command.listener (node_modules/commander/index.js:301:8)\n    at emitTwo (events.js:106:13)\n    at Command.emit (events.js:191:7)\n    at Command.parseArgs (node_modules/commander/index.js:615:12)\n    at Command.parse (node_modul...
__proto__:Error {name: "ReferenceError", message: ""}

Details

CodeceptJS version: 1.0.0
NodeJS Version: 6.9.4
Operating System: Max OSX Sierra

Thank you!

I can run successfully after adding require('requireg').globalize() in my codecept.conf.js, as a workaround.


update with latest from docker-ce-packaging

pulls in code for golang bump and packaging scripts

@seemethere


Restructuring 'Deploy dev environments' section

This PR includes the following changes for the Deploy development environments section:

Moved development-environments.mdx from reference/ to the new deploy/ folder
Moved launch-from-catalog.mdx and deploy-from-git.mdx from cloud/ to deploy/
Updated/fixed links to these pages
Added redirects for these pages

@omnomagonz I'm not sure I understand what these changes do. Sorry if I'm missing the context but the strucutre still remains the same on the deployed docs right? Are these changes to organize the docs repo better internally by changing where the files are kept?


backends.cuda.get_device_from_array should support variables

Currently it only supports cupy.ndarrays.
It may be cumbersome to use it in some cases.
For example, in function wrapper implementation that does not have its own FunctionNode class (i.e. implemented with combination of other functions), basically it should set the current device to the one where its input arrays are allocated. Otherwise, arrays newly allocated in the function will be on the incorrect "current" device (which has been set before entering this function), leading to the device mismatch error.
What makes it more complicated is that the function must accept both ndarrays and Variables.
General way to do this is something like this:
def some_func(x, y, z):
    with backends.cuda.get_device_from_array(*[a.array if isinstance(a, variable.Variable) else a for a in (x, y, z, ...)]):
        ...

It's better to allow this:
def some_func(x, y, z):
    with backends.cuda.get_device_from_array(x, y, z):
        ...

Refs https://github.com/chainer/chainer/issues/4595 https://github.com/chainer/chainer/pull/4604
We should decide how get_device_from_array should behave for uninitialized Variable (whose data is None), and not-yet-initialized Parameter.

We can extract the device from uninitialized Parameter (_initial_device). Uninitialized Variable does not have its device. In this case, maybe it's enough to just ignore that variable.
The implementation will be kept simple and fast by introducing device property to Variable and Parameter; we can then just use getattr(x, 'device', None) without type testing (it also works for np/cp ndarray).


Add a way to communicate agent information using an existing Realtime instance

Background
This arose in the context of https://github.com/ably-labs/ably-chat-swift/issues/18.
We currently have an agents client option (RFC7d6) but when this was created our non-core SDKs (e.g. Asset Tracking) were following a pattern in which said SDK would itself instantiate a RealtimeClient object, populating the agents client option with information about said SDK. These days, we follow (e.g. in Spaces and Chat) a different pattern in which the user of the SDK instantiates a RealtimeClient object.
The JS Chat SDK has "solved" this problem by using private API to access the private options property of the realtime client and then mutating these options’ agents property. For the Swift and Kotlin Chat SDKs, I would like us to instead be able to use an API that’s properly specified in this spec, even if marked as "experimental and for Ably-authored SDKs" only.
Requirements
From this internal Slack conversation with @AndyTWF, it sounds like the key requirement is that there be a way to instruct a given RealtimeClient instance to append a value to the Ably-Agent header that is sent when the client makes REST requests via the #request method.
Non-requirements?
From the aforementioned conversation with Andy, it sounds like the following are not needed at least for Chat:

the ability to control the Ably-Agent header that’s sent when a WebSocket connection is established to Ably (for tracking realtime Chat usage, it sounds like channel params are used instead)

but we need to confirm this with whoever is making use of this agent information (@ruimffl I think?)
Some things that might work for now

A client SDK could instead form the Ably-Agent header itself, using ClientInformation.agentIdentifier (CR3), and then pass this header in #request’s headers param. We’d need to make sure that we specified that a user-specified Ably-Agent header overrides that added by the SDK.
Or, we could add an agents argument to #request.

Scope of the mutation
Ideally, the above would actually read "when the client makes certain REST requests via the #request method"; that is, we don’t want to add this header to requests that the user issues through the RealtimeClient object.
┆Issue is synchronized with this Jira Task by Unito

@lawrence-forooghian @umair-ably @ttypic - how do we move this forward? could one of you own putting together a proposal around how we will address this? once we have this agreement we can then open the tickets in the relevant SDKs
I have created https://ably.atlassian.net/browse/ECO-4958 which one of you can assign yourselves to

Thanks @jamienewcomb! @lawrence-forooghian and @umair-ably it will be great if one of you can pick up this later, we can discuss this on the next planning, I added my thoughts to the jira ticket comments

Adding @ttypic’s comment here to keep all discussion in this issue:

We need to clarify the product requirements; we probably need to get direction from Rui and maybe Realtime team first. If we make changes to the spec, it should be a universal solution, not just for Chat. We already have a workaround in Spaces, another in Chat, and some magic calculations to support this on the analytics side. I personally have a very vague understanding of how stats are calculated.
For REST requests, the problem seems fairly trivial. We probably can always use the agent parameter, as we do for Chat and Spaces in JS. However, the current approach isn’t ideal—we're mutating RealtimeClient to add the agent, which is bad practice. Additionally, this likely introduces incorrect business logic, as the newly added agent will be propagated to all requests, not just those made by the Chat SDK.
For the Realtime connection, it’s a bit more complicated. The connection can be established either before or after the ChatClient (Chat here is an example) is created, so we can’t rely on the connection's agent parameter. The best option might be to use special channel parameters, but I don't think we currently have anything universal (like the agent parameter) that isn’t specific to Chat or Spaces for this purpose.

I’ve looked into it some more, and it seems like the Chat SDK’s approach to analytics is a copy of that of the Spaces SDK. That is, these wrapper SDKs:

Use ably-js private API to add an agent describing the wrapper SDK to the client options of the Realtime client that they were instantiated with; this has the effect of:

including the agent of the wrapper SDK in all REST requests made by the Realtime client subsequent to the initialisation of the wrapper SDK
including the agent of the wrapper SDK in the connection params for all realtime transport connections made by the Realtime client subsequent to the initialisation of the wrapper SDK (which, in the most common case, will mean on all realtime reconnections but not the initial connection)

Pass the agent channel param (e.g. spaces/1.2.3) to channels.get; this has the effect of sending the agent of the wrapper SDK in the ATTACH protocol message for that channel

The decision records that led to this behaviour seem to be:

MMDR2: Instrumenting the Space API to track usage

Defines the metrics that they’d like to be able to track
Does not explicitly agree to use private API

ADR-101: Tracking wrapper SDK usage

Provides a way to attribute a given channel attach event to a specific wrapper SDK, via the newly-defined agent channel param

Things I’m not sure of re current behaviour

Do we want to attribute realtime connection events to any wrapper SDK? Doesn't seem right given that a realtime connection can multiplex traffic from multiple wrapper SDKs, and also from non-wrapper usage of the same Realtime client. However, MMDR2 does list a couple of requirements that sound like they were intended to be implemented by attributing connections to a wrapper SDK:

No. of instantiations of the Space API
No. of peak connections set up via Space API methods (and total connections if possible)

Do we want to attribute all REST requests made by a given Realtime client to a wrapper SDK? I’d have thought that we only wish to attribute those that are explicitly made by that wrapper SDK.

Assumptions
I’ll assume the following, but need to be corrected if there are essential product requirements that these assumptions violate:

The only things we wish to be able to attribute to a given wrapper SDK are:

REST requests
Channel attach events

In particular, we do not wish to attribute a realtime connection event to any wrapper SDK.

Proposal

For attributing REST requests to a wrapper SDK, add an optional agents argument to {RestClient, RealtimeClient}#request, which accepts a ClientOptions.agents-like set of key-value pairs which will be added to the RSC7d2 Agent header. Document that this argument is only intended for Ably-authored SDKs, the same way as we do for ClientOptions.agents.
For attributing channel attach events to a wrapper SDK, continue to use the Spaces / JS Chat approach of using the agent channel param.

If people are happy with this approach, then I’ll also create an SDK decision record in order to record this as our decided approach to analytics for wrapper SDKs.

Do we want to attribute realtime connection events to any wrapper SDK? Doesn't seem right given that a realtime connection can multiplex traffic from multiple wrapper SDKs, and also from non-wrapper usage of the same Realtime client

I don't think this was the intention, no.
I think the original requirements of being able to attribute connections to the Spaces SDK were from before we changed the API so that Spaces didn't initialise its own client and thus no longer "owned" the connection, which is why we subsequently added the agent channel param so that we could attribute attachments to the SDK, and then indirectly the connections those attachments belong to.

Do we want to attribute all REST requests made by a given Realtime client to a wrapper SDK?

I don't think the Spaces SDK should be mutating the agents field on the client options, although it should be able to add the agent to REST requests it is responsible for initiating.

Do we want to attribute all REST requests made by a given Realtime client to a wrapper SDK?

I'm with Lewis on this one. For Chat we just followed what Spaces did, but from a data quality point of view, we only want requests actually made by Chat to show up as such.
So a parameter to that effect on the REST request method seems like a good way to go.

Internal RFC currently in review for this.


Parameterize individual job repo references

Currently, each job DSL script contains a hardcoded reference to the corresponding individual job repo, on the form https://github.com/org/repo .
It would be preferable if the organization wasn't hardcoded, as that makes these repos fork/duplication-unfriendly. For example, today all jobs are configured to point to the Kalmalyzer user's job repos.

Two other options, instead of parameterizing them:

Create per-environment folders in the "jobs" repo
Create one branch per environment in the "jobs" repo

We're going for option #2 for the time being.


"Error: Cannot find module 'to-style'" after attempting to "gatsby develop" cloned repo

Hi.
I cloned the repo using
gatsby new coolest-library https://github.com/pedronauck/gatsby-starter-docz
but I can't "gatsby develop" it, it shows an error. I followed instructions 100% so I guess this must be some kind of bug.
Here's the full printout:
$ gatsby develop
Something is already running at port 8000
Would you like to run the app at another port instead? [Y/n] y
Configuring yargs through package.json is deprecated and will be removed in the next major release, please use the JS API instead.
success open and validate gatsby-configs - 4.219 s

 ERROR

Error in "C:\Z\Poslovno\Web Dev\coolest-library\node_modules\gatsby-mdx\gatsby-node.js": Cannot find module 'to-style'

  Error: Cannot find module 'to-style'

  - loader.js:580 Function.Module._resolveFilename
    internal/modules/cjs/loader.js:580:15

  - loader.js:506 Function.Module._load
    internal/modules/cjs/loader.js:506:25

  - loader.js:636 Module.require
    internal/modules/cjs/loader.js:636:17

  - v8-compile-cache.js:159 require
    [coolest-library]/[v8-compile-cache]/v8-compile-cache.js:159:20

  - babel-plugin-html-attr-to-jsx-attr.js:2 Object.<anonymous>
    [coolest-library]/[gatsby-mdx]/utils/babel-plugin-html-attr-to-jsx-attr.js:2    :23

  - v8-compile-cache.js:178 Module._compile
    [coolest-library]/[v8-compile-cache]/v8-compile-cache.js:178:30

  - loader.js:699 Object.Module._extensions..js
    internal/modules/cjs/loader.js:699:10

  - loader.js:598 Module.load
    internal/modules/cjs/loader.js:598:32

  - loader.js:537 tryModuleLoad
    internal/modules/cjs/loader.js:537:12

  - loader.js:529 Function.Module._load
    internal/modules/cjs/loader.js:529:3

  - loader.js:636 Module.require
    internal/modules/cjs/loader.js:636:17

  - v8-compile-cache.js:159 require
    [coolest-library]/[v8-compile-cache]/v8-compile-cache.js:159:20

  - gen-mdx.js:9 Object.<anonymous>
    [coolest-library]/[gatsby-mdx]/utils/gen-mdx.js:9:27

  - v8-compile-cache.js:178 Module._compile
    [coolest-library]/[v8-compile-cache]/v8-compile-cache.js:178:30

  - loader.js:699 Object.Module._extensions..js
    internal/modules/cjs/loader.js:699:10

  - loader.js:598 Module.load
    internal/modules/cjs/loader.js:598:32

I solved it. It was actually very obvious, I just had to manually install the missing package,
i.e. npm install to-style
However, to-style was supposed to be installed automatically after cloning the repo and executing npm install, which didn't happen, probably because it wasn't listed in packages.json, so that's something that needs to be looked into.

Opened the same issue on original Docz repo: https://github.com/pedronauck/docz/issues/1004
Let's keep this one open too to track the problem

Still getting this, installing manually seemed to work.

faced the same issue.

2022 still getting this and need to install manually


Gatt download on old devices (like samsung galaxy s5) lead to fail and history is lost

As of Ruuvi FW 3.29.3 the RuuviTag kicks connection after 5 minutes, this protects against losing history. However, the app doesn't try to sync starting from latest received datapoints, but rather from last sync attempt.
If tag has data from Monday to Sunday and user tries to sync on Sunday, tag might give out only Monday and Tuesday. On second sync attempt app tries to get data starting from Sunday, leaving data from Wednesday to Saturday not fetched.

Looks like we can't do much on Android side. It depends on connection event length extension property of FW. Sync is fast if we use 3.28.13 even on samsung galaxy s5 it take seconds

Looks like we can't do much on Android side. It depends on connection event length extension property of FW. Sync is fast if we use 3.28.13 even on samsung galaxy s5 it take seconds

QA passed, not losing history for me on S5 when disconnected message shown.


Added Cuperino Union School District

Hyde Middle School
19325 Bollinger Rd,
Cupertino, CA, 95014
United States

@rmy0005 First stage of verification passed, official domain is cusdk8.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


Only trigger modules-instead-of-commands for specific VCS subcommands

git, hg, and svn do lots and lots of things, but their modules can
only do some of those things. Only trigger the
CommandsInsteadOfModules rule when those are being used to clone/check
out.
This does introduce some false negatives, e.g. where someone does 'git
--no-pager clone ...', but false negatives in this case are preferable
to false positives.

We have warn: no in the command module for this reason. I don't want to
overcomplicate this rule with special cases
On 26 Oct 2016 23:59, "Chris St. Pierre"<EMAIL_ADDRESS>wrote:

git, hg, and svn do lots and lots of things, but their modules can
only do some of those things. Only trigger the
CommandsInsteadOfModules rule when those are being used to clone/check
out.
This does introduce some false negatives, e.g. where someone does 'git
--no-pager clone ...', but false negatives in this case are preferable
to false positives.
You can view, comment on, or merge this pull request online at:
https://github.com/willthames/ansible-lint/pull/211
Commit Summary

Only trigger modules-instead-of-commands for specific subcommands

File Changes

M lib/ansiblelint/rules/CommandsInsteadOfModulesRule.py
https://github.com/willthames/ansible-lint/pull/211/files#diff-0 (5)

Patch Links:

https://github.com/willthames/ansible-lint/pull/211.patch
https://github.com/willthames/ansible-lint/pull/211.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/willthames/ansible-lint/pull/211, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAX6f1BMxXp03Y8WKgvSVyF5mSgwQPpLks5q31zJgaJpZM4KhNFk
.

These aren't special cases, though -- they're the only cases this module should care about. The vast majority of git (and svn, and so on) subcommand simply aren't relevant here. It doesn't make sense to continue producing false positives for the sake of avoiding the "overcomplication" of a 45-character change.

Okay, after looking at this a bit more I see your point. We don't want to just disable warnings in ansible-lint for these commands, but also in Ansible. It'd sure be nice if Ansible's warnings were smarter than they are, but they aren't, so we need a solution -- even if it's manual and dumb -- that works in both, and mine doesn't do that.


Não funciona nenhum comando

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

Eu dou entre para escrever um novo comando no html não escreve nada teclo p para paragrafo e não acontece nada só pula de linha

Hi there, can you give us more details what you are trying to do? It seems you are trying to have a live change in your source code show up in the browser?