DataLoader Error using Multi processing

Note: DataLoader Error using Multi processing
Description
minimum reproducible code:
import multiprocessing as mp
from mxnet import gluon

def bug_train():
    train_data = gluon.data.DataLoader(
        gluon.data.vision.CIFAR10(train=True),
        batch_size=128, shuffle=True, last_batch='discard', num_workers=2)

    val_data = gluon.data.DataLoader(
        gluon.data.vision.CIFAR10(train=False),
        batch_size=128, shuffle=False, num_workers=2)

if __name__ == '__main__':
    p = mp.Process(target=bug_train)
    p.start()
    p.join()

Terminal output:
Segmentation fault: 11

Stack trace returned 10 entries:
[bt] (0) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x3f935a) [0x7fb43436535a]
[bt] (1) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x3513b36) [0x7fb43747fb36]
[bt] (2) /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7fb503a0f4b0]
[bt] (3) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libiomp5.so(+0xa9617) [0x7fb4ffe8e617]
[bt] (4) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libiomp5.so(GOMP_parallel_start+0x115) [0x7fb4ffe7d105]
[bt] (5) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x3046d3b) [0x7fb436fb2d3b]
[bt] (6) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(mxnet::NDArray::SyncCopyFromCPU(void const*, unsigned long) const+0x523) [0x7fb436f27203]
[bt] (7) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(MXNDArraySyncCopyFromCPU+0x2b) [0x7fb436c8efab]
[bt] (8) /home/ubuntu/anaconda3/lib/python3.7/lib-dynload/../../libffi.so.6(ffi_call_unix64+0x4c) [0x7fb502b26ec0]
[bt] (9) /home/ubuntu/anaconda3/lib/python3.7/lib-dynload/../../libffi.so.6(ffi_call+0x22d) [0x7fb502b2687d

Environment info (Required)
mxnet 1.4.1 or 1.5.1
ubuntu
cuda 10.0

I couldn't reproduce the bug on ArchLinux 5.2.0, MXNet 1.5.0

This error is not consistent. Some of my AWS EC2 instances have this issue, but others not.
I am closing this for now.

This may be because of python verion 3.7.3

The version of Python I used is 3.7.3 (default, Jun 24 2019, 04:54:02) [GCC 9.1.0] on Linux too.

Reopen it.  I found a consistent setting to reproduce the error:
AWS EC2 P3.16-Xlarge
ubuntu 16.04
python: anaconda 3.7.3
mxnet: mxnet-cu100mkl

The deep learning AMI using anaconda 3.6.5 does not have this problem.

@zhanghang1989 Could this be related to : https://github.com/apache/incubator-mxnet/issues/15690

Thanks @piyushghai
I think this issue is independent with the other. My error only happens when starting a process.

In addition to what is discussed above: it doesn't matter if it is an EC2 P3.16 or P3.2.
In fact the same thing happened to me on P3.2 after I tried to upgrade Python to 3.7 using anaconda. Latter on I tried get rid of these bugs by using Python 3.6 again but it seems that these issues remain foreverly here from now on.
So frustrating:
`
Segmentation fault: 11
Stack trace:
[bt] (0) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x2e6b160) [0x7f07f023f160]
[bt] (1) /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f082d42a4b0]
[bt] (2) /home/ubuntu/anaconda3/lib/python3.7/site-packages/numpy/../../../libiomp5.so(+0xa82a8) [0x7f082b9eb2a8]
[bt] (3) /home/ubuntu/anaconda3/lib/python3.7/site-packages/numpy/../../../libiomp5.so(GOMP_parallel_start+0x115) [0x7f082b9d9a35]
[bt] (4) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x2817760) [0x7f07efbeb760]
[bt] (5) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x281cd8d) [0x7f07efbf0d8d]
[bt] (6) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(mxnet::NDArray::SyncCopyFromCPU(void const*, unsigned long) const+0x27c) [0x7f07efb7c5ac]
[bt] (7) /home/ubuntu/anaconda3/lib/python3.7/site-packages/mxnet/libmxnet.so(MXNDArraySyncCopyFromCPU+0x2b) [0x7f07ef8f890b]
[bt] (8) /home/ubuntu/anaconda3/lib/python3.7/lib-dynload/../../libffi.so.6(ffi_call_unix64+0x4c) [0x7f082c4a5ec0]
`
The worst of all, there isn't any useful information from the message, except "segment fault". Hope this problem could be solved. But I'm moving on by launching a new server instance now.

Hi. This is not supported, to fork a process and use MXNet inside. We should probably detect this and throw an error.

It isn't always like this: normally it won't happen, only after I tried to upgrade Python to 3.7 on server it becomes like this. Also, my laptop has local Python3.7 installed but nothing is wrong here, simply slow (without GPU). For now I couldn't reproduce the error anymore, since I terminated that buggy environment to make my life easier. But it is for sure that the above-mentioned code isn't causing any error on my local mac environment, neither on the other instances I've launched.

I can confirm that this can be reproduced with anaconda environment + pip installed mxnet.
However,

locally built mxnet + python3.7 have no issue.
mac + python3.7 + pip installed mxnet have no issue.

So I suggest to tranfer this issue to pypi package building pipeline to see if the statically linked libs are causing the error.
@szha

Seems like a duplicate of #14979, and there's more context there, closing to avoid duplicate investigations.


Storybook fails when the component is using a mixin

I'm having errors in storybook when using a component that uses a mixin.
The error i get is like my this:

Uncaught TypeError: Class constructor  cannot be invoked without 'new

Sounds like there is some transpilation of the code and is not applied the custom-elements-es5-adapter.js
My component class declaration is this:
export class DileTopMessage extends DileSlideDownMixin(LitElement) {`

The mixin (DileSlideDownMixin) code looks like this:
export const DileSlideDownMixin = (SuperClass) => {
  return class extends SuperClass {
     // some methods
  }
}

When I remove the mixin (my class component only extends from LitElement and copy-paste the mixin methods inside the component), the demos from storybook start to run without errors.
Somebody has an idea of what can i do to solve this issue? Thanks!

if you're bringing your mixin in from node modules, you need to add the package to transpilePackages

Thanks Benny! that was the reason.
If someone needs to know how to add the package to transpilePackages, this is a configuration placed in the webpack.config.js file at .storybook project folder.
Now my code looks like this:
module.exports = ({ config }) => {
  return defaultConfig({ config, transpilePackages: ['lit-html', 'lit-element', '@open-wc', 'dile-slide-down-mixin'] });
};

Closing as it seems you're sorted.


Debug: is there a way to terminate preLaunchTask process (when debug stops)?

Steps to Reproduce:
I am debugging my server (node) code and I added a "start cdn server" preLaunchTask. This task is starting an express server which serves my static files (I want to be able to open my browser and enter server code in debug mode).
While it works fine, I want to be able to kill this cdn server process when debug stops. I was expecting the prelaunch task to be a child process of the debug process, which would solve my problem, but it isn't (it is a child process of VS Code).
Is there a reasonable solution to my problem?

You could launch a wrapper.js that first starts your cdn server and then the actual debugging target. That should make the cdn server a child process of the wrapper. Would that work for you?

Thanks @chrmarti. I was thinking about a similar solution, the problem is that I'll have to spawn index.js from wrapper, which I found hard to debug.
I have several scenarios which I want to start a process (watch/cdn) before debug and kill it when debug ends. It would be nice if we can have some control (in the form of event?) or have the option to run pre launch task as child process

@yanivefraim You could probably also 'require' index.js from debug.js once the cdn server has started. That should allow you to debug index.js. Would that work?
Or: Let the cdn server check if the debug target is running and exit after 10s of not seeing it?
Maybe VS Code could check if the preLaunchTask is still running when the target exits and send it a signal (as you suggest). Will mark this as a feature request for that.

Thanks! I think this can be really helpfull

Dup of https://github.com/Microsoft/vscode/issues/11522
@chrmarti gives a nice workaround also


Nodejs version

AWS console displays
"We recommend selecting Node.js 4.3 as the runtime for functions written in Node.js." when opening the function

AWS recently announced support for Node 4.3 and Node 0.10 is approaching its EoL, so this is their standard prompt. In case you were worried about operability, I'm sure AWS will support Node 0.10 for a while more. That said, this code should do fine on 4.3 😄

Also, NodeJS is just executing a Go binary on the command line (wink wink)

Yeah, I've tested it against 4.3 as well. Since it works well, why not to change the default to 4.3 to avoid such annoying messages? :)

¯_(ツ)_/¯

fixed https://github.com/goadapp/goad/pull/95

this has been already merged


Starred Accounts

Please add amount for each starred account
The UI should be like this

Please add your planning poker estimate with ZenHub @rachelhox


Component Recovery

This PR provides customisation of component fault recovery (s. #91).
Users can store a custom recovery function (closure) for each component that will be called by the ComponentSupervisor whenever that component faults.
The recovery function can be used to start new components and/or print logging messages based on the fault and the state it closed over.
The recovery function can be set multiple times both from within a component and from outside. Since it is a closure, it can be used to save some state from the running component at consistent points, which can then be used for recovery. This works around the issue of unsafe access to the state of the faulted component once the mutex is poisoned.
Status

[x] Implementation and Tests
[ ] Docs

A question regarding ComponentSupervisor: if a component creates a child component, is the parent component the ComponentSupervisor or is it a special outstanding component that is the ComponentSupervisor?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6b42638). Click here to learn what that means.
The diff coverage is 7.60%.

@@            Coverage Diff            @@
##             master      #94   +/-   ##
=========================================
  Coverage          ?   65.05%
=========================================
  Files             ?       44
  Lines             ?     7936
  Branches          ?      981
=========================================
  Hits              ?     5163
  Misses            ?     2051
  Partials          ?      722

Impacted Files
Coverage Δ

core/src/actors/refs.rs
76.88% <ø> (ø)

core/src/component/lifecycle.rs
81.18% <ø> (ø)

core/src/component/mod.rs
74.25% <ø> (ø)

core/src/component/system_handle.rs
83.33% <ø> (ø)

core/src/dispatch/mod.rs
66.92% <ø> (ø)

core/src/lib.rs
69.35% <0.00%> (ø)

core/src/messaging/mod.rs
59.55% <ø> (ø)

core/src/net/mod.rs
45.07% <ø> (ø)

core/src/ports.rs
78.26% <ø> (ø)

core/src/serialisation/mod.rs
77.41% <ø> (ø)

... and 5 more

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 6b42638...8bbc579. Read the comment docs.

A question regarding ComponentSupervisor: if a component creates a child component, is the parent component the ComponentSupervisor or is it a special outstanding component that is the ComponentSupervisor?

It is always a special component that is automatically started by the runtime.

@haraldng I changed the recovery function to being FnOnce so it's easier to store state in it. I hope this API works for you.


release 1.1.40 docs

Description & motivation

To-do before merge

Pre-release docs
Is this change related to an unreleased version of dbt?

[ ] Yes: please

update the base branch to next
add Changelog components: <Changelog>[New/Changed] in v0.x.0</Changelog>
add links to the "New and changed documentation" section of the latest Migration Guide

[x] No: please ensure the base branch is current
[ ] Unsure: we'll let you know!

@schottj here's the new commit messages:
#### Enhancements

- [env vars] Improve error messaging re: permissions

#### Feature

- dbt 1.0.0 final
- Adds dbt v0.21.1 final to Cloud

#### Internal

- Refetch develop health on network error
- Move previous run query behind feature flag and add a time range.
- Update server delete functionality
- database: add an idempotency key to the run table
- apt-get fix: update before install
- Fixed fetching previous run and added a test case
- add new GitProviderType and generate migration
- Add added/removed environment events
- Remove broken audit log test
- Add audit log environment change title/description
- Refactor useDevelopHealth to allow 1 source of developRequestId for useDevelopHealth (redux for now)
- scheduler: add new scheduler feature flag
- use regex instead of string contains
- Fix audit log test failure
- Revert "databricks: bump driver version (#4596)"
- Add environment changed event
- stripe: add logging around tax metadata errors
- databricks: bump driver version
- Add audit log job definition titles/descriptions
- Add audit log user group titles/descriptions
- Align audit log export columns with JSON naming scheme


Add instructions for how to kustomize flux

Fixes #130 #120 #103
This guide adds instructions for how to extend the provider with your own Kustomiation file. I am closing issues that would be solved with this guide and a user specific merge patch.

If I understand this correctly, there's still a condition during bootstrap where flux is running without any of the patched parameters: after it's been applied with terraform, but before the kustomize-controller applies the kustomizations from the git repository. Right?

@democracytoday I think that's correct, the behavior at start time is effectively flux install followed by applying your defined manifests, (which can reconcile Flux's controllers to the correct desired state.)
So there will be an instant at least where Flux is installed without any customizations applied to it.

If I understand this correctly, there's still a condition during bootstrap where flux is running without any of the patched parameters: after it's been applied with terraform, but before the kustomize-controller applies the kustomizations from the git repository. Right?

This is what I was wondering too.
However, every time we run terraform it will try to run:
resource "kubectl_manifest" "install" {
  for_each   = { for v in local.install : lower(join("/", compact([v.data.apiVersion, v.data.kind, lookup(v.data.metadata, "namespace", ""), v.data.metadata.name]))) => v.content }
  depends_on = [kubernetes_namespace.flux_system]
  yaml_body  = each.value
}

resource "kubectl_manifest" "sync" {
  for_each   = { for v in local.sync : lower(join("/", compact([v.data.apiVersion, v.data.kind, lookup(v.data.metadata, "namespace", ""), v.data.metadata.name]))) => v.content }
  depends_on = [kubernetes_namespace.flux_system]
  yaml_body  = each.value
}

And this will override the kustomization-override.yaml triggering a rollout. Then shortly after git is synced, the kustomization-override will get applied again triggering yet another rollout.
Is this correct?

I'm also interested in adding the annotation to our flux-controller. Our use case is to add annotations for telemetry to get the Prometheus metrics.
What if we use ignore_fields attributes in the kubectl_manifest so the concern the terraform don't override the kustomization-override.yaml?


Improve URL resolving logic of integration tests

Improve the url resolving logic to get tenanted urls.
Related issue: https://github.com/wso2/product-is/issues/16999

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6585969579

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6585969579
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6608036119

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6608036119
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6609276754

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6609276754
Status: failure


Native support for blocks composition

Description
There should be native support for generating message blocks from dicts.
What type of issue is this? (place an x in one of the [ ])

[x] enhancement (feature request)

The Blocks format is too awkward and verbose to construct by hand. Some general purpose composition helper functions would go a long way.
Here's an example of code we use:
def build_slack_block(msg1, msg2, data):
    ''' build a slack Blocks format block from a dict '''
    outline = [{
        "type": "section",
        "text": {
            "type": "mrkdwn",
            "text": f"*{msg1}*:\n{msg2}"
        }
    }, {
        "type": "section",
        "fields": []
    }]
    dlist = list(set(data.keys()) - set('user_comments'))
    fields = [{"type": "mrkdwn", "text": f"*{name}*:\n{data[name]}"} for name in dlist]
    outline[1]['fields'] = fields
    return outline

Since the next minor version (2.6.0) including #659, you can construct blocks the following way:
blocks: List[SectionBlock] = [
    SectionBlock(text=MarkdownTextObject.parse(f"*{msg1}*:\n{msg2}")),
    SectionBlock(fields=[])
]
names: List[str] = list(set(data.keys()) - set('user_comments'))
fields = [MarkdownTextObject.parse(f"*{name}*:\n{data[name]}") for name in names]
blocks[1].fields = fields
return list(b.to_dict() for b in blocks)

the commit: https://github.com/slackapi/python-slackclient/pull/659/commits/b4abc58e3af229de6469c3343e1dd423257e0440
Let me close this issue now. You may prefer a bit different way. If you have other ideas, please let us know them. I hope you like the new way to build blocks.

👋 slackclient 2.6.0rc1 is out. The pre-release version contains fixes for your issue described here.
https://pypi.org/project/slackclient/2.6.0rc1/
One week later from now, we'll be releasing version 2.6.0 to PyPI.
If you have a chance, could you try the release candidate version out and let us know your feedback? Thank you very much for being patient with this issue.


Get/Set DOUT

in the readme page you have the following for getting/setting DOUT
robot.get_rdo(dout_num=1)
robot.set_rdo(dout_num=1, value=True)
should be
robot.get_dout(dout_num=1)
robot.set_dout(dout_num=1, val=True)  #value should be val
the get_dout function works
but
the set_dout option gives me the following error
robot.set_dout(dout_num=104, val=True)
File "..fanucpy/Robot.py", line 289, in set_dout
self.send_cmd(cmd)
File "..fanucpy/Robot.py", line 98, in send_cmd
return self.handle_response(resp)
File "..fanucpy/Robot.py", line 62, in handle_response
raise Exception(msg)
Exception: wrong-dout-value

hi @sansoy ,
can you print the cmd string send in the self.send(cmd).
ROUTINE SET_DOUT(cmd: STRING): STRING
----------------------------------------------------
-- Function: Sets digital out.
-- cmd string should follow the below format:
-- 'setdout:n:value'
-- n: a single digit number
-- value: 'true' or 'false' (lowercase)
----------------------------------------------------
-- Arguments:
--      cmd [IN]:           command string.
----------------------------------------------------
-- Return value: response string.
----------------------------------------------------
VAR
    dout_num:            INTEGER
    dout_val:            STRING[8]
BEGIN
    -- Get DOUT number
    CNV_STR_INT(SUB_STR(cmd, 9, 1), dout_num)

    -- Get DOUT value
    dout_val = SUB_STR(cmd, 11, STR_LEN(cmd) - 10)

    IF dout_val = 'true' THEN
        DOUT[dout_num] = TRUE
        resp = '0:success'
        RETURN(resp)
    ENDIF

    IF dout_val = 'false' THEN
        DOUT[dout_num] = FALSE
        resp = '0:success'
        RETURN(resp)
    ENDIF

    resp = '1:wrong-dout-value'
    RETURN(resp)

END SET_DOUT

as you see in the SET_DOUT function in the mappdk_cmd.kl, these line:
   -- Get DOUT number
    CNV_STR_INT(SUB_STR(cmd, 9, 1), dout_num)

    -- Get DOUT value
    dout_val = SUB_STR(cmd, 11, STR_LEN(cmd) - 10)

make sure that the position of the value in the cmd string is the same.
that's my understanding of the problem

@sansoy there was a bug. Previously, SET_DOUT and GET_DOUT routines accepted only 1-digit values as numbers. I have now fixed the new version and updated the .pc files. Can you please upgrade fanucpy and change the .pc files? It works on my side on Roboguide.
Please let me know if the error persists, and I will try to handle it later today.

Dude! It all works. Thank you, Thank you, Thank you!
Sabri
On Thu, May 25, 2023 at 12:20 AM Agajan Torayev @.***>
wrote:

@sansoy https://github.com/sansoy there was a bug. Previously, SET_DOUT
and GET_DOUT routines accepted only 1-digit values as numbers. I have now
fixed the new version and updated the .pc files. Can you please upgrade
fanucpy and change the .pc files? It works on my side on Roboguide.
Please let me know if the error persists, and I will try to handle it
later today.
—
Reply to this email directly, view it on GitHub
https://github.com/torayeff/fanucpy/issues/24#issuecomment-1562406022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACV24IUVL5636OWQ62O42DXH4B5PANCNFSM6AAAAAAYOAOSZE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Issue while building - fasmg

When I do make english, cmd outputs fasmg -i 'config_english := 1' src/cesium.asm cesium.8xp make: fasmg: Command not found make: *** [Makefile:11: english] Error 127. I downloaded fasmg and extracted it into the cesium folder. fasmg works when I type it directly into cmd, but not with make. Can anyone help?

Also, If I try directly using the fasmg command, it outputs src/cesium.asm [14] src/installer.asm [10]:         call .clear_screen macro call [3] eval [2] macro classify [4]:         @val =: @arg Processed: arg1 =: .clear_screen Error: symbol 'clear_screen' is undefined or out of scope.

Fixed by adding fasmg into path.


gen_wasm: Implement u128 right shift by delegating to compiler_rt

Closes #4678

@bhansconnect it took an automated nag for me to get back to this, but I think it's sorted now!


Fixing a small typo

Closes #
📝 Description
On the 'styled system' docs page you have a small typo - "styled stystem"
Link: https://chakra-ui.com/docs/styled-system/overview
⛳ Current behavior (updates)
It says "styled stystem" on the doc page (link above)
🚀 New behavior
Typo fixed: "styled stystem" => "styled system"

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):
No
📝 Additional Information

Good catch! Thanks @tomvorel13!


Refactor base dataset class to remove redundancy

Codecov Report

Merging #190 (47c449c) into main (9568afa) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #190   +/-   ##
=======================================
  Coverage   88.16%   88.16%
=======================================
  Files          57       57
  Lines        2357     2357
=======================================
  Hits         2078     2078
  Misses        279      279

I've tested these changes locally. Seem to be working well.


how to hide one of multiple waybar bars, and then toggle between them

Hello.
I want to:
start_hidden true for the second bar.
each is mode dock by config.
bar1 and bar2 have nearly identical configuration.
bar1 will have gaps, and corner radius.
bar2 will have no gaps, square corners.
This is so I can toggle gaps script, and it will also affect waybar.
however, I cannot find out how to toggle the mode of a waybar bar.
Using the commandline, how can I do this?
I want to toggle show for bar2, and toggle hide for bar1,
then if I toggle again, I want to hide bar2, show bar1.

Hey. I have this kind of config myself. Here is my config:
// -*- mode: jsonc -*-
[{
    "name": "minimal_bar",
    "include": "~/.config/waybar/modules.jsonc",
    "layer": "top",
    "mode": "top",
    "exclusive": false,
    "passthrough": false,
    "height": 30,
    "width": 10, // Force minimum width
    "spacing": 2, // Gaps between modules
    "reload_style_on_change": true,
    "modules-center": [
        "clock",
        "custom/notifications",
        "battery"
    ]
}, {
    "name": "full_bar",
    "include": "~/.config/waybar/modules.jsonc",
    "layer": "top",
    "mode": "top",
    "exclusive": false,
    "passthrough": false,
    "height": 30, // Waybar height (to be removed for auto height)
    "width": 750, // Waybar width
    "spacing": 2, // Gaps between modules
    "reload_style_on_change": true,
    "start_hidden": true,
    "ipc": true,
    "modules-left": [
        "hyprland/workspaces"
        //"wlr/taskbar"
    ],
    "modules-center": [
        "clock",
        "custom/notifications",
        "battery"
    ],
// -*- mode: jsonc -*-
[{
    "name": "minimal_bar",
    "include": "~/.config/waybar/modules.jsonc",
    "layer": "top",
    "mode": "top",
    "exclusive": false,
    "passthrough": false,
    "height": 30,
    "width": 10, // Force minimum width
    "spacing": 2, // Gaps between modules
    "reload_style_on_change": true,
    "modules-center": [
        "clock",
        "custom/notifications",
        "battery"
    ]
}, {
    "name": "full_bar",
    "include": "~/.config/waybar/modules.jsonc",
    "layer": "top",
    "mode": "top",
    "exclusive": false,
    "passthrough": false,
    "height": 30, // Waybar height (to be removed for auto height)
    "width": 750, // Waybar width
    "spacing": 2, // Gaps between modules
    "reload_style_on_change": true,
    "start_hidden": true,
    "ipc": true,
    "modules-left": [
        "hyprland/workspaces"
        //"wlr/taskbar"
    ],
    "modules-center": [
        "clock",
        "custom/notifications",
        "battery"
    ],
    "modules-right": [
        //"hyprland/window", // used to figure out class or title of window for rules
        //"idle_inhibitor",
        //"network",
        //"cpu",
        //"memory",
        //"temperature",
        //"hyprland/language",
        "tray",
        "pulseaudio#microphone",
        "pulseaudio",
        "backlight",
        "power-profiles-daemon",
        "custom/power"
    ]
}]

And here is how I toggle between them:
bind = $mainMod, H, exec, killall -SIGUSR1 waybar

So you need to run the following command: killall -SIGUSR1 waybar which will hide minimal_bar and unhide full_bar and the next time the other way arround.

This needs to be documented.
I also solved it by creating two bars, one named gaps Ana the other gapless. Gapless is configured with the start hidden property. Then I toggle them using the SIGUSR1

Yeah. Make one, then spawn a waybar alias. Then you can toggle the other one off or on.

Can ya elaborate further, please.

Yeah. Make one, then spawn a waybar alias. Then you can toggle the other one off or on.

sorry didn't understand... are you saying to run 2 instances for waybar? one permanent and one that i can sent signal to toggle?

Yeah. Make one, then spawn a waybar alias. Then you can toggle the other one off or on.

sorry didn't understand... are you saying to run 2 instances for waybar? one permanent and one that i can sent signal to toggle?

Yes if that's what you want. You'll have to define in your config 2 separate bars. In waybar tjey call them an alias bar.
However, this is not the main point of this GitHub issue.
I am wanting to document how to toggle between 2 seperate bars. I've achieved it, but damn it was difficult and took trial and error to get here, and it's probably not very good the way it works; we should have a better way to do this in waybar.


Adds the new items from Aigaion trial

As promised, here are the new items coming out after maintenance. Please if this PR needs rework or formatting, don't hesitate to let me know.

I would just love a little change before accepting the PR. Could you change "If equipped with a fist weapon" to "If equipped with a fist" ? (Or is "fist" not enough ? I'm not an english native). All the others weapon mastery have for instance "If equipped with a rod", without the weapon at the end.

I don't know if you got this, but I've updated the PR yesterday.
"fist" is fine. Let's keep it regular with the rest.

Accepted, thanks for the change.
I didn't get any modification before your new comment.


Tx with TimeBounds.MinTime crushes horizon

Transaction, with time bounds [minTime, 0], crushes horizon's ingestion service with postgres error "range lower bound must be less than or equal to range upper bound".

Thanks for the report. Fix is ready, will be merged soon.


Get and Set System Time

Added test case to test following scenarios

Get system time using ipmi
Set valid system time
Set invalid system time
Set valid time on a system with epoch time.

Made changes as per review comment from Manjunath.  Changes are there in above commit "Made changes to better handle IPMI standard command failure."

Made change to display error on failure of IPMI Standard command.

Looks good, merging the code changes.


Keybase stuck in "Starting up keybase" screen

Keybase GUI Version: 6.0.1-20220609140211+0fc9feea3d
Hello, I don't know what to do. Since a few month my keybase is stuck in the "Starting up keybase" screen. Nevertheless it tells me if updates are available. I did two updates and hoped that they would fix it. I also uninstalled and reinstalled keybase. What do you need for Information? Where can I find useful logs?

Hi @Somebodyisnobody

spirillen (@Spirillen) was reported for abuse by NobodyisSomebody (@Somebodyisnobody).

Hey, that's the only way i think i can contact you :) I cannot start my keybase anymore. The application doesn't start up. See https://github.com/keybase/client/issues/25132. Can we find another channel to communicate?

View details: https://mypdns.org/admin/abuse_reports

Sure there are plenty of channels you can use, the best and safest will always be https://mypdns.org/MypDNS/support/-/issues, You can also find other channels here as they may change over time https://mypdns.org/mypdns/support/-/wikis/home#contact

Possible solution cross-post:
https://github.com/keybase/client/issues/25138#issuecomment-1209536679

I had the same problem on Windows 10 ... I could fix it ... please try

Unistall
Remove keybase folder from C:\Users\{yourUser}\AppData\Local , C:\Users\{yourUser}\AppData\LocalLow and C:\Users\{yourUser}\AppData\Roaming
Install the new keybase app version

I hope it works for you too.


Idea: Preview of new plugins

Sometimes there are multiple plugins in the plugin repository, that are trying to solve the same problem. And often then, it's mostly "look and feel" that differentiates them.
It would be great if there were some kind of "preview" functionality when browsing plugins, so that a plugin could be run and it's actual behavior shown -- not in the menu bar but in the plugin browser window. (After sufficient warning that this means that code downloaded from the internet actually will execute on your computer.)

Feel free to shoot this down if you do not believe it is a good idea. :)

@magicus This is a nice idea, although installing it and trying it is pretty easy at the moment. The trouble is, some plugins still need editing before they work, but when they transition more to using Variables, stuff like this will be easier.


Add populate option on find

I added the populate option on find

can we merge this please?

@vasinl124 while having populate as an option would be great, this PR opens a security hole. With presented solution it would be possible to populate some entity with another one without any control from the backend side. The aim of this package is to give some freedom for the frontend users to filter entities within some predefined limits. See filters for example - you need to define what fields are allowed to be used as filters.
Populate should follow the idea, only predefined fields should be allowed to be added to the request.


Error updating spell slots

When I try to Update D&DBeyond on a character that has cast spells I get an error. In the console I see a CORS error and a 404 for the , which I think is actually the 404 being the issue and the proxy doesn't have the CORS headers on a 404. I'm running my own proxy if that matters.
Specifically, https://[my-proxy-url]/proxy/update/spells/slots gives the 404. I don't see that url anywhere in the the ddb-proxy code, it looks like there is a /proxy/class/spells endpoint though.

The ddb-proxy does not have the update to DDB feature implemented right now

Just noticed I see the same thing when I add an item to a character's inventory and try to update.

Ah, ok. So, it only works with your proxy right now? Do you plan on making that available via ddb-proxy?

At some point


Estimate Framework iOS 10 issue

Hey, the estimote framework doesn't seem to quiet work on iOS 10. When I use the ranging beacon methods, sometime it will pick up beacons, not all the time. I don't know if iOS 10 has some bluetooth/security issues...

I have the same issues, especially when using  LocationBeacons and EstimoteMonitoring

@aperritano   i was reading on the estimate forums, they are working on the fix for iOS 10. Give the time i suppose

@aperritano our EstimoteMonitoring is still in early development, we know it can be buggy and very inconsistent. At the moment we are working on an update that should greatly improve the accuracy if successful 🎯 Another thing to look forward to is latest iOS 10.1 update if you scroll to down a bit:

Other improvements and fixes:

Improves Bluetooth connectivity with 3rd party accessories"

@ferologics , the update 10.1 doesn't help. But, it is giving slightly better ranging values of the beacons


chore(core): Remove Bluemix

Since Bluemix and Cloud Foundry can't be supported and tested, this PR removes it. It's a rapidly iterating service that breaks easily.

Coverage remained the same at 63.165% when pulling ba0c0b458085337a5f3ab4764433373cd3c694aa on codydaig:removeBluemix into 7be191042066e58850899000ee02b6557d744c18 on meanjs:master.

Let's merge.

SGTM.


Incomplete ontology for CHEBI:61265 (base J)

CHEBI:61265 β-D-glucopyranosyloxymethyluracil residue contains the following definition: "A deoxyribonucleotide residue in which a 5-hydroxymethyluracil residue is glycosidically linked via the 5-hydroxymethyl oxygen to β-D-glucose."
However, its ontology only contains a single tree, stating that this entry  is a CHEBI:55367 deoxyribonucleotide residue.
I would suggest that the following relationship be added:
Outgoing:  has functional parent CHEBI:16964 5-hydroxymethyluracil (which has functional parent CHEBI:17568 uracil).
Reported by: cviner

Thank you for migrating this and assigning it high priority!

Hi,
I have created the parent nucleotide (CHEBI:111511), linked this to the residue (via is substituent group from relationship) and added the functional parent relationship to this compound. As a rule we don't have functional parent relationships between residues/groups and actual molecules.
Kind regards,
Steve

Great. Thanks, Steve!


chore(assert_not_exists): tweak message

Also, upgrade the warning about a non-existing module to an error.

The latter change seems more logical to me (it is clearly an error, at least in this command) --- but I could be convinced otherwise.

Looks good, thanks!
maintainer merge

bors merge


feat: replaces functionality with message

Adds "out of funds message" with links to other faucets and the docs
Message is displayed based on a bool flag. Can we use an env variable?

@JackHamer09 not sure if you already use env variables in the project. Shall we change the noFunds: true flag to read from environment so we can change the app without making changes in the code?


Problem loading Sveltekit modules on Tizen 6

We're using TVkit to transpile our code to older Tizen models. This works very well in general so big thanks. But have an odd issue with Tizen 6 (M76) I use TVkit to transpile to Tizen 5 and that works for both Tizen 5 and Tizen 6.5, but oddly not on a Tizen 6. Also tried to target Tizen 6 with Tvkit but still no success.
In the console I get many of these errors while loading different javascript files:
"Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec."
Any ideas why?

I dont have access to a Tizen 6 device, so i'm speculating:

The (internal) webserver doesn't  use the correct mimetype
the browser engine supports modules, but maybe samsung borked it.

Try hosted works or using the '--add es6-module' fixes it

Did some more investigations.
First, to my best knowledge the Tizen TV doesn't have an internal webserver, instead it accesses the assets through file:/// which is not normally allowed but Tizen launches Chromium with --allow-file-access-from-files (and a number of other special parameters)
Example how Tizen loads a file

Since no webserver can set the MIME types, at least in M76, Chromium refuses to load the JS modules. Will try to verify now
And already uses --add "es6-module" as per a previous chat.

Have now experimented further and despite all the console errors my application seem to work fine (the original errors I had instead seem to come from a Firestore issue on Tizen). Still seem very odd to me that to show a

and then anyhow seem to load the module.
Any ideas? And thanks for taking the time


bpf_module: include AttachKretprobe

Re-add the AttachKretprobe from
https://github.com/iovisor/iomodules/commit/9da230746e2b90f9c4d3e22f7211e904e2a17d16
Signed-off-by: Michael Schubert<EMAIL_ADDRESS>

LGTM


Add vips when image_processing gem is present

I had a LoadError in ActiveStorage::Representations::RedirectController#show
LoadError
Could not open library 'glib-2.0.so.0': glib-2.0.so.0: cannot open shared object file: No such file or directory.
Could not open library 'libglib-2.0.so.0': libglib-2.0.so.0: cannot open shared object file: No such file or directory

Took me a while to figure it out, but adding libvips42 fixed it, and images are now resizing.
Since vips is default from Rails 7 on, I think this should be in the template.

Interesting.  My Rails 7 app doesn't need it (and I do use ActiveStorage), but it is a good fix to have --- thanks.  Merged and released.

Interesting. It should be the default as per guides: https://guides.rubyonrails.org/configuring.html#config-active-storage-variant-processor


runtime/syntax/indent.vim missing options

The option '--indent-label N' is missing from the "indent" syntax file.  As a result valid options
are highlighted as errors.
Thanks

Sorry, I take that back, its more broken than that, and is probably a holdover from an earlier version of indent.
Eg,

syn match indentOptions '-i|--indentation-level|-il|--indent-level'

should be

syn match indentOptions '-i|--indent-level|-il|--indent-label'

This seems to be enough to fix the issue.

have you contacted the maintainer?

My apologies, I didn't even look at the maintainer details.
I'll email them directly, sorry for the noise.

This was fixed by 88a4205f1cfbdc328e987ab00521fc8a22447fc3

Closing then.


becomeFirstResponder() doesn't work

I have put the field and wish it to be the FirstReponder on a view. But nothing I do can make the field become focussed as the first responder and bring up the keyboard? I have to click on the field to bring up the keyboard.

Had originally intended it to be made the first responder only on tap of the field. But you're right, this would be a good feature addition. Will update shortly. Thanks!

@M3Rocket, have added a property - becomeFirstResponderAtIndex, which sets the field at the specified index to become the first responder.

That is awesome! I will check it out. Thank You!
On Fri, Aug 3, 2018 at 3:42 AM Srinivas Vemuri<EMAIL_ADDRESS>wrote:

@M3Rocket https://github.com/M3Rocket, have added a property -
becomeFirstResponderAtIndex, which sets the field at the specified index
to become the first responder.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xornorik/SVPinView/issues/9#issuecomment-410216028,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADmDI5ogE3Zl_e6OhYjL8NVTHSzoYx3jks5uNCj_gaJpZM4VqXBL
.

I have put the field and wish it to be the FirstReponder on a "viewOtP.becomeFirstResponderAtIndex "
it's show nil

becomeFirstResponderAtIndex
i have use this Property but i found log is "nil"


Error: name '_C' is not defined , UserWarning: Failed to load custom C++ ops. Running on CPU mode Only!

torch version: 2.0.1
cuda version: 11.6
Successfully installed groundingdino-0.1.0
when i run grounding_dino_demo
python grounding_dino_demo.py
NameError: name '_C' is not defined
UserWarning: Failed to load custom C++ ops. Running on CPU mode Only!
warnings.warn("Failed to load custom C++ ops. Running on CPU mode Only!")

I was wondering if you set CUDA_HOME before installing Grounding-DINO?

I was wondering if you set CUDA_HOME before installing Grounding-DINO?

yes, I set CUDA_HOME, still got the same error

I also had this problem, for me it was caused by groundingdino not being correctly installed. I solved it by finding a corrupted package in the environment, deleting and reinstalling it, then deleting and reinstalling groundingdino. Other reasons I could think of why it would fail would be if your system c++ compiler is not compatible with the cuda version. You should check the output of installing the package and see if it helps. There are also many other issues recorded for this in the package, you may find those helpful.
There are many other reasons why an installation would not be successful so your mileage may vary.

I also had this problem, for me it was caused by groundingdino not being correctly installed. I solved it by finding a corrupted package in the environment, deleting and reinstalling it, then deleting and reinstalling groundingdino. Other reasons I could think of why it would fail would be if your system c++ compiler is not compatible with the cuda version. You should check the output of installing the package and see if it helps. There are also many other issues recorded for this in the package, you may find those helpful.
There are many other reasons why an installation would not be successful so your mileage may vary.

@villekuosmanen Do you happen to remember which package was corrupted?

for those who still have this error. maybe you can first run the python setup.py install after cd to GroundingDINO. Then if an error is encountered, e.g., fatal error C1083, you should install the Win10/11 SDK using the Visual Studio installer

https://github.com/IDEA-Research/Grounded-Segment-Anything/issues/450#issuecomment-1949315114

i did:
set BUILD_WITH_CUDA=True
set CUDA_HOME="path"
set AM_I_DOCKER=False

cd groundingdino

python setup.py build

python setup.py install

This solved for me. Thanks!

for those who still have this error. maybe you can first run the python setup.py install after cd to GroundingDINO. Then if an error is encountered, e.g., fatal error C1083, you should install the Win10/11 SDK using the Visual Studio installer

you are the best!! thank u so much!! love u !!


empty commit to trigger ci

Could not review pull request. It may be too large, or contain no reviewable changes.


XUnit: Failing theories generate invalid filters

The filter being generated when theories fail is invalid, as it contains the values in parenthesis (e.g. MyTest(foo: "Bar", bar: 1)).
2023-08-01T20:20:59.7326742Z [xUnit.net 00:00:00.24] Cmg.DataLabGateway.IntegrationTests: Exception filtering tests: Incorrect format for TestCaseFilter Missing Operator '|' or '&'. Specify the correct format and try again. Note that the incorrect format can lead to no test getting executed.

I'll look into contributing a fix.

Hello 👋
Any chance you can share an example (mostly redacted is fine) of the XML test results that cause this error. I'm unable to reproduce with our example xunit project and this XML:
<assemblies timestamp="08/01/2023 20:51:40">
  <assembly name="/Users/kylekthompson/src/captain-examples/xunit2/bin/Debug/net6.0/xunit2.dll" run-date="2023-08-01" run-time="20:51:40" total="5" passed="3" failed="2" skipped="0" time="0.638" errors="0">
    <errors />
    <collection total="5" passed="3" failed="2" skipped="0" name="Test collection for xunit2.UnitTest1" time="0.003">
      <test name="xunit2.UnitTest1.CanAddTheory(value1: -2147483648, value2: -1, expected:<PHONE_NUMBER>)" type="xunit2.UnitTest1" method="CanAddTheory" time="0.0022118" result="Pass">
        <traits />
      </test>
      <test name="xunit2.UnitTest1.CanAddTheory(value1: 1, value2: 2, expected: 3)" type="xunit2.UnitTest1" method="CanAddTheory" time="0.0000115" result="Pass">
        <traits />
      </test>
      <test name="xunit2.UnitTest1.CanAddTheory(value1: -4, value2: -6, expected: -9)" type="xunit2.UnitTest1" method="CanAddTheory" time="0.0009501" result="Fail">
        <failure>
          <message>Assert.Equal() Failure
Expected: -10
Actual:   -9</message>
          <stack-trace>   at xunit2.UnitTest1.CanAddTheory(Int32 value1, Int32 value2, Int32 expected) in /Users/kylekthompson/src/captain-examples/xunit2/UnitTest1.cs:line 24</stack-trace>
        </failure>
        <traits />
      </test>
      <test name="xunit2.UnitTest1.CanAddTheory(value1: -2, value2: 2, expected: 1)" type="xunit2.UnitTest1" method="CanAddTheory" time="0.0001323" result="Fail">
        <failure>
          <message>Assert.Equal() Failure
Expected: 0
Actual:   1</message>
          <stack-trace>   at xunit2.UnitTest1.CanAddTheory(Int32 value1, Int32 value2, Int32 expected) in /Users/kylekthompson/src/captain-examples/xunit2/UnitTest1.cs:line 24</stack-trace>
        </failure>
        <traits />
      </test>
      <test name="xunit2.UnitTest1.PassingTest" type="xunit2.UnitTest1" method="PassingTest" time="0.0000598" result="Pass">
        <traits />
      </test>
    </collection>
  </assembly>
</assemblies>

Specifically, I'm seeing that we set filter to xunit2.UnitTest1.CanAddTheory in this case. It's been a second since I've looked at the --filter option, but IIRC you can't narrow to a specific set of inline data, so I think this is expected (though the error you're seeing certainly is not!).

It looks like it's specifically strings, most likely problems with shell escaping.

I'm actually getting this for all theories - including ones with numbers only - with .Net 7.0.306, on a fresh xunit project.
According to the documentation the parenthesis need to be escaped, but:
> dotnet test --filter "FullyQualifiedName=foo.UnitTest1.Test1(foo: 1, bar: 2)"
[xUnit.net 00:00:00.38] foo: Exception filtering tests: Incorrect format for TestCaseFilter Missing Operator '|' or '&'. Specify the correct format and try again. Note that the incorrect format can lead to no test getting executed.
> dotnet test --filter 'FullyQualifiedName=foo.UnitTest1.Test1\(foo: 1, bar: 2\)'
No test matches the given testcase filter `FullyQualifiedName=foo.UnitTest1.Test1\(foo: 1, bar: 2\)`
> dotnet test --filter 'FullyQualifiedName=foo.UnitTest1.Test1\(foo: 1, bar: 2\)'
No test matches the given testcase filter `FullyQualifiedName=foo.UnitTest1.Test1\(foo: 1, bar: 2\)`
> dotnet test -t
The following Tests are available:
    foo.UnitTest1.Test1(foo: 1, bar: 2)

with .Net 7.0.306

Ah, I wonder if .NET 7 has some testing related changes. This was written back when 6 was the current version. I'll try to repro locally.

I don't think this is really a captain issue - apart from correctly escaping parens (and quotes for the shell).

Would it be considered too much of a hack to add a config option allowing a regex to be applied to test names, thereby allowing a fix such as [^(]*] ?

Hey @jcdickinson, I'm so sorry this fell off my radar. We were having some issues with the build process since we haven't run it in a while and then I got distracted by other things at work.
I've just merged https://github.com/rwx-research/captain/pull/57 (we had to re-open it ourselves since GitHub Actions doesn't let branches from other repositories use secrets). I'm crafting a patch release and will follow up here once it's available.
Thanks for your patience!

No problem, it's been way off my radar as well.

Ok, I got nearly all the way through the release workflow and ran into an error. I think I need one of my bosses (with repo admin permissions) to help me debug. They're out right now, so worst case I'll have to circle back Tuesday morning.
This time, I'll add an event to my calendar though and do it first thing Tuesday if I can't get it sorted earlier than that!

Good morning 👋 https://github.com/rwx-research/captain/releases/tag/v1.11.3 has been released with your fix! Thanks!


e2e: etcd pod keeps "pending"

https://jenkins-etcd.prod.coreos.systems/job/etcd-operator/1271/consoleText
test failed:
--- FAIL: TestBasic (90.20s)
    --- FAIL: TestBasic/basic_test (0.00s)
        --- FAIL: TestBasic/basic_test/pause_control (60.15s)

Looking into operator logs:
skip reconciliation: running ([test-etcd-sabn1-0000]), pending ([test-etcd-sabn1-0001])

There is a pod keeps pending.
Although at last the pod resumes:
util.go:326: 2017-01-29 18:35:17.910728462 +0000 UTC waiting size (3), etcd pods: [test-etcd-sabn1-0000]
util.go:326: 2017-01-29 18:35:27.912140794 +0000 UTC waiting size (3), etcd pods: [test-etcd-sabn1-0000 test-etcd-sabn1-0001]

Time's up. Test failed

Happened again:
https://jenkins-etcd.prod.coreos.systems/job/etcd-operator-flaketest/1444/consoleText
util.go:361: 2017-02-02 00:46:30.281528323 +0000 UTC waiting size (5), etcd pods: [test-etcd-6xl29-0000 test-etcd-6xl29-0001 test-etcd-6xl29-0002 test-etcd-6xl29-0003]
util.go:219: pod (test-etcd-6xl29-0004): status (Pending), cmd ([/bin/sh -c sleep 5; /usr/local/bin/etcd --data-dir=/var/etcd/data --name=test-etcd-6xl29-0004 --initial-advertise-peer-urls=http://test-etcd-6xl29-0004:2380 --listen-peer-urls=http://<IP_ADDRESS>:2380 --listen-client-urls=http://<IP_ADDRESS>:2379 --advertise-client-urls=http://test-etcd-6xl29-0004:2379 --initial-cluster=test-etcd-6xl29-0002=http://test-etcd-6xl29-0002:2380,test-etcd-6xl29-0000=http://test-etcd-6xl29-0000:2380,test-etcd-6xl29-0004=http://test-etcd-6xl29-0004:2380,test-etcd-6xl29-0003=http://test-etcd-6xl29-0003:2380,test-etcd-6xl29-0001=http://test-etcd-6xl29-0001:2380 --initial-cluster-state=existing])

/cc @pbx0 has also seen this once.

Yes, I've had trouble reproducing this. Here are some incomplete logs I saved when looking at it the first time:
kube-system   kube-etcd-0002     0/1       Init:CrashLoopBackOff   5        4m
The last etcd pod out of 3 eventually ended up crashlooping and I had similar logs from the etcd-operator which was also restarting occasionally.
time="2017-02-01T23:34:08Z" level=info msg="use in cluster client from k8s library"
time="2017-02-01T23:34:08Z" level=info msg="finding existing clusters..." pkg=controller
time="2017-02-01T23:34:08Z" level=info msg="starts running from watch version: 1685" pkg=controller
time="2017-02-01T23:34:08Z" level=info msg="start watching at 1685" pkg=controller
time="2017-02-01T23:34:16Z" level=info msg="skip reconciliation: running ([kube-etcd-0000 kube-etcd-0001]), pending ([kube-etcd-0002])" cluster-name=kube-etcd pkg=cluster
time="2017-02-01T23:34:24Z" level=info msg="skip reconciliation: running ([kube-etcd-0000 kube-etcd-0001]), pending ([kube-etcd-0002])" cluster-name=kube-etcd pkg=cluster

Not seen anymore. Closing old flaky issue.

I've seen this, and it's preventing me from scaling up etcd clusters.  It may be a kubernetes bug with init containers, as many others have reported it with other software. See https://github.com/kubernetes/kubernetes/issues/29972
K8s master components seem to be unaffected and treat the pod as healthy since the pod reports Ready=True, but etcd-operator isn't satisfied since the initialization is erroneously "Pending" after it first succeeded.  So there could be a workaround or enhancement possible on the etcd-operator side to look at the Pod status as Ready and be satisfied?
To illustrate, when I kubectl -n kube-system describe pod kube-etcd-0000 I see this status for the Pod:
Conditions:
  Type          Status
  Initialized   False
  Ready         True
  PodScheduled  True

and I see this state for the append-hosts init container:
    State:              Waiting
      Reason:           PodInitializing
    Ready:              False
    Restart Count:      0
    Environment:        <none>


Add GraphQL endpoints

As discussed with John, it would be very useful for elemental to have some GraphQL endpoints in the ss4 upgrade. Having these in place would make it easier to adapt the CMS interface, and give us more flexibility on how the frontend is rendered.

I don't think this will make the MVP for 2.0.0 but should be factored into our next phase of work

There's going to be some amount of GraphQL scaffolding added as part of the history viewer work - see #202 for this module, and wider discussion at https://github.com/silverstripe/silverstripe-versioned/issues/37

@adrexia we've been adding some basic GraphQL operations as part of the elemental React implementation in the master branch lately, this will include things like read, write, publish, unpublish, archive, reorder, etc. If there's more that you'd like, feel free to reopen this issue =)

It's worth mentioning that these operations will exist in the admin GraphQL schema, not the frontend. With the option to have multiple GraphQL schemas I think we'll expect that any frontend schemas would be defined by user code rather than default (for now at least).


Eslint 7

Waiting for https://github.com/imodeljs/create-react-app/pull/24/

closing this in favor of #524

closing this in favor of #524


Send Mail

Icon Request

Icon name: "Send Mail"
Use case: for sending mails
Screenshots of similar icons:

Suggestions made from the existing mail icon:


org.apache.http.NoHttpResponseException: : failed to respond

Getting "org.apache.http.NoHttpResponseException: : failed to respond" Sporadically when Zuul Proxy try to forward the request to service. Please find below dependencies we are using.
	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-zuul</artifactId>
		<version>1.4.3.RELEASE</version>
	</dependency>

	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-ribbon</artifactId>
		<version>1.4.3.RELEASE</version>
	</dependency>
	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-hystrix</artifactId>
		<version>1.4.3.RELEASE</version>
	</dependency>
	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
		<version>1.4.3.RELEASE</version>
	</dependency>

Can anybody please help?

No. That's not nearly enough information to go on. You've not provided a full stack trace or steps to reproduce the problem. In the end, we are likely going to need a complete, minimal, verifiable sample that reproduces the problem.  It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


[BUG] logging operator blocked from reading /var/log/containers by selinux

Rancher Server Setup
Rancher version: 2.9.1
Number of nodes: 1
Node OS version: alma linux 8.10
(User on 3 node rhel 8.9 local cluster)
Also:
Reproduced - single node alma linux 8.10 on azure
User- 3 node rhel 8.10 on vsphere
Describe the bug
SELinux + Fluentd will hit this issue
To Reproduce

deploy alma linux 8.10

disable nm-cloud-setup.[service|timer]

install rke2 1.30.4 from rpms

install cert manager 1.15.3

install rancher 2.9.1

install rancher-selinux rpm

install logging chart with selinux==true

Result
set selinux to permissive
Expected Result
logging to work with selinux in Enforcing
Workaround
As a workaround, you can manually add the correct securityContext to the FluentbitAgent resource to ensure fluent-bit runs with the appropriate SELinux context.
Additional context
SURE-9028

This pull request addresses the issue: https://github.com/rancher/charts/pull/4752


Unable format Max Gauge to Comma Separated Numbers

Hi
I have a requirement  to format MAX Gauge to a Comma separated number (which is a string in JS).  Are there any attribute to set formatted MAX Gauge value.
Thanks!
Akshatha

C3 version:
D3 version:
Browser:
OS:


Prefer the presentation context that exactly matches a request's transfer syntax

This is intended to better handle cases when the same Abstract Syntax is specified in multiple proposed PCs, e.g.

PC 1: UltrasoundImageStorage, transfer syntax: ExplicitVRLittleEndian
PC 3: UltrasoundImageStorage, transfer syntax: JpegBaseline

And both PCs are accepted by the server.
In this case, a C-GET of UltrasoundImageStorage data that is natively stored in JpegBaseline is best to use PC 3 to avoid a decompression to ExplicitVRLittleEndian on the server. Similarly, a C-GET of data natively stored in ExplicitVRLittleEndian is best to use PC 1.
This PR adds additional logic for this in Association.getAcceptedPresentationContextFromRequest().
This situation is described in the pynetdicom docs here: https://pydicom.github.io/pynetdicom/stable/user/presentation.html, in particular the part starting "If you have data encoded in a variety of transfer syntaxes...".
Thoughts?

Definitely agree with the changes! Thank you @richard-viney!


Nightly v3 Android release has incorrect menu scaling

In the nightly android release from the v3 tracking page #143, the scale of all of the UI elements is too large:

Android Release v3
PWA

ROM Loading Menu

Settings Menu

This causes some text to be cut off on the right hand side of the screen, as well as the menu being almost unscrollable due to the touchscreen control preview filling the screen:

I wonder if this is related to my display size? My phone screen is 1600x720 (20:9).

Hi I just pushed a commit to dev that I think may fix this.
Can you try this by downloading the latest build in about 15 mins from here: https://github.com/skylersaleh/SkyEmu/pull/143

Yep, that works now, thanks!


Windows desktop app with ReorderableListView: Failed to update ui::AXTree

Windows desktop app with ReorderableListView causes
[ERROR:accessibility_bridge.cc(76)] Failed to update ui::AXTree, error: Node 20 is already pending for creation, cannot be a new child
flutter doctor -v
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22000.1335], locale en-IN)
• Flutter version 3.3.10 on channel stable at C:\Users\sharp\Documents\flutter_windows_2.5.3-stable\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 135454af32 (4 weeks ago), 2022-12-15 07:36:55 -0800
• Engine revision 3316dd8728
• Dart version 2.18.6
• DevTools version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\sharp\AppData\Local\Android\sdk
• Platform android-32, build-tools 31.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.8.3)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
• Visual Studio Enterprise 2019 version 16.8.30804.86
• Windows 10 SDK version 10.0.18362.0
[√] Android Studio (version 2021.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[√] VS Code (version 1.74.2)
• VS Code at C:\Users\sharp\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.56.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.1335]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 108.0.5359.125
• Edge (web)        • edge    • web-javascript • Microsoft Edge 108.0.1462.76
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

Hi @sharpsaravanan, please provide a complete minimal reproducible code sample along with steps to reproduce the issue.
Please also provide the full crash log and the full output of flutter run -v.
Thank you

main.txt
output of flutter run -v..txt

Hi @sharpsaravanan, it looks like this was reported in https://github.com/flutter/flutter/issues/98099 and has since been fixed. Can you check on the master channel to see if this still reproduces there?
You can switch to the master channel by running
flutter channel master
flutter upgrade

If this still reproduces on the master channel, please provide the output of flutter doctor -v on the master channel.
Thank you

Thank you, I am using Channel stable
flutter doctor -v.txt


LivePortraitLoadMediaPipeCropper  Unable to open file mp_models\face_landmarker_v2_with_blendshapes.task

he error occurs with all the options listed above, whether it's CPU, CUDA, etc., and the second option is set to true. Could you please help explain the reason for this?

same problem here


Remove external library and add as a sourceDep instead

Run ./.github/workflows/run_server.sh
tmux installed, setting eula and starting server
Starting Minecraft Server
Killing session
Printing server latest log:
cat: ./run/logs/latest.log: No such file or directory
Checking for successful chunkloading ("Preparing spawn area: " messages)
./.github/workflows/run_server.sh: line 39: ./run/logs/latest.log: No such file or directory
Server failed to load :(
Error: Process completed with exit code 1.

Hmm. Looks like it failed to run the server. Too bad I don't log stdout from tmux..

Give it a moment, this is nearly as bad a fight with Gradle as it was with ChatAge. It looks like the implementation of sourceControl in Gradle is by and large untested and poorly documented

We selected that the name of the package would be libage, so I think that if we have binaries that fixes this issue without the need for source code imports?

Possibly going to be replaced by #160 if merged, but worth noting that this process in general (Forge Gradle) is more flaky than it probably should be. Bloxgate identified with #160 that there's an issue with the classpath where it will load both a new and a old version of annotations (13 and 26) into the classpath instead of not using just the newer version like Gradle expects.


Cosmic advanced text

This adds changes for accessibility and the sctk shell to the latest from upstream.

We'll want to archive the existing version before this is pushed to master. Perhaps a tag like 0.6.0-cosmic?

We'll want to archive the existing version before this is pushed to master. Perhaps a tag like 0.6.0-cosmic?

Ya, that sounds good. I'll do that now.

Ahh a lazy widget seems to be panicking during layout in the launcher.

Seems to be working okay updating things to use this (https://github.com/pop-os/cosmic-osd/pull/2, https://github.com/pop-os/cosmic-workspaces-epoch/pull/1, https://github.com/pop-os/cosmic-settings/pull/37).
Looking at cosmic-settings, font size is noticably larger. Not sure if that's an issue or if the sizing is more correct now, but things will need adjustment either way.
The todos_sctk example crashes on adding a task with thread 'main' panicked at 'Wrong window id: Id(2)', examples/todos_sctk/src/main.rs:292:21. Window sizing also doesn't seem to be right in that example when tiled; the active frame rendered by cosmic-comp doesn't match the window.


Is it possible to add a hyperlink to an image?

I think this is FEATURE REQUEST.
Description
I am adding images to spreadsheet cell and want to add a hyperlink on that image.
I couldn't find a way with this library, so I add hyperlink to a cell. However, some cells have two images or more, hence adding hyperlink to a cell doesn't always produce a needed result.
Is it even possible to add a hyperlink to an image by code? I know it's possible from Excel and Calc.
Thanks for creating this library, I think that's very awesome.

Thanks for your issue. I have to init add a hyperlink to an image support for the function AddPicture().

Thank you. However, when I create a simple spreadsheet or a spreadsheet with image + hyperlink, there is an Excel 2016 error when opening that spreadsheet:

Excel was able to open the file by repairing or removing the unreadable content.
Repaired Records: Worksheet properties from /xl/workbook.xml part (Workbook)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>error139200_01.xml</logFileName><summary>Errors were detected in file 'C:\...\Workbook2.xlsx'</summary><repairedRecords><repairedRecord>Repaired Records: Worksheet properties from /xl/workbook.xml part (Workbook)</repairedRecord></repairedRecords></recoveryLog>

There is also an extra Sheet being created "Recovered_Sheet2"

Please provide the file attachment if you can.

please see attached.

Could you provide the origin file and code?

Here: excel2.zip

Oh, when calling the NewFile () function will automatically create a worksheet named Sheet1, so we need not call this function when only one worksheet in the workbook.

It's working without error now. Thank you! :)


eduke32@20201029-9273-3df9e02a6: decompress error

Hi
I got the following error when trying to install eduke32 through scoop:
Extracting eduke32_win64_20201029-9273-3df9e02a6.7z ... ERROR Exit code was 2!
Failed to extract files from C:\Users\amand\scoop\apps\eduke32\20201029-9273-3df9e02a6\eduke32_win64_20201029-9273-3df9e02a6.7z.
Log file:
~\scoop\apps\eduke32\20201029-9273-3df9e02a6\7zip.log
The log contains this:
7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive for archives:
1 file, 9192 bytes (9 KiB)
Extracting archive: C:\Users\amand\scoop\apps\eduke32\20201029-9273-3df9e02a6\eduke32_win64_20201029-9273-3df9e02a6.7z
Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0
Hope this helps
Cheers

The latest update went through with no issues - thank you.


Feature request: Brew support

Could you consider adding this to the "brew" package manager? I don't know what work that would entail for you, but it could be appreciated if possible.
I use Brew on the Mac and on a couple of Linux servers.
Thanks

I am not sure as I never used brew package manager.. but I found this on brew's documentation page. Check if it works for you and let me know.
In brief, what I understood, brew can also treat third party repositories like from Github also as a homebrew/core canonical repository. Its just that the repository name should have the prefix as homebrew.
So, what you can try is - clone this repo, rename it (add homebrew- as prefix) & run brew tap CodesOfRishi/homebrew-smartcd

Thank you for the tip. That is appreciated.
Now, maybe I am doing something obviously wrong, but I have installed via brew the cloned script both on MacOS and Debian 11, installed fzf and fd, restarted the shell AND a new terminal session and nothing seems to be happening (zshrc on Mac, bash on Debian).
I've navigated around some directories but cd -- doesn't show anything, nor does any type-ahead occur.
It is probably something very obvious but I've looked at the documentation and see nothing to guide me !

Have you sourced the smartcd.sh script in your .zshrc file (shell configuration file) ??

Embarassing. Had assumed the package manager did that. Sorry I need more handholding.
Installed using defaults. Pointed the file in my .zshrc script file
Now on opening you get:
Last login: Fri Dec 17 10:31:57 on ttys003
You have mail.
whereis: illegal option -- b
usage: whereis program [...]
whereis: illegal option -- b
usage: whereis program [...]
Can't use SmartCd: fzf not found !
whereis: illegal option -- b
usage: whereis program [...]
Can't use SmartCd: fd not found !
Yet fzf and fd are installed by brew and if you enter them on the command line they do their stuff...

Ok no problem… I have done most of the things for you regarding the Homebrew package manager!! But still I wasn't able to configure each & everything as it should have been, I think, as Homebrew is relatively very new to me & I still need to know more about it.
STEPS
brew tap CodesOfRishi/smartcd
brew install smartcd # (this will also install the dependencies required)
which smartcd.sh # (to know path where smartcd.sh is)

source the smartcd.sh script in your .zshrc or .bashrc file using the output that you got from which smartcd.sh command.
reload the shell
And, let me know how things goes!

It gave the same errors. Also it seems brew doesn't have the dependency
install feature. It complained about the #
source /usr/local/bin/smartcd.sh
is the path in my .zshrc file, as different to the original I had pointed
to the scripts directory.
Same whereis: illegal option -- b
usage: whereis program [...]
whereis: illegal option -- b
usage: whereis program [...]
Can't use SmartCd: fzf not found !
whereis: illegal option -- b
usage: whereis program [...]
Can't use SmartCd: fd not found !
This is within the terminal of Mac OS 10.15.7 in case it makes a
difference. I can't check presently on the Debian server but I will.
d
On Fri, 17 Dec 2021 at 12:03, Rishi K. @.***> wrote:

Ok no problem… I have done most of the things for you regarding the
Homebrew package manager!! But still I wasn't able to configure each &
everything as it should have been, I think, as Homebrew is relatively very
new to me & I still need to know more about it.
STEPS
brew tap CodesOfRishi/smartcd
brew install smartcd # (this will also install the dependencies required)
which smartcd.sh # (to know path where smartcd.sh is)

source the smartcd.sh script in your .zshrc or .bashrc file using
the output that you got from which smartcd.sh command.
reload the shell
And, let me know how things goes!

—
Reply to this email directly, view it on GitHub
https://github.com/CodesOfRishi/smartcd/issues/4#issuecomment-996589851,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABV5MAAGVJAL67H2L2JXBLDURMDIBANCNFSM5KDJSSIQ
.
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&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

You said you have fd installed & running... can you run & tell what output do you get on running fd -H -i smartcd from your /home directory?

Appreciate your patience. Maybe this is some Mac or Homebrew issue.
@.*** ~ % fd -H -i smartcd
Library/Caches/Homebrew/smartcd--1.3.0.tar.gz
Library/Caches/Homebrew/downloads/
cd69e60c17e7a37209256ff7b499f43eb46819aa362da36cc6f2a39701f826eb--smartcd-1.3.0.tar.gz
Library/Logs/Homebrew/smartcd
@.*** ~ %
On Fri, 17 Dec 2021 at 12:18, Rishi K. @.***> wrote:

You said you have fd installed & running... can you run & tell what
output do you get on running fd -H -i smartcd from your /home directory?
—
Reply to this email directly, view it on GitHub
https://github.com/CodesOfRishi/smartcd/issues/4#issuecomment-996602442,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABV5MABUKMGOLGIPCFC2EMLURME6VANCNFSM5KDJSSIQ
.
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&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok can you any undo/uninstall smartcd when you installed using the steps mentioned in this comment & install again using the steps mentioned here, because the latest one works on my Q4 OS debian machine !!

di@MacPro ~ % brew uninstall smartcd
Uninstalling /usr/local/Cellar/smartcd/1.3.0... (5 files, 17.5KB)
di@MacPro ~ % brew tap CodesOfRishi/smartcd
di@MacPro ~ % brew install smartcd #
Warning: No available formula with the name "#".
==> Searching for similarly named formulae...
^C
di@MacPro ~ % brew install smartcd
==> Downloading https://github.com/CodesOfRishi/smartcd/archive/refs/tags/v1.3.0.tar.gz
Already downloaded: /Users/di/Library/Caches/Homebrew/downloads/cd69e60c17e7a37209256ff7b499f43eb46819aa362da36cc6f2a39701f826eb--smartcd-1.3.0.tar.gz
==> Installing smartcd from codesofrishi/smartcd
🍺  /usr/local/Cellar/smartcd/1.3.0: 5 files, 17.5KB, built in 8 seconds
==> Running `brew cleanup smartcd`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
di@MacPro ~ % brew install fzf fd
Warning: fzf 0.28.0 is already installed and up-to-date.
To reinstall 0.28.0, run:
  brew reinstall fzf
Warning: fd 8.3.0 is already installed and up-to-date.
To reinstall 8.3.0, run:
  brew reinstall fd
di@MacPro ~ % which smartcd.sh
/usr/local/bin/smartcd.sh
di@MacPro ~ % tail .zshrc
	# Interactively load a light theme
	alias thl='theme.sh --light -i'

	# Interactively load a dark theme
	alias thd='theme.sh --dark -i'
fi

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

source /usr/local/bin/smartcd.sh

Same error with MacOS terminal. It did not like the # after the brew command but I let it try and reinstall the dependencies of FZF and fd
I will check on Debian later. Leaving for a meeting shortly.
Tks

There's no need to put whatever starts from # while running the commands. Those are just comments! You can omit that!
Just use brew install smartcd

That's what I did. I read (doh) the # as being a further argument (and then
your comment about dependencies). I copied the entire path of action so you
can see what happened.
On Fri, 17 Dec 2021 at 12:44, Rishi K. @.***> wrote:

There's no need to put whatever starts from # while running the commands.
Those are just comments! You can omit that!
Just use brew install smartcd
—
Reply to this email directly, view it on GitHub
https://github.com/CodesOfRishi/smartcd/issues/4#issuecomment-996619451,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABV5MABJ7S6MBT2UZHJK3W3URMIANANCNFSM5KDJSSIQ
.
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&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

It should work as which command is showing the path to smartcd.sh script.
Just open a new shell & try again!

I had done that! That's how I tested it... will be on a desktop tomorrow and will check the Debian server.
—-
Via iPad. Hopefully with not too many typos.

On 17. Dec 2021, at 17.26, Rishi K. @.***> wrote:

It should work as which command is showing the path to smartcd.sh script.
Just open a new shell & try again!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.


Issues when re-downloading .alpackages symbols for different Application/System version?

I have a tenant customization that I initially developed by connecting my .al project to a local docker instance (the tenant SaaS environment wasn't set up yet at the time so this was the best way to expedite development efforts).
At the time, the symbols it downloaded from the docker sandbox were as follows:

Microsoft_Application_13.0.24630.24844.app
Microsoft_System_13.0.12929.app

I tested this extension .app against both the docker sandbox as well as the tenant's sandbox with success.
Now that my customer's SaaS environment is set up (which is on a different version of business central), I deleted the contents in .alpackages and I re-downloaded the symbols but this time, from the tenant's SaaS sandbox. Not the docker one.
The files it downloaded are as follows:

Microsoft_Application_13.0.24630.0.app
Microsoft_System_13.0.12929.0.app

VS Code compiles the extension .app just fine, but I get the following error when I deploy this extension to both docker and SaaS (I tried both schemaupdatemode = recreate as well as synchronize. No dice):
The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=recreate failed with code 422. Reason: The extension was unable to be deployed due to a dependency between extensions.
AL Language Extension is  2.0.48254.
Why won't the .app deploy? I didn't find any lingering dependencies in the .app file VS Code compiles. I'd hate to have to completely uninstall the extension to get past this hurdle (and it should be reasonable to expect to test the extension against newer versions of BC).
Below is my app.json
{
  "id": "ecd17510-9820-431f-86a9-b1830ef9201e",
  "name": "foo",
  "publisher": "bar",
  "brief": "",
  "description": "",
  "version": "<IP_ADDRESS>",
  "privacyStatement": "",
  "EULA": "",
  "help": "",
  "url": "",
  "logo": "",
  "capabilities": [],
  "dependencies": [],
  "screenshots": [],
  "platform": "<IP_ADDRESS>",
  "application": "<IP_ADDRESS>",
  "idRange": {
    "from": 50000,
    "to": 99999
  },
  "runtime": "2.0",
  "showMyCode": true
}

The error message means that you have another extension that took dependency on your app. This usually happens when a designer extension is created which in current release takes dependency on all other extensions on the system. This problem will be fixed from the next minor update.
In the meanwhile you would need to check that all apps that depend on your app are uninstalled before you will be able to republish your app.
The second error message indicates that you still have the app published on the system. It might be a corrupted state so it's worth trying to change the app ID and/or name.
Have you installed/uninstalled/unpublished any other extensions on that tenant?

@StanislawStempin there are no other apps that depend on this app. It's a standalone extension. What do you mean by designer extension though? I did notice that when the debugger attaches to the web client, it brings up the default page in designer mode which I found really odd. Is that what F6 ultimately does. The default page specified in launch.json is page 22 (it, nor its dependencies have been extended).
FYI I've gotten into the habit of deploying from VS code via F6 (not F5) since if there is an error, F6 will give me relevant error outputs in the output window. F5 usually gives me nothing is something goes wrong.
At any rate I successfully deployed the extension to both docker and SaaS with the SaaS .alpackages app and system files but the only way for me to do it was to up the version number in the app.json file.
this begs several questions:

why did I need to completely uninstall the extension before it would allow me to re-deploy with different BC app and system symbols?

why did BC SaaS complain that a conflicting version/name/publisher was previously installed when there clearly was none published in the extension manager?

why did I have to resort to upping the version in app.json?

If I understand this all correctly, should debugging via F6 be avoided?

Ok, if you truly didn't have any dependent extensions than it might be an issue with the fact that the previous symbol version numbers were stamped inside the app installed on the tenant. We will investigate further.

@StanislawStempin I got confirmation from my boss that he was indeed creating other designer extensions at the time this was all happening.
You mentioned this will be fixed in a minor update. How will that minor update address this?
As it stands now I can't condone non-developers on my team to use the sandbox designer as it really interferes with developers such as myself who work in VS code.
or... if they must, have them complete their designs before my VS code extension is deployed to the sandbox. That way the design extensions doesn't force any depencencies.

Hi @CanuckNav74, the fix should be part of CU2. The issue #1704 tracks the designer dependencies issue.

Thanks for the update @qutreson
What version# will CU2 correspond to for SaaS? (FYI my customer's tenant BC is currently on
CA Dynamics NAV 13.1 (26435))

Sorry for answering so late. According to our online content, CU2 should have been version 13.0.26556/26413.

In my case I corrected the platform and application number <IP_ADDRESS>


Ticket/stable/pdb 1328 2.3.1 release notes

This PR adds the 2.3.1 release notes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/957/

^ transient failures, this is rfm!


749 |  Contain Virus | Java

 Contain Virus -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Java

Self Check

Ask for an issue assignment and wait to get assigned to it before making Pull Request.
Add your file to the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Please assign this issue to me.

@jag-singh-96 why are you creating duplicate issue of the problem you've been assigned to. #1034


Set permissions on staging and output directories for SegmentCreationJob.

Follow up to #3202:

Set permissions for staging as well as output directories for
SegmentCreationJob, if default umask is specified.

Set the permissions after mkdir.

Codecov Report

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

@@             Coverage Diff              @@
##             master    #3230      +/-   ##
============================================
- Coverage     70.33%   70.27%   -0.06%
  Complexity        4        4
============================================
  Files           957      957
  Lines         44238    44238
  Branches       5962     5962
============================================
- Hits          31113    31090      -23
- Misses        11056    11081      +25
+ Partials       2069     2067       -2

Impacted Files
Coverage Δ
Complexity Δ

...a/manager/realtime/RealtimeSegmentDataManager.java
50% <0%> (-50%)
0% <0%> (ø)

...inkedin/pinot/common/config/RealtimeTagConfig.java
93.33% <0%> (-6.67%)
0% <0%> (ø)

.../impl/dictionary/FloatOnHeapMutableDictionary.java
86.66% <0%> (-6.67%)
0% <0%> (ø)

...pinot/controller/validation/ValidationManager.java
77.19% <0%> (-6.44%)
0% <0%> (ø)

...e/operator/dociditerators/SortedDocIdIterator.java
59.45% <0%> (-5.41%)
0% <0%> (ø)

...elix/core/relocation/RealtimeSegmentRelocator.java
72.03% <0%> (-5.09%)
0% <0%> (ø)

...edin/pinot/common/metadata/ZKMetadataProvider.java
71.42% <0%> (-4.77%)
0% <0%> (ø)

...impl/dictionary/FloatOffHeapMutableDictionary.java
89.09% <0%> (-3.64%)
0% <0%> (ø)

...not/broker/broker/helix/ClusterChangeMediator.java
63.33% <0%> (-3.34%)
0% <0%> (ø)

...impl/dictionary/DoubleOnHeapMutableDictionary.java
71.11% <0%> (-2.23%)
0% <0%> (ø)

... and 14 more

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 9d36680...760a274. Read the comment docs.


Fix TestAccuracy: Randomly reduce testing parameters

Close #7819.
It's unlikely for TestAccuracy to fail with only a few testing parameters, because the implementation of F.accuracy is not complicated.

I think random selection is too crude. Important combination could possibly be dropped.
We can instead manually reduce the combination.

Now it's guaranteed that all pairs are tested.  While the algorithm is naive but it only generates 40 cases out of 6×3×3×3=162.

The priority is lowered because #7819 is closed.


When I use pdb.set_trace() in the code, the procedure never stop.

I'd like to learn the code by debugging, but when I use pdb in the code, the procedure never stops.
eg. I set a breakpoint in the 94 lines of mmcls/models/backbones/convnext.py.  But when I run the training procedure with a single gpu, it never stops.
I'm confused that how can I use pdb successfully in the procedure. Please give me some suggestions.

Pdb works in my environment, I think you need to provide more information about your debugging.

Pdb works in my environment, I think you need to provide more information about your debugging.

Thanks for your reply. I have found the problem. Maybe because I have token some redundant operations when I install misclassification, resulting in that the mmcls version doesn't match the code. So after I reinstalled the mmcls by "pip3 install -e .", the pdb can work successfully.


roundedtb: Update url, Remove notes

Repo has moved to https://github.com/Erisa/RoundedTB

Remove unnecessary notes

[x] I have read the Contributing Guide.

/verify


Implement a Noir Barretenberg verifier

See https://github.com/Hyle-org/hyle/issues/24
This PR will be merged alongside that one.

Hey guys. I would like to try this one :). I'm Gerson, participating in the ODHack 4.0, check my OD profile: https://app.onlydust.com/u/Gerson2102

Hey @Gerson2102 , see https://github.com/Hyle-org/hyle/issues/24 .
You can try and help there or pick another issue

@wraitii Why?

@Gerson2102  the issues are paired, so one person will necessary handle both

@wraitii that is something that we have to implement here, in this repo? To see which repo do we have to set up.

Done in #15


Discount Name is nil in the webhook data and in the Admin Order Display

What I'm trying to achieve
I want the discount (voucher) name in the webhook to do some further processing (We provide voucher codes as referrals, and need to track which voucher code was used to pay the referral fee). While the discount name and amount fields are present in the webhook data, the value for name is nil.
Steps to reproduce the problem

Create a voucher with Fixed Amount

Use the voucher on an order

Look at the data in the webhook. I get the following in my test logs:
.......... x2298616713\x22, \x22quantity\x22: 1, \x22currency\x22: \x22USD\x22, \x22unit_price_net_amount\x22: \x224.500\x22, \x22unit_price_gross_amount\x22: \x224.500\x22, \x22tax_rate\x22: \x220.00\x22}], \x22private_metadata\x22: {}, \x22metadata\x22: {}, \x22created\x22: \x222021-04-08T07:36:51.063Z\x22, \x22status\x22: \x22unfulfilled\x22, \x22user_email\x22<EMAIL_ADDRESS>\x22shipping_method_name\x22: \x22FBA\x22, \x22shipping_price_net_amount\x22: \x2230.59\x22, \x22shipping_price_gross_amount\x22: \x2230.59\x22, \x22total_net_amount\x22: \x2232.95\x22, \x22total_gross_amount\x22: \x2232.95\x22, \x22discount_amount\x22: \x222.140\x22, \x22discount_name\x22: null, \x22translated_discount_name\x22: \x22\x22, \x22weight\x22: \x221.0:kg\x22}]]

Look at the order in the dashboard: Dashboard -> Orders

Note: at a cursory look, the discount is not shown at all on the invoice for that order.
What I expected to happen
The name of the discount / voucher to appear in the webhook.
Screenshots

System information
Saleor 2.11
Operating system:

[ ] Windows
[ X] Linux
[ ] MacOS
[ ] Other

Browser:

[ ] Safari
[X ] Chrome
[ ] Edge
[ ] Other

Hi @bot, don't close it, as far as I know, it hasn't been fixed!
Although, now that I think of it, it's not a dashboard issue but a saleor core issue.


Results of ner is not displayed in logs

Hi, a small bug here: the results are not rendered in logging info
https://github.com/studio-ousia/luke/blob/9323b216dd5f72b61545bc4133f7709fd19bfa95/examples/ner/main.py#L93
This line should be logger.info("Results: %s" % json.dumps(results, indent=2, sort_keys=True)) right?^_^

Hi,
I think this is not a bug. Please see the following URL:
https://docs.python.org/3/howto/logging.html#logging-variable-data

Oh, I think it's because I set the argument no-eval in training, the results are not calculated, and thus not displayed...


Discrepancy with reference implementation - same result for $.store and $.store.*

I noticed a discrepancy between this project and the original PHP implementation of JSONPath by Stefan Gössner. This project gives the same result for $.store and $.store.*, while the original PHP implementation returns different results.
Additionally, I can't figure out a workaround. Is there a jsonpath that would give me an equivalent result (values only instead of the full object)?
I tested this with the sample data from the original original jsonpath article:
{ "store": {
    "book": [
      { "category": "reference",
        "author": "Nigel Rees",
        "title": "Sayings of the Century",
        "price": 8.95
      },
      { "category": "fiction",
        "author": "Evelyn Waugh",
        "title": "Sword of Honour",
        "price": 12.99
      },
      { "category": "fiction",
        "author": "Herman Melville",
        "title": "Moby Dick",
        "isbn": "0-553-21311-3",
        "price": 8.99
      },
      { "category": "fiction",
        "author": "J. R. R. Tolkien",
        "title": "The Lord of the Rings",
        "isbn": "0-395-19395-8",
        "price": 22.99
      }
    ],
    "bicycle": {
      "color": "red",
      "price": 19.95
    }
  }
}

I saved that to store.json and tested with:
jsonpath '$.store' store.json
jsonpath '$.store.*' store.json

and compared with the results at http://jsonpath.curiousconcept.com/
ping @maxlinc

Now they both seem to return the same result on '$.store.*. Could you please confirm if you still care? :) Thanks!

Closing this.


jachguate: Blacklist +34-919-464-036

jachguate requests the blacklist of the number +34-919-464-036. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Rejected by Jeff Schaller in Charcoal HQ. Reason: 'I can only find 1 hit in MS; adding this as a watch instead of a blacklist'


grpc with istio get poor performance

When the server has only one pod, the performance with istio is similar that without istio;
but scale the server replicas=2 , When not using istio, the average delay of 160 concurrent is 120ms; after with istio, the delay is 600ms+
istio version is 1.1.2, Mixer is not enabled for all tests

sorry,my mistake.
Modify the config in dr ConnectionPoolSettings.TCPSettings.maxConnections=80, I get the top performance
one more thing, what is the default value of ConnectionPoolSettings.TCPSettings.maxConnections, or default is not limited?

Hi,I am back
ConnectionPoolSettings.TCPSettings.maxConnections is the limit of destination host.
when scale the server replicas=2, setting maxConnections=80 is not right. so this config is not the solution.

Not an networking expert, but it does not seem reasonable to make client side connection number scale up as dynamically as the server side endpoints increase... wouldn't you pay mem/cpu overhead on client side envoy?
I remember envoy api doc somewhere mentioned this is 1024.

Yes, default for maxConnections is 1024:https://istio.io/docs/reference/config/networking/v1alpha3/destination-rule/#ConnectionPoolSettings-TCPSettings
@gxthrj are you still seeing performance issues?

Issue seems abandoned. I would encourage anyone seeing similar issues to open a new issue so we can get to the bottom of it. Thanks!


MQTTv5 Properties Bugs

I have tested nanomq/nanomq/0.6.6 docker image and I have found some issues:
Subscription Identifier
As noted in the OASIS specification: “it is a Protocol Error for a PUBLISH packet to contain any Subscription Identifier other than those received in SUBSCRIBE packet which caused it to flow. A PUBLISH packet sent from a Client to a Server MUST NOT contain a Subscription Identifier [MQTT-3.3.4-6]”.
If a client tries to send a PUBLISH packet that includes a “Subscription Identifier” the broker does not report a protocol error, it forwards the packet to subscribers including the property. This happens only if the subscribers do not set themselves a “Subscription Identifier“ for the subscription.
Including Duplicate Properties
As noted in the OASIS specification, to include a property value more than once is a protocol error for most of the properties (except “User Properties” and “Subscription Identifier”). NanoMQ broker ignores the malformed packet and considers the last value set. This behavior could cause ambiguity..
Test:
A client connects to broker using a crafted CONNECT packet that includes “Maximum Packet Size” twice (the first value is set to 2100, the second to 1024); then it subscribes to “topic/test”
A second client publish a message of little more than 2048 Byte and then a second one of  little more than 1024 Byte
The first message is discarded by the broker, the second one is received by the first client: so the broker considers the last value set.
Other tests were made including “Session Expiry Interval” and  “Response Topic” twice in respectively a CONNECT and a PUBLISH packet sent by a client. In both tests only the second value is considered by the broker. In the second test property is published twice.
NoLocal Flag
As noted in the OASIS specification: “it is a Protocol Error to set the No Local bit to 1 on a Shared Subscription [MQTT-3.8.3-4]”.
NanoMQ broker ignores the specification and lets clients set No Local bit to 1 on Shared Subscription.
Unsubscription
When a client tries to unsubscribe from a topic the broker often crashes.

Hi, thank you for helping us to identify the issues.  I assume "EMQx broker" means NanoMQ here. Will issue a fix this week.
Subscription Identifier
This is a known issue. the 0.6.6ver of NanoMQ does not support all sets of MQTT V5 features, sub ID is one of them. Will tweak the CONNACK packet to mark Subscription Identifier as unavailable. And this has been fixed in most update ver
of NanoMQ, the Subscription Identifier of PUBLISH packet will be ignored。

Hi, thank you for helping us to identify the issues. I assume "EMQx broker" means NanoMQ here. Will issue a fix this week.

Yes, of course. Sorry for the mistake.

Subscription Identifier
This is a known issue. the 0.6.6ver of NanoMQ does not support all sets of MQTT V5 features, sub ID is one of them. Will tweak the CONNACK packet to mark Subscription Identifier as unavailable. And this has been fixed in most update ver
of NanoMQ, the Subscription Identifier of PUBLISH packet will be ignored

I didn't know it. Well done.

@stefanodaroit  Hi bro, we have fixed rhese bugs and merged into the master branch now. Please submit another issue if you find any more issues.

gonna close this due to inactivity. All bugs have been fixed


Renaming does not work with liteloader installed

Issue Description:
I have a renaming script that runs, but it only works if liteloader is removed.
What happens:
The script loads with no error. The items do not get renamed.
What you expected to happen:
Items get renamed. I am guessing this is happening because liteloader initializes after forge.

Affected Versions (Do not use "latest"):

Minecraft: 1.12.2
Forge: <IP_ADDRESS>2
Crafttweaker: 4.0.9

nothing I can do, that is all on liteloaders side.


fix: WCAG color contrast issue in footer

Fixes Issue
Close #386
Changes proposed

Note to reviewers
Changed to color of text from text-gray-500 and hover:text-gray-400 to  text-gray-400 and hover:text-gray-300

Fixes the WCAG contrast issue

@rohitdasu Can you please review this?

hi @Lucif3r-in did you fix it in all pages?

Ya I changed in the footer component so it would reflect on every page. @rohitdasu . Lemme check for other contrast issues.

Ya I changed in the footer component so it would reflect on every page. @rohitdasu . Lemme check for other contrast issues.

not just for footer. please check it in every page and component using the chrome extension.

@rohitdasu Please review!! I have resolved all the contrast issues.

Sorry about that, I was working on some other issue. I have made the required changes can you please review it? @rohitdasu