map errors if function returns nothing

Bit of an edge case, but seems valid.
If using map on a KeyedDataset, and the block returns nothing, it errors, because of this line trying to assign nothing as a KeyedArray.
MWE:
julia> ds = KeyedDataset(:input => KeyedArray([1, 2]; a=[1, 2]));

julia> map(ds) do A
           println(typeof(A))
       end
KeyedArray{Int64, 1, NamedDimsArray{(:a,), Int64, 1, Vector{Int64}}, Base.RefValue{Vector{Int64}}}
ERROR: MethodError: Cannot `convert` an object of type
  Nothing to an object of type
  KeyedArray
Closest candidates are:
  convert(::Type{T}, ::LinearAlgebra.Factorization) where T<:AbstractArray at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/factorization.jl:58
  convert(::Type{T}, ::T) where T<:AbstractArray at abstractarray.jl:14
  convert(::Type{T}, ::T) where T at essentials.jl:205
Stacktrace:
 [1] setindex!(dd::OrderedCollections.LittleDict{Tuple, KeyedArray, Vector{Tuple}, Vector{KeyedArray}}, value::Nothing, key::Tuple{Symbol})
   @ OrderedCollections ~/.julia/packages/OrderedCollections/cP9uu/src/little_dict.jl:219
 [2] map!(f::var"#9#10", dest::KeyedDataset, src::KeyedDataset)
   @ AxisSets ~/.julia/packages/AxisSets/IddYk/src/functions.jl:49
 [3] map(::Function, ::KeyedDataset)
   @ AxisSets ~/.julia/packages/AxisSets/IddYk/src/functions.jl:41
 [4] top-level scope
   @ REPL[16]:1

If the point of map(::KeyedDataset) is only to modify the dataset, that may be fair, but I think it should either have a fallback, or a clearer error.

More generally, there are convenient uses of map that don't return KeyedArray.
E.g. checking if any components are empty: any(map(isempty, ds)) rather than any(isempty.(values(ds.data))).

Yeah, I'll need to look more closely with how map figures out the return types for allocating containers.


Does not work for posts with multiple pictures/videos

If a post contains more than one picture or video, the code will extract only the url of the first photo/picture. Any way to retrieve an array of all links?
Also is there a way to integrate the access token of a user in order to be able to download media from private accounts the current user has access to? Would be a great addition as well.
P.S. Love the simplicity and efficiency of this code!

Hey @EddieEJ :wave:
Thanks for the feedback! I'll try to incorporate fetching links for posts containing multiple media files.

This is working fine locally.. but not working when i hit an api using an ip..
Getting empty object.. Could you provide a solution for this


Reportback Entity Include Reportback Language

When a user reports back, the submission generate a reportback entity. The entity is sent to dosomehting_reportback_mbp_request($entity) which needs the language of the campaign to define what language the report back transactional email template and related merge_vars should be in.
Related / Blocking:

https://github.com/DoSomething/phoenix/pull/5801

cc @mikefantini

@angaither @mikefantini Any thoughts on who can work on this? I've never done custom entity work within Drupal 7. Happy to take a shot if you're good with my bumbling.

@DeeZone you should be able to call dosomething_global_get_language() with the correct params to get the node language

@angaither The tricky thing about dosomething_global_get_language($account, stdClass $node = NULL, $respect_url = TRUE) is the $node is not the campaign node but rather the reportback object when it comes time to trigger the transactional request. I think @blisteringherb ran into this as well.
Perhaps dosomething_global_get_current_prefix() could be used?

@DeeZone the reportback entity should have nid attached to it, you can pass that through
dosomething_global_get_language($account, node_load($entity->nid))

General functionality working. Possible bug in #5935 still to be resolved.


Bugs rendering code blocks inside lists

Newline before nested codeblocks in lists.

Fixed in v0.3.28.


Fix drm error message and create .cc file

I fixed the typo of the error log message (https://github.com/sony/flutter-embedded-linux/issues/83). Also, I created .cc file.

@taka-okayama Will you review the PR?


Bitfinex parse_order incorrectly assumes timestamp is float

I've encountered this when using fetch_order.
Casting order['timestamp'] to float before multiplying by 1000 and assigning to timestamp solves the issue.

Thanks for opening this issue and for reporting, we will fix that asap!

This is now fixed in version 1.6.104+. Thanks a lot for your feedback!


ActionBar not being sent

After using the ActionBar utility instance and sending it to the player, it doesn't show to them.

Solved by Deser


Unknown system table

Using 3.1-preview branch
Trying to scaffold an .mdb database and it errors out without finishing the scaffolding
I'm getting "Unknown system table" for both ConstraintColumns and ForeignKeys
Is it possible to skip over/ignore those system tables?

See https://github.com/bubibubi/EntityFrameworkCore.Jet/issues/55#issuecomment-680160106
Please try again with once the PR has been merged.

Seems to be solved with that update you did. The classes are generated and the Foreign Keys and their navigation properties appear correctly.
Haven't tested if the navigation properties actually work yet

Navigation properties work as expected. Works fine to Microsoft.EntityFrameworkCore.Proxies for the lazy loading of the navigation properties

I'll close this one then.


Types of errors docker in Windows?

When I began to start docker it stuck and there are so many bad problem with it
System: Windows 8.1 64-bit
I replace virtualbox 5.0.6 to virtualbox 5.0.7 Still, there's an error
Error One:
When Docker Quickstart Terminal want to begin Starting VM... is hanging.
Error two
I test my installation with docker run hello-world I get the following:
Post http://<IP_ADDRESS>:2375/v1.20/containers/create: dial tcp <IP_ADDRESS>:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.. * Are you trying to connect to a TLS-enabled daemon without TLS? * Is your docker daemon up and running?
Error three
Kinematic doesn't work It work until 99% BUT suddenly it doesn't work
Machine IP could not be fetched. Please retry the setup. If this fails please file a ticket on our GitHub repo.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

This sounds more like a Toolbox issue. Could you search the toolbox issues if an issue exists for this, or otherwise open it there? Thanks! https://github.com/docker/toolbox/issues


[Nagbar] Vertical panels get displaced

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
❯ hyprctl systeminfo -c
Hyprland 0.46.0 built from branch main at commit e75e2cdac79417ffdbbbe903f72668953483a4e7  (functionHooks: wait for hyprland pages before returning addr for trampo).
Date: Thu Dec 26 10:31:59 2024
Tag: v0.46.0-34-ge75e2cda, commits: 5589
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.3.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1

no flags were set

System Information:
System name: Linux
Node name: BIOSTAR-H61MHV3
Release: 6.12.7-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 27 Dec 2024 14:24:32 +0000

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP108 [GeForce GT 1030] [10de:1d01] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  565.77  Wed Nov 27 23:33:08 UTC 2024

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:
  hyprexpo by Vaxry ver 1.0

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

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

# #######################################################################################
# AUTOGENERATED HYPR CONFIG.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# #######################################################################################

#autogenerated = 1 # remove this line to remove the warning

# This is an example Hyprland config file.
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/

# Please note not all available settings / options are set here.
# For a full list, see the wiki

# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf

################
### MONITORS ###
################

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto

###################
### MY PROGRAMS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/

# Set programs that you use
$terminal = tilix
$fileManager = thunar
$menu = xfce4-appfinder -c

#################
### AUTOSTART ###
#################

# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:

exec-once = xfce4-session
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox

#############################
### ENVIRONMENT VARIABLES ###
#############################

# See https://wiki.hyprland.org/Configuring/Environment-variables/

env = XCURSOR_SIZE,16
env = HYPRCURSOR_SIZE,16

#####################
### LOOK AND FEEL ###
#####################

# Refer to https://wiki.hyprland.org/Configuring/Variables/

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    allow_tearing = true

    layout = master

    gaps_in = 2
    gaps_out = 4
		gaps_workspaces = 4

    col.active_border = rgba(5E81ACff)
    col.nogroup_border_active = rgba(BF616Aff)
    col.inactive_border = rgba(5E81ACff)
    col.nogroup_border = rgba(5E81ACff)

    border_size = 2
    resize_on_border = true
    extend_border_grab_area = 2
    hover_icon_on_border = true
    resize_corner = 0 # 1-4 going clockwise from top left, 0 to disable

    snap {
      enabled = true
      window_gap = 4
      monitor_gap = 2
      border_overlap = false
    }

}

decoration {
    rounding = 6

    active_opacity = 1.0
    inactive_opacity = 1.0
    fullscreen_opacity = 1.0

    dim_inactive = true
    dim_strength = 0.1
		dim_special = 0.2
		dim_around = 0.4

		#screen_shader = ""

		blur {
		  enabled = false
		}

		shadow {
		  enabled = false
		}
}

animations {
    enabled = true
    first_launch_animation = true

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    pseudotile = true
    force_split = 0 # 0~2
    smart_split = true
    smart_resizing = true
    preserve_split = true
    permanent_direction_override = false
    special_scale_factor = 1.0 # 0~1
    split_width_multiplier = 1.0
    use_active_for_splits = false
    default_split_ratio = 1.0 # 0.1~1.9
    split_bias = 1 # 0/1/2
}

master {
    orientation = center
    slave_count_for_center_master = 1
    allow_small_split = true
    special_scale_factor = 1
    mfact = 0.60
    new_status = master
    new_on_top = true
    new_on_active = after
    inherit_fullscreen = true
    smart_resizing = true
    drop_at_cursor = true
}

misc {
    force_default_wallpaper = 0
    disable_hyprland_logo = true
    vfr = true
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    resolve_binds_by_sym = false

    numlock_by_default = true

    repeat_rate = 24
    repeat_delay = 600

    kb_model =
    kb_layout = us
    kb_variant =
    kb_options = terminate:ctrl_alt_bksp
    kb_rules =
    kb_file =

    follow_mouse = 1 # 0 ~ 3
    mouse_refocus = true
    float_switch_override_focus = 0 # 0 ~ 2
    special_fallthrough = false
    off_window_axis_events = 2 # 0 ~ 3
    focus_on_close = 0 # 0/1

    left_handed = false

    force_no_accel = true
    accel_profile = flat # adaptive / flat / custom / leave empty
    scroll_points =   # accel_profile is custom, <step> <points>
    scroll_method =   # 2fg / edge / on_button_down / no_scroll
    scroll_button = 0 # ID
    scroll_button_lock = true
    scroll_factor = 1.0
    natural_scroll = true
    emulate_discrete_scroll = 2 # 0 ~ 2
    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

    touchpad {

    }
}

gestures {
    workspace_swipe = false
}

device {
    name = epic-mouse-v1
    sensitivity = -0.5
}

###################
### KEYBINDINGS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier

bindel = $mainMod, Print, exec, /usr/share/sway-contrib/grimshot --cursor savecopy screen
bindel = $mainMod Shift, Print, exec, /usr/share/sway-contrib/grimshot --cursor savecopy active
bindel = $mainMod Control, Print, exec, /usr/share/sway-contrib/grimshot --cursor savecopy area
bindel = $mainMod Alt, Print, exec, /usr/share/sway-contrib/grimshot --cursor savecopy output

bind = $mainMod, X, layoutmsg, addmaster
bind = $mainMod Shift, X, layoutmsg, removemaster
bind = $mainMod, m, layoutmsg, swapwithmaster master

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, killactive,
bind = $mainMod, C, killactive,
bind = $mainMod Shift, M, exit,
bind = $mainMod, V, togglefloating,
bind = $mainMod, E, exec,xfce4-popup-whiskermenu
bind = $mainMod Shift, E, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
#bind = $mainMod, left, layoutmsg, rollprevious
bind = $mainMod, right, movefocus, r
#bind = $mainMod, right, layoutmsg, rollnext
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Fix Select Gtk
#bind = , mouse:274, exec, ;

# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-

bindel = $mainMod, enter, exec, $terminal

##############################
### WINDOWS AND WORKSPACES ###
##############################

# Example windowrule v1
# windowrule = float, ^(kitty)$
windowrule = float, ^(xfce4-appfinder)$

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

#windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = float,class:^(xfce4-panel)$,title:^(xfce4-panel)$

###############################
### Plugins
###############################
exec-once = hyprpm reload -n

#bind = SUPER, W, hyprexpo:expo, toggle
#bind = $mainMod, t, togglegroup

plugin {
  hyprbars {
      # example config
      bar_height = 24

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

	hy3 {
	  # disable gaps when only one window is onscreen
	  # 0 - always show gaps
	  # 1 - hide gaps with a single window onscreen
	  # 2 - 1 but also show the window border
	  # no_gaps_when_only = <int> # default: 0

	  # policy controlling what happens when a node is removed from a group,
	  # leaving only a group
	  # 0 = remove the nested group
	  # 1 = keep the nested group
	  # 2 = keep the nested group only if its parent is a tab group
	  # node_collapse_policy = <int> # default: 2

	  # offset from group split direction when only one window is in a group
	  # group_inset = <int> # default: 10

	  # if a tab group will automatically be created for the first window spawned in a workspace
	  # tab_first_window = <bool>

	  # tab group settings
	  tabs {
	    # height of the tab bar
	    #height = <int> # default: 15

	    # padding between the tab bar and its focused node
	    #padding = <int> # default: 5

	    # the tab bar should animate in/out from the top instead of below the window
	    #from_top = <bool> # default: false

	    # rounding of tab bar corners
	    #rounding = <int> # default: 3

	    # render the window title on the bar
	    #render_text = <bool> # default: true

	    # center the window title
	    #text_center = <bool> # default: false

	    # font to render the window title with
	    #text_font = <string> # default: Sans

	    # height of the window title
	    #text_height = <int> # default: 8

	    # left padding of the window title
	    #text_padding = <int> # default: 3

	    # active tab bar segment color
	    #col.active = <color> # default: 0xff32b4ff

	    # urgent tab bar segment color
	    #col.urgent = <color> # default: 0xffff4f4f

	    # inactive tab bar segment color
	    #col.inactive = <color> # default: 0x80808080

	    # active tab bar text color
	    #col.text.active = <color> # default: 0xff000000

	    # urgent tab bar text color
	    #col.text.urgent = <color> # default: 0xff000000

	    # inactive tab bar text color
	    #col.text.inactive = <color> # default: 0xff000000
	  }

	  # autotiling settings
	  autotile {
	    # enable autotile
	    # enable = <bool> # default: false

	    # make autotile-created groups ephemeral
	    # ephemeral_groups = <bool> # default: true

	    # if a window would be squished smaller than this width, a vertical split will be created
	    # -1 = never automatically split vertically
	    # 0 = always automatically split vertically
	    # <number> = pixel width to split at
	    # trigger_width = <int> # default: 0

	    # if a window would be squished smaller than this height, a horizontal split will be created
	    # -1 = never automatically split horizontally
	    # 0 = always automatically split horizontally
	    # <number> = pixel height to split at
	    # trigger_height = <int> # default: 0

	    # a space or comma separated list of workspace ids where autotile should be enabled
	    # it's possible to create an exception rule by prefixing the definition with "not:"
	    # workspaces = 1,2 # autotiling will only be enabled on workspaces 1 and 2
	    # workspaces = not:1,2 # autotiling will be enabled on all workspaces except 1 and 2
	    # workspaces = <string> # default: all
	  }
	}
}

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

Description
Nagbar, displaces vertical panels that reserve screen space.
Here are xfce and lxqt panels.

This works well with horizontal panels but not vertical ones.
I think that if nagbar respects layer shell and only draws in avalible screen area would be a far better solution.
How to reproduce
Add a vertical panel like xfce4-panel or lxqt-panel and enable the reserve space function. Trigger nagbar.
Crash reports, logs, images, videos
No response

I don't see the problem, maybe a language barrier, are you talking about the fact that out of the two bars, only one gets moved out of the way, or the fact that they get moved out of the way at all?

I don't see the problem, maybe a language barrier, are you talking about the fact that out of the two bars, only one gets moved out of the way, or the fact that they get moved out of the way at all?

Yes, it is becouse it is moved out of the way at all. When you move a horizontal bar you still have everything on it visible , but if you move a vertical bar/panel/dock down, part of it is hidden offscreen.

hm, I don't think this is easily doable. I also don't think it's such a big deal either, once you fix config errors there won't be any problems anymore

hm, I don't think this is easily doable. I also don't think it's such a big deal either, once you fix config errors there won't be any problems anymore

That is true.


feat: Add @dxos/kube-testing

🤖 Generated by Copilot at a9dedcd
Summary
🚀🧪📝

Refactored and improved the test code and utilities for the @dxos/mesh and @dxos/signal modules, using consistent modules, helpers, and assertions. Added license headers to some files in the @dxos/gravity/kube-testing module.

We're testing the signal server, SignalServerRunner is the name
We've refactored and renamed it, to make it easier to tame
So heave away, me hearties, heave away with all your might
We'll run the tests and pass them all, before the end of night

Walkthrough

Refactor and rename the @dxos/signal module to use a more generic and flexible way of running signal servers for testing, and update the imports and usage of the module in other packages. (link, link, link, link, link, link, link, link, link, link, link, link, link)
Change the type and initialization of broker variables in test files to use SignalServerRunner instead of TestBroker. (link, link, link, link, link, link)
Replace the debug module with @dxos/log and import the process module from node:process in signal-server-runner.ts. (link)
Change the log level for the signal server stderr output from debug to warn in signal-server-runner.ts. (link)
Assign the server variable to the _serverProcess property of the SignalServerRunner class in signal-server-runner.ts. (link)
Change the log output for the broker response from console.log to log in signal-server-runner.ts. (link)
Add a comment to indicate the values of the ARCH and OS constants in signal-server-runner.ts. (link)
Add a new test case to websocket-signal-manager.test.ts to test the functionality of joining a single swarm with two clients connected to two different brokers, and sending and receiving messages between them. (link)

Add two new imports: asyncTimeout and sleep from @dxos/async to websocket-signal-manager.test.ts. (link)
Add a new helper function to websocket-signal-manager.test.ts to expect a specific message to be received by a client. (link)

Add license header comments to the files of the @dxos/gravity/kube-testing module, which were missing before. (link, link, link)

Current dependencies on/for this PR:

main

PR #3104   👈

This comment was auto-generated by Graphite.


Add ondisk sync backend

This commit adds remote sync support to the ondisk backend. It uses
minio to support a number of cloud storage products as well as self
hosted minio servers.
RELEASE_NOTES=[FEATURE] Add remote sync support for the ondisk backend.
Signed-off-by: Dominik Schulz<EMAIL_ADDRESS>

Codecov Report

Merging #1443 into master will decrease coverage by 0.39%.
The diff coverage is 34.42%.

@@            Coverage Diff             @@
##           master    #1443      +/-   ##
==========================================
- Coverage   64.25%   63.87%   -0.39%
==========================================
  Files         203      209       +6
  Lines       11607    11759     +152
==========================================
+ Hits         7458     7510      +52
- Misses       3338     3426      +88
- Partials      811      823      +12

Impacted Files
Coverage Δ

internal/backend/rcs/noop/loader.go
14.29% <0.00%> (ø)

internal/backend/storage.go
52.78% <ø> (ø)

internal/backend/storage/fs/store.go
45.36% <0.00%> (-0.95%)
:arrow_down:

internal/backend/storage/kv/ondisk/gjs/store.go
0.00% <0.00%> (ø)

internal/store/leaf/rcs.go
37.50% <0.00%> (-22.50%)
:arrow_down:

main.go
50.00% <0.00%> (-0.35%)
:arrow_down:

internal/backend/storage/kv/ondisk/gjs/entry.go
8.33% <8.33%> (ø)

internal/backend/storage/kv/ondisk/gjs/merge.go
44.00% <44.00%> (ø)

internal/backend/storage/kv/ondisk/gjs/gjs.go
50.00% <50.00%> (ø)

internal/backend/storage/kv/ondisk/gjs/revision.go
53.85% <53.85%> (ø)

... 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 a3b0ae7...a454c9a. Read the comment docs.


Add Ethereum Name Service (ENS)

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no direct affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Can you add both ens and ethereum-name-service tags? Both of them are quite used in ENS-related projects.

where?

Do you mean where to add them or where are they used?
You can add them as aliases. See here how bitcoin tag does this.
Also ens tag has 56 repositories and ethereum-name-service has 5 repositories. Even if ens is more popular, both are existing and should be handled properly.

💯 🍨 Thank you for your contribution! I'll merge this in as soon as CI is 🍏


Arabic Support / core multi-language extensibility model?

I think it would be a good idea to add support for Arabic.
but first we would still have to work on secularism, separation of religion and state, tolerance or in general not taking religious texts too seriously. ☹
aside from the sad-but-it's-true-reality jokes, I'm serious about helping out.
i'm a native Arabic speaker from.. the best place in the middle east you could possibly be in (OMG i'm so lucky for being born here, thank you god for that excellent choice, if you exist anyway..)
anyways..
we'll need new NLP POS taggers for each new language, the best one for Arabic I know of are Stanford's, but they are written in Java, couldn't find any in vanilla JS.

That would be awesome! However, it does involve a lot of work.
I can help with that, but I can’t help with Arabic. Are you interested and able in taking this on?

Sorry, didn’t mean to close it yet.

@codezplz Ping!

Closing due to no response.
Feel free to ping again and I’ll open it again if someone would like to work on this.


Update image for k8s

This was forgotten in the release of 1.0.1

I will make a separate PR to update RELEASE_PROCESS.md so we don't forget to update k8s/bigchaindb/bigchaindb-dep.yaml in the future.


[incubator/kafka] Update README.md with examples for broker external access

What this PR does / why we need it:
This adds detailed instructions and an example to setup broker external
access using external service type NodePort and LoadBalancer. These
instructions will help people new to kafka deployments avoid making
mistakes with broker setup.
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md

This is great @mayankkapoor thanks for the update!
/ok-to-test
/lgtm

/assign @benjigoldberg

@benjigoldberg Sorry for the commit after you added the /lgtm label, had to fix a typo. Please add the label again.

/lgtm
no problem


Navigation Rail

I have a Scaffold in the MainActivity which shows a NavigatioRail or a Bottom Bar component depending on whether the app is spanned or it's a foldable Expanded device or it's a Compact/Medium display (i just used WindowsState as stated in some other Windows example projects). The NavigationRail is wrapped as a Component into a Row layout into the Scaffold and I noticed that when it's laid out Horizontally, the first pane just gets cut out at the very end whilst the second pane is laid out correctly.
One more thing: I didn't assign a weight to none of the 2 panes.
Could you please fix this? Thanks

Hi @Gaetano-Dati, we will look into this issue! Would you be able to provide a screenshot of the problem? Also, which device/emulator are you running your app on? Thanks in advance 😄

Good morning, thank you for replying.
This is what I get on my Surface duo emulator when showing on double pane and Navigation Rail.

And this is portrait mode, although items are split by the hinge, the card is still completely visible on it's width.

This is the way I add my composables:
@ExperimentalAnimationApi
@Composable
fun ComposerExampleApp(
    windowState: WindowState
) {
    val navController = rememberAnimatedNavController()
    val scaffoldState = rememberScaffoldState()

    val shouldShowDualScreen = if(windowState.isPortrait()) {
        windowState.heightSizeClass == WindowSizeClass.EXPANDED
    } else windowState.widthSizeClass == WindowSizeClass.EXPANDED

    Scaffold(
        modifier = Modifier.fillMaxSize(),
        scaffoldState = scaffoldState,
        topBar = {
            TopBar(navController)
        },
        bottomBar = {
            if (!shouldShowDualScreen)
                BottomNavigationBar(navController)
        },
        floatingActionButton = {
            if (!shouldShowDualScreen)
                FloatingActionButton(
                    onClick = { /*TODO*/ },
                    backgroundColor = MaterialTheme.colors.primary,
                    contentColor = MaterialTheme.colors.onPrimary
                ) {
                    Icon(Icons.Filled.Email, "")
                }
        },
        isFloatingActionButtonDocked = true,
        floatingActionButtonPosition = FabPosition.End
    ) { innerPadding ->
        Row {
            if (shouldShowDualScreen)
                NavigationRailView(navController = navController)

            Navigation(
                navController = navController,
                innerPadding = innerPadding
            )
        }
    }
}

@ExperimentalAnimationApi
@Composable
fun Navigation(
    navController: NavHostController,
    innerPadding: PaddingValues
) {
    AnimatedNavHost(
        navController = navController,
        startDestination = Constants.HOME_GRAPH_ROUTE,
        route = Constants.ROOT_GRAPH_ROUTE,
        modifier = Modifier.padding(innerPadding).fillMaxSize()
    ) {
        homeNavGraph(navController = navController)
        musicNavGraph(navController = navController)
        booksNavGraph(navController = navController)
        profileNavGraph(navController = navController)
    }
}

@ExperimentalAnimationApi
fun NavGraphBuilder.homeNavGraph(
    navController: NavHostController
) {
    navigation(
        startDestination = NavScreen.Home.route,
        route = Constants.HOME_GRAPH_ROUTE
    ) {
        composable(
            route = NavScreen.Home.route,
            enterTransition = { fadeInTransition() },
            exitTransition = { fadeOutTransition() }
        ) {
            HomeScreen(
                onNavigate = { route -> navController.navigate(route) },
                viewModel = hiltViewModel()
            )
        }
    }
}

@ExperimentalAnimationApi
@Composable
fun HomeScreen(
    onNavigate: (route: String) -> Unit,
    viewModel: PassengersViewModel
) {
    TwoPaneLayout(
        pane1 = {
            HomeScreenRegular(
                onNavigate = { route -> onNavigate(route) },
                viewModel = viewModel,
                modifier = Modifier.weight(1F)
            )
        },
        pane2 = {
            DetailScreen(
                onNavigate = { route -> onNavigate(route) },
                viewModel = viewModel,
                modifier = Modifier.weight(1F)
            )
        },
        paneMode = TwoPaneMode.HorizontalSingle
    )
}

Please let me know if I was mistaken.
Also: I'd like to ask if there's a better way to implement the TwoPaneLayout using navigation.
Thanks in advance

Thanks for the information @Gaetano-Dati ! We actually recommend that you place navigation within your TwoPaneLayout, so the TwoPaneLayout is the highest-level composable in your app. That means your Scaffold, NavigationRail, and other layout components should exist within the TwoPaneLayout panes. For navigation, what you have looks great! It can be complicated to set up navigation within the TwoPaneLayout, so if you have any feature requests or suggestions for how to make it easier for you to use, please let us know. If you haven't seen it already, we also have a sample that uses simple navigation and a navigation rail with TwoPaneLayout: https://github.com/microsoft/surface-duo-compose-samples/tree/main/NavigationRail

Hi, I already had a look at the project about the NavigationRail. Thank you.
I do have some enhancements which I'd like to tell:

Insert as many panes as needed because we could also have a navigation deeper than 2 panes. What if in the DetailScreen for example we should open a WebView or something? I assume that pane1 is always the primary navigation selected either by bottom bar or nav rail or drawer

Then the chance to pass the NavHostController as an argument and then encourage the developer to use navigation instead of just calling navigateToPane1() or navigateToPane2() as maybe we could receive a DeepLink or need some args and so we could use the power of navigation itself instead of struggling to modify some data in the ViewModel. That way we could just have independent ViewModels for each screen

Obviously this is my own idea, I didn't take a look at the whole source code to check if it's possible to implement these features.

Closing this issue as discussed! Thank you for the enhancement suggestions 😄
Note: when Scaffold and TopAppBar are placed within the panes of TwoPaneLayout, as we recommend, this can lead to a flashing in the top bar when single screen and navigateToPane1 or navigateToPane2 are called. This is because the navigation animation extends all the way up to the TopAppBar, instead of being contained within the Scaffold content.


remove -Zmiri-ignore-leaks from miri CI job

remove -Zmiri-ignore-leaks from CI args and fix leaks that miri detects.
The first leak:
    #[test]
    fn blob_vec_drop_empty_capacity() {
        let item_layout = Layout::new::<Foo>();
        let drop = drop_ptr::<Foo>;
        let _ = unsafe { BlobVec::new(item_layout, Some(drop), 0) };
    }

this is because we allocate the swap scratch in blobvec regardless of what the capacity is, but we only deallocate if capacity is > 0
The second leak:
    #[test]
    fn panic_while_overwriting_component() {
        let helper = DropTestHelper::new();

        let res = panic::catch_unwind(|| {
            let mut world = World::new();
            world
                .spawn()
                .insert(helper.make_component(true, 0))
                .insert(helper.make_component(false, 1));

            println!("Done inserting! Dropping world...");
        });

        let drop_log = helper.finish(res);

        assert_eq!(
            &*drop_log,
            [
                DropLogItem::Create(0),
                DropLogItem::Create(1),
                DropLogItem::Drop(0),
            ]
        );
    }

this is caused by us not running the drop impl on the to-be-inserted component if the drop impl of the overwritten component panics

managed to figure out where the leaks were by using this 10/10 command
cargo --quiet test --lib -- --list | sed 's/: test$//' | MIRIFLAGS="-Zmiri-disable-isolation" xargs -n1 cargo miri test --lib -- --exact

which runs every test one by one rather than all at once which let miri actually tell me which test had the leak :upside_down_face:

Can we get that command added to somewhere in the docs?

test query::tests::self_conflicting_worldquery - should panic ... ok
warning: thread support is experimental and incomplete: weak memory effects are not emulated.

Looks like there's a warning that should be ignored?

bors retry

bors r+


Reordering Flexible Criteria isn't persisted

In Assignments -> Settings -> Marking scheme, you can reorder the criteria; but when you leave the page, those ordering changes are lost.

This is true for rubric criteria as well.


Add function for specifying keys to Dropdown

In earlier versions this worked fine (probably anything before #358 ), but now after upgrading to version 0.26.0 the following:
<Dropdown items={ [[0, 'Item A'], [1, 'Item B']] } itemToString={item => item[0]} />

produces the error

Cannot have duplicate keys in a keyed each

As soon as I click on the dropdown.
I think the best thing to do would be to add a parameter to ComboBox, Dropdown, and MultiSelect components that behaves like itemToString but for getting keys instead of items.

items type is expected to be { id: string; text: string; }[].

items type is expected to be { id: string; text: string; }[].

I guess I'm just used to using component libraries that don't care about how your data is formatted. I made items look like that and it worked. Thank you.

I guess I'm just used to using component libraries that don't care about how your data is formatted. I made items look like that and it worked. Thank you.


[SPARK-44055][CORE] Remove redundant override functions from CheckpointRDD

What changes were proposed in this pull request?
This pr aims to remove redundant override functions (getPartitions and compute) from CheckpointRDD due to the bug mentioned in the comment for mima check no longer exists.
Why are the changes needed?
Code Cleanup.
Does this PR introduce any user-facing change?
No
How was this patch tested?

Pass GitHub Actions
Manual checked:

dev/mima

and
dev/change-scala-version.sh 2.13
dev/mima -Pscala-2.13

All passed.

Thanks all, let's waiting ci

All test passed

Merged to master. Thanks @dongjoon-hyun @HyukjinKwon @yaooqinn


Add monitor for bad messages

Motivation and Context

We would like to update the bad message metric to alert by queue
What has changed

New function to grab bad message summaries from exception manager
How to test?

TBC
Links

https://trello.com/c/XYJL16hT/2121-update-bad-message-alerts-8

 Update bad message alerts (8)


New time editor react weirdly to mouse wheel scrolling

On scrolling the time value in "World Info", it switches between AP and PM, rather than adjusts the time value.

Did you interact with the AM/PM setting last? It may just be defaulting to the last used thing.

Oh, sorry it's my fault. The value bar reacts differently when I point my cursor to different fields of the value. I was pointing at "AM" at that time so I thought it's a bug. :sweat_smile:


Change instances of 'Digital Ocean' to 'DigitalOcean'

This PR addresses https://github.com/pulumi/pulumi-digitalocean/issues/314
Before closing that issue, however, someone should adjust the name "Digital Ocean" in the "About" section of the README. I don't have the (admin?) access that I need to make the change myself. See #314 for a screenshot.

I edited the two D O instances that I saw in the About gutter
On Wed, Jun 8, 2022 at 2:22 PM Robbie McKinstry @.***>
wrote:

This PR addresses #314
https://github.com/pulumi/pulumi-digitalocean/issues/314
Before closing that issue, however, someone should adjust the name
"Digital Ocean" in the "About" section of the README. I don't have the
(admin?) access that I need to make the change myself. See #314
https://github.com/pulumi/pulumi-digitalocean/issues/314 for a
screenshot.
You can view, comment on, or merge this pull request online at:
https://github.com/pulumi/pulumi-digitalocean/pull/315
Commit Summary

0af67ca
https://github.com/pulumi/pulumi-digitalocean/pull/315/commits/0af67caab61e8177ccb890d6437c2b62069f5f91
Change instances of 'Digital Ocean' to 'DigitalOcean'

File Changes
(9 files https://github.com/pulumi/pulumi-digitalocean/pull/315/files)

M CHANGELOG_OLD.md
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-e85621ea09c6218f5f86438cf6c266d6431f1b7021bf813ec1be51089b12dee6
(4)
M provider/cmd/pulumi-resource-digitalocean/schema.json
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-f6d752fe78b1a32f315790d12f82c1d0c9ec8bdcaa5ae9646b54d5fff3225a05
(6)
M provider/resources.go
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-34c57e622183cb0d8dd0d3f9eaa0861b3340120e9b2ad811bac7ac7be4cea4b1
(10)
M sdk/dotnet/Config/README.md
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-1302b3216fce02b3788e187184f899498e70a81f7a0e25b1481cbd4a6555d696
(2)
M sdk/dotnet/Pulumi.DigitalOcean.csproj
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-49e7aa5b0258dfac6825c42bdc269e2481ccd9e5abd35df99a3f804de2f50ae4
(2)
M sdk/dotnet/README.md
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-3b0d437c6ca78c332709c0eb55cfd4ffb730f17e71ddaaca05f030b597bae11e
(2)
M sdk/go/digitalocean/doc.go
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-c169a1836e261516dfb20773c7f89daa42754cad0b0509225c8ceae1dd3eac32
(2)
M sdk/nodejs/package.json
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-0d53ce0d334b84822a2dbdf673d0456efbacb59a76f72aabbfb1b7f8203a58f7
(2)
M sdk/python/setup.py
https://github.com/pulumi/pulumi-digitalocean/pull/315/files#diff-8366737b184f0d1a701750bcaa20c1f87f4b13b025af98d0edf4a32a716e67eb
(2)

Patch Links:

https://github.com/pulumi/pulumi-digitalocean/pull/315.patch
https://github.com/pulumi/pulumi-digitalocean/pull/315.diff

—
Reply to this email directly, view it on GitHub
https://github.com/pulumi/pulumi-digitalocean/pull/315, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB77TQWOZPB736H4GYBFD7TVOEFJDANCNFSM5YH5JFBA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


AAP-25320: Analytics Telemetry: Filter out playbook keywords from the prediction to guarantee parsing the right module/collection

Jira Issue: https://issues.redhat.com/browse/AAP-25320
Description
Guarantee  we are filtering out Ansible Playbook's Task keywords from the module/collection parsing used for telemetry events payload.
Considerations

Tested this PR on top of https://github.com/ansible/ansible-ai-connect-service/pull/1108 , in order to ensure no dependency to ansible is declared (just the ansible-core one)

Couldn't find a suitable (pre-computed) List object in ansible-core that provides all available Task's class (and subclasses) fields available to use, so did a once (global) computation to get that list/set
-- Upsides: Dynamic Task fields available. No need for further maintaining once upgrading
-- Downsides: Memoized value (memory consumption). Computation costs once spinning up a pod, in order to memoize the value. Although honestly both values are not really considerable, I guess

Another solution we can take is just to "hardcode" values somewhere in code, although will require for a few maintenance on doing ansible-core upgrades, but will not require for initial computation costs, just runtime predicate checks

Another solution is do this same class introspection logic, but instead of at runtime, do it during some phase on the build time, so no initial computation costs, just runtime predicate checks again

Scenarios tested
Tested by running actual unit tests, and increasing the coverage to support those edge cases.
Production deployment

[x] This code change is ready for production on its own
[ ] This code change requires the following considerations before going to production:

Rebased and signed commit


.JSON / .YML files incomplete

After implementing a PoC of this tool in one of my APIs, I noticed that while the CSDL generated from my OData models is complete, the output .JSON / .YML files are not.
They end abruptly, as you can see below.

.yml Example

.json Example

Example of implementation. Some of this may be incorrect, considering the documentation doesn't seem to have been updated in the readme, but after some time of figuring it out I was at least able to get the document generated.
Any chance anyone can reproduce this or give me an idea as to what I may be doing incorrectly that is causing this to happen?

@hunter-ledet Thanks for reaching to me. Can you share me with your CSDL metadata or the codes in GetEdmModel() for me to verify? Thanks.

@xuzhg

Still waiting on confirmation to send a copy of the CSDL, but I can confirm that it is complete and properly closed off / contains all necessary information regarding our models / navigational properties

Here is the CSDL file
csdlFinal.txt

@hunter-ledet
I used your CSDL and added two test cases for JSON and YMAL. So far it looks fine. You can find it at https://github.com/microsoft/OpenAPI.NET.OData/commit/37f49c4e3d048f6c495558600dd343281f0260b5
Would you please verify at your side why it's not finished completely? Maybe the writing stream is not flushed?

@xuzhg
Flushing the writing stream did it for me. I was running off of the examples given in the readme.md, and it made total sense to me when you suggested it that it may have been the issue.
Appreciate the help!


Forge - Bug/Issue

Describe the bug
CTD while loading
Crash log: https://gist.github.com/CloWnicide/b94decbedee8d4b657d59dbf8614ba76

U have like 300 mods maybe there are mods that isn't compatible with netherite plus
"I think"

no its a forge issue

Can confirm when I updated to 36.1.2 of Forge is when the issue started. Worked perfectly fine before then.


[BUG] Caret pos calculations always treats non-TextExt custom nodes as if they were length 1

Expected Behavior
A non-TextExt custom node for which SegmentOps.length() returns a value > 1 is treated as if it actually were that length.
Actual Behavior
The non-TextExt custom node is treated in caret pos calculations as if it were always length 1, regardless of what SegmentOps.length() returns.
Reproducible Demo
To reproduce:

Start demo app
Click the middle of the word "jumped" to set caret pos
Type a letter
Observe that while the caret is displayed in the middle of the word "jumped" as expected, the actual caret is in the middle of CUSTOM_NODE, so the letter typed is inserted inside CUSTOM_NODE instead.
Observe that the caret pos, printed to stdout, is also wrong. When the caret pos was set by the click, the length of the custom node as returned by SegmentOps was counted as if it were only 1, despite it actually being more than 1. The caret erroneously ended up inside CUSTOM_NODE.

package com.demo.rtfxbugdemo;

import javafx.application.Application;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.layout.*;
import javafx.scene.paint.Paint;
import javafx.scene.text.TextFlow;
import javafx.stage.Stage;
import org.fxmisc.richtext.GenericStyledArea;
import org.fxmisc.richtext.TextExt;
import org.fxmisc.richtext.model.SegmentOps;
import org.fxmisc.richtext.model.StyledSegment;
import org.reactfx.util.Either;

import java.util.Optional;

public class CaretBugDemo extends Application {
    public class CustomSegment {
        private String text = null;

        public CustomSegment(String text) {
            this.text = text;
        }

        public Node toNode() {
            Region background = new Region();
            background.setMouseTransparent(true);
            background.setBackground(new Background(new BackgroundFill(Paint.valueOf("#ff00ff2f"), null, null)));

            return new StackPane(new TextExt(this.text), background);
        }

        public String getText() {
            return this.text;
        }
    }

    public class CustomSegOps implements SegmentOps<CustomSegment, Long> {
        @Override
        public int length(CustomSegment customSegment) {
            return customSegment.getText().length();
        }

        @Override
        public char charAt(CustomSegment customSegment, int index) {
            return customSegment.getText().charAt(index);
        }

        @Override
        public String getText(CustomSegment customSegment) {
            return customSegment.getText();
        }

        @Override
        public CustomSegment subSequence(CustomSegment customSegment, int start, int end) {
            return new CustomSegment(customSegment.getText().substring(start, end));
        }

        @Override
        public CustomSegment subSequence(CustomSegment customSegment, int start) {
            return new CustomSegment(customSegment.getText().substring(start));
        }

        @Override
        public Optional<CustomSegment> joinSeg(CustomSegment currentSeg, CustomSegment nextSeg) {
            return Optional.of(new CustomSegment(currentSeg.getText() + nextSeg.getText()));
        }

        @Override
        public CustomSegment createEmptySeg() {
            return new CustomSegment("");
        }
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        GenericStyledArea<Long, Either<String, CustomSegment>, Long> testArea = new GenericStyledArea<Long, Either<String, CustomSegment>, Long>(
                0L, this::applyParagraphStyle, 0L, SegmentOps.<Long>styledTextOps()._or(new CustomSegOps(), (s1, s2) -> Optional.of(0L)), this::createNode);
        Scene scene = new Scene(testArea);

        testArea.replaceText(0, 0, "The quick brown fox  jumped over the lazy dog.");
        testArea.insert(20,  Either.right(new CustomSegment("CUSTOM_NODE")), 0L);

        testArea.caretPositionProperty().addListener((observable, oldValue, newValue) -> {
            System.out.println("caret pos: " + newValue);
        });

        primaryStage.setWidth(480);
        primaryStage.setHeight(320);

        primaryStage.setScene(scene);
        primaryStage.show();
    }

    private Node createNode(StyledSegment<Either<String, CustomSegment>, Long> styledSegment) {
        Either<String, CustomSegment> seg = styledSegment.getSegment();
        return seg.isLeft() ? new TextExt(seg.getLeft()) : seg.getRight().toNode();
    }

    public void applyParagraphStyle(TextFlow textFlow, long style) {
    }
}

Environment info:

RichTextFX Version: 0.10.5
Operating System: Windows 10 x64 build 19041.450
Java version: Java 11 (Amazon Corretto 11)

RichTextFX delegates the caret position calculation to javafx.scene.text.TextFlow's method caretShape( charIdx, isLeading )
For background info, the RichTextFX class hierarchy for this is: ParagraphText extending TextFlowExt which extends TextFlow.
The method flow is ParagraphText.updateSingleCaret -> TextFlowExt.getCaretShape -> TextFlow.caretShape -> TextLayout
Which is probably why non-TextExt custom nodes can only have lengths of one. I'm not sure if anything can be done about this, if you have any ideas - please share.


Universal Module Definition

As discussed I have added UMD support to Squire, as well as an additional grunt task to test the code when required on the server side.
To do this I had to add "requirejs" as an explicit dependency in package.json
The tests are included as a separate commit. They incur a little bit of extra burden when changing the tests on the client side: configuration done outside of SquireTests.js needs to be duplicated in nodeTest.js
Please note that I did not bump the version number yet, as I am not sure what conventions for version numbers you use.

After using the code in my own project I realized that there is danger of global pollution. I will fix this and adapt the pull request.

Turned out the error was actually somewhere else and not in the Squire module. Nonetheless I have added a new pull request with a little more defenses against global pollution.


For statement may have empty parts

Don't need flows for parts that don't exist.

It's best to unroll the condition and initialization lists, make flow nodes for all of them. This will automatically handle empty parts.

Done, but the choice is optional too. To do.


ItemStacks should be constructable with a -1 size

The ItemStack builder doesn't currently allow an item stack to be created with a size of -1:
https://github.com/SpongePowered/SpongeCommon/blob/master/src/main/java/org/spongepowered/common/item/inventory/SpongeItemStackBuilder.java#L86
However, some portions of the Inventory API need ItemStack's with a size of -1 to function properly:
https://github.com/SpongePowered/SpongeAPI/blob/master/src/main/java/org/spongepowered/api/item/inventory/Inventory.java#L389

This is a duplicate of https://github.com/SpongePowered/SpongeCommon/issues/150
Please review open issues before creating them in the future.

I tried to, evidently not hard enough.


Change README to link to introduction notebook since required packages for other notebooks are not installed

See https://github.com/edmcman/ocaml-jupyter-binder-environment/issues/1

Thank you!


ENH: Show informative warning for phase1/2 type of fieldmaps

Close #1536

Changes proposed in this pull request
A quick fix to alert users that phase1/2 correction is not yet available.

Documentation that should be reviewed

None

Seems to be working. I'll take the risk of merging without review.


Is there any way to add interceptors to axios in API?

Hi.
I'm using "7.0.2" version of this package.
And I couldn't find any way how to add Interceptors to axios used in the API.
Is there any way how to add Interceptors or any other handlers?
I want to use this for standardized logging purposes.
Or if this is not currently supported, is it possible to add any way to access axios or define Interceptors in api constructor?
Link to axios interceptors: https://axios-http.com/docs/interceptors

Hi @Silveralius,
Thank you for bringing this to our attention;
We checked and found that it is not possible out of box from node SDK as of now. We have noted down this request as enhancement request on node SDK. It has the Jira Ticket DCM-12824
Regards,
Eric  | Docusign


[txservice] Sync providers

This is a rehash of #482
I took out the block listener stuff.
The Problem(s)
Just like subgraph, providers sometimes are out of sync or behave weirdly otherwise, giving bad txcount values, gas estimates, gas, etc.

we need to track how “in-sync” providers are (i.e. their relative “lag”)
we should never consult a provider that is out-of-sync (rn this is hardcoded as 30 or 40 blocks behind)
we should consult providers in order of how in-sync they are

Also, neverthrow is annoying. It bogs down implementations, and isn't doing anything anymore
The Solution

synchronize providers (just get the block number and compare them) every 60 seconds (this value is configurable)}
replace wrapper method for ChainRpcProvider with execute, which basically hands off the most in-sync provider (and if it fails, it calls the next one, etc).
added a typed ProviderCache. each cached value has ttl (there is also btl, blocks to live, but we can't use this without a block listener).
caching value blockPeriod locally to make wait periods (for polling) match the efficiency/speed (blocks per second/minute/whatever) of the chain.
removed usage of neverthrow (errors were being thrown 9/10 times anyway).
added some additional/improved error parsing

Checklist

[ ] Test manually on test-ui using remote chains.
[ ] Run load tests.
[x] Update documentation if needed.
[x] Update CHANGELOG.md.

attaching these load tests... they were run on the branch that was merged into this one, so equivalent to commit fb217da
txs 500
log_output_23.txt


nextcloud: expose generic as mkDerivation

Description of changes
As a remediation to #212912, because it is not acceptable to introduce pre-release versions of software into nixpkgs, it was proposed that we allow consumers to call generic from external derivations. As such, we have exposed it as nextcloud.mkDerivation, in line with other packages.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

if this is the direction we want to proceed in, it may be worth exposing nextcloud.{23,24,25} and moving away from nextcloud{23,24,25}?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1797

and moving away from nextcloud{23,24,25}?

Please don't. Migrations are already non-trivial, adding yet another hurdle isn't worth it (also, I still remember the "better structuring" of the linuxKernel attributes and I still think the new attributes are a pain to work with).

I concede that I implied we do this "boil the ocean" style, which was not intended as a hard ask. we should probably leave nextcloud{23,24,25} right where they are and just put nextcloud.26 in the new place; my concern is I think it will be confusing for most users to see pkgs.nextcloud and it be neither a derivation nor the latest (or pinned stable) version of nextcloud.

or we move everything under nextcloud have a structure like:
nextcloud = {
  mkNextcloudPackage
  nextcloud26
  nextcloud25
  nextcloud24
};

also makes aliases super easy.
@Ma27 what do you think?

the stutter, pkgs.nextcloud.nextcloud26, certainly irks me, but I am not fundamentally opposed; would you want to setup all the new symbols, or just slowly create new ones and remove deprecated ones?

Can't we just place nextcloudXX / mkNextcloudDerivation into the top-level? That's way easier for discoverability and doesn't change the semantics of the module.

That's way easier for discoverability

this could just be me, but "easier for discovery" seems like pkgs.nextcloud: everything lives in that one symbol.

and doesn't change the semantics of the module.

to confirm, the "semantics of the module" that change could be as simple as a single character:
-    package = pkgs.nextcloud25;
+    package = pkgs.nextcloud.26;

also, the repo seems split on convention; most derivations seem to group symbols like, pkgs.python or pkgs.terraform-providers, but others do spray at the top level like pkgs.terraform/pkgs.mkTerraform.

like, pkgs.python

OTOH we have python39/python310/etc. We also have php80Extensions/php81Extensions/etc. The grouping happens for "sub-packages", i.e. python modules.

to confirm, the "semantics of the module" that change could be as simple as a single character:

No. Right now there's a safeguard that assumes that pkgs.nextcloud doesn't exist anymore (it existed in the past before versioned attributes were introduced) *unless services.nextcloud.package was manually set (i.e. not with prio from mkDefault. This ensures that the version selection magic doesn't break with overlays declaring a nextcloud attribute), so I'm not really keen on re-adding pkgs.nextcloud.
Other than that, nextcloud.26 won't work anyways because the first char of an identifier must not be a number in Nix.

this could just be me, but "easier for discovery" seems like pkgs.nextcloud: everything lives in that one symbol.

So when you'll only search for nextcloud you'll see a single symbol vs you see several symbols that make it obvious that we have versioned attrs here?

OTOH we have python39/python310/etc. We also have php80Extensions/php81Extensions/etc. The grouping happens for "sub-packages", i.e. python modules.

That seems like a fair mental model: we do not group different versions of the same tool under a single symbol. I am a little curious why then we have php80Extensions as opposed to php80.extensions like terraform.plugins, but that is orthogonal to this discussion, and more targets nextcloud25Packages.

No. Right now there's a safeguard that assumes that pkgs.nextcloud doesn't exist anymore (it existed in the past before versioned attributes were introduced) *unless services.nextcloud.package was manually set (i.e. not with prio from mkDefault. This ensures that the version selection magic doesn't break with overlays declaring a nextcloud attribute), so I'm not really keen on re-adding pkgs.nextcloud.

I actually thing there is a large amount of value in having a "default" pkgs.nextcloud symbol. This seems to have a well defined meaning for both unstable (latest stable upstream release) and stable (pinned upstream release). But that is best left to a different pr/issue, as the goal here is about mkDerivation, and there may be context I am missing.

So when you'll only search for nextcloud you'll see a single symbol vs you see several symbols that make it obvious that we have versioned attrs here?

yeah, this all "felt" intuitive to me, but if this is the first place in nixpkgs that we have version attrs, I do not think this is the place to trial it.

Can't we just place nextcloudXX / mkNextcloudDerivation into the top-level? That's way easier for discoverability and doesn't change the semantics of the module.

Yes, lets go with that.

or we move everything under nextcloud have a structure like:
pkgs.nextcloud = {
  mkNextcloudPackage = { ... };
  nextcloud26 = { ... };
  nextcloud25 = { ... };
  nextcloud24 = { ... };
}

also makes aliases super easy.
@Ma27 what do you think?

I am unable to install nextcloud27, and I'm met with the following error:
building the system configuration...
error: attribute 'nextcloud27' missing

       at /home/jawz/Development/NixOS/configuration.nix:662:17:

          661|       https = true;
          662|       package = pkgs.nextcloud27;
             |                 ^
          663|       appstoreEnable = true;
       Did you mean one of nextcloud24, nextcloud25 or nextcloud26?
(use '--show-trace' to show detailed location information)

Could it be because 27 needs to be added to that list?

To what list?
It evaluates fine on master and 23.05. Are you sure your pkgs is recent enough for nextcloud27 because the error really seems like that isn't the case.

if this is the direction we want to proceed in, it may be worth exposing nextcloud.{23,24,25} and moving away from nextcloud{23,24,25}?

This won't work because Nix does not recurse in subattributes starting with digits, this is a known Nix bug.

I still think it's better to have nextcloud<Major> available globally, mostly for discoverability reasons (otherwise it's yet another ad-hoc way of structuring things inside an attribute-set which will worsen discoverability).

To what list?
It evaluates fine on master and 23.05. Are you sure your pkgs is recent enough for nextcloud27 because the error really seems like that isn't the case.

Sorry for reviving the thread then, I was trying to figure out if there was an open issue before opening my own, regarding the question yeah I am on 23.05, and yet I encounter that log message.

To what list?
It evaluates fine on master and 23.05. Are you sure your pkgs is recent enough for nextcloud27 because the error really seems like that isn't the case.

Sorry for reviving the thread then, I was trying to figure out if there was an open issue before opening my own, regarding the question yeah I am on 23.05, and yet I encounter that log message.

It seems highly likely you have a stale 23.05 or you are confusing the nixpkgs input in your situation.


[wxwidgets] error "No Target! You should use wx-config program for compilation flags!"

Is your feature request related to a problem? Please describe.
CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
cmake_policy(SET CMP0048 NEW)
project(pp VERSION 0.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 14)

file(DOWNLOAD https://raw.githubusercontent.com/wxWidgets/wxWidgets/c034a78/samples/widgets/button.cpp src/main.cpp
     EXPECTED_HASH SHA256=c94699427f8b4a90c7ae3e075210bc44ae80098b5303a564f11d3991c620328f)
file(DOWNLOAD https://raw.githubusercontent.com/wxWidgets/wxWidgets/WX_3_0_BRANCH/samples/widgets/icons/button.xpm icons/button.xpm
     EXPECTED_HASH SHA256=c7f7bf9a4b678376a20af95adc213a467450a71040710dacc168fa6885a1ad0f)

set(src ${CMAKE_CURRENT_BINARY_DIR}/src/main.cpp)
find_package(wxWidgets REQUIRED)
add_executable(${PROJECT_NAME} ${src})
target_include_directories(${PROJECT_NAME} PRIVATE ${wxWidgets_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${wxWidgets_LIBRARIES})

shell
$ [path]/vcpkg install wxwidgets
$ mkdir build && cd $_
$ cmake -DCMAKE_TOOLCHAIN_FILE=[root]/vcpkg/scripts/buildsystems/vcpkg.cmake ..
$ cmake --build .
[ 50%] Building CXX object CMakeFiles/pp.dir/src/main.cpp.o
In file included from /tmp/a/build/src/main.cpp:20:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/wxprec.h:12:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/defs.h:62:13: error: "No Target! You should use wx-config program for compilation flags!"
#           error "No Target! You should use wx-config program for compilation flags!"
            ^
In file included from /tmp/a/build/src/main.cpp:28:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/app.h:19:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/event.h:22:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/cursor.h:108:26: error: calling 'GetBusyCursor' with incomplete return type 'const wxCursor'
            wxSetCursor( wxBusyCursor::GetBusyCursor() );
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/utils.h:770:27: note: 'GetBusyCursor' declared here
    static const wxCursor GetBusyCursor();
                          ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:32:28: note: forward declaration of 'wxCursor'
class WXDLLIMPEXP_FWD_CORE wxCursor;
                           ^
In file included from /tmp/a/build/src/main.cpp:28:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/app.h:19:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/event.h:1921:14: error: field has incomplete type 'wxCursor'
    wxCursor m_cursor;
             ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:32:28: note: forward declaration of 'wxCursor'
class WXDLLIMPEXP_FWD_CORE wxCursor;
                           ^
In file included from /tmp/a/build/src/main.cpp:28:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/app.h:19:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/event.h:1904:11: error: no matching constructor for initialization of 'wxEvent'
        : wxEvent(event),
          ^       ~~~~~
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/event.h:964:5: note: candidate constructor not viable: no known conversion from 'const wxSetCursorEvent' to 'int' for 1st argument
    wxEvent(int winid = 0, wxEventType commandType = wxEVT_NULL );
    ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/event.h:1116:5: note: candidate constructor not viable: no known conversion from 'const wxSetCursorEvent' to 'const wxEvent' for 1st argument
    wxEvent(const wxEvent&);            // for implementing Clone()
    ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/event.h:1917:56: error: cannot initialize return object of type 'wxEvent *' with an rvalue of type 'wxSetCursorEvent *'
    virtual wxEvent *Clone() const wxOVERRIDE { return new wxSetCursorEvent(*this); }
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/a/build/src/main.cpp:28:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/app.h:798:11: error: use of undeclared identifier 'wxApp'
        { wxApp::SetInitializerFunction(fn); }
          ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:44:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bitmap.h:304:1: error: incomplete type 'wxBitmap' named in nested name specifier
wxBitmap::
^~~~~~~~~~
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:29:28: note: forward declaration of 'wxBitmap'
class WXDLLIMPEXP_FWD_CORE wxBitmap;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:25:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/region.h:239:24: error: 'wxRegion' is an incomplete type
    return DoIntersect(wxRegion(rect));
                       ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:37:28: note: forward declaration of 'wxRegion'
class WXDLLIMPEXP_FWD_CORE wxRegion;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:25:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/region.h:244:23: error: 'wxRegion' is an incomplete type
    return DoSubtract(wxRegion(rect));
                      ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:37:28: note: forward declaration of 'wxRegion'
class WXDLLIMPEXP_FWD_CORE wxRegion;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:25:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/region.h:249:18: error: 'wxRegion' is an incomplete type
    return DoXor(wxRegion(rect));
                 ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:37:28: note: forward declaration of 'wxRegion'
class WXDLLIMPEXP_FWD_CORE wxRegion;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:80:12: error: field has incomplete type 'wxFont'
    wxFont font;
           ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:33:28: note: forward declaration of 'wxFont'
class WXDLLIMPEXP_FWD_CORE wxFont;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:83:14: error: field has incomplete type 'wxColour'
    wxColour colFg;
             ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:31:28: note: forward declaration of 'wxColour'
class WXDLLIMPEXP_FWD_CORE wxColour;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:87:14: error: field has incomplete type 'wxColour'
    wxColour colBg;
             ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:31:28: note: forward declaration of 'wxColour'
class WXDLLIMPEXP_FWD_CORE wxColour;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:1537:13: error: unknown type name 'WXWidget'
    virtual WXWidget GetHandle() const = 0;
            ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:1539:34: error: unknown type name 'WXWidget'
    virtual void AssociateHandle(WXWidget WXUNUSED(handle)) { }
                                 ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:1690:26: error: field has incomplete type 'wxCursor'
    wxCursor             m_cursor;
                         ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:32:28: note: forward declaration of 'wxCursor'
class WXDLLIMPEXP_FWD_CORE wxCursor;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:1691:26: error: field has incomplete type 'wxFont'
    wxFont               m_font;                // see m_hasFont
                         ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:33:28: note: forward declaration of 'wxFont'
class WXDLLIMPEXP_FWD_CORE wxFont;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:1692:26: error: field has incomplete type 'wxColour'
    wxColour             m_backgroundColour,    //     m_hasBgCol
                         ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:31:28: note: forward declaration of 'wxColour'
class WXDLLIMPEXP_FWD_CORE wxColour;
                           ^
In file included from /tmp/a/build/src/main.cpp:31:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/bmpbuttn.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/button.h:18:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/anybutton.h:45:
In file included from vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/control.h:22:
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/window.h:1693:26: error: field has incomplete type 'wxColour'
                         m_foregroundColour;    //     m_hasFgCol
                         ^
vcpkg/packages/wxwidgets_x64-osx/include/wx-3.1/wx/gdicmn.h:31:28: note: forward declaration of 'wxColour'
class WXDLLIMPEXP_FWD_CORE wxColour;
                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/pp.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/pp.dir/all] Error 2
make: *** [all] Error 2

Proposed solution
Describe alternatives you've considered
I'm trying other cross-platform GUI frameworks that vcpkg 'supports', e.g., see the trackbacks at https://github.com/microsoft/vcpkg/issues/17052

Can you provide the cpp sample code?
Thanks.

Hi @JackBoosY yes the C++ code is included, see:
file(DOWNLOAD https://raw.githubusercontent.com/wxWidgets/wxWidgets/c034a78/samples/widgets/button.cpp src/main.cpp
     EXPECTED_HASH SHA256=c94699427f8b4a90c7ae3e075210bc44ae80098b5303a564f11d3991c620328f)
file(DOWNLOAD https://raw.githubusercontent.com/wxWidgets/wxWidgets/WX_3_0_BRANCH/samples/widgets/icons/button.xpm icons/button.xpm
     EXPECTED_HASH SHA256=c7f7bf9a4b678376a20af95adc213a467450a71040710dacc168fa6885a1ad0f)

Confirmed.

You should run ./installed/x64-osx/tools/wxwidgets/wx-config --cxxflags and add the definitions.
Let me see if I can add these definitions automaticlly.

You should run ./installed/x64-osx/tools/wxwidgets/wx-config --cxxflags and add the definitions.

Does wx-config give the right, relocatable library paths? Cf. #18298

Will be fixed by PR https://github.com/microsoft/vcpkg/pull/17111.

@JackBoosY Thank you for this PR! is it finish? I can test it on open source project.

The original problem occurs on Linux when not using the proper wxWidgets_DEFINITIONS.
Added in usage instructions in #24047:
target_compile_definitions(main PRIVATE ${wxWidgets_DEFINITIONS} "$<$<CONFIG:DEBUG>:${wxWidgets_DEFINITIONS_DEBUG}>")


graduate ServiceIPStaticSubrange to GA

The ServiceIPStaticSubrange feature gate, that allows to change the IP allocation algorithm used for Service.ClusterIPs, is graduating to GA.

/assign @sftim @thockin

Please target this change to the dev-1.26 branch @aojea
/hold
OK to unhold once the target branch is right

@sftim updated the PR against 1.26

/unhold
since:

OK to unhold once the target branch is right

@aojea this PR will be even better with a (brief) description. A couple of sentences may well be enough.

/lgtm cancel

@sftim done

What I don't get from these docs is: can you have more than 256 Services in your cluster? It's not obvious how the whole available range eventually gets used.

What I don't get from these docs is: can you have more than 256 Services in your cluster? It's not obvious how the whole available range eventually gets used.

ups, no, the number of Services is not modified here, this makes a virtual division to not allocate dynamic addresses from this lower range, the blog explains it in more detail https://kubernetes.io/blog/2022/05/23/service-ip-dynamic-and-static-allocation/

the blog explains it in more detail https://kubernetes.io/blog/2022/05/23/service-ip-dynamic-and-static-allocation/

I'd like to be able to work out the way it works just from the docs - and I want that for readers in general too. For GA, we prefer to have docs that readers can understand without also following links to the KEP, post-release writeup, etc.

It's OK to copy from that blog article, as much as we'd like to. It's also reasonable to change that blog article to be evergreen: written so that the text doesn't turn stale, and marked as such. Only some minor tweaks would be needed there, and then we can link to it to provide the background detail (we can actually shorten the concept page if we do that).

ack, let me work on this

It's OK to copy from that blog article, as much as we'd like to. It's also reasonable to change that blog article to be evergreen: written so that the text doesn't turn stale, and marked as such. Only some minor tweaks would be needed there, and then we can link to it to provide the background detail (we can actually shorten the concept page if we do that).

@sftim I've tried to follow your suggestions but I need you to review because I'm not sure if that is what you meant

ping @sftim

If the rest of the page is technically accurate, let's ship. Would be nice to see if we can tidy further before the release.
/approve

/lgtm

/lgtm


Set Up Readme

Write User Documentation: Document how to install and use the extension, including screenshots and descriptions of its features.


Fix typo in class-inheritance.tex

This PR fixes a typo in docs/Generics/chapters/class-inheritance.tex where "cheker" was incorrectly used instead of "checker."
Thank you!

@swift-ci Please smoke test


Minor grammatical updates

Category

[X] Content fix
[ ] New article
Related issues: None

What's in this Pull Request?
Minor grammatical updates.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/community/repositories.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

thx Chris, appreciated.


Allow specification of default properties in code

Play wraps the Typesafe config in a scala object in another Java object. It might make sense for Play to expose the Typesafe config to end users. The largest reason this hasn't been done is that the Play config allows specification of default properties in code while the Typesafe config does not. See a related bug in Play for some initial discussion on the topic: https://github.com/playframework/playframework/pull/2059

This is the same as #186 I guess so will close this copy.


Language change should modify start shortcut

Currently we can't change language on Windows because it is explicitly specified in launch shortcut (-nl XX).
There are two solutions:

Do not set language in shortcut in installer but put it in dynamic config.ini
Remove language from shortcut when changing it in preferences

It resets language to system default even when there is no -nl <smth> in command line, or either run from command line explicitly or has another shortcut without these arguments.


updating UI of Navbar

ISSUE #278
Feature Added

"Contribute Now" option link
Navbar made sticky with backdrop blur effect
Direct links to leaderboard, contributors, feed, and projects
Full Responsive

Mobile View:

Desktop View

changing the gradient to a more asthetic and minimal one

if it's all right, then please merge it 😊

Updates

Added .env variable to the contribution link's href
Color theme applied, with emphasis on the primary theme
'use client' feature removed from redundant components

Got it 😁👍,

color is updated

Drawing from your previous advice, I've refined the sidebar and subtly adjusted the text's hue, enhancing its readability and aesthetic appeal

sure, why not 😊

Hey @rithviknishad , "Contribute Now" text has been removed, leaving only the GitHub button visible.😊


Killed while running with different input

When i give different input without GT and None in second coloumn of the .txt file. It gives a killed command in terminal
Please help me with this.

@manurare Could you please help me with this issue?

Hi,
Your Code is working for the input data and I'm getting the depth map,
The solution for the issue that I had faced is changing the input image dimensions as your code accepts the image that has 2k resolution but i gave more than 2k resolution so the issue araises.
and
While giving None or empty in the second column in the txt file i got a error
Traceback (most recent call last):
File "main.py", line 563, in
monodepth_360(opt)
File "main.py", line 498, in monodepth_360
serialization.save_predictions(output_folder, erp_gt_depthmap, erp_rgb_image_data, estimated_depthmap,
File "/home/dbot/Desktop/360monodepth/360monodepth/code/python/src/utility/serialization.py", line 358, in save_predictions
plt.imsave(os.path.join(output_folder, "{:03}_GT.png".format(idx)),
File "/home/dbot/anaconda3/envs/360monodepth/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2200, in imsave
return matplotlib.image.imsave(fname, arr, **kwargs)
File "/home/dbot/anaconda3/envs/360monodepth/lib/python3.8/site-packages/matplotlib/image.py", line 1658, in imsave
pil_shape = (rgba.shape[1], rgba.shape[0])
AttributeError: 'tuple' object has no attribute 'shape'

With Dpt file the output folder has the following files

Without Dpt file the output folder has the following files

What kind of error is this?

It looks like what you are trying to save is not an array.
For the second question, if there is no GT we save disparity, if there is GT we save depth