[BUG] - GHC generational copy garbage collector causes long pauses and high memory utilization

The default GHC generational copy garbage collector leads to high memory utilization (6GB+) and causes long pauses, which leads to missed slots especially at epoch boundary.
Switching to the concurrent mark-and-sweep garbage collector and activating all cores (by adding "--non-moving-gc -N" to the RTS options) seems to dramatically reduce memory consumption (down to 4GB) and pauses (significantly less missed slots).
Is there a reason why the default RTS options activate only two cores and use the older GC?

We ran extensive testing using the mark-and-sweep GC by setting the --nonmoving-gc RTS option. It runs a lot smoother, no missed slots for example, but the node seems to never run a major GC. The node will eventually run out of memory and crash. It behaves like if there is a memory leak when using --nonmoving-gc RTS option. There must be a way to resolve the issue of the node process being temporarily blocked by GC runs, which causes missed slots and node not responding to prometheus requests. Could you advise regarding the mark-and-sweep GC, please?

I found it requires a bit of tweaking, like reducing the factor (-F1.2), allowing idle major collections (-I0.3), keeping the allocation unit  small (-A1M), limiting the heap if you run on 8 GiB (-M7G), keep a minimum heap size to accelerate startup (-H2G). I see around 5  GiB of RSS (effective memory use: touched pages never released back to the OS).
My suspicion is that the non-moving GC is really competing with new allocations and truly is non-blocking under all circumstances, even if close to the heap limit (if you don't have a limit, it will start swapping). Thus, if it is slower than new allocations, the latter will simply trigger a heap limit exceeded exception and terminate the node. This is likely a design flaw in GHC (new allocations should try a blocking GC instead of instantly giving up). So, to compensate for two things help: call the GC more frequently (which is achieved by activating the idle collections and reducing the factor) and reduce fragmentation due non-moving behavior (which is achieved by lowering the allocation unit). Let me know if this works for you.

Running one relay with +RTS -N4 -H3G -I0.3 -A1M -F1.2 --disable-delayed-os-memory-return --nonmoving-gc -M11G -RTS and get a coredump.
kernel: cardano-node:w[28128]: segfault at<PHONE_NUMBER>f ip<PHONE_NUMBER>8c7332 sp 00007f96abffea90 error 4 in cardano-node[400000+15af000]
kernel: Code: f4 00 00 00 48 3b 1d f5 dc 2c 00 0f 83 e7 00 00 00 48 89 d8 48 89 d9 48 c1 e8 06 48 81 e1 00 00 f0 ff 25 c0 3f 00 00 48 09 c8 <f6> 40 2f 04 0f 85 c4 00 00 00 49 83 c5 01 49 83 c7 20 4d 3b 6c 24
systemd[1]: Created slice system-systemd\x2dcoredump.slice.
systemd[1]: Started Process Core Dump (PID 28129/UID 0).
systemd-coredump[28130]: Core file was truncated to<PHONE_NUMBER> bytes.
systemd-coredump[28130]: Process 27824 (cardano-node) of user 0 dumped core.

                                                            Stack trace of thread 156:
                                                            #0  0x00000000018c7332 n/a (/nix/store/xbq4yynx9my6ysggvmam2a27cr5i4pgc-cardano-node-exe-cardano-node-1.30.1/bin/cardano-node)
Sep 29 11:12:28 relay2.xor-nand.io systemd[1]<EMAIL_ADDRESS>Succeeded.

Unfortunately this stack trace is not useful. How did you compile cardano-node (ghc version, options used)?

Using the official docker container v 1.30.1.

Using the official docker container v 1.30.1.

This was probably built using GHC 8.10.4, there are stability and bug fixes to the non-moving GC since then. You should build with 8.10.7.

It crashes after build on ghc 8.10.7 as well. The issue is -I0.3. If omitted it's working fine for a while but continues to increase RAM usage.
kernel: cardano-node:w[257572]:  segfault at 38 ip<PHONE_NUMBER>f3de13 sp 00007f1453877910 error 6 in cardano-node[400000+3cf1000]
kernel: Code:  48 3b 5c 24 28 75 d0 48 83 3d b0 e5 81 00 00 0f 85 b3 00 00 00 49 8b 45 28 48 8b 50 10 48 8b 48 18 48 81 fa 28 82 75 04 74 04 <48> 89 4a 18 48 81 f9 28 82 75 04 74 61 48 89 51 10 49 8b 94 24 48

Hmm, I never experienced this issue before. In any case, you can add -I0.3 -Iw1800, this will make sure the idle GC is not called more than once every 30min and you should see the live data size decreasing.

https://forum.cardano.org/t/solving-the-cardano-node-huge-memory-usage-done/67032

Closing this. If this is still relevant please reopen.


Avoid unnecessary tolist calls (performance optimization)

While playing around with profiler I noticed a lot of CPU spikes and memory allocations were caused by toList calls in KeyValueCollection constructor. After I made the list Lazy I was able to reduce my test case run time almost 3 times ( I'll also try to submit PR for my benchmarks, soon)

Good idea but there is an issue. Typically the Sort operator is used as follows:
.Sort(myComparer)
.ObserveOnDispatcher()
.Bind(myBindingTarget)

The list passed into KeyValueCollection is maintained internally and Bind is on a different thread. There is the possibility (which does occasionally happen) that a later change is being processed within the sort functionality whilst Bind is processing the result. This is a small window but ToList() can be enumerating the collection at the same time as the sort is processing. This leads to that dreaded "Collection was modified..." exception
However I think your idea is great and there should be an easy solution:
If a lock object is passed into the constructor of KVC, the lazy constructor can be modified to
_items = Lazy<List<KeyValuePair<TKey, TObject>>>(() =>
            {
                lock (locker) { return  items.ToList();}
            });

And of course the lock object would need to be used inside the sort implementation.
I never liked that ToList() and in a previous attempt to get rid of it I tried to implement an immutable sorted array but the performance was dire on busy systems. Now I think your idea coupled with my suggested modification will solve the problem.

If you are going to have outside locks be introduced you may want to turn off the threading safe guards on the Lazy object since you'll have that protection anyway.

Yes. Also a minor semantic improvement would be to pass Func<List<T>> into the constructor so the lock need not be exposed outside the sort class.

This looks to be a clean and simple solution.
The only consideration we need to be sure of is performance. Dynamic Data  lacks benchmarking and I think with changes like this it is essential to measure perf implications.
Would you be happy to help with adding a new benchmarking project to the solution. Probable best as another PR, or is you want maybe so so here

Most projects i've seen that do benchmarking tend to use this guy https://github.com/dotnet/BenchmarkDotNet

@glennawatson Agreed, BenchmarkDotNet is absolutely the go to tool for bench marking


Drop the k8s client api latency metric to fix the OOMKilled issue

Autopilot 1.26 sends more than 220k data series for the cilium_k8s_client_api_latency_time_seconds metric, which caused OOMkilled issue.
This commit drops the metric to fix the CI failures.
b/283001264

/retest

/hold Per Karl's suggestion, we plan to only keep Config Sync metrics.

Per Prometheus doc, we should use metric_relabel_configs to drop expensive metrics. However, the drop regex doesn't support negative lookahead. Therefore, we just drop the most expensive metric for now.

/unhold

/test kpt-config-sync-publish-artifacts


renderdoc: 1.26 -> 1.27

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for renderdoc is: A single-frame graphics debugger
meta.homepage for renderdoc is: https://renderdoc.org/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.27 with grep in /nix/store/b612bipk9jjl90dv5mv2a7xd25xy6bx9-renderdoc-1.27
found 1.27 in filename of file in /nix/store/b612bipk9jjl90dv5mv2a7xd25xy6bx9-renderdoc-1.27

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
renderdoc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b612bipk9jjl90dv5mv2a7xd25xy6bx9-renderdoc-1.27 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A renderdoc https://github.com/r-ryantm/nixpkgs/archive/af17209b793318646a8c4c2bfe588755a89eb502.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b612bipk9jjl90dv5mv2a7xd25xy6bx9-renderdoc-1.27
ls -la /nix/store/b612bipk9jjl90dv5mv2a7xd25xy6bx9-renderdoc-1.27/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

renderdoc

Maintainer pings

https://www.openwall.com/lists/oss-security/2023/06/06/3


Github actions: Post message to Discord channel on failing builds

Description
With the current set-up of the Github actions we can detect when a Vercel build for Staging or Main failed.

[ ] create a Discord Webhook
[ ] add Webhook to Github settings
[ ] Post message to specific channel (write a custom TS action for that eventually)

See the discord docs
Details TBD first

@ladytrekker almost a year old, still want to tackle this or should we close?


[question] overhead of rich.progress?

In tqdm's README.rst:

Overhead is low – about 60ns per iteration (80ns with tqdm.gui), and is unit tested against performance regression. By comparison, the well-established ProgressBar has an 800ns/iter overhead.
In addition to its low overhead, tqdm uses smart algorithms to predict the remaining time and to skip unnecessary iteration displays, which allows for a negligible overhead in most cases.

So, how about rich.progress? I cannot found any information in https://rich.readthedocs.io/en/stable/progress.html. If there exists a test bench (rich.progress, tqdm, prompt-toolkit.progress, etc), it will be greater.
Thanks.

Rich uses similar techniques. The tqdm project keeps benchmarks which includes Rich.

It looks like rich.progress is fastest. Great!


Melee weapon damage strength bonus

For characters, the strength bonus needs to be added to the melee weapon damage rolls in addition to the damage bonus in the sheet.

Fixed in release 1.3.0


Xcode build problem

Hi, guys
Trying to integrate your plugin to XCode project fails. As far as integration to uproject went well and I've managed to get it somehow working on Android device, integration to code didn't. After I opened my Xcode project with your plugin and tried to compile it I've got
ERROR: Rocket: No modules found to build?
Whole trace could be found here : https://docs.google.com/document/d/1es95EnvgQ3Ch0A25TU2TnQeFYjkSxYoAVC41zcLzOTI/edit?usp=sharing
Waiting for your help :)

After building all the schemes step by step I managed to compile and run everything :)


Training results

Hello @FHellmann, thank you for making your code available. I tried to train the network myself but got an awkward result. The three images are: the original face from CelebA, the anonymization using your available model, and the model I trained (epoch 107), respectively. Any idea on what I did wrong would be greatly appreciated :)

Results

Oddly, my output results seem fine.

Output

My conda env is CUDA Version: 12.2, python 3.8 and torch 2.1.2. I-m running on Ubuntu 22.04 lts on a RTX3090, 32 RAM.
I' have followed the instructions on README and prepared the dataset with the commands:
python main.py preprocess --input_path ../../../../../media/voxar/datasets/pkb/celeba_splitted/ --img_size 512 --test_size 0.1 --output_dir ../../../../../media/voxar/datasets/pkb/celeba_splitted
def preprocess(input_path: str, img_size: int = 512, align: bool = True, test_size: float = 0.1, shuffle: bool = True,
               output_dir: str = None, num_workers: int = 8):

The training used this hyperparametes
python main.py train_pix2pix --data_dir lib/datasets/ --log_dir logs/ --models_dir baseline/ --output_dir results/ --dataset_name celeba_splitted/FaceSegmentation/
def train_pix2pix(data_dir: str, log_dir: str, models_dir: str, output_dir: str, dataset_name: str, epoch: int = 0,
                  n_epochs: int = 200, batch_size: int = 128, lr: float = 0.0002, b1: float = 0.5, b2: float = 0.999,
                  n_cpu: int = 16, img_size: int = 256, checkpoint_interval: int = 2800, device: int = 0):

I have also changed  detect_anomaly to False
trainer = pytorch_lightning.Trainer(deterministic=True,
                                        accelerator="gpu" if device >= 0 else "cpu",
                                        devices=[device] if device >= 0 else None,
                                        callbacks=callbacks,
                                        logger=tb_logger,
                                        max_epochs=num_epoch,
                                        val_check_interval=checkpoint_interval,
                                        log_every_n_steps=1,
                                        detect_anomaly=False)

Hi @PedroKBrant, I just merged some bug fixes. Furthermore, under the test folder, you can find a test_main.py with examples of how to use the code. If those don't help to solve your issue, let me know.

@FHellmann, just a quick question: when I run the train_pix2pix script, should the data_dir point to the FaceSegmentation folder?

You should train it on the folder with the images including a face and the corresponding mesh. Like this for example:

It is now working, thank you


Implement OAuth2

Issue Summary
Implement OAuth2. It seems to be the most voted for non-planned feature on the forums. Is there a place that open source developers can discuss contributing and proposing methods of implementations with the Ghost developers?
To Reproduce

Start Ghost in docker
Look for OAuth2.

Technical details:

Ghost Version: 3.38.3
Node Version:
Browser/OS:
Database:

How does one actually discuss feature requests with the developers?

Hey @finn-ball 👋 We're currently tracking this feature internally.

Hey! Thanks for the reply :) Care to open source the tracking of this feature?
Do you have any early implementations?

@matthanley - Scanning down here, there seems to be a closed sourced version of OAuth for the paid plan only:
https://ghost.org/pricing/
Are there any plans to open source this?


Add Profalux support (Covers)

Hello
In HA, Profalux covers appear as a switch and not as a cover.
I use Pi-Zigate, documentation and compatibility are describe here (but in french):

Zigate : https://zigate.fr/
Motor : https://zigate.fr/produits-profalux-compatibles-zigate/compatible/moteurvoletprofalux/
Remote : https://zigate.fr/produits-profalux-compatibles-zigate/compatible/telecommandesimpleprofalux/

How can I change type of this entity or anything else to manage level of covers ?
Some informations are missing :
Basic (Endpoint id: 1, Id: 0x0000, Type: in)
    Attributes :
        manufacturer (id: 0x0004) : None
        model (id: 0x0005) : None
        stack_version (id: 0x0002) : None
        zcl_version (id: 0x0000) : 1
ManufacturerSpecificCluster (Endpoint id: 1, Id: 0xfc20, Type: in)
    No attribute
    No commands
ManufacturerSpecificCluster (Endpoint id: 1, Id: 0xfc21, Type: in)
    No attribute
    No commands
ManufacturerSpecificCluster (Endpoint id: 1, Id: 0xfc20, Type: out)
    No attribute
    No commands

But LevelControl and other commands to manage cover are presents :
LevelControl (Endpoint id: 1, Id: 0x0008, Type: in)
    Attributes :
        current_level (id: 0x0000)
        default_move_rate (id: 0x0014)
        off_transition_time (id: 0x0013)
        on_level (id: 0x0011)
        on_off_transition_time (id: 0x0010)
        on_transition_time (id: 0x0012)
        remaining_time (id: 0x0001)
    Commands :
        move (id: 0x0001)
        move_to_level (id: 0x0000)
        move_to_level_with_on_off (id: 0x0004)
        move_with_on_off (id: 0x0005)
        step (id: 0x0002)
        step_with_on_off (id: 0x0006)
        stop (id: 0x0003)
        stop (id: 0x0007)

Device signature
Cover
# <SimpleDescriptor
#     endpoint=1 profile=260 device_type=512 device_version=0
#     input_clusters=[0, 3, 4, 5, 6, 8, 10, 21, 256, 64544, 64545]
#     output_clusters=[3, 64544]
# >

Remote
# <SimpleDescriptor
#     endpoint=1 profile=260 device_type=513 device_version=0
#     input_clusters=[0, 3, 21]
#     output_clusters=[3, 4, 5, 6, 8, 256, 64544, 64545]
# >

Additional context
I tried to add my own quircks but devices are always see as Switch and not Cover after delete and new add/join but new properties of quircks are acquires and display in properties of device.
Cover
"""Profalux device"""
from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    Groups,
    Identify,
    LevelControl,
    OnOff,
    Scenes,
    Time,
    Commissioning,
)

from zigpy.zcl.clusters.closures import Shade

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
    SHORT_PRESS,
    DOUBLE_PRESS,
    TURN_ON,
    TURN_OFF,
    COMMAND,
    COMMAND_ON,
    COMMAND_OFF,
    COMMAND_STOP,
    COMMAND_TOGGLE,
    CLUSTER_ID,
    ENDPOINT_ID,
)

from . import (
    DEVICE_VERSION,
    DEVICE_MANUFACTURER,
    DEVICE_MODEL,
    MANUFACTURER_SPECIFIC_CLUSTER_ID_1,
    MANUFACTURER_SPECIFIC_CLUSTER_ID_2,
    PROFALUX_MANUFACTURER,
    PROFALUX_MODEL_COVER,
)

class ProfaluxCover(CustomDevice):
    """Profalux covers"""

    signature = {
        # <SimpleDescriptor
        #     endpoint=1 profile=260 device_type=512 device_version=0
        #     input_clusters=[0, 3, 4, 5, 6, 8, 10, 21, 256, 64544, 64545]
        #     output_clusters=[3, 64544]
        # >
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID, # profile = 260 - 0x104
                DEVICE_TYPE: zha.DeviceType.SHADE, # device_type = 512 - 0x200
                DEVICE_VERSION: 0x00, # device_version = 0
                INPUT_CLUSTERS: [
                    Basic.cluster_id, # 0
                    Identify.cluster_id, # 3
                    Groups.cluster_id, # 4
                    Scenes.cluster_id, # 5
                    OnOff.cluster_id, # 6
                    LevelControl.cluster_id, # 8
                    Time.cluster_id, # 10
                    Commissioning.cluster_id, # 21
                    Shade.cluster_id, # 256
                    MANUFACTURER_SPECIFIC_CLUSTER_ID_1, # 64544
                    MANUFACTURER_SPECIFIC_CLUSTER_ID_2, # 64545
                ],
                OUTPUT_CLUSTERS: [
                    Identify.cluster_id,
                    MANUFACTURER_SPECIFIC_CLUSTER_ID_1, # 64544
                ],
            },
        }
    }

    replacement = {
        DEVICE_MANUFACTURER: PROFALUX_MANUFACTURER,
        DEVICE_MODEL: PROFALUX_MODEL_COVER,
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID, # profile = 260 - 0x104
                DEVICE_TYPE: zha.DeviceType.SHADE, # device_type = 512 - 0x200
                DEVICE_VERSION: 0x00, # device_version = 0
                INPUT_CLUSTERS: [
                    Basic.cluster_id, # 0
                    Identify.cluster_id, # 3
                    Groups.cluster_id, # 4
                    Scenes.cluster_id, # 5
                    OnOff.cluster_id, # 6
                    LevelControl.cluster_id, # 8
                    Time.cluster_id, # 10
                    Commissioning.cluster_id, # 21
                    Shade.cluster_id, # 256
                    #MANUFACTURER_SPECIFIC_CLUSTER_ID_1,
                    #MANUFACTURER_SPECIFIC_CLUSTER_ID_2,
                ],
                OUTPUT_CLUSTERS: [
                    Identify.cluster_id,
                    #MANUFACTURER_SPECIFIC_CLUSTER_ID_1,
                ],
            },
        }
    }

Remote
"""Profalux device"""
from zigpy.profiles.zha import DeviceType
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import (
    Basic,
    Groups,
    Identify,
    LevelControl,
    OnOff,
    Scenes,
    Time,
    Commissioning,
)

from zigpy.zcl.clusters.closures import Shade

from zhaquirks.const import (
    DEVICE_TYPE,
    ENDPOINTS,
    INPUT_CLUSTERS,
    OUTPUT_CLUSTERS,
    PROFILE_ID,
)

from . import (
    DEVICE_VERSION,
    DEVICE_MANUFACTURER,
    DEVICE_MODEL,
    MANUFACTURER_SPECIFIC_CLUSTER_ID_1,
    MANUFACTURER_SPECIFIC_CLUSTER_ID_2,
    PROFALUX_MANUFACTURER,
    PROFALUX_MODEL_REMOTE,
)

class ProfaluxRemote(CustomDevice):
    """Profalux covers"""

    signature = {
        # <SimpleDescriptor
        #     endpoint=1 profile=260 device_type=513 device_version=0
        #     input_clusters=[0, 3, 21]
        #     output_clusters=[3, 4, 5, 6, 8, 256, 64544, 64545]
        # >
        ENDPOINTS: {
            1: {
                PROFILE_ID: 0x0104, # profile = 260 - 0x104
                DEVICE_TYPE: DeviceType.SHADE_CONTROLLER, # device_type = 513 - 0x201
                DEVICE_VERSION: 0x00, # device_version = 0
                INPUT_CLUSTERS: [
                    Basic.cluster_id, # 0
                    Identify.cluster_id, # 3
                    Commissioning.cluster_id, # 21
                ],
                OUTPUT_CLUSTERS: [
                    Identify.cluster_id, # 3
                    Groups.cluster_id, # 4
                    Scenes.cluster_id, # 5
                    OnOff.cluster_id, # 6
                    LevelControl.cluster_id, # 8
                    Shade.cluster_id, # 256
                    MANUFACTURER_SPECIFIC_CLUSTER_ID_1, # 64544
                    MANUFACTURER_SPECIFIC_CLUSTER_ID_2, # 64545
                ],
            },
        }
    }

    replacement = {
        DEVICE_MANUFACTURER: PROFALUX_MANUFACTURER,
        DEVICE_MODEL: PROFALUX_MODEL_REMOTE,
        ENDPOINTS: {
            1: {
                PROFILE_ID: 0x0104, # profile = 260 - 0x104
                DEVICE_TYPE: DeviceType.SHADE_CONTROLLER, # device_type = 512 - 0x200
                DEVICE_VERSION: 0x00, # device_version = 0
                INPUT_CLUSTERS: [
                    Basic.cluster_id, # 0
                    Identify.cluster_id, # 3
                    Commissioning.cluster_id, # 21
                ],
                OUTPUT_CLUSTERS: [
                    Identify.cluster_id, # 3
                    Groups.cluster_id, # 4
                    Scenes.cluster_id, # 5
                    OnOff.cluster_id, # 6
                    LevelControl.cluster_id, # 8
                    Shade.cluster_id, # 256
                    MANUFACTURER_SPECIFIC_CLUSTER_ID_1, # 64544
                    MANUFACTURER_SPECIFIC_CLUSTER_ID_2, # 64545
                ],
            },
        }
    }

Const
"""Module for Profalux quirks implementations."""
# TODO : Add in zhaquirks.const
DEVICE_VERSION = "device_version"
DEVICE_MANUFACTURER = "manufacturer"
DEVICE_MODEL = "model"

MANUFACTURER_SPECIFIC_CLUSTER_ID_1 = 0xFC20  # decimal = 64544
MANUFACTURER_SPECIFIC_CLUSTER_ID_2 = 0xFC21  # decimal = 64545
PROFALUX_MANUFACTURER = "PROFALUX"
PROFALUX_MODEL_COVER = "Cover / Volet roulant"
PROFALUX_MODEL_REMOTE = "Remote / Télécommande"

Hello,
I have profalux cover and there register as switch (off = closed, on = opened).
I want to try your quirk, but i don't find where to put the files. With ssh , i can't find any zhaquirks directory. Could you help me to test?
I'm running home assistant on a raspberyPi 3 with zigate usb/ttl
arch | armv7l
dev | false
docker | true
hassio | true
host_os | HassOS 3.13
installation_type | Home Assistant
os_name | Linux
os_version | 4.19.114-v7
python_version | 3.7.7
supervisor | 226
version | 0.110.4
virtualenv | false

try HA beta shortly, this may be fixed there see the release notes re zha
covers - https://rc.home-assistant.io/blog/2020/06/01/release-111/
On Wed, Jun 3, 2020 at 4:24 PM Didier C<EMAIL_ADDRESS>wrote:

Hello,
I have profalux cover and there register as switch (off = closed, on =
opened).
I want to try your quirk, but i don't find where to put the files. With
ssh , i can't find any zhaquirks directory. Could you help me to test?
I'm running home assistant on a raspberyPi 3 with zigate usb/ttl
arch | armv7l
dev | false
docker | true
hassio | true
host_os | HassOS 3.13
installation_type | Home Assistant
os_name | Linux
os_version | 4.19.114-v7
python_version | 3.7.7
supervisor | 226
version | 0.110.4
virtualenv | false
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zigpy/zha-device-handlers/issues/348#issuecomment-638441849,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUSE7G5EABOCRBZDWSZ3MLRU2WPVANCNFSM4MYHSL6Q
.

Hi
Try bêta is better, my quircks  doesn't work =(
For the moment, I use many automation with HA called by button. Each automation call ZHA service zha.issue_zigbee_cluster_command in action menu. For close cover, you can try this data :
cluster_id: 6
cluster_type: in
command: 0
command_type: server
endpoint_id: 1
ieee: '20:91:8a:00:00:xx:xx:xx'
In zigbee panel settings, you can explore all cluster and command from your Zigbee sévices.
I think use Automation in HA is most powerfull. You can do everything with your home before any developper start himself idea.
If you want, I can help you with this tomorrow or this week-end in French.
I will upgrade HA for use new ZHA cover on next release because my Home is not a lab ! =)

Thanks for this information.
I'll wait for the new release too.

Now my profalux covers works. But they still shown as cover.unk_manufacturer_unk_model_56d60a00_level_on_off_shade
Is  the manufacturer and model are ID (like for USB) ? so there is a file for converting to human readable name?

You can add my code in ZHA Quirck directory for add name, manufacturer and other informations.

Hi!
Glad to find this post, I'm actually having troubles trying to control my Profalux covers with a Zigate by HA.
I managed to pair a first cover with the Zigate and control it using "ZigBee Gateway UI" provided as a test SW for the Zigate.
My cover appears in HA as "unk_manufacturer unk_model", I have a lovelace card with up/down/stop buttons.
I see things happening when I click these buttons as the USB adapter activity led shows up but with no effect on the shutter.
Can anyone help me with ZHA quirks for those Profalux shutters as I think this is the best way to solve my problem?
PS : I can speak french ;)
Thanks!

For more insight https://github.com/pipiche38/Domoticz-Zigate-Wiki/blob/master/en-eng/Profalux-corner.md

Hi @glamirand
When you try to get attribut LevelControl of Profalux in Cluster Management, what's do you obtain ?

You can try to set Toggle in command's Cluster (UP to DOWN or DOWN to UP)

If you doesn't get any activity on Zigbee log, the integration doesn't work and probably you need to add the WA join on top of thread.

As mentioned in the wiki page I have put above, I do suggest to not provide a mapping to the OnOff as recommended by Profalux themselves

Integration of Cover in HA doesn't work with LevelControl for use Up/Stop/Down.
Without LevelControl, you can only use Slider for select the level of Cover. So in Lovelace you can'nt select action without extend Automation.


Module not found

Hi, getting module not found after installing ra-language-pt-br.
RunKit is not able to find it either:

Error: Cannot find module 'ra-language-pt-br'

https://npm.runkit.com/ra-language-pt-br

Temporary fork created to publish a valid npm packate:
https://www.npmjs.com/package/@denisazevedo/ra-language-pt-br

Fixed the errors based on your fork.


SMART Web Messaging as a way to communicate events happening inside of a SMART App

We're implementing SMART Web Messaging in our Provider Portal (think of it as a CDS focused EHR) and would like to use SMART Web Messaging as a way to communicate events that happen inside of a SMART App back to the portal. We want the user facing elements of our portal to be minimal and delegate as many tasks as possible to SMART Apps and CDS Hooks using SMART Web Messaging as way to help with the orchestration of workflow and information between apps and CDS Hooks cards.
As an example, someone should be able to build a CPOE-type SMART App, register it in our portal, launch the portal, select a patient, launch the CPOE app, fill out an order which then the app uses SMART Web Messaging to notify the portal that the order_sign hook should be triggered. This is in contrast to a SMART app that may want to provide a draft order to the "standard/default" CPOE module and use the ui.LaunchActivity message to navigate and pre-populate an order in that module.
My question is: is that possible/intended with the current ui.LaunchActivity? If not, could we consider adding a new parameter to LaunchActivity to communicate intended/recommended behavior of the EHR/Portal to either "navigate" or "notify"? Or even add a new UI Message Type for this?

Great question -- and I love the use case. I think this falls under the general scope of what I'd consider an "activity," and would suggest you might experiment with adding a parameter as you've suggested here. If you like how it works, please share a PR and we can get the suggestion merged!

Great, we'll share what we come up with.


Loading a xgboost model with DMatrix will crash python and R

For openMP version of xgboost,
If the program accidentally load a xgboost model with DMatrix, it will crash python or R.
Environment info
Operating System: Ubuntu 16.04
Compiler:  GCC 5.4.0
Package used (python/R/jvm/C++): python, R
xgboost version used:

0.6a2 from pip3

R package from http://dmlc.ml/drat/

Steps to reproduce

create any xgboost model file or download a model file (and unzip it to iris.xg.model)

iris.xg.model.zip
#!/usr/bin/python3
import xgboost as xgb
from sklearn import datasets

iris = datasets.load_iris()
dtrain = xgb.DMatrix(iris.data, label = iris.target)
param = {
    'max_depth': 3,
    'eta': 0.3,
    'objective': 'multi:softprob',
    'num_class': 3
}
num_round = 20
bst = xgb.train(param, dtrain, num_round)
bst.save_model("iris.xg.model")

2.load the model file with DMatrix
For Python:
xgb.DMatrix('iris.xg.model')

[06:09:23] dmlc-core/include/dmlc/logging.h:235: [06:09:23] src/data/././strtonum.h:141: Check failed: (sign) == (true)
terminate called after throwing an instance of 'dmlc::Error'
  what():  [06:09:23] src/data/././strtonum.h:141: Check failed: (sign) == (true)
[1]    26684 abort (core dumped)  python3

For R:
xgboost::xgb.DMatrix('iris.xg.model')

terminate called recursively
[1]    27747 abort (core dumped)  R

What have you tried?

reproduce this error
this error is thrown from OpenMP code, so it cannot be caught by the API_END

I got the same error while running basic_walkthrough.py in /demo/
`python get_started.py                                                 134 ↵
[[[[17:04:3017:04:3017:04:3017:04:30] ] ] ] dmlc-core/include/dmlc/./logging.hdmlc-core/include/dmlc/./logging.hdmlc-core/include/dmlc/./logging.hdmlc-core/include/dmlc/./logging.h::::300300300300: : : : [17:04:30] src/data/././strtonum.h:141: Check failed: sign == true (0 vs. 1)
Stack trace returned 2 entries:
[bt] (0) 0   libxgboost.dylib                    0x000000011379ceb9 _ZN4dmlc15LogMessageFatalD1Ev + 41
[bt] (1) 1   libstdc++.6.dylib                   0x0000000113b83fa0 _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE + 16
[17:04:30] src/data/././strtonum.h:141: Check failed: sign == true (0 vs. 1)
Stack trace returned 2 entries:
[bt] (0) 0   libxgboost.dylib                    0x000000011379ceb9 _ZN4dmlc15LogMessageFatalD1Ev + 41
[bt] (1) 1   libstdc++.6.dylib                   0x0000000113b83fa0 _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE + 16
[17:04:30] src/data/././strtonum.h:141: Check failed: sign == true (0 vs. 1)
Stack trace returned 2 entries:
[bt] (0) 0   libxgboost.dylib                    0x000000011379ceb9 _ZN4dmlc15LogMessageFatalD1Ev + 41
[bt] (1) 1   libstdc++.6.dylib                   0x0000000113b83fa0 _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE + 16
[17:04:30] src/data/././strtonum.h:141: Check failed: sign == true (0 vs. 1)
Stack trace returned 2 entries:
[bt] (0) 0   libxgboost.dylib                    0x000000011379ceb9 _ZN4dmlc15LogMessageFatalD1Ev + 41
[bt] (1) 1   libstdc++.6.dylib                   0x0000000113b83fa0 _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE + 16`

Bump

I see how crashing the program is undesirable. The issue is that in thread-enabled XGBoost, there are actually multiple threads parsing the input file. So when the parser encounters an invalid byte, there is currently no good way to catch the exception other than calling std::terminate() (which terminates the whole program). Any suggestion for catching exceptions thrown by threads?
Note. This behavior applies to both custom threads and OpenMP threads. OpenMP specifically "forbids" code that lets exception escape the parallel region.

+1, the GPU version of the xgboost library is almost unusable for me at the moment

+1 same here

@sunils27 @berli @mglomba @tk3369 @airkid
The issue appears to be fixed by PR #3221. The PyPI package does not have this fix yet, so for now please compile from the latest source.


New speech feature from Cognitive Services Speech Services

This is the work item for additional features from Speech Services. The original feature on-par work is #1336.

[ ] P0: Custom speech
[ ] P1: Reference grammar ID (for LUIS)
[ ] P1: Biased word list (a.k.a. dynamic priming)
[ ] P2: Custom voice font
[ ] P2: Continuous mode

Blocked

[ ] P2: Push-to-talk

recognizeOnceAsync do not have a cancellation mechanism, we need to investigate workarounds

@seaen @sgellock Preference check: would you prefer these to be split into multiple bugs or kept as one?

Closing as I have expanded this into multiple issues. Please see those issues for more information.


Return list instead first element

Return website_list instead website
https://github.com/serhii73/find_the_site/blob/master/find_the_site/fw.py

I've submitted a PR for this at #6.

I could work on this if it's still open.

I could work on this if it's still open.

Sorry. @robflop was first.
You can take other issues from my projects.
For example, from here https://github.com/serhii73/place2live


[INFRA] code style and quality workflow does not seem to run on the master branch

See here.
https://github.com/bids-standard/bids-matlab/runs/1734150473

the tests run with this config:
on:
  push:
    branches:
      - master
      - main
      - dev
  pull_request:
    branches: '*'

the linter does not with this config:
on:
  push:
    branches: [master, main, dev]
  pull_request:
    branches: [master, main]

the tests run with this config:
on:
  push:
    branches:
      - master
      - main
      - dev
  pull_request:
    branches: '*'

the linter does not with this config:
on:
  push:
    branches: [master, main, dev]
  pull_request:
    branches: [master, main]

fixed


Sometimes the login button can't be pressed with image credits (mobile phone display only)

Occasionally it happens when I view the login page on my mobile phone.
Background image credits are usually displayed on a single line, so there is no effect.
However, if two or more lines of credit are displayed, the login button may overlap with the credit and you may not be able to press the button.
Would you please adjust the credits so that they do not overlap with the login button?

It happens on 4.7 inch screens such as iPhone 8.
It doesn't happens on 5.5-inch screen such as the iPhone 8 Plus.
The attached image has the credit name rewritten with the developer tool of Chrome.

This is no longer an issue in version 9, due to the redesign of the login screen. If someone wants to provide a fix for 8.5.x we'd merge it.

@moriaiy
Do you still want this to be fixed?
If so, we may try a pull request.


Updated for syncing to process latest modified first and output…

…modified_on in logs.
Description of change
Currently a complete update will take approximately 7 hours to update. This modifies sync_search to run for changed / new records first and outputs the modified on date with the progress indicator so we are able to tell when the changed records between the initial data copy and the final live copy have completed.
Checklist

[x] Has this branch been rebased on top of the current main branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[x] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.38%. Comparing base (36babcd) to head (6cabea3).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5516      +/-   ##
==========================================
+ Coverage   96.37%   96.38%   +0.01%
==========================================
  Files         957      957
  Lines       22592    22601       +9
  Branches     2026     2027       +1
==========================================
+ Hits        21773    21784      +11
+ Misses        667      666       -1
+ Partials      152      151       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

PR modifies the sync_search command to first process the most recently modified records. It also changes the logging messages to more easily see the progress.
Looks good to me. However, just to confirm, is this meant for the main branch, rather than migration-deploy?

Yes, it's meant to go into main branch as it shouldn't affect performance etc.


[BUGFIX] FSDP ZeRO-1 Padding and Shared Memory Increase

Description
Fixed bugs that occurred when a tensor required padding before it could be sharded and when FSDP is run on more than 2 GPU's.
cc @awslabs/raf-reviewer

Thanks @shawnakdeb


Homebase state cannot be updated

Please check existing (open or closed) issues before creating a new one. (https://github.com/fuatakgun/eufy_security/issues?q=is%3Aissue+)
If this is not an issue, you can use Discussions (https://github.com/fuatakgun/eufy_security/discussions) section.
Describe the bug
Open issues don't describe a fix for this. I cannot update my homebase via the device page itself or via automations. This was working about a week ago.
I have just one homebase. It is a homebase 3.
To reproduce
See above
Expected behavior
See above. Homebase guard mode should be configurable.
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Home Assistant Installation Type (OS - Supvervised - Core):

Home Assistant Core Version:  core-2024.2.2

Eufy Security Add-on Version: 1.7.1

Eufy Security Integration Version: Firmware: <IP_ADDRESS>

Debug Logs from Home Assistant (https://github.com/fuatakgun/eufy_security/discussions/624) - Without this, I will automatically resolve this issue

error_log.txt

Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):

Would you share your device with me in case further debugging required? (Yes/No):

Yes

Additional context
Add any other context about the problem goes here. Mainly, share everything as log files and use screenshots as last resort.

I have the same issue, not sure when it started but no entities are updated any longer.
Home Assistant 2024.2.2
eufy-security-ws add-on: 1.7.1
Eufy Security integration: 8.0.1
This is from the debug log when trying to change alarm control panel from Home > Away:
2024-02-23 12:31:26.241 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139658416572224] 'NoneType' object has no attribute 'available' Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 240, in handle_call_service     response = await hass.services.async_call(                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/src/homeassistant/homeassistant/core.py", line 2279, in async_call     response_data = await coro                     ^^^^^^^^^^   File "/usr/src/homeassistant/homeassistant/core.py", line 2316, in _execute_service     return await target(service_call)            ^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 861, in entity_service_call     if not entity.available:            ^^^^^^^^^^^^^^^^   File "/config/custom_components/eufy_security/entity.py", line 50, in available     return self.coordinator.available            ^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/config/custom_components/eufy_security/coordinator.py", line 111, in available     return self._api.available            ^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'available'

I cannot get this working anymore either.


npm audit finds vulnerabilities

[x] I'm sure this issue is not a duplicate.

Running npm install -d as part of the recommended build process finds 12 vulnerabilities.
added 179 packages from 114 contributors, removed 17 packages, updated 25 packages and audited 3803 packages in 16.708s
found 12 vulnerabilities (1 low, 4 moderate, 7 high)
  run `npm audit fix` to fix them, or `npm audit` for details

Running npm audit returns:
$ npm audit

                       === npm audit security report ===

# Run  npm install --save-dev<EMAIL_ADDRESS>to resolve 3 vulnerabilities

  Low             Regular Expression Denial of Service

  Package         braces

  Dependency of   vscode [dev]

  Path            vscode > gulp-symdest > vinyl-fs > glob-stream > micromatch
                  > braces

  More info       https://npmjs.com/advisories/786

  High            Arbitrary File Overwrite

  Package         tar

  Dependency of   vscode [dev]

  Path            vscode > gulp-untar > tar

  More info       https://npmjs.com/advisories/803

  High            Arbitrary File Overwrite

  Package         fstream

  Dependency of   vscode [dev]

  Path            vscode > gulp-untar > tar > fstream

  More info       https://npmjs.com/advisories/886

# Run  npm install --save-dev<EMAIL_ADDRESS>to resolve 2 vulnerabilities

  Moderate        Denial of Service

  Package         js-yaml

  Dependency of   mocha [dev]

  Path            mocha > js-yaml

  More info       https://npmjs.com/advisories/788

  High            Code Injection

  Package         js-yaml

  Dependency of   mocha [dev]

  Path            mocha > js-yaml

  More info       https://npmjs.com/advisories/813

# Run  npm install --save-dev<EMAIL_ADDRESS>to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change

  High            Prototype Pollution

  Package         handlebars

  Dependency of   nyc [dev]

  Path            nyc > istanbul-reports > handlebars

  More info       https://npmjs.com/advisories/755

# Run  npm update js-yaml --depth 3  to resolve 6 vulnerabilities

  Moderate        Denial of Service

  Package         js-yaml

  Dependency of   husky [dev]

  Path            husky > cosmiconfig > js-yaml

  More info       https://npmjs.com/advisories/788

  Moderate        Denial of Service

  Package         js-yaml

  Dependency of   lint-staged [dev]

  Path            lint-staged > cosmiconfig > js-yaml

  More info       https://npmjs.com/advisories/788

  Moderate        Denial of Service

  Package         js-yaml

  Dependency of   tslint [dev]

  Path            tslint > js-yaml

  More info       https://npmjs.com/advisories/788

  High            Code Injection

  Package         js-yaml

  Dependency of   husky [dev]

  Path            husky > cosmiconfig > js-yaml

  More info       https://npmjs.com/advisories/813

  High            Code Injection

  Package         js-yaml

  Dependency of   lint-staged [dev]

  Path            lint-staged > cosmiconfig > js-yaml

  More info       https://npmjs.com/advisories/813

  High            Code Injection

  Package         js-yaml

  Dependency of   tslint [dev]

  Path            tslint > js-yaml

  More info       https://npmjs.com/advisories/813

found 12 vulnerabilities (1 low, 4 moderate, 7 high) in 3803 scanned packages
  run `npm audit fix` to fix 11 of them.
  1 vulnerability requires semver-major dependency updates.

Running npm audit fix returns:
$ npm audit fix
+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 17 packages from 10 contributors, removed 179 packages and updated 25 packages in 12.794s
fixed 11 of 12 vulnerabilities in 3803 scanned packages
  1 package update for 1 vuln involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)

There is still one more vulnerability I haven't fixed in my PR:
$ npm audit

                       === npm audit security report ===

# Run  npm install --save-dev<EMAIL_ADDRESS>to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change

  High            Prototype Pollution

  Package         handlebars

  Dependency of   nyc [dev]

  Path            nyc > istanbul-reports > handlebars

  More info       https://npmjs.com/advisories/755

found 1 high severity vulnerability in 2137 scanned packages
  1 vulnerability requires semver-major dependency updates.

Also, unrelated, I found that two dependencies are not used anywhere: lodash and semver.

Will be addressed with v9.

@oriash93
semver: https://github.com/vscode-icons/vscode-icons/search?l=TypeScript&q=semver
lodash: https://github.com/vscode-icons/vscode-icons/search?l=TypeScript&q=lodash

@oriash93
semver: https://github.com/vscode-icons/vscode-icons/search?l=TypeScript&q=semver
lodash: https://github.com/vscode-icons/vscode-icons/search?l=TypeScript&q=lodash

sorry, my bad.


Create dev users

This pull request renames command create_admin to create_user and also adds two new permanent users for testing purposes.
Closes #352

Please revisit this @magul, I still think that it would be good idea to have some constant test accounts for driver and passenger, because the factory ones (although still very good and real) are quite random which slows down any manual test of the website from user's perspective.
The default users are no good for this, because they don't have first/last name and they don't belong to any group. They are by definition admin users so they don't take part in the flow of application.

We can have that conversation next Wednesday but even if we want to have driver/passenger with constant email address I would prefer to have them created in make populate-database (we could use factories to that).
What do you think about that? What do you think about that @kruczyna ?


feat: increase transparency using checkboxes disclaimers

Fixes #177
Proposed Changes

add checkboxes before publish
add disclaimer under asset buy button

Can you please try again deleting the previously saved values from local storage? Just to understand if that is the cause or if it's unrelated

Yes it is the issue. Works as expected with clean local storage.

This might be a little problematic when we'll deploy. Maybe we should consider to put a time limit to decide if we want to use the values from local storage or show an empty form, does not make much sense to pre-fill a form with one week old data imho.

This might be a little problematic when we'll deploy. Maybe we should consider to put a time limit to decide if we want to use the values from local storage or show an empty form, does not make much sense to pre-fill a form with one week old data imho.

Not that big of a problem imo. For these values lets never use cached data. This is about user consenting they read terms / disclaimers, so we should request active input on every submit, anyways, if that makes sense.

@moritzkirstein I updated the form to now exclude all the <Terms /> values from local storage. This should fix all the problems.


Publishing apidoc-config

Hello guys, first of all, I would like to thank you for this package. It has helped me a lot to keep things in order.
I would like to ask a question. Whenever I make a modification to apidoc.php within app\config to be reflected in the documentation, that change is not made. All routes are perfectly documented, but if I want to add or remove a setting, this modification is not used. However, when I make this kind of change inside \mpociot\laravel-apidoc-generator\config\apidoc.php the changes are made.
I made the vendor:publish, and tried to force it, but was unsuccessful. What could be the problem?
And taking advantage of the moment, is there any way to remove the routes that are created by Telescope? [EDIT] ( About this doubt about the Telescope, I managed to solve )

@HmmerHead what are some values you tried to set that didn't work?
You can exclude telescope routes by adding the rule shown below to your ruleset (in apidoc.routes). But we'll ignore Laravel Telescope routes by default in a forthcoming version
          'exclude' => [
                'telescope/*',
            ],
```.

@shalvah, happens with any value.
When I try to make any changes to apidoc.php inside the Config folder, nothing happens. I even changed the key values for testing purposes only, and after using either command (generate or rebuild), nothing happens. I tried to find out which file it is reading with the help of Laravel Helpers. I saw that he is reading the file inside the Config folder in the root.
Only apidoc.php inside the Vendor folder makes any changes (How to add a Header, or remove Telescope routes, as I mentioned in my previous question).
I forgot to mention before, but I use these versions
"laravel/framework": "5.8.*"
"mpociot/laravel-apidoc-generator": "^3.13"

Sounds like your config is cached. Run php artisan config:clear.
On Tue, 3 Sep 2019, 12:32 Guilherme<EMAIL_ADDRESS>wrote:

@shalvah https://github.com/shalvah, happens with any value.
When I try to make any changes to apidoc.php inside the Config folder,
nothing happens. I even changed the key values for testing purposes only,
and after using either command (generate or rebuild), nothing happens. I
tried to find out which file it is reading with the help of Laravel
Helpers. I saw that he is reading the file inside the Config folder in the
root.
Only apidoc.php inside the Vendor folder makes any changes (How to add a
Header, or remove Telescope routes, as I mentioned in my previous question).
I forgot to mention before, but I use these versions
"laravel/framework": "5.8.*"
"mpociot/laravel-apidoc-generator": "^3.13"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mpociot/laravel-apidoc-generator/issues/567?email_source=notifications&email_token=ADNSD4N3FZQ6JJ4Q2NN7R43QHZDLDA5CNFSM4IS5TL5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5X4TMY#issuecomment-527419827,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADNSD4IKEDQGSABYMWMHJATQHZDLDANCNFSM4IS5TL5A
.


[WIP] Remove redundant scipy installation and upgrade tensorflow to 1.9.0.

This PR is still work in progress. I'm trying to get the Numpy errors/warning fixed as they might be related to the failing tests.

This was fixed in a recent commit.


Update Composer dependencies (2023-04-27-00-12)

Visual regression test passed!
View the visual regression test report


implement an addon template using embed.FS

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>
create an agentAddon with options, and implement its manifest function using embed.FS.
can override and customize the template config by the annotation of manangedClusterAddon CR.

/assign @qiujian16
/assign @elgnay

@yue9944882 we are also thinking alternatives like allow user to put a helm chart to define agent for addon. Where we can run helm dryrun to get the manifests and put in the manifestwork. WDYT?

@qiujian16 that will be helpful for those who trying to migrate the manifests from helm charts to an addon, so addon developers can build an addon via adding the chart as a git submodule in their project. but we can start w the low hanging fruit by copying/duplicating the manifests to the addon project.
i presume the complexity of integrating helm chart lies in the advanced templating extensions provided by charts e.g. flow-control, pre|post-jobs, etc. i am a bit worried if these charts w advanced annotation can always be correctly rendered.

/hold

/unhold

/lgtm


AlphaFold v2.3.1 Colab Notebook - ImportError: Python version mismatch

Import Error in the 4th Cell of the Colab Notebook

Thanks for the help in advance!

We are validating a fix, in the meanwhile you can use the fix from https://github.com/deepmind/alphafold/pull/715 as a workaround. I will close this issue once we push a fix.

hi, @biobrett6 .
Actually, it seems that the version of python installed at first is different from the compiled version.
What you need is that replace the "python 3.8" with the "python 3.9" in the first block, after that everything seem well.

@evilegggyy1
thanks a lot! address my problem.


test(scope): turn examples into test cases

@dai-shi I found some test cases (even when I run them locally) are broken and suspect I can't directly import those examples because jotai-scope package resolution is incorrect? Do you have any suggestion?

Specifically, I'd like to know why examples can resolve to correct ScopeProvider in the repository, but the test cases can't.

btw, I'm migrating to new setup: https://github.com/zustandjs/zustand-valtio/pull/2
I'll work on some repos in jotaijs, but for jotai-scope it's up to you, you can follow my setup, or do with your own setup.

I'm wondering if there is any way to share codes between examples and tests.

It's also up to you, but my goal was to make examples standalone apps.
For example, this works: https://githubbox.com/jotaijs/jotai-scope/tree/main/examples/02_scope


Can't find packages

I'm having issues with the CodeBuild not finding packages even though my packages are already vendored.

Has a solution been found for this? I can't seem to set up a clean/simple way to handle a project that has subpackages. E.g.
parentdir/
|_ childdir/
|  |_ child.go
|_ main.go

Where the main.go file includes import "parentdir/childdr". I'm running into issues where the CODEBUILD_SRC_DIR doesn't seem to be a part of the GOPATH and then when it's added, those local packages are missing from the file path. Any insight/ideas would be super helpful.

@forstmeier, in our build scripts we now rsync the src folder into the GOPATH so go build can find out own modules.

@tebruno99 cool, thanks! I'm trying to do something like that in the buildspec.yml file but with little success. Do you have an example?

  install:
    commands:
      - echo CODEBUILD_SRC_DIR - $CODEBUILD_SRC_DIR
      - echo GOPATH - $GOPATH
      - echo GOROOT - $GOROOT
      - echo Copying Source to Go module dir
      - ls -l $CODEBUILD_SRC_DIR
      - mkdir -p /go/src/github.com/tebruno99/lambda-auth
      - cp -a $CODEBUILD_SRC_DIR/* /go/src/github.com/tebruno99/lambda-auth/

  build:
    commands:
      - echo Build started on `date`
      - mkdir -p build
      - GOOS="linux" go build -o build/myHandler```


Fix test for n_features_to_select

The test was incorrectly calling assert instead of raise
Test added to prevent further regression
Should bring coverage up to 100%

@dkruszew @jackyho112 @vcuspinera Anyone know how to fix this error? It's has to do with poetry version number.


Dendron: Move Note almost never updates links in other vaults in multi-vault

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[x] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
When I move a note with a link in another vault, the link does not get updated.
To Reproduce
Steps to reproduce the behavior:

In a multi-vault set up with Vault1 and Vault2, create a journal note in Vault1, I will call this "today"
In "today" add this content:

* [[this-is-another-note]]

Run Dendron: Goto Note on this link to create a link. It should prompt you for a vault, select Vault2
Notice there is a backlink
While you are in "this-is-another-note" run "Dendron: Move Note" and add a level to the hierarchy "top.this-is-another-note"
Notice the backlink is missing
Navigate to Vault1 and open "today"
Notice the link is still to the old note location
Execute Dendron: Reload Index
Notice no change
Execute Developer: Reload Window
Notice no change
Be sad that your link is gone

Expected behavior
When a note is moved, all links to the note are updated to the new location
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)

OS: [e.g. iOS]
Browser (if with published websites; include version): [e.g. chrome, safari]
Versions (all that apply to bug):

Dendron Extension:
VS Code version:
Dendron CLI:

Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dendron:Dev: Open Logs here

Thank you for the report. Sorry about the inconvenience. Will get it fixed soon.


Merging n3integration-master + fixes

I had to make a few amends to make n3integration-master PR work properly.
Would be good if someone could check this ASAP so we can get it merged in

I shouldn't have merged this so quick - i had to make some amends
I also added SPA flow - I'll fix up and send a new PR in a bit :)

Not sure what to do about this; https://travis-ci.org/waterlock/waterlock-google-auth/jobs/81948398

Seems all fixed now


Fix pipeline id and logging

What?

Fixes passing of parameter pack to zapLogger (previously the passing resulted in extra brackets [] for log messages)

Converts leftover print statements to logged messages

Pipeline name should now properly be passed down to the taskrun by tekton

Why?
https://issues.redhat.com/browse/OSD-16113

/lgtm


1.0.1 post release updates

Issue #, if available:
Description of changes: 1.0.1 post release updates
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@83a39d2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #22   +/-   ##
==========================================
  Coverage           ?   33.31%
==========================================
  Files              ?      238
  Lines              ?     8260
  Branches           ?      850
==========================================
  Hits               ?     2752
  Misses             ?     5334
  Partials           ?      174

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


[question] Is there anyway to wrap decode?

I want to do:
func predecode<R: Decodable>(type: R.Type, data: AnyObject) -> R? {
    let r: Decoded<R> = decode(data) // Error: cannot find overload that accept an argument list of type '(AnyObject)`
    return r.value
}

The reason I want to do is easier error logging, so I don't have to put a debug message next to every decode call. But I cannot get away the error, what should I do? Thanks.

You should constrain the generic parameter as R: Decodable where R == R.DecodedType to match with the decode() function definition.

Thanks!


PATH environment variable has space problem

at file "vendor\init.bat": line 32:
@set PATH=%CMDER_ROOT%\bin;%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%git_install_root%\share\vim\vim74;%CMDER_ROOT%;%PATH%
if my %PATH% has a space, this may cause some problem.
i think that is better:
@set "PATH=%CMDER_ROOT%\bin;%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%git_install_root%\share\vim\vim74;%CMDER_ROOT%;%PATH%"
the first quote is before "PATH=".

This should be fixed in the development branch.


Version 6.x - Load external configuration files

[https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration-reloading.html#filebeat-configuration-reloading]

We're doing something like this already to load prospectors - are you suggesting we look at splitting the configuration file out further?

I am in the process of upgrading to 6.x and have been working through the deprecations.   Created this issue as I was going to work on this warning:
WARN DEPRECATED: config_dir is deprecated. Use filebeat.config.prospectors instead. Will be removed in version: 7.0.0


Add GET apps/packages handler

Is there a related GitHub Issue?
Fixes https://github.com/cloudfoundry/korifi/issues/2333
What is this change about?
Add GET apps/packages handler
Does this PR introduce a breaking change?
No
Acceptance Steps
GIVEN I have pushed an app
WHEN I perform the following request
curl "https://api.example.org/v3/apps/[guid]/packages"

THEN I get a 200 OK response with a list of packages

Hey @saffronjam! Thank you so much for this! Do you feel confident writing some tests for this too? Ideally we'd expect to have a unit test for the handler (see here for inspiration) and and end-to-end test too (see here).
Happy to help if you're stuck!

Hi @gcapizzi, I think this should do it!

It's in! Thank you so much @saffronjam! 🎉


Permissions not loading in Add Eligibility Policy form

Describe the bug
All drop downs in the "Add Eligibility Policy form" are properly loading except the "Permission" drop down.
To Reproduce
Steps to reproduce the behavior:

Go to 'Administration -> Eligibility policy'
Click on 'Add policy' button.
Select "Entity Type", Enter the "Ticket No", Select the "List of Eligible OUs".
When we try to select permissions, no permission sets are displayed.

Expected behavior
Permission sets should be automatically load and be able to select.

I found that if TEAM is deployed in its own account, then if the existing permission sets from the MGMT account will be ignored, that's when we don't any permission sets loaded. However, when you create new permission sets in the TEAM account, the permission sets are displayed.

To add some more information, the Permission Sets don't seem to need to be created by the TEAM account, but they do need to be created after TEAM is set up. I was trying to solve this problem and created a new Permission Set in the management account that was also picked up by TEAM.
TEAM does not seem to pick upon Permissions Sets created before TEAM was set up


Editable taskbar quick access

Description of the new feature / enhancement
Love the new taskbar quick access feature!
Just to be greedy, it would be great if one could configure which PowerToys appear in the panel.
Scenario when this would be used?
Quick access to PowerToys that I use less often.
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/24283


About the Change of Color and Fonts After Deploying

Hello,
When I deployed the theme with running hugo, the colors and fonts changed in index.html (e.g. instead of red, some parts turn blue, and some turn black.). However, the color codes and fonts which are defined in the .css are the same as in the sample site.
What could be the reason for this?
Thanks in advance. :)

Hi @drmnbastrk,
Thanks for using Avicenna!
Would you mind editing your question with an image of the changes you mentioned? Also, it would be helpful if you could post your console log.

Hi @hadisinaee,
First of all, thank you for replying. :)
Actually, my problem is related to colors. Titles that should be red are displayed as blue. You can find the related image below:

Unfortunately, I cannot post the console log because it gives an error:

style.css:1 Failed to load resource: the server responded with a status of 403 (Forbidden)

But I am uploading the .css file:
style.zip
I am not bothered by this situation. I was just wondering as I couldn't figure out what was causing this problem.
Thank you very much again for your reply. :)

@drmnbastrk No worries!
Thanks for your screenshots! I couldn't extract your file since there was an error. Could you find out what the thing was on the syle.css line 1 that resulted in that error?

Sure! Below, you can find the style.css file in .txt format:
style.txt


[BUG] Changes to HUD won't go away after uninstall

Describe the issue
When uninstalling some HUDs the changes that they make don't get reverted on the vanilla default HUD, leading to visual bugs on other HUDs like some elements being pure white or text not properly showing up on buttons which can make some parts of the games menus practically unusable.
Steps to reproduce the issue:

Install Improved Default HUD
Open the game, then quit after it loads
Uninstall Improved Default HUD
(This applies to other HUDs as well but Improved Default is the most obvious to notice)

You'll notice that the repositioned HUD elements from Improved Default are still applied even though the HUD was uninstalled.
Desktop

OS: Windows 11 x64
App Version: Latest
Selected HUD: None

What do you see in your tf/custom folder after you uninstall the HUD in the editor?

Closing due to lack of response. Please reopen this issue if there's an update.


Null dictionary leads to panic

I tried to read some well-known parquet data samples (about NYC green taxis) and it panicked.
Data can be found here

@laskoviymishka  thanks for using this package .
can you please give more info ?

What were you doing ?
Steps to reproduce (minimal code that I can run to manifest the issue)
Expected outcome

It's hard for me to just download a file from the internet and discover your Issue.

Here is more info - https://github.com/parquet-go/parquet-go/pull/22
I put some testdata and make nil instead of panic in a places where panic accure.

Mmh! Did I miss something ? That PR has NO info.  Please  provide these details here so I can help you.

What were you doing ?
Steps to reproduce (minimal code that I can run to manifest the issue)
Expected outcome

Thanks

What were you doing ?

I try to read parquet file, same as done in TestOpenFile test

Steps to reproduce (minimal code that I can run to manifest the issue)

Try to read this file (https://d37ci6vzurychx.cloudfront.net/trip-data/green_tripdata_2023-01.parquet)
Easiest way to repro - put this file in testdata folder and run TestOpenFile test

Expected outcome

Data should be readable, it contains null-column, I think for schema backward compatibility.

Here is the panic message

panic: cannot create dictionary from parquet NULL type [recovered]
	panic: cannot create dictionary from parquet NULL type

goroutine 59 [running]:
testing.tRunner.func1.2({0x102b94120, 0x102cb5620})
	/Users/tserakhau/go/go1.19.1/src/testing/testing.go:1396 +0x1c8
testing.tRunner.func1()
	/Users/tserakhau/go/go1.19.1/src/testing/testing.go:1399 +0x378
panic({0x102b94120, 0x102cb5620})
	/Users/tserakhau/go/go1.19.1/src/runtime/panic.go:884 +0x204
github.com/parquet-go/parquet-go.(*nullType).NewDictionary(0x140004a76c0?, 0x0?, 0x0?, {0x0?, 0x0?, {0x0?, 0x0?, 0x0?}, {0x0?, 0x102cd8348?, ...}})
	/Users/tserakhau/go/src/github.com/parquet-go/type.go:2221 +0x2c
github.com/parquet-go/parquet-go.(*Column).decodeDictionary(0x140004a76c0, {0x102b79a40?}, 0x5000?, 0xc5820?)
	/Users/tserakhau/go/src/github.com/parquet-go/column.go:790 +0x33c
github.com/parquet-go/parquet-go.(*filePages).readDictionaryPage(0x140002aa6e0, 0x140002fe0c0?, 0x140002fe0c0?)
	/Users/tserakhau/go/src/github.com/parquet-go/file.go:615 +0x3c
github.com/parquet-go/parquet-go.(*filePages).ReadPage(0x140002aa6e0)
	/Users/tserakhau/go/src/github.com/parquet-go/file.go:550 +0x180
github.com/parquet-go/parquet-go.(*columnPages).ReadPage(0x1400017e5c0)
	/Users/tserakhau/go/src/github.com/parquet-go/column.go:119 +0x54
github.com/parquet-go/parquet-go_test.printColumns(0x1400027bba0, 0x140004a76c0, {0x102a3744d, 0x2})
	/Users/tserakhau/go/src/github.com/parquet-go/file_test.go:72 +0x270
github.com/parquet-go/parquet-go_test.printColumns(0x1400027bba0, 0x140004a6a90, {0x0, 0x0})
	/Users/tserakhau/go/src/github.com/parquet-go/file_test.go:119 +0x3d4
github.com/parquet-go/parquet-go_test.TestOpenFile.func1(0x1400027bba0)
	/Users/tserakhau/go/src/github.com/parquet-go/file_test.go:50 +0x284
testing.tRunner(0x1400027bba0, 0x140004a2590)
	/Users/tserakhau/go/go1.19.1/src/testing/testing.go:1446 +0x10c
created by testing.(*T).Run
	/Users/tserakhau/go/go1.19.1/src/testing/testing.go:1493 +0x300

File is already attached, problem in a schema itself, and around optional <?> ehail_fee (NULL); field
it's already shared, here is a pr with test to reproduce - https://github.com/parquet-go/parquet-go/pull/26

Interesting, can you please share the schema of the file ?

Actually i don't know how to extract it :D

Tried to use https://github.com/chhantyal/parquet-cli this tool
parq green_tripdata_2023-01.parquet --schema

 # Schema
 <pyarrow._parquet.ParquetSchema object at 0x1023a57c0>
required group field_id=-1 schema {
  optional int64 field_id=-1 VendorID;
  optional int64 field_id=-1 lpep_pickup_datetime (Timestamp(isAdjustedToUTC=false, timeUnit=microseconds, is_from_converted_type=false, force_set_converted_type=false));
  optional int64 field_id=-1 lpep_dropoff_datetime (Timestamp(isAdjustedToUTC=false, timeUnit=microseconds, is_from_converted_type=false, force_set_converted_type=false));
  optional binary field_id=-1 store_and_fwd_flag (String);
  optional double field_id=-1 RatecodeID;
  optional int64 field_id=-1 PULocationID;
  optional int64 field_id=-1 DOLocationID;
  optional double field_id=-1 passenger_count;
  optional double field_id=-1 trip_distance;
  optional double field_id=-1 fare_amount;
  optional double field_id=-1 extra;
  optional double field_id=-1 mta_tax;
  optional double field_id=-1 tip_amount;
  optional double field_id=-1 tolls_amount;
  optional int32 field_id=-1 ehail_fee (Null);
  optional double field_id=-1 improvement_surcharge;
  optional double field_id=-1 total_amount;
  optional double field_id=-1 payment_type;
  optional double field_id=-1 trip_type;
  optional double field_id=-1 congestion_surcharge;
}

So based on this i would suggest that col type was incorrectly mapped, it should be int32, not null-type

Use  fmt.Println(f.Schema())  after opening the file with parquet.OpenFile where f is the *parquet.File. It should give us a nicer view on what schema is being read.
Show me the output of printing that schema.

So based on this i would suggest that col type was incorrectly mapped, it should be int32, not null-type

Can you expand on this, Which column ?

 VendorID PLAIN_DICTIONARY GZIP
    file_test.go:91: . lpep_pickup_datetime PLAIN_DICTIONARY GZIP
    file_test.go:91: . lpep_dropoff_datetime PLAIN_DICTIONARY GZIP
    file_test.go:91: . store_and_fwd_flag PLAIN_DICTIONARY GZIP
    file_test.go:91: . RatecodeID PLAIN_DICTIONARY GZIP
    file_test.go:91: . PULocationID PLAIN_DICTIONARY GZIP
    file_test.go:91: . DOLocationID PLAIN_DICTIONARY GZIP
    file_test.go:91: . passenger_count PLAIN_DICTIONARY GZIP
    file_test.go:91: . trip_distance PLAIN_DICTIONARY GZIP
    file_test.go:91: . fare_amount PLAIN_DICTIONARY GZIP
    file_test.go:91: . extra PLAIN_DICTIONARY GZIP
    file_test.go:91: . mta_tax PLAIN_DICTIONARY GZIP
    file_test.go:91: . tip_amount PLAIN_DICTIONARY GZIP
    file_test.go:91: . tolls_amount PLAIN_DICTIONARY GZIP
    file_test.go:91: . ehail_fee PLAIN_DICTIONARY GZIP

So go-lib read this column a bit strange, as optional <?> ehail_fee (NULL); not as optional int32 ehail_fee (Null);, I checked with a debugger, this column is nullType format.NullType column.

So go-lib read this column a bit strange, as optional <?> ehail_fee (NULL); not as optional int32 ehail_fee (Null);

Yep.

ehail_fee PLAIN_DICTIONARY GZIP tells us that the field is optional int32 encoded as a dictionary and copressed with gzip

So based on this i would suggest that col type was incorrectly mapped, it should be int32, not null-type

Yes.

Any ideas/news? Is it worth reopening?

I have the same issue on latest github.com/parquet-go/parquet-go v0.18.0
--- FAIL: TestRead (0.02s)
panic: cannot create dictionary from parquet NULL type [recovered]
	panic: cannot create dictionary from parquet NULL type

goroutine 8 [running]:
testing.tRunner.func1.2({0x102793080, 0x1028fb290})
	/opt/homebrew/Cellar/go/1.21.1/libexec/src/testing/testing.go:1545 +0x1c8
testing.tRunner.func1()
	/opt/homebrew/Cellar/go/1.21.1/libexec/src/testing/testing.go:1548 +0x360
panic({0x102793080?, 0x1028fb290?})
	/opt/homebrew/Cellar/go/1.21.1/libexec/src/runtime/panic.go:914 +0x218
github.com/parquet-go/parquet-go.(*nullType).NewDictionary(0x14000521ba0?, 0x0?, 0x0?, {0x0?, 0x0?, {0x0?, 0x0?, 0x0?}, {0x0?, 0x10291d6c8?, ...}})
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/type.go:2221 +0x2c
github.com/parquet-go/parquet-go.(*Column).decodeDictionary(0x14000521ba0, {0x10277a640?}, 0x14000615b88?, 0x615b10?)
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/column.go:790 +0x344
github.com/parquet-go/parquet-go.(*filePages).readDictionaryPage(0x14000201ae0, 0x140003057a0?, 0x140003057a0?)
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/file.go:615 +0x3c
github.com/parquet-go/parquet-go.(*filePages).ReadPage(0x14000201ae0)
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/file.go:550 +0x17c
github.com/parquet-go/parquet-go.(*rowGroupRows).ReadRows(0x140004933b0, {0x1400343ec00, 0x80, 0x80})
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/row_group.go:336 +0x2c0
github.com/parquet-go/parquet-go.(*convertedRows).ReadRows(0x140003053e0, {0x1400343ec00?, 0xc00?, 0x80})
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/convert.go:558 +0x3c
github.com/parquet-go/parquet-go.(*reader).ReadRows(0x140002005b0, {0x1400343ec00?, 0x80?, 0x80?})
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/reader.go:526 +0xc0
github.com/parquet-go/parquet-go.(*Reader).ReadRows(0x140002005a0, {0x1400343ec00, 0x80, 0x80})
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/reader.go:443 +0x70
github.com/parquet-go/parquet-go.(*GenericReader[...]).readRows(0x102909820, {0x1400319e000, 0x80, 0x140027da901})
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/reader.go:160 +0xcc
github.com/parquet-go/parquet-go.(*GenericReader[...]).Read(...)
	/Users/danwt/go/pkg/mod/github.com/parquet-go/parquet-go@v0.18.0/reader.go:114

Thanks for reporting @danwt, I'm re-opening this issue since it seems to still be a problem.
@danwt would you be able to share more details about how you triggered this panic? A reproducible example would be extremely valuable to fix the issue.

I can't provide reproduction but we had a
type Row struct {
..
foo *string `parquet:"foo"`
}

which failed where the parquet physical type was string but the parquet logical type was NULL according to pythons' parquet-tools

Hi, running into a similar issue.
I have a set of files ~100 files 20million entries each.
All the fields are optional and so some of the files end of with a NULL type in fields that did not end up containing any value.
My struct type T is all *string fields. Where no values are present, my desired outcome is for those fields to be populated with a  or if that's not reasonable, default value e.g. empty string ""
	rf, _ := os.Open(filename)
	defer rf.Close()
	pf := parquet.NewReader(rf)
	fmt.Printf("pf.Schema().String(): %v\n", pf.Schema().String())
	for {
		entries := make([]T, 5)
	        // panic: cannot create dictionary from parquet NULL type
	        err := pf.Read(entries)
	        if err == io.EOF {
			break
		}
        }

 pf.Schema().String(): message schema {
    optional binary about (STRING);
    optional <?> event_customerid (NULL);
    optional <?> event_device (NULL);
.....
    optional <?> middle_user_userdisplayname (NULL);
    optional binary middle_user_userid (STRING);
    optional binary middle_user_windowssid (STRING);
 }


Add rerunSearchEditorSearch to Command Palette

VSCode Version: 1.43 Insiders
OS Version: Windows 10

Found while testing #91331
Tricky to find command to rerun the last Search Editor search. Putting it in the Command Palette would aid discovery.
For example, user mistakenly has focus in the Search editor text and starts pressing Enter or other characters to mess up result. Would be nice to rerun the current search via Command Palette or keyboard shortcut.

There is now a rerun editor action contribution in search editors and a rerun command in command pallet.


Suggestion to upgrade to common-pools 2.4.3

When a new version is released, would it be possible to bump the common-pools version to 2.4.3?

Resolved by #1685


Add missing AWS setup in README (issue #3)

Described setup in AWS console for key pair and hosted zone.
This setup is required to successfully create the stack.
Fixes #3.

@grubinic Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@grubinic Thank you for signing the Contributor License Agreement!


please provide accurate target build number

vertarget command outputs the following:
15: kd> vertarget
Windows 10 Kernel Version 18362 MP (16 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 18362.1.amd64fre.19h1_release.190318-1202
Machine Name:
Kernel base = 0xfffff8041b400000 PsLoadedModuleList = 0xfffff8041b843290
Debug session time: Tue Feb 11 14:13:03.503 2020 (UTC - 5:00)
System Uptime: 0 days 18:42:41.262
But the important detail, this system is 18362.30, as OS updates come, the build number changes, and that is important to discover the symbols needed.

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

ID: 6347d0e8-415b-b6fe-601b-03d6b024bb39
Version Independent ID: 755fe1ea-b16b-fd2a-443f-36f8754b6fc9
Content: vertarget (Show Target Computer Version) - Windows drivers
Content Source: windows-driver-docs-pr/debugger/vertarget--show-target-computer-version-.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

@kevinf28 - The type of information displayed in vertarget is different from what is display using "System" on the target PC. If you think the vertarget command should behave differently, you can provide product feedback using this the product feedback tool for the debugger.
http://aka.ms/dexex
The Feedback Hub allows customers to file and up vote product issues. The link automatically sets the product category to Debugging Tools for Windows.


official release of v3.1.1

to: @airbnb/streamalert-maintainers

Coverage remained the same at 95.428% when pulling 5b63c95434b7755495dadfe11abc3d21e999d828 on release-3-1-1 into fdb7b95990a066ef8e53f31014b6d841aed82bbd on master.

We aren't ever going to have these many back-to-back releases in quick succession ever again, are we?


Feature async

Fixes #9

[ ] Async tests
[ ] Fully implement everything as subclasses

Codecov Report

Merging #10 into master will decrease coverage by 27.59%.
The diff coverage is 69.08%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
- Coverage   99.25%   71.65%   -27.6%
==========================================
  Files           6        4       -2
  Lines         268      434     +166
  Branches       34       58      +24
==========================================
+ Hits          266      311      +45
- Misses          2      123     +121

Impacted Files
Coverage Δ

src/index.ts
100% <100%> (ø)
:arrow_up:

src/result.ts
100% <100%> (ø)
:arrow_up:

src/validator.ts
67.48% <68.73%> (-31.9%)
:arrow_down:

src/errors.ts
90.9% <0%> (-6.82%)
:arrow_down:

src/utils.ts

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 7d6f576...d3024bf. Read the comment docs.


Signed-off-by: abasitt<EMAIL_ADDRESS>

This will fix issue #45335. This issues happens only if there are secondary interfaces in the POD.
We are ignoring linklocal addresses for proxy mode detection (Singlestack or dual). There was a previous fixed done in PR#37164 that hardcoded ignoring IPv4 linklocal address for EKS and on top of that users have to exlude <IP_ADDRESS> so the init consider don't redirect IPv4 traffic to the proxy. This PR will streamline both proxymode and excluding the specific interface from iptables and there will be no need to specify <IP_ADDRESS> via range.
Recently we have another fixed which is more flexible and cleaner by ignoring the excluded interface. E.g. If primary interface is IPv6 and secondary interface is IPv4, user can decide below.

Install istio in singlestack mode and exclude IPv4 interface
Install istio in dualstack mode and don't exclude any interface

Since this is specific to multiple interfaces, its not easy to test on Kind. But if someone wants to try, I have a kind setup with multus here, i will be happy to clarify any questions.
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@abasitt: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
c5362fb3ebc2787b550598c9d40e50adc3b116b8
link
true
/test release-notes

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. I understand the commands that are listed here.

can you update the pr title

@abasitt: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
800e87c54ed092ce9ce9c31797f73c61c8807b1f
link
true
/test release-notes

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. I understand the commands that are listed here.

@abasitt: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
800e87c54ed092ce9ce9c31797f73c61c8807b1f
link
true
/test release-notes

integ-security-istiodremote_istio
800e87c54ed092ce9ce9c31797f73c61c8807b1f
link
true
/test integ-security-istiodremote

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. I understand the commands that are listed here.


Fix references to Cisco DevNet

Now that this repo has been migrated to the cisco-open org, we should update any references to Cisco DevNet.

Sure, some of the prose is anecdotal but dev rel will also suffice.

I believe these have all been removed.


Build failing for microchip's SAMR21 using ASF.

Hello guys!
I found the following bug while building openthread drivers for SAMR21.
Description
I am trying to build openthread drivers for Microchip's SAMR21_XPLAINED_PRO board. I followed the build instructions mentioned in the microchip platform folder:
Microchip_SAMR21
I encountered the following errors during the build:
Makefile:1283: recipe for target '../../../third_party/microchip/asf/thirdparty/wireless/avr2130_lwmesh/source/phy/at86rf233/src/libopenthread_samr21_a-phy.o' failed

To Reproduce
After setting up the environment, and running,
make -f examples/Makefile-samr21

gives me the following error:
Console/log output:
In file included from /home/thk3695/git/openthread/examples/../third_party/microchip/asf/thirdparty/CMSIS/Include/cmsis_compiler.h:48:0,
                 from /home/thk3695/git/openthread/examples/../third_party/microchip/asf/thirdparty/CMSIS/Include/core_cm0plus.h:115,
                 from /home/thk3695/git/openthread/examples/../third_party/microchip/asf/sam0/utils/cmsis/samr21/include/samr21g18a.h:223,
                 from /home/thk3695/git/openthread/examples/../third_party/microchip/asf/sam0/utils/cmsis/samr21/include/samr21.h:55,
                 from /home/thk3695/git/openthread/examples/../third_party/microchip/asf/sam0/utils/header_files/io.h:56,
                 from /home/thk3695/git/openthread/examples/../third_party/microchip/include/compiler.h:57,
                 from /home/thk3695/git/openthread/examples/../third_party/microchip/asf/thirdparty/wireless/services/trx_access/trx_access.h:58,
                 from /home/thk3695/git/openthread/examples/../examples/platforms/samr21/../../../third_party/microchip/asf/thirdparty/wireless/avr2130_lwmesh/source/phy/at86rf233/src/phy.c:41:
/home/thk3695/git/openthread/examples/../examples/platforms/samr21/../../../third_party/microchip/asf/thirdparty/wireless/avr2130_lwmesh/source/phy/at86rf233/src/phy.c: In function 'PHY_DataReq':
/home/thk3695/git/openthread/examples/../third_party/microchip/asf/thirdparty/CMSIS/Include/cmsis_gcc.h:41:50: error: expected expression before '__asm'
   #define __ASM                                  __asm
                                                  ^

Additional Info:
OS: Linux Ubuntu 18.04 LTS
Linux Version: 5.3.0-46-generic
ASF version: 3.48
arm-none-eabi-gcc version: 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]

@thk3695, please try using Advanced Software Framework v3.45 instead.

Thank you @jwhui , using ASF 3.45 helped.


Appstudio update test-component-pac-kpyy

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-kpyy-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
25 seconds
deprecated-base-image-check

✅ Succeeded
24 seconds
sanity-inspect-image

✅ Succeeded
48 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
15 seconds
show-summary

Pipelines as Code CI/test-component-pac-kpyy-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
13 seconds
clone-repository

✅ Succeeded
36 seconds
build-container

✅ Succeeded
18 seconds
deprecated-base-image-check

✅ Succeeded
15 seconds
sanity-inspect-image

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
39 seconds
clamav-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-kpyy-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
13 seconds
clone-repository

✅ Succeeded
36 seconds
build-container

✅ Succeeded
18 seconds
deprecated-base-image-check

✅ Succeeded
15 seconds
sanity-inspect-image

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
39 seconds
clamav-scan

✅ Succeeded
8 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary


Play/Pause doesn't work with EarPods

When MMKF is launched, if I'm using the pause button on Apple EarPods, it just rapidly pauses and then resumes the music.
The pause button on keyboard works fine.
Version 3.1.1 (build 1)
MacBook Pro 14 2021
MacOS Sonoma

Just tested on latest Sonoma with AirPods Pro everything works as expected. I recommend that you reinstall the app.

I am running latest version of macOS Sequoia (15.1.1) and still having this issue even after multiple restart.


Provide a single factory

Currently, different mechs are being produced in different factories. The registry can only accommodate one factory at a time. One could create a single factory that produces different mechs.

No longer relevant with marketplace design


Add styling for toll roads

Adds style definitions with a yellow hue for toll roads of all classes, from motorway to service.
Also removes "TOLL" banners from all route shields, as it would be implied by the distinct toll road styling.

Some exotic examples of non-freeway toll roads:

Thanks for working on this, Clay, and thanks for the map examples, Adam.  I've got a map by American Map (Arrow Inc) that uses red/green:

I guess the red here is almost more of a magenta. Regardless, probaby not the best choice with accessibility for colorblindness in mind.
Personally I much prefer the blue/green color scheme as it makes controlled access highways really stand out from the red lines used for lesser highways.  A while ago I posted in slack about a potential change to blue motorways I was trying out, but haven't had time to take it further yet.  I would still like to explore this if other maintainers are open to the idea.  Two road atlases I have (Rand McNally & Michelin) use thick green casing around a yellow (or maybe bright greenish yellow) center line.  This looks really nice to me and communicates the expressway styling very well.

However, if the consensus is to keep motorways red, then I can get behind a golden yellow or orange for toll expressways.  It looks like AAA uses a more of an orange and I think this works well for contrast with lighter background colors.
I'm not so sure about using a different style for lesser toll roads that aren't expressways.  Perhaps it could work, but I'd like to see some examples of other maps that do this.  It seems to to me that maps highlighting toll roads in a different style generally only do it for expressway level roads.

Looks good to me! I will say that removing the Toll banners from shields makes sense in the long run, but perhaps we should keep them until we actually have a key/legend for the map?

Looks good to me! I will say that removing the Toll banners from shields makes sense in the long run, but perhaps we should keep them until we actually have a key/legend for the map?

I'm not sure if the key/legend is a part of this style or an external component that would get built by someone integrating the style into a consumer-facing map.  Or if we need to create some kind of API that could get invoked by a style integrator to display a legend.  So this could be a significant effort to sort out, and may even be outside of our scope, so I wouldn't want to hold up our intended end design for lack of a key/legend.
To my American eyes, the colored toll roads scream "toll road" to me visually and I think I'd lean towards saying this coloring is sufficient to drop the toll banners.

However, if the consensus is to keep motorways red, then I can get behind a golden yellow or orange for toll expressways. It looks like AAA uses a more of an orange and I think this works well for contrast with lighter background colors.
I'm not so sure about using a different style for lesser toll roads that aren't expressways. Perhaps it could work, but I'd like to see some examples of other maps that do this. It seems to to me that maps highlighting toll roads in a different style generally only do it for expressway level roads.

I think it's valuable to show toll=* information on all roads at high zoom (>15). Though I can make a demo where non-expressway toll roads are undifferentiated at low zoom, and I'll try the blue and green color scheme with it as well.

At high zoom, my gut feel is that the mustard yellow (35% lightness) is too dark.  From experimenting with this, I think the floor for toll roads at high zoom should be 45%.  However, both toll and non-toll motorways use a common function motorwayFillColor, so some refactoring would be needed to change that zoom stop for toll roads but not for motorways generally.
Current high-zoom color:

Fixes #206

Current version
Version with toll roads primary and lower undifferentiated at low zoom
As 2), but with a blue and green color scheme

I'm annoyed that the east-west toll section of I-635 is an accurate rendering of reality.

Here's how they look as a separate layer:

The toll express lanes on I-635 enter a tunnel underneath the mainlanes in this example, and we would not want to show a tunnel above a surface feature. I think the guidance that toll roads show up above free roads is applicable when the two roads are on the same layer.
In general, toll express lanes like the ones on I-635 are highways where I'd personally rather suppress the toll styling until high zoom, effectively a reversal of the rendering order. Obviously this conflicts with the need we have for highlighting tolls in cases where a road is tolled in one direction, which I think takes precedence.
With that limitation in mind, I think red and yellow blend together better while still highlighting the distinction at low zoom. The green overpowers the blue quite a bit, and it makes it hard to tell this isn't just one road with a weird blue casing:

before:

after:

This look awesome!
Newport Bridge (RI):

Texas:

Naples Tangenziale

Switzerland

There seems to be a lot of other refactor stuff in here, especially with regard to colors, can you confirm that's intended and not bleeding over from other work?

Ope. I moved the shield colors to the color constants file but that was intended for another branch :facepalm:
Does it matter a huge deal, or is the PR okay as-is?

Yep seems ok to me.


:repeat on Sequence not working

I tried to use repeat on Sequence:
<Sequence :repeat="8">
and got this error in console:
Uncaught DOMException: Failed to execute 'start' on 'AudioScheduledSourceNode': cannot call start more than once.
    at T (webpack-internal:///./node_modules/blackswan-js/dist/blackswan.js:1:6064)
    at Object.Play (webpack-internal:///./node_modules/blackswan-js/dist/blackswan.js:1:6416)
    at M (webpack-internal:///./node_modules/blackswan-js/dist/blackswan.js:1:6649)
    at Object.play (webpack-internal:///./node_modules/blackswan-js/dist/blackswan.js:1:6768)
    at VueComponent.togglePlay (eval at ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"/Users/fmalik/workspaces/tmp/viano/Viano/node_modules/.cache/cache-loader"}!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/Song.vue (http://localhost:8080/app.js:847:1), <anonymous>:50:19)
    at click (eval at ./node_modules/vue-loader/lib/template-compiler/index.js?{"id":"data-v-319a0ec5","hasScoped":true,"optionsId":"0","buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Song.vue (http://localhost:8080/app.js:1685:1), <anonymous>:14:17)
    at invoker (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2022:18)
    at HTMLDivElement.fn._withTask.fn._withTask (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:1821:18)

Thanks for reporting that! I have a theory about why that would happen. I'll look into it.

Okay, just committed a fix for that. You can pull latest and let me know if you still have trouble. In the meantime, I'll close this issue. Thanks again.