Running Falco as daemonset fails

Describe the bug
I'm unable to run Falco as a daemonset in my Kubernetes cluster.
* Setting up /usr/src links from host
* Running falco-driver-loader for: falco version=0.28.0, driver version=5c0b863ddade7a45568c0ac97d037422c9efb750
* Running falco-driver-loader with: driver=module, compile=yes, download=yes
* Unloading falco module, if present
* Trying to load a system falco module, if present
* Looking for a falco module locally (kernel 4.18.0-240.10.1.el8_3.x86_64)
* Trying to download a prebuilt falco module from https://download.falco.org/driver/5c0b863ddade7a45568c0ac97d037422c9efb750/falco_centos_4.18.0-240.10.1.el8_3.x86_64_1.ko
curl: (22) The requested URL returned error: 404
Unable to find a prebuilt falco module
* Trying to dkms install falco module with GCC /usr/bin/gcc
DIRECTIVE: MAKE="'/tmp/falco-dkms-make'"
* Running dkms build failed, couldn't find /var/lib/dkms/falco/5c0b863ddade7a45568c0ac97d037422c9efb750/build/make.log (with GCC /usr/bin/gcc)
* Trying to dkms install falco module with GCC /usr/bin/gcc-8
DIRECTIVE: MAKE="'/tmp/falco-dkms-make'"
* Running dkms build failed, couldn't find /var/lib/dkms/falco/5c0b863ddade7a45568c0ac97d037422c9efb750/build/make.log (with GCC /usr/bin/gcc-8)
* Trying to dkms install falco module with GCC /usr/bin/gcc-6
DIRECTIVE: MAKE="'/tmp/falco-dkms-make'"
* Running dkms build failed, couldn't find /var/lib/dkms/falco/5c0b863ddade7a45568c0ac97d037422c9efb750/build/make.log (with GCC /usr/bin/gcc-6)
* Trying to dkms install falco module with GCC /usr/bin/gcc-5
DIRECTIVE: MAKE="'/tmp/falco-dkms-make'"
* Running dkms build failed, couldn't find /var/lib/dkms/falco/5c0b863ddade7a45568c0ac97d037422c9efb750/build/make.log (with GCC /usr/bin/gcc-5)
Consider compiling your own falco driver and loading it or getting in touch with the Falco community
Thu May  6 13:46:53 2021: Falco version 0.28.0 (driver version 5c0b863ddade7a45568c0ac97d037422c9efb750)
Thu May  6 13:46:53 2021: Falco initialized with configuration file /etc/falco/falco.yaml
Thu May  6 13:46:53 2021: Loading rules from file /etc/falco/falco_rules.yaml:
Thu May  6 13:46:53 2021: Loading rules from file /etc/falco/falco_rules.local.yaml:
Thu May  6 13:46:53 2021: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
Thu May  6 13:46:54 2021: Unable to load the driver.
Thu May  6 13:46:54 2021: Runtime error: error opening device /host/dev/falco0. Make sure you have root credentials and that the falco module is loaded.. Exiting.

How to reproduce it
Kubectl apply this file:
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: falco-daemonset
  labels:
    app: falco-example
    role: security
spec:
  selector:
    matchLabels:
      app: falco-example
      role: security
  template:
    metadata:
      labels:
        app: falco-example
        role: security
    spec:
      serviceAccount: falco-account
      containers:
        - name: falco
          image: falcosecurity/falco:0.28.0 # Change version to latest or master when Falco is stable
          securityContext:
            privileged: true
# Uncomment the 3 lines below to enable eBPF support for Falco.
# This allows Falco to run on Google COS.
# Leave blank for the default probe location, or set to the path
# of a precompiled probe.
#          env:
#          - name: FALCO_BPF_PROBE
#            value: ""
          args: [ "/usr/bin/falco", "--cri", "/host/run/containerd/containerd.sock", "-K", "/var/run/secrets/kubernetes.io/serviceaccount/token", "-k", "https://$(KUBERNETES_SERVICE_HOST)", "-pk"]
          volumeMounts:
            - mountPath: /host/var/run/docker.sock
              name: docker-socket
            - mountPath: /host/run/containerd/containerd.sock
              name: containerd-socket
            - mountPath: /host/dev
              name: dev-fs
              readOnly: true
            - mountPath: /host/proc
              name: proc-fs
              readOnly: true
            - mountPath: /host/boot
              name: boot-fs
              readOnly: true
            - mountPath: /host/lib/modules
              name: lib-modules
              readOnly: true
            - mountPath: /host/usr
              name: usr-fs
              readOnly: true
            - mountPath: /host/etc/
              name: etc-fs
              readOnly: true
            - mountPath: /etc/falco
              name: falco-config
      volumes:
        - name: docker-socket
          hostPath:
            path: /var/run/docker.sock
        - name: containerd-socket
          hostPath:
            path: /run/containerd/containerd.sock
        - name: dev-fs
          hostPath:
            path: /dev
        - name: proc-fs
          hostPath:
            path: /proc
        - name: boot-fs
          hostPath:
            path: /boot
        - name: lib-modules
          hostPath:
            path: /lib/modules
        - name: usr-fs
          hostPath:
            path: /usr
        - name: etc-fs
          hostPath:
            path: /etc
        - name: falco-config
          configMap:
            name: falco-config

Expected behaviour
Run Falco as a daemonset

Screenshots

Environment

Falco version: 0.28.0

System info: Thu May  6 09:46:29 2021: Falco initialized with configuration file /etc/falco/falco.yaml
Thu May  6 09:46:29 2021: Loading rules from file /etc/falco/falco_rules.yaml:
Thu May  6 09:46:29 2021: Loading rules from file /etc/falco/falco_rules.local.yaml:
Thu May  6 09:46:29 2021: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
{
"machine": "x86_64",
"nodename": "master1",
"release": "4.18.0-240.10.1.el8_3.x86_64",
"sysname": "Linux",
"version": "#1 SMP Mon Jan 18 17:05:51 UTC 2021"
}

Cloud provider or hardware configuration:
OS: NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"

Kernel: Linux master1 4.18.0-240.10.1.el8_3.x86_64 #1 SMP Mon Jan 18 17:05:51 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Installation method: Kubernetes

Additional context

ebpf too fails:

Setting up /usr/src links from host
Running falco-driver-loader for: falco version=0.28.0, driver version=5c0b863ddade7a45568c0ac97d037422c9efb750
Running falco-driver-loader with: driver=bpf, compile=yes, download=yes
Mounting debugfs
Trying to download a prebuilt eBPF probe from https://download.falco.org/driver/5c0b863ddade7a45568c0ac97d037422c9efb750/falco_ubuntu-generic_4.19.11-1.el7.elrepo.x86_64_1.o
curl: (22) The requested URL returned error: 404
Unable to find a prebuilt falco eBPF probe
Trying to compile the eBPF probe (falco_ubuntu-generic_4.19.11-1.el7.elrepo.x86_64_1.o)
make[1]: *** /lib/modules/4.19.11-1.el7.elrepo.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:18: all] Error 2
mv: cannot stat '/usr/src/falco-5c0b863ddade7a45568c0ac97d037422c9efb750/bpf/probe.o': No such file or directory
Unable to load the falco eBPF probe
Fri May  7 09:12:26 2021: Falco version 0.28.0 (driver version 5c0b863ddade7a45568c0ac97d037422c9efb750)
Fri May  7 09:12:26 2021: Falco initialized with configuration file /etc/falco/falco.yaml
Fri May  7 09:12:26 2021: Loading rules from file /etc/falco/falco_rules.yaml:
Fri May  7 09:12:26 2021: Loading rules from file /etc/falco/falco_rules.local.yaml:
Fri May  7 09:12:26 2021: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
Fri May  7 09:12:26 2021: Runtime error: can't open BPF probe '/root/.falco/falco-bpf.o': Errno 2. Exiting.

This has been a recurrent issue since I started using Falco last year. My solution has been to keep updating it to one of the latest two versions, but apparently that didn't work this time.

According to the information you provided,I found to problems,first is your falco package's modules version is'n compatible you kernel,and the second problem is your os can'n prepare dkms environment because network is'n corrent.
Maybe you can check your system network and make it normal to solve this problem

@leogr short sad story, no since they're already installed

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/remove-lifecycle stale

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Hey @alterEgo123
I apologize, I lost track of this.
Is this still an issue?

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


[core]Error at the lookup call

jadx latest beta version
apk link: https://drive.google.com/file/d/1er1nmvP2fKeCTC7-O_kngncB1kLmDp1b/view?usp=sharing
In class: com.fengwoo.videoplayer.welfare.ui.EconomicsDetailActivity method: public void onClick(android.view.View view) , you can see the presence of method com.fengwoo. videoplayer.utils.g0.g() call;but the method com.fengwoo.videoplayer.utils.g0.g() lookup call, but shows 0 results!

@xmhwws should be fixed, please check 👍🏽

The previously mentioned problem has been solved, thanks.


安装包就报错

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
Downloading spacy-3.7.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
ERROR: Cannot install -r requirements.txt (line 18) and gradio==4.41.0 because these package versions have conflicting dependencies.
The conflict is caused by:
spacy 3.7.2 depends on typer<0.10.0 and >=0.3.0
gradio 4.41.0 depends on typer<1.0 and >=0.12; sys_platform != "emscripten"
To fix this you could try to:

loosen the range of package versions you've specified
remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
pip install -r requirements.txt
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?
No response

替换这个版本
pip install packaging==23.2 addict==2.4.0 editdistance==0.6.2 einops==0.7.0 fairscale==0.4.0 jsonlines==4.0.0 markdown2==2.4.10 matplotlib==3.7.4 more_itertools==10.1.0 nltk==3.8.1 numpy==1.24.4 opencv_python_headless==<IP_ADDRESS> openpyxl==3.1.2 Pillow==10.1.0 sacrebleu==2.3.2 seaborn==0.13.0 shortuuid==1.0.11 spacy==3.4.0 timm==0.9.10 torch==2.1.2 torchvision==0.16.2 tqdm==4.66.1 protobuf==4.25.0 transformers==4.40.0 typing_extensions==4.8.0 uvicorn==0.24.0.post1 sentencepiece==0.1.99 accelerate==0.30.1 socksio==1.0.0 gradio==3.40.0 gradio_client decord

Fixed now


update certmanager apis to latest

Hi Sean, thanks for your pull request and sorry I'm replying so late. I tested the PR a few days ago and couldn't build the Docker image because go mod download failed with:
go<EMAIL_ADDRESS>unrecognized import path "vbom.ml/util" (https fetch: Get https://vbom.ml/util?go-get=1: dial tcp: lookup vbom.ml on <IP_ADDRESS>:53: no such host)

To exclude the possibility of a temporary network problem I then waited a few days to try this again. Today, however, the step still fails like before. I will have to google a bit to figure out what might be causing the problem and will get back to this PR. Did you try building the Docker image on your machine (e.g. docker build -t neoskop/cert-manager-webhook-dnsimple .) and did it go through?

@seanb4t I finally managed to update the dependencies and also did so for the Docker images used etc. in 24c78cbcb264f1d65600d31cc014b072a18c04b3. Use version 0.0.5 for the newer deps and compatiblity with cert-manager v1.1.0.


PEFT fine tune CLIP VIT-G?

Hello again!
Would it be possible to modify the GMP fine tune script to train a LoRA with PEFT for the CLIP VIT-G model? Then merge the LoRA with the model to get a new CLIP-G model?
Chat-GPT seems to think you can do it. But you have some clip module that only has certain clip models from openai, and not the clip G which I think is from LAION?
from peft import get_peft_model, LoraConfig, TaskType  # Import LoRA

...

    model, preprocess = clip.load(clipmodel, device=device)

    # LoRA Configuration
    lora_config = LoraConfig(
        r=4,  # Low-rank dimension
        lora_alpha=32,
        task_type=TaskType.VISION_LANGUAGE,  # Use the appropriate task type
        target_modules=["visual.transformer", "transformer"]  # Specify target modules for LoRA
    )

    # Apply LoRA
    model = get_peft_model(model, lora_config)

That's an interesting idea! I am not sure what would happen, as converting from weight matrix to theta and r affects all parameters, so what happens to those that are frozen? It may be fine, though, because the learned features are preserved in this modification - I am just not sure what happens if you train like that and some parameters can't update. But I'd say it's possible that it will be just the same as with a weight matrix and a large number of parameters frozen (except better model training ensues with GmP!).
And yeah, they renamed the model structure (same as with HF openai/clip which, in addition to all the attaching-of-ViT and stuff, I also had to accomplish in the conversion scripts we discussed last time).
If you do a diff of these files:
orclip/modeloriginal.py
gmpclip/model.py
...You can tell ChatGPT exactly what changed, and then tell it to implement these changes but applied in the syntax for peft. Make sure you provide the entire class to the LLM, but explicitly point out the function that has been altered within. GPT-4o should be able to apply that to whatever naming peft uses.
To state it upfront: I probably won't have time to look into this before the weekend, but please do give me an update (no matter if it's a problem or a success)! I'm curious how that will turn out. Who knows, maybe it is a way to train BIG-G after all? 😄

Sad update for now :(
    peft_model = get_peft_model(modified_clip_model, peft_config)
  File "C:\Users\zer0int\AppData\Roaming\Python\Python310\site-packages\peft\mapping.py", line 149, in get_peft_model
    return MODEL_TYPE_TO_PEFT_MODEL_MAPPING[peft_config.task_type](model, peft_config, adapter_name=adapter_name)
  File "C:\Users\zer0int\AppData\Roaming\Python\Python310\site-packages\peft\peft_model.py", line 1170, in __init__
    super().__init__(model, peft_config, adapter_name)
  File "C:\Users\zer0int\AppData\Roaming\Python\Python310\site-packages\peft\peft_model.py", line 138, in __init__
    self.base_model = cls(model, {adapter_name: peft_config}, adapter_name)
  File "C:\Users\zer0int\AppData\Roaming\Python\Python310\site-packages\peft\tuners\lora\model.py", line 139, in __init__
    super().__init__(model, config, adapter_name)
  File "C:\Users\zer0int\AppData\Roaming\Python\Python310\site-packages\peft\tuners\tuners_utils.py", line 166, in __init__
    self.inject_adapter(self.model, adapter_name)
  File "C:\Users\zer0int\AppData\Roaming\Python\Python310\site-packages\peft\tuners\tuners_utils.py", line 372, in inject_adapter
    self._create_and_replace(peft_config, adapter_name, target, target_name, parent, current_key=key)
  File "C:\Users\zer0int\AppData\Roaming\Python\Python310\site-packages\peft\tuners\lora\model.py", line 223, in _create_and_replace
    new_module = self._create_new_module(lora_config, adapter_name, target, **kwargs)
  File "C:\Users\zer0int\AppData\Roaming\Python\Python310\site-packages\peft\tuners\lora\model.py", line 320, in _create_new_module
    raise ValueError(
ValueError: Target module GeometricLinear() is not supported. Currently, only the following modules are supported: `torch.nn.Linear`, `torch.nn.Embedding`, `torch.nn.Conv2d`, `transformers.pytorch_utils.Conv1D`.

I'd probably have to hack PEFT itself, and that'll presumably be a somewhat extreme project. Well, at least I have performed the surgery on the BiG-G for now! 🙃

I just opened an issue with the PEFT folks. Who knows. Maybe they'll be interested - or they can confirm that this absolutely won't work, which would also be a very valuable thing. Fingers crossed! :-)


Update Heapster K8s doc

cc: @piosz

@davidopp could you please take a look from native speaker perspective?
cc @fgrzadkowski

LGTM for the content.

Ping

@johndmulhausen I made tech review and added LGTM for it thought I'm not able to apply the label.
Maybe @fgrzadkowski has appropriate permissions.

Thanks guys :)


feat: Add new arch support

Add new arch support.
Create an example project that uses the latest RC.
Tested with and without bridgeless enabled. I realise there is an open PR for this already so if that is favoured, that's fine.

I hope it will be merged soon

Hey @alanjhughes, would you have some time to bump this PR to newest RN version? I can do a review then. If you have no time to do it then it's fine and I can work on my PR too.

Hey @WoLewicki, no problem. I'll try to update it this week 👍

@WoLewicki Updated!

@WoLewicki - Fixed up as much as I could for CI. Still not sure what the issue is with Jest. Also regarding renaming the to Example we can't have two directories name example because mac os is not case sensitive so I left as is for now.

@mikehardy I'm leaving it up to you now since I have no permission to merge PRs.

Thanks for the reviews @WoLewicki!

vote up

@alanjhughes @WoLewicki there are a couple of jobs red in CI. Could you look into them. I'll try to summon @mikehardy to land these changes and have a release before 0.76

Hey there 👋  slowly coming back from summer vacation
Apologies @WoLewicki - the intention was that you had all the power you needed! I had the role set to "write" which said you could manage pull requests, and I assumed (maybe incorrectly?) that also meant running actions so that if you merged a pull request it would then run the actions and do the deploy as it saw the conventional commit go through
I bumped this to "maintain" rights, and I added @cipolleschi with the same rights to distribute things further
I don't have much new arch experience at all so I'm not a great collaborator here unfortunately, apologies for that
Also, it appears I have conflicted with your changes here as I forgot these were in process 🤦  and I merged a few things. You can see the diffs of what I merged at least, they are all pretty trivial and should be easy to copy/paste in to here I hope 😬
The diff is almost entirely:

a big mostly-textual change to the device list for iOS devices in iOS
a change to make the install receiver work in a thread in java

The jest test failure is the most concerning, I believe the windows one was a transient / flaky thing on that runner with a failed yarn install and will resolve whenever this PR is re-pushed to pull in the changes that happened between v11.1.0 and v13 that conflicted here

@mikehardy thanks for the input! @alanjhughes could you update the PR then?

when it will support new Architecture?

@usmandilmeer there are no expectations for release timelines with open source. If it is that important to you, you may fix the PR and repost it - open source is driven by people making the changes they need and contributing their effort to fix things. Be the person that does it, and it will support new architecture

@usmandilmeer from my testing, the react-native-device-info library is already working with the New Architecture, through the interop layer.


Remove file from list

Problem is on FF, when i use remove file from list, console log result:
:  bootstrap.fd.js:78:0
Empty string passed to getElementById().

I can't reproduce this behavior. Could you please give more details?

When i try to remove file what i select before but with mistake i get this ":" like on screenshot.  i don't know how else to show it, but if something else is needed just ask :)

This was an odd Firefox bug with FileReader API.

Its working thank you.


Add more C++ tests for activations

Description
This PR consolidates tests for GLU and regular versions of the activations as well as improves coverage of the activations (earlier mostly covering GELU/GEGLU).
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[ ] Code refractor

Changes
Please list the changes introduced in this PR:

Added coverage of relu/silu/reglu/swiglu in C++ tests
Combined test_gelu.cu and test_geglu.cu into a single test_act.cu file

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch

LGTM!


Ability to set umask for Zend\Log\Writer\Stream

It'd be nice if you'd be able to define the file permissions a log file should have when it needs to be created.
Would anything speak against adding an optional parameter to the constructor and executing a chmod after creating the file?

Can be closed via #7
ping @weierophinney


Allow limitation of how many / which residues to allow to mutate

This could be an optional input to the PointMutationEngine constructor?

Addressed by https://github.com/choderalab/perses/pull/117


numberFormat refuses to use comma as decimal separator.

Hello all,
The snippet below is returning "€ 1,234,567.89", stead of "€ 1.234.567,89".
I already tried a different number of configs but with no success:

locale as it_IT or nl_NL
Set the system locale to Berlinin the Alpine Container
different kinds of patterns, etc

Do any of you know what should be done to use commas as decimal operator with this lib?
   $money = new Money('123456789', new Currency('EUR'));
   $currencies = new ISOCurrencies();
   $numberFormatter = new \NumberFormatter('de_DE', \NumberFormatter::CURRENCY);
   $numberFormatter->setPattern('¤ #,##0.###'); //#.##0,00
   $moneyFormatter = new IntlMoneyFormatter($numberFormatter, $currencies);
   echo $moneyFormatter->format($money);

Did you create your container with the icu-data-full  package installed before compiling PHP?

Thank you so much for your help @frederikbosch, that was precisely missing. now my intl is working well.
snipped from my docker file
#...
RUN apk add --no-cache icu-dev gnu-libiconv gettext tzdata icu-data-full \
    && docker-php-ext-configure intl \
    && docker-php-ext-install intl \
    && docker-php-ext-enable intl
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so
#...


SPI issue in v4.1: DMA MOSI transmissions have gaps, but SCK does not. (IDFGH-4569)

Environment

Development Kit:      Custom ESP32 board
Kit version (for WroverKit/PicoKit/DevKitC): n/a
Module or chip used:  ESP32-WROOM-32U
IDF version (run git describe --tags to find it):
v4.1 -- (I have not updated to master to see if this is the issue, but will check tomorrow AM)
Build System:        CMake
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2020r2) 8.2.0
Operating System:     [Windows|Linux|macOS]
(Windows only) environment type: [MSYS2 mingw32|ESP Command Prompt|Plain Command Prompt|PowerShell].
Using an IDE?: VSCode
Power Supply:    external 12V through 60W DC-DC and then 3.3V LDO

Problem Description
When doing large (4608 bytes, in this case) SPI transactions using DMA, there are gaps in the MOSI datastream that are not matched by the SCK datastream.
That is to say: there are the expected (due to RTOS task switching) disruptions in the MOSI line, but the SCK line continues clocking.   This, of course, completely destroys the integrity of the data as the MOSI line is read as 0x00.
Expected Behavior
When MOSI pauses, SCK should pause as well.
Steps to reproduce
Execute the attached code
Code to reproduce this issue
https://gist.github.com/benpeoples/47d9837120fe606ac625795654f43447
This fills the framebuffer with a repeating pattern of 0x01 0x02 0x03 and then transmits it, using DMA as the buffer is larger than 64 bytes.
Revising the lcd_cmd function with this:
void lcd_cmd(spi_device_handle_t spi)
{
    esp_err_t ret;
    spi_transaction_t t;

    for(int x = 0; x < 72; x++)
    {
    memset(&t, 0, sizeof(t));       //Zero out the transaction
    t.length=64*8;                     //Command is 8 bits
    t.tx_buffer=framebuffer+x*64;               //The data is the cmd itself
    ret=spi_device_transmit(spi,&t);
    assert(ret==ESP_OK);            //Should have had no issues.
    }

}

is the workaround I'm currently using, and this works with short (44us) gaps between the transmissions.   I took manual control of the CS line so we don't toggle that between spi_device_transmits
Here are the SPI traces in PulseView: https://imgur.com/a/5Iabif7
The top signal is MOSI, the lower signal is SCK.    While I did not zoom all the way in, the SCK clock is clean and consistent through these MOSI pauses.

Thanks for reporting.

Thanks for reporting.


Errors in baxos.

When the decode key size is larger than the key size used in encode, it will output wrong decode results with a high probability, just like this. I think both zero and collisions are wrong decode results, and it seems this will not affect the correctness of psi, due to the existence of VOLE.

BTW, what's the main difference between baxos and paxos.

Can you share code that reproduces the error? Baxos in the binning optimization. Just a different okvs scheme

Just a simple test can reproduce the error.
paxos.solve<block>(items, values, p);
std::vector<block> test1(items);
test1.insert(test1.end(), tmp.begin(), tmp.end());
std::vector<block> test2(test1.size());
paxos.decode<block>(test1, test2, p);
for (u64 i = 0; i < test2.size(); ++i) {
	std::cout << "the " << i << "-th key is " << test1[i] << " value is " << test2[i] << std::endl;
}

im failing to reproduce. Can you share a full working example?

I modified the Baxos_solve_Test in Paxos_Tests.cpp.
void Baxos_solve_Test(const oc::CLP& cmd)
{

	u64 n = cmd.getOr("n", 1ull << cmd.getOr("nn", 4));
	u64 b = cmd.getOr("b", n/4);
	u64 w = cmd.getOr("w", 3);
	u64 s = cmd.getOr("s", 0);
	//u64 v = cmd.getOr("v", cmd.isSet("v") ? 1 : 0);
	u64 t = cmd.getOr("t", 1);
	bool v = cmd.isSet("v");
	//u64 g = cmd.getOr("g", 3);

	//for (u64 n = 10; n < nn; ++n)
	{
		PRNG prng(block(0, s));
		Baxos paxos;
		paxos.init(n, b, w, 40, PaxosParam::GF128, prng.get<block>());

		std::vector<block> items(n), values(n), tmp(n), values2(n), p(paxos.size());
		prng.get(items.data(), items.size());
		prng.get(values.data(), values.size());
		prng.get(tmp.data(), tmp.size());

		for (u64 tt = 0; tt < t; ++tt)
		{
			PRNG prng(block(tt, s));
			paxos.init(n, b, w, 40, PaxosParam::GF128, prng.get<block>());

			paxos.solve<block>(items, values, p);
			std::vector<block> test1(items);
			test1.insert(test1.end(), tmp.begin(), tmp.end());
			std::vector<block> test2(test1.size());
			paxos.decode<block>(test1, test2, p);
			for (u64 i = 0; i < test2.size(); ++i) {
				std::cout <<"the " << i << "-th key is " << test1[i] << " value is " << test2[i] << std::endl;
			}
			paxos.decode<block>(items, values2, p);

			if (v)
				std::cout << "." << std::flush;
			if (values2 != values)
			{
				u64 count = 0;
				for (u64 i = 0; i < n; ++i)
				{
					if (values[i] != values2[i])
					{
						if (count < 10)
							std::cout << i << " " << values[i] << " " << values2[i] << std::endl;
						else
						{

							std::cout << "..." << std::endl;
							break;
						}

						++count;
					}
				}

				std::cout << "seed " << prng.getSeed() << " "<<tt << std::endl;
				throw RTE_LOC;
			}
		}
	}

}

that is the correct behavior. there is not issue with that test. In what way is it not behaving as you expected.

I have modified the test in paxos.decode. The first half of test1 is the same as items and the second half is filled with randomness. It is expected that the decode result of the second half is some random number, but it outputs zero and collision values, as the pic above.

Your expectation is incorrect. Random values will return some value but no guarantee on what. So what is happening internally?
Each input x is mapped to 3 position p0, p1, p2. The output of x is typically just E[p0] + E[p1] + E[p2]. Sometime the "dense columns" are used but this isn't typically.
Many of these E[i] positions will be zero. Especially when the input set is small. Therefore it's somewhat likely the output will be the same.
As the input set gets larger, this is less likely. You can also random the okvs by filling the zeros positions with random values. Do this by passing a prng to solve(...).
But if you are relaying on the fact that other outputs are actually random, that's a bad idea. You can't depend on decode(x) to be random in general because decode will be a linear function and therefore have linear correlations.

Thanks for your explanation!
I misunderstood the definitions of okvs before, but it seems the collision probability is non-negligible even the input set is pretty large (2^20).
So this feature does not affect psi due to the mask of vole.

Take a look here for more details https://eprint.iacr.org/2024/1989.pdf.
You can also close the issue


Save and Save & publish

Description of problem
There are quite a few customers that want to edit content and save but not yet publish. For various reasons like:

it's time to go home, tomorrow I'll finish
I think it's good but I want my colleague to co read
Currently, when you save, the new content is publlished immediately.

Description of solution
Other systems have 2 buttons:

Save
Save 7 publish

Additional context
For tenders this is a must have for most occasions. So, if we want DNN to have a go at government institutions we really need to have this.

This feature currently exists in the Html module, in the module settings you have that option for "Direct Publish" and "Content Staging". As for other modules, then it is up to the individual module to implement something similar. There are other issues open to bring more advanced workflows to the platform too. For that reason I am closing this issue for now but if I misunderstood something, feel free to comment.

In that case I don't understand the workflow.
If I set the workflow on module level on 'Content staging', edit content and click 'save' I see my work directly. Alos when I am not logged in.
If I verify my settings, I see the workflow is back on Direct publish.
Should I do this in another way? I don't see the workflow on site settings for instance...

Hmm, that is not supposed to happen, let me give it a try here...

Hmm, interesting, the Content staging workflow does not save for the module level, it looks like it saves for the page level though, reopening this issues for that reason.

Is there a setting for page level? I didn't know that...Can you point out where?
Because if it doesn't exist, the workflow or 'Save and Save & publish' only exists in the database.

Yes, it is in each html module settings, you can change the workflow (Direct Publish or Content Staging for platform, Evoq I believe has more options and the underlying/data logic supports adding more although there is no UI for creating them). Then right under that you can choose if that applies to the module, the page or the site and you can override existing settings.

Now I am not sure where this needs to be fixed, here or in https://github.com/DNN-Connect/CKEditorProvider
Basically I am not sure where the module stops and where the provider starts, might be interesting to test another provider to check if it's a problem with the provider or module.

This should not be in the CKeditor as that would make it depending on the editor. And that is not what you want. So, it should on module level (taking advantage of generic logic) IMHO

Cool, so taking it as a bug under this repository then.

I just ran into this today in a demo.  :D

Oh man... and I just ran into this again today attempting to answer a forum post!  😆 Whoops!


Suggestion - determine the usage of refundAmount in a booking

There is ambiguity whether the the refundAmount provided should contain the value that has been refunded, or the remainder which can be refunded. As there is the potential for chosing different interpretations, it would be good with a decision.

refundAmount is the amount refunded.
TODO: add comment in abstractBookingPart on refundAmount --> Clemens


[SPARK-35244][SQL] Invoke should throw the original exception

What changes were proposed in this pull request?

This PR updates the interpreted code path of invoke expressions, to unwrap the InvocationTargetException
Why are the changes needed?

Make interpreted and codegen path consistent for invoke expressions.
Does this PR introduce any user-facing change?

no
How was this patch tested?

new UT

@viirya @maropu

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42522/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42522/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42522/

Test build #138002 has finished for PR 32370 at commit 56cea5a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138002/

Merged to master.

late lgtm.

I've backported this to 3.1/3.0, as inconsistency between codegen and interpreted code path is risky.


User's peers lists

Is your feature request related to a problem? Please describe.
When regular user creates an account on self-hosted Netbird it shows hime the only ways to install clients to connect to the network, but when the user adds some peers then they won't be shown in users dashboard.

Describe the solution you'd like
Add functionality to show users their peers with details like it shows now for admin roles. It helps user to see his peers, delete them and use network related information about them.
Thank you

Hey @sisumara
We will add an account setting to enable/disable the peers view for regular users. However, users with a “user” role don’t have a permission to delete peers.
We will also continue working on more advanced roles and permissions system.

in the mean time you can use the tag v2.1.2

in the mean time you can use the tag v2.1.2

Why?

v2.1.2 was the previous version; it doesn't have this limited view.

Hi we would greatly appreciate it if users could see their own peers again. We were planning to make use of this before it was removed.

You can enable or disable this feature in the Settings -> Permissions section

Self hosted here, don't see that. My user has the Owner role.

Nevermind, I see your edit now. We will await the release. Thanks.


1.3.0 branch Test issue.

In ClickableItemTest class;

This line throws NullPointException.

Fixed :) (Thanks @Sytm)


Update to 5.0.0

Closes #21.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@isuruf Can you fix the patch?

Okay. I will

@jakirkham, @inducer, can you have a look? I'd like to get this in before travis-ci gets busy.

I believe the calling convention patch was merged upstream:

https://reviews.llvm.org/D33639
https://github.com/pocl/pocl/issues/1

@isuruf Could you check to make sure and then just drop it?

Yes, I noted that in my first commit message.

LGTM aside from the OpenCL CC patch issue.

The OpenCL patch is removed. There is another patch related to libxml2, which is still required.

The OpenCL patch is removed

IMO, it ought to be deleted and the line removed from meta.yml.

Done.

Tests pass now

@SylvainCorlay, sorry--nvm. I realized that the cling variant got left behind at 4.0 already, so there's no need to hold up 5.0 based on it. Sorry for the noise.

@xoviat @isuruf Thanks for working on this!

@inducer We still need to add the flang variant. Should it go in this branch or another one?

There are two changes:

Updating to 5.0 (this one)

adding NVIDIA's hacked clang

I created the flang branch for you. I tend to agree with @isuruf that a separate branch is probably best, since it doesn't look like we necessarily want to update clang whenever flang updates and vice versa, plus it uses a different package source.


Update lua.json comment statement

Update lua.json comment statement

This has been addressed in #306. See here

I don't think this should be in the default snippets.


GraphScope is not compatible with glog 0.6.0

As titled, glog 0.6.0 has a breaking API change.

Fixed by #1738


Time (too long)

Rather then thread off per line, would / should be faster to load the entire file and let string,split handle the parsing of line breaks.... leveraging the CPU as well as hard drive a bit more, with less overhead in creating threads (does the index process even need threads? have to be real careful due to db constraints)

Got the -B option working.... and looking at it, I am seeing more time constants with the SQLite inserts then anything else. Look into this, and also remove threading (again, overkill to generate a bunch of threads for nothing) and see if there is a boost , even if thats not the main issue


Packed Scene PCam Origin Incorrect

Issue description
I am hoping I'm using the addon as intended.
I have one scene called World that has this structure

World

Camera

CameraHost

Character (Instanced Scene)

and the Character Scene:

Character

CharacterBody3D

Skin

PhantomCamera3D

The PhantomCamera follows the Skin with mode Simple  (also tried following CharacterBody3D)
The challenge I'm running into is that the PhantomCamera seems to want to glue itself to the global transform position of the Character Scene when instanced in the World Scene at a different position (noticable with the Easing function on)
It is mostly apparent when trying to Follow Lock on the Z axis which it fixes to the origin point of the Character Scene.
I am able get this to work if I forgo the scene all together and directly tie the nodes to the World scene but this isn't ideal.
I'm wondering if I'm doing something incorrect with my configuration.
Note: Nothing in my configuration related to PhantomCamera is controlled by a script.
Thanks a bunch for the addon!
Steps to reproduce
scaffold a project similar to the node structure I have.
The example projects in the addon can be the foundation.
(Optional) Minimal reproduction project
No response

I'm not quite sure if I understand the issue.
Have tried setting up a scene with the same structure you wrote and don't see anything unexpected?

thanks for getting back so quickly! I just put together a reproduction of the issue here.
https://github.com/gummycookie/phantom_cam_repro

I think I have figured out the issue and what my expectations were.
I was assuming that if I had a follow cam with follow lock that it would lock the axis at where the target is based on the targets initial global transform axis. Rather, the phantom cam locks at the position of where the phantom cam is instead.
Maybe we can clarify this behavior in the documentation but it's something I can work with regardless.
I will close the issue. Thanks a bunch for the addon!


New zoom effect for product gallery images

Related Issues

closes #2755
Short Description and Why It's Useful

New zoom effect for product gallery images. It it possible to zoom-in them now.
Screenshots of Visual Changes before/after (if There Are Any)

Before:

After:

Which Environment This Relates To
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

zoom is not working on mobile on view on mouse drag


[Windows] [Multi-Camera] D415 unresponsive after multiple sensor open and closes.

Required Info

Camera Model
D415

Firmware Version
5.12.3

Operating System & Version
Windows 10

Platform
PC

SDK Version
2.33.1

Language
C++14

Segment

Issue Description
I am currently developing a device consisting of 20 D415 devices.
They are each connected to 5 pcie usb-hubs with 4 usb3.0-connectors.
At least one device will become unresponsive, meaning stop being enumerated into rs2::context().query_devices();, after around 200~1000 loops of running a code like below.
The current method to making them responsive requires either unplugging & replugging the device from their corresponding USB hubs, or shutting down and manually booting the PC (Restarts don't work)(You have to cut power to the device).
I have tried uninstalling all drivers, disabling USB selective suspend, but none of them worked.
Since enumeration is impossible, device.hardware_reset() cannot be executed.
I think there should be an alternative method of restarting the camera in a software manner. (or at least recover when on system restart (not shutdown & power up))
Whenever this occurs, the USB Tree View displays the following. (SET_ADDRESS_FAILURE)

Here is a quick sample for reproduction.
It will take long until a device becomes unresponsive.
#include <cstdlib>
#include <vector>
#include <iostream>
#include <future>
#include <librealsense2/rs.hpp>

constexpr size_t LOOP_COUNT = 500;
constexpr size_t PLUGGED_IN_COUNT = 20;

typedef struct stream_profile_config
{
	int fps;
	rs2_stream stream_type;
	int stream_index;
	rs2_format format;
	int width;
	int height;

} stream_profile_config;

std::tuple<bool, rs2::stream_profile> get_stream_profile(const rs2::sensor& sensor, const stream_profile_config& config)
{
	const std::vector<rs2::stream_profile> stream_profiles = sensor.get_stream_profiles();
	for (const rs2::stream_profile& stream_profile : stream_profiles)
	{
		if (stream_profile.is<rs2::video_stream_profile>())
		{
			const rs2::video_stream_profile video_stream_profile = stream_profile.as<rs2::video_stream_profile>();
			if (video_stream_profile.fps() == config.fps
				&& video_stream_profile.stream_type() == config.stream_type
				&& video_stream_profile.stream_index() == config.stream_index
				&& video_stream_profile.format() == config.format
				&& video_stream_profile.width() == config.width
				&& video_stream_profile.height() == config.height)
			{
				return std::make_tuple(true, stream_profile);
			}
		}
	};
	return std::make_tuple(false, stream_profiles[0]);
}

int main(void)
{
	std::cout << "[INFO] Starting Realsense Sandbox Program. " << std::endl;
	std::cout << "[INFO] Librealsense Library Version: " << RS2_API_VERSION_STR << std::endl;

	for (size_t loop = 0; loop < LOOP_COUNT; loop++) {
		std::cout << "[INFO] LOOP " << loop << std::endl;
		rs2::context context;
		const rs2::device_list device_list = context.query_devices();
		const uint32_t device_count = device_list.size();
		if (device_count < 1)
		{
			std::cout << "[ERROR] NO REALSENSE DEVICES FOUND!" << std::endl;
			return EXIT_FAILURE;
		}
		else if (device_count < PLUGGED_IN_COUNT)
		{
			std::cout << "[ERROR] REALSENSE DEVICE UNRESPONSIVE!" << std::endl;
			return EXIT_FAILURE;
		}
		std::vector<std::future<int>> threads;
		threads.reserve(device_count);
		for (uint32_t i = 0; i < device_count; i++) {
			threads.emplace_back(std::async(std::launch::async, [i, &device_list]() {
				const rs2::device device = device_list[i];
				if (!device)
				{
					std::cout << "[ERROR] REALSENSE DEVICE INVALID" << std::endl;
					return EXIT_FAILURE;
				}

				const rs2::color_sensor color_sensor = device.first<rs2::color_sensor>();
				const rs2::depth_sensor depth_sensor = device.first<rs2::depth_sensor>();
				if (!color_sensor || !depth_sensor)
				{
					std::cout << "[ERROR] REALSENSE DEVICE SENSOR(S) INVALID" << std::endl;
					return EXIT_FAILURE;
				}

				const std::tuple<bool, rs2::stream_profile> color_stream_profile_result = get_stream_profile(color_sensor, { 6, rs2_stream::RS2_STREAM_COLOR, 0, rs2_format::RS2_FORMAT_BGR8, 1280, 720 });
				const std::tuple<bool, rs2::stream_profile> depth_stream_profile_result = get_stream_profile(depth_sensor, { 6, rs2_stream::RS2_STREAM_DEPTH, 0, rs2_format::RS2_FORMAT_Z16, 1280, 720 });
				if (!std::get<0>(color_stream_profile_result) || !std::get<0>(depth_stream_profile_result))
				{
					std::cout << "[ERROR] REALSENSE SENSOR STREAM PROFILE NOT FOUND" << std::endl;
					return EXIT_FAILURE;
				}

				const rs2::stream_profile& color_stream_profile = std::get<1>(color_stream_profile_result);
				const rs2::stream_profile& depth_stream_profile = std::get<1>(depth_stream_profile_result);

				rs2::syncer syncer;

				std::cout << "[INFO] Opening / Starting Sensors" << std::endl;
				color_sensor.open(color_stream_profile);
				try
				{
					depth_sensor.open(depth_stream_profile);
					try
					{
						color_sensor.start(syncer);
						try
						{
							depth_sensor.start(syncer);
							try
							{
								std::cout << "[INFO] Opening / Starting Sensors Complete" << std::endl;

								rs2::frameset fs;
								syncer.try_wait_for_frames(&fs, 8000);
							}
							catch (...)
							{
								depth_sensor.stop();
								throw;
							}
						} catch (...)
						{
							color_sensor.stop();
							throw;
						}
					} catch (...)
					{
						depth_sensor.close();
						throw;
					}
				} catch (...)
				{
					color_sensor.close();
					throw;
				}

				std::cout << "[INFO] Stopping / Closing Sensors" << std::endl;
				try { color_sensor.stop(); }
				catch (const rs2::wrong_api_call_sequence_error&) {}
				try { depth_sensor.stop(); }
				catch (const rs2::wrong_api_call_sequence_error&) {}
				try { color_sensor.close(); }
				catch (const rs2::wrong_api_call_sequence_error&) {}
				try { depth_sensor.close(); }
				catch (const rs2::wrong_api_call_sequence_error&) {}
				std::cout << "[INFO] Stopping / Closing Sensors Complete" << std::endl;

				return EXIT_SUCCESS;
			}));
		}
		bool status = EXIT_SUCCESS;
		for (std::future<int>& thread : threads) {
			try {
				status |= thread.get();
			}
			catch (const std::exception& e) {
				std::cout << "[ERROR] Thread threw error: " << e.what() << std::endl;
				status = EXIT_FAILURE;
			}
		}
		if (status == EXIT_FAILURE) {
			return EXIT_FAILURE;
		}
	}
	std::cout << "[INFO] Closing Realsense Sandbox Program. " << std::endl;
	return EXIT_SUCCESS;
}

If you cannot reset a specific device because it cannot be enumerated, an alternative solution may be to reset the entire USB port.  It should then not be dependent on detection of whatever camera is currently plugged into it.  Googling for 'windows c++ reset usb port' can provide some research leads about how to accomplish this.
A popular suggestion is a Microsoft tool called DevCon.

Thank you for a fast response.
I forgot to mention, but I have already tried resetting the hub both from device manager and devcon :(

Ok, I will try to use poll_for_frames and see the effects later.
I understand what you are trying to say. As the application I am developing requires rapid almost simultaneous capturing for a short amount of time, streams for all twenty cameras are opened and then closed quickly. Framerate is lowered to 6 fps as anything above that will crash the program.
I used to use the typical rs::pipeline for streaming, but it proved to be too inefficient for the application, so I switched to using rs::syncer and it seems to be working 99% fine (with lots of automatic retry routines)
The 1% problem is that it wouldn’t last over 200+ stream open/close in one process.
There are currently 1 usb controllers for every 2 devices.
I was wondering if there was any way we could brute force a hardware reset using cfgmgr or some windows usb library to enumerate through the unresponsive devices and transfer the HWRST command (if possible).

Rather than rapidly open and close the streams, an alternative may be to put the whole CPU to sleep until you need to wake it up for a capture.  poll_for_frames is very suited to this, since you have to control the sleep state for it carefully anyway.
https://github.com/IntelRealSense/librealsense/issues/6281
It also seems like an application that would be suited to multicam hardware sync, where you link the 20 cameras together with sync cabling and 19 of those cameras are set as "slave" cameras that follow the capture timing of 1 "master" camera.

Thank you for your advices. They were very useful.
First, I have tried putting some threads created by librealsense to sleep, by intercepting operator()(rs2::frame) callbacks to the syncer with condition_variables by implementing a custom syncer which extends rs2::syncer. This seems to be working great as it allowed the CPU usage to drop from a continuous 10-30% to 0-5% with 20 devices. I will have to do more testing to see if any devices become unresponsive with this.
#6281 really gave me hints in implementing this. Thank you.
Second, even though I knew about the hardware sync feature, I didn't want to risk investing time and money into hardware (as some cameras are way more than 3 meters apart) that I couldn`t prove would work with 20 devices on 6fps. The white paper only shows up to 6 devices on 30 fps.
Plus, I am already 99% satisfied with the current configuration and looking for an easy solution to this problem.
Third, the symptoms in #3829 and the one I am experiencing is very similar. The issuer there is using Ubuntu which I think some machines has a USB hub power cut capability (ex https://github.com/mvp/uhubctl), which would fix this problem for sure, but a Windows machine usually does not have this capability.

I'm glad that the links provided were helpful.   :)
The link below has a method in Microsoft's documentation for power-cycling a USB port or hubs on Windows.
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/usbioctl/ni-usbioctl-ioctl_usb_hub_cycle_port

Do you require further assistance please, or can this case be closed?   Thanks!

Not for now! Thanks!
Might do some extensive testing and reopen later though.

Thanks so much for the update!

Just a comment.
Seems like the latest firmware <IP_ADDRESS> is capable of automatically resetting and enabling re-enumeration of the cameras in some cases.
Really awesome!


[Bugs]UERAN container ping failed

I added the iptables command mentioned in https://githubmemory.com/repo/free5gc/free5gc-compose/issues/26?page=1
The ping still failed.

Thank you for your time and help!

Hi @minziran
I think you should pre checked the UE can ping the free5gc UPF IP
and command the tcpdump command to check GTP-U Packet
# tcpdump on UPF / gNodeB check GTP-U Packet Send / Receive
tcpdump -i any port 2152

If it can send the ICMP to UPF
Maybe you are not create the NAT Forwarding rule on free5gc UPF
Try the command in your free5gc UPF netns
# Check NAT Rule
iptables -t nat -vL
# Create NAT Rule to Forwarding to DN
iptables -t nat -A POSTROUTING -o <NIC-Name> -j MASQUERADE

By the way, the UERANSIM v3.1.0 has some issue
like the gNodeB shutdown, UE MTU size too large
In my test , UERANSIM stable version is on v3.1.2 / v3.1.4 on free5gc stage v3.0.4

Hi @minziran
I think you should pre checked the UE can ping the free5gc UPF IP
and command the tcpdump command to check GTP-U Packet
# tcpdump on UPF / gNodeB check GTP-U Packet Send / Receive
tcpdump -i any port 2152

If it can send the ICMP to UPF
Maybe you are not create the NAT Forwarding rule on free5gc UPF
Try the command in your free5gc UPF netns
# Check NAT Rule
iptables -t nat -vL
# Create NAT Rule to Forwarding to DN
iptables -t nat -A POSTROUTING -o <NIC-Name> -j MASQUERADE

By the way, the UERANSIM v3.1.0 has some issue
like the gNodeB shutdown, UE MTU size too large
In my test , UERANSIM stable version is on v3.1.2 / v3.1.4 on free5gc stage v3.0.4

Thank you so much! I upgrade the UERANSIM and it works.

@minziran
You already reported the same issue on free5gc-compose: free5gc/free5gc-compose#32 and there are some responses there.
We think this is environment setup issue. So we'll close this issue.

Thanks!


Download functionality

As of our functionality requirements, It was meant that there will be a download functionality for downloading current calendar year in PDF format.
But the functionality still not available till now!
Enhancement

Anyone with good knowledge of javascript can implement this feature using js libraries.

Hello @jahir-raihan I have created a pull request for this issue.
Looking forward to your feedback.


SecretBlock secrets not obfuscated

using PrefectInterfaces
import PrefectInterfaces: SecretBlock

sblk = SecretBlock("poo", "patype", "abc123")
SecretBlock("poo", "patype", ####Secret####)

show(sblk)
SecretBlock("poo", "patype", ####Secret####)
dump(sblk)
SecretBlock
  blockname: String "poo"
  blocktype: String "patype"
  value: SecretString
    secret: String "abc123"

The existing method definition is not effective, move it up to a higher level of the Base.dump method definition.
Base.dump(io::IO, s::SecretString; maxdepth=1) = print(io, "SecretString")

# should be

Base.dump(io::IOContext, s::SecretString, n::Int64, indent) = print(io, "SecretString")

Then the recursive dump definition will pick this up when it finds a SecretString.

# prefectblocktypes.jl

Base.dump(io::IOContext, s::SecretString, n::Int64, indent) = print(io, "SecretString")

Now it works fine
sblk = SecretBlock("poo", "patype", "abc123")
SecretBlock("poo", "patype", ####Secret####)

dump(sblk)
SecretBlock
  blockname: String "poo"
  blocktype: String "patype"
  value: SecretString

dump(sblk; maxdepth = 8)
SecretBlock
  blockname: String "poo"
  blocktype: String "patype"
  value: SecretString

sblk.value
####Secret####

dump(sblk.value)
SecretString

sblk.value.secret
"abc123"

It works, good job everybody. Now gotta figure out how TagBot works and get the release to go.


Some Basic components needs to be patched to be Enhanced components

In the "Basic" components available for drag-and-drop, some of the components have not been patched to provide JSON, i.e. converted to be extended components. These are:

Code: produces a 'Markup' JSON element but has null for its field values;
Video: produces a 'Video' JSON element but has null for its field values;

Code, Color and Video components updated awaiting next release.


Block Stage 1 - Room 1

Level 1.zip
@vitormaduro this currently only contains Stage 1 Room 1 blocking, but I am uploading this here to get feedback and know if I need to change anything. If everything's fine, then I will block the rest of Stage 1, and upload it for you guys.

@vitormaduro currently closing this issue since i moved forward with blocking the entirety of stage 1. When you return from your break i will share an updated version with complete stage 1 (minus the boss room)


Updating to use Nimble Predicate

Hey @modocache
I was checking on you if this is the only way to match Result objects or some other process is being used by community that I am unaware of. If the former is the case, would you be willing to review a PR for updating Guanaco to use Nimble v7 with Predicate and PredicateResult
Thanks and have a great day!

@mattrubin

This sounds necessary in order to use Guanaco in Nimble version 7.x, but unfortunately I don't really understand the differences between Predicate and NonNilMatcherFunc well enough to put together a PR. Nimble is apparently using Predicate but Guanaco is still using NonNilMatcherFunc and swapping them out looks nontrivial. If anyone could help it would be much appreciated, otherwise I'll continue looking into it and hope to understand the problem better. @modocache @mattrubin

I have actually made some changes to both Nimble and Guanaco so that I can use it with SPM some months ago, since Nimble was fully SPM compliant, I did changes to Guanaco to bring it forward to accommodate those changes, this includes using Predicate: https://github.com/ishaanSejwal/Guanaco/tree/SPM https://github.com/ishaanSejwal/Nimble/tree/PredicateResultChanges


Test is not failed when exception in separate thread is thrown

Example test:
BOOST_AUTO_TEST_CASE(ExceptionTest)
{
	new boost::thread([]{
		throw "Error";
	});

	while (true)
	{
		boost::this_thread::sleep_for(boost::chrono::milliseconds(1000));
	}
}

Test is neither green nor red - it failed to execute properly. Should be marked as failed.

------ Run test started ------
Logger initialized. Logging to C:\USERS\XXXXXXXX\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\12.0\EXTENSIONS\QI54KFEU.GYY\BoostTestAdapter.dll.log
Executing:   -> [ExceptionTest]
Exception caught while running test batch C:\XXXXX\Output\XXXXTest.exe [ExceptionTest] (Root element is missing.)
========== Run test finished: 0 run (0:00:02.1212487) ==========

Hi @ngjermundshaug and many thanks for your feedback.
Running the provided test case with a recent build shows the following:

This has been introduced in PR #106.

Nice. Are the test builds publicly available anywhere?
Do you know when a new version containing this fix will be released?

Builds of the master branch are available from AppVeyor. Build badge from the project's front page on GitHub should also link to the latest master build.

Regarding a public release, I would refer to @guwirth for more information.

Tried with the latest build - works great!


Parse app.yaml and verify it.

Show relevant pieces of data from the app.yaml in the dialogs, such as the module that is being deployed.
Also, set the stage for having auto-complete for app.yaml.

The Publish to AppEngine dialog is now reading the app.yaml to get the service, and any other additions are now easy to add.


SRS caching

Cache SRS and Lagrange basis
closes #1119
bindings: https://github.com/o1-labs/o1js-bindings/pull/192
proof-systems: https://github.com/o1-labs/proof-systems/pull/1300
Details. This is a follow-up to #1187, which expands caching to include the SRS and Lagrange bases. Most of the lift is in the bindings PR, which refactors basis creation to happen in TS, and try to read from a user-defined cache first. The cache is put in a global variable at the start of compile() and unset at the end. This completely bypasses the Pickles caching logic, to avoid yet more refactors of the Pickles API.
In contrast to prover and verifier keys, SRS and Lagrange bases are very stable and won't need to be regenerated often. The SRS is a fixed list of curve points and exists once for both Pasta curves. So it will be generated once and not change after that. Lagrange bases have to be created once for every circuit size. The circuit size is a power of two and at most equal to the SRS size. In the typical case, a user will already have compiled a circuit of the same power of two, and will be able to read the Lagrange basis from cache.
In addition to enabling caching, the bindings PR uses a faster (multi-threaded) version of SRS creation. This brings a major speedup even on the first run, when the SRS isn't cached yet.
Results. Compiling the simple_zkapp.ts example becomes faster in various scenarios

Before #1187 and this PR:

Every time: 20.8s

On this PR:

On the very first run (nothing cached): 13.7s / -34%
Bases cached, circuits changed: 12.7s / -39%
Everything cached: 2.93s / -86%

Note: Loading bases from cache is only 1s faster than regenerating them. The bottleneck is not reading the file, but conversion from the stored JSON format into the format needed by Rust. This should be easy to make faster and will be addressed in a future PR.
Cache directory now looks like this:

Damn, it fails in the web version, I forgot to consider the weird worker-calling layer we have there 😞 Might need to refactor this a bit to work

awesome


Rename 'self_service' to 'ui/service' for apache redirect

@AllenBW @himdel please review

@simaishi test will fail .. there's a spec testing this string in gems/pending/spec/util/miq_apache/conf_spec.rb (line 43)
Otherwise, LGTM :+1:

Didn't realize there was a test for this.. Thanks!

Ditto! also 🌮
Thanks for the 👀 👍

Closing in favor of https://github.com/ManageIQ/manageiq/pull/12311


Click on the notification and it opens the browser to the URL you specify

Is it possible for a notification to open the browser to a specific URL after you click on that notification?

Will you stop spamming the repo with this question??
Besides this question is not at all server side, this is a client side question and has no place here. Please ask on StackOverflow or another forum.

Will you stop spamming the repo with this question??
Besides this question is not at all server side, this is a client side question and has no place here. Please ask on StackOverflow or another forum.


Add proxy precedence and count configuration

Fixes #286

@pope1ni @un33k @camilonova @SunilMohanAdapa @EvaSDK @vdboor since this has been a source of much discussion, please check out this PR that relies on the recent work enhancement added by @un33k and adds configurable proxy count and cleaner request.META lookup configuration.
I think this should satisfy the needs for strict header checking while maintaining backwards compatibility in ipware.ip2.get_client_ip.

It would also probably be worth exposing the proxy_trusted_ips parameter of get_client_ip() to Django Axes which would satisfy the point raised in https://github.com/jazzband/django-axes/issues/286#issuecomment-380438315 about trusted proxies.


signing-key.jks: No such file or directory

Hey Victor B!
I'm using your action, but since your last commits on main, it seems to be broken for me.
Without changing anything from version 94e3f1999eeed647aea6aa65cafef5d490c3bcb8
I now get -Pandroid.injected.signing.store.file=/home/runner/work/<my-project-name>/<my-project-name>/signing-key.jks: No such file or directory on every build at step:
- shell: bash
      working-directory: ${{ inputs.gradlew_dir }}
      run: |
        ./gradlew build
        ./gradlew assembleRelease
       ....

Can you send your step definition?

Sure
jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Set up JDK 11
      uses: actions/setup-java@v1
      with:
        java-version: 11

    - name: Build debug signed APK
      uses: victorbnl/build-signed-apk@main
      with:
        keystore_b64: ${{ secrets.DEBUG_KEYSTORE_BASE64 }}
        keystore_password: ${{ secrets.DEBUG_KEYSTORE_PASSWORD }}
        key_alias: ${{ secrets.DEBUG_ALIAS }}
        key_password: ${{ secrets.DEBUG_KEY_PASSWORD }}

Do you get any other log than No such file or directory? For example any error on the step
    - shell: bash
      run: echo "${{ inputs.keystore_b64 }}" | base64 -d > $GITHUB_WORKSPACE/signing-key.jks
      if: inputs.keystore_b64

? I think it would help if you sent the full log

Nevermind, I've been able to reproduce it


Space and special characters

Hello!
I'd like to know if there's a way of allowing the user to put characters like @!#>< on the input camp at his own deliberation. I've tried using [-----] or [_____] like the input-mask-android link recommended, but to no results yet.
If anyone knows if it's possible (and how), i'd like to know!
Thank you!

This is simply a wrapper around https://github.com/RedMadRobot/input-mask-ios and https://github.com/RedMadRobot/input-mask-android, if you have questions about the inner workings, i'd recommend contacting the original authors over at https://github.com/RedMadRobot. Alternatively, you are welcome to submit a PR


Typo in DicomSeriesFromArray example

Currently, the DicomSeriesFromArray  example says to set the DICOM metadata key "0020,0013" for the instance number. This does not work with the SetMetaData function, and should instead be "0020|0013". I hope this is useful, but no worries if it's not.

Hello @umasehs,
Good catch, thanks for fixing it. Once testing passes will merge.


WIP feat: remove provider

Removes the provider from the identity object
Adds a cache for known identities

Superseded by #52


[release-1.2] Integrate sidecar shim image

What this PR does
Before this PR: image field in the hooks.kubevirt.io/hookSidecars annotation in this example was mandatory.
After this PR: aforementioned field will be optional.
Fixes #11161
Why we need it and why it was done in this way
The following tradeoffs were made: N/A
The following alternatives were considered: N/A
Links to places where the discussion took place:
Special notes for your reviewer
This is just a manual cherry-pick of #11272
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

Make 'image' field in hook sidecar annotation optional.

@victortoso @alicefr FYI

/retest

I think this is fine to backport to 1.2 indeed
/lgtm

/test pull-kubevirt-e2e-arm64-1.2

/test pull-kubevirt-goveralls-1.2

/test pull-kubevirt-e2e-arm64-1.2

/test pull-kubevirt-goveralls-1.2

/test pull-kubevirt-e2e-arm64-1.2

/test pull-kubevirt-goveralls-1.2

/test pull-kubevirt-goveralls-1.2

/test pull-kubevirt-e2e-arm64-1.2

/test pull-kubevirt-e2e-arm64-1.2

/test pull-kubevirt-goveralls-1.2

/test pull-kubevirt-e2e-k8s-1.27-sig-network-1.2

CI failures seem unrelated.
/lgtm

/approve

/test pull-kubevirt-e2e-k8s-1.27-sig-performance-1.2


Somthing went wrong

Microsoft PowerToys version
0.61.1
Running as admin

[ ] Yes

Area(s) with issue?
General
Steps to reproduce
Updated to v0.61.1 yesterday. Now every time I try to launch PowerToys I get a "Something went wrong" issue. It shows up in the system tray, and I can open the settings when right clicking on the system tray icon. I can also access features like PowerRename and Resize Pictures when right clicking on files in File Explorer.
2022-08-30.txt
✔ Expected Behavior
For PowerToys to launch without an issue.
❌ Actual Behavior
Issue window pops up when I launch PowerToys.
Other Software
No response

Please do a clean reinstall (not an update) and see if that fixes your issue.
/dup https://github.com/microsoft/PowerToys/issues/9742


Too many jobs from company "Sephora" on site peviitor.ro

URL: https://peviitor.ro/
browser: Microsoft Edge
device: Computer
OS: windows

Steps to reproduce

Open the company recruitee page: https://jobs.sephora.com/Balkans/search/?createNewAlert=false&q=&locationsearch=romania&optionsFacetsDD_customfield1=&optionsFacetsDD_customfield2=&optionsFacetsDD_shifttype=
Pay attention that are showed eleven jobs
Open peviitor URL
Put the name "sephora" in the search field
Press the button "Caută"
Pay attention that is displayed twelve jobs.
Press the button "Vezi postul" from job "Beauty Adviser Full Time (8h/zi) - Coresi, Brasov"
You observe that this job doens't exist

Expected results

It should't displayed on peviitor.ro site the job "Beauty Adviser Full Time (8h/zi) - Coresi, Brasov" at  Sephora company.

Actual results
It is displayed on peviitor.ro site the job "Beauty Adviser Full Time (8h/zi) - Coresi, Brasov" at  Sephora company.

Retest.


/w alias

Currently /w uses vanilla whisper command. It should be an alias for /pm command

Thanks for suggesting this alias. You can already configure the aliases for commands in the config but I will add this as a standard value!


Attempting to set the enrichSpeech option results in an error in v3

I followed the docs here
When attempting to set the 'enrichSpeech' option (using text-mml-chtml.js):
  MathJax = {    options: {      enrichSpeech: 'deep'    }  }
The error MathJax(?): Invalid option "enrichSpeech" (no default value) occurs.

The reason is that the extension is not included in tex-mml-chtml.js, and so you must load it explicitly (in addition to setting how much speech to include).  You should use
<script>
MathJax = {
  options: {enrichSpeech: 'deep'},
  loader: {load: ['a11y/semantic-enrich']}
};
</script>
<script id="MathJax-script" async<EMAIL_ADDRESS>
I admit that the documentation is not clear on this.  I am in the process of updating it for v3.1, and will add more information about loading the extension.


is it possible to train it with own dataset for kazakh language?

Suppose I have a large dataset in kazakh language. So, can I use this approach to train model in kazakh language?

Yes! We'll be releasing training code this week which will generalise to all languages Whisper was pre-trained on (and likely also those it wasn't 👀)

@sanchit-gandhi thank yoy for info

Training code released under this folder: https://github.com/huggingface/distil-whisper/tree/main/training


Avoid double close of agentInitDone

Avoid by reinitializing the channel immediately after closing the
channel within a lock. Also change the wait code to cache the channel in
stack be retrieving it from controller and wait on the stack copy of the
channel.
Signed-off-by: Jana Radhakrishnan<EMAIL_ADDRESS>

@mrjana There is only one close(c.agentInitDone) call which happens in agentSetup(). How does this lead to two close on the channels on daemon shutdown ? Are we getting spurious events from ListenClusterEvents() ?

Yeah we sometimes get more than one notification from engine. That may or may not be fixed. But from libnetwork point of view we should not panic on such events so make it robust we only make the agenInitDone go through one iteration of wait and close.

LGTM


explorer.confirmDelete false equivalent when files.enableTrash is false

I'm using VSCode on a system where I can't enable trash. When I want to delete files, the only menu option for deleting a file is "Delete permanently". However, everything is in source control. There's no risk to deleting files, I can always revert to get them back. I tried to set explorer.confirmDelete to false so that I don't need to confirm every time I delete something. However, currently the option explorer.confirmDelete only applies when using trash to delete items. Could we have any option like "explorer.confirmDelete": "never" that applies even when trash is not enabled?
Related: https://github.com/microsoft/vscode/issues/84361 -- feature request to not confirm deletion for git managed files. This feature request is simpler, since it doesn't need to consider whether the file is managed by source control.

This does not seem any different than #84361 but I understand that as remote development grows this becomes more annoying so I will allow this issue to have another chance at 20 upvotes. My suggestion would be to have a separate setting though as users who have set explorer.confirmDelete: "never" may be surprised by the new behavior.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


save hbase jmx region matrics into structured folders

save the metrics into the following structure:
hbase_regions//<table_name>/<node_name>/<region_and_metrics_name>

I suspect you want to add FORWARD_ALL = True to the [aggregator] section

Does the aggregator need to forward to multiple sources or just local cache?  This line may need to be rewritten DESTINATIONS = <%=<EMAIL_ADDRESS>x['mgmt_ip']+':2004'}.join(', ')}" %>

Also why not write it back to jmx.hbase_rs.$hosthb_regions.RegionServer or if this would conflict with unmodified metrics then jmx.hbase_rs.$hosthb_regions.RegionServerStructured just so it is all in the same pleace

FORWARD_ALL is false by default < 0.9.x
Yes, indeed it needs to be set to true explicitly.

I'm thinking of using carbon_relay to duplicate the output to all the head nodes, while each head node has its own aggregator standing in front of its carbon_cache. In this case the aggregator doesn't need to bind to the global VIP.
The reason I choose not to write back to the old place is that it is a little bit too deep, and each click on the graphite web ui usually takes several seconds. But I do agree writing back to the same place sounds like a better choice, for better consistence.

Tested using a clean built VM cluster.

Looks good


[Feature Request] Add downloading window

Well when using "Download all mangas in this page" they go to the downloads and its unpractical so making an currently downloading window can be useful.

This.
No matter how much are there they only appear like this Click
Thats why it would be useful.

Added in Beta 2.5.1

Gonna test it out soon.


What pins do you use??

I couldn't find any documentation on which pin to use. What pin do I use for low volume and what pair for high volume??

In this library, the pins are hard coded specifically for the Arduboy. The piezo speaker is wired between Arduino pins 5 (PC6) and 13 (PC7) for an ATmega32U4 processor. The speaker is wired between two pins, instead of between one pin and ground, to allow two different volumes to be produced.
The pins used are defined in the ArduboyTones.h file. By changing these defines, different pins can be used.


fix(mf1.5): remoteInfos when moduleIds is not named

Summary

Test Plan

Require Documentation?

[ ] No
[ ] Yes, the corresponding rspack-website PR is __

!canary

!canary


Skeleton CRUD SDK

[x] Minimalistic sample application
[x] Creates a vehicle on the server
[x] Creates a commodity on the server

See: https://github.com/CSSE497/pathfinder-iOS-SampleApp


Feedback: Second Challenge Submission

Nice work on your stacks and queue. I just wanted to remind you that you can use [-1] to get the index of the last item of the list, and you should annotate your functions for time complexity.
In your Set, I think you might have misinterpreted using the hash tables size property. Set still needs its own size property, but the challenge specified doing something like this with @property. For that size method, you might consider changing it to a property, as that's how it was asked for in the challenge, but I don't think it matters that much.
You have a good start with you set tests, but you should try not to call a method on the underlying structure (hash table) of the set. You have a size function you could call, but that appears to have a small bug. You should check if you're calling a function or getting a property.

Thanks for the feedback, I'll definitely look towards using the @property in the future
I've cleaned up my sets tests and have noted the use of calling methods
I have also gone ahead and annotated all the time complexities.


JobSubmitter memory hungry

As reported by Diego in this elog
https://cms-logbook.cern.ch/elog/GlideInWMS/6087
there is a wmagent process that is consuming around 18GB of RSS memory on vocms0253. Having a look at the agent, that's JobSubmitter:
cmst1@vocms0253:/data/srv/wmagent/current $ grep -r 1352320 install/wmagent/*/Daemon.xml
install/wmagent/JobSubmitter/Daemon.xml:	<ProcessID Value="1352320"/>
cmst1@vocms0253:/data/srv/wmagent/current $
cmst1@vocms0253:/data/srv/wmagent/current $ ps -p 1352320 -o pid,ppid,rss,vsize,pcpu,pmem,cmd -ww | grep 1352320
1352320       1 18152828 18588968 3.0 30.1 python /data/srv/wmagent/v1.1.10.patch4/sw/slc7_amd64_gcc630/cms/wmagent/1.1.10.patch4/bin/wmcoreD --start --config=/data/srv/wmagent/v1.1.10.patch4/config/wmagent/config.py
cmst1@vocms0253:/data/srv/wmagent/current $

This must be the reason why that process sometimes silently dies (or it gets somehow stuck, I don't remember right now) and causes it to be automatically restarted.
For the record, this is the load of that agent right now
2018-02-28 21:52:27,445:139740511799040:INFO:JobSubmitterPoller:Found 8795 new jobs to be submitted.

cmst1@vocms0253:/data/srv/wmagent/current $ condor_status --schedd vocms0253.cern.ch
Name              Machine           RunningJobs   IdleJobs   HeldJobs
vocms0253.cern.ch vocms0253.cern.ch       14482      50249          0
                      TotalRunningJobs      TotalIdleJobs      TotalHeldJobs
               Total             14482              50249                  0

We can control the memory usage (in some degree) by setting below value lower.
config.JobSubmitter.cacheRefreshSize = 30000
Currently it gets holds 30000 record in the cache, which shouldn't be 18GB. I will restart JobSubmitter whether memory usage goes up again. We might have some memory leak.

After JobAccountant restarted memory usage is around 400MB. So it doesn't seem to be due a cache size. (cache was reduced only 33%). I will monitor for a few more days.

Haaa, the memory leak comes from the htcondor python bindings, more precisely from submitMany API.
I created this script
https://github.com/amaltaro/ProductionTools/blob/master/testCondorSubmission.py#L275
mimic'ing the same submit method from SimpleCondorPlugin module.
If you comment out submitMany line and don't really submit jobs to condor, the memory footprint is negligible. On the other hand, the memory grows very quickly if we keep submitting jobs to condor.
This is one method memory profiling for job data structure creation but no submission (50 cycles creating 1k jobs each):
http://amaltaro.web.cern.ch/amaltaro/forWMCore/Issue_8493/noSubmit_50_1k.log
while this one is actually submitting jobs to local condor queue:
http://amaltaro.web.cern.ch/amaltaro/forWMCore/Issue_8493/submit_10_1k.log (10 cycles creating 1k jobs each)
Right now we build condor 8.5.7, I might try building a new condor RPM on 8.6.8, which is the same condor version we run in production.
@bbockelm I guess we should make it an issue for the htcondor, right? Can you please remind me what's their ticketing system?

Nice! Alan. :-)

Yup, that's about what I expected.  Try the latest condor version in the stable series (8.6.11); I see at least one commit about python bindings memory leaks.

Ok, I haven't managed to build the latest condor yet. I had to update both patches and then it started failing to includ an openssl header, which should have been fixed when I removed that option from the condor spec.
Now it fails when building the boost external with a cryptic error, not to say there is basically no error message :( I'll keep trying, maybe I can bug Shahzad to give me some help here.
In case anyone wants to have a look, these are my current changes (branch condor-upgrade):
https://github.com/amaltaro/cmsdist/commit/eb97a5810162a340e4c7e5b57b321867c4c211e5

I updated the standalone script such that anyone can reproduce the issue with no need to any of the WMCore libraries. I sent all the recipes to Diego D. to follow up with htcondor developers. Now it's time to explore a temporary solution for this issue...

I did some investigation, it's leaking the classAds that are returned by submitMany via the 4th argument.  But only if you don't supply the 4th argument.  Not really sure why this is so, but you can easily work around the bug just by calling submitMany with 4 arguments like this:
 schedd.submitMany(clusterAd, procAds, 0, [])

@johnkn, That is great and simple workaround. 😄 Thank you very much John. We will test.

actually
schedd.submitMany(clusterAd, procAds, 0, None)
Is better, because None causes the creation of the result_ads to be skipped entirely.  This is what the 2 argument version of submitMany was intended to do.

Thanks, John. It works like a charm!

Good.  I have put in a fix for the underlying bug.  for now, I recommending passing None as the last argument if you don’t actually want to get the ads returned.  I tested it and that works and is a bit cheaper than passing an empty list.
-tj
From: Alan Malta Rodrigues<EMAIL_ADDRESS>Sent: Wednesday, August 8, 2018 9:08 AM
To: dmwm/WMCore<EMAIL_ADDRESS>Cc: John M Knoeller<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dmwm/WMCore] JobSubmitter memory hungry (#8493)
Thanks, John. It works like a charm!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dmwm/WMCore/issues/8493#issuecomment-411418445, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEbTslU9SeUakq_ds0C4SNPTDtGRc1VMks5uOvCtgaJpZM4SXVYG.


[Feature]: Combine the last name and first name in Chinese.

Debug log ID
ERHRLB2T-refs-apse
What happened?
May you add a new feature? Thanks.
When the first name and the last name in Chinese are separated, even users have set author.lower + year in Better Bibtex, the citation keys will only contain the last name and year, not contain the first name. However, the Chinese only have nearly 100 last names, so it is difficult to tell the authors by their last names. How about adding a feature that when there is Chinese, Better Bibtex will always contain last name and first name.

See #2380

See #2380

Thanks a lot.


integ, ovs: add xfail to test_bridge_with_internal_interface

Ref: https://github.com/nmstate/nmstate/issues/802
Signed-off-by: Fernando Fernandez Mancera<EMAIL_ADDRESS>

Coverage remained the same at ?% when pulling 0cebea473209dfb1d108c09a4726dcbdbffc3ee9 on ffmancera:xfail_ovs into 58ee55a7ba3d49bab78bfd8df00a8860e54716f7 on nmstate:master.

Coverage remained the same at ?% when pulling 0cebea473209dfb1d108c09a4726dcbdbffc3ee9 on ffmancera:xfail_ovs into 58ee55a7ba3d49bab78bfd8df00a8860e54716f7 on nmstate:master.


Enhancements for hooks, remove unnecesary info from component creation

… component creation
//Description
Remove unnecesary info from HookComponent creation from the integrator, hide the complexity from integrator.
//Issue related
Closes #
Requirements

[ ] Coverage > 90%

Note:

[ ] Android Lint check

Note:

[ ] Code Style checked

Note:

[ ] Tested with "Don't keep Activities" configuration.

Note:
If impacts documentation (new components, inputs or outputs?)

[ ] PR to develop-docs

Note:

wrong user

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@f3796b9). Click here to learn what that means.
The diff coverage is 6.45%.

@@            Coverage Diff            @@
##             develop    #755   +/-   ##
=========================================
  Coverage           ?   25.1%
=========================================
  Files              ?     253
  Lines              ?   18231
  Branches           ?    1560
=========================================
  Hits               ?    4576
  Misses             ?   13140
  Partials           ?     515

Impacted Files
Coverage Δ

...va/com/mercadopago/hooks/DefaultCheckoutHooks.java
0% <ø> (ø)

...ain/java/com/mercadopago/components/Component.java
0% <ø> (ø)

...rc/main/java/com/mercadopago/CheckoutActivity.java
0% <ø> (ø)

...java/com/mercadopago/core/MercadoPagoCheckout.java
4.09% <0%> (ø)

.../main/java/com/mercadopago/hooks/HookRenderer.java
0% <0%> (ø)

...ain/java/com/mercadopago/core/PreferenceStore.java
0% <0%> (ø)

...main/java/com/mercadopago/hooks/HookComponent.java
0% <0%> (ø)

sdk/src/main/java/com/mercadopago/hooks/Hook.java
0% <0%> (ø)

.../com/mercadopago/presenters/CheckoutPresenter.java
60.34% <100%> (ø)

.../mercadopago/presenters/PaymentVaultPresenter.java
74.91% <100%> (ø)

... and 1 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 f3796b9...1af5e2f. Read the comment docs.


Customizing "Add your pet!" Button

Currently, the "Add your pet" button on our website is very basic and doesn't stand out enough. As a result, users may not notice it or may have difficulty finding it. To improve the user experience, we want to customize the button using CSS to make it more visually appealing and prominent on the page. This will help users quickly identify where to go to add their pet, which will improve overall engagement with this feature.

Good idea! Let's see if anyone is interested in working on that issue. If not, I'll take care of it soon :)

Good idea! Let's see if anyone is interested in working on that issue. If not, I'll take care of it soon :)

Perfecto

Hey! I have some ideas and would love to work on this.

Hey! I have some ideas and would love to work on this.

Hey @amrit2611! This issue has just been solved but we've got some other ones, maybe you want to take look at them? :)

Hey! I have some ideas and would love to work on this.

Hey @amrit2611! This issue has just been solved but we've got some other ones, maybe you want to take look at them? :)

Sure !


Extend clickable area

I didn't found appropriate section at the forum, so I'll try to write here.
I have asked about the way to extend clickable area of image button on the forum. It was recommended to create simple button and change images in action handlers.
It is solution, but I decided to do it in other way. I created own simple object, that includes invisible simple button, hacks signal function and passes most of the signals to its children.
Now I can create clickable_area, add any button to it as a child to container and this button will receive all signals of its parent's clickable_area object, like "pressed", "released" and so on. I tested it in my project with little image buttons and it works like a charm.
I can create pull request to dev branch with this new object, but does some one needs such feature? Or may be someone have suggestions why such approach is not good or there are any improvements?

(cc @kisvegabor)

How did you handle styles for clickable_area? Does it look like a larger button?

I kept style_set and style_get for this function just like in imgbtn, but my object doesn't have any visual representation. It is invisible container. Styles were kept to be applied to object's children if needed.

@GreyMS This seems like it would be inconsistent to a user. If there is no visible border on the container, how would they know what image they are clicking? Could you send a screenshot so I can get a better idea of how this looks?

This is my little image button. It is about 40x40 pixels and it is hard to user press it with finger. So it is really handful to extend clickable area to 100x100 pixels

@GreyMS That is a good idea for that specific use case, because there aren't any other widgets within a close distance.
Anyways let's wait and see what @kisvegabor thinks about it.

With my new clickable_area user can press at any point at the red square (it can be customized by obj_set_size) and button will react as if user pressed it precisely.
Yes, it can be useful only for lonely widgets, but it is the way to decompose widget visible size and clickable area, which leads to more freedom in design of visible elements.
Another way is to create image with wide transparent border, but it leads to increase of memory usage for such image.
And creating of action handlers forces people to decline usage of imgbtn in some cases and to create analogue by them self.

I think a cleaner solution would be to add an extra_click_area attribute to lv_obj_t itself.  This attribute should be taken into account here: https://github.com/littlevgl/lvgl/blob/dev-6.0/src/lv_core/lv_indev.c#L979
The user should be to enable this feature in lv_conf.h to reduce the memory usage of the objects.
What do you think?

I tried and it works!
I patched https://github.com/littlevgl/lvgl/blob/dev-6.0/src/lv_core/lv_indev.c#L979 as
#if USE_LV_EXTENDED_CLICK_AREA
	if(lv_area_is_point_on(&obj->ext_coords, &proc->act_point)) {
#else
    if(lv_area_is_point_on(&obj->coords, &proc->act_point)) {
#endif

and added two members to lv_obj_t:
#if USE_LV_EXTENDED_CLICK_AREA == 1
	lv_area_t ext_paddings;
	lv_area_t ext_coords;
#endif

and new function:
#if USE_LV_EXTENDED_CLICK_AREA == 1
void lv_obj_set_ext_paddinds(lv_obj_t * obj, lv_coord_t w, lv_coord_t h);

void lv_obj_set_ext_paddinds(lv_obj_t * obj, lv_coord_t w, lv_coord_t h)
{
    obj->ext_paddings.x1 = w;
    obj->ext_paddings.x2 = w;
    obj->ext_paddings.y1 = h;
    obj->ext_paddings.y2 = h;

	obj->ext_coords.x1 = obj->ext_paddings.x1 > obj->coords.x1 ? 0 : obj->coords.x1 - obj->ext_paddings.x1;
    obj->ext_coords.x2 = obj->coords.x2 + obj->ext_paddings.x2;
	obj->ext_coords.y1 = obj->ext_paddings.y1 > obj->coords.y1 ? 0 : obj->coords.y1 - obj->ext_paddings.y1;
    obj->ext_coords.y2 = obj->coords.y2 + obj->ext_paddings.y2;
}
#endif

Also I patched all places in lv_obj.c to synchronize ext_coords with object's coords.
Should I merge it into dev-6.0 or it can be done in a better way?

@GreyMS Please submit a pull request. It makes it easier to review the changes.

@embeddedt I've created pull request with my proposal.

@GreyMS Great! Let's continue the discussion there.


Custom formatters for Slider/DragValue etc

Is your feature request related to a problem? Please describe.

I'm making a debugger GUI for a project I'm working on, and I'd like to select an address from a DragValue.
However, it's conventional to notate addresses in zero-padded hexadecimal, rather than decimal.
Describe the solution you'd like
There should be some way to specify custom formatting on a number. Ideally this should be flexible so users can do whatever they want, like using Chinese numerals, base 12, or whatever.
This could be implemented with a function that takes a closure to format it, or it could be done by having a custom implementation of Display on Numeric.
Describe alternatives you've considered

We could also just have a flag for hexadecimal/pad length etc but that's probably not worth the complexity
Additional context

I think adding a custom formatting closure makes sense (similar to recent PR:s on Plot: https://github.com/emilk/egui/pull/1130 and https://github.com/emilk/egui/pull/934)


Compute functions should take owned ArrayData

And then fix up the implementations to mutate in-place.
Also any element-wise operation.
Actually... why not everything?

Especially after we finish #1518, we should just pass all of the ArrayData arguments for compute functions as owned instead of refs


Spring environment variable is not recognized

Environment:
Local

Jib version: 3.0.0
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.10, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-70-generic", arch: "amd64", family: "unix"

Description of the issue:
When using the following container config:
<container>
    <environment>
        <PROFILE>dev</PROFILE>
    </environment>
    <jvmFlags>
        <jvmFlag>-Dspring.profiles.active=$PROFILE</jvmFlag>
    </jvmFlags>
</container>

and running the image with
docker run -d localhost:5000/test:dev
The logs show:
  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.2.0.RELEASE)

2021-04-14 16:13:06.969  INFO 1 --- [           main] com.mycompany.MyApp     : The following profiles are active: $PROFILE

Expected behavior:
Spring starts with profile dev
Steps to reproduce:
See above
jib-maven-plugin Configuration:
See above

Hi @chtp, what happens if you just use static value like this <jvmFlag>-Dspring.profiles.active=dev<jvmFlag>?

I'll setup a minimal example when I find the time. Probably not before mid may

There's no interpreter evaluation the string literal $PROFILE and substitute the string dev for it, so you're initial approach doesn't work. Checking this SO question may give you some more insights.

Thanks. I used a custom entrypoint now:
<container>
    <entrypoint>
        <arg>/bin/sh</arg>
        <arg>-c</arg>
        <arg>echo "PROFILE: $PROFILE"; exec java \
            -Dspring.profiles.active=$PROFILE \
            $JAVA_OPTS -cp /app/resources:/app/classes:/app/libs/* \
            com.company.MyApplicationMainClass
        </arg>
    </entrypoint>
</container>


How can I work around the CORS restriction so that I can test my site on my browser locally?

Well, you can try running Chrome without web security. However, since the CORS policy makes this package unusable from the browser except in this case, I haven't verified that the current version can be packaged for the browser using e.g. webpack.

Hi Nick,
Thanks for getting back to me. Have you tried any other packages or any
other options to retrieve NBA API data?
Thanks,
Pierry
On Thu, Jul 18, 2019 at 5:41 PM Nick Bottomley<EMAIL_ADDRESS>wrote:

Well, you can try running Chrome without web security
https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome.
However, since the CORS policy makes this package unusable from the browser
except in this case, I haven't verified that the current version can be
packaged for the browser using e.g. webpack.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bttmly/nba/issues/69?email_source=notifications&email_token=AFARHU7EHNGWAYVR6DJCWIDQADPQ7A5CNFSM4IEVK4UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2J37XY#issuecomment-512999391,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFARHU3A7EEZDSZJK4V6GKDQADPQ7ANCNFSM4IEVK4UA
.

The CORS issue will generally prevent any browser-based application from communicating directly with nba.com, whether it uses this package or not. An npm search shows a few interesting packages, none of which I've vetted thoroughly. In particular, (basketball-reference-js)[https://www.npmjs.com/package/basketball-reference-js] looks interesting since it uses basketball-reference.com rather than nba.com.
As for using this package, there are a few possible work arounds, but it depends on the specific application.
– If you are doing data analysis, you can pull the data once with a Node.js script that uses this library. Then you can embed the data directly in a web page, or serve it from a web server of your own.
– If you need live access to NBA.com data from the browser, the simplest option I can think of is to run a web server that will accept requests from this library and forward them to NBA.com, then send the result back down to the web browser. That approach would require some significant code changes to this library, since the URLs are hard coded at the moment.


Improvements to Federated Ingress User Guide.

To address some of the difficulties experienced recently by @madhusudancs and @anaim in getting their Federated Ingress working correctly.

This change is

@quinton-hoole, any movement on this?

None, sorry, been OOTO.  Will wrap up next week.

All feedback addressed. @devin-donnelly please merge at your earliest convenience.


[Missing Solution Files] CNC Controls Probing

Could you please add the missing files:

MacroDialog.xaml.cs
MacroDialog.xaml
ProbingMacros.cs
App.ico
Resources\menu_22x22.png

Thanks in advance!

added now

Thanks, you are the best!


Proxy script

I want to add proxy script using python
can you please assign me this task under gssoc'23 contribution @avinashkranjan

Go Ahead @Kalivarapubindusree


Save/synchronize dragged point locations

Save/synchronize dragged point locations [#160815181]

handle point drag events
synchronize point location to model on drop
add uuids to points for synchronizing updates

Note: old geometry tiles created before this don't have uuids for their points and so synchronization will only occur for newly created geometry tiles.

@kswenson  I'm not going to merge as I don't know if we want this in master for today's demo (I believe Leslie is demoing from master).

Makes sense. Actually, it just occurred to me that I may be able to use the existing id property rather than adding the new _uuid_ property. I'll investigate in the morning.

I've added another commit which uses the JSXGraph built-in id attribute rather than introducing a new _uuid_ attribute, which is cleaner.