Lates transformations

Description

Checklist

[ ] Tests (if applicable)
[ ] Documentation (if applicable)
[ ] Changelog stub (or use conventional commit messages)

Codecov Report
Patch coverage: 52.00% and project coverage change: -16.58 :warning:

Comparison is base (bf3767b) 99.75% compared to head (86ec72a) 83.17%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #21       +/-   ##
===========================================
- Coverage   99.75%   83.17%   -16.58%
===========================================
  Files           6        6
  Lines         401      410        +9
===========================================
- Hits          400      341       -59
- Misses          1       69       +68

Impacted Files
Coverage Δ

tests/test_transformations.py
61.11% <33.33%> (-38.89%)
:arrow_down:

HeifImagePlugin.py
76.22% <46.15%> (-23.06%)
:arrow_down:

tests/test_reading.py
91.13% <83.33%> (-8.87%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Hyprland crashes if a mirror is enabled and disabled on a monitor

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch  at commit ae50f8614d92132d918663ea7551bd68eb13953a  ().
Date: 2024-08-03
Tag: , commits: ae50f8614d92132d918663ea7551bd68eb13953a

flags: (if any)

System Information:
System name: Linux
Node name: profugus
Release: 6.10.2
Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat Jul 27 09:40:36 UTC 2024

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1650 SUPER] [10de:2187] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  560.28.03  Release Build  (nixbld@)  Mon Jul 29 22:33:20 UTC 2024

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240802.81610ab"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"

plugins:
  hypr-darkwindow by micha4w ver 1.0.0

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

Config File: /home/jakob/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/j8l2v22xypah1srykhwjlkgwwgdxnnpw-dbus-1.14.10/bin/dbus-update-activation-environment --systemd --all && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
plugin=/nix/store/55rmgwrq4f6nq12qk8g4ik9fcysh3mfn-Hypr-DarkWindow-0.1/lib/libHypr-DarkWindow.so
animations {
  bezier=wind, 0.05, 0.9, 0.1, 1.05
  bezier=winIn, 0.4, 1.1, 0.6, 1.15
  bezier=winOut, 0.3, -0.3, 0, 1
  bezier=liner, 1, 1, 1, 1
  animation=windows, 1, 6, wind, slide
  animation=windowsIn, 1, 6, winIn, slide
  animation=windowsOut, 1, 5, winOut, slide
  animation=windowsMove, 1, 5, wind, slide
  animation=border, 1, 1, liner
  animation=borderangle, 1, 30, liner, loop
  animation=fade, 1, 10, default
  animation=workspaces, 1, 5, wind, slide
  animation=specialWorkspace, 1, 5, wind, slidevert
  enabled=true
}

debug {
  disable_logs=false
}

decoration {
  blur {
    enabled=true
    new_optimizations=true
    passes=1
    size=3
  }
  col.shadow=rgba(1a1b2699)
  rounding=5
}

device {
  name=ydotoold-virtual-device
  kb_layout=us
  kb_options=
}

device {
  name=sonix-usb-device
  kb_layout=de
}

device {
  name=at-translated-set-2-keyboard
  kb_variant=e2
}

dwindle {
  preserve_split=true
  pseudotile=true
}

general {
  border_size=2
  col.active_border=rgb(2ac3de)
  col.inactive_border=rgb(444b6a)
  gaps_in=5
  gaps_out=10
  layout=dwindle
  resize_on_border=true
}

gestures {
  workspace_swipe=true
  workspace_swipe_distance=100
  workspace_swipe_fingers=3
  workspace_swipe_min_speed_to_force=15
}

group {
  groupbar {
    col.active=rgb(2ac3de)
    col.inactive=rgb(444b6a)
    text_color=rgb(a9b1d6)
  }
  col.border_active=rgb(2ac3de)
  col.border_inactive=rgb(444b6a)
  col.border_locked_active=rgb(b4f9f8)
}

input {
  touchpad {
    disable_while_typing=false
    natural_scroll=true
  }
  follow_mouse=1
  kb_layout=de
  sensitivity=0
}

misc {
  background_color=rgb(1a1b26)
  disable_autoreload=true
  disable_hyprland_logo=true
  enable_swallow=true
  force_default_wallpaper=1
  initial_workspace_tracking=false
  swallow_regex=(Alacritty)
}

xwayland {
  force_zero_scaling=true
}
bind=SUPER SHIFT, O, invertactivewindow
bind=, XF86PowerOff, exec, wlogout
bind=SUPER, Print, execr, grim -g "$(slurp)" - | wl-copy
bind=SUPER, V, exec, copyq toggle
bind=SUPER, W, exec, pkill -SIGUSR1 waybar
bind=SUPER, T, exec, alacritty
bind=SUPER, Q, killactive,
bind=SUPER SHIFT, M, exit,
bind=SUPER, E, exec, dolphin
bind=SUPER, B, exec, firefox
bind=ALT, SPACE, exec, fuzzel
bind=SUPER, F, togglefloating,
bind=SUPER, S, togglesplit, # dwindle
bind=SUPER, F11, fullscreen
bind=SUPER, N, swapnext
bind=SUPER, P, swapnext, prev
bind=SUPER, h, movefocus, l
bind=SUPER, l, movefocus, r
bind=SUPER, k, movefocus, u
bind=SUPER, j, movefocus, d
bind=SUPER, up, exec, ~/.config/hypr/rotate.sh 0 1
bind=SUPER, left, exec, ~/.config/hypr/rotate.sh 1 1
bind=SUPER, right, exec, ~/.config/hypr/rotate.sh 3 1
bind=SUPER, down, exec, ~/.config/hypr/rotate.sh 2 1
bind=SUPER CTRL, left, workspace, e-1
bind=SUPER CTRL, right, workspace, e+1
bind=SUPER CTRL SHIFT, left, movetoworkspace, -1
bind=SUPER CTRL SHIFT, right, movetoworkspace, +1
bind=SUPER SHIFT, n, movecurrentworkspacetomonitor, +1
bind=SUPER, I, togglespecialworkspace, scratch
bind=SUPER SHIFT, I, movetoworkspace, special:scratch
bind=SUPER, mouse_down, workspace, e+1
bind=SUPER, mouse_up, workspace, e-1
bind=SUPER, R, submap, resize
bind=SUPER, O, exec, hyprshade toggle /nix/store/4mivr93v2q2bd3npb4xx483jr1by1gp9-invert-colors.glsl
bind=SUPER, 1, workspace, 1
bind=SUPER SHIFT, 1, movetoworkspace, 1
bind=SUPER, 2, workspace, 2
bind=SUPER SHIFT, 2, movetoworkspace, 2
bind=SUPER, 3, workspace, 3
bind=SUPER SHIFT, 3, movetoworkspace, 3
bind=SUPER, 4, workspace, 4
bind=SUPER SHIFT, 4, movetoworkspace, 4
bind=SUPER, 5, workspace, 5
bind=SUPER SHIFT, 5, movetoworkspace, 5
bind=SUPER, 6, workspace, 6
bind=SUPER SHIFT, 6, movetoworkspace, 6
bind=SUPER, 7, workspace, 7
bind=SUPER SHIFT, 7, movetoworkspace, 7
bind=SUPER, 8, workspace, 8
bind=SUPER SHIFT, 8, movetoworkspace, 8
bind=SUPER, 9, workspace, 9
bind=SUPER SHIFT, 9, movetoworkspace, 9
bind=SUPER, 0, workspace, 10
bind=SUPER SHIFT, 0, movetoworkspace, 10
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ && ~/.config/hypr/show-audio.sh
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%- && ~/.config/hypr/show-audio.sh
bindel=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel=, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel=, XF86MonBrightnessUp   , exec , brightnessctl set +5% && ~/.config/hypr/show-light.sh
bindel=, XF86MonBrightnessDown , exec , brightnessctl set 5%- && ~/.config/hypr/show-light.sh
bindl=, switch:Lid Switch, exec, swaylock
bindm=SUPER, mouse:272, movewindow
bindm=SUPER, mouse:273, resizewindow
exec-once=waybar
exec-once=dunst
exec-once=/nix/store/dl6crfni8a0gigr9vfczyx92896bw9nz-polkit-kde-agent-1-6.1.3/libexec/polkit-kde-authentication-agent-1
exec-once=otd-daemon
exec-once=nm-applet
exec-once=copyq
exec-once=hyprctl setcursor breeze_cursors 24
exec-once=hyprpaper
monitor=,preferred,auto,1
monitor=HDMI-A-1,highrr,0x0,1
monitor=DVI-D-1,1920x1080@60,-1920x0,1
windowrule=float, ^(pavucontrol)$
windowrule=size 40% 30%, ^(pavucontrol)$
windowrule=move 30% 7%, ^(pavucontrol)$
windowrule=float, (copyq)
windowrule=size 30% 40%, (copyq)
windowrule=move 35% 30%, (copyq)
windowrule=stayfocused, (copyq)
workspace=special:scratch, gapsout:60, gapsin:0, on-created-empty:exec alacritty, rounding:0
submap = resize

# sets repeatable binds for resizing the active window
bindel = , right , resizeactive , 10 0
bindel = , left  , resizeactive , -10 0
bindel = , up    , resizeactive , 0 -10
bindel = , down  , resizeactive , 0 10
bindel = , l , resizeactive , 10 0
bindel = , h  , resizeactive , -10 0
bindel = , k    , resizeactive , 0 -10
bindel = , j  , resizeactive , 0 10

# use reset to go back to the global submap
bind = , escape , submap , reset
bind = SUPER, R, submap, reset

 submap = reset

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

Description
If a monitor A mirrors monitor B and monitor A is set to itself again hyprland crashes.
In addition to this when a monitor is mirrored the terminal which issued the command crashes (don't know if this is hyprlands fault)
after bisecting first bad commit seems 1423707dbefc0329e80895451903a77ab684f7ea
Hyprland also crashes if the mirrored monitor is removed.
I suspect it is the same issue but did not further research.
How to reproduce
hyprctl keyword monitor DVI-D-1, 1920x1080@60, auto, 1, mirror, HDMI-A-1
# terminal crashes
hyprctl keyword monitor DVI-D-1, 1920x1080@60, auto, 1
# hyprland crashes

hyprctl keyword monitor DVI-D-1, 1920x1080@60, auto, 1, mirror, HDMI-A-1
# terminal crashes
# unplug HDMI-A-1 or DVI-D-1
# hyprland crashes

Crash reports, logs, images, videos
The logs are from the first bad commit but with the current config.
hyprland-mirror-back.log
hyprland-monitor-unplug.log

can you post a debug stacktrace https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-debug-stacktrace

So I tried the debug build built with nix build '.?submodules=1#hyprland-debug and couldn't reproduce my crash.
After trying with my config and without, I narrowed it down to
exec-once=waybar

And in addition it only happens if the terminal is set to alacritty.
Sorry but I could not get the debug stacktrace. The debug build i mentioned above runs with the hyprlandd.conf so I assume its correct but coredumpctl debug Hyprland shows
$ coredumpctl debug Hyprland
No match found.

can you try launching hyprland with HYPRLAND_NO_CRASHREPORTER=1?
@fufexan maybe it's a nix issue?

No that does not change anything.
Also I do not seem to get any logs even with
debug {
  disable_logs=false
}

I'll wait for fufexan's input, this looks like some nix shenanigans

I don't think it's a nix issue, but I'll try to repro later.

No that does not change anything. Also I do not seem to get any logs even with
debug {
  disable_logs=false
}

Are you checking $XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprlandd.log? note the double d

Ok there it is.
Also I forgot to attach the Crash Report
crashReport.txt

check now

No I can still reproduce the error.
crashReport.txt
After further testing I noticed

alacritty crashes always when the second monitor is mirrored
Hyprland crashes only when the second mirror is unmirrored and only if hyprctl is run by alacritty
Hyprland does not crash if waybar is not running
Hyprland does also not crash if something like ags is running as a bar

Similar issue here - two monitors on usb-c dock and only one works. Resolved when rolling back to 41.x.

that's a really odd trace.

its not fixed

its not fixed

does it still crash on ? df4f222482a7c2a1116ef5c91ba6e4b55d94ad6c or did it begin again with e45e606fbd7f7e805eb5a1c81482ea44b66e88d2 because i cant reproduce it on df4f222482a7c2a1116ef5c91ba6e4b55d94ad6c

does it still crash on ? df4f222 or did it begin again with e45e606 because i cant reproduce it on df4f222

it happens with 688fe5c14781c63a1db23d4d02bf239283068ff6 and b672118f9238a48a18efd741cbcda387c5552238


[0349] Rolling over providers beyond the rollver time period

Context
Rolling over providers from bygone period
The rollover time period are ephemeral, and tied to current & next recruitment cycle concepts.
Changes proposed in this pull request
Instead of current & next recruitment cycle concepts replace it with source and target recruitment cycles as that will allow for past & current recruitment cycle pairing.
By allowing source and target recruitment cycles to be specified.
It removes the ephemeral nature of rollover time period.
Allowing source recruitment cycle providers to target recruitment cycle.
As these providers falls outside of rollover time period.
Guidance to review
The force was only applicable to provider now it tickles down to course as well, is this alright? @dankmitchell

Restore sanitise copy of the database
Then bundle exec rails console
Then run

RolloverService.call(provider_codes: ["1DX"], source_recruitment_cycle: RecruitmentCycle.current.previous, target_recruitment_cycle: RecruitmentCycle.current, force: :true)

Successful logs
2021-11-17 10:06:26.419738 I [2022565:11760 rollover_service.rb:51] Rails -- Rollover: provider copied, 22 sites copied, 86 courses copied in 24.702 seconds
2021-11-17 10:06:26.420565 I [2022565:11760 rollover_service.rb:19] Rails -- Rollover from 2021 to 2022
2021-11-17 10:06:26.421394 I [2022565:11760 rollover_service.rb:21] Rails -- Rollover done in 24.875 seconds -- { :providers => 1, :sites => 22, :courses => 86 }

Then second run
Noop log

2021-11-17 09:50:08.368529 I [1303613:11760 rollover_service.rb:51] Rails -- Rollover: provider skipped, 0 sites copied, 0 courses copied in 2.326 seconds
2021-11-17 09:50:08.371448 I [1303613:11760 rollover_service.rb:19] Rails -- Rollover from 2021 to 2022
2021-11-17 09:50:08.371628 I [1303613:11760 rollover_service.rb:20] Rails -- Rollover nothing
2021-11-17 09:50:08.371789 I [1303613:11760 rollover_service.rb:21] Rails -- Rollover done in 2.492 seconds -- { :providers => 0, :sites => 0, :courses => 0 }

bundle exec rake rollover:providers should still work as expected

Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 New Horizons Training Partnership (1DX)

@defong the force was for providers without any running courses I.e. the intended to run this cycle but didn't the last cycle

Discussed with @gpeng we have opted for https://github.com/DFE-Digital/teacher-training-api/pull/2284#discussion_r753141637 using custom snippet of code as there is not enough well weighted reasons to endorse this change.


Request to use adb_client in tuari project

I am currently working on a project and I would like to integrate the adb_client library  into the tuari framework. Could you please provide guidance on how to properly implement this library within the tuari context, or if there are any adjustments or configurations needed to ensure compatibility?
Thank you in advance for your help!

Hey !
I haven't used tauri yet so it's kinda hard to answer this question.
Depending on how you want to architecture your application, you can either create your ADB device and share it along the life cycle of the tauri application, or create and use it on the fly.
I'm planning on adding such a gui to adb_cli so I'll face these issues when working on it (haven't planned the development yet)
Let me know if you encounter any issues during your development !


Add CONTRIBUTING.md

Closes #14

Thank you so much for contributing, @jeffsieu!
If I may ask: in the Code Structure area, where did you find the characters to write the file structure? 😄

@timrodz Thank you! I referenced this stackoverflow post.

Great, thank you! I was wondering where to find these. Great job! 🥇


feat(config): create config file for ZWA011

ZWA011 based on ZWA008 but with Z-Wave Series 700 but without tilt detection and external switch input.
File tested working locally.

OK, there is an issue with the parameters definition. I reused the parameters from zwa012.json, that seems to be based on zwa008.json ; but the zwa012 parameters definition is wrong in the json file :

Parameter 2+ of zwa008 becomes parameter 3+
Parameter 2 is an added setting for the external dry contact

So when trying to set some parameters of the ZWA011, it messes the device's settings.
I tried to modify the zwa011.json file as attached, but now I can't get it to be recognized
zwa011.txt
The control panel indicates my ZWA011 nodes as

Unknown manufacturer 0x0371
0x0002
Unknown product 0x000b

Trying to reinterview the devices doesn't help.

Trying to reinterview the devices doesn't help.

Just to be sure - did you restart zwavejs2mqtt (assuming you use that)?

Yes, I restarted the docker container running zwavejs2mqtt.
I tried to copy directly the original JSON file in /use/SRC/app/store/.config-db/devices/0x0371/ folder where the container stores the config files, and it worked.
But when I tried to modify the file it started to fail to recognize the device.
I created the /use/src/app/store/config/ folder to try with placing the file inside, but it fails to parse the file due to incorrect template import paths.
So I made a new version of the file without templates, but the driver still doesn't recognize the device.

I created the /use/src/app/store/config/ folder to try with placing the file inside, but it fails to parse the file due to incorrect template import paths.

Testing config files with templates is a bit trickier. You can try and replicate the structure in that directory:
templates/
-- master_template.json
0x0086/
-- templates/
   -- aeotec_template.json
0x0371/
-- zwa011.json

This is something I need to try. But first I need to understand why the non-template config file is not used.
I activated the 2 logging in a file options in the interface to try to log the errors. I'll retry with the different files.

If you clone the repo and edit the file in the local clone, you can check it with yarn run lint:config. Maybe there's an error.
https://zwave-js.github.io/node-zwave-js/#/development/intro

I checked the file, and I found two small typo errors (missing comma and unexpected tab). I fixed the file, excluded the ZWA011 devices from the network, stopped the ZWaveJS2MQTT container, removed custom config files from all paths, added the /usr/src/app/config folder and copied my fixed non-template JSON inside.
Then I started the ZWaveJS2MQTT container, included one ZWA011, and voilà, it is correctly detected. In the log I can see the attached custom config file is used.
zwa011.txt
I'll now try with the templates.

After testing by recreating the templates folders in the /usr/src/app/store/config folder, it works correctly with the following json
zwa011.json.txt

@zwave-js-bot fix lint

By removing /usr/src/app/store/config/ folder and putting back the zwa011.json in the /usr/src/app/store/.config-db/devices/0x0371/ folder, the device is not recognized anymore.
I returned to the /usr/src/app/store/config folder with the correct structure, and it stil works.
I made an update to the definition of parameter 3 to align it with the sensor type

By removing /usr/src/app/store/config/ folder and putting back the zwa011.json in the /usr/src/app/store/.config-db/devices/0x0371/ folder, the device is not recognized anymore.

If you change the files on disk, the driver needs to be restarted, because it only indexes the files on startup.

By removing /usr/src/app/store/config/ folder and putting back the zwa011.json in the /usr/src/app/store/.config-db/devices/0x0371/ folder, the device is not recognized anymore.

If you change the files on disk, the driver needs to be restarted, because it only indexes the files on startup.

I restarted the docker container (using "zwavejs/zwavejs2mqtt:latest" image), I suppose it should be enough.
I tried to copy the file from my file system to the docker container with the docker cp command ; but the /usr/src/app/store folder from the container is mapped to the external folder /home/homeassistant/zwave-js/ on the host's HDD. Would the driver rewrite the config folder while stopping overwriting my mods ?
I don't remember if I tried to copy the zwa011.json file to the local /home/homeassistant/zwave-js/.config-db/devices/0x0371/ folder while container was stopped and before starting it. I think I did, but not sure.


changed DragTarget parameter from dynamic to generic

DragTarget onMove event should be consistent with other events by using a generic parameter rather than dynamic.
Fixes #76825
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

Hi @chinmoy12c This should be fixed by https://github.com/flutter/flutter/pull/76842. I will close this as duplicate


Several Modals seem to randomly be in the open state after the webapp has been left idle

I'm seeing an odd behavior with Service Now. After I have left my local Mattermost instance idle for some time (maybe 2 hours or so), when I return to the browser tab, I see several modals open and their overlays showing for no apparent reason.
https://user-images.githubusercontent.com/35588783/202306173-71dbc92f-12d7-4745-a749-7e3e8811af3c.mov
I'm working to see if there is any action that is causing this.

In the image set above you can see that 4 modals where open. I have placed them chronologically

This issue is fixed in the latest release v2.3.1. Please confirm and close this issue. @DHaussermann

@ayusht2810 Are you certain this is resolved?

This seems like something we should fix before release if possible.
Note @mkdbns you can reach out to me if we need more concrete repro steps. This does not seem to happen with several modal as it did before but I can repro it for 1 modal in the other client.

Does that mean this bug only happens when a user is connected with more the one client?

@DHaussermann @hanzei should we proceed with this approach?

Sound good to me. But I would consider it an edge case. Other plugins suffer the same issue, e.g. GitHub.
@asatkinson What do you think?

I think we decided that this was worth fixing, but not worth holding release up over.  For Phase 3 this will be fixed.


Switch to cross-including Std Lib code instead of bundling it with the mod

In Factorio 0.17, I believe it is now possible to set Std Lib as a required dependency and #include its code, rather than having to bundle it all in with this mod.

Completed in r189.


Update copy around why there are no Train to Teach events

Trello card
Trello-3461
Context
We want to add a note to the about TTT events page explaining why there are currently no Train to Teach events available. Only show the note when there are no TTT events active in the system.
When filtering by Train to Teach events if there are no results we want to show a specific message explaining why that is and when TTT events will start up again.
Changes proposed in this pull request

Add message explaining no TTT events to about page
Add specific no results message when filtering by TTT events

Guidance to review

Search Result Desktop
Search Result Mobile
About Desktop
About Mobile

@EllieNodder all looks good to me. Nice work

Design/dev looks good to me - @EllieNodder is just checking copy with the Events team as I don't think it is quite right for the changes being made for the Autumn programme
Happy for this to go into prod as soon as that copy is updated

@ethax-ross have updated the copy and now there's a conflict I'm not really sure about. Could you take a look?


Return empty array if there are no UserGroup keys.

Handles calling UserGroup.myGroups() where user doesn't belong to any UserGroup.
Add @types/node to package.json
Add note for developing on Windows

fixes #90

Thanks for your contribution @xanderjakeq


Display specific number of resources required

Co-Authored-By: Aladdin Seaifan<EMAIL_ADDRESS>@SeaifanAladdin can you review this PR? It's a small rewrite of yours and I didn't want to overwrite what you did in your PR.
From testing this on 3 contracts it seemed to work as expected but I'd like to get another pair of eyes on this since you're the original author.
The main differences are that I reused RequiredMaterials, renamed some classes, put pretty much everything into the HotspotObjects class. and I used a stream to get the RepairableVarbs

Reviewed and everything looks great with me. Also did a few test runs and I see no issues.


Tab's change animation breaks rendering of mat-paginator (mat-table) and mat-checkbox contained in the tabs

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Tab is changed and the contained view is rendered correctly
What is the current behavior?
The animation on tab change causes mat-paginator and checkboxes to be pushed up and out of the view of the table row/cell. It is curious that if a very quickly switch from tab A to tab B and back to A is made, A is rendered correctly.
What are the steps to reproduce?
I have a mat-tab-group with three tabs, each one containing a paginated mat-table with some mat-checkbox, when i switch from a tab to another, all the views inside tabs are incorrectly rendered.
I'll provide an example as soon as i have a moment.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 5.0.2
Material: 5.0.0-rc0
OS: Windows 10 (I'll try to reproduce on Debian sid later at home)
Typescript: 2.6.1
Browser: Electron 1.7.9 (Chromium: 58.0.3029.110, V8: 5.8.283.38)
Is there anything else we should know?
User @abcox described the same problem on #4227
Maybe it's related to #5269

Can you provide a reproduction in either Plunker or StackBlitz.  This will aide us in finding the issue you are seeing.

Plunker of my issue related to animation rendering checkbox incorrectly in table row.

@abcox, curisously, if you get rid of all your custom classes, and replace your <input type="checkbox"> with any other element, it works fine: https://plnkr.co/edit/B3fJLuV1Y2DPK9G0tlrM?p=preview

Same problem here. The work-around of @julianobrasil doesn't work for me with angular material 5.0.0-rc.1 and 5.0.0-rc0.
What is strange is:

When i click on the checkbox, it moves to the top. But in the debuger, when i remove one of the styles of .mat-checkbox-ripple and then, I add it again. the checkbox get back to its normal position.

Hi there. I've fixed this strange issue with a   between the mat-chechbox tags.

@josephperrott, you've marked this issue with a "cannot reproduce" but by visiting https://plnkr.co/edit/IF1rRPZp1H53DcnN3Vv8?p=preview, I can see it happening in my Windows 10 machine using:

Chrome (the checkbox is shifted up considerably, like is shown in the animated gif above)
IE11
Edge

It's working fine in the last beta of Firefox.


spanner-jdbc: JdbcTypeConverterTest failure

Tests in #73 fail as follows:
com.google.common.truth.ComparisonFailureWithFacts:
expected: 1969-12-31T22:59:59Z
but was : 1969-12-31T23:00:00Z
	at com.google.cloud.spanner.jdbc.JdbcTypeConverterTest.testToGoogleTimestamp(JdbcTypeConverterTest.java:608)

@olavloite if you could take a look that would be great.

This is probably caused by https://www.github.com/googleapis/java-core/commit/1f8b6b4835aaa702ec94bbbde89ed90f519c935a (which is a good fix, BTW). I'll look into the test cases for the JDBC driver.


Handheld Thruster/Elytra Integration.

So, I've been playing minecraft with an Elitra, and I'd thought that there'd be a way use elytra-like flight with the jetpack boosting it. (IMO, it's a lot more fun that way.) I think I've come up with a way to accomplish it.
If you have an item in your hand that puts off thrust, perhaps you could use that to boost like you do with fireworks in 1.11. It would take power, of course, and wouldn't be as powerful as the same tier of jetpack.
Alternatively, you could make it so that the jetpack has elytra integrated into the armor piece. When it's activated via keybind, jet power would boost you in the direction that you're looking, not simply upwards and forwards. Toggling hover mode would immediately retract the elytra.

Very similar to what was suggested in #4
I am not a really big fan of the Elytra, but I like the idea combining it with the jetpack. I want to implement upgrades for the jetpacks in the future, but atm I am mostly bug fixing and adding mod compatibility.
As my free time is very limited due to my full time job and apprentice school, I am glad if people donate (PayPal or Patreon) as it gives me the opportunity to invest more time on modding :)
#ShamelessBegging

If I could set up the stupid Forge Dev environment, I'd have made a pull request by now.

Feel free to join our discord, maybe I can help you setting up the dev environment.
https://discord.gg/HhhWRXd


Use transition.to to build route infos

fixes #312

@drouhard, this should fix #312, I've tested this in our application, where the same issue appeared.

I'll look into this week.

@bobisjan
so, this is what I'm proposing to do in the rewrite..
https://github.com/webark/ember-component-css/blob/cc6badcec895c0b8028757cad8ed73d12cbb74b4/addon/instance-initializers/add-style-namespaces.js#L5-L14
https://github.com/webark/ember-component-css/blob/cc6badcec895c0b8028757cad8ed73d12cbb74b4/addon/utils/add-route-style-namespace.js#L4-L18
this was meant to also handle #314 as well. (which would also handle #286)

We are having the same issue as #312 and I tried testing this fork on our app and it solved the issue.

I like your way of using the "route parent", so I updated my work to conform with that. Do you think we could do something similar to this so that we can pick up these loading routes too?
https://github.com/webark/ember-component-css/blob/1674225ac20638608047f8444deb8c3c998312f4/addon/instance-initializers/add-style-namespaces.js#L4-L25

@bobisjan so something like
import initRouteStyles from '../utils/init-route-styles';

// This file is removed from the build in Ember < 3.6
export function initialize(appInstance) {
  let router = appInstance.lookup('service:router');
  router.on('routeDidChange', function(transition) {
    initRouteStyles(appInstance, nestedRoutes(transition.to));
  });

  router.on('routeWillChange', function(transition) {
    if (/loading$/.test(transition.to.name) && transition.isActive) {
      initRouteStyles(appInstance, nestedRoutes(transition.to));
    }
  });
}

function nestedRoutes(route, routeNames = []) {
  routeNames.push(route.name);
  if (route.parent) {
    return nestedRoutes(route.parent, routeNames);
  }
  return routeNames;
}

export default {
  initialize
};

@Turbo87 do what do you think of this approach to solve the issue you where experiencing as well.

I'm on vacation right now, so can't test atm, but since it's still based on routeDidChange it probably won't help in our case 🤔

@Turbo87 am interested on what your use case is then. I have it working on loading routes and seeing no flash.

I'm going to merge this, then add any modifications in a subsequent PR to account for the loading state work.


DOC: calling interp1d/interp2d with NaNs is undefined

Updated docstrings per issue #4730: warn that calling interp1d and
interp2d with NaNs present in input values results in undefined
behaviour.

Thanks!


Transform is null on useSortable

I'm working with a Nextjs project that uses TypeScript and I have been having issues with getting our dnd-kit to work properly. I'm attempting to be able to adjust/re-order items based on their item.display_sequence.
Here is the code that I have at the moment. When clicking on the item that I would like to drag, I can see in the inspector when the item is dragged past the element in another position, however, when clicking and dragging there is not any transform that is occurring. When logging the transform, I am seeing that it is null each and every time. Thus, my CSS transform is not triggering any changes and I am not receiving any visual changes occurring.
Package Information:

  "dependencies": {
    ...
    "@dnd-kit/core": "^3.1.1",
    "@dnd-kit/sortable": "^4.0.0",
    "@dnd-kit/utilities": "^2.0.0",
    ...
    "next": "11.0.1",
    "react": "17.0.2",
    "react-dom": "17.0.2",
  },

items.tsx (the page)
// Packages
import { useState } from 'react'
import { GetServerSideProps, InferGetServerSidePropsType } from 'next'
import { Main, Box, Heading, Paragraph, Button } from 'grommet'
import { Add } from 'grommet-icons'

import {
  DndContext,
  closestCenter,
  MouseSensor,
  TouchSensor,
  useSensor,
  useSensors,
} from '@dnd-kit/core'
import {
  arrayMove,
  SortableContext,
  verticalListSortingStrategy,
} from '@dnd-kit/sortable'

// Components
import Layout from '../../components/Layout'
import Navbar from '../../components/Navbar/Navbar'
import SortableAdminItem from '../../components/SortableAdminItem/SortableAdminItem'
import AdminItemWrapper from '../../components/AdminItemWrapper/AdminItemWrapper'

// Models
import { Item } from '../../components/Item/props'

export default function Items({
  items,
}: InferGetServerSidePropsType<typeof getServerSideProps>) {
  const [localItems, setItems] = useState(items),
    sensors = useSensors(useSensor(MouseSensor), useSensor(TouchSensor))

  function handleDragEnd(event: any) {
    const { active, over } = event

    if (active.id !== over.id) {
      setItems((items: Item[]) => {
        const oldIndex = items.indexOf(active.id)
        const newIndex = items.indexOf(over.id)

        return arrayMove(items, oldIndex, newIndex)
      })
    }
  }

  return (
    <Layout title="Items">
      <Navbar />

        <Box direction="row" wrap justify="between" align="center">
          <Box>
            <Heading>Items</Heading>
          </Box>

          <Box>
            <Button
              primary
              color="downy"
              label="Add New Item"
              reverse
              icon={<Add size="small" />}
            />
          </Box>
          <Box fill>
            <Paragraph fill>
              This is your central hub for managing all of your items. You can
              select an item from the grid below and that will allow you to edit
              the item and its properties. Additionally, you can create a new
              item by pressing the button at the bottom right of the screen.
            </Paragraph>
          </Box>
        </Box>
        <Box>
          <DndContext
            autoScroll={false}
            sensors={sensors}
            collisionDetection={closestCenter}
            onDragEnd={handleDragEnd}
          >
            <SortableContext
              items={localItems}
              strategy={verticalListSortingStrategy}
            >
              <AdminItemWrapper>
                {localItems.map((item: Item, index: number) => (
                  <SortableAdminItem key={item.id} item={item} index={index} />
                ))}
              </AdminItemWrapper>
            </SortableContext>
          </DndContext>
        </Box>

    </Layout>
  )
}

export const getServerSideProps: GetServerSideProps = async () => {
  const res = await fetch(`http://localhost:3000/api/items?_location_id=${2}`),
    items: Item = await res.json()

  return {
    props: {
      items,
    },
  }
}

AdminItemWrapper.tsx
// Props
import Props from './props'

export default function AdminItemWrapper({ children }: Props) {
  return (

      {children}

  )
}

SortableAdminItem.tsx
// Packages
import { useSortable } from '@dnd-kit/sortable'
import { CSS } from '@dnd-kit/utilities'

// Custom Components
import AdminItem from '../AdminItem/AdminItem'

// Models
// import { Item } from '../Item/props'

const SortableAdminItem = (props: any) => {
  const {
    attributes,
    isDragging,
    listeners,
    setNodeRef,
    transform,
    transition,
  } = useSortable({ id: props.item.display_sequence.toString() })

  const style = {
    transform: CSS.Transform.toString(transform),
    transition,
  } as React.CSSProperties

  console.log('TRANSFORM', transform)

  return (

      <AdminItem item={props.item} />

  )
}

export default SortableAdminItem

AdminItem.tsx
// Props
import { Item } from '../Item/props'

// Packages
// import { Box, Text } from 'grommet'

export default function AdminItem(props: { item: Item }) {
  const { name } = props.item
  const styles = {
    backgroundColor: 'white',
    padding: '1rem',
    width: '100px',
    margin: '0 1rem 1rem 0',
  }

  return
{name}

}

What does items look like?

I had this issue when my items was a list of strings (eg. ['1', '2', '3']) but the id passed to useSortable was a number (I had called toString() on them in generating the list but not when passing the id

I had this issue as well when migrating from core v1.2 to v3.1.
Thanks @davecoates, you helped me identify that it was because I was using numeric IDs, albeit consistently. Converting all IDs to strings resolved receiving null transforms.

This is an incredibly obscure bug that just made me waste the better part of the morning debugging it. Can you PLEASE either support numeric IDs (logical solution IMHO since you often have database IDs that can be reused) or fail with a clear error when using numeric IDs?

I just had a similar issue when assigning uuidv4 as IDs to items, was going crazy to see that the items didn't move at all.

This is an incredibly obscure bug that just made me waste the better part of the morning debugging it. Can you PLEASE either support numeric IDs (logical solution IMHO since you often have database IDs that can be reused) or fail with a clear error when using numeric IDs?


Why does BaseLayerPickerViewModel set depthTestAgainstTerrain ?

https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Widgets/BaseLayerPicker/BaseLayerPickerViewModel.js#L247
This recently led to some confusion in behavior in https://github.com/AnalyticalGraphicsInc/cesium/issues/6990
I don't think BaseLayerPicker should be setting this option.  This seems like a decision the developer should make, not the widget.
We also set depthTestAgainstTerrain in CesiumInpector.  I think I did this initially because one of the features needed it, but we should see if we can remove it from there now too.
Thoughts?  @mramato @emackey

It has always been like this (since the feature was added over 4 years ago #1607 In general, people don't expect data to show through the terrain and not having it turn on automatically leads to a lot of "why is my data wavy/floaty" questions on the forum.
But ultimately it's a moot point because when we enable terrain by default, depthTestAgainstTerrain will also default to true.  At that point, I would be okay with removing it from the BaseLayerPicker.  I wouldn't do anything before that time though.
I'm okay with leaving this open until that change happens just so we don't forget about it.

I was just confused by this today. It makes sense why adding terrain changes the depthTestAgainstTerrain default to true, but removing baseLayerPicker sets it back to false even when there is terrain in the scene.
In my scene I added buildings and terrain and disabled the baseLayerPicker and the buildings were showing through the terrain, but that doesn't seem like the expected default behavior?
var viewer = new Cesium.Viewer('cesiumContainer', {
    baseLayerPicker: false,
    terrainProvider: Cesium.createWorldTerrain(),
});
viewer.scene.primitives.add(Cesium.createOsmBuildings());

Closing as I think the root issue here is https://github.com/CesiumGS/cesium/issues/4368.

Reported on the forum: https://community.cesium.com/t/seeing-osm-buildings-through-terrain/23153/4


Make sudo: false explicit, as sudo otherwise depends on when the repo was added to Travis

Use explicit sudo: false, which otherwise depends on date added to Travis

This is just to be consistent across all repos, so that maintainers don't need to keep in their head, "Was this repo added to Travis before or after August 2017?". See https://github.com/open-contracting/standard/commit/9faa33753fbcb75e2909e993a05cd4a9046c4b12#commitcomment-29673788

Do you have a reference for that? I'm just curious as https://docs.travis-ci.com/user/reference/overview/ doesn't mention that. I think this is something they used to do when they introduced the new platform but don't any more.

If none of the previous keys are present in your .travis.yml, the default is a container-based linux (Ubunty Trusty) environment on Amazon EC2.

Alternatively, I'm also happy with the idea of setting both sudo and dist so that it's clear and explicit what platform it's locked to.

Yeah, its bad that the docs don't mention it, but it was still happening. https://travis-ci.org/open-contracting/standard/builds/402786183 is a build of the standard without sudo:, and its building on gce which those docs say = VM. Additionally I made a build that echos $TRAVIS_SUDO, and its true: https://travis-ci.org/open-contracting/standard/builds/402696306#L470

I'd agree that setting dist would be clearest. However, if it's just an issue of clarity (whereas, when sudo is not false, tests run more slowly) I'd prefer to wait for an additional reason to modify 52 .travis.yml files.


My own server crash

When i start my server, he crash and i dont know why. (im playing the All the Mods 6)
I'll send here my crash log, i tried few restart but doesn't work
crash-2021-03-26_19.57.01-fml.txt

This is caused by PSI, but afaik they fixed this issue.  You may just need to update psi/the modpack.


Dependency on github/fetch?

I added the fetch-client to my project and somehow the dependency to the project github/fetch was not resolved. I added it manually with "jspm install fetch" and the fetching as you demonstrate here started to work again: https://github.com/aurelia/skeleton-navigation/blob/master/src/users.js

@bryanrsmith Have we determined how we want to handle this?

Yes. I added this to the docs (which I realize are not super easy to find right now): https://github.com/aurelia/fetch-client/tree/master/doc#bring-your-own-polyfill
I could also modify the code to check if fetch is available, and throw a more helpful error.

I think the helpful error is a good idea.
Speaking of docs, is there any way you would be able to write some docs on fetch and the router for next week's release? For the router, you can take what we have today, and just flesh it out a bit more. We would need it ready to go by Monday so I have time to incorporate it. Let me know.


CAPVCD cleanup script from cli

For mc-boostrap ci we need a cli cleanup script that can cleanup any cloud director left over resources from a failed previous run.
Inputs:

installation name
cloud credentials

Expected cleanups:

Vapp with installation name ( this should delete all VMS )
Load balancer -> Virtual Services and Pool with installation name
NAT rules with installation name or cluster ID
Load balancer with any cluster id tied to it. ie nginx loadbalancer
Storage Disks left over

Edit to add a couple things.
Also, should we add something like a mutating webhook (or else) to prepent the name of the cluster to the PVCs?
Otherwise we don't really have a way to identify which cluster they belong to if the cluster is gone.

Repo: https://github.com/giantswarm/cloud-director-cli

The current implementation of cd-cli works for initial implementation .
@vxav We should open another issue to track adding resource tags and using that as a reference. That is something we will for sure need and will be helpful for other tooling.
I'm closing this issue since the initial requirement I would consider completed.

Nice!
What is a resource tag?


fix: reference definition node

Please check if the PR fulfills these requirements

[x] It's the right issue type on the title
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] It does not introduce a breaking change or has a description of the breaking change

Description

add Reference Definition node
additional context

editor doesn't handle the duplicated reference definition node currently
TODO: modify regexp in blockHandler.ts neatly

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

[4/7] 리뷰 완료합니다ㅎ 참조 정의 기능이 생각했던 것 이상으로 어렵군요 ;ㅅ; 고생하셨어요!


Add htmx loading indicators to TCCP results

Adds a spinner to the submit button and dims the results pane when the user changes a filter and a request is in flight. See https://htmx.org/attributes/hx-indicator/
How to test this PR

./frontend.sh
Visit http://localhost:8000/consumer-tools/credit-cards/explore-cards/cards/ and change a filter.
A spinner will appear in the submit button and the results will dim while the request is being made.

Screenshots

Checklist

[ ] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code follows the standards laid out in the CFPB development guidelines
[ ] Future todos are captured in comments and/or tickets
[ ] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
CFGOV/platform wiki on GHE – for internal CFPB developer guidance
CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

Front-end testing

Browser testing
Visually tested in the following supported browsers:

[ ] Firefox
[ ] Chrome
[ ] Safari
[ ] Edge 18 (the last Edge prior to it switching to Chromium)
[ ] Internet Explorer 11 and 8 (via emulation in 11's dev tools)
[ ] Safari on iOS
[ ] Chrome on Android

Accessibility

[ ] Keyboard friendly (navigable with tab, space, enter, arrow keys, etc.)
[ ] Screen reader friendly
[ ] Does not introduce new errors or warnings in WAVE

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Does not introduce new lint warnings
[ ] Flexible from small to large screens

@chosak I think you're right that we need a better solution here. I'd be in favor of a linear progress bar across the top of the screen. Let's bring it up with the team for feedback. I'm happy to keep iterating on this htmx work but I want to make sure our UI interactions are on brand before investing too much time into it.


Optimize Snowflake load_file using native COPY INTO

Fix: #430
Reduced the time to load to Snowflake by 20% for 5GB datasets (from 24.46 min to 5.49 min). Further details in the PR results file.
Co-authored-by: Ankit Chaurasia<EMAIL_ADDRESS>

We added the benchmark results to the PR and fixed the broken tests.
Two checks are failing probably because of https://github.com/pypa/pip/pull/11298 - which affects all branches. I just re-run the tests for a branch which was passing 4h ago, that wasn't changed and the same tests failed.
I've contacted TP to get his advice, and in the meantime, we'll merge this PR.


incompatible with Python 3.5

Doesn't seem to work with Python 3.5.

SyntaxError: Missing parentheses in call to 'print'

D:\mydoc\calibre\calibre\The Economist (187)>kindlestrip "The Economist - calibre.mobi" "The Economist - strip.mobi" Traceback (most recent call last):   File "c:\users\shihang\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in _run_module_as_main     "__main__", mod_spec)   File "c:\users\shihang\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in _run_code     exec(code, run_globals)   File "C:\Users\ShiHang\AppData\Local\Programs\Python\Python36-32\Scripts\kindlestrip.exe\__main__.py", line 5, in <module>   File "c:\users\shihang\appdata\local\programs\python\python36-32\lib\site-packages\kindlestrip.py", line 70     print "Warning: pathof expects utf-8 encoded byestring: ", s                                                             ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Warning: pathof expects utf-8 encoded byestring: ", s)?
Also not work on Python 3.5 .

I've ported it to python 3 version, and it works well on my machine (python 3.6.6).
pls check out https://github.com/jefftriplett/kindlestrip/pull/3

This script is written for Python 2.


Expose more information about certificates in Status

/kind feature
We should expose more information on CertificateRequests and Certificates with details about the resulting signed certificate itself.
Here we can expose things like key usages, SAN names etc.
This can also enable us to warn the user if there is a miss-match, but not completely needing to request another certificate.
/milestone next

/milestone Next

In order to make this issue actionable, I think we need to elaborate on what sort of information we expose and how we expose it.
Is the intention here to mirror the contents of the x509 certificate into the status subresource?
Exactly what fields should we expose initially?
If you could update the issue body to include these details, as well as point to the updateCertificateStatus method in the certificates controller, I think this could be a "good first issue" and we can label it with "help wanted" 😄

After some discussion in the v0.16 planning, we concluded it makes sense to expose this information on Certificate resources, but not CertificateRequests.
This can be done through either a new controller, or an update to the 'statusmanager' certificate controller.
We need to think about the API format for this, I'd imagine it something like:
status:
  currentCertificate: # naming is hard?
    notAfter: "..."
    subject:
      commonName: ""
      dnsNames: []
...

/priority important-longterm
/remove-priority awaiting-more-evidence

Maybe we want to warn users when anything they requested in their CSR doesn't match what the CA gave you.
Possible issue:

auto generated durations
CA ignoring key usages, etc


Report gradient/function evals in each iter

Codecov Report

Merging #16 (b1f7aeb) into master (6602b44) will increase coverage by 0.27%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   81.13%   81.41%   +0.27%
==========================================
  Files           6        6
  Lines         334      339       +5
==========================================
+ Hits          271      276       +5
  Misses         63       63

Impacted Files
Coverage Δ

src/backend_lbfgsb.jl
73.84% <100.00%> (+0.40%)
:arrow_up:

src/backend_optim.jl
92.18% <100.00%> (+0.12%)
:arrow_up:

src/optimize.jl
85.71% <100.00%> (+0.18%)
:arrow_up:

src/workspace.jl
78.04% <100.00%> (+0.54%)
:arrow_up:

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 6602b44...b1f7aeb. Read the comment docs.


Fix sensitivity/retro tables for the reporting of R0

What is being reported is ln(R0) currently, not R0 (millions).

I'm fixing it. Sorry guys - this was my bad.


[NEW]: Coinbase Announces 18% Layoffs

Date
2022-06-13
Description
Coinbase announces an 18% layoff effective immediately. The CEO cites overhiring in 2021 and the need to manage costs in the turbulent down market as the reason.
Links
https://blog.coinbase.com/a-message-from-coinbase-ceo-and-cofounder-brian-armstrong-578d76eedb12
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
No response
Personal link
https://twitter.com/productive_mayt

Thank you! https://web3isgoinggreat.com/?id=coinbase-lays-off-1100-employees-in-18-cut


Fix #2513: Update logging effect in automation

Print the executed commands and exit code when a test is failed.
Print the failed commands' output.
Hide msrest, vcr, or any other logger.

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

Codecov Report

Merging #3437 into master will increase coverage by 0.01%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master    #3437      +/-   ##
==========================================
+ Coverage   70.76%   70.78%   +0.01%
==========================================
  Files         394      394
  Lines       25586    25582       -4
  Branches     3900     3898       -2
==========================================
+ Hits        18106    18107       +1
+ Misses       6333     6330       -3
+ Partials     1147     1145       -2

Impacted Files
Coverage Δ

...ure-cli-testsdk/azure/cli/testsdk/vcr_test_base.py
69.8% <100%> (+0.62%)
:arrow_up:

src/azure-cli-testsdk/azure/cli/testsdk/base.py
71.72% <62.5%> (+1.02%)
:arrow_up:

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 f3f7f51...0be4fd8. Read the comment docs.


conda install failed

Hi,
I cannot install dlpy through conda. How can I fix it?
$ conda install -c sas-institute sas-dlpy
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.27=0
  - python=3.9 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.27

My Python version: 3.9.7
My OS info:
~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

My conda env has been created from standard "anaconda" that continuum provides. Only SWAT package has been added on top of it. Any help would be much appreciated.

what it the version of your swat?

@shlongsas Thanks. The version of my swat is 1.9.3. It was installed by conda install -c sas-institute swat, I remember.
# Name                    Version                   Build  Channel
swat                      1.9.3                    py39_0    sas-institute

I created another conda env intalling Python version 3.8.13 along with anaconda packages. And under this new env, I did the following:
$ conda install -c sas-institute swat

It's successfully installed. And then,
$ conda install -c sas-institute sas-dlpy

Done! It's also succesfully installed. Resolved.
I suppose Python version 3.9.7 was not proper for dlpy? I don't know. But I can close this issue. Thanks!


Busted embedded file dates in ods

https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_INFO_function

This ain't happening.  On hold.


Controlling the Pi-Blaster.js from a web page

I am working towards controlling a set of RGB Led strips... As the Pi will be worked away somewhere I wonder if you guys know a easy way to call upon the pi-blaster.js from afar...
ie. ledHQ.mywebsite.com
Something doesnt want to work...
Situation is currently that the pi shows a slideshow hosted on a website...
It does that through a borderless Chromium.
I'd prefer to use a chromium accesible website :)

You can use nodejs on the raspberry pi to expose a simple webservice to control the LEDs. This goes a bit beyond the scope of this project so I am going to close this ticket.


add hex string method to overlaycontentkey

What was wrong?
Resolves #528.
How was it fixed?
Adds new default method to OverlayContentKey trait as follows:
/// Returns the content key as a hex encoded "0x"-prefixed string.
fn to_hex(&self) -> String {
    hex_encode(self.to_bytes())
}

Uses to_* naming convention for borrowed->owned methods according to guidelines
Trin-native hex_encode/hex_decode are used instead of external hex::encode/hex::decode. These utils
were copied from trin-core to ethportal-api.
Testing
Added test cases for .to_hex() and, for comparison, the existing .to_string()
// Existing .to_string()
"EpochAccumulator { epoch_hash: 0xe242..c491 }"
// New .to_hex()
"0x03e242814b90ed3950e13aac7e56ce116540c71b41d1516605aada26c6c07cc491"

Usage
Used in self.serialize() to replace/condense existing logic.
To-Do

[x] Add entry to the release notes (may forgo for trivial changes)
[x] Clean up commit history

@perama-v Heyo, could you rebase this then let's get it merged!


Delete Kubernetes resources when the client waits for and sees app completion

What changes were proposed in this pull request?
This PR fixes #519 for the case where the submission client waits for the submitted application to finish. Upon completion of the application, the submission client deletes all Kubernetes resources created for the application to run.

rerun integration tests please

I want to re-iterate on this issue/PR. If we have concern around losing some objects like the ConfigMap for setting up the init-container, as I said above, we could log information stored in it for debugging purpose. This, IMO, is better than making the ConfigMap stick around just for debugging. Thoughts?
@mccheah @foxish

Any thoughts on this ? It would be good to cleanup resources after completion. In a normal scenario, this is filling up a lot of services in completed state for example.

Thanks @felixcheung for jumping on this :)

hey where are we on this?
and how about going upstream?

@felixcheung Yes, I think we should go upstream. I created https://issues.apache.org/jira/browse/SPARK-23571.

Sorry, didn't see this before. Same comment as in https://github.com/apache/spark/pull/20722#discussion_r171968410. Why not do this during driver shutdown - that way, 1) we lose the driver and k8s garbage collection cleans up 2) driver terminates and we clean up executors as well as auxiliary resources like configmaps etc.

I want to re-iterate on this issue/PR. If we have concern around losing some objects like the ConfigMap for setting up the init-container, as I said above, we could log information stored in it for debugging purpose. This, IMO, is better than making the ConfigMap stick around just for debugging. Thoughts?

I agree. We can dump all k8s objects. My hunch is that it's not that useful, given it's a pretty deeply buried implementation detail.

As discussed in https://github.com/apache/spark/pull/20722, we think the right solution is move resource management into the driver pod. This way, cleanup of auxiliary resources upon completion is guaranteed regardless of which deployment mode is used and whether the client waits for application to complete or not.


Memory leak in Quick.Commons.GetSpecialFolderPath

Using Delphi 10.3 in Windows 10, setting ReportMemoryLeaksOnShutdown to True detects a memory leak in GetSpecialFolderPath function.
As stated in https://www.experts-exchange.com/questions/10206340/Locating-special-folder.html, maybe you could consider a solution like:
implementation
uses
Winapi.ActiveX;
...
function GetSpecialFolderPath(folderID : Integer) : string;
var
malloc : IMalloc;
ppidl: PItemIdList;
begin
if (SHGetMalloc(malloc)=NOERROR) then
begin
SHGetSpecialFolderLocation(0, folderID, ppidl);
SetLength(Result, MAX_PATH);
if not SHGetPathFromIDList(ppidl,{$IFDEF FPC}PAnsiChar(Result){$ELSE}PChar(Result){$ENDIF}) then
begin
malloc.Free(ppidl);
raise EShellError.create(Format('GetSpecialFolderPath: Invalid PIPL (%d)',[folderID]));
end;
SetLength(Result, lStrLen({$IFDEF FPC}PAnsiChar(Result){$ELSE}PChar(Result){$ENDIF}));
malloc.Free(ppidl);
end;
end;
In my test, that solved the problem.
Regards,
Paolo

I tried with Windows 10 and Delphi 10.3:
ReportMemoryLeaksOnShutdown := True; for i := 0 to 100 do Writeln(path.USERPROFILE);
but no memory leaks was reported.
Could you tell me how to reproduce it?

I'm sorry, I no longer have the code I used for testing that method. I remember we used it to read APPDATA in a VCL application.
I tested your code. With ReportMemoryLeaksOnShutdown you are right, no leak found.
But a memory leak is still found by madExcept: here is a screenshot.

Using path.APPDATA:

When I used the solution I proposed above, no leak was found.

Closing this issue as it has been inactive for an extended period of time and there has been no recent activity. If this issue is still relevant, please feel free to reopen it with updated information.


Updating docs...and handling different file types execution status equally

Re: comments on docs PR https://github.com/jupyter/jupyter-book/pull/299

Remember that the HTML for pages is cached until you update your content, so while this will take a long time the first time you run it (since all your book content will need to run), it\ should be incrementally faster in subsequent builds.

To me this suggests that --execute runs in a cached way, so it would need to keep track of each ipynb and only run it again if it had changed?
Change:

Note: If you store your Notebook content as Jupytext documents, then",

to something like If you store your Notebook content as Jupytext documents, such as .md, .py ..?? documents, then ...

Note: If you store your Notebook content as Jupytext documents, then they will automatically be run each time you build your book. This is because Jupytext...

This suggests a difference in the way ipynb docs are treated compared to md/py docs?

Type
Default
execute

.ipynb
Doesn't execute
Executes

.md
Executes
Executes

.py
Executes
Executes

I was wondering whether it would make sense to have settings in the config.py to define whether code in different document types is executed or not.
This could then allow for switches on different file types - so for example, you might run ipynb and md but not disable execution of py?
Another way might be to enable / disable execution via config file in different directories, but I see this could get to be a config minefield:-(

@choldgraf PR https://github.com/jupyter/jupyter-book/pull/328 looks good, though I had a go at tidying it up slightly here: https://github.com/jupyter/jupyter-book/pull/350
I tweaked the table to compare jupyter run and jupyter build actions, which raised a couple of issues:

what if I want to build the book but not execute the Jupytext docs (the behaviour for notebook vs jupytext doc is not consistent in the jupyter build column;
under the jupyter run command, are the jupytext documents run? This may be useful if you want to generate warnings, for example, if the code contains errors, BUT it doesn't make sense to try to run the notebooks from the point of view of inserting code outputs back into the document because by default jupytext docs donlt incorporate code output (though they could if you run the jupytext code into an ipynb then convert that ipynb to vanilla md?)

One other thing that comes to mind relates to jupyter-book run. IIRC, notebooks can be run that stop at the first code cell error, or that can be forced to run to the end of the notebook (allow_errors=True). This latter approach is useful if you want to deliberately code in an error and then show how to fix it later in the notebook.
Could / should / does jupyter book support both these notebook execution modes, or force one of them?
Also, I think nbconvert can include widget state (docs). Should this be exposed via switches to  jupyter run command and if so, defaulted how?


NavigationDarwer "bug"

Hy Men!
The project is the best,than more, but I found 1 bug.
When set normally and are fully working...however Over API 21 the DrawerLayout(with Official NavigationView) not set "android:fitsSystemWindows="true"....
Therefore, when the animation are working put statusbar too.
I don't speak English sorry, but I hope understandable.
The first two picture are good.
The thirth and fourth picture are bad.

Thank you for your feedback.
But I don't understand the problem..
Could you share your codes to reproduce the problem?


Getting started...

Hi,
I'm trying to play audio files from a MiniDLNA server locally on an Android phone.
So far, I can search for DLNA server in my network and I get the MiniDLNA device. But when I try to access this device I get always the error "Bad state: No element".
I tried to figure out what your u2flutter is doing, but it's really hard for a non chinese speaking person like me. I did see here in another issue that someone else was mentioning this error too. But since that conversation is also in chinese, it didn't helped me.
Maybe you can give me some advise how to grab artists, albums and songs from the DLNA server using your library.
Thanks

MiniDLNA works as a MediaServer not a MediaRender , while this library is used to communicate with a MediaRender and cast any playable url to the MediaRender , eg : TV ; to work with MediaServer , we need implement the ContentDirectory service, which is not implemented now , we may implement it in the next fews weeks if it is necessary

Thank you for the fast and clarifying answer.


S3 | Get an individual hunt

API Request
Acceptance Criteria

A GET /hunts/:id Route that returns a hunt object from mongo by it's ObjectID

@Kyle-Omara @Ziwei


Workaround symengine serialization payload incompatibility

Summary
In QPY we rely on symengine's internal serialization to represent the internal symbolic expression stored inside a ParameterExpression object. However, this format is nominally symengine version specific and will raise an error if there is a mismatch between the version used to generate the payload and what is trying to read it. This became an issue in the recent symengine 0.13 release which started to raise an error when people installed it and tried to load QPY payloads across the versions. This makes the symengine serialization unsuitable for use in QPY because it's supposed to be independent of these kind of concerns, especially when QPY is used in a server-client model where you don't necessarily control the installed environment of symengine.
To correctly address this issue we'll need a new version of the QPY format that owns the serialization format of ParameterExpressions directly instead of relying on symengine which doesn't offer a compatibility guarantee on the format. However this won't be quick solution and users are encountering issues since the release of 0.13. This commit introduces a workaround for this specific instance of the mismatch. It turns out the payload format between 0.11 and 0.13 is completely unchanged except for the version number. So before passing the parameter expression payload to symengine for deserialization this commit checks the versions numbers are the same, if they're not it checks that we're dealing with 0.11 or 0.13, and if so it changes the version number in the payloads header appropriately. If the version number is outside those bounds it raises an exception because while this hack is known to be safe for translating between symengine 0.11 and 0.13, it's not possible to know for a future version whether the payload format changed or not.
Longer term we will need a proper fix in qpy version 13 that introduces a qiskit native serialization format for parameter expression instead of relying on symengine or sympy to do it for us.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

4 of 12 (33.33%)  changed or added relevant lines in 1 file are covered.
14 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.007%) to 88.861%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/qpy/binary_io/value.py
4
12
33.33%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
94.02%

crates/qasm2/src/parse.rs
6
97.61%

crates/qasm2/src/lex.rs
7
91.73%

Totals

Change from base Build<PHONE_NUMBER>3:
-0.007%

Covered Lines:
74144

Relevant Lines:
83438

💛  - Coveralls

In local testing, I generated the QPY backwards compatibility tests using this branch, with Symengine 0.11 and Symengine 0.13, and then attempted to reload them with both.  I found that the schedule code (qiskit/qpy/binary_io/schedules.py:109) has a similar loader, which is similarly not aware of multiple symengine versions and also needs a fix.

Probably we can find a way to slightly unify those two code paths, since they looked pretty similar to me.

In local testing, I generated the QPY backwards compatibility tests using this branch, with Symengine 0.11 and Symengine 0.13, and then attempted to reload them with both. I found that the schedule code (qiskit/qpy/binary_io/schedules.py:109) has a similar loader, which is similarly not aware of multiple symengine versions and also needs a fix.

Done in: https://github.com/Qiskit/qiskit/pull/13251/commits/df299685bb737629c967abb29b9cacba2ef25d09

To finish the thought - use_symengine=True became the default in 1.0.0, which also required symengine>=0.11.0, so we can at least say "using QPY with the defaults to load remains fully backwards compatible" (up to the JSON story, ofc, which has always explicitly warned about the backwards compat).

Ok, I've updated the PR in: https://github.com/Qiskit/qiskit/pull/13251/commits/e089d5c2fc01508b1acf709041a799e074b611b6 to be more explicit about the symengine versions coming from 0.45.x and 0.46.x with use_symengine=True. I also added warnings to the docs and release notes about the known issues around this.


Cleanup test harnesses

Decsription

Dedupe test harnesses
Rename test harness methods with exposed
Don't shadow existing variables

Closes #45

Current dependencies on/for this PR:

main

PR #58   👈

This comment was auto-generated by Graphite.

Closing in favor #75


Request to Transfer the ppRPA Module to PySCF-Core

Dear PySCF Board of Directors,
I am writing to formally request the transfer of the particle-particle random phase approximation (ppRPA) module from PySCF-forge to PySCF-core.
Since the first introduction of the ppRPA formalism in quantum chemistry by Weitao Yang's group at Duke University, this methodology has gained significant traction in the community. It has been effectively utilized for studying ground-state and excited-state properties across a wide range of systems, including:

dissociation energies and thermochemistry properties: Phys. Rev. A 88, 030501(R), J. Chem. Phys. 140, 18A511 (2014)
valence excitation energies: J. Chem. Phys. 139, 174110 (2013), J. Chem. Phys. 141, 124104 (2014)
singlet-triplet gaps of diradicals: Proc. Natl. Acad. Sci. U.S. A. 113.35 (2016): E5098-E5107, J. Phys. Chem. A 2015, 119, 20, 4923–4932
charge-transfer excitation energies: J. Chem. Phys. 146, 124104 (2017)
double excitation energies: arxiv.org/abs/2411.16599v1
defect excitation energies: J. Phys. Chem. Lett. 2024, 15, 10, 2757–2764, J. Chem. Theory Comput. 2024, 20, 18, 7979–7989

We believe ppRPA can be a useful component in PySCF to study the electronic structure and be interesting for quantum chemistry community. Thank you for considering this request. Please let me know if there are any additional details or steps required to proceed with this transfer.
Best Regard,
Jiachen Li
Postdoc of Tianyu Zhu's group at Yale University

Dear Jiachen, Thanks for your work on ppRPA. We'll discuss and get back to
you.
On Wed, Dec 4, 2024 at 1:28 PM Jiachen Li @.***> wrote:

Dear PySCF Board of Directors,
I am writing to formally request the transfer of the particle-particle
random phase approximation (ppRPA) module from PySCF-forge to PySCF-core.
Since the first introduction of the ppRPA formalism in quantum chemistry
by Weitao Yang's group at Duke University, this methodology has gained
significant traction in the community. It has been effectively utilized for
studying ground-state and excited-state properties across a wide range of
systems, including:

dissociation energies and thermochemistry properties: Phys. Rev. A
88, 030501(R), J. Chem. Phys. 140, 18A511 (2014)
valence excitation energies: J. Chem. Phys. 139, 174110 (2013), J.
Chem. Phys. 141, 124104 (2014)
singlet-triplet gaps of diradicals: Proc. Natl. Acad. Sci. U.S. A.
113.35 (2016): E5098-E5107, J. Phys. Chem. A 2015, 119, 20, 4923–4932
charge-transfer excitation energies: J. Chem. Phys. 146, 124104
(2017)
double excitation energies: arxiv.org/abs/2411.16599v1
defect excitation energies: J. Phys. Chem. Lett. 2024, 15, 10,
2757–2764, J. Chem. Theory Comput. 2024, 20, 18, 7979–7989

We believe ppRPA can be a useful component in PySCF to study the
electronic structure and be interesting for quantum chemistry community.
Thank you for considering this request. Please let me know if there are any
additional details or steps required to proceed with this transfer.
Best Regard,
Jiachen Li
Postdoc of Tianyu Zhu's group at Yale University
—
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf-forge/issues/87, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGAJC2OGKFQIGVWIPEP6HT2D5CVPAVCNFSM6AAAAABTAZHHBGVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YTQNJQGMYDAMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@tberkel Thank you so much!


Support .npmrc configuration

It would be good if ied would read and use options from the user's or project's .npmrc file. Usually there is more in there than just a registry. We use artifactory and authentication so for us ied would need to be able to authenticate to artifactory in the same way npm does.
This is probably related to the issue of supporting private repositories. Issue 103.

Using an existing .npmrc file as configuration is not planned. This adds additional complexity and might in fact be confusing when we still have an iedrc or other ied-specific config file.

That being said, we're not planning on using ini style config files, but plain old JSON.


Namespace Crawls and Datasets by Project

Right now every crawl and dataset name must be unique because its name is not associated with any project. We can make it so that you can have crawls and datasets by the same name in different projects by basing the namespace off of the project name.

I would suggest namespacing the URL too.
If the crawl space is foo and the crawler is called bar then you could access it as
http://explorer.continuum.io/explore/foo/bar something like that.

The easiest thing here is to control the name of the index as its created. For both nutch and ache we can supply a custom nam. We can have the name of the index reflect its related project.
After this, It seems to me that I can append some key/values to the index indicating creation date, index type (crawl or dataset), and crawler type. This seems like a fairly straightforward and quick way to do it. What do you guys think @tonyfast @ahmadia @kriehl
As for changing the foreign key relations of crawl, crawlmodel, etc, that seems like a separate issue.

@kriehl @ahmadia
So I’m working on this pr: https://github.com/memex-explorer/memex-explorer/pull/647
I realized that the simplest solution would be to just add the crawler type into the name, as well as the project name. Right now it looks like this:
@property
def index_name(self):
    return "%s_%s_%s" % (self.slug, self.project.slug, self.crawler

This is added when the index is created. Aron had the idea of creating a separate index that contains info about each index we create and its associated project and crawl.
This is really the simplest fix I can come up with to this problem. Let me know if this is sufficient.

My only comment on this was the danger of being unable to filter properly due to an incomplete separation of fields.
I don't fully understand how filters work in ES, but my initial idea would be that it would be easier to add this information into a separate "meta-index" of crawl information.  If the information is only contained in the index name, then filtering becomes a bit sloppier, since projects and crawls can be named anything, so potentially if somebody had "ache", "nutch", or "dataset" in their project or crawl name it would make it harder to filter these types of indices.


poppler_data: 0.4.8 -> 0.4.9

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/poppler-data/versions.
These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 0.4.9 with grep in /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9
directory tree listing: https://gist.github.com/d2d3458239d6b4ca15b241ba36a9309e

Success on aarch64-linux (full log)
Attempted: poppler_data
Partial log (click to expand)
-- Installing: /nix/store/cmmfn8xp7yzcrpbyqv2cq6x85jrj89rd-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-GB1
-- Installing: /nix/store/cmmfn8xp7yzcrpbyqv2cq6x85jrj89rd-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-CNS1
-- Installing: /nix/store/cmmfn8xp7yzcrpbyqv2cq6x85jrj89rd-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-Japan1
-- Installing: /nix/store/cmmfn8xp7yzcrpbyqv2cq6x85jrj89rd-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-Korea1
-- Installing: /nix/store/cmmfn8xp7yzcrpbyqv2cq6x85jrj89rd-poppler-data-0.4.9/share/pkgconfig/poppler-data.pc
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/cmmfn8xp7yzcrpbyqv2cq6x85jrj89rd-poppler-data-0.4.9
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/cmmfn8xp7yzcrpbyqv2cq6x85jrj89rd-poppler-data-0.4.9
checking for references to /build in /nix/store/cmmfn8xp7yzcrpbyqv2cq6x85jrj89rd-poppler-data-0.4.9...

Success on x86_64-darwin (full log)
Attempted: poppler_data
Partial log (click to expand)
-- Installing: /nix/store/wc6wqq0vd8zyn32z1jxdjchj7cvfsmss-poppler-data-0.4.9/share/poppler/nameToUnicode/Greek
-- Installing: /nix/store/wc6wqq0vd8zyn32z1jxdjchj7cvfsmss-poppler-data-0.4.9/share/poppler/nameToUnicode/Thai
-- Installing: /nix/store/wc6wqq0vd8zyn32z1jxdjchj7cvfsmss-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-GB1
-- Installing: /nix/store/wc6wqq0vd8zyn32z1jxdjchj7cvfsmss-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-CNS1
-- Installing: /nix/store/wc6wqq0vd8zyn32z1jxdjchj7cvfsmss-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-Japan1
-- Installing: /nix/store/wc6wqq0vd8zyn32z1jxdjchj7cvfsmss-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-Korea1
-- Installing: /nix/store/wc6wqq0vd8zyn32z1jxdjchj7cvfsmss-poppler-data-0.4.9/share/pkgconfig/poppler-data.pc
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/wc6wqq0vd8zyn32z1jxdjchj7cvfsmss-poppler-data-0.4.9

https://lists.freedesktop.org/archives/poppler/2018-April/013033.html

Failure on x86_64-darwin (full log)
Attempted: poppler_data
Partial log (click to expand)
cannot build derivation '/nix/store/kvqnfk44ikkj25rzmddql9wgskcczxkb-apple-framework-SystemConfiguration.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/pb76j3cc5x80jvs05iwk5aj8giq4w7ci-apple-framework-CoreGraphics.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/q6fsralay9zjpdqdfkrvdd000q5alpyp-apple-framework-CoreServices.drv': 12 dependencies couldn't be built
cannot build derivation '/nix/store/59fschj228qhgn98ah5lmxfknbgdy2j0-apple-framework-CoreText.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/2dq97qn1a9cwlaiqngb40mqsf6d077x4-apple-framework-ImageIO.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/va4h9q8ybxivajp02zy9gw5hsinnxmsf-apple-framework-ApplicationServices.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/6syzla8j8i93y9ma8qwz1gw8kdzv8hhm-libuv-1.20.0.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/fh1776wh6pnhhn9skj8zlvcqfsm8fq76-cmake-3.10.2.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/xxjzpkxibmvr4752nxzgami2d86g3raf-poppler-data-0.4.9.drv': 4 dependencies couldn't be built
error: build of '/nix/store/xxjzpkxibmvr4752nxzgami2d86g3raf-poppler-data-0.4.9.drv' failed

We should also update popper with this.

Success on x86_64-linux (full log)
Attempted: poppler_data
Partial log (click to expand)
-- Installing: /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-GB1
-- Installing: /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-CNS1
-- Installing: /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-Japan1
-- Installing: /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-Korea1
-- Installing: /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9/share/pkgconfig/poppler-data.pc
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9
checking for references to /build in /nix/store/vcpqkfixqx9gdd3mf07lqil5q7kivlfm-poppler-data-0.4.9...

Success on x86_64-linux (full log)
Attempted: poppler_data
Partial log (click to expand)
-- Installing: /nix/store/yj9ag1fp3px7937vv61znqxvmfishsxc-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-GB1
-- Installing: /nix/store/yj9ag1fp3px7937vv61znqxvmfishsxc-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-CNS1
-- Installing: /nix/store/yj9ag1fp3px7937vv61znqxvmfishsxc-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-Japan1
-- Installing: /nix/store/yj9ag1fp3px7937vv61znqxvmfishsxc-poppler-data-0.4.9/share/poppler/cidToUnicode/Adobe-Korea1
-- Installing: /nix/store/yj9ag1fp3px7937vv61znqxvmfishsxc-poppler-data-0.4.9/share/pkgconfig/poppler-data.pc
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/yj9ag1fp3px7937vv61znqxvmfishsxc-poppler-data-0.4.9
strip is /nix/store/jfnxjmhyjin5h5mz8w26g9mq0x8gy5kg-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/yj9ag1fp3px7937vv61znqxvmfishsxc-poppler-data-0.4.9
checking for references to /build in /nix/store/yj9ag1fp3px7937vv61znqxvmfishsxc-poppler-data-0.4.9...

reverted in b7ad8d667c8d1bd7d531126f19a15050379731b9, see discussion in #39742


expand: tpc-ds rollup related queries errors in nightly cluster

Bug Report
Please answer these questions before submitting your issue. Thanks!
details ref:
https://github.com/pingcap/tidb/issues/45276
https://github.com/pingcap/tidb/issues/45275
https://github.com/pingcap/tidb/issues/45273
https://github.com/pingcap/tidb/issues/45272
1. Minimal reproduce step (Required)

use the refined tpc-ds query, and run it in the nightly cluster.
2. What did you expect to see? (Required)
no error
3. What did you see instead (Required)
mpp error
4. What is your TiFlash version? (Required)
nightly

/assign @AilinKid

/label moderate


Check Node version early #5430

Another PR exists #5486

Another PR #5482

oh yeah, makes sense. but there are two node version checks both in index.js and createReactApp.js. Can't we remove the redundancy and add semver.satisfies in index.js @stramel

IMO we remove the additional checks and only check in here using server instead of checking the parts of the version

cool. I will add the change in this PR.

#5430


Alternative SfM reconstruction options to colmap?

Hi, thanks for providing this great framework! I'm finding that for localizing hundreds of images, the colmap reconstructions step is by far the longest, mostly due to it's CPU-bound global bundle adjustment algorithm. Are you aware of any other libraries that could be used that have a faster bundle adjuster such as https://github.com/hjwdzh/DeepLM or https://github.com/MegviiRobot/MegBA?

We are aware of these approaches but they are usually much less flexible (e.g. in terms of shared intrinsic parameters and camera models) than Ceres, which is the solver COLMAP is based on. Ceres will support GPU-based solving in the near future, which is the path of least effort. As for the distributed setting, COLMAP has a hierarchical mapper mode, which is faster but not yet supported by hloc.

dagsfm  Could be something to look into if you have large scenes

Any update or ETA as to when Ceres will support GPU-based solving, and then how long it will take for Colmap to integrate this new version of Ceres, and then how long it will take hloc to leverage it?  First half of 2024?  End of 2024?  2025?
Thanks!  Eagerly awaiting this improvement.

We are aware of these approaches but they are usually much less flexible (e.g. in terms of shared intrinsic parameters and camera models) than Ceres, which is the solver COLMAP is based on. Ceres will support GPU-based solving in the near future, which is the path of least effort. As for the distributed setting, COLMAP has a hierarchical mapper mode, which is faster but not yet supported by hloc.

Are you referring for support for sparse solving on GPU with ceres? I have seen a few issue threads of developers attempting to use ceres::DENSE_SCHUR and having issues with RAM consumption and stability on large numbers of images.
https://github.com/colmap/colmap/issues/2305
https://github.com/ceres-solver/ceres-solver/issues/1045

After reading more into the colmap bundle adjustment code, the following algorithms are used in different scenarios
ceres::DENSE_SCHUR
ceres::SPARSE_SCHUR
ceres::ITERATIVE_SCHUR WITH ceres::SCHUR_JACOBI preconditioner
ceres::DENSE_SCHUR has GPU support, but takes too much RAM and is numerically unstable after a certain number of images.
the biggest bang for development buck would be adding GPU implementation for ceres::ITERATIVE_SCHUR, there is an open ceres issue on the topic here https://github.com/ceres-solver/ceres-solver/issues/871


How to monitor Zookeeper Status

I tried to use this command below to monitor a Kafka cluster and it works very well.
docker run -p 8080:8080 \
	-e KAFKA_CLUSTERS_0_NAME=local \
	-e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092 \
	-d provectuslabs/kafka-ui:latest

I just noticed that the Zookeeper status is offline:

I tried to add the zookeeper URL as:
docker run -p 8080:8080 \
	-e KAFKA_CLUSTERS_0_NAME=local \
	-e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092 \
	-e KAFKA_CLUSTERS_0_ZOOKEEPER=zookeeper:2181 \
	-d provectuslabs/kafka-ui:latest

Nothing changes and the Zookeeper status is still offline.
What should we do to fix it?
Thanks,
David

Hi, @AmiDavidW
Thanks for creating this issue. Could you please provide more details. What version do you use, and what configs do you use.
From issue I see that you try to connect kafka/zookeeper inside docker network, but it's not clear where is kafka/zookeeper running.

Thanks @germanosin
All the kafka, zookeeper, kafka-ui are running under the same K8S namespace. I put the Internal Endpoints of Kafka and Zookeeper in the command to start kafka-ui.
It seems it works for Kafka, but not Zookeeper.

Hi
We have the same issue where the zookeeper status is always labelled as "offline". We followed the wiki; this is our docker-compose file so far:
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
ports:
- 22181:2181
kafka:
image: confluentinc/cp-kafka:latest
depends_on:
- zookeeper
ports:
- 29092:29092
environment:ush
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
kafka-ui:
image: provectuslabs/kafka-ui
container_name: kafka-ui
ports:
- "9000:8080"
restart: always
environment:
- KAFKA_CLUSTERS_0_NAME=local
- KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
- KAFKA_CLUSTERS_0_ZOOKEEPER=localhost:2181

Hi
We have the same issue where the zookeeper status is always labelled as "offline". We followed the wiki; this is our docker-compose file so far:
version: '2'
services:
  zookeeper:
    image: confluentinc/cp-zookeeper:latest
    environment:
      ZOOKEEPER_CLIENT_PORT: 2181
      ZOOKEEPER_TICK_TIME: 2000
    ports:
      - 22181:2181

  kafka:
    image: confluentinc/cp-kafka:latest
    depends_on:
      - zookeeper
    ports:
      - 29092:29092
    environment:ush
      KAFKA_BROKER_ID: 1
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
      KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
      KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1

  kafka-ui:
    image: provectuslabs/kafka-ui
    container_name: kafka-ui
    ports:
      - "9000:8080"
    restart: always
    environment:
      - KAFKA_CLUSTERS_0_NAME=local
      - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
      - KAFKA_CLUSTERS_0_ZOOKEEPER=localhost:2181

@StefanBilliet in your case looks like you passed zookeeper connect incorrect.
You should replace
KAFKA_CLUSTERS_0_ZOOKEEPER=localhost:2181

with
KAFKA_CLUSTERS_0_ZOOKEEPER=zookeeper:2181


Add user-space IO.pipe

This is very much a WIP (it doesn't even compile yet for make std_spec), but the intent here is to implement #12238.
Since Process and Signal currently depend on the file-descriptor-based implementation, we need to keep that functionality, but for most usage of it today (in the stdlib: IO::Stapled and Crystal::FiberChannel) We already have some of the right abstractions to hook up OS-level pipes to since we have IO::FileDescriptor. IO.pipe currently returns a pair of those, so we can actually hang that on IO::FileDescriptor directly:
read, write = IO::FileDescriptor.pipe # OS-level pipe
read, write = IO.pipe                 # User-space pipe

One nice thing is that, since IO::FileDescriptor inherits from IO, you can call IO::FileDescriptor.pipe today and get that functionality.
Closes #12238

Note that because of backwards compatibility reasons, we can't change IO.pipe. It must be the other way around: we must add a new name that returns an in-memory pipe.  For example IO.memory_pipe

Note that because of backwards compatibility reasons, we can't change IO.pipe.

I wondered about this, since IO.pipe exposes the concrete types it returns.

Ah, that I hadn’t considered. Do you have any examples? I’m wondering if there’s a way we can make that work by stitching the IO::Pipe together with an FD-based pipe.

Oh, I see. Since fork isn’t a documented method anymore, is this still a concern? It seems like the only documented interface is via Process methods that don’t rely on closures implicitly passing FDs to child processes.

More of a question for @straight-shoota or @beta-ziliani
In my opinion we shouldn't have kept fork public. We should only have used it internally for Process.run. But I think it's public API and we can't undo that.
So I guess it all depends on whether we want to keep true backwards compatibility or not.
For instance, there's no fork in Go. I don't know why we decided to keep it for Crystal.

Regardless of if this is a bad idea or not, Crystal::FiberChannel also need to use the OS implementation.

What's stopping it from using the implementation based on IO::FileDescriptor?

BTW, this implementation also misses a very fundamental thing is that it does not block when there is nothing to read. It also have an infinite buffer, which is something real system pipes do not have - they start to block if you start to push a lot of data that doesn't get read.

It's not missing it. It's just not implemented yet. This is a draft.

So I'd say this isn't even an implementation of pipe. Like, at all.

How is this contributing to the conversation? Like, at all?


[gitlab] update link and context of GOOGLE_CREDENTIALS variable

What does this PR do?
Update link and context of GOOGLE_CREDENTIALS variable
Which scenarios this will impact?
None
Motivation
The former link was not mentioning GOOGLE_CREDENTIALS variable, which is a pulumi defined variable, see https://github.com/pulumi/pulumi/blob/master/pkg/authhelpers/gcpauth.go#L43-L55
Additional Notes

/merge


remove support of hidden_envoy_deprecated_cluster

Signed-off-by: Abhay Narayan Katare<EMAIL_ADDRESS>Commit Message: remove support of hidden_envoy_deprecated_cluster
Additional Description:
Risk Level: LOW
Testing: Unit
Docs Changes: NA
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

cc @tyxia

@htuch Sorry . pls hold on to review it. i need to fix some local build issues.

@htuch Hi, I am wondering due to some local build issues here only one file changes is visible to me however i commited code changes in 2 files. source/extensions/filters/network/redis_proxy/config.cc and test/extensions/filters/network/redis_proxy/config_test.cc
Can you also verify at your end if these 2 file changes are visibke at yur end ?

@htuch Hi, I am wondering due to some local build issues here only one file changes is visible to me however i commited code changes in 2 files. source/extensions/filters/network/redis_proxy/config.cc and test/extensions/filters/network/redis_proxy/config_test.cc
Can you also verify at your end if these 2 file changes are visibke at yur end ?

Hi @ankatare,  I can work with you here.
From Github, i can only see one file is changed (which is source/extensions/filters/network/redis_proxy/config.cc). Did you git add all the changes? or was your change made in the correct git branch? You can also git status to check it.
Let me know if you have any questions.

@htuch Hi, I am wondering due to some local build issues here only one file changes is visible to me however i commited code changes in 2 files. source/extensions/filters/network/redis_proxy/config.cc and test/extensions/filters/network/redis_proxy/config_test.cc
Can you also verify at your end if these 2 file changes are visibke at yur end ?

Hi @ankatare, I can work with you here.
From Github, i can only see one file is changed (which is source/extensions/filters/network/redis_proxy/config.cc).
But actually from your previous commit 2edb9e2, I can see changes in both files. Maybe it has something wrong with your most recent merge main?

Hi @ankatare, I took another look. Only one file changed is expected behavior.
The changes you made in config_test has already been done in #17627, so those changes in your PR disappeared once you merge main.
@htuch , I think this PR is ready to be LGed and approved

@tyxia yeah.. thanks a lot for deep analysis and help. Same seems to em as well :)


Get Consumables from Club

We already have implemented getting players from club but how to get consumables? I tried to implement it by myself. It is not hard to get club items (kits, badges, stadiums) or staff from club. But I don`t understand how to get consumables. There is no id for them like for other type of cards.

Thanks, I will try to implement it.

Pls close if your question is answered.


Phoebe/misc

What's new in this PR?
5/20/21

Fixed isNSEVP is undefined bug, which caused both users types to view KS user content
Removed unnecessary util functions
In StatCard.js: optimized to only perform the calculations necessary for current user, reorganized code by grouping logic by stat card, fixed some calculation logic, replaced for-loops with built-in array functions, removed unnecessary state variables
In FarmSearch.js: only display KS-affiliated farms if user is KS
Updated settings dropdown font

5/21/21

Reorganized utils files (removed dashUtils, renamed utils --> validationUtils, renamed farmUtils --> utils)
Moved settings dropdown to MUI
Resolved console errors from NavBar and CertificationGraph
Made progress on getting live data into ProductionGraph, on NSEVP's Dashboard
DateFilterMenu: allowed deselection of radio buttons, fixed issue where selecting start and end date did not update filter state

How to Review

Just make sure nothing (new) is broken!
Sorry I should have separated out my work into separate PRs, but main thing to review is StatCard.js

Related PRs
Phoebe can code
Next steps
Screenshots
Design Status
CC: @phoebeli23

Hi Phoebe! Everything looks good on my end, nothing looks broken. I liked how you organized the calculations in Statcard.js by user; this helped clean the code up. FarmSearch.js looks good too; it is helpful that KS users can only see KS farmers!


Visualisation

3.2. Write a function that takes a specified number of arrays doubles (time, concentration) as input and plots a graph per array double.
Responsible collaborator: Marina

Write a function that takes the user input and creates each PK model for the given input.

Write a function that takes a PK model and the parameters provided by the user as input, solves the PK model, and outputs an array double (time, concentration).

Responsible collaborator:

3.1 Write function that takes a specified number of array doubles (time, concentration) as input and outputs a csv file.
Responsible collaborator:

3.1 Write function that takes a specified number of array doubles (time, concentration) as input and outputs a csv file.
Responsible collaborator:

3.2. Write a function that takes a specified number of arrays doubles (time, concentration) as input and plots a graph per array double.
Responsible collaborator: Marina


Clear UART overflow bit.

Permission to use, copy, modify, and/or distribute this bugfix for any purpose with or without fee is hereby granted.

I probably would have used one unsafe deref of the icr.

Yeah, good idea. FTFY.