Adds high level functions to debugging interface

Description
This adds some new functionality to the set var command in the debugging interface. Namely

High level functions to generate floatarray values

Linear function: set var psol_cal lin(a,b) sets floatarray to evenly spaced values from a to b
Identity function:  set var psol_cal eigen() sets floatarray to evenly spaced values from 0 to 1 (wrapper for lin(0,1))

Passing raw string as input

set var "somestring"
Not tested as none of the settable debug variables are strings yet
Updates #1273
Self-review checklist:

[x] Self-review: looked through the Files changed tab, browsed repository in branch
[x] Documentation updated - reflects changes in code, electrical or mechanical design
[x] Documentation and graphics follow the documentation style guide
[x] New content is linked, easily discoverable, does not require too many clicks
[x] Follows other relevant parts of contributor wiki
[x] PR has a descriptive name
[x] Tagged relevant reviewers

Software only:

[x] Follows our code style
[x] Commented code, particularly in hard-to-understand areas
[ ] All tests pass - new and old, locally and on CI (a dead link in an unrelated part of the repo)
[x] No new warnings or static check failures
[x] Tests that prove fix is effective or new feature works
[x] Manual tests are explained, with instructions for reproducing them

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Many changes since Martin's review!

data in set var data can take any native Python or numpy data type, including functions and operations.
E.g.: set psol_cal lin(1,5)*1.6+7
Stack traces are not printed due to an error caused by evaluation of data
linearity of floatarrays are shown besides the data in get.
Better separation of functionality in between layers. E.g., eval() is only called in the CLI layer and types are checked at the variable VarInfo level
A helper function, scoped_eval(), in the debug_funcs module helps add our in-house functions and numpy functions to the scope of the eval() used to evaluate data without manually applying namespaces

TODO next day or so: testing every case of set var to make sure no existing or new functionality is broken

Tested the get and set commands manually:
====================================================================
GET
====================================================================
[port:/dev/ttyACM0] get all
w- 0_controller_branch            = issue_1277_deploy_with_graphics
w- 0_controller_build_time        =   UTC 2022-07-10 19:33:44
w- 0_controller_git_dirty         =                         0 bool
w- 0_controller_pio_env           =                     STM32
w- 0_controller_version           = 441a2701fa01d32f27af94ce61294b2b1be2f87e
w+ 0_ventilator_serial_number     =                         0
w- air_influx_dp                  =                     0.000 cmH2O
w- air_influx_flow                =                     0.000 mL/s
w- air_influx_voltage             =                     0.000 V
w- air_influx_zero                =                     0.000 V
w- bd_fast_flow_avg               =                     0.000 mL/s
w+ bd_fast_flow_avg_alpha         =                     0.200
w+ bd_flow_trigger                =                   200.000 mL/s
w- bd_slow_flow_avg               =                     0.000 mL/s
w+ bd_slow_flow_avg_alpha         =                     0.010
w+ blower_cal                     = [0.000 0.100 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900 1.000] linear
w+ blower_valve_cal               = [0.000 0.041 0.069 0.099 0.127 0.159 0.193 0.236 0.294 0.399 1.000]
w+ blower_valve_kd                =                     0.000
w+ blower_valve_ki                =                    10.000
w+ blower_valve_kp                =                     0.040
w- breath_id                      =                         0
w+ buzzer_cal                     = [0.000 0.080 0.160 0.240 0.320 0.400 0.480 0.560 0.640 0.720 0.800] linear
w+ exhale_valve_cal               = [0.000 0.041 0.069 0.099 0.127 0.159 0.193 0.236 0.294 0.399 1.000]
w- fio2_fio2                      =                     0.000 ratio
w+ fio2_kd                        =                     0.000
w+ fio2_ki                        =                     0.100
w+ fio2_kp                        =                     0.001
w- fio2_setpoint                  =                     0.210 ratio
w- fio2_voltage                   =                     0.000 V
w- fio2_zero                      =                     0.000 V
w- flow_correction                =                     0.000 mL/s
w+ forced_blower_power            =                    -1.000 ratio
w+ forced_blower_valve_position   =                    -1.000 ratio
w+ forced_breath_rate             =                        15 breaths/min
w+ forced_buzzer_volume           =                    -1.000 ratio
w+ forced_exhale_valve_position   =                    -1.000 ratio
w+ forced_fio2                    =                    21.000 %
w+ forced_ie_ratio                =                     0.660 ratio
w+ forced_mode                    =                   invalid
w+ forced_peep                    =                         5 cmH2O
w+ forced_pip                     =                        15 cmH2O
w+ forced_psol_position           =                    -1.000 ratio
w- loop_latency                   =                      0.00 µs
w- loop_period                    =                     10000 µs
w- loop_time                      =                      0.00 µs
w- max_latency                    =                      0.00 µs
w- net_flow                       =                     0.000 mL/s
w- net_flow_uncorrected           =                     0.000 mL/s
w- nvparams_address               =                 536870936
w+ nvparams_reinit                =                         0
w- outflow_dp                     =                     0.000 cmH2O
w- outflow_flow                   =                     0.000 mL/s
w- outflow_voltage                =                     0.000 V
w- outflow_zero                   =                     0.000 V
w- oxygen_influx_dp               =                     0.000 cmH2O
w- oxygen_influx_flow             =                     0.000 mL/s
w- oxygen_influx_voltage          =                     0.000 V
w- oxygen_influx_zero             =                     0.000 V
w+ pa_min_expire_ms               =                   250.000 ms
w- patient_pressure_dp            =                     0.000 cmH2O
w- patient_pressure_voltage       =                     0.000 V
w- patient_pressure_zero          =                     0.000 V
w- pc_setpoint                    =                     0.000 cmH2O
w+ psol_cal                       = [0.350 0.390 0.430 0.470 0.510 0.550 0.590 0.630 0.670 0.710 0.750] linear
w+ psol_kd                        =                     0.000
w+ psol_ki                        =                    20.000
w+ psol_kp                        =                     0.040
w- uncorrected_volume             =                     0.000 mL
w- volume                         =                     0.000 mL

[port:/dev/ttyACM0] get set
0_ventilator_serial_number     =                         0
bd_fast_flow_avg_alpha         =                     0.200
bd_flow_trigger                =                   200.000 mL/s
bd_slow_flow_avg_alpha         =                     0.010
blower_cal                     = [0.000 0.100 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900 1.000] linear
blower_valve_cal               = [0.000 0.041 0.069 0.099 0.127 0.159 0.193 0.236 0.294 0.399 1.000]
blower_valve_kd                =                     0.000
blower_valve_ki                =                    10.000
blower_valve_kp                =                     0.040
buzzer_cal                     = [0.000 0.080 0.160 0.240 0.320 0.400 0.480 0.560 0.640 0.720 0.800] linear
exhale_valve_cal               = [0.000 0.041 0.069 0.099 0.127 0.159 0.193 0.236 0.294 0.399 1.000]
fio2_kd                        =                     0.000
fio2_ki                        =                     0.100
fio2_kp                        =                     0.001
forced_blower_power            =                    -1.000 ratio
forced_blower_valve_position   =                    -1.000 ratio
forced_breath_rate             =                        15 breaths/min
forced_buzzer_volume           =                    -1.000 ratio
forced_exhale_valve_position   =                    -1.000 ratio
forced_fio2                    =                    21.000 %
forced_ie_ratio                =                     0.660 ratio
forced_mode                    =                   invalid
forced_peep                    =                         5 cmH2O
forced_pip                     =                        15 cmH2O
forced_psol_position           =                    -1.000 ratio
nvparams_reinit                =                         0
pa_min_expire_ms               =                   250.000 ms
psol_cal                       = [0.350 0.390 0.430 0.470 0.510 0.550 0.590 0.630 0.670 0.710 0.750] linear
psol_kd                        =                     0.000
psol_ki                        =                    20.000
psol_kp                        =                     0.040

[port:/dev/ttyACM0] get read
0_controller_branch            = issue_1277_deploy_with_graphics
0_controller_build_time        =   UTC 2022-07-10 19:33:44
0_controller_git_dirty         =                         0 bool
0_controller_pio_env           =                     STM32
0_controller_version           = 441a2701fa01d32f27af94ce61294b2b1be2f87e
air_influx_dp                  =                     0.000 cmH2O
air_influx_flow                =                     0.000 mL/s
air_influx_voltage             =                     0.000 V
air_influx_zero                =                     0.000 V
bd_fast_flow_avg               =                     0.000 mL/s
bd_slow_flow_avg               =                     0.000 mL/s
breath_id                      =                         0
fio2_fio2                      =                     0.000 ratio
fio2_setpoint                  =                     0.210 ratio
fio2_voltage                   =                     0.000 V
fio2_zero                      =                     0.000 V
flow_correction                =                     0.000 mL/s
loop_latency                   =                      0.00 µs
loop_period                    =                     10000 µs
loop_time                      =                      0.00 µs
max_latency                    =                      0.00 µs
net_flow                       =                     0.000 mL/s
net_flow_uncorrected           =                     0.000 mL/s
nvparams_address               =                 536870936
outflow_dp                     =                     0.000 cmH2O
outflow_flow                   =                     0.000 mL/s
outflow_voltage                =                     0.000 V
outflow_zero                   =                     0.000 V
oxygen_influx_dp               =                     0.000 cmH2O
oxygen_influx_flow             =                     0.000 mL/s
oxygen_influx_voltage          =                     0.000 V
oxygen_influx_zero             =                     0.000 V
patient_pressure_dp            =                     0.000 cmH2O
patient_pressure_voltage       =                     0.000 V
patient_pressure_zero          =                     0.000 V
pc_setpoint                    =                     0.000 cmH2O
uncorrected_volume             =                     0.000 mL
volume                         =                     0.000 mL

[port:/dev/ttyACM0] get forced*
forced_blower_power            =                    -1.000 ratio
forced_blower_valve_position   =                    -1.000 ratio
forced_breath_rate             =                        15 breaths/min
forced_buzzer_volume           =                    -1.000 ratio
forced_exhale_valve_position   =                    -1.000 ratio
forced_fio2                    =                    21.000 %
forced_ie_ratio                =                     0.660 ratio
forced_mode                    =                   invalid
forced_peep                    =                         5 cmH2O
forced_pip                     =                        15 cmH2O
forced_psol_position           =                    -1.000 ratio

[port:/dev/ttyACM0] get *?
0_controller_branch            = issue_1277_deploy_with_graphics
0_controller_build_time        =   UTC 2022-07-10 19:33:44
0_controller_git_dirty         =                         0 bool
0_controller_pio_env           =                     STM32
0_controller_version           = 441a2701fa01d32f27af94ce61294b2b1be2f87e
0_ventilator_serial_number     =                         0
air_influx_dp                  =                     0.000 cmH2O
air_influx_flow                =                     0.000 mL/s
air_influx_voltage             =                     0.000 V
air_influx_zero                =                     0.000 V
bd_fast_flow_avg               =                     0.000 mL/s
bd_fast_flow_avg_alpha         =                     0.200
bd_flow_trigger                =                   200.000 mL/s
bd_slow_flow_avg               =                     0.000 mL/s
bd_slow_flow_avg_alpha         =                     0.010
blower_cal                     = [0.000 0.100 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900 1.000] linear
blower_valve_cal               = [0.000 0.041 0.069 0.099 0.127 0.159 0.193 0.236 0.294 0.399 1.000]
blower_valve_kd                =                     0.000
blower_valve_ki                =                    10.000
blower_valve_kp                =                     0.040
breath_id                      =                         0
buzzer_cal                     = [0.000 0.080 0.160 0.240 0.320 0.400 0.480 0.560 0.640 0.720 0.800] linear
exhale_valve_cal               = [0.000 0.041 0.069 0.099 0.127 0.159 0.193 0.236 0.294 0.399 1.000]
fio2_fio2                      =                     0.000 ratio
fio2_kd                        =                     0.000
fio2_ki                        =                     0.100
fio2_kp                        =                     0.001
fio2_setpoint                  =                     0.210 ratio
fio2_voltage                   =                     0.000 V
fio2_zero                      =                     0.000 V
flow_correction                =                     0.000 mL/s
forced_blower_power            =                    -1.000 ratio
forced_blower_valve_position   =                    -1.000 ratio
forced_breath_rate             =                        15 breaths/min
forced_buzzer_volume           =                    -1.000 ratio
forced_exhale_valve_position   =                    -1.000 ratio
forced_fio2                    =                    21.000 %
forced_ie_ratio                =                     0.660 ratio
forced_mode                    =                   invalid
forced_peep                    =                         5 cmH2O
forced_pip                     =                        15 cmH2O
forced_psol_position           =                    -1.000 ratio
loop_latency                   =                      0.00 µs
loop_period                    =                     10000 µs
loop_time                      =                      0.00 µs
max_latency                    =                      0.00 µs
net_flow                       =                     0.000 mL/s
net_flow_uncorrected           =                     0.000 mL/s
nvparams_address               =                 536870936
nvparams_reinit                =                         0
outflow_dp                     =                     0.000 cmH2O
outflow_flow                   =                     0.000 mL/s
outflow_voltage                =                     0.000 V
outflow_zero                   =                     0.000 V
oxygen_influx_dp               =                     0.000 cmH2O
oxygen_influx_flow             =                     0.000 mL/s
oxygen_influx_voltage          =                     0.000 V
oxygen_influx_zero             =                     0.000 V
pa_min_expire_ms               =                   250.000 ms
patient_pressure_dp            =                     0.000 cmH2O
patient_pressure_voltage       =                     0.000 V
patient_pressure_zero          =                     0.000 V
pc_setpoint                    =                     0.000 cmH2O
psol_cal                       = [0.350 0.390 0.430 0.470 0.510 0.550 0.590 0.630 0.670 0.710 0.750] linear
psol_kd                        =                     0.000
psol_ki                        =                    20.000
psol_kp                        =                     0.040
uncorrected_volume             =                     0.000 mL
volume                         =                     0.000 mL

[port:/dev/ttyACM0] get all --raw
w- 0_controller_branch            = issue_1277_deploy_with_graphics
w- 0_controller_build_time        = UTC 2022-07-10 19:33:44
w- 0_controller_git_dirty         =                         0 bool
w- 0_controller_pio_env           =                  STM32
w- 0_controller_version           = 441a2701fa01d32f27af94ce61294b2b1be2f87e
w+ 0_ventilator_serial_number     =                         0
w- air_influx_dp                  =                       0.0 cmH2O
w- air_influx_flow                =                       0.0 mL/s
w- air_influx_voltage             =                       0.0 V
w- air_influx_zero                =                       0.0 V
w- bd_fast_flow_avg               =                       0.0 mL/s
w+ bd_fast_flow_avg_alpha         =       0.20000000298023224
w+ bd_flow_trigger                =                     200.0 mL/s
w- bd_slow_flow_avg               =                       0.0 mL/s
w+ bd_slow_flow_avg_alpha         =      0.009999999776482582
w+ blower_cal                     = [0.0, 0.10000000149011612, 0.20000000298023224, 0.30000001192092896, 0.4000000059604645, 0.5, 0.6000000238418579, 0.699999988079071, 0.800000011920929, 0.8999999761581421, 1.0] linear
w+ blower_valve_cal               = [0.0, 0.04100000113248825, 0.06889999657869339, 0.09870000183582306, 0.1274999976158142, 0.1589999943971634, 0.1932000070810318, 0.23589999973773956, 0.2939999997615814, 0.39879998564720154, 1.0]
w+ blower_valve_kd                =                       0.0
w+ blower_valve_ki                =                      10.0
w+ blower_valve_kp                =       0.03999999910593033
w- breath_id                      =                         0
w+ buzzer_cal                     = [0.0, 0.08000000566244125, 0.1600000113248825, 0.24000000953674316, 0.320000022649765, 0.4000000059604645, 0.48000001907348633, 0.5600000023841858, 0.64000004529953, 0.7199999690055847, 0.800000011920929] linear
w+ exhale_valve_cal               = [0.0, 0.04100000113248825, 0.06889999657869339, 0.09870000183582306, 0.1274999976158142, 0.1589999943971634, 0.1932000070810318, 0.23589999973773956, 0.2939999997615814, 0.39879998564720154, 1.0]
w- fio2_fio2                      =                       0.0 ratio
w+ fio2_kd                        =                       0.0
w+ fio2_ki                        =       0.10000000149011612
w+ fio2_kp                        =     0.0010000000474974513
w- fio2_setpoint                  =       0.20999999344348907 ratio
w- fio2_voltage                   =                       0.0 V
w- fio2_zero                      =                       0.0 V
w- flow_correction                =                       0.0 mL/s
w+ forced_blower_power            =                      -1.0 ratio
w+ forced_blower_valve_position   =                      -1.0 ratio
w+ forced_breath_rate             =                        15 breaths/min
w+ forced_buzzer_volume           =                      -1.0 ratio
w+ forced_exhale_valve_position   =                      -1.0 ratio
w+ forced_fio2                    =                      21.0 %
w+ forced_ie_ratio                =        0.6600000262260437 ratio
w+ forced_mode                    =                   invalid
w+ forced_peep                    =                         5 cmH2O
w+ forced_pip                     =                        15 cmH2O
w+ forced_psol_position           =                      -1.0 ratio
w- loop_latency                   =                       0.0 µs
w- loop_period                    =                     10000 µs
w- loop_time                      =                       0.0 µs
w- max_latency                    =                       0.0 µs
w- net_flow                       =                       0.0 mL/s
w- net_flow_uncorrected           =                       0.0 mL/s
w- nvparams_address               =                 536870936
w+ nvparams_reinit                =                         0
w- outflow_dp                     =                       0.0 cmH2O
w- outflow_flow                   =                       0.0 mL/s
w- outflow_voltage                =                       0.0 V
w- outflow_zero                   =                       0.0 V
w- oxygen_influx_dp               =                       0.0 cmH2O
w- oxygen_influx_flow             =                       0.0 mL/s
w- oxygen_influx_voltage          =                       0.0 V
w- oxygen_influx_zero             =                       0.0 V
w+ pa_min_expire_ms               =                     250.0 ms
w- patient_pressure_dp            =                       0.0 cmH2O
w- patient_pressure_voltage       =                       0.0 V
w- patient_pressure_zero          =                       0.0 V
w- pc_setpoint                    =                       0.0 cmH2O
w+ psol_cal                       = [0.3499999940395355, 0.38999998569488525, 0.4300000071525574, 0.4699999988079071, 0.5099999904632568, 0.550000011920929, 0.5899999737739563, 0.6299999952316284, 0.6700000166893005, 0.7099999785423279, 0.75] linear
w+ psol_kd                        =                       0.0
w+ psol_ki                        =                      20.0
w+ psol_kp                        =       0.03999999910593033
w- uncorrected_volume             =                       0.0 mL
w- volume                         =                       0.0 mL

[port:/dev/ttyACM0] get psol_ki
psol_ki                        =                    20.000
[port:/dev/ttyACM0] get psol_cal
psol_cal                       = [0.350 0.390 0.430 0.470 0.510 0.550 0.590 0.630 0.670 0.710 0.750] linear
[port:/dev/ttyACM0] get 0_controller_branch
0_controller_branch            = issue_1277_deploy_with_graphics
[port:/dev/ttyACM0] get volume
volume                         =                     0.000 mL

[port:/dev/ttyACM0] get psol_cal --raw
psol_cal                       = [1.0, 2.0, 3.0, 4.0, 5.5, 4.300000190734863, 2.299999952316284, 62.099998474121094, 64.0, 19.11111068725586, 15.770000457763672]

[port:/dev/ttyACM0] get psol_ki %f
psol_ki                        =                 42.250000
[port:/dev/ttyACM0] get psol_ki %s
psol_ki                        =                     42.25
[port:/dev/ttyACM0] get psol_ki %u
psol_ki                        =                        42

[port:/dev/ttyACM0] get psol_cal
psol_cal                       = [1.000 2.000 3.000 4.000 5.500 4.300 2.300 62.100 64.000 19.111 15.770]
[port:/dev/ttyACM0] get psol_cal %s
psol_cal                       = [1.0 2.0 3.0 4.0 5.5 4.300000190734863 2.299999952316284 62.099998474121094 64.0 19.11111068725586 15.770000457763672]
[port:/dev/ttyACM0] get psol_cal %f
psol_cal                       = [1.000000 2.000000 3.000000 4.000000 5.500000 4.300000 2.300000 62.099998 64.000000 19.111111 15.770000]
[port:/dev/ttyACM0] get psol_cal %u
psol_cal                       = [1 2 3 4 5 4 2 62 64 19 15]
====================================================================
SET
====================================================================
[port:/dev/ttyACM0] set psol_ki (5+6)*0.75+34
[port:/dev/ttyACM0] get psol_ki
psol_ki                        =                    42.250

[port:/dev/ttyACM0] set psol_cal [1, 2, 3, 4, 5.5, 4.3, 2.3, 62.1, 64, 19.111111, 15.77]
[port:/dev/ttyACM0] get psol_cal
psol_cal                       = [1.000 2.000 3.000 4.000 5.500 4.300 2.300 62.100 64.000 19.111 15.770]

[port:/dev/ttyACM0] set psol_cal lin(1,5)
[port:/dev/ttyACM0] get psol_cal
psol_cal                       = [1.000 1.400 1.800 2.200 2.600 3.000 3.400 3.800 4.200 4.600 5.000] linear

[port:/dev/ttyACM0] set psol_cal lin(-5,5)
[port:/dev/ttyACM0] get psol_cal
psol_cal                       = [-5.000 -4.000 -3.000 -2.000 -1.000 0.000 1.000 2.000 3.000 4.000 5.000] linear

[port:/dev/ttyACM0] set psol_cal (np.arange(11)+15.023-np.pi)*1.5
[port:/dev/ttyACM0] get psol_cal
psol_cal                       = [17.822 19.322 20.822 22.322 23.822 25.322 26.822 28.322 29.822 31.322 32.822] linear

[port:/dev/ttyACM0] set psol_cal eigen()
[port:/dev/ttyACM0] get psol_cal
psol_cal                       = [0.000 0.100 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900 1.000] linear

[port:/dev/ttyACM0] set psol_cal eigen()*1.25+2
[port:/dev/ttyACM0] get psol_cal
psol_cal                       = [2.000 2.125 2.250 2.375 2.500 2.625 2.750 2.875 3.000 3.125 3.250] linear
====================================================================
ERRORS
====================================================================
[port:/dev/ttyACM0] set psol_ki lin(1,4)
Expected type FLOAT, got list
You may have either
    - incorrectly used a supported function
    - set a variable to data of unexpected type
Run 'help set' to see available functions and usage.

[port:/dev/ttyACM0] set psol_ki [1, 2, 3, 4, 5]
Expected type FLOAT, got list
You may have either
    - incorrectly used a supported function
    - set a variable to data of unexpected type
Run 'help set' to see available functions and usage.

[port:/dev/ttyACM0] set psol_cal 2
Expected type FLOAT_ARRAY, got int
You may have either
    - incorrectly used a supported function
    - set a variable to data of unexpected type
Run 'help set' to see available functions and usage.

[port:/dev/ttyACM0] set psol_cal magic()
name 'magic' is not defined
You may have tried to use an unsupported function.
Run 'help set' to see available functions and usage.

[port:/dev/ttyACM0] set psol_cal lin(1)
lin() missing 1 required positional argument: 'high'
You may have either
    - incorrectly used a supported function
    - set a variable to data of unexpected type
Run 'help set' to see available functions and usage.

[port:/dev/ttyACM0] set psol_cal magic
name 'magic' is not defined
You may have tried to use an unsupported function.
Run 'help set' to see available functions and usage.

Added some rudimentary unit testing too! It automates verifying the values before it's sent to lower-level layers to be processed into bytes and to the controller.


Fix: terrain color blend rerender

What does this PR change?
fix #748
fix #756
How to test the changes?

Launch the explorer
Go to some world -> verify world terrain already presented after loading screen disappears
go back to genesis city -> verify grass in not red (see #748)
try this loop several times (but with jumping between stable worlds and empty genesis terrain)
check how it works at night
verify that  building at -150,-3 is not covered by bushes (it is owned parcel). Like that

Our Code Review Standards
https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

The grass still looks extremely Red

Talk to @Kinerius. We had this issue where noise texture generation was giving odd red values out of range.

Talk to @Kinerius. We had this issue where noise texture generation was giving odd red values out of range.

Noise is not a texture and it never gave odd red values.
The issue is the plugin that we use for the terrain blending, is bugged as hell and we have to do some workarounds to properly make it work during runtime

Talk to @Kinerius. We had this issue where noise texture generation was giving odd red values out of range.

Noise is not a texture and it never gave odd red values.
The issue is the plugin that we use for the terrain blending, is bugged as hell and we have to do some workarounds to properly make it work during runtime

Agree. But as for this bug, it was directly related to culling.


Upgrade video_player dependency

The dependency on video_player needs to be upgraded (0.6.4 is the current version as of now).
At the moment, the low dependency value is making this library incompatible with another video library that I am using.

updated in version v0.5.4


Official MINER implementation

Greetings,
Thank you for the interest in our work. I have also benefited from several other of your repositories including the one on coordinate MLPs.
We now have an official implementation for MINER here: https://github.com/vishwa91/miner . Would be great if you could add it to the README.
Once again, thanks a lot for replicating our results!
Regards.

Thank you, added!


prettyPrint and outline surround inline-tags with white space (where they shouldn't)

Using this code with jsoup 1.11.3:
String html = "
1:15–2:15 p.m.
";
org.jsoup.nodes.Document document = Jsoup.parse(html);
document.outputSettings().prettyPrint(false).outline(false);
System.out.println("Example 1:");
System.out.println(document.body().html());
document.outputSettings().prettyPrint(true).outline(false);
System.out.println("Example 2:");
System.out.println(document.body().html());
document.outputSettings().prettyPrint(true).outline(true);
System.out.println("Example 3:");
System.out.println(document.body().html());

Results in
Example 1:

1:15–2:15 p.m.

Example 2:

 1:15–
 2:15 p.m.

Example 3:

 1:15
 –
 2:15
  p.m.

Example 1: Please watch that there are no white spaces around the en-dash. That's correct.
Example 2: Additional white space after the en-dash.
Example 3: Additional white space before and after the en-dash.
Examples 2 and 3 result in incorrect typography and I hereby consider that as a bug.
It is likely that this problem is similar to issue #851

Thanks! I have merged the PR (and tweaked with 279fbe120c5bd4221478481b78d31ddf41475360) to fix this.


Support ssl for haproxy loadbalacer for cloudstack

https://jira.tungsten.io/browse/TFP-110
Currently, tungsten fabric is only support terminated https haproxy
load balancer for openstack and k8. Need to support for cloudstack also
Add feature to support terminated https haproxy load balancer for
cloudstack

please use https://gerrit.tungsten.io/r/dashboard/self to raise PR

I appreciate your help.


Exiting Scav raid resulted in convert string 'CounterHoursCrafting' to dictionary key type 'EFT.MongoID' error

SPT Version
3.10-BE
Project Type
No response
Expected Result
Successfully exit from Scav raid.
Actual Result
Exit screen interupted by message stating "In response to http://<IP_ADDRESS>:6969/client/game/profile/list: Could not convert string 'CounterHoursCrafting' to dictionary key type 'EFT.MongoID'. Create a TypeConverter to convert from the string to the key type object. Path 'CounterHoursCrafting', line 1, position 21824."
Steps To Reproduce
Enter Factory Raid as Scav. Attempt to exit.
Appears highly plausable that uncollected crafted items within the Hideout contributed to this error.
Please note, I have recently overwritten files exported from SPT-BLEEDINGMODS-3.10.0-33420-f49db48-202411182 with the latest copy from SPT-BLEEDINGMODS-3.10.0-33420-59eb80f-20241119.
Thanks team! 👍
Server Log
Click and attach file. ↓
BepinEx Log
Click and attach file. ↓
Client Log
Click and attach file. ↓
Player Profile
No response
Screenshots

Attachments

image.png (248 KiB)
image.png (88 KiB)
server-2024-11-20.log (329 KiB)
LogOutput.log (58 KiB)
2024.11.20_5-11-54_<IP_ADDRESS>.33420 traces.log (577 KiB)

Originally written by ultragastro.

Unable to replicate issue following full restart of EFT. And secondary Scav raid.

Originally written by ultragastro.

This appears to be caused by HideoutController::getHoursCraftingTaskConditionCounter in the server, this utilizes a named string key in TaskConditionCounters where the client is expecting that list to use a MongoID key
This appears to be an entirely SPT created construct, so we can probably just change HideoutController.nameTaskConditionCountersCrafting to be a MongoID value instead of a named string

Originally written by DrakiaXYZ.

Should hopefully be fixed with https://dev.sp-tarkov.com/SPT/Server/commit/2749be9a4bd13666488d8414541690badc5c5136

Originally written by DrakiaXYZ.


encoding/json: unmarshal accepts duplicate keys

Unmarshaling a JSON object with repeated keys into a struct doesn't return an error, it keeps the value specified last in the JSON string instead.
https://play.golang.org/p/cv6HeD-hERx
More confusingly, it causes maps on repeated keys to be merged: https://play.golang.org/p/47_7kSPFCW2
Other languages' JSON libraries error in this case

The documentation doesn't specify what happens in this case; it says it matches object keys to fields but doesn't specify in what order it does so (it only matters with duplicate keys). Changing the current behaviour might break backwards compatibility too much, but I think at least it should be documented.
Also, the behaviour is inconsistent between a map and a slice field; the maps get merged, the slice field takes the last value seen, like the other types.

@rsc thanks for the reply. You're right that the godoc says that keys are matched, so it is implicit that nothing is done about duplicate keys. However, I don't see how that should lead to maps getting merged.
That is, in @Dirbaio's second play link, I would expect the output to be {map[bar:1]}.
I understand that unmarshalling multiple times into one map merges the keys - that is fine. What I don't think is fine is for duplicate keys to get merged. For example, as @dpinela said, when the field is a slice they aren't merged and you get a single element: https://play.golang.org/p/nXLs0hd8Uj3

@zamicol correctly points out that some people are ending up on this thread, which has been rejected and frozen/locked for a few years now. The discussion continues over at https://github.com/golang/go/issues/48298, which is a proposal to add an option, and it was accepted.


Tweak HttpSkill for improved performance

Motivation and Context
Suggested changes to HttpSkill based on code reviewing its implementation.
Description

If no HttpClient is provided, use a shared HttpClientHandler singleton so that connections may be pooled under the covers.  Otherwise, every instantiation of the skill would create and teardown a connection for the request.  If there's only ever a single instance of the skill created, it's effectively equivalent.  In the future this could also be changed to use HttpClientFactory and allow it to manage singletons.
Use GetStringAsync for the GetAsync function: this lets the implementation optimize the operation a bit more than what the consumer can do.
Use a shared SendRequestAsync to deduplicate the Put/Post/DeleteAsync implementations.
Use HttpCompletionOption.ResponseHeadersRead to allow the implementation of ReadAsStringAsync to more efficiently create the returned string rather than first buffering the whole response as a byte[].
Ensure the response message is disposed.
Add a remark to the HttpSkill ctor accepting an HttpClient that it assumes ownership of that instance such that a caller should expect it to be disposed of when the skill is disposed.

Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
[x] The code follows the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with dotnet format
[x] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

use a shared HttpClientHandler singleton

In looking through more code since putting up this PR, I see multiple places we're creating individual handlers.  After this PR, I'd like to look at consolidating most / all of those.

use a shared HttpClientHandler singleton

In looking through more code since putting up this PR, I see multiple places we're creating individual handlers. After this PR, I'd like to look at consolidating most / all of those.

Yup, good call. We've got a conversation ongoing about a few options for how to distribute Handlers (or HttpClientFactory instance) around the kernel. We'll try to close on that design this week and implement shortly thereafter.


Handle files with type of None

Note: there is some logging logic in there that logs when file type/measurements are missing. I decided to leave that in for now.
Review Checklist

Tests were added to cover all code changes
Documentation was added / updated
Code and tests follow standards in CONTRIBUTING.md

Codecov Report

Merging #942 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #942      +/-   ##
==========================================
+ Coverage   90.19%   90.19%   +<.01%
==========================================
  Files          48       48
  Lines        6417     6418       +1
==========================================
+ Hits         5788     5789       +1
  Misses        629      629

Flag
Coverage Δ

#python
90.19% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

api/jobs/rules.py
86.61% <100%> (+0.1%)
:arrow_up:

Continue to review full report at Codecov.

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


Confidence value for segment?

Is it possible to get the confidence for an individual segment/word as part of the results?
Thanks

Confidence values are provided on a per-token basis from whisper.cpp. I hadn't planned on an API to interface on the token level, but it may be worth looking in to.

That would be fantastic if it could be considered!

Confidence values are provided on a per-token basis from whisper.cpp. I hadn't planned on an API to interface on the token level, but it may be worth looking in to.

+1 for this. This would allow color highlighting based on that confidence. Which would make human  review of transcribed text a million times faster and easier!


Added GetIntermediatePoints support for X11, libinput and evdev

This PR adds input event grouping for Linux-based platforms and introduces GetIntermediatePoints API (See UWP counterpart).
https://user-images.githubusercontent.com/1067584/150660219-96c2467c-b0b2-49ab-801b-56f245f8552b.mp4

Don't backport yet, we might be changing RawPointerEventArgs to accommodate PointerPointProperties for individual points.


Condition onset-date tests missing required AU Core precision

The onset-date test provides a value precise to the day, it does not have the required precision from AU Core. See AU Core excerpt below:
A client SHALL provide a value precise to the second + time offset. A server SHALL support a value precise to the second + time offset.
Please fix.

Hello @dt-r ,
I'm pleased to announce that the changes related to this ticket are now available in version 0.0.6, which has already been deployed to the server.
Please re-test the changes. If everything is okay, you may close this ticket. If you encounter any issues or do not observe the changes related to this ticket, please provide details here.
Thank you.
https://inferno.hl7.org.au


Update AppShell.xaml.cs

Use the proxy property AppFrame instead of frame (which is returned by AppFrame)

Thank you for the suggestion, this change has been incorporated.


event parameters for components

This issue is related to #690
When I try to send a param to a component event it says there is yet not available.
<somecomponent on-somevent="dosomething:justaparam" />

this is a jsfiddle I developed to illustrate the problem.
http://jsfiddle.net/9StFz/9/
Is this fix comming soon ? I'm looking forward to help.
thanks !

closed via #2095


flutter: Update to version 2.2.3

Tracked because the URL of Flutter has changed
Signed-off-by: kokkiemouse<EMAIL_ADDRESS>

/verify


Switch to a different email/Markdown editor

The Markdown editor is hard for people unfamiliar with Markdown to use
The current Markdown editor's behavior for adding links adds an https:// by default which is really annoying since in general, you paste in links
I recommend something that doesn't require Markdown, such as Basecamp's excellent Trix WYSIWYG editor

I'd be cautious about this. Markdown supports embedding HTML directly into the content which is very useful for things you can't do with WYSIWYG like additional custom styles or HTML elements (we used this feature for the HackGT 6 interstitial page iirc).
Also, the current editor supports WYSIWYG functionality already (albeit with a few bugs like you mentioned)


iterator feature is not additive

Enabling the feature adds functions to the Storage trait, which breaks anyone implementing that themselves.
This is probably not a huge problem because few people do that, but I recently ran into this when implementing it based on QueryRaw.
The simplest way to avoid this is a default implementation that either just fails with unimplemented!() or returns an empty iterator.
Ultimately, a better (but breaking) solution would probably have a separate RangedStorage super-trait of Storage, altough I'm not sure how we would propagate that through the codebase without it becoming non-additive again.

Ultimately, a better (but breaking) solution would probably have a separate RangedStorage super-trait of Storage, altough I'm not sure how we would propagate that through the codebase without it becoming non-additive again.

I would not do that part. It will increase complexity by a lot not only in our codebase but a lot of user codebases. Using CosmWasm without iterator is something that might only be used by Secret Network and they have all sorts of forks. For Ethereum it would be needed too but I don't see CosmWasm on top of Ethereum any time soon.

Alright, in that case, we can close here, since the other part is already merged.


Add StoryChunk Extraction agent to StoryPipeline

StoryPipeline should have an agent to extract StoryChunks out of the StoryPipeline after acceptance time window for the StoryChunk expires and/or StoryPipeline is released and/or KeeperDataStore is being shutdown
base StoryChunkExtractionAgent  can be extended with the PosixFileWriterAgent, HDF5 writer Agent,  and/or RPC publisher agent in a chained Proxy pattern later on
The ExtractionAgent should allow for efficient moving of the StoryChunks from the StoryPipelines to the extraction queue of some sort that sequencing threads should push the StroyChunkks on and the egress thread(s) should take the StoryChunks from with minimal locking

merged to develop


APPS-1304 Added missed mappings

added missed mappings

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

Project coverage is 80.18%. Comparing base (14f2a56) to head (7214e36).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
+ Coverage   80.14%   80.18%   +0.03%
==========================================
  Files          93       93
  Lines        5167     5172       +5
==========================================
+ Hits         4141     4147       +6
+ Misses        721      720       -1
  Partials      305      305

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


Broken UVs for xeno1/chr/pc/pc082505.wimdo

Tested on v0.8.0

I'm only seeing one texcoord attribute. I'll investigate the shaders later to see if this is related to texture scaling parameters.

The UV attributes in the decompiled shaders are just passed from vertex to fragment without any scaling or offsets. The vertex attribute data also appears normal. Is pc082505 a duplicate of pc080405?

Yup. Scanned thru the pc080405 duplicates, and verified that none of them are used. They look to be wii filler weapons after checking tri count.


Buffer is undefined in electron

If I compile a .jsc file inside an electron process with bytenode.compileFile('./test.js', './test.jsc'); and that file contains references to node-js's Buffer object. It is undefined.
So a "new Buffer(1);" gives a TypeError: undefined is not a constructor exception. And this exception only occurs when requiring the .jsc file of course. The .js file works fine.

I'll check this. Could you please provide a more specific example?

Example file test.js:
var buf = new Buffer(1);
inside your main.js in electron:
v8.setFlagsFromString('--no-lazy');
bytenode.compileFile('./test.js', './test.jsc');
require('./test.jsc');

Result:
TypeError: undefined is not a constructor
    at Object.<anonymous> (evalmachine.<anonymous>:1:167)
    at Object.<anonymous> (evalmachine.<anonymous>:1:185)```

I can reproduce it now. However, I could not find why the Buffer class is not available in the global scope in such a case.
I tried to set global.Buffer = require('buffer').Buffer within Bytenode code, but it would be lost when we require '.jsc' files, which is weird. There is something in this case that hijack or remove the global Buffer variable, and only Buffer, any other global variable would survive!
For a quick fix, you can manually require Buffer class before you use it, like this:
const Buffer = require('buffer').Buffer;

Found it. It's not an issue in Bytenode. It's Electron's decision to remove the global Buffer class.
Here: init.ts#L157 and delete-buffer.js#L6

Seems to me like they redefine it from "const { Buffer } = window". And maybe the default context in electron is not "global" ? Since in the last example you gave, delete-buffer.js, you see them define it via const against "window", and then delete global.Buffer, and then just after, successfully use Buffer as a constructor.
So this seems to work in electron:
const { Buffer } = global;
var buf = new Buffer(1);
console.log("Buffer: ", buf.readUInt8(0));

Maybe you could prepend "const { Buffer } = global;" to the script when compiling scripts in electron-environment?

Well, this would solve the problem, but I prefer to wait until we find a better solution. My initial guess is that they have changed the behviour of node require function, so the implementation of requiring '.jsc' files, that bytenode adds to require function, fails to show electron that nodeIntegration is true. Check here: init.ts#L104. This could have other consequences than the missing Buffer.

I wrote a comment then I deleted it. Let me consider your fix and get back to you. My concern is that the cause of this missing Buffer could have other consequences, so we need to know why it happens only with .jsc files. It seems to me that Electron, in the case of .jsc files, thinks that nodeIntegration variable is false.

I have decided not to fix this as it is not a bug in bytenode itself. It's fairly easy to handle inside your code though.

I am having this problem. Example project here. While I can solve the problem by adding Buffer = require("buffer").Buffer to the top of my file (src/index.js), I think it is a mistake to say that this isn't an issue with bytenode itself.
IMO, if the code works fine when uncompiled, it should work when compiled without changes. The Buffer object is available to scripts in the render process if node integration has been enabled.

The Buffer object is available to scripts in the render process if node integration has been enabled.

No it is not available, because in case of .jsc files, electron –not bytenode– decides to delete the Buffer object.
I could not figure out why –or where– this deletion occur, as the electron source code is not that trivial. I will look into it again.

Your example has an error.
Not allowed to load local resource: file:///home/osama/Desktop/bytenode-error-example/app/index.html

I don't understand why you had to incorporate webpack and all its spells in your example :) . I'm trying to get the app logic to isolate the bytenode aspect of the issue.
However, if you were able to solve the issue and get the app run by adding Buffer = require("buffer").Buffer, then you are correct: it's the same issue discussed here. (and it can be demonstrated easily by using Buffer object in a very minimal electron setup). So, solving this problem requires that we study the source code of electron itself, to see where exactly the deletion of Buffer object occurs, and why this happens in the case of .jsc files alone.
I tried this approach before but did not spend much time on it. I'll look into it again and get back to you.


Register Pythia V1 + V0 model change

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Screenshots
Please attach before and after screenshots of the change if applicable.

Checklist:

[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have not rewritten tests relating to key interfaces which would affect backward compatibility

Thanks for the PR! This seems good to me, maybe printing something when a
v1 model is loaded flagging the change? This could easily cause a bunch of
silent bugs.
Are v0 and v1 models the same weights or a full retrained different
weights?
And can you update the model alias section to have all of the old Pythia
aliases work for v0 if you add a v0 suffix? (should be an easy copy and
paste job)
On Tue, 11 Apr 2023, 5:47 pm Hailey Schoelkopf, @.***>
wrote:

Description
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing
functionality to not work as expected)
This change requires a documentation update

Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist:

I have commented my code, particularly in hard-to-understand areas
I have made corresponding changes to the documentation
My changes generate no new warnings
I have added tests that prove my fix is effective or that my feature
works
New and existing unit tests pass locally with my changes
I have not rewritten tests relating to key interfaces which would
affect backward compatibility

You can view, comment on, or merge this pull request online at:
https://github.com/neelnanda-io/TransformerLens/pull/241
Commit Summary

d636acf
https://github.com/neelnanda-io/TransformerLens/pull/241/commits/d636acfdb29b20a8a22d582044f0946dd66b19a4
Add Pythia V1 + V0 distinction, aliases still same

File Changes
(1 file https://github.com/neelnanda-io/TransformerLens/pull/241/files)

M transformer_lens/loading_from_pretrained.py
https://github.com/neelnanda-io/TransformerLens/pull/241/files#diff-49f3eaa073cf950519375c165b2972561dfd6188612e6076923201c52400ac12
(28)

Patch Links:

https://github.com/neelnanda-io/TransformerLens/pull/241.patch
https://github.com/neelnanda-io/TransformerLens/pull/241.diff

—
Reply to this email directly, view it on GitHub
https://github.com/neelnanda-io/TransformerLens/pull/241, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRPNKOYBQZ5QFFPS7BQ4JLXAWDJXANCNFSM6AAAAAAW2Q3RSY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

LGTM! Thanks Hailey!


icons not showing

is it just me, or are icons are not working for me after the 0.96 update.?

Just updated and mine seem fine.

It's working here

I had the same issue.
Solved it replacing at line ~781 of the file sass/components/_icons_material-design.scss the following:
instead of content: unicode($mdi-icon-value); write content: "\""+ $mdi-icon-value) +"\""

@jaimevent thanks! that totally fixed it

@Dogfalo why is the line @jaimevent referenced to not in
https://github.com/Dogfalo/materialize/blob/master/sass/components/_icons-material-design.scss
want to do a PR to fix this issue, but not sure where to start.

We updated the icon font

@Dogfalo thanks for the reply.
I'm using gulp-sass which pulls in node-sass 3.0.0-beta.4
I can build the latest materialize.scss and icons are showing. but they are all mismatched.

You need to grab the updated don't files as well
On Apr 11, 2015 7:29 PM, "Frank Leng"<EMAIL_ADDRESS>wrote:

@Dogfalo https://github.com/Dogfalo thanks for the reply.
I'm using gulp-sass which pulls in node-sass 3.0.0-beta.4
I can build the latest materialize.scss and icons are showing. but they
are all mismatched.
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/1079#issuecomment-91944945
.

ah of course! found a bug in my build script that didn't clean up the font.
Thanks!!!

I had the same problem with the current repository code. @jaimevent solution worked for me.
Using broccoli-sass on ember-cli.

@jaimevent solved the bug.

I'm using the Meteor version of Materialize and I'm icons are not showing up, only the icon text. Am I missing something?

http://materializecss.com/icons.html

Entirely my bad.
Thanks

there's a problem with "Material-Design-Icons.woff" in the package, I've replaced it with the google version below, and it worked.
https://fonts.gstatic.com/s/materialicons/v7/2fcrYFNaTjcS6g4U3t-Y5ewrjPiaoEww8AihgqWRJAo.woff

@thg303 Thanks, it worked for me. @Dogfalo  you need to update this in your V0.97 package.

@Dogfalo unfortunately the problem in firefox is not solved by adding the icon link, we have to change the .woff file. Well the problem occurred after the .97 update.

SOLUTION
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'), local('MaterialIcons-Regular'), url(http://fonts.gstatic.com/s/materialicons/v7/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
word-wrap: normal;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}

@ztvMark :+1:

@ztvMark
I just downloaded the .woff2 file and it works!
Gracias!

I have just created project with gulp-sass, added with bower install materialize --save Materialize and copied from bower_components/Materialize/font to <my_project>/src/font with directory structure.
During gulp serve I can't see that browser is loading anything with Material Icons - only roboto is loaded.
I did not change any of material scripts... why this is not working?

Checkbox, switch and radio button is not working when i implement in my project. If i am use in simple plain Html page then it works.

No me funciona los iconos cuando lo uso en local las fuentes


fix(tests): Adjusts vault startup timeout to a better value

Added another commit here after doing some testing, for some ungodly reason the HTTP server starting before the vault provider was failing the tests, but not if you reverse them. I'm not sure why, I just know that it's okay now


DNS lookup error in docker-compose

prometheus fail to dail server with name domain in docker-compose.
when navigate to http://<promdash_host>/targets page, it show errors: Get http://nodeexporter:9100/metrics: dial tcp <IP_ADDRESS>:9100: getsockopt: connection refused
I ping the server  docker-compose exec prometheus ping nodeexporter, it works
PING nodeexporter (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=64 time=0.101 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=64 time=0.077 ms
^C
--- nodeexporter ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.077/0.089/0.101 ms

this is my docker-compose.yaml file
version: "2.0"
services:
    nodeexporter:
        image: prom/node-exporter
        ports:
            - '9100:9100'
    prometheus:
        image: prom/prometheus
        volumes:
            - ./prometheus.yml:/etc/prometheus/prometheus.yml
            - ./data/prom:/prometheus
        command:
            - '-config.file=/etc/prometheus/prometheus.yml'
            - '-storage.local.path=/prometheus'
        ports:
            - '9090:9090'
        depends_on:
            - nodeexporter

this is my prometheus.ymal file
global:
    scrape_interval: 5s
    external_labels:
        monitor: 'saas'
scrape_configs:
    - job_name: 'default'
      static_configs:
          - targets: ['localhost:9090', 'nodeexporter:9100']

I have exactly the same problem. Did you solve the problem in the meantime?
As a workaround i put the ip address of the node-exporter container in the prometheus.yml and it works as expected. But this is a very bad workaround and no solution.

I disabled dnsmasq in NetworkManager and the problem is gone.
See:
https://docs.docker.com/engine/installation/linux/ubuntulinux/#specify-dns-servers-for-docker


Make gosec installation verbose to show all installation errors

Make gosec installation verbose to show all installation errors

Fixed in #648


[hotfix][web] Correct the hint of options name of rest.profiling.enabled

What is the purpose of the change
A hotfix to correct the profilling options name.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

In parallel, a Jira was created for this. Referencing here https://issues.apache.org/jira/browse/FLINK-35111


Ndr/add animated gif

Adds an animated GIF of the manhattan scenario to the README;
I had a hard time balancing image size and resolution and so I would be curious to hear how the gif looks on your respective browsers.

looks good! i'd say generally it gives a good impression of what we simulate. a few things if you're up for a revision:

animations aren't super smooth, maybe because the time range is too long

restrict the events to a 1-hour time range, does that help get the time fader to provide smoother interpolation?

legend would be nice

that's a popup you can click on at the right side of the page
then, reposition the animation so it is close to the legend before performing a screen capture

Good call on the legend, I just pushed up a new image with the legend and a decreased time range to try to get it to be smoother. You might have to wait for the image to be refreshed on GitHub's side (it's still showing the old image for me)


Mavericks in a library.

I'm leveraging using mavericks in a library with a strong UI component. There are a couple things to be considered, I was wondering if anyone has faced these in the past:

Mavericks recommends calling initialize on application creation. Although there are ways for libraries of accessing the application lifecycle (like via a ContentReceiver), let's assume the library does not want to run any code on the application.
The host app using the library might be already using Mavericks.

For 1, by checking the initialize implementation, doesn't look like delaying initialization to a later point in time would be an issue as long as a) it's done before any mavericks View / ViewModel is created and b) initialization gets triggered across process kills right?
However, for 2, the host app might have already initialized Mavericks. In the POC linked above, we're using a workaround to check if Mavericks has been already initialized to avoid overriding the host app's viewModelConfigFactory. But the host app can be customizing the factory configuration in different ways (i.e.: overriding the default coroutine contexts), making its usage within the library non-deterministic.
Thanks in advance!

I'm not aware of any libraries using Mavericks but that's certainly interesting 😄
WorkManager uses androidx.startup to do its initialization. You could follow a similar approach in which you initialize by default with that and allow it to be overridden in the consumers AndroidManifest.
https://developer.android.com/topic/libraries/architecture/workmanager/advanced/custom-configuration#remove-default

That's a great idea, should be actually addressing both concerns at once. Thanks Gabriel!


Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Core, Analytics, App Check, App Installations, Auth, Cloud Functions, Crashlytics, Database, In-App Messaging, Messaging, ML Custom, Performance, Remote Config, Storage, Other
Which platforms are affected?
Android
Description
its happening after removing imperative apply of Flutter's Gradle plugins which is deprecated. ie. after migrate to the new, declarative apply issue started. checked by creating new project also facing same issue .
Any project created on flutter 3.19 is facing this error.
Reproducing the issue
call init in project created with flutter 3.19 (projects have declarative apply of Flutter's Gradle plugins)
await Firebase.initializeApp();
Firebase Core version
2.27.0
Flutter Version
3.19.4
Relevant Log Output
E/flutter ( 6708): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(java.lang.Exception: Failed to load FirebaseOptions from resource. Check that you have defined values.xml correctly., Exception, Cause: null, Stacktrace: java.lang.Exception: Failed to load FirebaseOptions from resource. Check that you have defined values.xml correctly.
E/flutter ( 6708): 	at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin.lambda$optionsFromResource$4$io-flutter-plugins-firebase-core-FlutterFirebaseCorePlugin(FlutterFirebaseCorePlugin.java:207)
E/flutter ( 6708): 	at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin$$ExternalSyntheticLambda2.run(Unknown Source:4)
E/flutter ( 6708): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
E/flutter ( 6708): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
E/flutter ( 6708): 	at java.lang.Thread.run(Thread.java:1012)
E/flutter ( 6708): , null)
E/flutter ( 6708): #0      FirebaseCoreHostApi.optionsFromResource (package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart:242:7)
E/flutter ( 6708): <asynchronous suspension>
E/flutter ( 6708): #1      MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:89:25)
E/flutter ( 6708): <asynchronous suspension>
E/flutter ( 6708): #2      Firebase.initializeApp (package:firebase_core/src/firebase.dart:43:31)
E/flutter ( 6708): <asynchronous suspension>
E/flutter ( 6708): #3      main (package:myapp/flavours/main_dev.dart:22:3)
E/flutter ( 6708): <asynchronous suspension>
E/flutter ( 6708):
D/ProfileInstaller( 6708): Installing profile for in.roseapp.app.rose_app.dev
I/pp.rose_app.dev( 6708): Compiler allocated 4703KB to compile void android.view.ViewRootImpl.performTraversals()

Flutter dependencies

Expand Flutter dependencies snippet

- _flutterfire_internals 1.3.26 [collection firebase_core firebase_core_platform_interface flutter meta]
- animated_checkmark 1.0.1 [flutter]
- archive 3.4.10 [crypto path pointycastle]
- args 2.4.2
- async 2.11.0 [collection meta]
- audio_session 0.1.18 [flutter flutter_web_plugins rxdart meta]
- back_button_interceptor 6.0.2 [collection flutter]
- boolean_selector 2.1.1 [source_span string_scanner]
- cached_network_image_platform_interface 4.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.1.1 [cached_network_image_platform_interface flutter flutter_cache_manager]
- characters 1.3.0
- clock 1.1.1
- connectivity_plus_platform_interface 1.2.4 [flutter meta plugin_platform_interface]
- convert 3.1.1 [typed_data]
- cross_file 0.3.4+1 [meta web]
- crypto 3.0.3 [typed_data]
- csslib 1.0.0 [source_span]
- dbus 0.7.10 [args ffi meta xml]
- easy_logger 0.0.2 [flutter]
- equatable 2.0.5 [collection meta]
- eventify 1.0.1
- fake_async 1.3.1 [clock collection]
- ffi 2.1.0
- file 7.0.0 [meta path]
- file_selector_linux 0.9.2+1 [cross_file file_selector_platform_interface flutter]
- file_selector_macos 0.9.3+3 [cross_file file_selector_platform_interface flutter]
- file_selector_platform_interface 2.6.2 [cross_file flutter http plugin_platform_interface]
- file_selector_windows 0.9.3+1 [cross_file file_selector_platform_interface flutter]
- firebase_auth_platform_interface 7.1.9 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.10.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta web]
- firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.12.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta web]
- firebase_dynamic_links_platform_interface 0.2.6+25 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.5.28 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.7.0 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta web]
- fixnum 1.1.0
- flexi_chip 1.0.8 [flutter widget_event animated_checkmark]
- flutter_chat_types 3.6.2 [equatable json_annotation meta]
- flutter_local_notifications_linux 4.0.0+1 [dbus ffi flutter flutter_local_notifications_platform_interface path xdg_directories]
- flutter_local_notifications_platform_interface 7.0.0+1 [flutter plugin_platform_interface]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_plugin_android_lifecycle 2.0.17 [flutter]
- flutter_secure_storage_linux 1.2.0 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 3.0.1 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.0.2 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.1.2 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js]
- flutter_secure_storage_windows 3.0.0 [ffi flutter flutter_secure_storage_platform_interface path path_provider win32]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math]
- html 0.15.4 [csslib source_span]
- http 1.2.1 [async http_parser meta web]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- image_cropper_for_web 3.0.0 [flutter flutter_web_plugins image_cropper_platform_interface js]
- image_cropper_platform_interface 5.0.0 [flutter plugin_platform_interface http]
- image_picker_android 0.8.9+3 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.2.0 [flutter flutter_web_plugins image_picker_platform_interface mime]
- image_picker_ios 0.8.9+1 [flutter image_picker_platform_interface]
- image_picker_linux 0.2.1+1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_macos 0.2.1+1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_platform_interface 2.9.3 [cross_file flutter http plugin_platform_interface]
- image_picker_windows 0.2.1+1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface]
- iris_method_channel 2.0.1 [flutter flutter_web_plugins ffi async js]
- js 0.6.7 [meta]
- json_annotation 4.8.1 [meta]
- just_audio_platform_interface 4.2.2 [flutter plugin_platform_interface]
- just_audio_web 0.4.9 [just_audio_platform_interface flutter flutter_web_plugins]
- leak_tracker 10.0.0 [clock collection meta path vm_service]
- leak_tracker_flutter_testing 2.0.1 [flutter leak_tracker leak_tracker_testing matcher meta]
- leak_tracker_testing 2.0.1 [leak_tracker matcher meta]
- linkify 5.0.0
- lints 2.1.1
- logging 1.2.0
- matcher 0.12.16+1 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.8.0 [collection]
- meta 1.11.0
- mime 1.0.5
- nested 1.0.0 [flutter]
- nm 0.5.0 [dbus]
- octo_image 2.0.0 [flutter]
- package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- path 1.9.0
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.2.2 [flutter path_provider_platform_interface]
- path_provider_foundation 2.3.2 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.2 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32]
- permission_handler_android 12.0.5 [flutter permission_handler_platform_interface]
- permission_handler_apple 9.4.2 [flutter permission_handler_platform_interface]
- permission_handler_html 0.1.1 [flutter flutter_web_plugins permission_handler_platform_interface]
- permission_handler_platform_interface 4.2.0 [flutter meta plugin_platform_interface]
- permission_handler_windows 0.2.1 [flutter permission_handler_platform_interface]
- petitparser 6.0.2 [meta]
- platform 3.1.4
- plugin_platform_interface 2.1.8 [meta]
- pointycastle 3.7.4 [collection convert js]
- provider 6.1.2 [collection flutter nested]
- riverpod 2.5.1 [collection meta stack_trace state_notifier]
- rxdart 0.27.7
- sentry 7.18.0 [http meta stack_trace uuid]
- share_plus_platform_interface 3.4.0 [cross_file flutter meta mime plugin_platform_interface path_provider uuid]
- shared_preferences_android 2.2.1 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.3.5 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.3.2 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.3.2 [flutter plugin_platform_interface]
- shared_preferences_web 2.3.0 [flutter flutter_web_plugins shared_preferences_platform_interface web]
- shared_preferences_windows 2.3.2 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- smart_auth 1.1.1 [flutter flutter_web_plugins]
- source_span 1.10.0 [collection path term_glyph]
- sprintf 7.0.0
- sqflite 2.3.2 [flutter sqflite_common path]
- sqflite_common 2.5.3 [synchronized path meta]
- stack_trace 1.11.1 [path]
- state_notifier 1.0.0 [meta]
- stream_channel 2.1.2 [async]
- string_scanner 1.2.0 [source_span]
- synchronized 3.1.0+1
- term_glyph 1.2.1
- test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- timezone 0.9.2 [path]
- typed_data 1.3.2 [collection]
- universal_platform 1.0.0+1
- url_launcher_android 6.3.0 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.2.4 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.1.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.1.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.3.2 [flutter plugin_platform_interface]
- url_launcher_web 2.3.0 [flutter flutter_web_plugins url_launcher_platform_interface web]
- url_launcher_windows 3.1.1 [flutter url_launcher_platform_interface]
- uuid 4.3.3 [crypto sprintf meta fixnum]
- vector_graphics 1.1.10+1 [flutter vector_graphics_codec]
- vector_graphics_codec 1.1.10+1
- vector_graphics_compiler 1.1.10+1 [args meta path_parsing xml vector_graphics_codec path]
- vector_math 2.1.4
- video_player_android 2.4.12 [flutter video_player_platform_interface]
- video_player_avfoundation 2.5.6 [flutter video_player_platform_interface]
- video_player_platform_interface 6.2.2 [flutter plugin_platform_interface]
- video_player_web 2.1.3 [flutter flutter_web_plugins video_player_platform_interface]
- vm_service 13.0.0
- wakelock_plus_platform_interface 1.1.0 [flutter plugin_platform_interface meta]
- web 0.5.1
- widget_event 1.2.6 [flutter]
- win32 5.2.0 [ffi]
- xdg_directories 1.0.4 [meta path]
- xml 6.5.0 [collection meta petitparser]

Additional context and comments
integrated firebase through GUI mode , CLI not used.
developing for Android and Ios only ,no web

update : i tried with cli mode in new project  its working as expected . options  parameter seems required  which is passed when its configured through cli mode

You need to add google-services to you build.gradle setup. See this PR.
Specifically these two lines:
https://github.com/firebase/flutterfire/pull/12412/files#diff-310d3e41a24c38a733198c7003a94cdc9b28cbc98b79213cf012e2084faa7775R5
https://github.com/firebase/flutterfire/pull/12412/files#diff-87094a45314cb1d3edcb398c11246ddcbcdc2fd9568b580d8a911a412083b4d6R23
Google services plugin is what bundles the google-services.json file into your app.

@russellwheatley  it doesn't help thanks for the response,
But finally figured out .
https://stackoverflow.com/questions/78213917/how-to-fix-failed-to-load-firebaseoptions-from-resource-check-that-you-have-def/78215218#78215218

The suggested fix by @russellwheatley worked for me


all: use net/http instead of x/net/http2

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[x] ~This PR adds tests for the most critical parts of the new functionality or fixes.~
[x] ~I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.~

Release planning

[x] ~I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.~
[x] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

Summary
Use the default net/http transport which supports http2, instead of using x/net/http2.
Goal and scope
At some point early on we adopted using x/net/http2 as the http2 transport in our servers. It was probably necessary at the time, I'm not sure, but it's not necessary today unless we need full access to configure the transport. In our case we're initializing the http2 package with an empty config, so that alone suggests we are unnecessarily using that package. @bartekn noticed this while reviewing https://github.com/stellar/go/pull/1688#issuecomment-527519391 a dependency upgrade required for the shift from Dep to Modules.
The net/http package uses a vendored version of x/net/http2 for http2. We only need to use x/net/http2 directly if we want to customize it in ways that net/http doesn't expose, or if we want to use a later version of the http2 transport that has yet to be included in a release of Go. A huge downside of using the package directly though is that if critical fixes are made to it and included in a minor Go release we won't get them unless we manually update this package.
The godocs for the net/http package contain more details about the relationship between net/http and x/net/http2.
Close #1695
Summary of changes

Remove configuration of the http2 transport for Horizon.
Remove configuration of the http2 transport for code shared by Federation, Bifrost, and Bridge.

Testing
No tests that we have in the repository will identify any issues with this change, and any tests we could write would be complex and not helpful longterm, so I took a manual approach:

I ran Horizon with TLS enabled, with and without this change, and used curl to verify that the HTTP2 upgrade occurs successfully and results in a HTTP/2 200 response, using this curl command:
curl -vk --http2 https://localhost:8000

This test was successful.

I ran Horizon with TLS enabled, with and without this change, and used h2spec to verify that the server before and after the change has the same spec passes and failures, using this h2spec command:
h2spec http2 -t -k -h=localhost -p=8000

This test was successful on most runs. There were definitely spec failures, but they were consistent before and after the change. In one run I noticed spec 6.9.3 part 3 (window updates) failed on net/http, however on re-runs it didn't fail. Investigating, I found a report in golang/go#31170 that x/net/http2 may not be handling window updates correctly in some scenarios, and so it is likely that this issue is intermittent and present when using either and I just witnessed it only on one.

An identical change was also made to code shared by the federation, bifrost, and bridge servers. I ran the same tests above against the federation server with TLS enabled to verify that both code paths were unaffected.
Known limitations & issues
N/A
What shouldn't be reviewed
N/A

Codecov Report

Merging #1713 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1713      +/-   ##
==========================================
+ Coverage   45.14%   45.14%   +<.01%
==========================================
  Files         381      381
  Lines       25760    25758       -2
==========================================
  Hits        11629    11629
+ Misses      12955    12953       -2
  Partials     1176     1176

Impacted Files
Coverage Δ

support/http/main.go
37.5% <ø> (+1.13%)
:arrow_up:

services/horizon/internal/app.go
57.45% <ø> (+0.25%)
:arrow_up:

Continue to review full report at Codecov.

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


About data spec used for training Lumina-T2A

Hello, I found the text-to-audio example you shared very inspiring. Could you please provide the specifications of the data used for training lumina-t2a? Thank you.

Hi, we use Audioset to train lumina-t2a

Thank you


Something wrong with horizontal line

As you can see sometimes something went wrong, xD.
@philippkuehn

So, maybe we should set cursor position to line end after pushing br? Then issue can't be reproduced.

I think it work as expected, but, can we implement this?
https://github.com/scrumpy/tiptap/issues/403#issuecomment-514787467

This can be reproduced for example adding a horizontal line after a H1, H2, H3... element.


Style/custom dark theme

Preview
https://stvmachine.github.io/osv.dev/quickstart/
Description
Using a dark theme for the docs as a starting point. Just-the-docs come with a default dark theme.
The updates:

General styles have been updated. More information on the Figma updates: https://www.figma.com/design/Yi1nd5v6iR406zngmscSD3/Open-Source-Vulnerability-(OSV)-Scanner?node-id=0-1&t=ca4V36K9Cf8KrG4O-0

The logo has been updated

Figure 1: Updated logo.

Code snippet highlight has been updated: Using native due to the default dark theme having issues with comments on JSON due they are recognized and styled as errors. The code snippets can be changed to any other pygment theme as long we have the scss file.

Screenshots

The colours seem a bit off, specifically I think the background colour should match the background of OSV.dev / figma design.

The colours seem a bit off, specifically I think the background colour should match the background of OSV.dev / figma design.

Yeah, you are right. My mistake, I made some assumptions in terms of black/white. I double-checked some of the visible styles on Figma versus the updates and at least those should match now.
Styles for tables, search input & search results, code snippet styles are not covered by Figma and unfortunately, I just went with defaults plus this solarised dark theme for code highlight. Not sure, how to iterate over this work more than involve more @joshbuker and relay on his input 🙏🏼

I'm not a big fan of the solarized-dark code theme, on our blog pages we use the chroma 'native' theme: https://xyproto.github.io/splash/docs/native.html
It looks like there's a scss version of it here: https://github.com/dwayne/sass-pygments/blob/master/styles/scss/native.scss
Can you try using that instead?
As for the search input, using the same background colour as the main page (#2A2A2A) should be fine, as the entire background darkens anyway when the search is selected.

I'm not a big fan of the solarized-dark code theme, on our blog pages we use the chroma 'native' theme: https://xyproto.github.io/splash/docs/native.html
It looks like there's a scss version of it here: https://github.com/dwayne/sass-pygments/blob/master/styles/scss/native.scss
Can you try using that instead?
As for the search input, using the same background colour as the main page (#2A2A2A) should be fine, as the entire background darkens anyway when the search is selected.

Updates:

Search-input background-color changed to #2A2A2A
Updated table background-color. Preview. I came up with the lighter version after doing some math similar to the default gradient. Let me know if the darker version works for you.

✅  Lighter version (on use)

🔴  Dark version (not used)

Replaced code snippet with native. Updated screenshot at top but can share here as well

Did you mean to ping me?

Ah sorry, I don't think so, we have someone with the same name internally and @ is getting confused.

@stvmachine I just realised that the background color of OSV.dev is actually #292929, can you see if you can update the 2A2A2A to 292929? Thanks!

osv.dev also uses the Overpass font, can you also try switching from the current roboto font to overpass and see how that looks?

Thanks, just need to rebase/merge this from master and we should be good to merge.


Fix 1034, Atomic type for SystemState

Describe the contribution
Fix #1034

Use volatile sig_atomic_t for system state avoids race issue if uint32 isn't atomic on a system (microcontroller?)

Testing performed
Built and ran unit tests, passed.
Expected behavior changes
None
System(s) tested on

Hardware: cFS Dev Server
OS: Ubuntu 18.04
Versions: Bundle main + this commit

Additional context
None
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

CCB 2020-12-09 APPROVED

is sig_atomic a C99 type? Yes: https://www.gnu.org/software/libc/manual/html_node/Atomic-Types.html


Make collapsible content automatically scroll to its beginning when clicked

Hi everyone,
I need help on this one.
I've used the collapsible/accordion component. Everything is working fine until I realized that some of my content is long, thus resulting to very long scrolling especially on mobile devices.
So what happens on mobile screens is, when I click on a collapsible content, it opens in the middle or bottom part of the content. The user will have to scroll all the way up to start reading.
So my question is, how do I make a collapsible panel scroll to the beginning or title of its content upon click to open?
I appreciate any reply. Thank you.

no one can help us =(

Hey!
if it's still relevant to you I've found a little workaround. Replace "accordionOpen" function with this one in your materialize.css.
What you care about is .slideDown code, where you animate scrollTop after animation is finished. I've added padding 64px (nav) and 6px (just for fun). if(top > 100) checks whether animation should be bypassed if there is "active" class beside "collapsible".
I've touched JS for the first time in my life, so it's maybe a bit unprofessional. 😃 I hope somebody will improve my answer 😄
  function accordionOpen(object) {
    $panel_headers = $this.find('> li > .collapsible-header');
    if (object.hasClass('active')) {
      object.parent().addClass('active');
    }
    else {
      object.parent().removeClass('active');
    }
    if (object.parent().hasClass('active')){
      object.siblings('.collapsible-body').stop(true,false).slideDown({ duration: 350, easing: "easeOutQuart", queue: false, complete: function() {
        $(this).css('height', '');
        var doc = document.documentElement;
        var top = (window.pageYOffset || doc.scrollTop)  - (doc.clientTop || 0);
        if(top > 100){
          $('html, body').animate({
              scrollTop: object.offset().top-64-6
          }, 1000);
        }
      }});
    }
    else{
      object.siblings('.collapsible-body').stop(true,false).slideUp({ duration: 350, easing: "easeOutQuart", queue: false, complete: function() {$(this).css('height', '');}});
    }
    $panel_headers.not(object).removeClass('active').parent().removeClass('active');
    $panel_headers.not(object).parent().children('.collapsible-body').stop(true,false).each(function() {
      if ($(this).is(':visible')) {
        $(this).slideUp({
          duration: 350,
          easing: "easeOutQuart",
          queue: false,
          complete:
            function() {
              $(this).css('height', '');
              execCallbacks($(this).siblings('.collapsible-header'));
            }
        });
      }
    });
  }

Inspired by @diareuse answer, here's my simpler workaround:
$('.collapsible[data-collapsible="expandable"]').collapsible({
  onOpen: function(el) {
    var header = el.find('.collapsible-header');
    var doc = document.documentElement;
    var top = (window.pageYOffset || doc.scrollTop)  - (doc.clientTop || 0);
    var objectTop = header.offset().top;

    if(objectTop < top || objectTop > top + window.innerHeight - 100 ){
      $('html, body').animate({
        scrollTop: objectTop - 10
      }, 500);
    }
  }
});

Note: in my project I initialize expandables myself. In this case this code is for expandable. It won't work for accordion 100% correctly.

Duplicate of: https://github.com/Dogfalo/materialize/issues/3239


Feature request: Support for "artset"

Our latest draft includes the following snippet:
<t>
  <figure anchor="fig-endtoend" title="End to end STAR delegation flow">
    <artset>
      <artwork type="ascii-art" src="art/e2e-flow.ascii-art" />
      <artwork type="svg" src="art/e2e-flow.svg" />
    </artset>
  </figure>
</t>

Meaning two versions of the diagram, one for inclusion in the text version of the draft, and one for HTML. It would be nice if we had native support in Kramdown-RFC. Thanks!

This is working now, and documented in https://www.ietf.org/id/draft-fossati-svg-test-02.html
Thanks Carsten!

I’ve had this feature request for almost a year now…
Thanks for providing the example data to get this going!

1.3.3: kdrfc now has a -p/—-prep flag that generates prepped XML alongside the other outputs
So a typical thing you might do now is:
  kdrfc -ph3 foo.md
  open foo.html
  (Submit the foo.prepped.xml only.)


Add nginx api gateway template

NGINX was be used to build modern api gateway can we add nginx config template for api gateway?
the template may including:

[ ] HTTP Route - Host Based Route, URL Based Route, Canary Rule Based Route
[ ] Rate Limit - request limit
[ ] JWT authentication

I have hit the following error while build on my Mac, any one can give some advices?
It seems I don't have enough rights to access the do-vue, my npm version is 6.13.6.
$ npm ci
npm WARN prepare removing existing node_modules/ before installation
Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '<IP_ADDRESS>'rc/nginxconfig.io/node_modules/@jest/fake-timers (462ms)
Offending key for IP in /Users/ksong/.ssh/known_hosts:99
Matching host key in /Users/ksong/.ssh/known_hosts:227
Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '<IP_ADDRESS>'
Offending key for IP in /Users/ksong/.ssh/known_hosts:99
Matching host key in /Users/ksong/.ssh/known_hosts:227
Are you sure you want to continue connecting (yes/no)? ⸨░░░░░░░░░░░░░░░░░░⸩ ⠦ extractTree: sill extract<EMAIL_ADDRESS>extracted to /Users/ksong/src/nginxconfig.io/node_modules/minimat⸨               ░░░⸩ ⠧ extractTree: sill extract<EMAIL_ADDRESS>extracted to /Users/ksong/src/nginxconfig.io/node_modules/core-js (8566ms)
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t<EMAIL_ADDRESS>npm ERR!
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128

npm ERR!      /Users/ksong/.npm/_logs/2023-03-30T03_22_02_982Z-debug.log

@kylinsoong I'm not familiar with that error -- do-vue is hosted in a public GitHub repository. Perhaps you're seeing that error due to GitHub's RSA SSH key change: https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/


[BUG] Issue with Linear Scale Graph

When using Linear scales, the graph lines of some countries do not appear on the plotted graph
Expected Behavior
Graph lines of all countries should appear on the graph
Current Behavior
Graph lines for some countries do not appear on the graph
Possible Solution
Check linear scale code for possible errors
Steps to Reproduce

Run console-application.py, World tally plot mode
Countries inputted (Singapore, Malaysia, Qatar, China, US) in order
Date inputted (04-05-2020)
Timespan (40 Days)
Plot scale (linear)
Plot type (cdra)

Context (Environment)
The issue caused some of the graph lines of some countries to not appear, which affects the overall world tally graph.
Detailed Description
Trying to plot graphs between countries that have a large number of COVID-19 cases and a low number of COVID-19 cases would cause some graph lines to not display correctly.
Possible Implementation
N/A

[Image: Singapore graph line not showing]

[Image: Singapore and Malaysia graph line not showing]

[Image: Singapore graph line not showing]

[Image: Singapore and Malaysia graph line not showing]

Noted and will work on it.

Just a gentle reminder, please also report your branch and HEAD refs.

Errors reproduced successfully, attaching debugger...

Errors persist when calling function plot_tally directly.

Tested with different countries, the error seems to be due to the render of the plot itself. When trying to use country = [“Singapore”, “Malaysia”, “China”, “US”], Singapore is still visible although the scale is very big. However, when plotted together with Qatar on that scale, Qatar is just a bit higher than Singapore, and as it is plotted after Singapore (as in the order), the plot will be placed in front.

So this is an external render error with matplotlib. No further action is taken. Case closed!


Avatar aspect ratio

Avatar in organisation's profile does not keep original aspect ratio if original image is not square.
It looks OK in the "All organisations" listing.
Could be helpful to indicate min and max dimensions and/or aspect ratio on the "Change avatar" action.

Hello Rui, thank you for letting us know. We will have a look at it

Fixed issue


This works on the Keychron C1 as well

Just confirming that it also works on the Keychron C1 keyboard. Thank you for sharing this script!

Thanks for letting me know! Added to the list!


[BUG]: Test Issue 13

Bug Description
N/A
Logs
N/A
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
N/A
Expected Behavior
N/A
CSM Driver(s)
N/A
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
N/A
Operating System
N/A

/sync


Copy generator.yaml to apis/version directory

Part of aws-controllers-k8s/community#835
Adding some logic to create copies of the generator.yaml within the
apis versions directories. These generator.yaml files we be reused by
the conversion webhook generator to understand the difference between
each two different API versions.
This patch Also adds a new utility function to copy files from a
source to a destination path.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/approve
/lgtm


fix(protocol): tidyup DescribeGroupsResponse

As we currently expose this directly in the response from admin.go it
makes sense to document the struct fields using the text included in the
kafka json protocol description. Whilst checking the protocol
implementation against the specs, I worked these in.

@dnwe yes, that's much better. thanks :-)


chore: bump version to v1.9.0-rc1

关联的Issues (Related Issues)

close
改动 (Proposed Changes)

附注 (Additional Info)

自查清单 (Checklist)
在你认为本 PR 满足被审阅的标准之前，需要确保 / Before you mark the PR ready for review, please make sure that:

[ ] 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
[ ] 具有清晰明确的commit message / All commits have a clear commit message.
[ ] 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
[ ] 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
[ ] 通过必要的检查项 / All checks are green

Codecov Report

Merging #121 (d3b6b60) into release/v1.9.0-pre-rc (a2f2129) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@                  Coverage Diff                   @@
##           release/v1.9.0-pre-rc     #121   +/-   ##
======================================================
  Coverage                  45.42%   45.42%
======================================================
  Files                         35       35
  Lines                       3813     3813
======================================================
  Hits                        1732     1732
  Misses                      1868     1868
  Partials                     213      213

Flag
Coverage Δ

unittests
45.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

core/const.go
48.64% <ø> (ø)


Most datasource properties cannot be set for MariaDbDataSource

It seems that the assumption, that DataSource-Implementations expose their Properties as Beans does not hold in the case of the MariaDB DataSource.
The MariaDB-Driver has beans for the most generic properties (user, password,...), but other properties are only picked up if part of the JDBC-URL or set via setProperties(String) (deprecated).
I am not sure if this is a Hikari issue or if the MariaDB DataSource is "supposed to" expose the properties as beans.
If so, I will move the issue to their bug tracker.
Versions used:

Java 11
mariadb-java-client-2.7.1.jar
HikariCP-4.0.1.jar

Documentation for serverTimezone.
final HikariConfig config = new HikariConfig();
config.setDataSourceClassName( "org.mariadb.jdbc.MariaDbDataSource" );
config.setUsername( "xxx" );
config.setPassword( "***" );
config.addDataSourceProperty( "serverTimezone", "UTC" );
new HikariDataSource( config );
...

java.lang.RuntimeException: Property serverTimezone does not exist on target class org.mariadb.jdbc.MariaDbDataSource
	at com.zaxxer.hikari.util.PropertyElf.setProperty(PropertyElf.java:135)
	at com.zaxxer.hikari.util.PropertyElf.lambda$setTargetFromProperties$0(PropertyElf.java:59)
	at java.base/java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1603)
	at java.base/java.util.Properties.forEach(Properties.java:1446)
	at com.zaxxer.hikari.util.PropertyElf.setTargetFromProperties(PropertyElf.java:54)
	at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:328)
	at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:114)
	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:108)
	at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
...

I do suggest opening an issue against them if they do not expose standard getters/setters.
However, an alternative is to not setup the DataSource in this way, via reflection, and instead do it directly (programatically).  The HikariConfig object also exposes a setDataSource(DataSource dataSource) method, so the MariaDB DataSource could be constructed via whatever mechanism, and then set into the HikariConfig instance.


MacOS and .app folders

Is your feature request related to a problem? Please describe.
MacOS has .app folders that are directories and executables at the same time (same for .workflow). With organize-tool I did not find a way to target these. Filter extension does only work for single files not dirs. endswith not work also.
Describe the solution you'd like
Maybe add support for filtering directories with extension e.g. .app

I can successfully match .app with the following config:
rules:
  - targets: dirs
    locations: "/test"
    subfolders: true
    filters:
    - name:
        endswith: .app
    actions:
      - echo: "{path.name}"