Component Already Defined Errors?

See error below.  Any ideas?
Config
external_components:
  - source: github://ylianst/esp-iq2020
    refresh: 30s

uart:
  id: SpaConnection
  tx_pin: GPIO26
  rx_pin: GPIO32
  baud_rate: 38400

iq2020:
  uart_id: SpaConnection
#   flow_control_pin: GPIO0
  port: 1234
  audio_emulation: true

binary_sensor:
  - platform: iq2020-dev
    salt_level_confirmed:
      name: Salt Level Confirmed

# If using celsius units on the hot tub remote, replace _f_ with _c_ in the three entries below.
# Feel free to remove any sensor that are not relevent for your hot tub.
sensor:
    #measurement counters
  - platform: iq2020
    current_${celcius_farenheit}_temperature:
      name: Current Temperature

    target_${celcius_farenheit}_temperature:
      name: Target Temperature

    outlet_${celcius_farenheit}_temperature:
      name: Heater Outlet

    pcb_${celcius_farenheit}_temperature:
      name: Controller Temperature

    salt_content:
      name: Salt Content

    #Lifetime counters
    lifetime_runtime:
      name: Lifetime Runtime
      on_value:
        then:
          - lambda: |-
              ESP_LOGD("main", "The current version is %s", x.c_str());
      id: jacuzzi_total_runtime

    heater_total_runtime:
      name: Heater Runtime
      id: heater_total_runtime

    circulation_pump_total_runtime:
      name: Circulation Pump Runtime
      id: circulation_pump_total_runtime

    lights_total_runtime:
      name: Lights Runtime
      id: lights_total_runtime

    jets1_total_runtime:
      name: Jets 1 Runtime
      id: jets1_total_runtime
#      jet1_low_total_runtime:
#      name: Jets 1 Low Runtime
#      id: jets1_low_total_runtime

    jets2_total_runtime:
      name: Jets 2 Runtime
      id: jets2_total_runtime

    jet2_low_total_runtime:
      name: Jets 2 Low Runtime
      id: jets2_low_total_runtime

#    jets3_total_runtime:
#      name: Jets 3 Runtime
#      id: jets3_total_runtime

    power_on_counter:
      name: Power On Counter

    #Energy sensors
    power_l1:
      name: Pump Power

    power_heater:
      name: Small Heater Power

    power_l2:
      name: Heater Power

    voltage_l1:
      name: Voltage L1

    voltage_heater:
      name: Voltage Heater

    voltage_l2:
      name: Voltage L2

    current_l1:
      name: Current L1

    current_heater:
      name: Current Heater

    current_l2:
      name: Current L2

    #light sensors
    logo_lights:
      name: Logo Lights

    buttons:
      name: Buttons

    lights_intensity:
      name: Light Intensity

    lights_underwater_intensity:
      name: Underwater Light Intensity

    lights_bartop_intensity:
      name: Bartop Light Intensity

    lights_pillow_intensity:
      name: Pillow Light Intensity

    lights_exterior_intensity:
      name: Exterior Light Intensity

    lights_underwater_color:
      name: Underwater Light Color

    lights_bartop_color:
      name: Bartop Light Color

    lights_pillow_color:
      name: Pillow Light Color

    lights_exterior_color:
      name: Exterior Light Color

select:
  # audio
  - platform: iq2020
    name: Audio Source
    id: audio_source
    datapoint: 0

  # lights
  - platform: iq2020
    name: Color Underwater
    id: lights1_color
    datapoint: 1
    options:
      - Violet
      - Blue
      - Cyan
      - Green
      - White
      - Yellow
      - Red
      - Cycle

  - platform: iq2020
    name: Color Bartop
    id: lights2_color
    datapoint: 2
    options:
      - Violet
      - Blue
      - Cyan
      - Green
      - White
      - Yellow
      - Red
      - Cycle

  - platform: iq2020
    name: Color Pillow
    id: lights3_color
    datapoint: 3
    options:
      - Violet
      - Blue
      - Cyan
      - Green
      - White
      - Yellow
      - Red
      - Cycle

  - platform: iq2020
    name: Color Exterior
    id: lights4_color
    datapoint: 4
    options:
      - Violet
      - Blue
      - Cyan
      - Green
      - White
      - Yellow
      - Red
      - Cycle

  - platform: iq2020
    name: Color Cycle Speed
    id: lights_cycle_speed
    datapoint: 5

number:
  #jacuzzi audio control
  - platform: iq2020
    name: Volume
    id: audio_volume
    datapoint: 0

  - platform: iq2020
    name: Treble
    id: audio_treble
    datapoint: 1

  - platform: iq2020
    name: Bass
    id: audio_bass
    datapoint: 2

  - platform: iq2020
    name: Balance
    id: audio_balance
    datapoint: 3

  - platform: iq2020
    name: Subwoofer
    id: audio_subwoofer
    datapoint: 4

  # lights
  - platform: iq2020
    id: lights1_intensity
    name: Intensity Underwater
    datapoint: 7
    maximum: 5

  - platform: iq2020
    id: lights2_intensity
    name: Intensity Bartop
    datapoint: 8
    maximum: 5

  - platform: iq2020
    id: lights3_intensity
    name: Intensity Pillow
    datapoint: 9
    maximum: 5

  - platform: iq2020
    id: lights4_intensity
    name: Intensity Exterior
    datapoint: 10
    maximum: 5

  #jacuzzi salt control
  - platform: iq2020
    id: salt_power
    name: Salt System Power
    datapoint: 5

text:
  #audio sensors
  - platform: iq2020
    name: Song Title
    id: song_title
    datapoint: 0
    mode: text
    value: "Home Assistant"

  - platform: iq2020
    name: Artist Name
    id: artist_name
    datapoint: 1
    mode: text
    value: "Remote Control"

switch:
  #jacuzzi control
  - platform: iq2020
    name: Lights
    id: lights_switch
    icon: "mdi:lightbulb"
    datapoint: 0

  - platform: iq2020
    name: Spa Lock
    id: spa_lock_switch
    icon: "mdi:lock"
    datapoint: 1

  - platform: iq2020
    name: Temperature Lock
    id: temp_lock_switch
    icon: "mdi:lock"
    datapoint: 2

  - platform: iq2020
    name: Clean Cycle
    id: clean_cycle_switch
    icon: "mdi:vacuum"
    datapoint: 3

  - platform: iq2020
    name: Summer Timer
    id: summer_timer_switch
    icon: "mdi:sun-clock"
    datapoint: 4

  - platform: iq2020
    name: Salt Boost
    id: salt_system_boost
    datapoint: 8

fan:
  #jacuzzi jet control
  - platform: iq2020
    name: Jets 1
    id: jets1
    icon: "mdi:turbine"
    datapoint: 0
    speeds: 1

  - platform: iq2020
    name: Jets 2
    id: jets2
    icon: "mdi:turbine"
    datapoint: 1
    speeds: 2

# Set "celsius" to "true" if using celsius units.
climate:
  - platform: iq2020
    name: Temperature
  #  celsius: true

text_sensor:
    #jacuzzi sensors
  - platform: iq2020
    versionstr:
      name: Version

  - platform: template
    id: total_runtime_$device
    name: "Total Runtime_$device"
    update_interval: $sensor_update_frequency
    icon: "mdi:timer-sand"
    lambda: |-
      int seconds = round(id(${device}_total_runtime).state);
      int years = seconds / (24 * 3600);
      int months = seconds / (24 * 3600);
      int days = seconds / (24 * 3600);
      seconds = seconds % (24 * 3600);
      int hours = seconds / 3600;
      seconds = seconds % 3600;
      int minutes = seconds /  60;
      seconds = seconds % 60;
        return {
          ((days ? String(days) + " days, ": "") +
          (hours ? String(hours) + ":": "") +
          (minutes ? String(minutes) + ":": "") +
          (String(seconds))
          ).c_str()};

  - platform: template
    id: total_runtime_$device_1
    name: "Total Runtime_$device_1"
    update_interval: $sensor_update_frequency
    icon: "mdi:timer-sand"
    lambda: |-
      int seconds = round(id(${device_1}_total_runtime).state);
      int years = seconds / (24 * 3600);
      int months = seconds / (24 * 3600);
      int days = seconds / (24 * 3600);
      seconds = seconds % (24 * 3600);
      int hours = seconds / 3600;
      seconds = seconds % 3600;
      int minutes = seconds /  60;
      seconds = seconds % 60;
        return {
          ((days ? String(days) + " days, ": "") +
          (hours ? String(hours) + ":": "") +
          (minutes ? String(minutes) + ":": "") +
          (String(seconds))
          ).c_str()};

  - platform: template
    id: total_runtime_$device_2
    name: "Total Runtime_$device_2"
    update_interval: $sensor_update_frequency
    icon: "mdi:timer-sand"
    lambda: |-
      int seconds = round(id(${device_2}_total_runtime).state);
      int years = seconds / (24 * 3600);
      int months = seconds / (24 * 3600);
      int days = seconds / (24 * 3600);
      seconds = seconds % (24 * 3600);
      int hours = seconds / 3600;
      seconds = seconds % 3600;
      int minutes = seconds /  60;
      seconds = seconds % 60;
        return {
          ((days ? String(days) + " days, ": "") +
          (hours ? String(hours) + ":": "") +
          (minutes ? String(minutes) + ":": "") +
          (String(seconds))
          ).c_str()};

  - platform: template
    id: total_runtime_$device_3
    name: "Total Runtime_$device_3"
    update_interval: $sensor_update_frequency
    icon: "mdi:timer-sand"
    lambda: |-
      int seconds = round(id(${device_3}_total_runtime).state);
      int years = seconds / (24 * 3600);
      int months = seconds / (24 * 3600);
      int days = seconds / (24 * 3600);
      seconds = seconds % (24 * 3600);
      int hours = seconds / 3600;
      seconds = seconds % 3600;
      int minutes = seconds /  60;
      seconds = seconds % 60;
        return {
          ((days ? String(days) + " days, ": "") +
          (hours ? String(hours) + ":": "") +
          (minutes ? String(minutes) + ":": "") +
          (String(seconds))
          ).c_str()};

  - platform: template
    id: total_runtime_$device_4
    name: "Total Runtime_$device_4"
    update_interval: $sensor_update_frequency
    icon: "mdi:timer-sand"
    lambda: |-
      int seconds = round(id(${device_4}_total_runtime).state);
      int years = seconds / (24 * 3600);
      int months = seconds / (24 * 3600);
      int days = seconds / (24 * 3600);
      seconds = seconds % (24 * 3600);
      int hours = seconds / 3600;
      seconds = seconds % 3600;
      int minutes = seconds /  60;
      seconds = seconds % 60;
        return {
          ((days ? String(days) + " days, ": "") +
          (hours ? String(hours) + ":": "") +
          (minutes ? String(minutes) + ":": "") +
          (String(seconds))
          ).c_str()};

  - platform: template
    id: total_runtime_$device_5
    name: "Total Runtime_$device_5"
    update_interval: $sensor_update_frequency
    icon: "mdi:timer-sand"
    lambda: |-
      int seconds = round(id(${device_5}_total_runtime).state);
      int years = seconds / (24 * 3600);
      int months = seconds / (24 * 3600);
      int days = seconds / (24 * 3600);
      seconds = seconds % (24 * 3600);
      int hours = seconds / 3600;
      seconds = seconds % 3600;
      int minutes = seconds /  60;
      seconds = seconds % 60;
        return {
          ((days ? String(days) + " days, ": "") +
          (hours ? String(hours) + ":": "") +
          (minutes ? String(minutes) + ":": "") +
          (String(seconds))
          ).c_str()};

  - platform: template
    id: total_runtime_$device_6
    name: "Total Runtime_$device_6"
    update_interval: $sensor_update_frequency
    icon: "mdi:timer-sand"
    lambda: |-
      int seconds = round(id(${device_6}_total_runtime).state);
      int years = seconds / (24 * 3600);
      int months = seconds / (24 * 3600);
      int days = seconds / (24 * 3600);
      seconds = seconds % (24 * 3600);
      int hours = seconds / 3600;
      seconds = seconds % 3600;
      int minutes = seconds /  60;
      seconds = seconds % 60;
        return {
          ((days ? String(days) + " days, ": "") +
          (hours ? String(hours) + ":": "") +
          (minutes ? String(minutes) + ":": "") +
          (String(seconds))
          ).c_str()};

In file included from src/esphome.h:39,
                 from src/main.cpp:3:
src/esphome/components/iq2020-dev/iq2020.h:62:7: error: redefinition of 'class IQ2020Component'
 class IQ2020Component : public esphome::Component {
       ^~~~~~~~~~~~~~~
In file included from src/esphome.h:32,
                 from src/main.cpp:3:
src/esphome/components/iq2020/iq2020.h:62:7: note: previous definition of 'class IQ2020Component'
 class IQ2020Component : public esphome::Component {
       ^~~~~~~~~~~~~~~
In file included from src/esphome.h:40,
                 from src/main.cpp:3:
src/esphome/components/iq2020-dev/iq2020_climate.h:10:8: error: redefinition of 'class esphome::iq2020_climate::IQ2020Climate'
  class IQ2020Climate : public climate::Climate, public Component {
        ^~~~~~~~~~~~~
In file included from src/esphome.h:33,
                 from src/main.cpp:3:
src/esphome/components/iq2020/iq2020_climate.h:10:8: note: previous definition of 'class esphome::iq2020_climate::IQ2020Climate'
  class IQ2020Climate : public climate::Climate, public Component {
        ^~~~~~~~~~~~~
In file included from src/esphome.h:41,
                 from src/main.cpp:3:
src/esphome/components/iq2020-dev/iq2020_fan.h:10:8: error: redefinition of 'class esphome::iq2020_fan::IQ2020Fan'
  class IQ2020Fan : public fan::Fan, public Component {
        ^~~~~~~~~
In file included from src/esphome.h:34,
                 from src/main.cpp:3:
src/esphome/components/iq2020/iq2020_fan.h:10:8: note: previous definition of 'class esphome::iq2020_fan::IQ2020Fan'
  class IQ2020Fan : public fan::Fan, public Component {
        ^~~~~~~~~
In file included from src/esphome.h:42,
                 from src/main.cpp:3:
src/esphome/components/iq2020-dev/iq2020_number.h:9:8: error: redefinition of 'class esphome::iq2020_number::IQ2020Number'
  class IQ2020Number : public number::Number, public Component {
        ^~~~~~~~~~~~
In file included from src/esphome.h:35,
                 from src/main.cpp:3:
src/esphome/components/iq2020/iq2020_number.h:9:8: note: previous definition of 'class esphome::iq2020_number::IQ2020Number'
  class IQ2020Number : public number::Number, public Component {
        ^~~~~~~~~~~~
In file included from src/esphome.h:43,
                 from src/main.cpp:3:
src/esphome/components/iq2020-dev/iq2020_select.h:9:8: error: redefinition of 'class esphome::iq2020_select::IQ2020Select'
  class IQ2020Select : public select::Select, public Component {
        ^~~~~~~~~~~~
In file included from src/esphome.h:36,
                 from src/main.cpp:3:
src/esphome/components/iq2020/iq2020_select.h:9:8: note: previous definition of 'class esphome::iq2020_select::IQ2020Select'
  class IQ2020Select : public select::Select, public Component {
        ^~~~~~~~~~~~
In file included from src/esphome.h:44,
                 from src/main.cpp:3:
src/esphome/components/iq2020-dev/iq2020_switch.h:9:8: error: redefinition of 'class esphome::iq2020_switch::IQ2020Switch'
  class IQ2020Switch : public switch_::Switch, public Component {
        ^~~~~~~~~~~~
In file included from src/esphome.h:37,
                 from src/main.cpp:3:
src/esphome/components/iq2020/iq2020_switch.h:9:8: note: previous definition of 'class esphome::iq2020_switch::IQ2020Switch'
  class IQ2020Switch : public switch_::Switch, public Component {
        ^~~~~~~~~~~~
In file included from src/esphome.h:45,
                 from src/main.cpp:3:
src/esphome/components/iq2020-dev/iq2020_text.h:9:8: error: redefinition of 'class esphome::iq2020_text::IQ2020Text'
  class IQ2020Text : public text::Text, public Component {
        ^~~~~~~~~~
In file included from src/esphome.h:38,
                 from src/main.cpp:3:
src/esphome/components/iq2020/iq2020_text.h:9:8: note: previous definition of 'class esphome::iq2020_text::IQ2020Text'
  class IQ2020Text : public text::Text, public Component {

It was

binary_sensor:
 - platform: iq2020-dev
   salt_level_confirmed:
   name: Salt Level Confirmed

@efaden Your correct, use iq2020, do not use iq2020-dev. So, just replace iq2020-dev with iq2020 and that should fix it. The dev version is for my own development, it's sort of a early access version and it's the one I personally use for my own development. Once things work, I move features over to the non-dev version.
In the case above, because both dev and non-dev versions where used at the same time, it would cause the duplicate errors.
If there is any -dev in the documentation, let me know, I need to fix it. Thanks.

Closing this since it's fixed. Please re-open if anything need to be fixed. Thanks.


Examples.console

Have to place the examples files in the root files before they will run. Seems like there should be a simpler way.

@Dathomas207 did you run pip install? If you run the installation, the examples should run without moving the files.


Fix brokeness due to ui router

A bunch of fixes to make BlueFin work with the soon-to-be-released 3.8.5

Looks good. Just tested it on my local instance (3.3.14) everything appears still working fine. Thanks for the cleanup in there too. Greatly appreciated.

Darn, wrong button.

That was weird, the first 'merge' click didn't work. Oh well, it's showing up fine now.


nixfmt: 0.5.0 -> 0.6.0

Description of changes
Update to latest release
Fixes https://github.com/numtide/treefmt-nix/issues/99#issuecomment-1805476956
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 268392 run on x86_64-linux 1

1 package built:

nixfmt (nixfmt.bin ,nixfmt.doc)

Hey, I see - didn't checked the date for the merge/23.11-branchoff which is the target of the MR if I understood correct and thought it would be more in the future ✌🏻

@SebTM I believe the current plan is to merge https://github.com/NixOS/nixpkgs/pull/266650 in before the branch off (although the branch-off date is very close, so now that I think about it, I'm not 100% sure we'll merge it in time).
If branch-off happens before https://github.com/NixOS/nixpkgs/pull/266650 is merged in, would you be able to open this PR again against the new release-23.11 branch (and make sure not to change pkgs/development/haskell-modules/hackage-packages.nix, but instead add the source override in pkgs/development/haskell-modules/configuration-common.nix)?

Wanted to answer now but already merged so not needed anymore to take care in branch-off? :)

@SebTM Yeah, I believe we got https://github.com/NixOS/nixpkgs/pull/266650 in time before branch-off, so this should hopefully not need to be taken care of :-)


Please explain what the commands do

For example, what does "soft delete" do?  We should assume that many users reading this documentation don't know Azure language and terminology.

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

ID: 226e5769-f6c8-a480-db78-727fb96348ec
Version Independent ID: 8ee06a2a-6eda-11be-3c8e-6ad948be207e
Content: az keyvault
Content Source: src/azure-cli/azure/cli/command_modules/keyvault/_help.py
Service: key-vault
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

I would also like to know more about what and how --enable-rbac-authorization works, as another example.

hi @bim-msft could you pls help on this?

Hi @awentzel , you may refer to: https://docs.microsoft.com/en-us/azure/key-vault/general/overview-soft-delete for more soft-delete detail.
For RBAC, I think this is the most comprehensive doc: https://docs.microsoft.com/en-us/azure/role-based-access-control/overview . KeyVault use its AccessPolicy mechanism to do authorization as default, if you want to use RBAC, then you should specify --enable-rbac-authorization

Hi @awentzel I need to close this issue due to long time inactivity, please feel free to reopen it and let me know if you have anything unresolved, thanks!


Removes .gitmodules that was missed on the convert2tif deletion PR #119

Description
This PR removes the .gitmodules directory that was missed in the convert2tif deletion, PR #119.
Type of change

[x] Removing dead or superfluous code

Change Status

[x] Complete, tested, ready to review and merge

Has This Been Tested

[x] Not necessary

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

Loom Video: https://www.loom.com/share/35a2e2cd87674ecd991e96d61a62f29d

reviewed  - gotta love the tiny fixes to be found :)


group ACL can be defined per wiki

right now, with usage of the toml config it will require admin intervention to change the permissions and reload the server, better is to check if acl.toml is defined in src path of a wiki to extend the permissions with

https://github.com/threebotserver/publishingtools/commit/08e9d4e689257dab06424dc343e46282f4f7b06a


[OKD4.7] Web-UI broken on "Create PersistentVolumeClaim"

Hi,
we experenced an error on the Web-UI in 4.7.0-0.okd-2021-03-21-094146 Release (bare-metal UPI).
When we click in Administrator View on "PersistentVolumeClaims" -> "Create PersistentVolumeClaim" (URL: https://console-openshift-console.apps.clustername.basedomain/k8s/ns/default/persistentvolumeclaims/~new/form")

the page gets loaded and after a  short flickering showing the Forms content for a millisecond it stays completely empty - like beimg overlayed with a white page or the page content blended out:

In 4.6 it would look like this:

When looking at the pages source code it seems to be loaded having the following JavaScript-error:

TypeError: can't convert undefined to object
d create-pvc-chunk-e6298432dd020e2cd449.min.js:1
k create-pvc-chunk-e6298432dd020e2cd449.min.js:1
Ia vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
Ws vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
unstable_runWithPriority vendors~main-chunk-3652a4e54bce917198bc.min.js:166497
li vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
Ws vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
Fs vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
Ps vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
hi vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
unstable_runWithPriority vendors~main-chunk-3652a4e54bce917198bc.min.js:166497
li vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
hi vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
di vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
Is vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
notify vendors~main-chunk-3652a4e54bce917198bc.min.js:39200
notifyNestedSubs vendors~main-chunk-3652a4e54bce917198bc.min.js:39200
notifySubscribers vendors~main-chunk-3652a4e54bce917198bc.min.js:109462
handleChangeWrapper vendors~main-chunk-3652a4e54bce917198bc.min.js:39200
v vendors~main-chunk-3652a4e54bce917198bc.min.js:24762
b main-chunk-0e0280b47986f6ccc022.min.js:1
dispatch vendors~main-chunk-3652a4e54bce917198bc.min.js:24762
s main-chunk-0e0280b47986f6ccc022.min.js:1
s main-chunk-0e0280b47986f6ccc022.min.js:1
i main-chunk-0e0280b47986f6ccc022.min.js:1
vendors~main-chunk-3652a4e54bce917198bc.min.js:166203
stopped watching storage.k8s.io~v1~StorageClass before finishing incremental loading with error TypeError: can't convert undefined to object! main-chunk-0e0280b47986f6ccc022.min.js:1

It is reproduceable in 4.7, but not in 4.6 and seems like it could be related to the templating/branding issue on the first 4.7 Release...
Can you confirm that?
Best regards

Console bugs should go directly to OCP bugzilla, as OKD doesn't modify the console

Is there a github project tracking the console where folks that can't use the Redhat Bugzilla can report issues?

Thanks for the hint, but as nate-duke said, how can Origin people report it?

Btw. this might be related to:
#568
#538

Is there a github project tracking the console where folks that can't use the Redhat Bugzilla can report issues?

Yes, https://github.com/openshift/console (although I don't understand why bugzilla can't be used)

Thanks, reported it there:
https://github.com/openshift/console/issues/8452


[FEATURE] PieCharts Panel

Description
Made the PieCharts Panel Plugin for Perses Dashboards.
Added the legend through the settings option

Screenshots

Checklist

[x ] Pull request has a descriptive title and context useful to a reviewer.
[ x] Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
[ x] All commits have DCO signoffs.

UI Changes

[ x] Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
[ x] Code follows the UI guidelines.
[ x] Visual tests are stable and unlikely to be flaky.
See Storybook
and e2e docs for more details. Common issues
include:

Is the data inconsistent? You need to mock API requests.
Does the time change? You need to use consistent time values or mock time utilities.
Does it have loading states? You need to wait for loading to complete.

hey @krishagarwal278, thanks for the PR 🙏. Would you mind fix the conflicts, will be helpful to make the CI running :)


Issue #876 stuck

Hello,
the issue #876 has no progress since the issue was locked due to a spammer. I can't reach @dstrome via email or Microsoft Teams. It would be great if someone can continue to work on the issue as I think it has been forgotten due to the lock.
Best Regards,

@KCCross  Please help us and answer this issue. Thanks

resolved 876


Fallback to SoftwareRasterizer fails in Fuchsia because of crash is VulkanRasterizer destructor

Steps to Reproduce
-Remove graphics driver from bootfs (delete binary entry from //packages/gn/magma)
-Build fuchsia with
fset x86-64  --modules default && fgen --fuchsia-enable-vulkan && fbuild
-Boot Acer
Logs
Attached (boot_log.txt) is the full boot log with symbolication. Observe that the Vulkan rasterizer fails to initialize and attempts to fall back on software, and then crashes trying to destroy the VulkanRasterizer. Not sure if this is me deleting things out of order, or if there is a deeper problem in flutter or Skia

I'm not sure what to do with this bug (or even if this is the right repo for it to be reported in)?  @chinmaygarde or @abarth

The content handler is in the Flutter engine. So I don't know where else to file this issue. I will try to reproduce the crash.

I believe this is fixed


Authentication and authorization in ASP.NET Core SignalR there are errors

In jwt authentication, the document appears to obtain a token from the request, but in reality it does not.

Request header has access_token,This is very bad, it wastes a lot of my time！！

There is a giant comment above the line you highlighted explaining that the access_token query string is sometimes used.
The code will use the Authorization header otherwise.

Where is it?
I didn't see that it was necessary to use a header

That's how JWT auth works. It looks at the Authorization header.
https://learn.microsoft.com/dotnet/api/microsoft.extensions.dependencyinjection.jwtbearerextensions.addjwtbearer?view=aspnetcore-7.0
If you're using the SignalR clients we provide you don't need to worry about adding the header. The client will do that for you if you use the access token factory.

Thanks Brennen!  Closing this issue.  If either of you feel the issue should be reopened feel free to do so.


[Y2K-451] Push prompt tweaks

Also make it possible to build rn-storybook from CLI only.
cc @keybase/y2ksquad

This PR doesn't include moving it into a specific part of the signup flow since I'm still figuring out how that's all plugged in.

@buoyad This works in all my tests now.

[approved in chat]


How to add lock and unlock command

I got this running on home assistant with mosquito as the broker on the server.  I got the mqtt device with the car and all the sensor values.  How do I add commands for lock and unlock for instance?  I can't find any documentation I have scoured the internet.  Hopefully someone can help.  Also I am unsure if this is the correct way to ask for help so excuse me if this is the wrong place.

Yes thank you.
David Carnick
@.***
(619) 663-5227 P
(619) 448-9072 F
On Oct 28, 2023, at 8:40 AM, BigThunderSR @.***> wrote:

@copperlabhttps://github.com/copperlab, since you had difficulty finding the above link, I added the page to the integrated documentation within the add-on itself. Do the instructions provide what you were looking for?
—
Reply to this email directly, view it on GitHubhttps://github.com/BigThunderSR/homeassistant-addons-onstar2mqtt/issues/267#issuecomment-1783851720, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD4FJQBHMK75B3OBRWLHDZ3YBURNBAVCNFSM6AAAAAA6TE4PJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTHA2TCNZSGA.
You are receiving this because you were mentioned.Message ID: @.***>


MatCreateTimer causes Valgrind warnings

==20228== Conditional jump or move depends on uninitialised value(s)
==20228==    at 0x4EBD511: MatCreateTimer (mattimer.c:84)
==20228==    by 0x4F4A69A: QPTDualize (qptransform.c:1081)
==20228==    by 0x4F5F3A6: QPTAllInOne (qptransform.c:2113)
==20228==    by 0x4F608F2: QPTFromOptions (qptransform.c:2171)
==20228==    by 0x4032DC: main (ex4.c:111)

mattimer.c:84:  if (*W_inout == A)
The only solution i have is to add MatReuse as an argument and change the line to
if (reuse == MAT_INPLACE_MATRIX) && (*W_inout == A)


Improve updates to dutch locale

This PR updates the updates to the dutch locale file (from 9c0f882ba0c7f8635ff7ab8007d134f7aefd69f2) to translations that would be a little more conventional.

If you want to update the nl_NL locales, you can use the French one as reference, for example the ones highlighted are missing: https://github.com/miniflux/miniflux/blob/master/locale/translations/fr_FR.json#L221-L238


KeyError: 'audioQuality'

Since two or three days there is the following problem:
Traceback (most recent call last):
  File "---/bin/tiddl", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "---/lib/python3.12/site-packages/tiddl/__init__.py", line 256, in main
    downloadAlbum(input_id, skip_existing)
  File "---/lib/python3.12/site-packages/tiddl/__init__.py", line 213, in downloadAlbum
    file_dir, file_name = downloadTrack(
                          ^^^^^^^^^^^^^^
  File "---/lib/python3.12/site-packages/tiddl/__init__.py", line 162, in downloadTrack
    quality = TRACK_QUALITY[stream["audioQuality"]]
                            ~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'audioQuality'

I have only masked my actual installation path by ---.
Apparently they must have changed something in their API.

I have this happen for every 15-30 songs. It seems I can just restart the script and it'll work again

Thanks for adding this issue!
Please provide me the IDs of songs or albums that cause the problem

For me it happens for any album, including the album/284165608.
My install details:

Arch linux, always updated
tiddl installed and run in a dedicated Python Virtual Environment

Update
I have noticed very fresh update of tiddl so decided to create also a fresh venv.
Have activated it and installed tiddl together with requests and mutagen.
No problems now, at least with 'album/284165608'.
So it must have been something in my previous install.
So sorry for bothering you. For closing.


配置成功  未找到v2ray-core,下载地址:https://github.com/v2ray/v2ray-core/releases

Please read the instruction and answer the following questions before submitting your issue. Thank you.
Please answer all the questions with enough information. All issues not following this template will be closed immediately.
If you are not sure if your question is truely a bug in V2Ray, please discuss it here first.

What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?

What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy.

What did you see? (Please describe in detail, such as timeout, fake TLS certificate etc)

What's your expectation?

Please attach your configuration file (Mask IP addresses before submit this issue).

Server configuration:
    // Please attach your server configuration here.

Client configuration:
    // Please attach your client configuration here.

Please attach error logs, especially the bottom lines if the file is large. Error log file is usually at /var/log/v2ray/error.log on Linux.

Server error log:
    // Please attach your server error log here.

Client error log:
    // Please attach your client error log here.

Please attach access log. Access log is usually at '/var/log/v2ray/access.log' on Linux.

    // Please attach your server access log here.

Other configurations (such as Nginx) and logs.

If V2Ray doesn't run, please attach output from --test.

The command is usually /usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json, but may vary according to your scenario.

If V2Ray service doesn't run, please attach journal log.

Usual command is journalctl -u v2ray.
Please review your issue before submitting.

me too

我也是这样的提示

me too in win7 x64

若你下载的 v2rayN 出现了以下提示
启动服务(2021/6/10 11:51:15)...
找不到Core，下载地址: https://github.com/v2fly/v2ray-core/releases
则说明你没有安装 v2ray-core（核心）因为 V2Ray Windows 客户端主要有两个，一个是 v2ray-core（v2ray 核心，官方客户端），另一个是 v2rayN（基于 v2ray-core 的开一个 GUI 可视化客户端），其中 v2ray-core 可以单独使用，而 v2rayN 则是基于 v2ray-core 的一个辅助可视化工具。
解决方法：
你需要打开 https://github.com/v2ray/v2ray-core/releases 下载你对应的 v2ray-core，然后把 V2Ray-core zip 包里面的东西移动到 V2rayN 的文件夹里，或者将 v2rayN 里的 v2rayN.exe 拖入到 V2Ray-core 文件夹内
然而最简单的办法则是直接下载 V2rayN 完整版（选择 v2rayN-Core.zip）：
https://github.com/2dust/v2rayN/releases/latest

您好，lyx已收到邮件。


consider supporting Grunt

Oghliner currently supports building with Gulp, but a lot of webdevs use Grunt, so we should consider supporting it. I'm only a little hesitant because it would be easy for support for the two systems to get out of sync, such that we support features in one that we don't support in the other.
Alternately, we might support the same set of features, but one system is a second-class citizen (whether explicitly or implicitly), such that it doesn't get the same level of testing and maintenance.
Note that sw-precache's README - Example describes the project as having a "sample gulpfile.js", with many changes over the history of the project, but only a "basic Gruntfile.js", with only four commits in its history as of this moment.

Given the experience of sw-precache, and my experience with trying to support two subsystems that do the same thing, I think we should not do this.
That doesn't mean that someone can't use the project with Grunt: it's a node module with a well-defined API, so you can hook it up to Grunt just as easily as you can hook it up to Gulp and other such build systems.
But we shouldn't try to maintain two build scripts for building the project itself, nor should we try to maintain two build scripts in the template app. (That said, if someone wants to contribute a Grunt script for the template app, and commits to maintaining it, then I would welcome it.)


Added vector columns

Adds vector column type.
The UI/UX is suboptimal as we discussed on Tuesday.
https://user-images.githubusercontent.com/6640874/227447312-ab658506-d636-45bd-83f9-381c37eb3765.mov

@tsg thanks for spotting the weird wording in the error.
It was broken for link and I'd copied it. I've fixed it both places like this 👍
https://github.com/xataio/client-ts/pull/962/commits/0a43af36bacda94e42cd0986cd40dc512ea9d392


ValidationError when listening to messages on aleph-sdk-python 0.6.0

The following error occurs when I start listening to Aleph messages with AlephClient.watch_messaages():
ValidationError(model='AggregateMessage', errors=[{'loc': ('_id',), 'msg': 'value is not a valid dict', 'type': 'type_error.dict'}])>
Traceback (most recent call last):
  File "/home/mik/PycharmProjects/yourtrading-ai/fishnet-cod/src/fishnet_cod/local_executor.py", line 50, in main
    await listen()
  File "/home/mik/PycharmProjects/yourtrading-ai/fishnet-cod/src/fishnet_cod/local_executor.py", line 37, in listen
    async for message in aars_client.session.watch_messages(
  File "/home/mik/PycharmProjects/yourtrading-ai/fishnet-cod/.venv/lib/python3.9/site-packages/aleph/sdk/client.py", line 812, in watch_messages
    yield Message(**data)
  File "/home/mik/PycharmProjects/yourtrading-ai/fishnet-cod/.venv/lib/python3.9/site-packages/aleph_message/models/__init__.py", line 333, in Message
    return message_class(**message_dict)
  File "pydantic/main.py", line 342, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for AggregateMessage
_id
  value is not a valid dict (type=type_error.dict)

It seems there are sometimes messages with _id or id_ fields when querying api2.aleph.im

The id_ field is a MongoDB ID and should never be shown, so that's a bug in the message API. I thought it was resolved. Anyway, it will never appear again with the new version so I wouldn't care too much about it.
The aggregate issue you mentioned is more problematic. Aggregates are supposed to be a key/value store. Some users post non-dict aggregates and these messages can be accepted on older pyaleph versions. I made the switch to enable this validation on the Postgres version, but it seems I was a bit trigger-happy with this change and I did not think about the messages currently stored on Mongo nodes. Here is the line that causes your problem in aleph-message.
We can revert it for now.


'Vaccination Efficacy Measured' and 'Measured Vaccination Efficacy' have the same UAL.

Probably should obsolete the former of the two.

Deprecate http://purl.obolibrary.org/obo/APOLLO_SV_00000192, delete its UAL annotation, and change its label to "obsolete vaccination efficacy measured"


Error during scrolling when using LazyBlock

Everyone once in a while (1 in 100 runs), we see the following error.
Neither does it crash nor have any observable change in performance.
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
[0419/142636:WARNING:vsync_scheduler.cc(217)] Compositor missed update deadline by 22855 us
The following NoSuchMethodError was thrown during performLayout():
The null object does not have a getter 'inMicroseconds'.

NoSuchMethodError: method not found: 'inMicroseconds'
Receiver: null
Arguments: []
The following RenderObject was being processed when the exception was fired:
  _RenderLazyBlock NEEDS-LAYOUT
This RenderObject had the following descendants (showing up to depth 5):
  RenderRepaintBoundary relayoutSubtreeRoot=up1
    RenderPadding relayoutSubtreeRoot=up2
      RenderSemanticsGestureHandler relayoutSubtreeRoot=up3
        RenderPointerListener relayoutSubtreeRoot=up4
          RenderSemanticsGestureHandler relayoutSubtreeRoot=up5
  RenderRepaintBoundary relayoutSubtreeRoot=up1
    RenderPadding relayoutSubtreeRoot=up2
      RenderSemanticsGestureHandler relayoutSubtreeRoot=up3
        RenderPointerListener relayoutSubtreeRoot=up4
          RenderSemanticsGestureHandler relayoutSubtreeRoot=up5
  RenderRepaintBoundary relayoutSubtreeRoot=up1
    RenderPadding relayoutSubtreeRoot=up2
      RenderSemanticsGestureHandler relayoutSubtreeRoot=up3
        RenderPointerListener relayoutSubtreeRoot=up4
          RenderSemanticsGestureHandler relayoutSubtreeRoot=up5
Stack trace:
#0      Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2      ScrollableState.didUpdateScrollBehavior (package:flutter/src/widgets/scrollable.dart:393)
#3      _LazyBlockState._handleExtentsChanged.<anonymous closure> (package:flutter/src/widgets/lazy_block.dart:175)
#4      State.setState (package:flutter/src/widgets/framework.dart:419)
#5      _LazyBlockState._handleExtentsChanged (package:flutter/src/widgets/lazy_block.dart:174)
#6      _LazyBlockElement._layout (package:flutter/src/widgets/lazy_block.dart:652)
#7      RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:1325)
#8      _RenderLazyBlock.performLayout (package:flutter/src/widgets/lazy_block.dart:376)
#9      RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1123)
#10     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:727)
#11     BindingBase&Scheduler&Gesturer&Services&Renderer.beginFrame (package:flutter/src/rendering/binding.dart:89)
#12     WidgetFlutterBinding.beginFrame (package:flutter/src/widgets/binding.dart:103)
#13     BindingBase&Scheduler&Gesturer&Services&Renderer._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:83)
#14     BindingBase&Scheduler.invokeFrameCallback (package:flutter/src/scheduler/scheduler.dart:304)
#15     BindingBase&Scheduler.handleBeginFrame (package:flutter/src/scheduler/scheduler.dart:277)
#16     _beginFrame (file:///b/build/slave/Linux_Engine/build/src/out/android_Release/gen/sky/bindings/hooks.dart:48)

Does it happen if you rotate the screen after a fling? Or something like that?

No rotation involved. Just a lot of child views.

is this failing in manual testing or in automated testing?

is it failing in a flutter app on the outside of the child views or the inside?

Failing in manual testing.
In this particular case, there are 3 levels of child widget. It is happening the middle layer flx.

i'll try to clean up the code to make it less likely but without steps to reproduce it's very hard to guarantee that it's been fixed :-)

No worries, not blocking us in any way. Just wanted to put it on file :)
Thanks!

Dupe of https://github.com/flutter/flutter/issues/3231 ?

This should be fixed now. Please don't hesitate to reopen if not.


feat(landing-page): Add some visual feedback for copy button

Feature Request
Add a toast that says 'Copied' when the user clicks on the copy button.
Is your feature request related to a problem? Please describe.
Currently, when a user clicks on copy button on the landing page, there is no visual indication that the text has been copied which can be confusing for the users.

Describe the solution you'd like
I'd like to have a toast that says copied when a user clicks on the copy button and then automatically disappears after a couple of seconds(2sec).

Thanks for creating the issue @Lalit3716!
Do you think it's possible to have a fun animation when the buttons is clicked? Like sparkles? ✨ 🤪

Yeah probably but it maybe be hard to it without any third party animation lib 😅


Close connection while fatal SQLException occurred

If testOnReturn and testOnBorrow is false, a connection with fatal SQLException will still stay in the pool and borrow by another thread.
There is a choice to close the connection where the error occurred while validation is off.

@dltc Thanks for the pull request!
Can you please create a issue at https://issues.apache.org/jira/projects/DBCP and update the commit to reference this issue? Thanks!

Hi @dltc,
Thank you for your PR but there are no tests to match your changes, so we have no idea if the code actually does what the description for this ticket says it does :-( Would you be willing to add tests that provide coverage for all of your changes?
You can see code coverage for tests for the released version here for example:
https://commons.apache.org/proper/commons-dbcp/jacoco/index.html
You can generate a such a site locally by running mvn clean site
Thank you,
Gary

Closing, no feedback from @dltc since submission.


[DUBBO-3952]: Dubbo 2.7.1 ： delay export function doesn't work,

What is the purpose of the change
a follow up for #3957
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #3959 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #3959      +/-   ##
============================================
+ Coverage     63.85%   63.88%   +0.03%
  Complexity       98       98
============================================
  Files           715      715
  Lines         31498    31493       -5
  Branches       5076     5074       -2
============================================
+ Hits          20112    20120       +8
+ Misses         9075     9066       -9
+ Partials       2311     2307       -4

Impacted Files
Coverage Δ
Complexity Δ

...in/java/org/apache/dubbo/config/ServiceConfig.java
58.15% <100%> (-0.02%)
0 <0> (ø)

.../remoting/transport/netty4/NettyServerHandler.java
61.9% <0%> (-9.53%)
0% <0%> (ø)

...apache/dubbo/common/config/ConfigurationUtils.java
64% <0%> (-8%)
0% <0%> (ø)

...ng/transport/dispatcher/all/AllChannelHandler.java
51.42% <0%> (-5.72%)
0% <0%> (ø)

.../org/apache/dubbo/remoting/ExecutionException.java
15.78% <0%> (-5.27%)
0% <0%> (ø)

...exchange/support/header/HeaderExchangeHandler.java
59.84% <0%> (-2.37%)
0% <0%> (ø)

...pache/dubbo/registry/support/AbstractRegistry.java
80.07% <0%> (+1.91%)
0% <0%> (ø)
:arrow_down:

...dubbo/remoting/exchange/support/DefaultFuture.java
75.51% <0%> (+2.04%)
0% <0%> (ø)
:arrow_down:

...ng/exchange/support/header/HeartbeatTimerTask.java
78.94% <0%> (+5.26%)
0% <0%> (ø)
:arrow_down:

...ava/org/apache/dubbo/config/DubboShutdownHook.java
81.25% <0%> (+6.25%)
0% <0%> (ø)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


Add waiua to overwolf or add ingame overlay

I won't be able to upload it to Overwolf because they have to abide to Riot rules (even though they literally read game memory and show hidden information).
I am investigating overlays and will see if it possible with my implementation (WPF).

I am investigating overlays and will see if it possible with my implementation (WPF).

A (very makeshift) method would be to set the val process as the owner of the form and then set the form as visible and invisible as a keybind is pressed

A (very makeshift) method would be to set the val process as the owner of the form and then set the form as visible and invisible as a keybind is pressed

pretty good idea! imo overlay should only show when "tab" is pressed. just like other overlays do.
also isnt it possible to force a transparent form on top of valorant? (did that a while ago with winforms but idk current state)


Correctly resolve dynamic chunk paths relative to the current file at run time

Feature request
Correctly load a bundled dynamic javascript import file relative to the current script file.
What is the expected behavior?
When dynamic imports (import()) the bundle should correctly load bundle chunks relative to the loading javascript file rather than the loaded root HTML file as the import() natively behaves.
Without this behavior package dependencies aren't able to rely on dynamic import behavior.
If this isn't currently clear I can provide a minimal build of the problematic behavior.
What is motivation or use case for adding/changing the behavior?
Dynamic imports are valuable part of modern javascript for enabling more performant initial download times and support from bundlers is important for enabling their adoption. Right now publicPath must be set with the root html file that will load it in mind which is confusing and not necessarily clear without digging deep into webpacks behavior. It also prevents the same package from being loaded by html files located in different directory tiers relative to the bundled javascript. However it should be possible for this functionality to "just work".
How should this be implemented in your opinion?
document.currentScript could be used to derive the current script path in supported browsers. Some polyfills claim that document._currentScript() is available in older versions of IE. Other polyfills and Parcel.js (which supports this behavior correctly out of the box) rely on looking at the latest script available in an Errors stacktrace to get the current script path and load a chunk relative to the current script.
Are you willing to work on this yourself?
This is not typically my expertise but if no one else is available to address this and someone can point me in the right direction for where to make the change I can try to contribute this feature.

If this isn't currently clear I can provide a minimal build of the problematic behavior.

Yes, please, need to investigate

@evilebottnawi
I've put together a small repro case which I've attached here. Let me know if you have any questions. Here are the instructions that are in the README as well:
- Run `npm install`.
- Run `npm run build-config`.
- Run `npm start`.
- Navigate to `localhost:9080/index.html`.
- Dynamic chunk fails to load.

- Uncomment line 7 in `webpack.config.js`.
- Run `npm run build-config`.
- Run `npm start`.
- Navigate to `localhost:9080/index.html`.
- Dynamic chunk loads correctly. There is no way to get this working behavior without a
manually configured `webpack.config.js` file. Even so it will not load if index.html is moved to
another folder.

example.zip
Thank you!

Hey @evilebottnawi I just wanted to check back in to see if you had any further thoughts on this and needed anything more from me. Thanks!

/cc @vankop Can you look at this? Don't have time right now

You need explicitly specify publicPath to webpack, thats how it works. So if you output without it (in your case index.js and 1.index.js) webpack assumes that scripts served from /.

You need explicitly specify publicPath to webpack, thats how it works. So if you output without it (in your case index.js and 1.index.js) webpack assumes that scripts served from /.

This part I understand. I didn't mean to imply this is a bug but I see the title may have made it sound that way.

adding this functionality will add extra functionality at runtime (increase bundle size).

The other solution I posted that uses an error stacktrace seems to be universal and feels like it would have a small code footprint. I understand the desire to keep the bundle size small but perhaps there's some compromise here? The path resolution code would not be needed if publicPath is set, for example, and could be removed in that case.

publicPath option works well for that

I'm suggesting the current behavior be improved. I'm interested in more intuitive out of the box behavior as both a user and a library developer.
Right now when running valid javascript through webpack cli in the simple case it can output code that will not work depending on the path it's imported from because of the behavior I mentioned above. And it fails in a way that's not clear how to fix. It just looks like webpack broke or the code is incorrect.
From the perspective of developing a library I'd like to be able to use dynamic imports to make my packages more streamlined and ultimately make their bundled size smaller without extra effort on the part of the user. With the behavior as it is right now, though, the user code could break for no apparent reason if publicPath is not set correctly which it likely could not be if they're not using code splitting otherwise. In the worst case the user thinks the library code they imported is bad and choose to use something else that doesn't use code splitting and gets them a larger initial bundle to load than it would have been with dynamic resolution anyway.
Due to these issues it doesn't seem feasible to distribute a package that uses dynamic imports at the moment even though ultimately it would mean slimmer bundles and better initial download times for users. Wepback is without a doubt the most popular bundling system out there right now and I think handling this more gracefully is good step towards enabling library developers to take advantage of dynamic imports and enabling them to be more common.

Yes this is a good idea.
I would suggest the following steps:

Change PublicPathRuntimeModule.js to inject automatic publicPath detection when publicPath is set to "auto".

document.currentScript is preferred. error.stack is non-standard.

Default publicPath: "auto" for improved DX.

Sounds very good

Awesome!
A few thoughts on the implementation, then -- this is my first time looking through the webpack code so any advice or correction is appreciated.
Looking at the built code in my test case it looks like the publicPath field is set inside of the require callback which can be called asynchronously. However document.currentScript is null when called in an asynchronous function:
console.log( document.currentScript );
setTimeout( () => {

    console.log( document.currentScript );

} );

// <script src="..."></script>
// null

Which means I don't think we can just change this line to use currentScript unless I'm misunderstanding. It would need to be saved in a parent scope in the initial synchronous run of the script.
Regarding browser support after looking around it seems that document.currentScript is not supported in any IE version. Reading around a bit it sounds like for IE < 11 we could use _getCurrentScript() but that's not available in IE11. Scraping the error stack would work in all these cases, though, I would think. If the asynchronous issue is simply addressed then using a fallback approach may be appropriate?

use document.currentScript
use document._getCurrentScript()
use error stacktrace

Looking at the built code in my test case it looks like the publicPath field is set inside of the require callback which can be called asynchronously. However document.currentScript is null when called in an asynchronous function:

The runtime module should run synchronously, so this should not be a problem.

Regarding browser support after looking around it seems that document.currentScript is not supported in any IE version. Reading around a bit it sounds like for IE < 11 we could use _getCurrentScript() but that's not available in IE11. Scraping the error stack would work in all these cases, though, I would think. If the asynchronous issue is simply addressed then using a fallback approach may be appropriate?

use document.currentScript
use document._getCurrentScript()
use error stacktrace

For type="module" scripts import.meta.url is recommended. Can we use that too?
Before adding a super hacky solution I would better flag this feature as "modern browsers only" and omit support for IE11. I mean you can still specific publicPath manually if you need support for these browsers...

The runtime module should run synchronously, so this should not be a problem.

 Looks like I misread the braces.

For type="module" scripts import.meta.url is recommended. Can we use that too?

I tried this and unfortunately it's not so simple. If import.meta is used anywhere in a script file not imported as a module an error is logged and it can't be caught so this can't happen conditionally. The stack trace approach does work here, too, though
document.currentScript works well in the non module case but I'm trying to figure out how to test _getCurrentScript(). Do you have any suggestions on how to test and IE versions <= 10?

@gkjohnson I think we can provide how to polyfill it (if it is possible)

I've created PR #11258 to help address this.

@gkjohnson I think we can provide how to polyfill it (if it is possible)

Unfortunately I don't believe it's possible to polyfill this so simply such that it matches the spec. It may be possible considering webpack is getting currentScript immediately, though, and doesn't rely on it being null in async calls. Here are a couple possible polyfills for IE but I haven't tested the robustness of them:
https://github.com/amiller-gh/currentScript-polyfill
https://github.com/JamesMGreene/document.currentScript
I'm not sure how well these would work when using modules, though. Is that a common webpack use case?

Done in https://github.com/webpack/webpack/pull/11258, I think we can close the issue, feel free to feedback

Can not resolve publicPath for libraryTarget = 'umd'
webpack version = 5.68.0
Looks like logic that detects publicPath is called in async manner so it does not detect currentScript.

In case anyone else runs into this, we had inline script tags that caused this to fail.
<script>
/// e.g. this is inline with no src attribute
</script>

To fix this we replaced document.getElementsByTagName("script") with document.querySelectorAll('script[src]')


Feat/multiple fixes and features

#38dvpmp
#382feyj
#3703exz
#382fkx3

Images are not preloading - it may appear like they do, but only because of caching.

Doesnt seem like #3703exz (gov expiration reminder) is treated here.


cf push with invalid hostname should lead to an error

Command
cf push --hostname test_underbar

What occurred
cf push succeeds and the app can be accessed, but the route registered
urls: test_underbar.<APPS_DOMAIN>
is using an invalid hostname according to
https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_hostnames
because it contains an underbar character.
This can lead to problems with clients that validate the URL.
E.g.
new java.net.URI("https://test_underbar.sample.com").getHost()
returns null

What you expected to occur
cf push should fail with an error message. Actually if you try using other invalid characters like e.g. % (percent), you get an error message:
FAILED
Server error, status code: 400, error code: 210001, message: The route is invalid: host format

I would expect a similar error message for hostnames containing the underbar character.
If you try to push e.g. a hostname containing spaces,
$ cf push --hostname 'a b'
Creating route a%20b.<APP_DOMAIN>
OK

FAILED
Server error, status code: 400, error code: 210001, message: The route is invalid: host format

you see that it tries to URL-encode the hostname 'a b' to 'a%20b' which would be correct for the path segment of a URL, but not for a hostname.
By contrast, if you specify underbars in the app name (not the host), the route created will automatically have underbars (or spaces for that matter) replaced by dashes to form a valid hostname:
$ cf push test_underbar

Creating route test-underbar.<APP_DOMAIN>
OK

Binding test-underbar.<APP_DOMAIN> to test_underbar...

The docs for cf push hosts
https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#hosts
even use an example with underbars in the hostnames.
Since 'host' can also be used to specify a subdomain, not sure how to distinguish this scenario because for subdomain names, underbar is allowed according to
https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_hostnames
and
https://stackoverflow.com/questions/2180465/can-domain-name-subdomains-have-an-underscore-in-it
CLI Version
cf version 6.28.0+9e024bdbd.2017-06-27

CC API Endpoint Version
$ cf api
api endpoint:
api version:    2.89.0

CF Trace

Platform & Shell Details

Mac OS 10.12.6, iTerm, bash
Any other relevant information

Hi @jsievers
I don't think it's the cf CLI's job to enforce the naming convention here. If there is to be validation (and it appears there is for %), it should be on the server side so all clients are prevented from creating such hostnames. I suggest you open an issue on the cloud controller repo.
That said, our documentation should not use example hostnames that could cause issues.
Regards,
Dies Koper
CF CLI PM

created https://github.com/cloudfoundry/cloud_controller_ng/issues/859

Closing this one in favour of that one. Your output shows that the CLI properly displays the server error if any.


Add Steps component to publish-to-npm.mdx

Add Steps component to publish-to-npm.mdx
Adds the Step component where needed.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
reference/publish-to-npm.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

!coauthor


Enable TLS support for Redis

The corresponding PR in mozilla/sccache is here: https://github.com/mozilla/sccache/pull/976
This enables TLS support for Redis. Just by fiddling with the features of the redis dependency, Cargo.lock shrank a lot.
I've also added a small improvement (masking the password in the Redis URL if there is one).

LGTM, minor nit needs to be addressed, other than that - thank you :heart: !

Looks good, thank you!


Rename GPU device array helpers from cuda_ to gpu_

Common utility helpers between CUDA and ROCm are renamed:

core/kernels/cuda_device_array.h -> core/kernels/gpu_device_array.h
core/kernels/cuda_device_array_gpu.h -> core/kernels/gpu_device_array_gpu.h

In subsequent PRs, ROCm-specific terminology changes would be introduced.

@yifeif May I ask you to take a look at this PR? It's a precursor to upstream ROCm-specific logic for TensorFlow operators.
Failed CI targets are:

MacOS Contrib
MacOS Python2 and CC
Windows Bazel
Windows Bazel GPU

From the logs they seem to have nothing to do with this PR, but a configuration issue in CI test infrastructure. I'm wondering if it's possible to manually apply ready-to-pull label, after your review and approval?

Nagging Reviewer @yifeif: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @yifeif: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 44 days with no activity and the awaiting review label has been applied.

ping?

Nagging Reviewer @yifeif: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Sorry for the delay @whchung. This change looks pretty benign, and dont think the errors are related.

@whchung Can you please resolve the merge conflicts? Thanks!

@ymodak sorry for being late. resolved all conflicts with tip.

@yifeif Can you please approve this PR again after the latest merge conflicts were resolved?

For sure! Looks good other than one more instance needs to be renamed:
'./tensorflow/core/kernels/split_lib_gpu.h:27:59: fatal error: tensorflow/core/kernels/cuda_device_array_gpu.h: No such file or directory'
Mind making the change and we can import again? Thank you!

@yifeif sorry I made some mistakes in the rebase process. it should have been fixed by now.

@yifeif could you take another look now? there is only one failed target Ubuntu contrib and looking from the logs it shouldn't have anything to do with this PR

Thanks @whchung! Re-importing now.

@yifeif thanks! #26678 is a subsequent PR after this. Wondering could you help also take a look at it?

Ofc. Taking a look now!


Wanted: specify distance/inset for a slide animation.

Sometimes you want to slide a view, but not have it come all the way from offscreen. For example:
// Slide in from 30pts to the right of the view's current position
view.animate(.slide(way: .in, direction: .left, distance: 30))
view.animate(.fade(way: .in))
// Slide in from 16pts to the left of the container view's right edge
view.animate(.slide(way: .in, direction: .left, inset: 16))
view.animate(.fade(way: .in))
// Slide in from 8pts to the left of a sibling view
view.animate(.slide(way: .in, direction: .left, offset: -8, refView: view2, refEdge: .left))
view.animate(.fade(way: .in))

Can you implement your requirement by using moveTo and moveBy APIs?
Sent from my iPhone

On 4 Jun 2017, at 7:29 am, GoldenJoe<EMAIL_ADDRESS>wrote:
Sometimes you want to slide a view, but not have it come all the way from offscreen. For example:
// Slide in from 30pts to the right of the view's current position view.animate(.slide(way: .in, direction: .left, distance: 30)) view.animate(.fade(way: .in))
// Slide in from 16pts to the left of the container view's right edge view.animate(.slide(way: .in, direction: .left, inset: 16)) view.animate(.fade(way: .in))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing due to inactivity, don't hesitate to reopen @GoldenJoe if you still have a question!


Due date for release 2.6

According to: https://github.com/google/shaka-player/blob/master/roadmap.md
v2.6 - 2019 Q3 (estimated)
The current state is: 68% complete 49 open 108 closed
Is it reasonable to expect this before Q1?

@avelad Joey will tell with more confidence, but since he's on business trip and may or may not see the issue until late next week, here's my best estimate.
AKAIK, the biggest feature that we're holding the release for is period flattening (isolating the concept of periods to the DASH parser).
Last time I checked, it was moving slowly, but steadily.
I think it's reasonable to expect 2.6 in Q4.
@joeyparrish amiright?
@avelad are there specific features you're interested in for 2.6?

I'm interested in:
https://github.com/google/shaka-player/issues/2195 --> Allow disable the audio parsing/decoding/.. in DASH/HLS with a config Is possible backport to 2.5.x?
https://github.com/google/shaka-player/issues/1531 --> Support downloading of Dash manifests that do not have inline PSSH value. Is possible backport to 2.5.x?
https://github.com/google/shaka-player/pull/2134 --> Add change event to audiotracks and texttracks. Is possible backport to 2.5.x?
https://github.com/google/shaka-player/issues/1169 --> IMA ads SDK demo and tutorial (in progress, I saw commits in the repo)

Understood!
I'll discuss with Joey what we can do to make the listed implemented features available. (I'm not important enough to make the call :p).
If you don't hear from either him or me by the end of next week, please ping this issue.
(Joey comes back from vacation in a week, I'll try to bring it up with him right away).

@shaka-bot , please wait one week.

Hi, everyone.  Thanks for your patience.
As @ismena mentioned, period flattening (#1339) and associated refactors (#892) are blocking v2.6, but I am actively working on those things.  I apologize for the inconvenience.
We could release v2.6 without those things, but we are in the middle of several breaking changes to the internal manifest structure, which will require updates to all manifest parser plugins and any applications which use player.getManifest().  If we release v2.6 before those changes are complete, we just have to make more such changes in v2.7 and break it again.  I would prefer to avoid that, but I welcome your feedback if you disagree.
As for which changes we can backport to v2.5.6:
#2195/#2196 (Disable audio via config): Yes, because the feature is trivial.
#1531/#2164 (Offline DASH without inline PSSH): Maybe.  It's a bigger change, and therefore may have more complex merge conflicts and introduces more risk.  I'll try to cherry-pick it and see how it goes.  If it can be cherry-picked, we'll do additional testing in our lab before pushing it.
#2134 (Fix tracks in UI w/ src=): Yes, because it's a bugfix & trivial.
#1169 (Ads work): No, because the work is non-trivial, incomplete, and not yet functional.

@joeyparrish Just a reminder, I'd like have the following changes in v2.5.6:
#2076 Duplicate CEA-608 caption lines
#2077/#2175 Include event ID in findSimilarRegion_() check

I'd like have the next change in v2.5.6 also:
https://github.com/google/shaka-player/commit/8f57efbe9f698b0a3e8a22a80d9d126a6c503cee

@joeyparrish Do you have any ETA for 2.5.6?

The engineer who was working on the v2.5.6 release is out sick today.  I expect we'll be able to complete the process later this week.

I'm told that all of the changes requested here have been cherry-picked for v2.5.6, except the ads work, for the reasons I mentioned before.

Hi would it be possible to cherry pick #2215 for 2.5.6 as well
Thanks in advance.

That has also been cherry-picked.  Most of the commits since v2.5.5 have been cherry-picked.  I'll hopefully be pushing the branch soon.


Please don't stop working on Macarena:)

Do you have a donation address or something?
After much frustration with IRC mirror bots I finally found Macarena, and it works perfectly. We use it as a relay for the Monero Research Lab, who have their own private IRC server and want to be able to participate in discussions in #bitcoin-wizards on Freenode. We also use it as the primary relay between irc2p (i2p's IRC network) and Freenode for a bunch of projects, from tahoe-lafs to kovri.

I take bitcoin. Is there anything in particular that you want added or the like?

Awesome, donated:)
I have a small PR that adds ServerPass support for the IRC connection, and then two things that jump out at me (but I lack the time to add them myself) -

I've just commented out the "I have connected to " bot.Network.Name, but I'd prefer to add an option for that
I'd like to be able to specify a bind IP per connection. It seems net.Dial can take an optional addr, so it isn't that much work, but lack of time;)

Thanks for the excellent work!

Oops, off by two.
Bindhost support is now implemented.


Scanner crashes at random points

Scanner seems to crash after processing few components with error:
Run pre-scans...
 Run pre-scan: ignore...
Scan files for: info, licenses, copyrights with 3 process(es)...
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\.editorconfig
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\index.js
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\license
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\package.json
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\readme.md
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\screenshot.png
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\test.js
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\.jshintrc
Scanned: C:\Users\z00407wp\Desktop\ORT\NEO\dev02\idm-ux\scanner2\downloads\NPM\unknown\ansi-styles\2.2.1\.travis.yml
Removing temporary files...done.
Traceback (most recent call last):
  File "C:\Users\z00407wp\scancode-toolkit-3.0.2\Scripts\scancode-script.py", line 11, in <module>
    load_entry_point('scancode-toolkit', 'console_scripts', 'scancode')()
  File "C:\Users\z00407wp\scancode-toolkit-3.0.2\lib\site-packages\click\core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\z00407wp\scancode-toolkit-3.0.2\src\scancode\utils.py", line 79, in main
    standalone_mode=standalone_mode, **extra)
  File "C:\Users\z00407wp\scancode-toolkit-3.0.2\lib\site-packages\click\core.py", line 697, in main
    rv = self.invoke(ctx)
  File "C:\Users\z00407wp\scancode-toolkit-3.0.2\lib\site-packages\click\core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\z00407wp\scancode-toolkit-3.0.2\lib\site-packages\click\core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\z00407wp\scancode-toolkit-3.0.2\lib\site-packages\click\decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "c:\users\z00407wp\scancode-toolkit-3.0.2\src\scancode\cli.py", line 752, in scancode
    quiet=quiet, verbose=verbose, kwargs=kwargs,
  File "c:\users\z00407wp\scancode-toolkit-3.0.2\src\scancode\cli.py", line 929, in run_scanners
    with_timing=timing, progress_manager=progress_manager)
  File "c:\users\z00407wp\scancode-toolkit-3.0.2\src\scancode\cli.py", line 1075, in scan_codebase
    pool.terminate()
  File "c:\python27\Lib\multiprocessing\pool.py", line 465, in terminate
    self._terminate()
  File "c:\python27\Lib\multiprocessing\util.py", line 207, in __call__
    res = self._callback(*self._args, **self._kwargs)
  File "c:\python27\Lib\multiprocessing\pool.py", line 513, in _terminate_pool
    p.terminate()
  File "c:\python27\Lib\multiprocessing\process.py", line 137, in terminate
    self._popen.terminate()
  File "c:\python27\Lib\multiprocessing\forking.py", line 312, in terminate
    _subprocess.TerminateProcess(int(self._handle), TERMINATE)
WindowsError: [Error 5] Access is denied

Exception in thread "main" java.lang.NullPointerException
        at com.here.ort.scanner.scanners.ScanCode.getFileCount(ScanCode.kt:356)
        at com.here.ort.scanner.scanners.ScanCode.generateSummary$scanner(ScanCode.kt:360)
        at com.here.ort.scanner.scanners.ScanCode.scanPath(ScanCode.kt:324)
        at com.here.ort.scanner.LocalScanner.scanPackage(LocalScanner.kt:306)
        at com.here.ort.scanner.LocalScanner.access$scanPackage(LocalScanner.kt:70)
        at com.here.ort.scanner.LocalScanner$scanPackages$2$invokeSuspend$$inlined$map$lambda$1$2.invokeSuspend(LocalScanner.kt:183)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
        Suppressed: java.lang.NullPointerException
                ... 15 more

> Task :cli:run FAILED

I am using master branch at d0eac47b92950375f808e54616fdf95e56d33089

The NPE in ORT seems to be caused by a crash in ScanCode, so please report this to ScanCode instead.

Is there a way to set the number of processes used by ScanCode?
I'm asking because I get the same WindowsError: [Error 5] Access is denied issue on my machine when I run ScanCode with the default number of processes (7 in my case ), but I do not see this error when I run with 8 processes.

@oova, you can override the default configuration options passed to ScanCode by passing a configuration file to ORT that contains a scanner-specific section. IIRC it should look something like this:
ort {
  scanner {
    scanner {
      ScanCode {
        commandLineNonConfig = "--processes 8"
      }
    }
  }
}

I'm not 100% sure about the double nested "scanner" part... can you confirm @mnonnenmacher?
Anyway, I highly doubt the Access is denied error is related to the number of processes, and I believe it was just coincidence that you saw it going again with 8 processes.

Thanks, the given configuration seems to work. Scancode is running with 8 processes and I have not seen an Access is denied error so far.


Window height grows 1px on Hide/Show Sidebar

It does indeed appear to be growing (changing h) and not shifting (changing y). The bottom edge of the window stays put.
This is NetNewsWire version 6.1 (6106) on latest Monterey, version 12.3.1 (21E258).
https://user-images.githubusercontent.com/5261/165170011-0fca113c-2824-46a4-9c69-950be29f62c5.mov
(Longtime fan here, thank you for all your hard work! This app is a gift.)

Replicated this.  Root cause is calling bigSurOffsetFix().
I noticed that there's a console warning and set a breakpoint as directed and got the breakpoint inside this call and that makes it clear we have an issue (recursion):
2022-06-15 22:51:41.455450-0700 NetNewsWire[31750:3818397] It's not legal to call -layoutSubtreeIfNeeded on a view which is already being laid out.  If you are implementing the view's -layout method, you can call -[super layout] instead. Break on void _NSDetectedLayoutRecursion(void) to debug.  This will be logged only once.  This may break in the future.
This is getting hit inside bigSurOffsetFix(); here's the backtrace:
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  * frame #0: 0x00000001bf281f40 AppKit`_NSDetectedLayoutRecursion
    frame #1: 0x00000001bea50148 AppKit`-[NSWindow(NSConstraintBasedLayout) _layoutViewTree] + 148
    frame #2: 0x00000001bea4d1d0 AppKit`-[NSWindow _oldPlaceWindow:fromServer:] + 584
    frame #3: 0x00000001bea4c050 AppKit`-[NSWindow _setFrameCommon:display:fromServer:] + 2220
    frame #4: 0x0000000104ca2ad0 NetNewsWire`DetailWebView.bigSurOffsetFix(self=0x0000000106025550) at DetailWebView.swift:92:11
    frame #5: 0x0000000104ca2fc4 NetNewsWire`DetailWebView.setFrameSize(newSize=(width = 969, height = 849), self=0x0000000106025550) at DetailWebView.swift:62:4
    frame #6: 0x0000000104ca3020 NetNewsWire`@objc DetailWebView.setFrameSize(_:) at <compiler-generated>:0
    frame #7: 0x00000001bcdc42c8 Foundation`_NSSetSizeValueAndNotify + 192
    frame #8: 0x00000001bea3e6f4 AppKit`-[NSView setFrame:] + 420
    frame #9: 0x00000001beaa3494 AppKit`NSViewActuallyUpdateFrameFromLayoutEngine + 260
    frame #10: 0x00000001bea51da0 AppKit`NSViewLevelLayout + 728
    frame #11: 0x00000001bea51aa8 AppKit`-[NSView layout] + 24
    frame #12: 0x00000001bea51700 AppKit`_NSViewLayout + 688
    frame #13: 0x00000001bea51178 AppKit`-[NSView _layoutSubtreeWithOldSize:] + 380
    frame #14: 0x00000001bea512e4 AppKit`-[NSView _layoutSubtreeWithOldSize:] + 744
    frame #15: 0x00000001bea512e4 AppKit`-[NSView _layoutSubtreeWithOldSize:] + 744
    frame #16: 0x00000001bea512e4 AppKit`-[NSView _layoutSubtreeWithOldSize:] + 744
    frame #17: 0x00000001bea512e4 AppKit`-[NSView _layoutSubtreeWithOldSize:] + 744
    frame #18: 0x00000001bea512e4 AppKit`-[NSView _layoutSubtreeWithOldSize:] + 744
    frame #19: 0x00000001bea512e4 AppKit`-[NSView _layoutSubtreeWithOldSize:] + 744
    frame #20: 0x00000001bea50600 AppKit`-[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:] + 996
    frame #21: 0x00000001bea50148 AppKit`-[NSWindow(NSConstraintBasedLayout) _layoutViewTree] + 148
    frame #22: 0x00000001beac78ec AppKit`-[NSWindow(NSConstraintBasedLayout) layoutIfNeeded] + 308
    frame #23: 0x00000001befc8e90 AppKit`__80-[NSSplitViewController _collapse:splitViewItem:forceOverlay:completionHandler:]_block_invoke.470 + 160
    frame #24: 0x0000000105d58804 libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #25: 0x0000000105d5a3a8 libdispatch.dylib`_dispatch_client_callout + 20
    frame #26: 0x0000000105d6d564 libdispatch.dylib`_dispatch_main_queue_drain + 1228
    frame #27: 0x0000000105d6d088 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 44
    frame #28: 0x00000001bbed6a1c CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
    frame #29: 0x00000001bbe93ca8 CoreFoundation`__CFRunLoopRun + 2532
    frame #30: 0x00000001bbe92b24 CoreFoundation`CFRunLoopRunSpecific + 600
    frame #31: 0x00000001c4acb338 HIToolbox`RunCurrentEventLoopInMode + 292
    frame #32: 0x00000001c4acb0b4 HIToolbox`ReceiveNextEventCommon + 564
    frame #33: 0x00000001c4acae68 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72
    frame #34: 0x00000001be9f978c AppKit`_DPSNextEvent + 860
    frame #35: 0x00000001be9f8084 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328
    frame #36: 0x00000001be9ea250 AppKit`-[NSApplication run] + 596
    frame #37: 0x00000001be9bb96c AppKit`NSApplicationMain + 1132
    frame #38: 0x0000000104c6c0cc NetNewsWire`main at AppDelegate.swift:33:7
    frame #39: 0x000000010557508c dyld`start + 520

I could fix it by disabling it with some kind of "inToggleSidebar" flag, but not sure what you guys want to do.  This layout recursion error message is also hit at startup when setPointAndSizeAdjustingForScreen(…) is called (quite a few times actually).

I can't replicate the bug bigSurOffsetFix() is fixing in 12.5, but that may be because I don't know the proper steps to do so.
If the bug that it is working around was was fixed in macOS 12+ we could at least fix this window growing bug in macOS 12 by not calling bigSurOffsetFix() in macOS 12+.

Made a PR that fixes this issue.  It's a draft because someone who can replicate the bug bigSurOffsetFix() is implementing a fix for needs to make sure my PR to fix this bug doesn't re-introduce that one.

I agree with you that we should probably use an availability check to disable the bigSurOffsetFix code altogether. I don't think we want to use #unavailable though because we aren't ready to move on to Xcode 14 yet.

I'm happy to make a PR that way.
#unavailable is in Swift 5.6 which is in Xcode 13.3.
Would that work?  Otherwise I'll use the
if #available(macOS 12, *) { } else {
    // code
}

pattern.

My bad. Use #unavailable then.

No "bad" about it.  Lot of moving targets in Swift/Xcode land (!) :)
Will do.

Changes made; PR is ready to review.


⚠ Bofrost.it has degraded performance

In 66c2501, Bofrost.it (https://www.bofrost.it) experienced degraded performance:

HTTP code: 200
Response time: 3066 ms

Resolved: Bofrost.it performance has improved in 04bc25d after 13 minutes.


adding Docker build materials

Adding a Dockerfile to containerize mldatafind. While I suspect this may have some limited utility, the main hope is that it will serve as a template for containerized deployments of applications that depend on mldatafind by making explicit the environment variables and default volumes it expects. This will also serve as a base to start building out cloud-based examples of the ML4GW ecosystem.

[ ] Add container build to workflow for pushes to main after unit tests pass

Updated the authentication picture as follows:

query_segments attempts a query, but if it fails because a credential can't be found we run authenticate then attempt to query again
During authenticate, kinit isn't run unless the cert file doesn't exist or the existing cert file fails its check
A couple common kinit failure modes are caught and handled explicitly with links to relevant documentation

Good question. The short answer is no, but that's the benefit of building Dockerfiles: you can just copy the recipe from one to the next. The longer answer is that you can build larger omnibus Dockerfiles with multiple build targets, which can inherit from one another or copy files from one target into another. This might be something worth looking into at some point depending on how we (and other users) ultimately end up using these containers.


Wrapping examples

Describe the bug
The examples are annoying to read because I have to horizontally scroll to read the entire example, which means I can only read a single line at once and I have to use the mouse to do so.
To Reproduce
https://promptfile.org/examples
Expected behavior
I can read the examples without scrolling.
Screenshots

Suggestions

https://github.com/DavidAnson/markdownlint/ to help lint the issue
https://marketplace.visualstudio.com/items?itemName=stkb.rewrap to help fix the problems
Consider also wrapping the html to make it easier to work with - I considered just throwing a PR to fix the issue in https://github.com/glass-platform/promptfile/blob/main/apps/promptfile.org/pages/examples.mdx, but it seems that this repo prefers long lines over wrapped lines, so I didn't want to presume to change that for the entire file.

great points! fix incoming :)


Rewrite Externalities to take &mut self everywhere

The Externalities trait should be rewritten to take &mut self everywhere. After that we should be able to change as_trie_db_cache/as_trie_db_mut_cache to take a &mut self. Then we should be able to remove the Mutexes.
Originally posted by @arkpar in https://github.com/paritytech/substrate/pull/11407#discussion_r947981417

If I could get bit of help and quite explanation about how & why, I would love to take this.

What kind of help do you need?

Hello @bkchr I believe the write operations already take &mut self herehttps://github.com/paritytech/substrate/blob/72dd574acf805fda1dc1e64b7bbd510e12a81312/primitives/externalities/src/lib.rs#L82 Could you explain further maybe?

As described in the intial post, all functions should take &mut self because we need this internally.


[Feature] Calendar

How to promote this component
Please give a thumbs up reaction to this post to promote this backlog item. You may also share your usage scenario in the comments.
Component description
The calendar control lets people select and view a single date or a range of dates in their calendar. It’s made up of 3 separate views: the month view, year view, and decade view.

Tooltip Fluent UI documentation

Currently using the calendar component from the canvas. Would be great if the component allow me to change:
- font: size, weight, color
- border: size, on-hover color

The main thing that is missing in the FluentUI version of the calendar control is the ability to define "DateFormat". What is called "Format" property in the classic Date Picker control.
It looks like the preview version of this control is also missing this (https://docs.microsoft.com/en-us/power-platform/guidance/creator-kit/calendar)
Please add DateFormat property into this calendar control so that we can get rid of the classic calendar control when we need to display non-US formatted dates.


[MultiAZ][IntegTests] Shared Storage/EFS in cluster with queues in different AZs

Description of changes

Current EFS tests

Scenario 1 (test_efs_compute_az):

Creates a cluster with a HeadNode and 1 Queue in different AZs with a managed EFS FileSystem
Asserts if EFS mount targets exist in both AZs
Asserts that files can be written and read from both the HeadNode and Queue

Scenario 2 (test_efs_same_az):

Creates a cluster with a HeadNode and 1 Queue in the same AZ with a managed EFS FileSystem
Asserts if EFS mount targets exist in the AZ
Asserts that files can be written and read from both the HeadNode and Queue

Scenario 3 (test_multiple_efs):

Creates a cluster with a HeadNode and 1 Queue in different AZs with external EFS FileSystems
Asserts if EFS mount targets exist in both AZs
Asserts that files can be written and read from both the HeadNode and Queue

Updated EFS tests

Scenario 1 (test_efs_compute_az):

Creates a cluster with a HeadNode and 2 Queues in different AZs with a managed EFS FileSystem
Asserts if EFS mount targets exist in all AZs
Asserts that files can be written and read from all nodes (including HeadNode)

Scenario 3 (test_multiple_efs):

Creates a cluster with a HeadNode and 2 Queues in different AZs with external EFS FileSystems
Asserts if EFS mount targets exist in all AZs
Asserts that files can be written and read from both the HeadNode and Queue

These changes

Update theverify_directory_correctly_shared function to write to the FileSystem in all partitions (queues) and read all files from each partition (including HeadNode)
Adds an extra single-subnet queue in a different availability zone to each cluster

Tests

Modified existing EFS integration tests to include an extra queue in a different availability zone
Sample logs from test run:

storage_common - Writing Compute File: queue-0-vblnil449au8w21q from queue-0
storage_common - Writing Compute File: queue-1-zc5bgdly2367bhpm from queue-1
...
storage_common - Reading Compute Files: ['queue-0-vblnil449au8w21q', 'queue-1-zc5bgdly2367bhpm'] from queue-0
storage_common - Reading Compute Files: ['queue-0-vblnil449au8w21q', 'queue-1-zc5bgdly2367bhpm'] from queue-1

References

N/A

Checklist

[ ] Make sure you are pointing to the right branch and add a label in the PR title (i.e. 2.x vs 3.x)
[ ] Check all commits' messages are clear, describing what and why vs how.
[ ] Make sure to have added unit tests or integration tests to cover the new/modified code.
[ ] Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing in favour of #4683  which includes EBS Integration tests.


merge package from arlac77/npm-package-template-esm-only

.travis.yml

chore(travis): add node versions -10,-11,-12
chore(travis): add npm run cover to script
chore(travis): add npx codecov to script
chore(travis): add cat ./build/coverage/lcov.info | npx coveralls to script

Codecov Report

Merging #543 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #543   +/-   ##
=======================================
  Coverage   75.94%   75.94%
=======================================
  Files           2        2
  Lines         474      474
=======================================
  Hits          360      360
  Misses        114      114

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 4aa69bc...0720a28. Read the comment docs.

Coverage remained the same at 76.225% when pulling 0720a2865c397fbb757c1c3877c2b018487380de on npm-template-sync-1 into 4aa69bc14880d028ee0d62d4962aea99d6ebec51 on master.


Test SSLCertificateValidation is failing because the remote URL is offline

The tests for all targets are failing because the following URL, used to validate the test testSSLCertificateValidation is offline and the requests time out:
https://testssl-expire.disig.sk/Expired.png

What a bad news.
I think we could commit it out temporarily until we find another way to test it.

testSSLCertificateValidation is removed temporarily in #366


Question about cascade xml for stop sign

Hi, i have question about stop_sign.xml. I work on some project where i have sign on road and my robot must recognise them and does some operation, for example stop for 5 second, or 3 second etc... I tried to parse your stop_sign.xml in python but  i can't do that.  Where i can find clasificator for sign or how python can load them? Thanks in advence

I trained that stop sign classifier in OpenCV. OpenCV comes with some pre-trained classifiers in the data folder. Also you can train your own haar-cascade classifier in OpenCV as well.

Actually Train your own Classifier is such weird thing . rather Use SURF or SIFT Object detection for custom objects detection.

@hamuchiwa can you please explain me process how you trained stop sign and traffic lights
im new to OpenCv pls explain

@chandrakant-github I followed this great tutorial.

@hamuchiwa thank you it helped a lott


Stater Theme wont' show in themes directory in WordPress

Hi,
We're using Docker to develop our WordPress site and we want to continue developing it locally. But after migrating from the server to local, the starter theme won't show as an option.
See screenshot: http://imgur.com/a/CE0OI
Thanks,
David

Sorry, we don't really have tech support here; all we do to support WordPress in the official docs is publish the Library reference for Wordpress at https://docs.docker.com/samples/library/wordpress
If you're having trouble a good place to ask for help is forums.docker.com!


Memory leaks on web sockets: each DataStore.start() add new web sockets but old ones remain active. use Starscream 4.0.6

During this test I can see that there are memory leaks on web sockets: each DataStore.start() add new web sockets but old ones remain active. In my mind, we should use Starscream 4.0.6 which include this fix: https://github.com/daltoniam/Starscream/commit/d2a9549ea45018ef6802e3fe3c61490386a0ee8c
Originally posted by @gbitaudeau in https://github.com/aws-amplify/amplify-swift/issues/3259#issuecomment-1932387569

We're in the process of migrating off AppSyncRealTimeClient package, which has the dependency on Starscream, over to URLSession here https://github.com/aws-amplify/amplify-swift/pull/3527 We should retest the memory leak scenario the changes from this PR

We plan to upgrade Starscream to 4.0.7. We can merge the upgrade commit on top of main and release it as 3.2.0 https://github.com/aws-amplify/aws-appsync-realtime-client-ios/commits/main/ . The upgrade 4.0.6 will be replaced, we will not have a release which depends on 4.0.6


Use with Angular 2 CLI

Please provide instructions how to work with Angular 2 CLI 1.0.0-beta.11-webpack ?

We've updated the package completely and it works well with<EMAIL_ADDRESS>and the most recent Angular-CLI now.


Improve UX/UI - Upload component in VENFT App

We have upload component for both images and music. In future we need to be able to upload any content.
We need some good upload component with drag&drop, good preview, etc.
We use IPFS for the upload of the image. It is much faster to use api key to download image instead of classic open gateway. we can use main VENFT IPFS account (we use Infura.io now). This can help to reduce time of display of the preview.

Solved in #101. Now available as VEBlazor library.


Fix #173

Fixing type annotation

It actually can be string to switch between:

I want to wait until irreversibility
It's fine if it is confirmed once, already


Updates docs for 2.9 to reflect renamed checkbox

"Recreate all VMs" is being renamed to "Recreate VMs deployed by the
BOSH Director". This updates these docs.
[#170244457] The recreate-all-vms checkbox is incorrectly named

Thank you @klakin-pivotal!


[Project A][Win10, Ubuntu][aureliony] Upgrade to Java 17

OS: Windows 10, Ubuntu 22.04.4 LTS
JDK Distribution: Azul Zulu
IDE used: IntelliJ IDEA Community Edition
Link to JAR file: https://github.com/aureliony/AB3-J17/releases/download/v1.0/Win10-aureliony.jar
No problems were faced on Windows 10 and Ubuntu (dual-boot). Unable to test on Mac.

@aureliony Can you upload a version generated on Linux as well?

Release page updated to include JAR file generated on Ubuntu 22.04.4 LTS with Zulu JDK 17.0.11.

Tested on Mac (Silicon) using JDK-FX 17.0.11.fx-zulu and working.
Downloaded the JAR release, ran the jar file using java -jar Linux-aureliony.jar
Performed smoke test to check functionality.

Tested on Windows 10 using JDK-FX 17.0.11.fx-zulu, and working.
Procedure
Ran the JAR files (Linux/Ubuntu and Windows 10) on PowerShell using java -jar Linux-aureliony.jar and java -jar Win10-aureliony.jar respectively and performed a smoke test by running several commands to ensure basic functionality of the application:

add n/John p/12345678<EMAIL_ADDRESS>a/123 Example Road t/friends: works for both
find Roy: works for both
list: works for both
help: works for both
delete 3: works for both
clear: works for both

Results
Both JARs function as expected and all commands run during the smoke test work properly for both JAR files created on Linux and Windows.
Screenshots
Linux JAR

Windows JAR

Tested on Linux (Ubuntu 22.04) using OpenJDK 17.0.11. Working.
Steps taken:

Downloaded release
Ran jar file using java -jar Linux-aureliony.jar
Tested with basic commands

Tested both jar files on Windows 11 and working.
Steps I followed:

Downloaded the JAR file from the release.
Ran java -jar Linux-aureliony.jar.
Tested some basic commands.
Closed the program.
Ran java -jar Win10-aureliony.jar.
Tested some basic commands.

Closing, as the migration was done in https://github.com/nus-oss/AB3-J17/commit/fe805d8553bbc329644371a6e732a8317ea6686f


Add somes examples in the docs

A simple crawler would be good to link at the end of the Get Started.

+1. Very interested by what I see in Mr. Queue, however the lack of concrete examples is a little off-putting.
First time I ran across Mr. Queue months ago I ended up waving it off because the Get Started section makes it look like Jobs can be queued only via cli.

Definitely! Will have a prototype crawler up very soon.

@robodude666 any feedbacks on this?

You can also check out https://github.com/sylvinus/imgfab, which we'll include in the docs as an example