How to find a given node within a hierarchy/layout?

Back in d3 3.x, d3 would populate my nodes with hierarchical/layout data (fields like parent, x, y).
Therefore, if I had a rootNode, and an otherNode that was reachable from rootNode, I could access otherNode.parent, otherNode.x, etc.
With d3 4.x, d3 creates a hierarchyRootNode which contains the field parent, and whose data field contains my rootNode. Similarly, were I to search for it from hierarchyRootNode, I could find another hierarchy node whose data field points to my otherNode.
My question is: is there an existing way of obtaining that node? That is, given a data node, how can I best obtain its hierarchy container?
I am currently doing an inefficient:
const hierarchyOtherNode = hierarchyRootNode.descendants().find(d => d.data.id === otherNode.id)
Is there a simpler way to get around this?

This is an open-ended question as there are lots of ways to solve this problem. Two options immediately come to mind.
One option is that wherever your code currently has data nodes, change that code so that it has hierarchy nodes. If you always have hierarchy nodes, you can use hierarchy.parent and hierarchy.children to search, and you never need to map from a data node to a hierarchy node.
Another option would be to add bidirectional links from the data nodes to the containing hierarchy nodes. There’s already hierarchy.data to link from hierarchy to data, but you can iterate over the hierarchy and add a back-link:
root.each(function(node) {
  node.data.node = node;
});

This approach assumes there is a 1-to-1 relationship between the data and the hierarchy, which is probably the case, but isn’t required. (As in, this approach precludes you from using the same data to generate multiple hierarchical visualizations that share the same data object.)
A third approach would be to create a Map that explicitly maps from data to hierarchy. That way if you want multiple hierarchys you can have multiple maps.
If you want more assistance, please use Stack Overflow tag d3.js to ask for help. Although I make an effort to assist everyone that asks, I am not always available to provide help promptly or directly. Stack Overflow provides a better collaborative forum for self-help: tens of thousands of D3-related questions have already been asked there, and some answered questions may be relevant to you.
When asking for help, please include a link to a live example that demonstrates the issue, preferably on bl.ocks.org. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗

I would like to avoid creating a new issue for this, so I post my question here.
I wonder if there is a possibility to create the back-links/mapping on-the-fly when calling d3.hierarchy , d3.stratify() so I don't need to traverse the tree 2.nd time
root.each(function(node) {
...
});

Background: I would like to create a id -> hierarchy node look-up table os I can access nodes instantly.


Optimize webpack by setting sideEffects to false

This allows webpack 4 to optimize the bundle by only importing the used modules instead of everything.
(Admittedly I didn't read all of the source code so I don't know whether there is some module which does have side effects)
Webpack documentation
Webpack example

Thanks


ISPN-11054 Fail if we cannot recursively delete a directory during tests

https://issues.redhat.com/browse/ISPN-11054

@danberindei I repushed the commit without the formatting changes and I've also created a Jira

Thanks @tristantarrant


Upgrade Swagger 2.2.18 -> 2.2.19

This PR contains the following updates:

Package
Type
Update
Change

Swagger
compile
patch
2.2.18 -> 2.2.19

Release Notes

swagger-api/swagger-core (Swagger)
v2.2.19: Swagger-core 2.2.19 released!
Compare Source

give precedence to requiredMode annotation (#4533)
update dependencies (#4521)
Bump org.apache.maven.plugins:maven-source-plugin from 3.2.1 to 3.3.0 (#4513)
add deps update CI (#4509)

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade Swagger 2.2.18 -> 2.2.19

See:
- https://github.com/swagger-api/swagger-core/releases/tag/v2.2.19
- https://github.com/swagger-api/swagger-core/compare/v2.2.18...v2.2.19


Inconsistency between QtPluginTable and list_plugin_metadata

🐛 Bug
When napari try to get metadata of installed plugins it ignores values which cannot be read:
https://github.com/napari/napari-plugin-engine/blob/bf7ec61a06eb7d2765c7cd68915187e2c4a4222f/napari_plugin_engine/manager.py#L801-L806
        for caller in self._plugin2hookcallers[plugin]:
            try:
                impl = caller.get_plugin_implementation(plugin_name)
                hooks.append(impl.specname)
            except KeyError:
                pass

But when adding data to the table in QtPluginTable it requires all headers visible:
https://github.com/napari/napari/blob/b576203c58fc71d06460811a6a0eff8fb7191061/napari/_qt/widgets/qt_dict_table.py#L85-L92
and
https://github.com/napari/napari/blob/b576203c58fc71d06460811a6a0eff8fb7191061/napari/_qt/dialogs/qt_plugin_table.py#L25-L37
This creates a problem when some of the metadata cannot be read.
In my case, my application PartSeg is frozen using Pyinstaller. Pyinstaller does not keep package metadata so i need to manually call register method of plugin manager:
https://github.com/4DNucleome/PartSeg/blob/dc5ce1aeac80018f1e78dc49d7fa559090d52ce9/package/PartSeg/plugins/__init__.py#L29
But this way plugin manager cannot get all data and trying of see plugin list ends with
ValueError: Argument 'headers' got item 'package', which was not found in any of the items in 'data'
  File "site-packages/napari/_qt/qt_main_window.py", line 294, in _show_plugin_list
  File "site-packages/napari/_qt/dialogs/qt_plugin_table.py", line 36, in __init__
  File "site-packages/napari/_qt/widgets/qt_dict_table.py", line 60, in __init__
  File "site-packages/napari/_qt/widgets/qt_dict_table.py", line 89, in set_data

where variable values are:
_headers | ['hooks', 'plugin_name']
-- | --
data | [{hooks: ['napari_get_writer', 'napari_write_image', 'napari_write_labels', 'napari_write_points', 'napari_write_shapes', 'napari_write_vectors'], plugin_name: 'napari_svg'}, {hooks: ['napari_get_reader'], plugin_name: 'PartSegCore.napari_plugins.load_image'}, {hooks: ['napari_get_reader'], plugin_name: 'PartSegCore.napari_plugins.load_mask_project'}, {hooks: ['napari_get_reader'], plugin_name: 'PartSegCore.napari_plugins.load_masked_image'}, {hooks: ['napari_get_reader'], plugin_name: 'PartSegCore.napari_plugins.load_roi_project'}, {hooks: [], plugin_name: 'napari_plugin_engine'}]
h | 'package'
headers | ['plugin_name', 'package', 'version', 'url', [Filtered], 'license']
nrows | 6

To Reproduce
Steps to reproduce the behavior:

Download bundled application https://github.com/4DNucleome/PartSeg/releases/tag/v0.12.0
Open: View > Napari viewer
Open: Plugins > List installed plugins

Additional context
Current release of Breifcase does not allow to bundle my application. My PR fixing problem with the upper case letter in name of application was merged, but there is no new release after this.

QtPluginTable would be removed/superceded by #1357

This has been closed by #1357


Encoding should be utf-8 by default on Unix

Or else you'll find people stumped. Most don't understand encoding but assume utf-8 is being used.

Welcome to main discussion https://github.com/PowerShell/PowerShell-RFC/issues/71!
Also you can find multiple related Issues and PRs in the PowerShell Core Repo.

For what it's worth, I googled powershell out-file default encoding before creating this...

It is better to use internal GitHub search.


ASB-1297: Documents page filter tab focus accessibility behaviour

Task
https://pins-ds.atlassian.net/browse/ASB-1297?atlOrigin=eyJpIjoiMWRkYzBjZTRhZmQwNGI1Yzg1YzQyNzkxMWIyMWRjMzkiLCJwIjoiaiJ9

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


Can a page support both Sign in With Google button and One Tap.

Sorry, during the migration process, it was found that a page cannot have Sign in With Google button and One Tap. I'm not sure if it's my usage issue, but would you like to ask if we can support simultaneous existence on one page? Thanks

How to add custom events when using  Sign in With Google button

The first time the page displays One Tap, it will not be displayed when the current page is refreshed. If the same tab page is opened, One Tap will appear


CUxD Support

Does anyone want this? I don't need it.

I use CUL for uniroll blinds only - cul2mqtt with less hardcoded configuration would be nice :-).

Yes, I want this do direct connect Wemos to CUxD device by using MQTT :-)

I would love to have that!

Would be awesome to have CUxD support, could have my heating on mqtt! :+1:


Replace mul + add with shl + sub

What do these changes do?
This replaces the multiplication and addition in the back transformation with a left shift and a sub. Which in theory might be faster and will free up one register. This can be done since the accumulator will always be positive.
How Has This Been Tested?
CI tests and benchmarking
Benchmark Results
I benchmarked this on a Pixel 1 with QuickNet and the speed difference is within the run variation which I think is not surprising.

Benchmark Results
I benchmarked this on a Pixel 1 with QuickNet and the speed difference is within the run variation which I think is not surprising.

by this you mean you didn't observe any speedup?

by this you mean you didn't observe any speedup?

I saw some speedups but they were well within the standard deviation of the different runs so I can't claim a true performance improvement here. This might be more noticable on the different on the Raspberry PI or when benchmarking the kernels itself.

by this you mean you didn't observe any speedup?

I saw some speedups but they were well within the standard deviation of the different runs so I can't claim a true performance improvement here. This might be more noticable on the Raspberry PI or when benchmarking the kernels itself.

can you also report the benchmark results in RPi? I don't see a value in changing the code which has the same functionality, do not improve the performance and IMO less readable.

I don't see a value in changing the current code to something which has the same functionality, do not improve the performance and IMO is less readable.

I fully agree :+1:
I benchmarked this a bit more carefully on my old personal Pixel phone with more iterations:
Master
count=500 first=26260 curr=26319 min=25725 max=27017 avg=26176.2 std=220

PR
count=500 first=25777 curr=25548 min=25293 max=26716 avg=25751.9 std=242

From this testing the speed difference of 0.42 ms is above one sigma so I think this can count as a true improvement.


Add integration for PowerDNS/pdns

pdns is an open source DNS server that allows programmatic control over DNS records. It can be used to implement "Dynamic" DNS for kubernetes clusters deployed on bare-metal or on-prem. Having pdns integration would make external-dns useful for non-cloud Kubernetes deployments as well.

Issue closed by PR #373


Set-DbaAgentOperator - Fix usage of parameter Operator

Type of Change

[X] Bug fix (non-breaking change, fixes #7730 )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Unit test is included
[ ] Documentation
[ ] Build system

Purpose

Fix the fact this was updating all the the operators instead of just the ones specified.

Approach

Commands to test

Set-DbaAgentOperator -SQLInstance . -Operator DBA -EmailAddress<EMAIL_ADDRESS>Set-DbaAgentOperator -SQLInstance . -Operator DBA, DBA2 -EmailAddress<EMAIL_ADDRESS>

Screenshots

Learning

We use the PR title for generating change log content now, please update the title to be more clear. As well, please link the issue this PR is related to or fixing so it will be closed properly.

🎈


Best way to vizualise segmentation in 3D?

Hello again,
I'm struggling with visualization of the StarDist3D results.
I would like to export the segmentations to 3D slicer and ideally give a specific color to each cell (based on some metrics I can compute based on rays, dists and points). I can't find the best way to do this, could any one share some useful links?
I could create a dicom file by altering the corresponding pixels myself, but since my 3D images are black and white this would force me to switch to RGB and create huge files.
What would be the best option?
Thank you very much

Hi, this is really a generic question and the answer will highly depend on your tool of choice (Fiji, napari, etc.). Hence, it would be best to ask this in the image.sc forum. Note that we are monitoring all questions that use the tag stardist.
Best,
Uwe

thank you, I'll do that then!


Problem about visulizing the predict result

After training the model on custom dataset, we want to visualize the predict result with trained weight. However,  when use v.draw_panoptic_seg_predictions , the argument segments_info is not directly result from Panoptic-Deeplab prediction, the latter results contains three keys ['sem_seg', 'panoptic_seg', 'instances'], so we have no clue where the segements_info come from, is there any visulization tutorial we could follow?

You can pass panoptic_seg and set segments_info to None.


DDCE-2733 - Migrate from reactive mongo to hmrc mongo

@ina-tu fixed comments and reverted play-frontend-hmrc to avoid ui bugs


Can't deploy catalog templates that have no config options

Rancher versions: 5/22
Steps to Reproduce:

Try to deploy catalog template that has no config options

Results: No launch button

There is a Error showing up for these as well: ember.debug.js:18023 TypeError: Cannot read property 'get' of undefined

version: 5/30
verified fixed


example-dapp: update per token interface changes

What ?
Update example dapp to use the updated token interface.
Epic
https://github.com/stellar/soroban-tools/issues/519

This ticket requires updating https://github.com/stellar/soroban-example-dapp/blob/main/contracts/crowdfund/src/lib.rs with the new token spec (and updating the corresponding function calls to their new names)

And it may also:

require bumping the Rust SDK to an unreleased version (with the new token contract changes and a new soroban_sdk::contractimport)
bump core/QuickStart to a newer version supporting the new token interface

For all the above, we can use https://github.com/stellar/soroban-tools/pull/611 as a reference

closing as done, updates were merged in #105


feat: List for specific price setup at Enhancer

Prerequisites

[X] I have searched for existing issues that already include this feature request, without success.

Describe the Feature Request
I would like to have a function that instead of list for Futbin price percent, I can set a fixed listing price.
Describe the Use Case
I would like to have a function that instead of list for Futbin price percent, I can set a fixed listing price.
Describe Preferred Solution
No response
Describe Alternatives
No response
Additional Information
No response

You can use Sell Price settings in Sell Settings tab, to give a fixed sale price

This does not work though for items that are moved to club, are unassigned or on the transferlist.

This does not work though for items that are moved to club, are unassigned or on the transferlist.

I thought this was about Auto-buyer.


fix validate_coinbase

[x] issue #86
[x] follows contribution guide
[x] code change includes tests

It was intended to add the outputs to the utreexoset, but this no longer seems the best place.


Crash when waking from dpms sleep

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch main at commit 883463f9dd7f1cdc68c3e32017c0a71ccbe39b26  (animations: add workspace in/out configs).
Date: Wed Aug 21 08:38:07 2024
Tag: v0.42.0-50-g883463f9, commits: 5119

flags: (if any)

System Information:
System name: Linux
Node name: blkheart
Release: 6.10.6-1-cachyos-eevdf
Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 21:40:51 +0000

GPU information:
0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c0) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
  hypreasymotion by Zakk ver 1.0
  Workspace layouts by Zakk ver 1.0
  hyprsplit by shezdy ver 1.0
  XWayland Primary Display by Zakk ver 1.0
  N_Stack layout by Zakk ver 1.0

======Config-Start======

Config File: /home/zakk/.config/hypr/hyprland.conf: Read Succeeded

#
# Please note not all available settings / options are set here.
# For a full list, see the wiki (basic and advanced configuring)
#

#monitor=,preferred,auto,1

source=~/.config/hypr/config.d/environment.conf
source=~/.config/hypr/config.d/vars.conf

#exec-once = $HOME/.local/share/hyprland/bin/load_plugins.sh
exec-once = /home/zakk/proj/Hyprland/build/hyprpm/hyprpm reload -n -v > /tmp/hyprpm.wtf
monitor=desc:Dell Inc. DELL U2414H R9F1P45A34CL,preferred,0x0,1
monitor=desc:LG Electronics LG ULTRAGEAR 008NTCZET747,3440x1440@160,1920x0,1
monitor=desc:Dell Inc. DELL U2414H R9F1P45D5L8L,preferred,5360x0,1
monitor=HDMI-A-1,preferred,7280x0,1
#monitor=HDMI-A-1,3840x2160@60,7280x0,2
monitor=WL-1,preferred,0x0,1

input {
    kb_file=
    kb_layout=
    kb_variant=
    kb_model=
    kb_options=
    kb_rules=
    repeat_rate=50
    repeat_delay=300

    follow_mouse=1

    touchpad {
        natural_scroll=no
    }

    sensitivity=0 # -1.0 - 1.0, 0 means no modification.

}

cursor {
		no_hardware_cursors = false
    no_break_fs_vrr = true
}

general {
    gaps_in=8
    gaps_out=20
    border_size=2
    col.active_border=rgb(a6e3a1)
    #col.active_border=0x66ee1111
    col.inactive_border=rgb(40a02b)
    layout=workspacelayout
    resize_on_border=true
    hover_icon_on_border=false
		allow_tearing = true

    apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)

    #damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
}

render {
  direct_scanout=false
}

decoration {
    dim_special=0
    rounding=0
		active_opacity = 1.0
		inactive_opacity = 1.0
		fullscreen_opacity = 1.0
		drop_shadow = true
		shadow_range = 30
		shadow_render_power = 3
		col.shadow = 0x66000000
		blur {
			enabled = true
			size = 6
			passes = 2
			ignore_opacity = true
			xray = false
		}
}

animations {
    enabled=0
    animation=fadeOut,1,5000,default
    animation=border,1,10,default
    animation=workspaces,1,6,default
}

dwindle {
    pseudotile=0 # enable pseudotiling on dwindle
}
master {
	no_gaps_when_only=false
	new_on_top=true
	orientation=top
	always_center_master=true
  inherit_fullscreen=false
}

gestures {
    workspace_swipe=no
}

misc {

	vfr=true
	vrr=0
	disable_hyprland_logo=true
	animate_mouse_windowdragging=false
	animate_manual_resizes=false
  focus_on_activate=false
}

#workspace=m[desc:Dell Inc. DELL U2414H R9F1P45A34CL],layoutopt:nstack-stacks:2,layoutopt:nstack-single_mfact:0.9
#workspace=m[desc:Dell Inc. DELL U2414H R9F1P45D5L8L],layoutopt:nstack-stacks:2,layoutopt:nstack-single_mfact:0.9
workspace=m[DP-4],layoutopt:nstack-stacks:2,layoutopt:nstack-single_mfact:0.9
workspace=m[DP-6],layoutopt:nstack-stacks:2,layoutopt:nstack-single_mfact:0.9
#workspace=d[w<=1920],layoutopt:nstack-stacks:2,layoutopt:nstack-single_mfact:0.9

# example window rules
# for windows named/classed as abc and xyz
#windowrule=move 69 420,abc
#windowrule=size 420 69,abc
#windowrule=tile,xyz
#windowrule=float,abc
#windowrule=pseudo,abc
#windowrule=monitor 0,xyz
#windowrulev2 = forceinput,xwayland:1
#windowrulev2 = idleinhibit fullscreen,class:^.*$
#windowrule = nofullscreenrequest, ^.*$
#
windowrulev2 = float,class:^awakened-poe-trade$
windowrulev2 = noblur,class:^awakened-poe-trade$
#windowrulev2 = nofocus, class:^awakened-poe-trade$

#windowrulev2 = immediate,class:steam_app_1364760
#windowrulev2 = immediate,fullscreen:1
#windowrulev2 = stayfocused, title:^(.*)$,class:^(steam)$
#windowrulev2 = minsize 1 1, title:^(.*)$,class:^(steam)$
#

windowrulev2 = suppressevent activatefocus,initialClass:^(steam)$
submap=__easymotionsubmap__
bind=SUPER,z,exec,hyprctl dispatch easymotionexit
submap=reset

# some nice mouse binds
bindm=SUPER,mouse:272,movewindow
bindm=SUPER,mouse:273,resizewindow

# example binds
bind=SUPER,RETURN,exec,$terminal
bind=SUPER,W,killactive,
bind=SUPER_SHIFT,SPACE,togglefloating,
bind=SUPER,SPACE,exec,rofi -show drun -log /tmp/rofi.log
bind=SUPER,P,pseudo,
bind=SUPER,F,fullscreen,0
bind=SUPER_SHIFT,F,fullscreen,1

bind=SUPER,h,movefocus,l
bind=SUPER,l,movefocus,r
bind=SUPER,k,movefocus,u
bind=SUPER,j,movefocus,d
bind=SUPER_SHIFT,h,movewindow,l
bind=SUPER_SHIFT,l,movewindow,r
bind=SUPER_SHIFT,k,movewindow,u
bind=SUPER_SHIFT,j,movewindow,d
bind=SUPER_SHIFT,e,exec,wlogout -b 2 --protocol layer-shell
bind=SUPER,delete,layoutmsg,orientationnext
bind=SUPER_SHIFT,RETURN,layoutmsg,swapwithmaster
bind=SUPER,s,exec,$HOME/.config/hypr/scripts/scratchpad_show_or_create.sh 'wez_scratch' 'wezterm start --class wez_scratch'

bind=,Print,exec,/usr/bin/grimblast --notify copysave output
bind=SUPER,Print,exec,/usr/bin/grimblast --notify copy area
bind=SUPER_SHIFT,Print,exec,/usr/bin/grimshot --notify copysave area
bind=CTRL,Print,exec,killall -SIGUSR1 gpu-screen-recorder
#bind=SUPER_ALT,l,exec,/home/zakk/hyprlayout.sh
bind = SUPER,PAUSE,pass,^(com\.obsproject\.Studio)$
bind=ALT_CTRL,right,cyclenext
bind=ALT_CTRL,right,alterzorder,top
bind=ALT_CTRL,left,cyclenext,prev
bind=ALT_CTRL,left,alterzorder,top
bind=SUPER,z,easymotion,action:hyprctl dispatch focuswindow address:{}

source=~/.config/hypr/config.d/systemd-session.conf
source=~/.config/hypr/config.d/workspaces.conf
source=~/.config/hypr/config.d/floating.conf

debug {
	suppress_errors=true
	disable_logs=false
	enable_stdout_logs=true
}

plugin {
  easymotion {
	  textsize = 100
		rounding = 10
	}
  hyprwinwrap {
	  class=awakened-poe-trade
	}
	wslayout {
		default_layout=nstack
		layouts=nstack monocle
	}
  xwaylandprimary {
    display=DP-1
 }
  nstack {
    layout {
      mfact=0.0
      new_on_top=true
      center_single_master=true
      stacks=3
    }
  }
    hyprbars {
        # example config
        bar_height = 20

        # example buttons (R -> L)
        # hyprbars-button = color, size, on-click
        hyprbars-button = rgb(ff4040), 10, 󰖭, hyprctl dispatch killactive
        hyprbars-button = rgb(eeee11), 10, , hyprctl dispatch fullscreen 1
    }
}

xwayland {
	force_zero_scaling = true
}

Config File: /home/zakk/.config/hypr/config.d/environment.conf: Read Succeeded
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = MOZ_ENABLE_WAYLAND,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_QPA_PLATFORMTHEME,qt5ct
env = SDL_VIDEODRIVER,wayland
env = _JAVA_AWT_WM_NONEREPARENTING,1
env = CLUTTER_BACKEND,wayland
env = GDK_BACKEND,wayland,x11
#env = AQ_NO_ATOMIC,1

Config File: /home/zakk/.config/hypr/config.d/vars.conf: Read Succeeded
$terminal = "kitty"
$filemanager = "thunar"

Config File: /home/zakk/.config/hypr/config.d/systemd-session.conf: Read Succeeded
exec-once=~/.config/hypr/scripts/session.sh --add-env HYPRLAND_INSTANCE_SIGNATURE

Config File: /home/zakk/.config/hypr/config.d/workspaces.conf: Read Succeeded
bind=SUPER,1,split:workspace,1
bind=SUPER,2,split:workspace,2
bind=SUPER,3,split:workspace,3
bind=SUPER,4,split:workspace,4
bind=SUPER,5,split:workspace,5
bind=SUPER,6,split:workspace,6
bind=SUPER,7,split:workspace,7
bind=SUPER,8,split:workspace,8
bind=SUPER,9,split:workspace,9
bind=SUPER,0,split:workspace,10
bind=SUPER_SHIFT,1,split:movetoworkspace,1
bind=SUPER_SHIFT,2,split:movetoworkspace,2
bind=SUPER_SHIFT,3,split:movetoworkspace,3
bind=SUPER_SHIFT,4,split:movetoworkspace,4
bind=SUPER_SHIFT,5,split:movetoworkspace,5
bind=SUPER_SHIFT,6,split:movetoworkspace,6
bind=SUPER_SHIFT,7,split:movetoworkspace,7
bind=SUPER_SHIFT,8,split:movetoworkspace,8
bind=SUPER_SHIFT,9,split:movetoworkspace,9
bind=SUPER_SHIFT,0,split:movetoworkspace,10
bind=SUPER,e,togglespecialworkspace,file

bind=SUPER,F1,focusmonitor,DP-4
bind=SUPER,F2,focusmonitor,DP-1
bind=SUPER,F3,focusmonitor,DP-6
bind=SUPER,F5,focusmonitor,HDMI-A-1
bind=SUPER_SHIFT,F1,movewindow,mon:DP-4
bind=SUPER_SHIFT,F2,movewindow,mon:DP-1
bind=SUPER_SHIFT,F3,movewindow,mon:DP-6
bind=SUPER_SHIFT,F5,movewindow,mon:HDMI-A-1

workspace=special:file,on-created-empty:$filemanager

Config File: /home/zakk/.config/hypr/config.d/floating.conf: Read Succeeded
windowrulev2 = float,class:^(pavucontrol)$
windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = float,class:^(nm-openconnect-auth-dialog)$

windowrulev2 = opacity 0.0 override 0.0 override,initialTitle:^(Wine System Tray)$
windowrulev2 = noanim,initialTitle:^(Wine System Tray)$
windowrulev2 = noinitialfocus,initialTitle:^(Wine System Tray)$
windowrulev2 = maxsize 1 1,initialTitle:^(Wine System Tray)$
windowrulev2 = noblur,initialTitle:^(Wine System Tray)$

======Config-End========

Description
Crash when waking up from dpms sleep invoked from hypridle (hyprctl dispatch dpms off).
How to reproduce
Just let hypridle sleep the display(s). Then wiggle the mouse to wake up. It seems to not happen if you do it immediately after sleep (maybe one of the monitors isn't fully slept yet...?).
It looks like it only happens with software cursors. I switched to hardware cursors and it seems ok so far.
Ignore loaded plugins, issue happens without them and crash report etc is from an instance without any plugins loaded.
I'll try to bisect sometime tomorrow when I have more time
Crash reports, logs, images, videos
hyprlandCrashReport28287.txt

update, iirc fixed if not dupe

Happens on latest -git, including latest git of AQ, hyprcursor, hyprutils.
I just wasted a ton of time trying to bisect this and either I didn't go back far enough (0.42!) or it's some combo of aq/cursor versions. Also annoying because you have to wait some amount of time after the lock to trigger the crash. Why I have no idea.
Looking at the debug crash dump it looks like it requires no_break_fs_vrr enabled along with software cursors.
#7  0x00005a3713e45554 in CMonitor::shouldSkipScheduleFrameOnMouseEvent (this=0x5a372e1ae6c0) at /home/zakk/proj/Hyprland/src/helpers/Monitor.cpp:377
377	       *PNOBREAK && output->state->state().adaptiveSync && activeWorkspace && activeWorkspace->m_bHasFullscreenWindow && activeWorkspace->m_efFullscreenMode == FSMODE_FULLSCREEN;
(gdb) p output
$1 = {impl_ = 0x0}

that seems not good

that is not good and should not happen

Still a thing in 0.43.
managed to actually bisect: 511eea71c60e10f3d3d757a376f1ca98b9034ae0
Although I'm not sure that bisect makes any sense given the crash backtrace?

doesnt

patch.txt
but try thius

The change does fix it, but I'm seeing a similar one when waking up with a screen capture active. Same thing, pMonitor->output with impl_ = 0x0
hyprlandCrashReport65898.txt
I'm still trying to figure out exactly how to recreate it: It seems more likely if I wake up more than one monitor simultaneously.
2960	   return pMonitor->output->state->state().drmFormat;
(gdb) p pMonitor->output
$1 = {impl_ = 0x0}


Changes to work with Polygon

please, could you help me telling me what changes need to be made for this code to work with Polygon, thanks

Hi @cristiane13091991,
Please read carefully the instructions given when opening discussions or issues.
Im sorry but this is an invalid bug report.


Styling issue w/ Show/Hide Items menu on Firefox

On Firefox, the Show/Hide Items menu displays as follows:

Confirmed.


[5.1][ConstraintSystem] trySimplifyToExpr shouldn't rely on locator bein…

…g always anchored

Explanation:

If constraint system is used as part of the declaration checker to
e.g. verify generic requirements for a witness, locators are not going
to have an anchor.

Issue: rdar://problem/50987089

Scope: Diagnostics, when declaration checker validates generic requirements.

Risk: Very Low.

Testing: Added compiler regression tests.

Reviewed by: @DougGregor

Resolves: SR-10728
Resolves: rdar://problem/50987089
(cherry picked from commit ae5cce4a6adc55d7fb1dc20bf5e50c16df3e300f)

@swift-ci please test

@swift-ci please test macOS platform


feat: https://spandigital.atlassian.net/browse/PRSDM-6701 - update styling for presidium content page sizes

feat: https://spandigital.atlassian.net/browse/PRSDM-6701 - update styling for presidium content page sizes

@mpilo-khathwane I've approved and merged in to finish up on my tickets


Case durations aren't showing in Azure

The duration property of a test-case is being correctly created, but the results in Azure Pipelines are showing as 00:00:00.000.
The documentation says "The duration of the test in seconds, expressed as a real number."
Example output
duration="0.002243"

I think the number being produced is too small?


Publish the 4.0 Simplified Chinese translations

Refer to email threads. These licenses are staged and have gone through final checklists. @georgehari @sarahpearson @TimidRobot @kgodey
Because of Summit and office closings, this can happen week of May 20th or thereafter depending on other priorities. Watch for news on Traditional Chinese, separately.

OK, got it! @TimidRobot let's go live with these, when you get back.

@sarahpearson Please move this forward for publication.

Pull request submitted: https://github.com/creativecommons/creativecommons.org/pull/1058


[Feature Request] Separate tab layout in ffa and other gamemodes

Hi!
Ive tested your addon, ad have some ideas to improve.

Tab wont make space between prefix and name. (Screenshot)
Tab does not know how to distinguish duel and FFA, and this is important, because its different battles.
Please, add Suffix with Placeholder support,

Thanks!

The way to support prefix space and suffix stuff is already a feature request mentioned in #11 im not sure what do you mean by number 2 though

is intentional, you can add the space in the prefix
is duplicate of #11

1 and 3 have been implemented

is not planned


Patch release after merging #100 and #101?

@huard and I were wondering if it would be possible to tag a patch release after integrating #100 and #101? It would be incredibly helpful in advancing some work in https://github.com/bird-house/finch.

@ellesmith88: please incorporate PR #103 into the next release.

@ellesmith88: please incorporate PR #103 into the next release.

@Zeitsperre @huard Yes - I'll do this

@Zeitsperre @huard Yes - I'll do this

v0.5.1 release

v0.5.1 release

Thanks !

Thanks !


Add default validator staking reward VP

the default staking reward VP should allow re-distribution of rewards to delegators
┆Issue is synchronized with this Asana task by Unito

this is no longer relevant - the new staking rewards spec (https://specs.anoma.net/master/architecture/economics/proof-of-stake/reward-distribution.html) is designed so that rewards are auto-bonded


Remove monsters

Done with complains

What complaints? I haven't said anything since I stepped back before today and today I just warned the authors the monsters no longer worked, which they would have told you themselves as soon as they tested the monsters. I just saved people any wasted time.
If you had listened to the concerns that I shared over the last few months, this whole issue would have been avoided. It would also have been avoided if you had done literally nothing and left the code as is.
I explained in pr #947  how changing the names would break the AI , and that's exactly what happened in your standarization PR. Instead of listening ye called my accurate predictions silly. I think that doesn't hold up considering the monsters ai is now broken in the way I said it would be broken.
Instead of removing a feature from a community mod that others want to use because you are annoyed you could just revert the changes to the functional code and let people use the monsters as they want.


Basic Search UI

To speed up the process with the entire AI search feature (and as per @FlyersPh9's suggestion), I will create smaller PRs from time to time. These PRs will be to the search-docs feature branch. When the entire feature is ready, we can merge the search-docs branch with main/dev.
This first PR is just with a very basic UI. One of the next PRs will improve this UI, and also make it reactive to the screen size.
Video30.webm
Changes

A new search button in the header of the docs website. Clicking it opens the SearchModal
SearchModal is a Modal that has an Input and also a <ReactMarkdown> to display the answer to the question.

Testing

Basic manual testing of whether the SearchModal opens when the search button in the header of the website is clicked.
Docs

N/A

two suggestions:

The chatbot is not equivalent to search, so it would be better not to use the search icon. Instead it could be a text button that says something like "AI chat".
We try to avoid using iTwinUI components on the website because it has its own design language, so a custom dialog should be created instead. I can help you with the CSS if you want to pair sometime.

two suggestions:

The chatbot is not equivalent to search, so it would be better not to use the search icon. Instead it could be a text button that says something like "AI chat".

Sounds good, will make this change.

We try to avoid using iTwinUI components on the website because it has its own design language, so a custom dialog should be created instead. I can help you with the CSS if you want to pair sometime.

Thanks! Yes, would be great if you can guide me in the right direction, if you have time.

Going to merge this into search-docs.
Thanks @rohan-kadkol. Looking forward to your next PR.

Going to merge this into search-docs.
Thanks @rohan-kadkol. Looking forward to your next PR.

Thanks for that, and also thanks for your help with the CSS styling!
I hope to have a few more PRs this week.


V3 : core package does not support ES6 JSCAD designs

Expected Behavior
New designs with use the ES6-based packages (V3+) are supported. This includes both single file designs as well as projects with several components.
Actual Behavior
Fails
Steps to Reproduce the Problem

Convert simple design to use ES6 import / exports
Use CLI to convert design to STL, etc.
BIG FAILURE

Specifications

Version:
Platform:
Environment: (browser, local server, node.js etc)

One option for cli to work would be to have a cmdline option to say if it is es6 script that needs to run, or "old" .

I am piggybacking on this issue for now to raise awareness of the fact that we will have problems recognizing v2 and v3 scripts if we keep the same package name: @jscad/modeling.
if it is a single file script and not a node project that has package.json there is no way to know if this is a V2 or a V3 script.

I was discussing the problem of recognizing V2 and V3 scripts with @platypii and we agreed that a good way to do this and move forward would be to assume scritps that use require are V2, and esm improt or typescript are V3.


POST /db/:dbname/query not working properly?

I can create a database and use this command :
curl -X GET https://localhost:3000/db/docstore/2
This then returns the following:
[{"_id":2,"value":"hi"}]
I assume this should also return something but I keep getting an empty array no matter what i try. Example: curl https://localhost:3000/db/docstore/query -X GET -H "Content-Type: application/json" --data '{"propname":"_id","comp":">","values":[1]}'
How do you query string values? For example after creating curl https://localhost:3000/db/test1 -d "create=true" -d "type=docstore" -d "indexBy=url"
I can put the following values:
curl -X POST https://localhost:3000/db/test1/put -H "Content-Type: application/json" -d '{"phash": "Ddhahdghadghadaq", "url": "http://test.jpg" }'
How I query the phash or url?
No matter what i try i keep getting back empty arrays.
Example:
curl https://localhost:3000/db/test1/query -X GET -H "Content-Type: application/json" --data '{"propname":"phash","comp":"==","values":["Ddhahdghadghadaq"]}'

Paging @phillmac

The correct curl example commands are as follows:
curl https://localhost:3000/db/docstore/query -X GET -H "Content-Type: application/json" --data '{"propname":"_id","comp":">","values":[1]}'
curl https://localhost:3000/db/test1/query  -H "Content-Type: application/json" --data '{"propname":"phash","comp":"==","values":["Ddhahdghadghadaq"]}'
The documentation used to incorrectly specify using -X GET for the query endpoint, So that's been corrected now


Memory issue when processing large protein. Is my swap not being leveraged

I am running predictions for 2500 residue protein on a system with 80GB RAM, 8TB diskspace, and 1TB swap running Alphafold v2.2 via docker. The process fails with the message "RuntimeError: Resource exhausted: Out of memory while trying to allocate<PHONE_NUMBER>4 bytes." The ram was upgraded to 128GB, but the job dies with the same error.
docker stats: shows the MEM LIMIT is not including available swap. I am likely mistaken, but I thought it would... Is my swap not being leveraged by the container? How can I modify the docker image, such that when launched the container leverages swap (which I previously thought was available by default)? If I am off target, any advice would be appreciated...
Note: I have another system with 512GB RAM that no problem completing the calculations for the same protein.

Could you try running with --db_preset=reduced_dbs?

My preference is to use full_dbs, but I will try.

I enabled --db_preset=reduced_dbs and ran into the same issue after about 40 minutes. It really seems like swap is not being used... or do I just need to scale up RAM.

What stage is it working on when it runs out of RAM?

With the v2.3.0 update, running with --db_preset=reduced_dbs should be significantly better as all of the genetic databases have been updated. We also did a lot of memory optimisations. Could you try with the latest version and check if this is still an issue?


Implement the particle number observable in PennyLane-QChem

Context:
Implementation of other observables in PL-QChem to compute molecular properties.
Description of the Change:
Adds the function get_particle_number_table to the obs module in order to build particle number operator (N) of the many-body system and make it a PennyLane observable.
Benefits:
Allows to compute the expectation value of N. This may be particularly useful for most of hardware-efficient VQE ansatz that in general do not preserve the number of particles of the initial state.
Possible Drawbacks:
None
Related GitHub Issues:
None

Thanks @josh146 for the useful recommendations. The problem of the function trying to do too many things was manifesting in different ways as @ixfoduap and @soranjh were also pointing out. I have re-organized things, it is my impression that everything is more consistent now.
The observable function can be used in most cases internally so we have a single function that returns the observable. It does not make the methodology particular since any user bringing his/her own matrix elements can use observable independently to build his/her operator.
I think it's worth to adopt the same strategy for the total spin and Sz. Please, take a look and let me know. Thanks!!.
BTW, I am seeing codecov complaining and pointing to other modules base, cv, default_tensor and torch, I assume this is the problem you mentioned in the last meeting

Out of curiosity, is this the first function in QChem that requires input be an OpenFermion MolecularData class?

Yes, I think so. So far, MolecularData has been only used internally.

@josh146 , apparently, codecov continues to fail here with coverage problems pointing to other modules of PL. am I missing something here?.


Updated the comments in the documentation to accurately reflect the output.

Changes

Added "Pi is" prefix to the comments for clarity.

Updated the comments in the documentation to accurately reflect the output of the print statements.

Checks
By submitting your pull request for review, you agree to the following:

[x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
[x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
[x] To the best of my knowledge, all proposed changes are accurate.

Thanks a bunch @PirAhmedShah -- added a couple of > for Lua conventions, but this looks great.


Feature/more double slashes

Two more updates:

fonts to be protocol-less
GTM to be always HTTPS, as per latest recomendations

LGTM


chore(scroll): investigating scrolling issues

As mentioned before in other tickets/PR's, sometimes the scroll to bottom button appears even when you don't have any further messages.
More details to be added.

same as https://github.com/Satellite-im/Uplink/issues/1318


Issue51

correction of defect in https://github.com/husobee/vestigo/issues/51

Coverage increased (+0.001%) to 99.612% when pulling 16468ceaa1ef3a59f3af4ee2fe4c241673cdeff6 on issue51 into 168cfedc94f0e58e3414f0deaa09c0f59097964d on master.


Corrected a typo in #9412 and removed accidental extra space in #9294

Made changes to WagtailPageTestCase Upgrade Considerations typo #9412 by changing the second reference in the first dot point from "WagtailPageTestCase" to ""WagtailPageTests" and fixed the accidental extra space before [ ] on #9294

@Buraah  I could not find a last name on your profile - I will add you to the contributors list as Toria but let me know if you want a different name listed.

Thank you for taking the time to fix this @Buraah - and congrats on your first PR into Wagtail.

Cherry picked to 4.1 stable 6ec4aee2f2c747aad5dcc2b500039648b9dcc83b

Oh so sorry about that. I’ll fix my profile immediately too. “Victoria
Poromon” can be the name listed. Thank you
On Thu, Oct 20, 2022 at 12:59 PM LB (Ben Johnston) @.***>
wrote:

Merged #9429 https://github.com/wagtail/wagtail/pull/9429 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/wagtail/wagtail/pull/9429#event-7630384146, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOCKDA2G5CQ6AISCW2JCMQ3WEEXZ7ANCNFSM6AAAAAARJCYIYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks @Buraah  this is done.
4b456d927d324c623fbd74b2caa486f56aad3d3f & 2faa39e2b9f9c093a3f0786643bc5b388f1e3586 (4.1)


[Jaeger-Exporter] host default env var

note: I was unable to add a test as this depends on an env var. running JAEGER_AGENT_HOST=foo npm run test showed me that it works though by failing the host checking tests hereby added.
Which problem is this PR solving?

It helpes solve open-telemetry/opentelemetry-specification#172 but does not solve it entirely.

Short description of the changes

Allowing the user to set env var JAEGER_AGENT_HOST in their app and the exporter will pick it up and use it as a value for host. setting host in the exporter config would trump this. Let me know if you would like the env var to take precedence.

Codecov Report

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

@@             Coverage Diff             @@
##           master     #924       +/-   ##
===========================================
- Coverage   94.94%   76.35%   -18.60%
===========================================
  Files         247       67      -180
  Lines       11142     1442     -9700
  Branches     1065      243      -822
===========================================
- Hits        10579     1101     -9478
+ Misses        563      341      -222

Impacted Files
Coverage Δ

packages/opentelemetry-core/test/utils/url.test.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...ckages/opentelemetry-core/test/platform/id.test.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...pentelemetry-core/src/platform/node/performance.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...pentelemetry-core/test/internal/validators.test.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...ntelemetry-core/test/trace/NoRecordingSpan.test.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...telemetry-core/test/platform/hex-to-base64.test.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...elemetry-core/test/trace/spancontext-utils.test.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...lemetry-core/test/trace/ProbabilitySampler.test.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...try-core/test/trace/fixtures/test-package/index.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...ry-api/test/noop-implementations/noop-span.test.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 181 more

Please add a test that verifies the env var usage

note: I was unable to add a test as this depends on an env var. running JAEGER_AGENT_HOST=foo npm run test showed me that it works though by failing the host checking tests hereby added.

@dyladan How can this be achieved?

In the start of the test, set the variable process.env.JAEGER_AGENT_HOST = "host from env" then construct a jaeger exporter with no host property and test that it is working.

In the start of the test, set the variable process.env.JAEGER_AGENT_HOST = "host from env" then construct a jaeger exporter with no host property and test that it is working.

I've never been able to achieve setting an env var for a single test. Is there any online examples of this?

Also if both JAEGER_AGENT_HOST and options.host are set, which would make most sense to be authoritative?

I've never been able to achieve setting an env var for a single test. Is there any online examples of this?

You just assign it like any other variable:
describe('suite', () => {
	// clean up for other tests
	afterEach(() => {
		delete process.env.JAEGER_AGENT_HOST;
	}));

	it('should respect jaeger host env variable', () => {
		process.env.JAEGER_AGENT_HOST = 'env-var';
		const exporter = new JaegerExporter({
			serviceName: 'test-service',
		});

		// assert host is env-var
	});

	it('should prioritize host option over env variable', () => {
		process.env.JAEGER_AGENT_HOST = 'env-var';
		const exporter = new JaegerExporter({
			serviceName: 'test-service',
			host: 'explicit-host'
		});

		// assert host is explicit-host
	});
});

	afterEach(() => {
		delete process.env.JAEGER_AGENT_HOST;
	}));

I've never been able to achieve setting an env var for a single test. Is there any online examples of this?

You just assign it like any other variable:
describe('suite', () => {
	// clean up for other tests
	afterEach(() => {
		delete process.env.JAEGER_AGENT_HOST;
	}));

	it('should respect jaeger host env variable', () => {
		process.env.JAEGER_AGENT_HOST = 'env-var';
		const exporter = new JaegerExporter({
			serviceName: 'test-service',
		});

		// assert host is env-var
	});

	it('should prioritize host option over env variable', () => {
		process.env.JAEGER_AGENT_HOST = 'env-var';
		const exporter = new JaegerExporter({
			serviceName: 'test-service',
			host: 'explicit-host'
		});

		// assert host is explicit-host
	});
});

Amazing, not the first time I wanted this. I'm surprised I could not find any online docs for this.
Thanks!

Wouldn't we want the env var to be authoritative? Am I wrong to say that it is generally easier to configure an env var on the fly rather than change the code?

Wouldn't we want the env var to be authoritative? Am I wrong to say that it is generally easier to configure an env var on the fly rather than change the code?

Yes the ENV var is much easier to change, but if someone goes to the trouble of putting something in code you can be pretty sure they meant to do that. We could log if they are both set or something if you want to be extra careful.

Wouldn't we want the env var to be authoritative? Am I wrong to say that it is generally easier to configure an env var on the fly rather than change the code?

Yes the ENV var is much easier to change, but if someone goes to the trouble of putting something in code you can be pretty sure they meant to do that. We could log if they are both set or something if you want to be extra careful.

Fair enough. Will skip logging at this time but will add a note about authority in README.


Question: possible to capture content ?

Suppose I've added some texts, images, etc...
And now I want to save it as a bitmap, and send it, how do I do it?

@AndroidDeveloperLB Check class MotionView.java, method public Bitmap getThumbnailImage(). It returns the bitmap with all current images, text (with the current size of the canvas)

Why is it called "getThumbnailImage" ? How do you get to choose the size of
this bitmap?
Also, BTW, does this library support vectorDrawable?
On Tue, Dec 6, 2016 at 12:56 PM, Andriy Bas<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/uptechteam/MotionViews-Android/issues/1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uptechteam/MotionViews-Android/issues/1#event-883460911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFG_1pVw3ANvz-B92USK2B07bzBRXjAkks5rFT9JgaJpZM4LDrVP
.

@AndroidDeveloperLB the library does not support vectorDrawable, it works with Bitmaps

and how do I choose the bitmap size for it?

@AndroidDeveloperLB any bitmap size works (unless it throws OutOfMemory)


Check time after running the child processor

There are two checks in the processor: on in process(), one in sleep().
In the event there are many messages in the queue when the time limit is
reached, it will be the check in process() that will kick in. Most users
will put the AckProcessor inside this one because that is what is
recommended in the docs, and will there will be no ack or nack in that
case, because of that check, which means there will be redeliveries.
By performing the check after running the child processor, we avoid the
redeliveries.
Closes #227

Thanks for your contribution! :ok_hand:

Thanks for your contribution! :ok_hand:

@greg0ire have you checked whether the processor limiting the number of messages (rather than the time) has the same issue ?

@greg0ire have you checked whether the processor limiting the number of messages (rather than the time) has the same issue ?

@stof I didn't, but it looks good to me:
https://github.com/swarrot/swarrot/blob/cfb0ff0bf96f47659e8cfb1846ec205f9cff5885/src/Swarrot/Processor/MaxMessages/MaxMessagesProcessor.php#L33-L47
The check is performed after running the child processor, which means the ACK should be sent.

@stof I didn't, but it looks good to me:
https://github.com/swarrot/swarrot/blob/cfb0ff0bf96f47659e8cfb1846ec205f9cff5885/src/Swarrot/Processor/MaxMessages/MaxMessagesProcessor.php#L33-L47
The check is performed after running the child processor, which means the ACK should be sent.

Could you please tag a release @odolbeau ?

Could you please tag a release @odolbeau ?

Thank you!

Thank you!


Create LICENSE

General
Create LICENSE
Type

ℹ  What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x] Fix #13
[ ] Feature

Describe the changes here (summarized)

Thanks!


[stan] add tests checks the integration with client

This test checks the protocol bits, can you add another test that checks the integration with client (in a similar fashion to how we have them for kafka and amqp?)
Originally posted by @slinkydeveloper in https://github.com/cloudevents/sdk-go/pull/322

Solved


stat reloader crashes while running in pycharm debugger

After updating from Flask 2.2.2 (using Werkzeug 2.2.2) to Flask 2.3.2 (using Werkzeug 2.3.4), my Flask application is no longer able to run with pycharm's debugger attached in case stat reloader is enabled. The first reload attempt will instantly crash the entire running python process.
Assume bootstrapping a Flask app like this
app.run(host='<IP_ADDRESS>', port=5050, debug=True, use_reloader=True)
from within pycharm using its debugger will result in the following command line
<full path to python.exe> "C:\Program Files\JetBrains\PyCharm 2022.1\plugins\python\helpers\pydev\pydevd.py" --multiprocess --qt-support=auto --client <IP_ADDRESS> --port 55150 --file <full path to start script creating the Flask app>
after the first change is detected by stats reloader, process immediately crashes with the following output
INFO     werkzeug  * Restarting with stat
<full path to python.exe>: can't open file 'C:\\Program': [Errno 2] No such file or directory

Process finished with exit code 2

After tracking down the changes that happened in Werkzeug between 2.2.2 and 2.3.4, the responsible part seems to be the introduction of sys.orig_argv as discussed in https://github.com/pallets/werkzeug/issues/2589, which is used from Python 3.10 and above in order to derive the originating command line (including all parameters) in order to to be able to precisely restart the process as it has been originally started. The relevant changes seems to be done here https://github.com/pallets/werkzeug/commit/51b8402ec419b7afdc098cbd37953c8e125df10c
Unfortunately in my case the path to pycharm's debugger script contains whitespaces ("C:\Program Files") and since it is not correctly quoted before command line execution from stat reloader above exception occurs. Since I installed pycharm in the default location of Windows, I assume that this might happen to others as well?!
Looking at the implementation I am not really sure where to do the proper quoting/handling of command line parameters in _reloader.py or whether it is wise at all for Werkzeug to try and restart the entire debugger process by the reloader using sys.orig_argv in this scenario (which was not the case with 2.2.2 -> here only the acual Flask app related process was restarted and it worked pretty well). At least as a workaround I simply set use_reloader=False to stop the reloader from crashing and was thereby able to continue to use pycharm's debugger after updating to Flask 2.3.2.
Environment:

Python version: 3.10
Werkzeug version: 2.3.4 (Flask 2.3.2)
PyCharm 2022.1.2

it is not correctly quoted before command line execution from stat reloader.

The reloader isn't required to do any quoting, subprocess.call accepts a list of arguments to be used as-is for starting a process, it doesn't require shell quoting.
If sys.orig_argv isn't correct, then that's a bug that must be reported with a minimal reproducible example to Python. Or perhaps it's an issue with either the pydev debugger or PyCharm's use of it, in which case it should be reported to them.

It does seem like pydevd or PyCharm aren't doing the right thing, so this should be reported to them. Printing out the result from _get_args_for_reloading() shows the correct values on Windows even when there's a space in a path.

I also can't reproduce this on Linux, spaces in paths are handled correctly there, and sys.orig_argv looks the same, so perhaps something they're doing for Windows is interpreting arguments incorrectly.

Looks like it was reported to PyCharm here: https://youtrack.jetbrains.com/issue/PY-60819/FLASKDEBUG1-breaks-debugger-when-Python-PyCharm-installation-path-has-spaces
Click the "thumbs up" icon next to the issue title to vote for the issue and increase its priority.


feat : dependabot workflow automation for updating dependency

Signed-off-by: Pratik Raj<EMAIL_ADDRESS>

Thanks, we will merge this!


Let configuration cache preserve TreeMap comparator

@bot-gradle test and merge

OK, I've already triggered a build for you.


sql2json does not support INSERT INTO ... VALUES(a,b), (c,d) syntax

This came up on StackOverflow.
The following syntax for sql2jaon works well and shows both inserted rows:
CREATE TABLE `geo_tags` (
  `gt_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `gt_page_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`gt_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4507036 DEFAULT CHARSET=binary ROW_FORMAT=DYNAMIC;

INSERT INTO `geo_tags` VALUES (3,487781);
INSERT INTO `geo_tags` VALUES (4,487781);

But using a shorter syntax for the INSERT, which is usually used by mysqldump, would only show the first value:
CREATE TABLE `geo_tags` (
  `gt_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `gt_page_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`gt_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4507036 DEFAULT CHARSET=binary ROW_FORMAT=DYNAMIC;

INSERT INTO `geo_tags` VALUES (3,487781),  (4,487781);

@martindrapeau - and nice work!! Very useful tool :)

This format is not currently supported. Good feature request.

Fixed. Thanks for reporting. Here is your testcase:
http://www.csvjson.com/sql2json/688575184b1e31c39c1fd8786f0509ec

@martindrapeau - amazing! Thank you!


The issue about indexing data in Milvus

It was found that in the Milvus to Milvus process if one of the Milvus data was indexing, the transfer would be unsuccessful

You are right, Milvusdm can only import FLAT data or data that has been indexed. It is recommended to stop the source Milvus or not do anything else when using Milvusdm.
You can see in the code that we are reading the data when the file_type=1/7, which means it is the raw data or backup data, you can refer to this article about the fields of metadata.


Add deployment of docs in CI

See title.

Converting to draft, I cannot install correctly dependencies needed for building the docs in the CI. At the moment I am bound to wait for #154 to be merged, I cannot update environment and stuff to ctapipe v0.19 otherwise it will break that PR. Then #153 can be merged, followed by #157 . I guess then the RF->DL3 PR should be next (together with the PR with the semi-automatic scripts?), and finally #148 and #149, and then this one. So, for the moment, I wait...

So this also means that I will produce the documentation site (https://magic-cta-pipe.readthedocs.io/en/latest/index.html) manually until this is merged.

It seems I managed to fix environment and stuff for this to work for both docs and tests. This can be eventually merged even before the other PR mentioned in the previous message.


Music genre methods

For this feature I did the following

Created the add album method
Created the list album and genre methods
Removed linter errors

Hi @Chimoneg27 You have code differences in app.rb file. Please, resolve the conflict

@zhorabay I fixed the merge conflicts


Add connection pool related properties to advanced properties in user store configurations

Purpose
$subject.
Fixes https://github.com/wso2/product-is/issues/11839

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

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

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

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

Locally verified the integration tests.


Can't become sole voter

Context & versions
staging.sanchonet Demos Wallet 1.8.1
Steps to reproduce

Already registered as a DRep, and delegated to a different Drep (Don't know if these are essential pre-requsites)
Try to become sole voter by clicking "register" button

Video: https://www.loom.com/share/b919743fe98b4c6a8e3f46bbc46dc054?sid=377d6157-ca2c-4929-b40b-35c43b2c6b10
Actual behavior
Strange dialog comes up:

Expected behavior
Be able to become sole voter

Then I'll move it to In QA for you to retest it

dev-sancho:
Delegation to Direct voter worked fine recently.
https://jam.dev/c/43a6afd8-e2d1-4019-a455-d813e91790fd

Blocked from retesting by #1160

Note: I can become a Direct Voter, just not one after becoming a DRep


Update the content of  String Page of DSA in JS

Description
Description:
This issue is for updating the content of String Page  of DSA (Data Structures and Algorithms) section  in our project. Here are the specific changes needed:
1. What is on this Page ? - Section

It should contain the list of topics covered in the video.

2. This Page should Contain Tabs - Learn and Assignment

Create tabs for "Learn" and "Assignment" sections.

3. Learn Section should contain Video and Notes

In the "Learn" section, add subsections for videos and notes.

4. Assignment section should contain assignments

In the "Assignment" section, include assignments related to the topics.

5. To update the content

Go to the Content folder of the root directory, then navigate to the batch folder, and then navigate to the DSA folder to make changes in the 'string.mdx' file.

Content Check:
For reference, please check the current content in the String Content
Additional Information:
Please make sure to maintain consistency with the existing structure and style of the project. Let's enhance the DSA page to make it more user-friendly and informative.

I would like to work on it . please assign it to me

can you assign this to me sir
i almost completed it
i have template too for all these newly issues

can you assign this to me sir
i almost completed it
i have template too for all these newly issues

Assigned to you - complete it ASAP


embassy_sync::watch default values

It would be nice to be able to supply default values for the new watch module.
https://docs.embassy.dev/embassy-sync/git/default/watch/index.html
Currently I have something like this to setup default:
// default values
pub fn init() {
    CLOCK_HOURS_WATCH.dyn_sender().send_if_modified(|value| { *value = Some(0u8); false });
    CLOCK_MINUTES_WATCH.dyn_sender().send_if_modified(|value| { *value = Some(0u8); false });
}

pub static CLOCK_HOURS_WATCH: Watch<WatchMutex, u8, 1> = Watch::new();
pub static CLOCK_MINUTES_WATCH: Watch<WatchMutex, u8, 1> = Watch::new();

It could be much neater if we could simply include the default in the new:
pub static CLOCK_HOURS_WATCH: Watch<WatchMutex, u8, 1> = Watch::new(0u8);
pub static CLOCK_MINUTES_WATCH: Watch<WatchMutex, u8, 1> = Watch::new(0u8);

I have some watches that I use for Async and in loops that I'm polling like a mutex. So in that case I don't want to have an uninitialised value.

I'm storing a lot of settings, which need an initial state stored in them.

They're my main use cases in my project.


Kotlin track - Forth issue

No description provided
exercism download --exercise=forth --track=kotlin >> Error: failed to parse API error response: invalid character 'o' in literal null (expecting 'u')

@anwarsky  That'd been reported in #302 already
Since the PR was abandoned, I found a work-around that could allow you to submit the solution, see the comment about 6 months ago, https://github.com/exercism/kotlin/issues/302#issuecomment-515762731

Closed by PR 407


Remove debug println

Left this in there after the last PR

thanks.  i've cherry-picked this change in my other open PR. closing manually this one.


feat(Generator): An automatic code file generator has been added.

This application allows you to easily add new features by simply providing a class that inherits from "Entity"

Automatically lists available db contexts and repositories.
Allows you to select options from the listed contexts and repositories.
Once you have selected your ".csproj" file, the application will automatically generate the necessary files.

Thank you for a very good PR. We have a code generator already that we are currently developing as a CLI. It will be with you soon. We will be waiting for you to support that project. 🙌🏼


Enhance README with Troubleshooting Section, Functional Screenshots, and Filter Reset Option Suggestion

Problem / Issue No. #332

I enhanced the README file by adding a Troubleshooting section to help users resolve common issues like search functionality not working and filter problems. I also included screenshots to illustrate these functionalities. Additionally, I made a suggestion to include an 'All filters' option in the app for easily resetting filters.

Describe Problem / Root Cause

Users may experience issues with search and filters due to incorrect usage, bugs, or poor internet connectivity, which affects search functionality. Additionally, the absence of a reset option for filters can cause frustration when trying to return to default settings.

Solution proposed

I added a Troubleshooting section in the README to offer users clear, step-by-step instructions for solving these common issues. Screenshots of the app's search functionality and filters were also added to visually guide users. I also suggested including an 'All filters' option in the app, which would allow users to reset filters more easily.

Additional Information

This update improves the README by adding a detailed Troubleshooting section and relevant screenshots to help users resolve search and filter issues. No changes were made to the app's code or dependencies.

Screenshots

I have added relevant screenshots to the README to illustrate the Troubleshooting section, helping users understand the search functionality and filters better. No changes were made to the app's interface.

I have reviewed the changes. @andoriyaprashant

hello @vaishnavipal1869 @Safiullahkorai-786
I’ve reviewed the "Troubleshooting" section, and I don't think we need to include it at this point. The common issues listed, such as search functionality or filter problems, can easily be resolved by raising pull requests as we work on improvements. By keeping the app updated and responsive to user feedback through GitHub issues, we can maintain a clean, simple, and intuitive experience for users without the need for a detailed troubleshooting section.
Thanks for considering this! Let’s keep pushing forward to make OpSo even better!


use pyyaml for building the write_files injections

https://github.com/hep-gc/cloud-scheduler/blob/master/cloudscheduler/cloud_init_util.py#L45
currently using a fragile manual function, use pyyaml load and dump to try and avoid weird formatting issues.

Hi Mike, did you change anything on condor.heprc yet? If not, I think we should hold the queues until you are ready. Otherwise we should let them go. Let me know. Colin.

On Sep 7, 2016, at 3:04 PM, Michael Paterson<EMAIL_ADDRESS>wrote:
https://github.com/hep-gc/cloud-scheduler/blob/master/cloudscheduler/cloud_init_util.py#L45 https://github.com/hep-gc/cloud-scheduler/blob/master/cloudscheduler/cloud_init_util.py#L45
currently using a fragile manual function, use pyyaml load and dump to try and avoid weird formatting issues.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/hep-gc/cloud-scheduler/issues/446, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJJMFo6PqBWJDQ0BMi-ZU5qdQKPCdSjks5qnzTSgaJpZM4J3Z9V.

Nothing changed yet.


Use with grid-layout

Is there any plans to make it work with a grid-layout on the repeated items?
Seems like the translationY breaks the grid;
http://codepen.io/anon/pen/VYvmQN?editors=100

This ain't easy as it would have to calculate how many elements ft in a row, and if those elements ain't equal in size it would get even worse (not only hard to implement but also affecting performance). You could obtain something grid-like by nesting ng-repeat within vs-repeat: have vs-repeat render rows, and within each row render 3 items using ng-repeat.


need to source rc file twice for fuzzy autocomplete

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

Problem / Steps to reproduce
This is likely not a bug from fzf specifically, but I hope to get some help nevertheless.
My setup is as follows:
My zsh configuration files are stored in ~/.config/zsh, and my ~/.zshenv points to it.
> ll ~/.config/zsh
.rw-rw-r--    0 2022-02-10 11:41 .zlogin
.rw-rw-r--  638 2022-05-16 14:46 .zprofile
.rw-rw-r-- 1.1k 2022-08-08 15:59 .zshenv
.rw-r--r-- 5.8k 2022-08-10 12:45 .zshrc

> bat ~/.zshenv
if [ -d "$HOME/.config/zsh" ]; then
    ZDOTDIR=$HOME/.config/zsh
    . $ZDOTDIR/.zshenv
fi

My .zshrc contains the relevant lines to source the zsh completion functionality of fzf, and I can tell it is sourced when I SSH into the machine, because I have added an echo.
> rg --context 3 "echo" ~/.config/zsh/.zshrc
65-# fzf
66-[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
67-FZF_BASE="$HOME/.fzf"
68:echo "test before fzf"
69-source /usr/share/doc/fzf/examples/key-bindings.zsh
70-source /usr/share/doc/fzf/examples/completion.zsh
71-

When I SSH into the machine I see "test before fzf printed. However, fuzzy completion **<TAB> does not work (instead it replaces with all files in current directory).
If I manually source ~/.config/zsh/.zshrc then fuzzy completion works as intended.
Do you have any idea? Could there be something that reverts the changes done by my .zshrc upon login?
Thanks!

I have just found the solution by chance from the Arch wiki: https://wiki.archlinux.org/title/fzf#Zsh
The sourcing of fzf files needs to be after the enabling the vi mode.


slow s3 parquet reads when using fsspec S3FileSystem

Describe the bug, including details regarding any error messages, version, and platform.
Hi team, I hope you are well. Apologies if this is documented somewhere, I searched around but could not find anything related.
I am using Pyarrow 10.0.1 inside a Ubuntu 20.04 container. For reasons I need to use the third party fsspec.S3FileSystem in lieu of the native pyarrow.fs.S3FileSystem. When trying to read a single 220MB Parquet file from S3 using the fsspec s3fs, the PyArrow Dataset API takes north of 3 minutes!
Using s3fs to read the bytes without leveraging Pyarrow, or using the Pyarrow native S3FileSystem, works within 16 seconds as expected. My understanding is that leveraging fsspec.S3FileSystem should not decrease performance in Pyarrow.
Test example
    pa_s3fs = fs.S3FileSystem()
    time_start = time.perf_counter()
    ds.dataset(path, format="parquet", filesystem=pa_s3fs).to_table()
    print("pa S3Filesystem!: ", time.perf_counter() - time_start)

    time_start = time.perf_counter()
    s3fs.read_bytes(key)
    print("fsspec raw_bytes:!", time.perf_counter() - time_start)

    time_start = time.perf_counter()
    ds.dataset(path, format="parquet", filesystem=s3fs).to_table()
    print("PA w/ fsspec S3Filesystem!: ", time.perf_counter() - time_start)

Output
airflow-worker  | Wrote key='mybucket/mypath/part-0.parquet' size=211661451
airflow-worker  | Landed total 201 MB to s3!
airflow-worker  | pa S3Filesystem!:  14.232619059999706
airflow-worker  | fsspec raw_bytes:! 15.852554664001218
airflow-worker  | PA w/ fsspec S3Filesystem!:<PHONE_NUMBER>9599995

I found this phrase in the Pyarrow docs

pre_bufferbool, default True
Coalesce and issue file reads in parallel to improve performance on high-latency filesystems (e.g. S3). If True, Arrow will use a background I/O thread pool. This option is only supported for use_legacy_dataset=False. If using a filesystem layer that itself performs readahead (e.g. fsspec’s S3FS), disable readahead for best results.

So I tried setting pre_buffer=False but the performance issue remains.
Any idea what could be causing the performance issue when leveraging fsspec inside of Pyarrow?
Component(s)
Python

Thanks for posting the solution!

Oh I just wanted to add one more note, when using the dataset API with the above fsspec I noticed it's much slower to use the dataset API versus pq.read_table
Example
def read_table_pq(s3fs):
    time_start = time.perf_counter()
    num_bytes = pq.read_table(s3_key, filesystem=s3fs).nbytes
    print(f"{num_bytes} Took {time.perf_counter() - time_start}")

def read_table_ds(s3fs):
    time_start = time.perf_counter()
    num_bytes = ds.dataset(s3_key, filesystem=s3fs, format="parquet").to_table().nbytes
    print(f"{num_bytes} Took {time.perf_counter() - time_start}")

Result
read_table_pq(s3fs1)
301340480 Took 25.171526359998097
read_table_ds(s3fs1)
301340480 Took 46.74551891900046

Hmm is this expected behaviour @jorisvandenbossche ?

I bumped into a similar issue with pd.read_parquet to read from s3. Read performance is slow compare to pq.read_table().to_pandas() though underneath the pandas.read_parquet using the same function call.
I found the issue could cause by _ensure_filesystem in _ParquetDataset class. Which check object type for the given filesystem. When the check failed, it will reconstruct the filesystem with PyFileSystem and slow down the read.
With pq.read_table().to_pandas(), it will parse the file system from s3 path and get pyarrow._s3fs.S3FileSystem
def _ensure_filesystem_checkinstance():
    import s3fs
    from pyarrow._fs import FileSystem
    s3 = s3fs.S3FileSystem()
    print(isinstance(s3,FileSystem))

def fs_pandas():
    import s3fs
    from pyarrow._fs import (FileSystem, _ensure_filesystem)
    s3 = s3fs.S3FileSystem()
    fs = _ensure_filesystem(s3)
    print(fs)

def fs_pq():
    filesystem, path_or_paths = FileSystem.from_uri(
                                s3_path)
    print(filesystem)

_ensure_filesystem_checkinstance()
fs_pandas()
fs_pq()

Result
_ensure_filesystem_checkinstance()
False

fs_pandas()
pyarrow._fs.FileSystem

fs_pq()
pyarrow._s3.S3FileSystem

I don't think it's expected behavior and I suggest reopen the issue.

@xu2011 what you see is essentially behaviour controlled by pandas (passing an fsspec filesystem to pyarrow). It suffers from the same issue that apparently using an fsspec wrapped filesystem in pyarrow can be a lot slower, but avoiding doing that is something that needs to be done in pandas (pyarrow only sees the filesystem being passed to it).
Now, there is actually an open pandas PR to avoid using fsspec when using pyarrow in the pandas read_parquet (https://github.com/pandas-dev/pandas/pull/51609)

Oh I just wanted to add one more note, when using the dataset API with the above fsspec I noticed it's much slower to use the dataset API versus pq.read_table

@JonnyWaffles hmm, that's strange, as that should essentially do the same these days. Is the s3 _key pointing to a single file or to a directory?

@jorisvandenbossche technically a "directory" but there was only a single ~220 MB parquet file inside it, so I guess a single file would be the correct answer.


Unity.Configuration.UnityConfigurationSection is wrong?

I used Unity(5.10.2) and Unity.Configuration(5.10.0) .
I coppied the below setting  to my app.config file(.net core2.0 console application) from  https://github.com/unitycontainer/configuration/wiki/Format-of-the-Unity-Configuration-File

1.I run the console application, and throw below exception at line of     var section = (UnityConfigurationSection)ConfigurationManager.GetSection("unity");
System.Configuration.ConfigurationErrorsException   HResult=0x80131902   Message=An error occurred creating the configuration section handler for unity: Could not load type 'Unity.Configuration.UnityConfigurationSection' from assembly 'Unity.Configuration'. (*****bin\Debug\netcoreapp2.0\***.dll.config line 4)   Source=System.Configuration.ConfigurationManager   StackTrace:    at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)    at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)    at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)    at System.Configuration.ConfigurationManager.GetSection(String sectionName)
2. After I changed the setting to below:

below code will not throw above exception
 var section = (UnityConfigurationSection)ConfigurationManager.GetSection("unity");
So the setting of "type" in section tag is wrong in
https://github.com/unitycontainer/configuration/wiki/Format-of-the-Unity-Configuration-File
?
Thank you so much!

This namespace will be implemented in 6.0


Failed to find Ceres - Missing required Ceres dependency: glog.  Searched   using GLOG_INCLUDE_DIR_HINTS: /usr/include and glog_DIR: .

I installed all the dependency according to the readme file ,I compiled GTSM and CERES successfully ,and there is no error until I catkin_make the LVI-SAM repo, when I catkin_make the whole repo  , this Cmake Error show up,I tryed to switch the glog version to 0.5 and 0.7,but other error come out, I tryed to reset "GLOG_INCLUDE_DIR_HINTS" and "glog_DIR"at CeresConfig.cmake, but this Cmake Error also show up.

solved by downloading the glog version --0.4 from glog's github repo instead of using command


Set default mpi for dmp

This will:

Add the flag '-mpi msmpi' if:

'dmp' flag is present.
Using windows
Using Ansys 2021 or superior.

if the 'mpi intelmpi' is already present, it shows a warning and remove it. If you want to enforce intel, add 'force_intel' as additional flag ('additional_switches').
Convert additional_switches to lower case to avoid mismatch.

Resolves #609

Please use our branch naming conventions.  In the future use fix/default_mpi_dmp


Support for default parameter values in generic

This appears to be mostly shapeless related, but @travisbrown asked me to file this for posterity...
case class Foo(s: String, i: Int = 10)
val json = """{"s": "Hello"}"""

// this obviously works
decode[Int => Foo](json).map(_(10))

// but what about cases where you have many default parameters of the same type?
case class Bar(i1: Int, i2: Int = 2, i3: Int = 3, i4: Int = 4)
val json2 = """{"i1": 1}"""

// i would like the following behavior...
"""{"i1": 1, "i4": 44}""".as[Bar] // => Bar(1, 2, 3, 44)

// this would work kind of work, but it overrides the default values
decode[(Int, Int, Int) => Bar].map(_(2, 3, 44))

// alternatively, I could do this to ignore the potentially incoming values:
val dec = Decoder.instance[Bar](c =>
  for {
    i1 <- c.downField("i1").as[Int]
  } yield Bar(i1)
)

// or change my datatype completely:
case class Bar2(i1: Int, i2: Option[Int], i3: Option[Int], i4: Option[Int])
val dec2 = Decoder.instance[Bar2](c =>
  for {
    i1 <- c.downField("i1").as[Int]
    i2 <- c.downField("i2").as[Option[Int]]
    i3 <- c.downField("i3").as[Option[Int]]
    i4 <- c.downField("i4").as[Option[Int]]
  } yield Bar2(i1, i2, i3, i4)
)

Something like https://github.com/milessabin/shapeless/pull/459 would allow to address that (default field values can easily be pulled like in this test).

One general question: should this be the behavior provided by generic.auto (if default values are available in the Default instance, use them), or should it be an option provided by semiauto?—i.e. something like this:
implicit val decodeBar: Decoder[Bar] = deriveFor[Bar].decoderWithDefaults

I don't know what the benefit is to having it in semiauto. The least surprising option, from my point of view, is to treat case class X with/without defaults the same way.

@trane It's not necessarily obvious that a derived decoder will use default constructor values (when they're needed), and if that's not the behavior you want, it could be an unpleasant surprise. But I agree—I think it makes sense to use them (with plenty of documentation) in auto, and to provide something like decoderWithoutDefaults in semiauto.

@travisbrown don't trust my point of view, I've been coding in Ruby for the past 2 years -- of course I like magic and surprising behavior!

@travisbrown Was this ever added by any chance? I was playing around this morning and hit this issue so was unsure if I am missing something?

@travisbrown I was figuring out how it can be implemented and ended up with the following.
Inside DerivationMacros#decodeHList and DerivationMacros#decodeCoproduct we should check whether the class has default values, and if it has, add them to representation.
Am I on the right path?
If so, can you give any tips in how it can be done?

This is now available in circe-extras in 0.6.0-RC1.


fix a value error in function electrolyte_diffusivity_Ai2020 in Ai2020.py

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[- ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[- ] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[- ] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[ ] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Must have been a typo

@all-contributors add @XuboGU for code, bugs


Islands Architecture draft as own page

Draft of a page that splits Island Architecture out of Partial Hydration, to become its own "core concept"

Closing this for now, after a conversation of moving away from the emphasis on Island Architecture


feat(rego): Skip dotfiles

Fixes: https://github.com/aquasecurity/trivy/issues/4924

@nikpivkin could you take a look at reviewing this?


Does cranelift support the f16const in riscv64?

I constructed a clif file that contains the f16const instruction, and I got an error when I used the following command.
qemu-riscv64 -L /usr/riscv64-linux-gnu/ -E LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib  clif-util test test.clif

The error is:
 ERROR cranelift_filetests::concurrent > FAIL: failed to parse test.clif
FAIL test.clif: failed to parse test.clif

Caused by:
    16: Unknown opcode: 'f16const'
1 tests
Error: 1 failure

In addition, I found a test file for the f16const instruction in the cranelift/filetests/filetests/isa/riscv64/f16const.clif.

Interesting -- it seems we should, since it's in a test and tests are passing on CI.
A few things to verify:

Can you check that your version of clif-util is the latest, i.e. built from current main?
Can you check if you're able to run clif-util test on cranelift/filetests/filetests/isa/riscv64/f16const.clif?
If things are still not working, can you share the full CLIF input file, exact version (commit) and command line you're running?

Interesting -- it seems we should, since it's in a test and tests are passing on CI.
A few things to verify:

Can you check that your version of clif-util is the latest, i.e. built from current main?
Can you check if you're able to run clif-util test on cranelift/filetests/filetests/isa/riscv64/f16const.clif?
If things are still not working, can you share the full CLIF input file, exact version (commit) and command line you're running?

It seems that my version of wasmtime is wrong, I will close this issue.

@cfallin Here is my CLIF input file.
output.zip
However, I still can't run this file by using the following command line:
qemu-riscv64 -L /usr/riscv64-linux-gnu -E LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib riscv64gc-unknown-linux-gnu/debug/clif-util run -v output.clif

The error is :
output.clif: The target ISA specified in the file is not compatible with the host ISA
1 file
Error: 1 failure

And I try to run the f16const.clif, it also outputs the similar error:
qemu-riscv64 -L /usr/riscv64-linux-gnu -E LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib riscv64gc-unknown-linux-gnu/debug/clif-util run
-v ../cranelift/filetests/filetests/isa/riscv64/f16const.clif
../cranelift/filetests/filetests/isa/riscv64/f16const.clif: The target ISA specified in the file is not compatible with the host ISA
1 file
Error: 1 failure

The commit version of my wasmtime is:
~/wasmtime$ git rev-parse HEAD
c255a853f47188f43fb004389581fccc74bfc362

You are probably missing target riscv64 at the top of the test file (didn't download your zip).

FP16 on the RISC-V backend is only supported with the Zfh extension. You need to add the has_zfh flag to the target field. (i.e. target riscv64 has_zfh)
You also have to specify support for the Zfh extension in qemu otherwise it likely won't run the test. There's a flag somewhere to do it, I don't know exactly what it is.

FP16 on the RISC-V backend is only supported with the Zfh extension.

For cg_clif f16const and f16 arguments and return values will need to work unconditionally. Math on f16 can be lowered to libcalls just fine when Zfh is not enabled however.

I'm not entirely sure how it's currently implemented, but I think that should work. We already save and restore the entire registers, instead of just the used portion. I haven't tested that yet though.

@abc767234318 I'm not entirely sure why the clif-util run command doesn't work, but running the test with clif-util test does work on my machine.
I also tried to run clif-util compile --target riscv64 --set has_zfh output.clif, but that failed because we don't support f128 types.

@abc767234318 I'm not entirely sure why the clif-util run command doesn't work, but running the test with clif-util test does work on my machine.
I also tried to run clif-util compile --target riscv64 --set has_zfh output.clif, but that failed because we don't support f128 types.

Where can I find the set of IR instructions supported by each cpu architecture? I also found that x86 cpu don't seem to support the iconst.i128 instruction.
The line 13 is v7 = iconst.i128 -2319861032952027390, but I get the following error
 ERROR cranelift_filetests::concurrent > FAIL: failed to parse file_tests/multi_func.clif
FAIL file_tests/multi_func.clif: failed to parse file_tests/multi_func.clif

Caused by:
    13: expected one of the following type: i8, i16, i32 or i64
1 tests
Error: 1 failure

iconst.i128 is not allowed on any architecture afaik. You have to use two iconst.i64 + an iconcat with both halves to get an i128. The iconst instruction only accepts a 64bit immediate value.


Request: ARM32 v7

Hello, any change to provide Linux arm32 v7 release ?
thnx

Related: https://github.com/planetscale/cli/pull/484

32 bit ARMv6 releases for Linux and Windows are available starting with 0.94
https://github.com/planetscale/cli/releases


Release a new version

It seems IterMut was fixed in #10 but the version on crates.io is still broken. Without it, this crate is almost unusable.

Just released 0.4.0


Cant install on windows

Windows says : "this is not a proper font file".
Whats up with that?

Try cloning the repository, or jump right into the interactive demo at https://github.com/SanshruthR/Bionic_Reading_Hub

Thank you for the information 👍
Another user reported that also shortly.
The problem just occurs with the font-files from the release-section.
It must be an issue how github handles files offered as release.
Please download the fonts directly from the repo, they work as intended 😉


Unittests

Unit tests! Tests tag data most robustly. Still needs tests for the other tag types, but its a start!

Thanks for putting this in @Pshriwise!


occurrences count changes

add checker in occurrences.count that values are at most length 1
add test for this checker
add docs for occurrences.count saying values length 1 only, point to search for more than 1
bump version

fix #75

@faroit can you have a look

Coverage increased (+0.2%) to 80.524% when pulling 15b0524f81f63d049b5b5b7002d06bb3a9dfb964 on occ-count into 4bfdb7bc87c372c59f1f0e81843a18585a3056f4 on master.

bump @faroit

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.55%. Comparing base (93c010a) to head (78b8ba0).
Report is 90 commits behind head on master.

Files with missing lines
Patch %
Lines

pygbif/gbifutils.py
90.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   80.45%   81.55%   +1.09%
==========================================
  Files          26       26
  Lines         609      629      +20
==========================================
+ Hits          490      513      +23
+ Misses        119      116       -3

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


AttributeError: 'ResNet' object has no attribute 'fe'

When we try to use pretrained model to extract features, such as "python main.py --model ResNet18 --dataset cifar10 --strategy LeastConfidence --pretrained", it returns an error: AttributeError: 'ResNet' object has no attribute 'fe'.
The reason is related to line 303 in https://github.com/cure-lab/deep-active-learning/blob/main/query_strategies/strategy.py:
e1 = self.clf.fe.encode_image(x)
Could I ask how to solve this issue?

Hi,
The current model definition has not provided support for the pre-trained feature extractor yet. To use a pre-trained feature extractor, one way you could do is to extend the resnet definition with the encode_image function.


Volume/Brightness onscreen Overlay in Game Play

When playing a game on the RG351V. you can control the volume and brightness while playing a game. The problem is, the only way to know where each are set is when you are in the ArkOS menu and you press the Start Button. This will tell you the battery percentage, volume and brightness percentage.
Can we  have an in game overlay that pops up when adjusting the volume and brightness? After the adjustment, the overlay will disappear from the screen and resume gameplay.

Not possible at this time.  Best solution available is to use physical senses for now.


Added Terraform Integration for "Assign Terraform Reviews"

Fixes: https://github.com/linear-b/gitstream/issues/249
This PR adds a new Integration with Terraform in Automation Library. This has been discussed in https://github.com/linear-b/gitstream/discussions/217
Description :-
Automatically route Terraform changes to the appropriate team for review.
Template :-
Conditions (all must be true):

The PR contains changes to one or more Terraform configuration files.

Automation Actions:

Require a review from the org/infrastructure team.

Please have a look at the working example too :- https://github.com/Shadow-Test-Organization/terraform-examples/pull/4

Thanks for the review @BenLloydPearson . Apologize for the late reply. I will make the directory name change and attach a better screenshot


fix: remove deno serve listening msg

Fixes RVT-4414
Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1716  👈 (View in Graphite)
#1715
#1714
#1712
#1711
#1710
#1709
#1708
#1707
#1706
#1695
main

How to use the Graphite Merge Queue
Add the label merge-queue to this PR to add it to the merge queue.
You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.


Implement combinators needed to migrate prodash to futures-lite

As I am working on a venerable dual core MacBook Air, I will always be mindful of compile times, trying my best to reduce them in all my crates.
Futures-lite seems like it could make a difference in prodash, so I tried to migrate. Right now, I would be missing the following capabilities to finish the transition:

crosstermion

StreamExt::filter_map(…) (if I had to chose one, this would be it)

prodash::tui::engine

stream::select_all(…)
StreamExt::map(…)
StreamExt::boxed(…) (see #1)

Even though I could add boxed* myself (or could have worked around it), I feel way less confident about contributing implementations for the above without having a conversation first and most certainly guidance.
Do you consider adding those at some point and/or would you be open to contributions for these?
Thanks a bunch!
Edit: I will get started on implementing these unless @stjepang gets to them more quickly.

Yes, I intend to add those methods :) It's just that adding them is kind of boring manual work so in the first version I only implemented the combinators I personally needed.

I am glad to hear that, as it means I can delve into contributing these soonish. It would be my first 'manual' implementation of combinators, and I am a little bit afraid of the unknown. But on the other hand, this is certainly the safest place to get started with it, so I will open a WIP PR for these once I get started on these to avoid duplicate work and allow early feedback.
Wish me luck 😅

So the way I add these combinators is I look at what futures-rs and async-std have and then take whichever implementation/docs look better :)

That sounds easy enough! The devil lurks in the detail, but I am sure it will work. Thanks for the hint :), always appreciated!

Since futures-lite 1.4, I managed to get rid of all futures_util usages, except for a single use of StreamExt::select_all(…). The latter could be emulated with something like StreamExt::race(…) I presume.
Maybe race for streams could be implemented similarly.

@Byron I'm curious -- do you perhaps have an example use case for stream::select_all()?
I wonder if race() and race!() should be enough. Do you think we'd also need race_all()?

I used select_all to merge three streams into one, which in my case is fine with stream::or (it’s ok that it is biased).
Personally I prefer stream::all over select_all even, but some might be interested in a fair race_all of some sort.
Sent from my iPhone

On 16. Sep 2020, at 22:04, Stjepan Glavina<EMAIL_ADDRESS>wrote:

@Byron I'm curious -- do you perhaps have an example use case for stream::select_all()?
I wonder if race() and race!() should be enough. Do you think we'd also need race_all()?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I have now also added stream::race() and StreamExt::race() so you can use that if you need fairness.

Thanks for going the extra mile and making the APIs more symmetric!
Now the only feature I seem to be missing something akin to futures::join_all(). Despite me trying really hard, I was unable to emulate this with Task::spawn and awaiting all tasks in order. Which is odd, as join_all(…) probably is not much more than a balanced version of that.

For me it's ok to close this issue, the join_all part is just used in the dashboard example of prodash, thus won't cause extra dependencies for prodash consumers.

Hmm you an actually do join_all() using streams:
let results: Vec<_> = stream::iter(my_futures).then(|f| f).collect().await;

I should add this to the documentation.

Right, this is what streams are doing after all, it's quite a heureka moment for actually, so that I never saw join_all is actually a somewhat simple stream.
What I really like about futures-lite is that it doesn't just blindly copy an API that people are used to, but actually improves the naming for making the tradeoffs more obvious (i.e. or and race).
It would certainly be great to have that documented, and I wish there was a way to make this show if people search the crate docs for join_all or similar.

I am closing this issue as there really is nothing more to do here - spring cleaning :D.

I am closing this issue as there really is nothing more to do here - spring cleaning :D.


Remove the yellow alert

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2352 (d0e1e53) into master (2f5cc73) will decrease coverage by 0.77%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master    #2352      +/-   ##
============================================
- Coverage     58.20%   57.42%   -0.78%
+ Complexity     3955     3922      -33
============================================
  Files           629      629
  Lines         18061    18061
  Branches       1695     1694       -1
============================================
- Hits          10512    10372     -140
- Misses         6716     6861     +145
+ Partials        833      828       -5

Impacted Files
Coverage Δ

...ient/springcloud/init/ContextRegisterListener.java
0.00% <0.00%> (ø)

...cloud/init/SpringCloudClientBeanPostProcessor.java
76.00% <100.00%> (ø)

...apache/shenyu/admin/transfer/MetaDataTransfer.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rg/apache/shenyu/admin/utils/ThreadLocalUtils.java
0.00% <0.00%> (-66.67%)
:arrow_down:

...rvice/converter/DivideSelectorHandleConverter.java
28.57% <0.00%> (-28.58%)
:arrow_down:

...rvice/converter/SelectorHandleConverterFactor.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
69.90% <0.00%> (-19.42%)
:arrow_down:

...apache/shenyu/admin/utils/CommonUpstreamUtils.java
0.00% <0.00%> (-14.29%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
82.35% <0.00%> (-11.77%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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