Require is not defined

I don't understand how to use this plugin. I get an error with a simple code like this:
vite.config.js:
import { defineConfig } from "vite";
import vitePluginString from "vite-plugin-string";
import loadVersion from "vite-plugin-package-version";

import babel from "vite-plugin-babel";

export default ({ mode }) => {
  return defineConfig({
    server: {
      proxy: {
        "/api": {
          target: "http://localhost:8080",
          changeOrigin: true,
          secure: false,
        },
      },
    },
    plugins: [
      babel(),
      loadVersion(),
      vitePluginString({
        include: ["**/*.html"],
        exclude: ["node_modules/**", "./index.html"],
      }),
      ViteEjsPlugin(),
    ],
  });
};

.babelrc.js:
"use strict";

module.exports = {
  presets: [
    [
      "@babel/preset-env",
      {
        modules: "auto",
      },
    ],
  ],
  // plugins: [
  //   [
  //     "babel-plugin-ng-hot-reload",
  //     {
  //       angularGlobal: "angular",
  //     },
  //   ],
  // ],
};

index.js:
import _ from "lodash";

And it gives me this error:
Ucaught ReferenceError: require is not defined

What am I doing wrong? Would be really good if you had an example repo that uses this plugin

it's not plugin's fault. Babel is translating your code to CommonJS style with require import which means, your Babel config is wrong. Try setting modules to false

Yes, that was correct, wow guys that was really fast ahah) I was just going to write it here and close the ticket. Thank you


Pull 32 bytes for challenges and change sampling mechanism

This PR modifies the way the transcript pulls bytes to generate challenges:

Pull 32 bytes from the underlying STROBE entropy since it should be enough bytes for a field element. (The Rust implementation is pulling 64 bytes today, from what we discussed it will switch to 32 bytes in the near future).
The "bytes to Fr" transformation should be canonical, or continue sampling until that happens. (i.e: don't do "modulo wrapping"). As a reference, the Rust implementation calls from_random_bytes which fails if the bytes "doesn't fit" a Fr.

I don't quite understand how that code could be working all this time if the challenge_int >= curve_order check is needed. Any thoughts?

As far as I digged, the Fr type does wrapping around. In that case, it makes sense that it worked before, but it isn't how we expect to deserialize field elements. A serialized byte stream that would wrap around shouldn't be allowed.

Maybe related to https://github.com/nalinbhardwaj/curdleproofs.pie/issues/16 ?


Feature/seab 5179/mock interaction with agc

Just opening this up for general feedback not ready to merge yet
Description
This PR adds a new function to the tooltester called run-workflows. It allows you to run workflows that are in qa.dockstore.org (or any other dockstore site) and verify that they can run and see how long it takes them to run.
As an example, if you run
java -jar target/tooltester-0.1-alpha.0-SNAPSHOT.jar run-workflows

The output will be something like this (running the same entry in two different way here),
-----------------------------------
RUN STATISTICS:
ENTRY NAME: github.com/dockstore-testing/wes-testing/agc-fastq-read-counts:main
END STATE: COMPLETE
TASK NAME: fastqReadCounts.countFastqReads|XXXXX
START TIME: 2023-03-02T23:03:25.854Z
END TIME: 2023-03-02T23:03:29.375Z
DURATION: 0 minutes 3 seconds 521 milliseconds
-----------------------------------
RUN STATISTICS:
ENTRY NAME: github.com/dockstore-testing/wes-testing/agc-fastq-read-counts:main
END STATE: COMPLETE
TASK NAME: fastqReadCounts.countFastqReads|XXXXX
START TIME: 2023-03-02T23:03:25.864Z
END TIME: 2023-03-02T23:03:29.375Z
DURATION: 0 minutes 3 seconds 511 milliseconds
-----------------------------------

Currently to add a workflow to run on tooltester you must, first specify the "entry" name and the "version" of the workflow, then you can either choose to have the test parameter file locally and have tooltester upload it for you, or you can give the path of the test parameter file and the Ga4Ghv20Api will get the test parameter file for you.
Current Issues with Tooltester

Only S3 files are supported on AGC.This means that the test parameter file can only reference files that are in S3 and if it tries to reference any other files (such as local files or https files) it will cause agc to crash.
Currently only WDL files are supported, I am looking at seeing if I can get CWL to work now.
Only WDL version 1.0 files can be run, due to https://github.com/dockstore/dockstore/issues/5393 (Although when this ticket is resolved, any WDL version should work without any additional modification to this repo).
You have to manually enter all the workflows that you want to run.

Issue
SEAB-5179

To be able to use this you need to first set up WES using this tutorial.

I have been able to run tooltester and upload the results to AWS. I ran tooltester with the following workflows,
new WorkflowRunner("github.com/dockstore-testing/wes-testing/agc-fastq-read-counts", "main", "test-parameter-files/agc-fastq-read-counts-test-parameter-file.json", extendedGa4GhApi),
new WorkflowRunner("github.com/dockstore-testing/wes-testing/agc-fastq-read-counts", "main", "/agc-examples/fastq/input.json", ga4Ghv20Api, extendedGa4GhApi),
new WorkflowRunner("github.com/gatk-workflows/seq-format-conversion/BAM-to-Unmapped-BAM", "3.0.0", "test-parameter-files/BAM-to-Unmapped-BAM-test-parameter-file.json", extendedGa4GhApi),
new WorkflowRunner("github.com/manning-lab/vcfToGds", "main", "test-parameter-files/vcfToGds-test-parameter-file.json", extendedGa4GhApi)

The results in QA can be found at the following S3 URIs

s3://qa-dockstore-metrics-data-readreplica/workflow/github.com/dockstore-testing/wes-testing%2Fagc-fastq-read-counts/main/OTHER/1678142185075.json
s3://qa-dockstore-metrics-data-readreplica/workflow/github.com/dockstore-testing/wes-testing%2Fagc-fastq-read-counts/main/OTHER/1678142185255.json
s3://qa-dockstore-metrics-data-readreplica/workflow/github.com/gatk-workflows/seq-format-conversion%2FBAM-to-Unmapped-BAM/3.0.0/OTHER/1678142185354.json
s3://qa-dockstore-metrics-data-readreplica/workflow/github.com/manning-lab/vcfToGds/main/OTHER/1678142185473.json

I also intentionally had a workflow fail, result in QA found at

s3://qa-dockstore-metrics-data-readreplica/workflow/github.com/gatk-workflows/seq-format-conversion%2FBAM-to-Unmapped-BAM/3.0.0/OTHER/1678140951952.json

Currently planning on trying to get this merged with just the time statistic being uploaded, and then I will make another PR for other statistics.
This is PR is almost done, and I would appreciate any feedback that you have at the moment.

Think there's still something odd with circle-ci

CircleCI issue has been corrected.

We now have that the tooltester uploads the wall clock time and not the sum of the duration's of all the tasks. Although I have kept the code for the sum of the duration's of the tasks.
I have also made it such that the tooltester will upload the time taken for a workflow to run, regardless of its end state (ie. now we can see how long it took the workflow to fail). Because the AGC will sometimes display end times as null, I have added code in to ensure that if an end time is null, it won't create problems.
Below I have attached what the output of the tooltester now looks like (I intentionally had one of the workflows fail in this example).
example-run-with-failure.txt


[jvm-packages] Unknown metric function ndcg-

Environment info
Operating System:
Mac
Package used (python/R/jvm/C++):
jvm
xgboost version used:
0.7.0
I saw website https://github.com/dmlc/xgboost/blob/master/doc/parameter.md where mentioned that I could use "ndcg-" as a parameter for eval_metric. But when I used it, I got following error logs:
[11:39:24] /Users/zll/IdeaProjects/game/xgboost/src/metric/metric.cc:21: Unknown metric function ndcg-
But if I change to ndcg, everything could be fine. So, could I use ndcg- for training my model?

hi
did you fix the problem？

@yangl326-Dylan not yet, but you could set 2 as the positive label, and 1 (default value) would denote as the negative label.

Closing this for the lack of activity in last 90 days. Any future discussions are welcome at https://discuss.xgboost.ai/.


Renaming "Totals" column label

Hi, is it possible to rename the aggregator output column name, "Totals", to some custom string? I know there are a couple of questions regarding this, but no definitive answer.
Much appreciated!

Yes, you can localize the strings shown in the output.


How to download SubDyn_win32.exe

I want to run SubDyn module to obtain a stiffness matrix, but when I download SubDyn archive from Github, I couldn't find SubDyn_win32.exe in bin folder, can someone provide this exe file?
Thanks a lot!

The SubDyn archive that was on the old nwtc.nrel.gov site can be downloaded here: https://drive.google.com/drive/folders/1e8VzJworJ1QJHu1rvsbAOuw0QFFuFwqS
However, all new development of SubDyn is available on the OpenFAST GitHub site.

WOW, Thanks a lot for your information.


containers entering and leaving UNKNOWN state constantly

Description
On an idle system, after a few days, containers on that system have begun to enter an UNKNOWN state and then shortly after they are no longer UNKNOWN but other new containers enter the UNKNOWN state.
# ctr -n k8s.io tasks ls | grep -v RUNNING
TASK                                                                PID        STATUS
286cd84ed1b77e1c38a978a2dfe9d27dfcce17000d258cc87ce08a534801d4c0    2991141    STOPPED
bdef4e5a7997d72424ae03533b0c3c79b8984e6f484c612a4765efa3aaa87d80    2989001    STOPPED
039615b58a308b8cd4195e0eaafda39a8cf5d85ed2c1e19ac9867c3cac760f78    0          UNKNOWN
4353acaea26effba5f2bbad7f57ef21bcb1f94662a5a78470ce37660d23002c2    0          UNKNOWN
5f1b35b6bc7e8db1590662d14ef7420897376cf437d556ee8d1dfc842afa0708    0          UNKNOWN
975572dc225e2d91a7ef431d0ed8b2cc1292926196527d5c3ecc8b507e1623fd    0          UNKNOWN
dec4206c25b8235a3664a9d775635db47016857b48c5e9e0a88ea1a78bea7ffc    3159018    STOPPED
# date
Thu Jun  1 21:01:08 UTC 2023

# ctr -n k8s.io tasks ls | grep -v RUNNING
TASK                                                                PID        STATUS
286cd84ed1b77e1c38a978a2dfe9d27dfcce17000d258cc87ce08a534801d4c0    2991141    STOPPED
bdef4e5a7997d72424ae03533b0c3c79b8984e6f484c612a4765efa3aaa87d80    2989001    STOPPED
4b7a347d5c83eff637d51e224f62e05b24e09c9d3e73415762854e6750827b41    0          UNKNOWN
ba981aa75ced9c837a0a1c953f672fd3240cf54fdf1027aee1ea6c430699b037    0          UNKNOWN
192d6ea5027838b273238098ed858ac0ecc63f85a9aeeea828c05012dd318086    0          UNKNOWN
3c2cde85999b2d3999b50cae49b67e417424930a81c23f49401333960df7652f    0          UNKNOWN
a2d1de04a774ac3bfcf9428bd14ffd03e47f141a129c27d9ea56336e77549590    0          UNKNOWN
162a5fda5a185de8d030dae8907266a80ebaa43dc7071c91867d9d8fc17c67ac    0          UNKNOWN
dec4206c25b8235a3664a9d775635db47016857b48c5e9e0a88ea1a78bea7ffc    3159018    STOPPED
# date
Thu Jun  1 21:03:10 UTC 2023

Aside from that, I also checked top for CPU usage and for zombie processes. CPU usage does spike but zombie processes are not accumulating, but rather it moves between 16-19 zombie processes at one time
# ps aux | grep 'Z'
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      130544  0.0  0.0      0     0 ?        Z    19:21   0:00 [etcdctl] <defunct>
root      174464  0.0  0.0      0     0 ?        Z    20:06   0:01 [etcdctl] <defunct>
root      223819  0.0  0.0   8156   720 pts/0    S+   20:47   0:00 grep --color=auto Z
root     3786872  0.0  0.0      0     0 ?        Z    12:21   0:00 [etcdctl] <defunct>
root     3818812  0.0  0.0      0     0 ?        Z    12:47   0:01 [etcdctl] <defunct>
root     3831673  0.0  0.0      0     0 ?        Z    12:56   0:00 [etcdctl] <defunct>
root     3834429  0.0  0.0      0     0 ?        Z    12:59   0:01 [etcdctl] <defunct>
root     3836379  0.0  0.0      0     0 ?        Z    13:01   0:00 [etcdctl] <defunct>
root     3872437  0.0  0.0      0     0 ?        Z    13:29   0:00 [etcdctl] <defunct>
root     3888246  0.0  0.0      0     0 ?        Z    13:41   0:00 [etcdctl] <defunct>
root     3913216  0.0  0.0      0     0 ?        Z    14:02   0:00 [etcdctl] <defunct>
root     3958962  0.0  0.0      0     0 ?        Z    14:37   0:00 [etcdctl] <defunct>
root     3964062  0.0  0.0      0     0 ?        Z    14:41   0:01 [etcdctl] <defunct>
root     3980945  0.0  0.0      0     0 ?        Z    14:54   0:01 [etcdctl] <defunct>
root     3994609  0.0  0.0      0     0 ?        Z    15:07   0:00 [etcdctl] <defunct>
root     3995238  0.0  0.0      0     0 ?        Z    15:08   0:01 [etcdctl] <defunct>
root     3995799  0.0  0.0      0     0 ?        Z    15:09   0:01 [etcdctl] <defunct>
root     3998548  0.0  0.0      0     0 ?        Z    15:11   0:00 [etcdctl] <defunct>
# pstree -p -s 3964062
systemd(1)───containerd-shim(464269)───etcd(3781143)───etcdctl(3964062)

the zombie processes seem to stem from a containerd-shim process.
Steps to reproduce the issue
N/A
Describe the results you received and expected
idle system that was installed successfully/healthy went into an unstable state after a few days.
What version of containerd are you using?
1.6.20
Any other relevant information
runc version 1.1.5
crictl info
{
  "status": {
    "conditions": [
      {
        "type": "RuntimeReady",
        "status": true,
        "reason": "",
        "message": ""
      },
      {
        "type": "NetworkReady",
        "status": true,
        "reason": "",
        "message": ""
      }
    ]
  },
  "cniconfig": {
    "PluginDirs": [
      "/opt/cni/bin"
    ],
    "PluginConfDir": "/etc/cni/net.d",
    "PluginMaxConfNum": 1,
    "Prefix": "eth",
    "Networks": [
      {
        "Config": {
          "Name": "cni-loopback",
          "CNIVersion": "0.3.1",
          "Plugins": [
            {
              "Network": {
                "type": "loopback",
                "ipam": {},
                "dns": {}
              },
              "Source": "{\"type\":\"loopback\"}"
            }
          ],
          "Source": "{\n\"cniVersion\": \"0.3.1\",\n\"name\": \"cni-loopback\",\n\"plugins\": [{\n  \"type\": \"loopback\"\n}]\n}"
        },
        "IFName": "lo"
      },
      {
        "Config": {
          "Name": "k8s-pod-network",
          "CNIVersion": "0.3.1",
          "Plugins": [
            {
              "Network": {
                "type": "calico",
                "ipam": {
                  "type": "calico-ipam"
                },
                "dns": {}
              },
              "Source": "{\"datastore_type\":\"kubernetes\",\"ipam\":{\"type\":\"calico-ipam\"},\"kubernetes\":{\"kubeconfig\":\"/etc/cni/net.d/calico-kubeconfig\"},\"log_level\":\"info\",\"mtu\":1440,\"nodename\":\"apicdev3176\",\"policy\":{\"type\":\"k8s\"},\"type\":\"calico\"}"
            },
            {
              "Network": {
                "type": "portmap",
                "capabilities": {
                  "portMappings": true
                },
                "ipam": {},
                "dns": {}
              },
              "Source": "{\"capabilities\":{\"portMappings\":true},\"snat\":true,\"type\":\"portmap\"}"
            },
            {
              "Network": {
                "type": "bandwidth",
                "capabilities": {
                  "bandwidth": true
                },
                "ipam": {},
                "dns": {}
              },
              "Source": "{\"capabilities\":{\"bandwidth\":true},\"type\":\"bandwidth\"}"
            }
          ],
          "Source": "{\n  \"name\": \"k8s-pod-network\",\n  \"cniVersion\": \"0.3.1\",\n  \"plugins\": [\n    {\n      \"type\": \"calico\",\n      \"log_level\": \"info\",\n      \"datastore_type\": \"kubernetes\",\n      \"nodename\": \"apicdev3176\",\n      \"mtu\": 1440,\n      \"ipam\": {\n          \"type\": \"calico-ipam\"\n      },\n      \"policy\": {\n          \"type\": \"k8s\"\n      },\n      \"kubernetes\": {\n          \"kubeconfig\": \"/etc/cni/net.d/calico-kubeconfig\"\n      }\n    },\n    {\n      \"type\": \"portmap\",\n      \"snat\": true,\n      \"capabilities\": {\"portMappings\": true}\n    },\n    {\n      \"type\": \"bandwidth\",\n      \"capabilities\": {\"bandwidth\": true}\n    }\n  ]\n}\n"
        },
        "IFName": "eth0"
      }
    ]
  },
  "config": {
    "containerd": {
      "snapshotter": "overlayfs",
      "defaultRuntimeName": "runc",
      "defaultRuntime": {
        "runtimeType": "",
        "runtimePath": "",
        "runtimeEngine": "",
        "PodAnnotations": [],
        "ContainerAnnotations": [],
        "runtimeRoot": "",
        "options": {},
        "privileged_without_host_devices": false,
        "baseRuntimeSpec": "",
        "cniConfDir": "",
        "cniMaxConfNum": 0
      },
      "untrustedWorkloadRuntime": {
        "runtimeType": "",
        "runtimePath": "",
        "runtimeEngine": "",
        "PodAnnotations": [],
        "ContainerAnnotations": [],
        "runtimeRoot": "",
        "options": {},
        "privileged_without_host_devices": false,
        "baseRuntimeSpec": "",
        "cniConfDir": "",
        "cniMaxConfNum": 0
      },
      "runtimes": {
        "runc": {
          "runtimeType": "io.containerd.runc.v2",
          "runtimePath": "",
          "runtimeEngine": "",
          "PodAnnotations": [],
          "ContainerAnnotations": [],
          "runtimeRoot": "",
          "options": {
            "BinaryName": "",
            "CriuImagePath": "",
            "CriuPath": "",
            "CriuWorkPath": "",
            "IoGid": 0,
            "IoUid": 0,
            "NoNewKeyring": false,
            "NoPivotRoot": false,
            "Root": "",
            "ShimCgroup": "",
            "SystemdCgroup": false
          },
          "privileged_without_host_devices": false,
          "baseRuntimeSpec": "",
          "cniConfDir": "",
          "cniMaxConfNum": 0
        }
      },
      "noPivot": false,
      "disableSnapshotAnnotations": true,
      "discardUnpackedLayers": false,
      "ignoreRdtNotEnabledErrors": false
    },
    "cni": {
      "binDir": "/opt/cni/bin",
      "confDir": "/etc/cni/net.d",
      "maxConfNum": 1,
      "confTemplate": "",
      "ipPref": ""
    },
    "registry": {
      "configPath": "",
      "mirrors": {},
      "configs": {},
      "auths": {},
      "headers": {}
    },
    "imageDecryption": {
      "keyModel": "node"
    },
    "disableTCPService": true,
    "streamServerAddress": "<IP_ADDRESS>",
    "streamServerPort": "0",
    "streamIdleTimeout": "4h0m0s",
    "enableSelinux": false,
    "selinuxCategoryRange": 1024,
    "sandboxImage": "registry.k8s.io/pause:3.6",
    "statsCollectPeriod": 10,
    "systemdCgroup": false,
    "enableTLSStreaming": false,
    "x509KeyPairStreaming": {
      "tlsCertFile": "",
      "tlsKeyFile": ""
    },
    "maxContainerLogSize": 16384,
    "disableCgroup": false,
    "disableApparmor": false,
    "restrictOOMScoreAdj": false,
    "maxConcurrentDownloads": 3,
    "disableProcMount": false,
    "unsetSeccompProfile": "",
    "tolerateMissingHugetlbController": true,
    "disableHugetlbController": true,
    "device_ownership_from_security_context": false,
    "ignoreImageDefinedVolumes": false,
    "netnsMountsUnderStateDir": false,
    "enableUnprivilegedPorts": false,
    "enableUnprivilegedICMP": false,
    "containerdRootDir": "/var/lib/containerd",
    "containerdEndpoint": "/run/containerd/containerd.sock",
    "rootDir": "/var/lib/containerd/io.containerd.grpc.v1.cri",
    "stateDir": "/run/containerd/io.containerd.grpc.v1.cri"
  },
  "golang": "go1.19.7",
  "lastCNILoadStatus": "OK",
  "lastCNILoadStatus.default": "OK"
}

uname -a
Linux apicdev3176 5.4.0-132-generic #148-Ubuntu SMP Mon Oct 17 16:02:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Show configuration if it is related to CRI plugin.
disabled_plugins = []
imports = []
oom_score = 0
plugin_dir = ""
required_plugins = []
root = "/var/lib/containerd"
state = "/run/containerd"
temp = ""
version = 2

[cgroup]
  path = ""

[debug]
  address = ""
  format = ""
  gid = 0
  level = ""
  uid = 0

[grpc]
  address = "/run/containerd/containerd.sock"
  gid = 0
  max_recv_message_size = 16777216
  max_send_message_size = 16777216
  tcp_address = ""
  tcp_tls_ca = ""
  tcp_tls_cert = ""
  tcp_tls_key = ""
  uid = 0

[metrics]
  address = ""
  grpc_histogram = false

[plugins]

  [plugins."io.containerd.gc.v1.scheduler"]
    deletion_threshold = 0
    mutation_threshold = 100
    pause_threshold = 0.02
    schedule_delay = "0s"
    startup_delay = "100ms"

  [plugins."io.containerd.grpc.v1.cri"]
    device_ownership_from_security_context = false
    disable_apparmor = false
    disable_cgroup = false
    disable_hugetlb_controller = true
    disable_proc_mount = false
    disable_tcp_service = true
    enable_selinux = false
    enable_tls_streaming = false
    enable_unprivileged_icmp = false
    enable_unprivileged_ports = false
    ignore_image_defined_volumes = false
    max_concurrent_downloads = 3
    max_container_log_line_size = 16384
    netns_mounts_under_state_dir = false
    restrict_oom_score_adj = false
    sandbox_image = "registry.k8s.io/pause:3.6"
    selinux_category_range = 1024
    stats_collect_period = 10
    stream_idle_timeout = "4h0m0s"
    stream_server_address = "<IP_ADDRESS>"
    stream_server_port = "0"
    systemd_cgroup = false
    tolerate_missing_hugetlb_controller = true
    unset_seccomp_profile = ""

    [plugins."io.containerd.grpc.v1.cri".cni]
      bin_dir = "/opt/cni/bin"
      conf_dir = "/etc/cni/net.d"
      conf_template = ""
      ip_pref = ""
      max_conf_num = 1

    [plugins."io.containerd.grpc.v1.cri".containerd]
      default_runtime_name = "runc"
      disable_snapshot_annotations = true
      discard_unpacked_layers = false
      ignore_rdt_not_enabled_errors = false
      no_pivot = false
      snapshotter = "overlayfs"

      [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime]
        base_runtime_spec = ""
        cni_conf_dir = ""
        cni_max_conf_num = 0
        container_annotations = []
        pod_annotations = []
        privileged_without_host_devices = false
        runtime_engine = ""
        runtime_path = ""
        runtime_root = ""
        runtime_type = ""

        [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime.options]

      [plugins."io.containerd.grpc.v1.cri".containerd.runtimes]

        [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
          base_runtime_spec = ""
          cni_conf_dir = ""
          cni_max_conf_num = 0
          container_annotations = []
          pod_annotations = []
          privileged_without_host_devices = false
          runtime_engine = ""
          runtime_path = ""
          runtime_root = ""
          runtime_type = "io.containerd.runc.v2"

          [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
            BinaryName = ""
            CriuImagePath = ""
            CriuPath = ""
            CriuWorkPath = ""
            IoGid = 0
            IoUid = 0
            NoNewKeyring = false
            NoPivotRoot = false
            Root = ""
            ShimCgroup = ""
            SystemdCgroup = false

      [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime]
        base_runtime_spec = ""
        cni_conf_dir = ""
        cni_max_conf_num = 0
        container_annotations = []
        pod_annotations = []
        privileged_without_host_devices = false
        runtime_engine = ""
        runtime_path = ""
        runtime_root = ""
        runtime_type = ""

        [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime.options]

    [plugins."io.containerd.grpc.v1.cri".image_decryption]
      key_model = "node"

    [plugins."io.containerd.grpc.v1.cri".registry]
      config_path = ""

      [plugins."io.containerd.grpc.v1.cri".registry.auths]

      [plugins."io.containerd.grpc.v1.cri".registry.configs]

      [plugins."io.containerd.grpc.v1.cri".registry.headers]

      [plugins."io.containerd.grpc.v1.cri".registry.mirrors]

    [plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming]
      tls_cert_file = ""
      tls_key_file = ""

  [plugins."io.containerd.internal.v1.opt"]
    path = "/opt/containerd"

  [plugins."io.containerd.internal.v1.restart"]
    interval = "10s"

  [plugins."io.containerd.internal.v1.tracing"]
    sampling_ratio = 1.0
    service_name = "containerd"

  [plugins."io.containerd.metadata.v1.bolt"]
    content_sharing_policy = "shared"

  [plugins."io.containerd.monitor.v1.cgroups"]
    no_prometheus = false

  [plugins."io.containerd.runtime.v1.linux"]
    no_shim = false
    runtime = "runc"
    runtime_root = ""
    shim = "containerd-shim"
    shim_debug = false

  [plugins."io.containerd.runtime.v2.task"]
    platforms = ["linux/amd64"]
    sched_core = false

  [plugins."io.containerd.service.v1.diff-service"]
    default = ["walking"]

  [plugins."io.containerd.service.v1.tasks-service"]
    rdt_config_file = ""

  [plugins."io.containerd.snapshotter.v1.aufs"]
    root_path = ""

  [plugins."io.containerd.snapshotter.v1.btrfs"]
    root_path = ""

  [plugins."io.containerd.snapshotter.v1.devmapper"]
    async_remove = false
    base_image_size = ""
    discard_blocks = false
    fs_options = ""
    fs_type = ""
    pool_name = ""
    root_path = ""

  [plugins."io.containerd.snapshotter.v1.native"]
    root_path = ""

  [plugins."io.containerd.snapshotter.v1.overlayfs"]
    root_path = ""
    upperdir_label = false

  [plugins."io.containerd.snapshotter.v1.zfs"]
    root_path = ""

  [plugins."io.containerd.tracing.processor.v1.otlp"]
    endpoint = ""
    insecure = false
    protocol = ""

[proxy_plugins]

[stream_processors]

  [stream_processors."io.containerd.ocicrypt.decoder.v1.tar"]
    accepts = ["application/vnd.oci.image.layer.v1.tar+encrypted"]
    args = ["--decryption-keys-path", "/etc/containerd/ocicrypt/keys"]
    env = ["OCICRYPT_KEYPROVIDER_CONFIG=/etc/containerd/ocicrypt/ocicrypt_keyprovider.conf"]
    path = "ctd-decoder"
    returns = "application/vnd.oci.image.layer.v1.tar"

  [stream_processors."io.containerd.ocicrypt.decoder.v1.tar.gzip"]
    accepts = ["application/vnd.oci.image.layer.v1.tar+gzip+encrypted"]
    args = ["--decryption-keys-path", "/etc/containerd/ocicrypt/keys"]
    env = ["OCICRYPT_KEYPROVIDER_CONFIG=/etc/containerd/ocicrypt/ocicrypt_keyprovider.conf"]
    path = "ctd-decoder"
    returns = "application/vnd.oci.image.layer.v1.tar+gzip"

[timeouts]
  "io.containerd.timeout.bolt.open" = "0s"
  "io.containerd.timeout.shim.cleanup" = "5s"
  "io.containerd.timeout.shim.load" = "5s"
  "io.containerd.timeout.shim.shutdown" = "3s"
  "io.containerd.timeout.task.state" = "2s"

[ttrpc]
  address = ""
  gid = 0
  uid = 0

cc @mikebrow

logs and version of kubernetes pls

kubernetes version 1.26.1
containerd logs:
containerd-logs.txt.zip

@fuweid @mxpv thoughts?

Ack. Trying to reproduce it in my local. Thanks for reporting this.

yeah a checkDeleteError and cover the extra cases sounds like a good idea!

@fuweid strangely enough, there are no longer any UNKNOWN containers and the zombie processes are all gone even though env was left untouched so looks like the env has stabilized but will provide this information if the issue occurs again.

@kennyqn Thanks for the reply. Would you mind to check the dmesg log? It seems like the node was under IO or memory pressure. And did it restart?

@fuweid attaching the dmesg log
dmesg-log.txt
last reboot of the node was May 30th so well before seeing this issue.

@fuweid Any update on this?

possibly related lock contention associated with multiple parallel task execs  PR: https://github.com/containerd/containerd/pull/8617
Note the part about "which could manifest as an exit event being published before a start event in certain cases."

@kennyqn and @coderluy I'm trying to check it out and reproduce it in the limited-resource host. Will update it if I find something new.

@geoleary please provide more log about this. the symptoms only is not helping. thanks

We see similar behaviour.
Kubectl describe shows that the pod is as pending because the init container is still running
# crictl on the node shows the container /pod is running
root@gke-xxx:/home/vijayt# crictl ps  | grep sxdb
b970f312fa513       c928a0c9f7fdf       27 hours ago        Running             sxdb-node-labeller      0                   d59755cf5269a       XXXX-sxdbrest-75f65fb7cc-bgj78

# crictl inspect also shows the container is running
root@gke-xxx:/home/vijayt# crictl inspect b970f312fa513 | grep -i state
    "state": "CONTAINER_RUNNING",

# but ctr show that it is stopped
root@gke-xxx:/home/vijayt# ctr -n k8s.io tasks ls
TASK                                                                PID     STATUS
e8254d12cd9c7b6ae18a12b6481e5b749b232439d662fa5a395d28d78635912a    4076    RUNNING
73df2f83737fc2f2ac34a121e8472c74d6e0f4133378c3604dc406bb32c23cca    4339    RUNNING
d898fc202ea0765fe614e03c28eead0817188dc3a023df7fad8b505c13bea194    4648    RUNNING
6407bb7a3a64c6d0100261d3b7ddd86384591797a6a38cc24772b54fe51d69a9    5426    RUNNING
e16b0fa7c8377061350eb27ad9dc347623dfc3eaae95af0b5ced03abc0dea1d8    4148    RUNNING
11d60127c603b07605126c4877d939b9cdd08553649390f545f725b095259eaa    5674    RUNNING
478394257d97b0b79507f226dd9277872f3b81e26575f9927e5e03744f862832    4301    RUNNING
307ca1e8b67ae82faac151c658f18f3e1097957134af86e9c0f35c4ab50962c3    3827    RUNNING
61fab7dfd479484b506e1ed22ba40cd7b9fce72fb86051998cbd844397c2c97d    6090    RUNNING
6903ed6c316b26e6a871ba7255ae8e5e0f52d6d5aabe0307f625176eff242eaa    5515    RUNNING
8e48ed1b4a36affb33603faa732a2b3c455500ef879d1938f9f97f07f6264891    4149    RUNNING
a385b782e166611ee359ae9dde45e9a2e1bc43799bbf104b5adb1739cbdb89f2    5980    RUNNING
b875ddab6d95ea421bb3f3a2492961426171f31a134cadf56c654a8e2b9fc025    4994    RUNNING
22788b1897b1537221c5516374985b3d1a8cd0360eee07e7c7b8ed6c52e114bb    3921    RUNNING
2f9d43d8c2b6abc58ac17e47b3fb9033cf727ce58d81f519d73b8f63651905b3    4583    RUNNING
bbada44619437a71bbba2e893881f4df60ec3c4218546020ec459a6448b7a9b0    3856    RUNNING
dd46634b7502f9d43d17e85fa72bee98b33a365796205380d1f6c88bc4424e7a    4682    RUNNING
b970f312fa51349332ed4a7696376a727c94df7b1e5ad0c452a9f363db5f67c4    5873    STOPPED
d59755cf5269a6f42e51cb77efc7a19bf50d352e4de255c88d0fe56844d3467b    4938    RUNNING
46f46d1bcf468ab15ea2fe7eed137a47b9b3d03763e5777029745897e10a12f5    4256    RUNNING
a97955c111641af3d8e1f282535cf1dd59569f2e5f856acd77552140acc07b96    5249    RUNNING

root@gke-xxx:/home/vijayt# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"

crictl exec ...throws an error error executing command in container: failed to exec in container: failed to create exec <....>: cannot exec in a stopped state: unknown
root@gke-xxx:/home/vijayt# crictl version
Version:  0.1.0
RuntimeName:  containerd
RuntimeVersion:  1.6.18-0ubuntu0~22.04.2~gke1
RuntimeApiVersion:  v1

GKE/K8S Version:	1.25.8-gke.1000
Attaching the dmesg and containerd logs
logs.zip

We are facing same issue. The container is in a state neither it is running nor getting terminated. Any possible quick fix?

Probably related to - https://github.com/kubernetes/kubernetes/issues/115192
We're also experiencing this

/sub


Updating Profile Tab To Include New Metrics

For columns with fields (dates and timestamp), additional metric such as "Earliest" and "Latest" should be included as a metric to the Profiler tab.

cc @pmbrull

Hey I already began working on this


Animate maps in background on location change

The maps in the background seems to be flashing right now.

I think I've figured out how to reproduce this. It's when using the browser geolocation. When searching, I don't get the flicker. Once I click the geolocation button, or load the app for the first time and let the it use geolocation, I see the double flicker. Can you confirm?
I think I know what's going on and can issue a fix for this.

I cannot reproduce it at the moment, it could just be slow internet which is "downloading" the map in the background.


long file paths causing a crash

i experienced crashes with long file names, i dont know if there is a limit on the total path length but after debugging it seems that
selected_path = file_explorer.SelectedFileSystem.path
is not the correct full path.

Yes, there is a limit above 170 characters or something that I can't remember. Also, it's best to avoid long file names.


zlib relocate issues

https://github.com/BitShares/fc/commit/6ddf1639c5862f25ac3e66a8287a2b820d5183ab

https://github.com/BitShares/fc/pull/3

Fixed there https://github.com/BitShares/fc/pull/3, upgrade the submodule fc next


Module build failed Error: The path for file doesn't contain relativeTo param - Not able to bundle the htmls of parallel module

I am using Webpack5 to build the below angularjs project
My project structure as below
-Editor

App

Client
index.js
.... HTML, js and png files
Logic
.... htmls, js

I have bundled the HTML, js and png Files of Client module in Client/dist/bundle.min.js file
My index.js file of Client Module also trying to import the htmls available in Logic Module.
In my webpack , I used html-loader and htmlwebpackplungin. Also i have used ngtemplate-loader.
module: {
rules: [{
test: /.html$/,
oneOf: [
{
  use: [
   {
      loader: 'ngtemplate-loader', options: {
      relativeTo: 'client/',
      module: 'builderClient'
      }
    },
    {
      loader: 'html-loader',
      options: {
      esModule: false,
    },
  }
  ],
  exclude : [path.resolve(__dirname, './node_modules'),
  //path.resolve(__dirname, '../logic/node_modules'),
  path.resolve(__dirname, './index.html')],
},

plugins: [
new HtmlWebpackPlugin({
inject : 'body',
template:'./index.html',
filename: 'index.html'
}),
],
I am receiving the below error for each HTML file available under Logic Module
ERROR in ../logic/scripts/selector/selector.component.html
Module build failed (from ./node_modules/ngtemplate-loader/index.js):
Error: The path for file doesn't contain relativeTo param
at Object.module.exports (C:\sources\Editor\app\client\node_modules\ngtemplate-loader\index.js:38:15)
@ ../logic/scripts/ sync .html$ ./selector/selector.component.html
@ ./index.js 170:10-62

I got the same problem. Is there any method to resolve?


Node.js util.inspect

Just had and idea so we can easily process Sets and Maps etc. for display. Why not use node's util.inspect? It works quite well, recursively also, and is injected by webpack for browser usage.

Plus it will work with Immutable.js since their objects implement the .inspect method.

Sounds sensible, I'd like to keep webpack as optional, but we can use https://github.com/defunctzombie/node-util directly.

Just a little problem though :). This module hasn't been updated to comply with latest Node v4 & v5 version and does not display ES2015 objects neatly.

Ah, do you know which shim webpack uses?

This very module.

Solutions are:

I get involved with the module and try a PR.
We use node.js' sources themselves.

The node sources have a lot of stuff that would only work on node itself - using native checks for types

https://github.com/Xotic750/inspect-x appears to be very comprehensive

Good catch. Let's try if this work. If this correctly implement object.inspect it could work. Let's try it!

Going to give it a go right now, looks like it might cover almost all the cases we care about

Hit an issue https://github.com/Xotic750/inspect-x/issues/43

It seems we are the victims of quite a persistent curse.

Fixed in 2fe720e73023410500d90242ac06d18025461036


Update Composer dependencies (2021-03-05-00-13)

Visual regression test passed!
View the visual regression test report


upload uninstall_cnmon.sh for 2.2 release

verified the script works for both 2.1 and 2.2

I approve this PR.


implement CLI boilerplate

See https://github.com/sindresorhus/node-module-boilerplate/issues/1

All done. Though I personally don't like pulling chalk in from the beginning as I would just end up getting rid of it in most cases.

Though I personally don't like pulling chalk in from the beginning as I would just end up getting rid of it in most cases.

Hmm, I've been going back and forth on it for a while now. The thinking is that it's a good way to show noobs the possibility of using colors in the CLI, like we have meow for easy cli handling, we have filler functionality in the module and CLI so they get some output from the start. We probably don't need this (but are we really the target base?), but many might appreciate as it gives a good opinionated starting point. Still not sure though.

//@kevva

We probably don't need this (but are we really the target base?), but many might appreciate as it gives a good opinionated starting point. Still not sure though.

I rarely use or need colors and I doubt that the majority of CLI apps really need this either. And if so, maybe make it an option? Not sure where to draw the line between beginner friendly and unnecessary.

but many might appreciate as it gives a good opinionated starting point

Yeah, that's definitely a good point, I don't want people to start using colors.js anymore :p
Though I think I personally still wouldn't include it. At I think you built this generator mainly for productivity, not teach others about best practices, right?

Though I think I personally still wouldn't include it. I think you built this generator mainly for productivity, not teach others about best practices, right?

Ok, drop it.

Should we add some cli keywords if this option is chosen maybe?

Should we add some general cli keywords if this option is chosen maybe?

I added 3 but I guess more wouldn't hurt. Suggestions?

Whoops, totally missed that! Great :).

Better to just document it in the readme.

Agreed. Dropped chalk and added a tip about it to the readme.

Awesome! Thanks @arthurvr. And thanks to both for disagreeing with me. This was the right way.
I did some minor tweaks https://github.com/sindresorhus/generator-nm/commit/f5d7bb5c9b76d8da081de205e17f19dbfc2b22c3 and released as 1.3.0.
@arthurvr Would you mind porting the CLI to https://github.com/sindresorhus/node-module-boilerplate/ I guess the right choice there is a new folder called boilerplate-cli.

@sindresorhus Yup. I'll take care of that. Would you like to only have cli.js in that folder or a "new version" of the boilerplate with the CLI?

New version of the boilerplate. Some duplication is worth it to make it simpler for users.


Add handling for double underscores

This is to align with change done in metamath/metamath-exe#160, to handle cases discovered in metamath/set.mm#3389.
Before these changes, double underscores were treated as subscript. They are now correctly ignored and returned as a single span.
To be complete, in addition to these changes, the unescape_text function in CommentItem should also transform double underscores into single underscores. @digama0, what's your proposal for those?

@tirix I made a modification here to inline get_underscore_mode since the advantage of having a separate function is reduced if it is not using ? anymore, but maybe the new code is a bit too terse. LMK what you think.

@tirix I made a modification here to inline get_underscore_mode since the advantage of having a separate function is reduced if it is not using ? anymore, but maybe the new code is a bit too terse. LMK what you think.

Yes indeed, and there is no need for a special enum for that. Ok with the change.


EML Mbox derivatives attachment 34 36

Type of Contribution

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New component
[ ] Refactoring (no functional changes)
[ ] Documentation-only

What does this implement/fix? Explain your changes.
Implements attachments for the MBOX and EML derivatives using the mime type in the model.
Link to issue?
#34 #36

[ ] Issue closed
[ ] Remain open

Pull Request Checklist
Please check if your PR fulfills the following requirements:

[x] Make sure you are requesting to the develop branch. Don't PR to main!
[ ] This contribution has sufficient documentation
[ ] Tests for the changes have been added
[ ] All tests pass

How has this been tested?
Operating System: …
Python Version: …
Licensing

[ ] I agree that the Mailbag Project and the University at Albany, SUNY can release this code under the MIT license.

Attachments not reading in outlook, still need to be looked into.

Log an error when the mime type is None. Write an issue later to detect mime type from attachment data(hex).

Write an issue on some of the messages doesn't show up on Outlook.


Prioritize Path-less Host before Path-less HostRegexp

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
On setting up a new traefik server I was suddenly hit by a problem through the priority logic. I had one docker which was supposed to be a catchall for all the unknown domains, so he had the frontend rule:
traefik.frontend.rule=HostRegexp:{catchall:.*}

While there was another host with a precise rule like this:
traefik.frontend.rule=Host:xxx.de

Now the problem is that traefik by default prefers the HostRegexp rule because it is longer as the Host rule, while the exact matching Host for sure is a better match then the HostRegexp broadsword. I didn't noticed the problem before, because:
traefik.frontend.rule=Host:very.very.very.very.long.with.sugar.on.top.domain.de

Would still work out, because it is longer as the HostRegexp. Which makes that in my eyes a problem, because you will not obvious see why this domain works while the other doesn't work, if you as traefik user not yet learned about prioritizing or aren't thinking about this one.
Primary my feature request or wish, would be that every frontend rule for a Host (but without a Path*) is always processed before a frontend rule for a HostRegexp. This would for sure not remove any working case, because everyone who felt into this problem has a non working Host frontend rule which he should already have noticed yet. There is no positive case that would make this current behavior acceptable (again: only if there is no Path, if there is a Path, then all bets are off again and the current behavior is fine).
I discussed this briefly with @dtomcej on the Slack, he told me I should mention him on here, cause he has an idea how implement a solution here.
Thanks in advance for consideration.

same problem here I think:
      - "traefik.frontend.rule=HostRegexp:{subdomain:.+}.example.com"

seems to have precedence over
      - "traefik.frontend.rule=Host:exact.example.com"

Is there any workaround/hack for the mean time?
Or is this even intended?

Yes, you can set:
traefik.frontend.priority=10

on the Host: ones, and for the HostRegexp: you set:
traefik.frontend.priority=1

That will do the trick for now.

Hello @Getty , it seems to be a duplicate of #1663, so I'll close this issue.


[cmd] Disable all warnings like checker groups.

Now the reports starting with clang-diagnostic can be disabled all by
providing this "clang-diagnostic" like a checker group.

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

See the complete overview on Codacy


Add include guards to decompiler C++ headers

This prevents double-inclusion errors.
I followed the naming convention that other files used for the definition name (the name of the file without the .hh suffix).

Added in https://github.com/NationalSecurityAgency/ghidra/commit/fe137f20f3f84323259e21268e5f68ef147217c0

@ekilmer was this PR superseded by the using one?

@ekilmer was this PR superseded by the using one?

The changes in this PR were included in commit https://github.com/NationalSecurityAgency/ghidra/commit/fe137f20f3f84323259e21268e5f68ef147217c0 and my "Removing header using decls" PR #5190 was also invalidated by that commit because upstream created the ghidra namespace, instead of removing the using decls.


Define the API for the Customers service

The Customers API is the sole method by which any other component, service, or user can interact with customer-related data. As such, this API needs to allow for methods for retrieving customer data, adding customer data, and updating customer data.

Commit 6fe1c2e contains a preliminary RAML specification for the Customers API.


Changelog

Version 0.9346

[x] Case insensitive search
[x] Liteness template inlcuded
[x] Fixed the "enter" key bug in live edit
[x] Fix on links rendering in the comments
[x] Fix on some JS functions that went missing from the api
[x] Added mw.lang array so you can use the language entries in JS

================
Todo list
Open

[x] Implement the new design
https://github.com/microweber/microweber/tree/rc-dev
[ ] CSS editor
[ ] Apc & Memcache cache adapter for PHP
[ ] Order posts by random function
[x] Reset editable fields function
[ ] Schedule posts for future publications
[ ] Permission system
[ ] Many more!!!
See all here https://microweber.com/suggest-a-feature

Outdated


iPad / iPhone (small screen) popover positioning problems

Hi all,
I'm having issues with the positioning of popover's when on a small screen. For instance, using default settings, links or buttons with a positioning close to the right edge of the screen wil throw the popover off the edge and force the user to scroll right.
On the other hand, links close to the left with left positioning do not allow users to scroll left, cutting off any content that's inside.
(P.S. I'm new to github so please if this isn't the right place for posting this be nice and let me know.)

hey @timrnz ! welcome to github. This is the right place! :)
So we're trying to keep the popover and tooltips really simple - however there is a method floating around somewhere which detects the best position to display the popover.
You could try searching the issues or asking a question on our mailing list - thanks!


Add flag to skip execution of workload

Currently the -c option does not (reliably) support execution of pinpoint without a workload. It is still useful to get data from pinpoint without a workload - especially if just getting the raw data of a power-meter is the goal like in a project I am working on. This PR introduces a -n flag to skip the need of a workload.
pinpoint -c -e CPU - was initially used to execute without a workload. However, I think this is a bug and not really a supported feature. Moreover, this command does not reliably run forever: Sometimes it terminates immediately which I think is due to a race condition related to not having a valid workload.
Alternatively, the -c command could be updated to have different semantics if no workload is given.
This change needs an entry in the README file, but #13 should probably be merged first.

Yes, that’s an option probably. But it also feels hacky. I‘d prefer not to fork a process if it’s not needed.
As context: We are using our fork of pinpoint to get data from power meters in our application (https://github.com/nsg-ethz/autopower/blob/956049c2fef02fe1763eb596110164ac253092c1/client/client.cc#L225) and write the measurements into a database.
There are multiple small changes (Build for Raspberry Pi, printing measurement samples to stdout) with this being one of the earliest ones. Should I open an issue on those changes?

Opened https://github.com/osmhpi/pinpoint/issues/16 for tracking some changes related to the -O flag.

To let you know, we build on GitHub actions for Raspberry Pies: https://github.com/nsg-ethz/pinpoint/blob/ci/addARMBuild/.github/workflows/main.yaml I don't think it's worth a PR - unless you'd like to have one.

I got around to look at your changes, and got what you are up to asa your advisor just showed me what setup you build on top of it. Amazing stuff. Looking forward to your publications.
Greetings from Dagstuhl!

Thanks also from our side to develop pinpoint! Greetings from Zürich.


Default branch main rename file edits

File content needing default branch name edit from master to main

As this change was included in the subsequent PR #14, this PR can be discarded.


Fix circular dependency issue when linking message layer

Problem
PlatformLayer is responsible for initilizing the CHIP stack, it should depend on the libcore which is the dependent of most of CHIP Core stack components.
Summary of Changes
We should remove platform from libcore as the dependent to make message layer link.

Note there's still a cycle between src/lib/support and src/platform:
src/lib/support/PersistedCounter.cpp:#include <platform/PersistedStorage.h>
src/lib/support/PersistedCounter.h:#include <platform/PersistedStorage.h>
src/lib/support/tests/TestPersistedCounter.cpp:#include <platform/PersistedStorage.h>
src/lib/support/tests/TestPersistedStorageImplementation.cpp:#include <platform/PersistedStorage.h>

is this just a gn circularity, or is there an underlying core->platform dep?

is this just a gn circularity, or is there an underlying core->platform dep?

Judging by the broken build, it looks like there is one issue to untangle (although indirect).

@yufengwangca are you working on the CI failure?

@yufengwangca are you working on the CI failure?

Yes, need to setup the nRF environment to repo this error


Geolocation issu

[Enter feedback here]

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

ID: 20f37a0b-3b5d-225f-a349-ee108ff4ec60
Version Independent ID: 00909a12-d24a-f3f5-d246-8a5cb2431438
Content: Compiler Error CS0234
Content Source: docs/csharp/language-reference/compiler-messages/cs0234.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Hi @ng294
Can you add detail regarding this question? I'm not sure how geolocation could apply to this warning.


Make SSH connection error more generic

When booted from an SSH session during deployment users see "You probably need to add an SSH key, with: platform ssh-key:add".
This proposed change covers disconnects due to deployments.

Here's a more convoluted solution: #1009

This (committed to 3.x) has two measures that should solve the misleading error: https://github.com/platformsh/platformsh-cli/commit/7fa4b45ed27f080bb0dd9c2e4b1858bf3bf1a13b

the "test connection" is not made if the original connection was too long ago (>3s), to avoid unnecessary slowness and to avoid situations where you can connect fine, but some error happened slightly later due to redeployment or another process exiting with a 255 255 exit code
it only prints the SSH key message if "Permission denied (publickey)" was in the SSH error output


Add set as base for a sub folder so that the root folder is that folder

VSCode Version: Code 1.10.2 (8076a19fdcab7e1fc1707952d652f0bb6c6db331, 2017-03-08T13:56:35.908Z)
OS Version: Darwin x64 16.4.0
Extensions: none

Steps to Reproduce:

Please explain more... Do you mean https://github.com/Microsoft/vscode/issues/396 ?

If I understand OP correctly, this is different from #396. With this feature I would be able to...

open a folder in Code
right click on one of its subfolders
choose Set as Base Folder

At that point, the subfolder would become the top level - the folder that Code is recognizing as the root folder.
I would add a couple of other related requests.
A. the ability to navigate up (set the currently open folder's parent as the new open folder)
B. another option when I right click on any folder in the explorer - Open in New Window to open that subfolder in a new windows (a new instance) of Code

Not a perfect match but this extension may help..
https://marketplace.visualstudio.com/items?itemName=chrisdias.vscode-opennewinstance

Perfect, Sean. Thanks.

Closing as there is an extension. Please file issues against the extension if you have improvement suggestions: https://github.com/chrisdias/vscode-opennewinstance/issues


[Feature Request]: Add option to configuration for users to automatically scrape

Can you add a couple of configuration elements and options so you can have a default scrape list something like this
"automatic": {
  "users": [
     "userone",
     "usertwo",
      .....
   ],
  "types":  [
   "all"
  ]
}

users should check any subscription type
types would be, specify all or any combination but not all to anything else
all - = to doing a ctrl+r
timeline
pinned
archived
highlights
stories
messages
purchases

Yeah this feature has been asked for before
Honestly I am against added this to the main config
Because right now It fairly easy to understand, and at this point we do have quite a bit of different options available. But I do see this as being a useful feature to have.
What I could do is instead have this be an additional arg example
--auto-args file
This way you could load any arg you wanted, not just the ones you listed
Also you would be able to have multiple

or instead of external list the possibility to scrape people that are in a specific list on the site :)

I came looking about the same thing the OP did, and found the command line args just like they did.. its been working great.. except i can not figure out how to stop it from looking at accounts that are not active. "Subscription Active: False"  I have tried adding the "--sub-status active" flag but that did not do it..
My running command is "ofscraper --posts all --username user1,user1,etc,etc"

I'm creating reference page https://github.com/datawhores/OF-Scraper/wiki/Command-Reference which should help with creating the correct command

if I use this to content check a deleted model that I have purchased from it throws a lot of errors doesn't even find anything, and the normal scrape method doesn't have them listed on the subpage or expired page either, is there a reason even with the model number it cant find the content?

I will allow users to great there own scripts for this
But the program has gotten quite complicated for this to make sense


Bug in provisioners causing scaling down wrong number of instances

Not caught earlier since it only applies to nodes without any worker processes running

Not actually a bug, I was confused by an outdated comment I have now fixed in #1395


AMD Support

Is there a way to use this library if you're not using browserify? If so, how? If not, why?

Yes, you can use webpack

@sarink Do we stil experience this issue?


Doesn't detect modules used with require.resolve('module')

I'm using the emojify.js module as follows:
const emojiDir = path.resolve(path.dirname(require.resolve('emojify.js')), '..', 'images', 'basic')

But npm-check keeps asking me whether I'm really using this module.

@dylang

Bump

PR welcome, this should be fixed 👍


vegastrike: init at 0.8.0

Description of changes

Vega Strike is a Space Flight Simulator that allows a player to explore, trade, and fight in the vast open space.  Yet danger lurks in the space beyond.
https://www.vega-strike.org
I'm pushing this as a draft because I've not played it much and some things don't work very well. I get glitchy graphics at time, and when running vsettings and setting some values vsettings just crashes. I don't know if this is a NixOS problem or just an upstream problem waiting for 0.9.0 to be released. I'm just making this so that if someone else is interested in the game he doesn't have to redo everything I did here.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

As you see, this PR is a bit old. I was testing it at the time on Nixos 23.11, where gcc12 was the default. I see that the default now changed to gcc13. This is maybe the problem with gcc ?

About hydraPlatforms = [ ];: since vegastrike-utcs-data are only assets being downloaded without any build, there is no reason to let hydra "build" it, it would just make it waste bandwidth. See also https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/0ad/data.nix
About vegastrike-utcs-data's version: I was thinking here that it should match the engine's version. Why would you change that ?
About nativeBuildInputs in vegastrike: nativeBuildInputs are build-time dependencies, not runtime. buildInputs are dependencies needed both at build-time and runtime.
About licenses: I did a mistake here it seems. The assets are under GPL2 (only or later ? don't know) and the engine is gpl3Later
About runHook style: I prefer my style :p
About supporting Windows and macOS: the way it works, unless it changed, is that when submitting a package you only fill in the platforms which you have tested. Since I've only tested linux that's what I've put there. People who are on other platforms can later on test the package and report in to say that it works on their platforms, or improve the package to make it support the platform.
The point of that is that often packages that should work on MacOS actually need some MacOS-specific improvements and don't work right away. As for Windows, since when does Nix have Windows support ? I remember that there was no Windows support, and in https://nixos.org/download/ I only see support for WSL which is in fact linux

Also I am no longer using Nix, so I can't test it anymore, and someone else will have to be declared as maintainer if this PR gets merged

@TheBrainScrambler Alright, then I will close the PR for the time being as I am not going to maintain it either. @Whoeverwantstodothis, feel free to reopen and maintain it :)


Encoding noise in human labeled transcripts

Is there a way to encode noise in human labeled transcripts? I did not find anything in the docs on this yet. Often I have situations where there is noise in the audience of a talk or the speaker gets muddled.

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

ID: be760948-ca54-004a-928c-36c90f09d913
Version Independent ID: b7dfbf4b-8892-117b-f87e-51caf84efdc1
Content: Human-labeled transcriptions guidelines - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-custom-speech-human-labeled-transcriptions.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @eric-urban
Microsoft Alias: eur

@schniewmatz - We don't support explicitly labeling or inserting noise in transcriptions. General guidance is to provide the transcript for what was said and that the audio should reflect the range of typical use cases as far as noise is concerned. If the noise is extreme over long periods you may not see any improvements, or maybe even degradation, but in general including noisy data should not be an issue. For more information, see Data diversity.


Cleanup code

Cleanup a lot of the code and start using some ES6 standards to make the code more readable and efficient.

Cool, thanks man


re-design

prepared repo for v2, deleted google analytics
TL;DR

Deleted google analytics
Adjusted readme files
Added contribution file
Cleaned up

Details
TODO:

[ ] N/A

Checklist / Reminders:

[ ] Documentation is created / adapted
[ ] Cypress Tests

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


Add meta image to Migrate Hub page

Description
Checklist:

[ ] I have reviewed the style guide.
[ ] If blogging, I have reviewed the blogging guide.
[ ] I have manually confirmed that all new links work.
[ ] I added aliases (i.e., redirects) for all filename changes.
[ ] If making css changes, I rebuilt the bundle.

@cnunciato why can't I see the image in the preview? :(

@SaraDPH The image path (in meta_image) and the actual location of the file don't match. I believe we're currently putting these page-specific images in static -- right?

@SaraDPH The image path (in meta_image) and the actual location of the file don't match. I believe we're currently putting these page-specific images in static -- right?
It looks like we have another image in this folder also -- we should remove that one if we're no longer using it. I'll pick this up for ya soon as I'm in.

There is another image?!

Looks good I think!


Minor refactor and fixes to workflow trace

What was changed

Why?

Checklist

Closes

How was this tested:

Any docs updates needed?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I wrapped these changes into https://github.com/temporalio/cli/pull/520. I noticed the change to the rewrite after I pretty much completed this PR.


Improve warehouse filtering performance

I want to merge this change because it improves performance of warehouse filtering.
Also finally drops filter_by_query_param and filter_fields_containing_value utility functions which cased performance issues.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-3275 Refactor warehouse filtering.

@tomaszszymanski129 Can you rebase this one?


Main patch tm v0.34.15

Description
v0.34.15
STATUS: commit hash

SKIP: https://github.com/tendermint/tendermint/commit/31b3e279fc17d06c7a30d99114ff219bf8ce768b
SKIP: https://github.com/tendermint/tendermint/commit/876b3c0dbe6002931b076a16c5d0820458447755
SKIP: https://github.com/tendermint/tendermint/commit/46a6691e11c6d9b2eb3f2af4af07d0801eb25e25
SKIP: https://github.com/tendermint/tendermint/commit/3567d3ab38ea9983f640263d783f099692b65a5b
SKIP: https://github.com/tendermint/tendermint/commit/f721bf5154fd593606dbec91fcebf06250a118a9
SKIP: https://github.com/tendermint/tendermint/commit/3e119fc6c41df917b6eddf914c82a3620caffb06
PICK: https://github.com/tendermint/tendermint/commit/8a2dcbafaec0eddd960af4c7fe804a8044999c22

https://github.com/line/ostracon/pull/368/commits/72c727e5405ec5720c992af2888533f6abc8b868
I responded to do cherry-pick since original backports aren't enough(I think it's forgotten)
MEMO: https://github.com/tendermint/tendermint/tree/v0.35.0-rc1/.github/linter

EXTRA PICK: https://github.com/tendermint/tendermint/commit/d0c87ff27e1271f79e3baeea5303d0983c40d217

https://github.com/line/ostracon/pull/368/commits/928336b8a0cf805d2f23aaaedae047a3b8564db2

EXTRA PICK: https://github.com/tendermint/tendermint/commit/e52f9de148bed51dca424d28537e6f724d84d294

https://github.com/line/ostracon/pull/368/commits/47d784bdae2ee0f9a3af206f76d476320a7afd82

EXTRA PICK: https://github.com/tendermint/tendermint/commit/865234e113547c34bcf6e69883e9a5c9f4c6db12

https://github.com/line/ostracon/pull/368/commits/3b2a25cebf8aa637ef42b1ac2b59c071b514f3cd

EXTRA PICK: https://github.com/tendermint/tendermint/commit/fdb7421ae8df2ed8b64adb69527e392390c1a726

https://github.com/line/ostracon/pull/368/commits/7dd305adf79c03bd1d1a44c35dd98b93debf20bf

SKIP: https://github.com/tendermint/tendermint/commit/61831cf5eff1852099b85588b640aab9866fbae0
PICK: https://github.com/tendermint/tendermint/commit/4ef140f6ca41e7e3397e34a16d0877a51e286013

https://github.com/line/ostracon/pull/368/commits/85c9b945ac3b3ac9409828244aa8311b638a31e7
I responded to do cherry-pick since original backports aren't enough(I think it's forgotten)
MEMO: https://github.com/tendermint/tendermint/blame/master/rpc/openapi/openapi.yaml

EXTRA PICK for fixing linter: https://github.com/tendermint/tendermint/commit/0407cd52589dfc7bc8667a70e42c50bc67ea0c76

https://github.com/line/ostracon/pull/368/commits/296014d1fa6f8fff56fee71de10e56c9771dc752

Fix linter: https://github.com/line/ostracon/pull/368/commits/0edb36055c0d544f48ea8aeaf33dca9161aa43e2

SKIP: https://github.com/tendermint/tendermint/commit/113118ec0083016eb971305f7e1434524700739f
SKIP: https://github.com/tendermint/tendermint/commit/3e7fc468e40f92d2309b8e7330a6f6c5ed198ce2
SKIP: https://github.com/tendermint/tendermint/commit/12ecfb03838b8496638450b8021d0035349ffcbf
SKIP: https://github.com/tendermint/tendermint/commit/0b835bea7a381ab94d4d66cf430bea73c687ffff
SKIP: https://github.com/tendermint/tendermint/commit/bd48acb2ca072defa3b263bf8532739226fd7f03
SKIP: https://github.com/tendermint/tendermint/commit/d35b50b52808a101af3e8cda8615511e59e0c792
SKIP: https://github.com/tendermint/tendermint/commit/d0031b0503c91c117c07a7b282373b7e3a31edbd
SKIP: https://github.com/tendermint/tendermint/commit/9ec863f948c70cec3a815aa83330ce93ddcc674a
PICK: https://github.com/tendermint/tendermint/commit/12e3419f2bd3f52f0b54828b2b01ee207cd5ff77

https://github.com/line/ostracon/pull/368/commits/c2d4ea8ab43b5d564e06fd7263c6fa5f158ded55

SKIP: https://github.com/tendermint/tendermint/commit/c4834df3f328b5b6da61e75dbfd90f4982aba636
PICK: https://github.com/tendermint/tendermint/commit/9994396e594aca0b700f49b8ef4b3eb7318f9cbe

https://github.com/line/ostracon/pull/368/commits/0694b429b8667fe530f7a435f1ab0f375694aef1

PICK: https://github.com/tendermint/tendermint/commit/05340ca0693c2def1fc01332fc4a39b78c6bae8d

https://github.com/line/ostracon/pull/368/commits/07a0d1b3944b554d5c1953e7cb7b1d8dcf096c2f
Fix codecov: https://github.com/line/ostracon/pull/368/commits/14d456e3256fbb2f7d3ae768ba5d28c1c7432cdf

SKIP: https://github.com/tendermint/tendermint/commit/41c176ccc6a75d25631d0f891efb2e19a33329dc

Additional work

Add mockrey command: https://github.com/line/ostracon/pull/368/commits/16b63ebfd0de17cb5d54c797d77f5581ec12acb6
Refactor filenames and improve process on github actions: https://github.com/line/ostracon/pull/368/commits/1a767521a12db17df82cbcd567186449830027aa

Upgrade work (v0.34.15 includes a lot of upgrades lib/plugin, so I responded to it all together instead of skipping the commits)

Upgrade lib: https://github.com/line/ostracon/pull/368/commits/14441627fa87260bf467f65db4990663617058c5

Fix lint: https://github.com/line/ostracon/pull/368/commits/4cebe6b361bc381fbc3ef9ddf94d771645cb6e73
Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0: https://github.com/line/ostracon/pull/368/commits/595aa0254be8f95da344a444f24fdc959c0778b0

Upgrade plugin: https://github.com/line/ostracon/pull/368/commits/50a9f099c4b2e2a199503e775663f22171aa3850

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: tnasu:x: tessrYou have signed the CLA already but the status is still pending? Let us recheck it.

Please add to description that you are able to deal with this security problem. https://github.com/line/ostracon/security/dependabot

I rebased this PR once for the v1.0.4 release tag. Please review this again after the green light of checks.

Please add to description that you are able to deal with this security problem. ?>https://github.com/line/ostracon/security/dependabot

Got it


Send manifests from memory in manifest stream (Version: [1.7.0])

Motivation
The manifests stream is sparse because rippled does not send the previously encountered manifests that are stored in memory. Having a rich manifest stream is important for decentralized domain verification via domains found in manifests. By sending those manifests at the beginning of the connection, more domains will be found.
Solution
Send the manifests that are stored in rippled's memory upon first connecting to the manifest stream.

Another option might be to add a mode to the manifest method where it returns all of the manifests stored in memory. For example, I think it makes sense to return all manifests if public_key is not specified.

Another option might be to add a mode to the manifest method where it returns all of the manifests stored in memory. For example, I think it makes sense to return all manifests if public_key is not specified.

I think both of these approaches would be beneficial, and I would advocate for both to be implemented, since it would be ideal to avoid sending a one off query to retrieve manifests stored in memory before subscribing to changes. This convenience can already be found in the server subscription method, which provides additional data in the initial response. Although those data can also be queried using other methods, it is arguably convenient to retrieve this information with a single subscription, rather than a one off command followed by subscribing.


Coordinates throw error in contamination tool

From Jeff Chamblee:
If I use https://exoctk.stsci.edu/contam_visibility and I put in RA: 04:29:38.990, Dec: +22:52:57.80, press either Calculate buttons I get error:
"Something's amiss...
Your chosen tool did not complete for the following reason:
The following error occurred: index 366 is out of bounds for axis 0 with size 36"
The target is K2-136 b, which resolves correctly but then gets the same error when you click the button.

I just re-created this error and it looks like it's an IndexError on line 166 of visibilityPA.py's checkVisPA() function. I tried running these coordinates on my using_gtvt() function, and it works fine. Since we'll essentially be replacing checkVisPA() with using_gtvt() as part of the visibility expansion, I'll mark this issue as Solved once I finish implementing the expansion to the website.
Here is what my visibility output looks like w/ using_gtvt():

@jaymedina Note that I just talked with Jeff Chamblee and he warned me that changing the name of the function that is being called to do this would break things on their end, so we should either make sure to use the same function names or communicate with them that a change needs to be made.

Awesome. Thanks @jaymedina !

@bourque ah yeah, in this expansion, some of the functions will be getting a name change (since they've been called soss[Fill in the blank], but will no longer be just for SOSS mode). We'll have to communicate that to people who have ExoCTK as a dependency in their own projects.

I'll go ahead and mark this issue as Closed since my visibility PR was merged, and this is no longer a problem with using_gtvt().
Side note, we should update Jeff and the ExoMAST group to notify them about the updates:

checkVisPA() is now using_gtvt()
The required input parameters are now: ra, dec, and instrumentName, with instrumentName being case sensitive (it can either be: NIRISS, NIRCam, NIRSpec, MIRI)


[TCK] webbundle: handler should override only Web-ContextPath header for existing bundles

If passing existing bundle to webbundle: protocol handler, only Web-ContextPath can be override according to CPMN R8 128.4.4 WAB Modification.

The Web URL Handler can set or modify the Web-ContextPath of a WAB if the input source is already a bundle. It must be considered as a bundle when any of the OSGi defined headers listed in Table 128.3 is present in the bundle.
For WAB Modification, the Web URL Handler must only support the Web-ContextPath parameter and it must not modify any existing headers other than the Web-ContextPath. Any other parameter given must result in a Bundle Exception.

This is to fix problem first described here osgi/osgi#577.


[Question] Why shutdown is required in cheapo-request example

Hi, firstly very thanks for your awesome examples :-D
I have a little question about this example: https://github.com/ProgrammingRust/examples/blob/master/cheapo-request/src/main.rs#L11
Can you please tell me why this shutdown is required? I have uncomment this line, but it seems that I can never get response from server.

Hi, firstly very thanks for your awesome examples :-D

Thanks! I'm glad to hear you're enjoying them!
A TCP connection actually consists of two streams of data: one carrying data from the client to the server, and the other from the server back to the client. As Wikipedia explains, each side of the connection may be closed independently. When one side closes its sending end, its peer receives end-of-file on the stream (well, end-of-data, really). The connection isn't fully closed until each side has closed the stream it's sending.
In the cheapo_request function, the shutdown(Write) call closes the client's side of the connection, causing the server to receive an end-of-file. This seems to be necessary to get a response from the servers I tried.
However, I wasn't able to find a good explanation of why it's necessary. RFC 1945 explains:

Closing the connection cannot be used to indicate the end of a request body, since it leaves no possibility for the server to send back a response. Therefore, HTTP/1.0 requests containing an entity body must include a valid Content-Length header field.

This text is confusing to me, because it doesn't seem to understand TCP's behavior that I just explained above: it's perfectly possible for the client to close its side of the connection, while still keeping the incoming side open to receive the server's response. But, whatever's going on there, from the RFC we can assume that the server is not actually using end-of-file to decide whether our request has been fully received.
I suspect the reason the shutdown(Write) is necessary is that, by default, the kernel doesn't actually transmit data on a TCP stream the instant you write to the socket. If you only write a little bit of data, the kernel actually waits around for a fraction of a second before transmitting it, to see if you're going to write any more, so it can coalesce several of your writes into a single large packet, rather than sending lots of tiny packets. This is called Nagle's algorithm. The effect of our shutdown is to tell the kernel that there's no more data on the way, and it should go ahead and transmit the request, small as it is, immediately. Modern servers have very short timeouts, to frustrate denial-of-service attacks, and perhaps the Nagle delay is long enough that the server will time out and drop the connection before the Nagle algorithm gets around to sending our request!
In any case, you can see why I decided to simply present the code that works without getting into these details. I considered just presenting it as a custom protocol, not HTTP, but since it does seem to roughly work, I thought it might be nice to help people see that HTTP is not so impossible to understand: you just send this text, and (maybe) you get a reply!
In any case, I hope the lack of an explanation for the shutdown call wasn't too distracting from the point of the chapter.


Fix SparkMax Follower Inverting

Fixes #132. Also explicitly non-inverts non-inverted followers.

OBE by #126.


serde default attribute fails on bool

How can we set a default of true for a boolean field?
The following two attempts fail compilation
use serde::Deserialize;

#[derive(Deserialize)]
struct Foo {
    #[serde(default = true)]
    b: bool,
}

error: expected serde default attribute to be a string: default = "..."
use serde::Deserialize;

#[derive(Deserialize)]
struct Baz {
    #[serde(default = "true")]
    b: bool,
}

error: failed to parse path: "true"
Related documentation: https://serde.rs/attr-default.html

As the documentation states, a function name/path is expected. The function should return the type of the field. So you'd need a fn mk_true() -> bool { true } and specify that.
You can read more about hypothetical future support in https://github.com/serde-rs/serde/issues/368


Add NIT, Toyota College

Please add the domain of National Institute of Technology, Toyota College.
Our college is also called Toyota Kosen.This collage is affiliated with the National Institude of Technology.
So, Whois Infomation is the same of Toyota Collage.

@getpa Could you please provide us with an URL of the official website of this institute, and some reference page saying that the students of this institute use toyota.kosen-ac.jp email domain?

Thank you for your quick response!
Here’s our institute’s official web site.
http://www.toyota-ct.ac.jp
And I’m sorry, I can’t show you any reference page saying we use the domain. There’s no page about that anywhere.
Can I show you we use the domain in other way? For example, some documents in our Institute etc...
In addition, I show you WHOIS information about toyota.kosen-ac.jp. (from http://tech-unlimited.com/whois.html)

[ JPRS database provides information on network administration. Its use is    ]
[ restricted to network administration purposes. For further information,     ]
[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e'     ]
[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'.                 ]
Domain Information: [ドメイン情報]
[Domain Name]                   KOSEN-AC.JP
[登録者名]                      独立行政法人　国立高等専門学校機構
[Registrant]                    National Institute of Technology, Japan
[Name Server]                   ns1.dns.ne.jp
[Name Server]                   ns2.dns.ne.jp
[Signing Key]
[登録年月日]                    2015/02/23
[有効期限]                      2017/02/28
[状態]                          Active
[最終更新]                      2016/03/01 01:05:18 (JST)
Contact Information: [公開連絡窓口]
[名前]                          独立行政法人　国立高等専門学校機構
[Name]                          National Institute of Technology, Japan
[Email]<EMAIL_ADDRESS>[Web Page]
[郵便番号]                      193-0834
[住所]                          東京都八王子市
東浅川町701-2
[Postal Address]                Tokyo
Hachioji-shi
701-2 Higashiasakawa-machi
[電話番号]<PHONE_NUMBER>
[FAX番号]
—
Thank you for your kind.
P.S. Sorry for my poor English

@getpa Thank you for the clarification! Pull request merged.


Migrate to MIT License

@troymccabe, I'd like to relicense this from GPLv2 to MIT. Bootstrap and jQuery both did this. All that's necessary is to get each commiter's +1. Since its just you and me, I figure it should be pretty easy.
So, +1?

+1 from me as well!


[Improvement][common]When I run a spark task, the webui observation in yarn is successful, but the response result in dolphinscheduler fails. #5026'

This closes #5026

code check fail,you can refer this doc https://dolphinscheduler.apache.org/zh-cn/community/development/pull-request.html

@CalvinKirs @chengshiwen  please  Review，thanks

Thank you very much for your contribution. I see that you only modified part of the log, but this part of the log does not affect the business logic. Did your modification solve your problem?

Thank you very much for your contribution. I see that you only modified part of the log, but this part of the log does not affect the business logic. Did your modification solve your problem?

The problem is solved, I hope to be more familiar with the contributed code,

close by #5256


Remove unnecessary synchronized block in OperatorContext

The run() method is already synchronized so the synchronized(this) block is unnecessary.

/cc @martint

Merged, thanks!


Expression data

I could not find the expression data (h5 files) used for this experiment.
What is the shape of the expression data before it is processed into NEPDF format?
Is it N X 32 (N: number of genes, and 32 samples/conditions for each gene) or do you compress the information from much larger features set to just 32 for each gene?

Hi,
The expression data can be downloaded from the AWS links in the 'Data sources' part, like 'https://s3.amazonaws.com/mousescexpression/rank_total_gene_rpkm.h5'.
The expression data has the shape of N*M where N is cell number and M is gene number.
The shaep of NEPDF data is X3232, where X depends on the length of gene pair list you would like to train and test. For example, the number of all possible gene pairs are M*M, while you only focus on X pairs of them and you will generate one 32X32 histogram matrix for each pair of the whole X pairs.

Hi, I am sorry for the delay becuase I did not receive any reminder....
The expression data can be downloaded from the AWS links in the 'Data sources' part, like 'https://s3.amazonaws.com/mousescexpression/rank_total_gene_rpkm.h5'.
The expression data has the shape of N*M where N is cell number and M is gene number.
The shape of NEPDF data is X3232, where X depends on the length of gene pair list you would like to train and test. For example, the number of all possible gene pairs are M*M, while you only focus on X pairs of them and you will generate one 32X32 histogram matrix for each pair of the whole X pairs.

Hi, I am sorry for the delay becuase I did not receive any reminder....
The expression data can be downloaded from the AWS links in the 'Data sources' part, like 'https://s3.amazonaws.com/mousescexpression/rank_total_gene_rpkm.h5'.
The expression data has the shape of N*M where N is cell number and M is gene number.
The shape of NEPDF data is X3232, where X depends on the length of gene pair list you would like to train and test. For example, the number of all possible gene pairs are M*M, while you only focus on X pairs of them and you will generate one 32X32 histogram matrix for each gene pair of the whole X pairs, where 32 means that the expression range of the gene is uniformly divided into 32 bins. The whole idea for CNNC can be found in the paper 'Deep learning for inferring gene relationships from single-cell expression data'.
Best

Hi, I am sorry for the delay becuase I did not receive any reminder....
The expression data can be downloaded from the AWS links in the 'Data sources' part, like 'https://s3.amazonaws.com/mousescexpression/rank_total_gene_rpkm.h5'.
The expression data has the shape of N*M where N is cell number and M is gene number.
The shape of NEPDF data is X3232, where X depends on the length of gene pair list you would like to train and test. For example, the number of all possible gene pairs are M*M, while you only focus on X pairs of them and you will generate one 32X32 histogram matrix for each gene pair of the whole X pairs, where 32 means that the expression range of the gene is uniformly divided into 32 bins. The whole idea for CNNC can be found in the paper 'Deep learning for inferring gene relationships from single-cell expression data'.
Best

Hi, I am sorry for the delay becuase I did not receive any reminder....
The expression data can be downloaded from the AWS links in the 'Data sources' part, like 'https://s3.amazonaws.com/mousescexpression/rank_total_gene_rpkm.h5'.
The expression data has the shape of N*M where N is cell number and M is gene number.
The shape of NEPDF data is X3232, where X depends on the length of gene pair list you would like to train and test. For example, the number of all possible gene pairs are M*M, while you only focus on X pairs of them and you will generate one 32X32 histogram matrix for each gene pair of the whole X pairs, where 32 means that the expression range of the gene is uniformly divided into 32 bins. The whole idea for CNNC can be found in the paper 'Deep learning for inferring gene relationships from single-cell expression data'.
Best

Hi, I am sorry for the delay becuase I did not receive any reminder....
The expression data can be downloaded from the AWS links in the 'Data sources' part, like 'https://s3.amazonaws.com/mousescexpression/rank_total_gene_rpkm.h5'.
The expression data has the shape of N*M where N is cell number and M is gene number.
The shape of NEPDF data is X * 32 * 32, where X depends on the length of gene pair list you would like to train and test. For example, the number of all possible gene pairs are M * M, while you only focus on X pairs of them and you will generate one 32 * 32 histogram matrix for each gene pair of the whole X pairs, where 32 means that the expression range of the gene is uniformly divided into 32 bins. The whole idea for CNNC can be found in the paper 'Deep learning for inferring gene relationships from single-cell expression data'.
Best

Hi, I am sorry for the delay becuase I did not receive any reminder....
The expression data can be downloaded from the AWS links in the 'Data sources' part, like 'https://s3.amazonaws.com/mousescexpression/rank_total_gene_rpkm.h5'.
The expression data has the shape of N*M where N is cell number and M is gene number.
The shape of NEPDF data is X * 32 * 32, where X depends on the length of gene pair list you would like to train and test. For example, the number of all possible gene pairs are M * M, while you only focus on X pairs of them and you will generate one 32 * 32 histogram matrix for each gene pair of the whole X pairs, where 32 means that the expression range of the gene is uniformly divided into 32 bins. The whole idea for CNNC can be found in the paper 'Deep learning for inferring gene relationships from single-cell expression data'. The compression is through the 32 * 32 histogram generation for each gene pair.
Best


Touch move not working on Chrome-Book chrome version-69

Hi,
Touch move event not working on chrome-book, in latest version(Chrome-69), previously it working on Chrome-67 version. What changes i have to do to make that work, also i am providing direct link from Code-pen,
Link: https://codepen.io/belfz/pen/BjPqOQ
please revert as soon as possible.
Let me know if you need more info.
Regards,
Nipun

See if this works on it .. https://stackoverflow.com/questions/24739830/how-to-implement-drag-and-drop-in-snap-svg-for-mobile-devices

Not working for me,
Actually i am using snapsvg library.

I suspect you're going to have to roll your own, testing what events are created with the touchscreen after the change.

Same problem here...
as from chrome 69 on a touch pc we can no longer drag anymore.
This seems like something you guys need to fix

I suspect there may not be many more updates, but I may be wrong. I suspect you can probably roll your own method to handle it. I think the first thing is to see what actual event gets fired in JS and where the issue is.


fix: preparing for release

Codecov Report

Merging #46 (8a45195) into main (d0cc2a4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #46   +/-   ##
=======================================
  Coverage   94.57%   94.57%
=======================================
  Files           7        7
  Lines        1512     1512
  Branches      223      223
=======================================
  Hits         1430     1430
  Misses         81       81
  Partials        1        1

Continue to review full report at Codecov.

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


openshift example plugin returns error code 2

Hey folks, sorry for the messy output but I'm seeing this error when trying to use the openshift example plugin:
ERRO[0000] unable to run the plugin binary               pluginPath=/git/hello-crane-demo/bin/plugins/open
shift                                                                                ERRO[0000] error running the plugin command              pluginPath=/git/hello-crane-demo/bin/plugins/open
shift
Error: error running the plugin command: unable to run the plugin binary, err: exit status 2

Spent some time trying to understand where this is happening with @pranavgaikwad but it wasn't clear to us what was going on. I swapped it out for the service plugin, and that seemed to work fine, so that suggests there's something in the example plugin that's not happy with the current plugin interface.
Separate question for discussion: how do we expect people to debug these plugins best? Should we think about what we want that experience to be like, like an optional flag that dumps some diagnostic info?

@pranavgaikwad spotted:
https://github.com/konveyor/crane-lib/blob/e077c6bf9b666c3aaa85946e8e924ebf0c632dc7/transform/binary-plugin/examples/openshift/cmd.go#L38
4:33
https://github.com/konveyor/crane-lib/blob/e077c6bf9b666c3aaa85946e8e924ebf0c632dc7/transform/binary-plugin/examples/openshift/cmd.go#L16
4:33
notice V1 vs v1
PR incoming. I'll file a separate issue to implement some good validation here to protect plugin authors.

This plugin hasn't been tested/used since the recent refactoring. It's on my list to revise it, add some functionality, and start testing it later today or Monday.

Actually, from what I'm seeing, the error is not caused by the "V1" vs. "v1" string difference but because the logger.Info() calls are breaking the expected stdout data format.

+1 think I realized this afterwards
On Tue, Aug 24, 2021 at 1:48 PM Scott Seago @.***>
wrote:

Actually, from what I'm seeing, the error is not caused by the "V1" vs.
"v1" string difference but because the logger.Info() calls are breaking
the expected stdout data format.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/konveyor/crane-lib/issues/65#issuecomment-904849348,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADEKNPCO23N4FMP6J5LLMLT6PLNJANCNFSM5BUSDWBQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Initializing the logger properly in the plugin removes the error code output. PR forthcoming, including other openshift plugin fixes.

@sseago @eriknelson I believe that this should be fixed by the latest release. Can we close this issue?

@shawn-hurley This should be fixed now. If @eriknelson concurs, lets close it.

+1


Auto-scaling batch-size not compatible with half precision training

Using precision=16 and auto_scale_batch_size=True yields 'NoneType' object has no attribute 'state_dict' error
Expected behavior
Largest batch size should be found when using 16 bit precision
Environment

PyTorch Version (e.g., 1.0): 1.6
OS (e.g., Linux): Windows 10
How you installed PyTorch (conda, pip, source): conda
Python version: 3.8
CUDA/cuDNN version: 10/7
GPU models and configuration: 2080ti

it seems that loading has some issue
@iantimmis are interested in sending a PR?


updated README with note on npm version usage

closes https://github.com/coinbase/gdax-node/issues/153

The is not the appropriate change to make for the problem of the maintainers failing to publish to NPM.

Agreed. We shouldn’t even mention the Github path in the first place. Right now we don’t want to publish a new release as master contains a lot of breaking changes, and a minor version bump, even if it is semver compatible, could be surprising to users. At the same time, the library isn’t in a state where we are happy to publish a 1.0 either. I’m hoping to get there in the next weeks.

Right now we don’t want to publish a new release as master contains a lot of breaking changes, and a minor version bump, even if it is semver compatible, could be surprising to users.

@fb55 I couldn't disagree more here, because hat violates the entire purpose of semver when the major version is still 0.  A minor version bump when the major version is still 0 implies breaking compatibility. Right now, the README documents things that are not on NPM, and that's obviously very confusing to newcomers (according to the onslaught of unnecessary Issues on this project)
It's best to continue to bump 0.x versions to NPM. Otherwise, the amount of work required for someone to upgrade from v0.4 to v1.x would be too large and daunting. It's best to have lots of little releases (even if some are backward incompatible), where someone can walk along a corresponding changelog and upgrade incrementally as as necessary.

I don’t know why this PR was closed. This is a stop gap to please your user
base so they don’t get pissed off when your npm package doesn’t work as the
readme suggests it should.
Either a new 0.X version should be published as suggested, or this should
be tagged as 1.0.0 if there are no future breaks expected, even if it
doesn’t completely work. Fixes can come in 1.0.1 or 1.1.0. If you are
waiting until everything is perfect, you will be waiting a lot longer than
a few weeks.
On Sun, Dec 24, 2017 at 5:31 PM Ryan McGeary<EMAIL_ADDRESS>wrote:

Right now we don’t want to publish a new release as master contains a lot
of breaking changes, and a minor version bump, even if it is semver
compatible, could be surprising to users.
@fb55 https://github.com/fb55 I couldn't disagree more here, because
hat violates the entire purpose of semver when the major version is still
0. A minor version bump when the major version is still 0 implies
breaking compatibility. Right now, the README documents things that are not
on NPM, and that's obviously very confusing to newcomers (according to the
onslaught of unnecessary Issues on this project)
It's best to continue to bump 0.x versions to NPM. Otherwise, the amount
of work required for someone to upgrade from v0.4 to v1.x would be too
large and daunting. It's best to have lots of little releases (even if some
are backward incompatible), where someone can walk along a corresponding
changelog and upgrade incrementally as as necessary.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/coinbase/gdax-node/pull/154#issuecomment-353805766,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAarJVnhd4JBbl7CY05NBc83QN1VVMiJks5tDtDagaJpZM4QzTdZ
.

@markoshust The PR was likely closed, because the suggested change isn't the appropriate long-term change to make. I'd argue it isn't the best short-term solution either.

... a new 0.X version should be published as suggested

Agreed. IMO, the appropriate approach is to resolve Issue #148 and get new versions on NPM.  At the end of the day, the tagged releases in GitHub should match what's on NPM.


Clean up environment variable documentation

There are a variety of environment variables used for running tests, some of which are required and some of which are mandatory. These variables should be reviewed to make sure they are all necessary, and documentation added as appropriate to the top-level README file.
OOPS_GOLD_MASTER_PATH
OOPS_BACKPLANE_OUTPUT_PATH
OOPS_RESOURCES
OOPS_TEST_DATA_PATH

I agree these are all necessary. I'm changing this bug to be for documenting how they work.

I'm handing this back to Joe to include in future oops documentation work.


Uncompatibility With Enhanced Visuals Mod

enhanced visuals adds some screen effects, and they get disabled if i move my mouse onto an item on JEI.
don't know what causes, but i think i had better to mention @creativemd :D

using forge 2310, EnhancedVisuals v1.1.2 mc1.11.2,  Blur-1.0.1-9

and ah, it's a gui by other mod (levelup!)

So this is not a Blur issue?

Nope, i doubt that this is an issue of Blur, looks like this is just a EnhancedVisuals issue. Created a new issue on my repository so we can try to solve it there.

@tterrag1098 any updates about the IFacade hook for Chisel?


MINOR: code cleanup

Similar to #6053

Call for review @guozhangwang @bbejeck @vvcephei

lgtm. @mjsax please feel free to merge after addressing the above comments.

Updates. John, please let me know if I can merge.


Problem when merging with flake8

I don't know if this is more of an issue to do to flake8, but I try.
Still with the .py from #46:
"""This is a test."""
import sklearn
import numpy
from typing import Optional
from custom_inherit import doc_inherit

class MyDecisionTreeClassifier(sklearn.tree.DecisionTreeClassifier):
    @doc_inherit(sklearn.tree.DecisionTreeClassifier.predict_proba, style="google_with_merge")
    def predict_proba(
        self,
        X: numpy.ndarray,
        check_input: Optional[bool] = True,
        my_option: Optional[bool] = False,
    ) -> numpy.ndarray:
        """Predict class probabilities of the input samples X.

        Args:
            my_option: If True, this is happening. If False, this other thing is happening and I
                need two lines to explain this option.

        Returns:
            numpy.ndarray: the result

        """
        print(my_option)
        super.predict_proba(X, check_input=check_input)

When you flake8 it with flake8 src/concrete/ml/sklearn/d.py --config flake8_src.cfg with
[flake8]
max-line-length = 100
per-file-ignores = __init__.py:F401
extend-ignore = E203

I get
src/concrete/ml/sklearn/d.py:18:1: DAR101 Missing parameter(s) in Docstring: - X
src/concrete/ml/sklearn/d.py:18:1: DAR101 Missing parameter(s) in Docstring: - check_input
src/concrete/ml/sklearn/d.py:22:1: DAR202 Excess "Returns" in Docstring: + return

Then, I have to add a # noqa: DAR101 in the docstring, to make flake8 happy. But it is a bit ugly in the html then:

So maybe, you could filter out lines in "noqa:"?


Failures on co19/LibTest/io/WebSocket/closeCode_A01_t02 (flaky to RuntimeError)

The tests
co19/LibTest/io/WebSocket/closeCode_A01_t02 RuntimeError (expected Pass)

are failing on configurations
vm-aot-win-release-x64

https://ci.chromium.org/p/dart/builders/ci.sandbox/vm-aot-win-release-x64/1023

//cc @brianquinlan

deduping to https://github.com/dart-lang/sdk/issues/52011