Mrc 5299- User Update

This PR contains 2 endpoints that combine to for an update. addRoleToUser and removeRoleToUser , they allow for adding and remove roles from users

As well as the username roles. I wonder if we should also be a bit protective about the ADMIN role, and not allow that to be edited or deleted. Do we still have a USER role? That too, if so!

I will do this as part of the delete endpoint... as here it just protecting that you cant manually add/remove the username role from the user.... in admin case its totally fine to add/remove this from users

As well as the username roles. I wonder if we should also be a bit protective about the ADMIN role, and not allow that to be edited or deleted. Do we still have a USER role? That too, if so!

I will do this as part of the delete endpoint... as here it just protecting that you cant manually add/remove the username role from the user.... in admin case its totally fine to add/remove this from users

i really just meant to protect those roles from being deleted, and from having permissions removed (definitely don't want to accidentally remove permissions from ADMIN role) - one for another branch for sure,


Yt-dlp from pip3 fails to start: "Illegal instruction" on Raspbian 10 (Raspberry Pi Zero, Arm v 6)

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
I'm trying to install yt-dlp via pip3 on Raspbian 10 (buster).
My device is Raspberry Pi Zero Rev 1.3. Processor: Arm v 6.
After installation an attempt to launch the software always gives me this error: Illegal instruction
It seems that some binaries in dependent packages are not compiled to work properly with my system or hardware. Please help.
Verbose log
pi@raspberrypi:~ $ cat /etc/os-release | grep VERSION=
VERSION="10 (buster)"

pi@raspberrypi:~ $ cat /proc/device-tree/model
Raspberry Pi Zero Rev 1.3

pi@raspberrypi:~ $ python3 -V
Python 3.7.3

pi@raspberrypi:~ $ python3 -m pip install yt-dlp
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting yt-dlp
  Downloading https://files.pythonhosted.org/packages/27/7e/5bf52a334a0638639b57b7699e6a3adaaaa8e7bd6f7ad33e62a9e2be7bb7/yt_dlp-2021.12.27-py2.py3-none-any.whl (2.4MB)
    100% |████████████████████████████████| 2.4MB 22kB/s
Collecting mutagen (from yt-dlp)
  Downloading https://files.pythonhosted.org/packages/16/b3/f7aa8edf2ff4495116f95fd442b2a346aa55d1d46313143c8814886dbcdb/mutagen-1.45.1-py3-none-any.whl (218kB)
    100% |████████████████████████████████| 225kB 190kB/s
Collecting pycryptodomex (from yt-dlp)
  Downloading https://www.piwheels.org/simple/pycryptodomex/pycryptodomex-3.12.0-cp35-abi3-linux_armv6l.whl (1.8MB)
    100% |████████████████████████████████| 1.8MB 29kB/s
Collecting websockets (from yt-dlp)
  Downloading https://www.piwheels.org/simple/websockets/websockets-10.1-cp37-cp37m-linux_armv6l.whl (109kB)
    100% |████████████████████████████████| 112kB 288kB/s
Installing collected packages: mutagen, pycryptodomex, websockets, yt-dlp
  The scripts mid3cp, mid3iconv, mid3v2, moggsplit, mutagen-inspect and mutagen-pony are installed in '/home/pi/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  The script yt-dlp is installed in '/home/pi/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed mutagen-1.45.1 pycryptodomex-3.12.0 websockets-10.1 yt-dlp-2021.12.27

pi@raspberrypi:~ $ yt-dlp -Uv
Illegal instruction

pi@raspberrypi:~ $ python3
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import yt_dlp
Illegal instruction

yt-dlp itself is pure python and so shouldn't have any issues. Try uninstalling the dependencies one by one to see which one is causing this.

Installing collected packages: mutagen, pycryptodomex, websockets, yt-dlp

My suspicion is that it is pycryptodomex which has compiled C code

You could try installing the deps from the package repository, e.g.
apt-get install python3-pycryptodome python3-mutagen python3-websocket

and see if that works. You would obviously need to uninstall the ones you have installed via pip.

This seems to be the issue. https://github.com/Legrandin/pycryptodome/issues/585
Try uninstalling pycryptodomex
pip3 uninstall pycryptodomex

Closed due to inactivity


Add date ranges to Historical Cost Explorer

This adds a pre-canned date ranges to the Historical Cost Explorer.
Note that the "Last 60 days" option generates an error, since we currently do not support more than 2 months of data -- Doug suggested 3 months will be available shortly.
https://issues.redhat.com/browse/COST-1062

Codecov Report

Merging #1866 (6bc3c88) into master (36995db) will increase coverage by 0.45%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1866      +/-   ##
==========================================
+ Coverage   70.36%   70.82%   +0.45%
==========================================
  Files         348      348
  Lines        6050     6625     +575
  Branches     1090     1418     +328
==========================================
+ Hits         4257     4692     +435
- Misses       1684     1909     +225
+ Partials      109       24      -85

Impacted Files
Coverage Δ

src/api/queries/query.ts
46.77% <ø> (+2.51%)
:arrow_up:

src/components/charts/common/chartDatumUtils.ts
57.08% <ø> (+2.42%)
:arrow_up:

...c/pages/costModels/createCostModelWizard/table.tsx
34.28% <0.00%> (-10.16%)
:arrow_down:

src/components/i18n/i18nProvider.tsx
57.14% <0.00%> (-9.53%)
:arrow_down:

src/pages/state/maintenance/maintenanceState.tsx
66.66% <0.00%> (-8.34%)
:arrow_down:

.../pages/costModels/createCostModelWizard/markup.tsx
27.27% <0.00%> (-8.03%)
:arrow_down:

...ges/costModels/costModelsDetails/utils/toolbar.tsx
77.50% <0.00%> (-7.80%)
:arrow_down:

...ostModels/createCostModelWizard/priceListTable.tsx
32.07% <0.00%> (-7.46%)
:arrow_down:

.../costModels/costModelsDetails/bottomPagination.tsx
82.60% <0.00%> (-7.40%)
:arrow_down:

src/store/common.ts
81.81% <0.00%> (-7.08%)
:arrow_down:

... and 121 more

Continue to review full report at Codecov.

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


Regex for value replacement is not parsed correctly by YAML reader

I'm trying to extract values from JSON content (coming from a Shelly HT sensor) via value regex with the following config:
- name: "shelly_battery_voltage"
    help: "Shelly Battery Voltage"
    type: "gauge"
    topic: "shellies/+/info"
    label_configs:
      - source_labels: ["__value__"]
        regex: ".*voltage.:([0-9.]*)"
        target_label: "__value__"
        replacement: '\1'
        action: 'replace'

The JSON content looks like this:
{"tmp":{"value":24.00,"units":"C","tC":24.00,"tF":75.20,"is_valid":true},"hum":{"value":70.0,"is_valid":true},"bat":{"value":94,"voltage":2.93},"act_reasons":["sensor"],"connect_retries":0}
When I try this with a Python RegEx tester it works fine. However, the MQTT_Exporter gives the following error in the log (line 55 is the "regex" line):
yamlreader.yamlreader.YamlReaderError: YAML Error: while scanning a double-quoted scalar
in "conf/mqtt_exporter.yaml", line 55, column 16
found unknown escape character '.'
in "conf/mqtt_exporter.yaml", line 55, column 34
How can I specify this regex correctly? I tried any type of quotes or escaping, none works. Or is there another regex variant to avoid this error?

Hmm, this is odd. YAML linter doesn't complain about escaping, regex101.com's Python implementation works as well.
Does the same problem occur without the quotes?
- name: shelly_battery_voltage
  help: Shelly Battery Voltage
  type: gauge
  topic: shellies/+/info
  label_configs:
    - source_labels: ["__value__"]
      regex: .*voltage.:([0-9.]*)
      target_label: __value__
      replacement: \1
      action: replace

Hmm, this is odd. YAML linter doesn't complain about escaping, regex101.com's Python implementation works as well.

Exactly, I tested the regex as well with such services and it worked fine.

Does the same problem occur without the quotes?

Without the quotes, there is no error when parsing the regex by the YAML interpreter, but it's also not really recognized and so the extraction of the desired value fails.
Is there another recommended way to extract values from JSON? Another kind of regex maybe?

@jce-zz I updated the PyYAML dependency in the latest v.2.0.0 release. Please take a look if this changed something for you.


Is there currently an elegant way of adding an RNN or LSTM to an agent?

Looking at custom networks and LSTMs and RNNs in particulat. It isn't very clear how these might be added to an agent.
It may just be a case of additions being made to the docs.

Actually we were contemplating about an extension to EasyAgents where you could easily provide an "arbitrary" nn, eg defined in keras or so. However it wasn't obvious to us how this might be done in an elegant fashion while still supporting all the rl libraries EasyAgents sits on top of. That's why we

Thanks for the reply. For a real life use case I was thinking about about some language/text and time series problems (where there are a few LSTM papers claiming performance). Haven't tried to integrate any with easyagents so far but very impressed with all the work on it so far, prob the easiest library out there for this.

:-)


discord link expired

title and my gui is ready me and uckermark did it
https://github.com/Aditya20110/downr1n-gui the link please check once

Discord expired!

ty

You are banned.


🐛 GraphQL byte index out of bounds

Environment information
CLI:
  Version:                      1.9.2
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.17.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.8.2"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 false

Workspace:
  Open Documents:               0

What happened?
With this config:
{
  "$schema"<EMAIL_ADDRESS>  "files": {
    "ignoreUnknown": true
  },
  "formatter": {
    "enabled": true,
    "formatWithErrors": false,
    "indentStyle": "space",
    "indentWidth": 2,
    "lineEnding": "lf",
    "lineWidth": 100,
    "bracketSpacing": true
  },
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true
    }
  },
  "vcs": {
    "enabled": true,
    "clientKind": "git",
    "useIgnoreFile": true,
    "defaultBranch": "main"
  }
}

And this GraphQL file
type Biome {
    """
    Some text with `backticks` on it

    @someJsDocFlag
    """
    field: Boolean!
}

Running this command
biome check biome.graphql

Reports issue
Biome encountered an unexpected error

This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:

Source Location: crates/biome_graphql_formatter/src/graphql/value/string_value.rs:45:51
Thread Name: biome::worker_1
Message: byte index 4 is out of bounds of ``

biome.graphql internalError/panic  INTERNAL  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ processing panicked: byte index 4 is out of bounds of ``

  ⚠ This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.

Checked 0 files in 6ms. No fixes applied.
internalError/io ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ No files were processed in the specified paths.

Expected result
It should support the format correctly
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

cc @vohoanglong0107

This issue was fixed in the nightly build. Could you please try and check if that's the case?

Duplicate of https://github.com/biomejs/biome/issues/3924

Just checked with @biomejs/biome": "1.9.3
CLI:
  Version:                      1.9.3
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.17.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.8.2"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 false

Workspace:
  Open Documents:               0

And using same setup, the command biome check biome.graphql returns
biome.graphql format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ Formatter would have printed the following content:

    1 1 │   type Biome {
    2   │ - ····"""
    3   │ - ····Some·text·with·`backticks`·on·it
      2 │ + ··"""
      3 │ + ··Some·text·with·`backticks`·on·it
    4 4 │
    5   │ - ····@someJsDocFlag
    6   │ - ····"""
    7   │ - ····field:·Boolean!
    8   │ - }
      5 │ + ··@someJsDocFlag
      6 │ + ··"""
      7 │ + ··field:·Boolean!
      8 │ + }
      9 │ +

Checked 1 file in 559µs. No fixes applied.
Found 1 error.
check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ Some errors were emitted while running checks.

So I think it is working as expected
Thank you for your great effort


Add web interface

This project will add a simple web interface built with Plotly Dash, which is built on React and Flask. To help facilitate this, I am refactoring some of the cli component to be more modular and try to have all code which reads from/writes to a data stream be extensible, so we can write to stdout/read from stdin or some other stream.

Done implementing the web interface. Now need to edit readme file with directions.


multiline issues if input spans terminal height

I'm working on porting rustyline to typescript+xtermjs and I noticed in testing multiline handlnig that rustyline exhibits a lot of issues if the input happens to cause the terminal to scroll the top of the prompt away (i.e. the input ends up being > row height of the terminal).
There's a few ways to see symptoms of this:

Start a multiline prompt and add enough lines so that the prompt scrolls above the terminal window. Scroll up with the terminal and you will see that multiple prompts have been rendered, likely as an effect of how the refresh() code deals with refreshing a terminal.
Input enough lines so that the terminal prompt scrolls above the terminal window, and then arrow up. It is not possible to arrow up to the text that scrolled away.

Is this a limitation of how the virtual terminal handles cursor movement? i.e. not allowing the cursor to manipulate text that has scrolled? If so, I imagine this is not easy to fix without implementing state that understands what text should be displayed on the active terminal window and refreshing as the cursor scrolls the terminal.

This is a limitation of rustyline (last time I checked, only python prompt toolkit handles scrolling).
See https://github.com/kkawakam/rustyline/pull/378


remove all temp files

workingPath is equal to localPath which is the existing file we were asked to import. So it is very much not the job of uploadfs to remove that file. It might be the job of apostrophe.
Exactly what files are not getting cleaned up?

Closing the PR because uploadfs shouldn't remove this file, but let's continue the discussion here re: what should be removed and figure out what module should do it.

Hi @boutell ,
The variable localPath is the temp machine folder(in my case C:\Users\Giuseppe\AppData\Local\Temp\2\E-3ncT0RB1lclYFu-ICHL9je.jpg), uploadfs remove only the image in tempFolder (/data/temp/uploadfs/idimage).
Why shouldn't this not remove both copies that it creates but only one?
Where I insert the function rmRf for workingPath is the latest function and this file has already been worked out.

Not everyone who calls uploadfs to upload an image wants the original image deleted 😄
I think this file is sticking around because apostrophe doesn't clean up files uploaded by the multipart middleware in general.
A good solution might involve a new hook to delete these when the end event fires on the request. Or, even safer, an interval that cleans up files older than an hour in the folder in which the multipart upload middleware puts them. I can't think of any situation where that would cause distress.

Looks like we'd need to make a subdir of os.tmpdir for this purpose so we can clean up periodically without disturbing unrelated temporary files.

The connect-multiparty middleware (see the apostrophe-express module) would need to be passed a custom uploadDir and an interval based cleanup routine would need to be written for that dir.
This is safer than removing things when requests end because (1) they may be left behind by crashes, and (2) someone could be doing long-term processing of a file in background after responding to the request.

We can put it in Apostrophe's temp dir, while were at it, rather than the
system one.
I think on a lot of our servers we have periodic cleanup of /tmp happening,
which isn't uncommon on Linux, but could be uncommon on Windows.
On Wed, Dec 4, 2019 at 8:28 AM GiuseppeCM<EMAIL_ADDRESS>wrote:

Hi @boutell https://github.com/boutell ,
The variable localPath is the temp machine folder(in my case
C:\Users\Giuseppe\AppData\Local\Temp\2\E-3ncT0RB1lclYFu-ICHL9je.jpg),
uploadfs remove only the image in tempFolder (/data/temp/uploadfs/idimage).
Why shouldn't this not remove both copies that it creates but only one?
Where I insert the function rmRf for workingPath is the latest function
and this file has already been worked out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apostrophecms/uploadfs/pull/54?email_source=notifications&email_token=AAAH27KGBOOJ2H2NKHVYW7TQW6V7PA5CNFSM4JUWHZP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5ARJQ#issuecomment-561645734,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAH27OWUBD6BJSXOSCAMZLQW6V7PANCNFSM4JUWHZPQ
.

--
THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER
APOSTROPHECMS | apostrophecms.com | he/him/his

Not everyone who calls uploadfs to upload an image wants the original image deleted 😄
I think this file is sticking around because apostrophe doesn't clean up files uploaded by the multipart middleware in general.
A good solution might involve a new hook to delete these when the end event fires on the request. Or, even safer, an interval that cleans up files older than an hour in the folder in which the multipart upload middleware puts them. I can't think of any situation where that would cause distress.

Right, I was seeing the form only from the point of view of apostrophe

So the solution now could be add in self.apos.middleware the argument uploadDir, but when is loaded this module, the apostrophe-attachments is not loaded .So could be right to set a variable in apostrophe-express and call it in apostrophe-attachments to form the tempPath option?
@boutell

Or in apostrophe-attachments override the self.apos.middleware.files if is present a special option?


Unexpected Message

Yesterday and Today i'll get this Message from my iPhone. I didn't change/leave my preferred Region, so it must be a bug.

Duplicate of #645
This issue is related to the framework behind the application, so it's not fixable by the dev team. Already reported to Apple.


PstgreSQL storage engine for cache data

Leaving this comment after initial trial of trying to implement Postgress over the Sqlite API.
It turns out diesel is not designed for flexible switching between database backends. Though the PglConnection and SqlConnection uses almost the same API, there's no straight forward way of holding them in a generic structure.
Upon further research, I found this closed issue https://github.com/diesel-rs/diesel/issues/882, which describes the same problem. Which ultimately concludes that it's not possible. And diesel recommends using separate function calls for each back end.
The initial motivation for using diesel was for this compatibility. But seeing it out of option I think we need to go for explicite calling in our cache. The naive way to do it would be to create another pgl module replicating everything in sql module but with PglConnection in places of SqlConnection. This also requires duplicating functions in cache/model.rs and data/assets.rs. Which clearly looks very dirty to me.
Putting up this comment for community members to opine on whats would a more intelligent way to integrate Postgress.
The Sqlite implementation can be found here https://github.com/LNP-BP/rgb-node/blob/master/src/contracts/fungible/cache/sql.rs for reference.


[Pagination] IE11 Layout Issue

As a consumer, I expect Pagination to conform to expected layout styles in IE11

Left and right margin 'auto' do no apply when justify-content is applied;

Closed by<PHONE_NUMBER>477c2944831faf149b40b801eefd76


hyperparameter configuration bug - TypeError

processing dataset for hduva
processing dataset for hduva
processing dataset for hduva
processing dataset for hduva
processing dataset for hduva
processing dataset for hduva

using device: cuda:0

/dss/dsshome1/lxc0A/ru48zab2/miniconda3/envs/domainlab/lib/python3.9/site-packages/torch/nn/_reduction.py:42: UserWarning: size_average and reduce args will be deprecated, please use reduction='sum' instead.
  warnings.warn(warning.format(ret))
/dss/dsshome1/lxc0A/ru48zab2/miniconda3/envs/domainlab/lib/python3.9/site-packages/torch/nn/init.py:412: UserWarning: Initializing zero-element tensors is a no-op
  warnings.warn("Initializing zero-element tensors is a no-op")
/dss/dsshome1/lxc0A/ru48zab2/miniconda3/envs/domainlab/lib/python3.9/site-packages/torchmetrics/utilities/prints.py:36: UserWarning: Metric `AUROC` will save all targets and predictions in buffer. For large datasets this may lead to large
  warnings.warn(*args, **kwargs)

!!!: not committed yet
/dss/dssmcmlfs01/pr74ze/pr74ze-dss-0001/ru48zab2/projects/domainlab2/DomainLab/domainlab/utils/get_git_tag.py:17: UserWarning: !!!: not committed yet
  warnings.warn("!!!: not committed yet")

b'593c344'
model name: pathlist_te_sketch_hduva_b593c344_not_commited_2023md_09md_22_20_11_54_seed_0_221275

 Experiment start at: 2023-09-22 20:11:54.940669
before training, model accuracy: 0.04937643185257912
[Fri Sep 22 20:12:08 2023]
Error in rule run_experiment:
    jobid: 0
    input: zoutput/benchmarks/benchmark_fbopt_pacs_full/hyperparameters.csv
    output: zoutput/benchmarks/benchmark_fbopt_pacs_full/rule_results/422.csv

RuleException:
TypeError in file /dss/dssmcmlfs01/pr74ze/pr74ze-dss-0001/ru48zab2/projects/domainlab2/DomainLab/domainlab/exp_protocol/benchmark.smk, line 151:
unsupported operand type(s) for *: 'NoneType' and 'Tensor'
  File "/dss/dssmcmlfs01/pr74ze/pr74ze-dss-0001/ru48zab2/projects/domainlab2/DomainLab/domainlab/exp_protocol/benchmark.smk", line 151, in __rule_run_experiment
  File "/dss/dssmcmlfs01/pr74ze/pr74ze-dss-0001/ru48zab2/projects/domainlab2/DomainLab/domainlab/exp_protocol/run_experiment.py", line 131, in run_experiment
  File "/dss/dssmcmlfs01/pr74ze/pr74ze-dss-0001/ru48zab2/projects/domainlab2/DomainLab/domainlab/compos/exp/exp_main.py", line 62, in execute
  File "/dss/dssmcmlfs01/pr74ze/pr74ze-dss-0001/ru48zab2/projects/domainlab2/DomainLab/domainlab/algos/trainers/train_fbopt.py", line 59, in before_tr
  File "/dss/dssmcmlfs01/pr74ze/pr74ze-dss-0001/ru48zab2/projects/domainlab2/DomainLab/domainlab/algos/trainers/train_fbopt.py", line 123, in eval_r_loss
  File "/dss/dssmcmlfs01/pr74ze/pr74ze-dss-0001/ru48zab2/projects/domainlab2/DomainLab/domainlab/models/model_vae_xyd_classif.py", line 34, in cal_task_loss
  File "/dss/dsshome1/lxc0A/ru48zab2/miniconda3/envs/domainlab/lib/python3.9/concurrent/futures/thread.py", line 58, in run
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message

parameters
422,hduva_fbopt,hduva,"{'ini_setpoint_ratio': 0.7500000000000002, 'k_i_gain': 0.08330000000000001, 'msel': 'val', 'msel_tr_loss': 'task', 'es': 1}"

see #444

@e-dorigatti i think this issue can be fixed by adding gammy to Hyper parameters sampling
gamma_y:
min: 1e4
max: 1e6
step: 100
distribution: loguniform


[BUG] Compilation error when using lombok.var or lombok.val with JDK 8

I have this simple code:
val statut = registration.getStatut();

But during compilation I have this error :
Error:(134,48) java: incompatible types: com.company.status.RegistrationStatus cannot be converted to lombok.val

I use IntelliJ so I thought that le problem could come from the Lombok plugin but I opened a terminal and tried a mvn compile and still get the issue.
Version info (please complete the following information):

Lombok version : 1.18.12
javac version : javac 1.8.0_252

Additional context
I have only the lombok jar in my project, I don't know if I have to add something else.

For maven there are instructions here: https://projectlombok.org/setup/maven
On Fri, Jul 3, 2020, 11:41 Attoumane<EMAIL_ADDRESS>wrote:

Describe the bug
I have this simple code:
val statut = registration.getStatut();
But during compilation I have this error :
Error:(134,48) java: incompatible types: com.company.status.RegistrationStatus cannot be converted to lombok.val
I use IntelliJ so I thought that le problem could come from the Lombok
plugin but I opened a terminal and tried a mvn compile and still get the
issue.
Expected behavior
A clear and concise description of what you expected to happen.
Version info (please complete the following information):

Lombok version : 1.18.12
javac version : javac 1.8.0_252

Additional context
I have only the lombok jar in my project, I don't know if I have to add
something else.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/2507, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIERNCUNYGR45DK4AIMODRZWRWJANCNFSM4OPU4M4A
.

For maven there are instructions here: https://projectlombok.org/setup/maven
That's exactly what I have in my pom :

                      <dependency>
				<groupId>org.projectlombok</groupId>
				<artifactId>lombok</artifactId>
				<version>1.18.12</version>
				<scope>provided</scope>
			</dependency>

Well, val should just work.
But it's possible this is a false positive, and the error occurs because
some earlier error is causing problems resolving the types.
You can try temporarily removing or commenting that line away. Or just
referring to the actual return type of that getter instead, and trying to
compile again.
If that line works without val then things get interesting ;-)
On Fri, Jul 3, 2020 at 12:04 PM Attoumane<EMAIL_ADDRESS>wrote:

For maven there are instructions here:
https://projectlombok.org/setup/maven
That's exactly what I have in my pom :
                  <dependency>
  		<groupId>org.projectlombok</groupId>
  		<artifactId>lombok</artifactId>
  		<version>1.18.12</version>
  		<scope>provided</scope>
  	</dependency>

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/2507#issuecomment-653464826,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIERMAPC3SV7JVYM3SVFTRZWUJ3ANCNFSM4OPU4M4A
.

--
"Don't only practice your art, but force your way into it's secrets, for it
and knowledge can raise men to the divine."
-- Ludwig von Beethoven

[...] Or just referring to the actual return type of that getter instead, and trying to compile again. If that line works without val then things get interesting ;-)

That's what I finally did (replacing val by the actual type) and everything works well.

Well, there must be something about that project that triggers this then.
I've got a project right here that works fine with java 8.

Have you tried adding the annotation processor configuration that's
listed on the maven setup instructions?
Do you have other places in that project using val? Do they work? If not,
can you try it elsewhere?
Where in the class hierarchy do you get this problem? I've seen some
issues before that were related to someone using val in inner classes. Or
in lambda's.
Is that getter you are calling a lombok generated one or handcrafted?
Does it matter what method you call?
What source is your JDK coming from? Oracle java, OpenJDK, eclipse .. ?
On what platform? Windows, mac, ...

On Fri, Jul 3, 2020 at 3:41 PM Attoumane<EMAIL_ADDRESS>wrote:

[...] Or just referring to the actual return type of that getter instead,
and trying to compile again. If that line works without val then things get
interesting ;-)
That's what I finally did (replacing val by the actual type) and
everything works well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/2507#issuecomment-653554372,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIEROGYV7MXM7SEV2PMJ3RZXNYBANCNFSM4OPU4M4A
.

--
"Don't only practice your art, but force your way into it's secrets, for it
and knowledge can raise men to the divine."
-- Ludwig von Beethoven

Adding that configuration below helped. I didn't know that we also had to add that configuration.
<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <annotationProcessorPaths>
                    <path>
                        <groupId>org.projectlombok</groupId>
                        <artifactId>lombok</artifactId>
                        <version>1.18.12</version>
                    </path>
                </annotationProcessorPaths>
            </configuration>
        </plugin>
    </plugins>
</build>

Where in the class hierarchy do you get this problem? I've seen some
issues before that were related to someone using val in inner classes. Or
in lambda's.

Is there an issue about iusing var or val in lambda?
Thanks for your help. I close the issue

It should only be necessary for JDK 9 or later and for people that are
using module.info.
Apparently that is no longer the case, so we should update the
documentation or fix it ;-)
So no, it's too soon to close this. Just not the problem you thought it was.
On Mon, Jul 6, 2020 at 2:40 PM Attoumane<EMAIL_ADDRESS>wrote:

Closed #2507 https://github.com/rzwitserloot/lombok/issues/2507.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/2507#event-3515724606, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIERL7D2AD3QZRUN5UXJTR2HA2LANCNFSM4OPU4M4A
.

--
"Don't only practice your art, but force your way into it's secrets, for it
and knowledge can raise men to the divine."
-- Ludwig von Beethoven

As for val in lambda's .. that's an old bug, should be resolved so not
really relevant.
On Mon, Jul 6, 2020 at 5:40 PM Floris Kraak<EMAIL_ADDRESS>wrote:

It should only be necessary for JDK 9 or later and for people that are
using module.info.
Apparently that is no longer the case, so we should update the
documentation or fix it ;-)
So no, it's too soon to close this. Just not the problem you thought it
was.
On Mon, Jul 6, 2020 at 2:40 PM Attoumane<EMAIL_ADDRESS>wrote:

Closed #2507 https://github.com/rzwitserloot/lombok/issues/2507.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/2507#event-3515724606,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIERL7D2AD3QZRUN5UXJTR2HA2LANCNFSM4OPU4M4A
.

--
"Don't only practice your art, but force your way into it's secrets, for
it and knowledge can raise men to the divine."
-- Ludwig von Beethoven

--
"Don't only practice your art, but force your way into it's secrets, for it
and knowledge can raise men to the divine."
-- Ludwig von Beethoven


pools taking too long to extend cus, ip4us

I did the payment but the requested units never reflect in the pools
pools

https://explorer.devnet.grid.tf/api/v1/reservations/pools/2499
https://explorer.devnet.grid.tf/api/v1/reservations/pools/2503

cs6s1AA==",created="1609519282",expires="1609519342",headers="(created) date threebot-id"'}
2021-01-01 16:41:22.320 | INFO     | jumpscale.sals.vdc.deployer:_log:768 - VDC: 96b31312b5c949a48dd7132c4e
de2933 NAME: nowwhatttt: OWNER: ahmedthabet searching for available public ip in farm lochristi_dev_lab
2021-01-01 16:41:22.321 | INFO     | jumpscale.servers.gedis.server:_on_connection:270 - Executing method f
etch from actor chatflows_chatbot to client ('<IP_ADDRESS>', 55646)
<IP_ADDRESS> - - [2021-01-01 16:41:22] "POST /chatflows/chatbot/fetch HTTP/1.0" 200 556 0.006703
2021-01-01 16:41:22.435 | DEBUG    | jumpscale.clients.explorer.explorer:log_request:26 - Request https://e
xplorer.devnet.grid.tf/api/v1/farms?page=1 method: GET body: None headers: {'user-agent': 'python-requests/
2.24.0', 'accept-encoding': 'gzip, deflate', 'accept': '*/*', 'connection': 'keep-alive', 'threebot-id': '2
583', 'date': 'Fri, 01 Jan 2021 16:41:22 GMT', 'authorization': 'Signature keyId="2583",algorithm="ed25519"
,signature="3zb/1wPp2pOxkIXvu3ItbEWgpz31fsaXqGyQy8ZrRKdP8Op92jEhqrzQEpN0yZ/h4YVMZokUjf2tyDYcs6s1AA==",creat
ed="1609519282",expires="1609519342",headers="(created) date threebot-id"'}
2021-01-01 16:41:22.441 | INFO     | jumpscale.sals.vdc.deployer:_log:768 - VDC: 96b31312b5c949a48dd7132c4e
de2933 NAME: nowwhatttt: OWNER: ahmedthabet attempting to reserve public ip: <IP_ADDRESS>/24 on farm: loc
hristi_dev_lab pool: 2499 node: 2anfZwrzskXiUHPLTqH1veJAia8G6rW2eFLy5YFMa1MP
2021-01-01 16:41:22.564 | DEBUG    | jumpscale.clients.explorer.explorer:log_request:26 - Request https://e
xplorer.devnet.grid.tf/api/v1/reservations/workloads method: POST body: b'{"id": 0, "ipaddress": "185.69.16
7.133/24", "workload_id": 1, "node_id": "2anfZwrzskXiUHPLTqH1veJAia8G6rW2eFLy5YFMa1MP", "pool_id": 2499, "d
escription": "{\\"vdc_uuid\\": \\"96b31312b5c949a48dd7132c4ede2933\\"}", "reference": "", "customer_tid": 2
583, "customer_signature": "4711040a065806d24e19d177e6ed50a43c402a80bd0c206d70f73ff792aee9435e425704daf83c9
34320237fc842fa689813cddd7cc065d0fd283002699a600e", "next_action": 3, "signatures_provision": [], "signing_
request_provision": {"signers": [], "quorum_min": 0}, "signing_request_delete": {"signers": [2583], "quorum
_min": 1}, "signatures_farmer": [], "signatures_delete": [], "epoch":<PHONE_NUMBER>, "metadata": "1mTH|dmg^tgs
nwQvjc;!_(%#HZ_b-@pW4wauM@VhDJ_gZ58AyR*$9Rw2v@Ed0auEoh6(1!2CaI#v?Tlwr?{*njrLbRXS$PCp5uMYN*~xlZL;T$$kGe!+y",
 "workload_type": 11}' headers: {'user-agent': 'python-requests/2.24.0', 'accept-encoding': 'gzip, deflate'
, 'accept': '*/*', 'connection': 'keep-alive', 'threebot-id': '2583', 'Content-Length': '799', 'content-typ
e': 'application/json', 'date': 'Fri, 01 Jan 2021 16:41:22 GMT', 'authorization': 'Signature keyId="2583",a
lgorithm="ed25519",signature="3zb/1wPp2pOxkIXvu3ItbEWgpz31fsaXqGyQy8ZrRKdP8Op92jEhqrzQEpN0yZ/h4YVMZokUjf2ty
DYcs6s1AA==",created="1609519282",expires="1609519342",headers="(created) date threebot-id"'}
Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
  File "/root/js-sdk/jumpscale/sals/vdc/deployer.py", line 363, in deploy_vdc_kubernetes
    master_pool_id, gs, master_size, cluster_secret, [self.ssh_key.public_key.strip()], self.vdc_uuid, nv
  File "/root/js-sdk/jumpscale/sals/vdc/kubernetes.py", line 169, in deploy_master
    pool_id, master_node.node_id, solution_uuid=solution_uuid
  File "/root/js-sdk/jumpscale/sals/vdc/public_ip.py", line 43, in get_public_ip
    solution_uuid=solution_uuid,
  File "/root/js-sdk/jumpscale/sals/reservation_chatflow/deployer.py", line 1201, in deploy_public_ip
      return zos.workloads.deploy(public_ip)
  File "/root/js-sdk/jumpscale/sals/zos/workloads.py", line 157, in deploy
    return self._workloads.create(workload)
  File "/root/js-sdk/jumpscale/clients/explorer/workloads.py", line 95, in create
    resp = self._session.post(url, json=data)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/lib/python3.6/site-packages/requests/sessio
ns.py", line 578, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/lib/python3.6/site-packages/requests/sessio
ns.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/lib/python3.6/site-packages/requests/sessio
ns.py", line 650, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/lib/python3.6/site-packages/requests/hooks.
py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "/root/js-sdk/jumpscale/clients/explorer/errors.py", line 23, in raise_for_status
    raise HTTPError(http_error_msg, response=resp)
requests.exceptions.HTTPError: 402 Client Error: pool needs additional capacity to support this workload fo
r url: https://explorer.devnet.grid.tf/api/v1/reservations/workloads
2021-01-01T16:41:22Z <Greenlet at 0x7f2b42a42848: <bound method VDCDeployer.deploy_vdc_kubernetes of <jumps
cale.sals.vdc.deployer.VDCDeployer object at 0x7f2b42ae6940>>('lochristi_dev_lab', <jumpscale.sals.vdc.sche
duler.GlobalScheduler obje, '020f2fd48bcd3d46a74d12d43919f0e1')> failed with HTTPError

2021-01-01 16:41:22.572 | ERROR    | jumpscale.sals.vdc.deployer:_log:768 - VDC: 96b31312b5c949a48dd7132c4e
de2933 NAME: nowwhatttt: OWNER: ahmedthabet failed to deploy VDC. cancelling workloads with uuid 96b31312b5
c949a48dd7132c4ede2933

By checking the pools payment info, it seems the payment has been refunded. The cause of the refund is unknown atm so I updated both devnet and testnet with a version that tracks the cause of the cancellation on the payment info. So when this happen again we will have more info to track down the problem

By checking the pools payment info, it seems the payment has been refunded. The cause of the refund is unknown atm so I updated both devnet and testnet with a version that tracks the cause of the cancellation on the payment info. So when this happen again we will have more info to track down the problem

I will put it in verification until it happens again.

I will put it in verification until it happens again.

After the new API
After sucessfull payment

the pool still after 10 mins not reflecting the resources

https://explorer.devnet.grid.tf/api/v1/reservations/pools/2672
https://explorer.devnet.grid.tf/api/v1/reservations/pools/payment/2672

After the new API
After sucessfull payment

the pool still after 10 mins not reflecting the resources

https://explorer.devnet.grid.tf/api/v1/reservations/pools/2672
https://explorer.devnet.grid.tf/api/v1/reservations/pools/payment/2672

The new capacity not being added is actually correct given the reservation state. paid essentially means that the escrow has received sufficient funds for the reservation, and will attempt to do the payout to the farmer, after which the capacity is added to the pool. If this is successful, the released flag will be set. If it fails, the escrow will attempt to refund the client. In that case the canceled flag will be set. If the escrow fails due to insufficient funds before it expires, the client will also be refunded and the canceled flag set in the same way. Given that neither of these flags are currently set, even after this amount of time has elapsed, it seems that the escrow is somehow hanging.

The new capacity not being added is actually correct given the reservation state. paid essentially means that the escrow has received sufficient funds for the reservation, and will attempt to do the payout to the farmer, after which the capacity is added to the pool. If this is successful, the released flag will be set. If it fails, the escrow will attempt to refund the client. In that case the canceled flag will be set. If the escrow fails due to insufficient funds before it expires, the client will also be refunded and the canceled flag set in the same way. Given that neither of these flags are currently set, even after this amount of time has elapsed, it seems that the escrow is somehow hanging.

also been happening to frequent now
https://explorer.devnet.grid.tf/api/v1/reservations/pools/payment/2698
https://explorer.devnet.grid.tf/api/v1/reservations/pools/2698
Seems the explorer getting timeouts from stellar accroding to @muhamadazmy logs

also been happening to frequent now
https://explorer.devnet.grid.tf/api/v1/reservations/pools/payment/2698
https://explorer.devnet.grid.tf/api/v1/reservations/pools/2698
Seems the explorer getting timeouts from stellar accroding to @muhamadazmy logs

Please confirm if this still an issue ?

Please confirm if this still an issue ?

Please re-create a new issue if this still happens

Please re-create a new issue if this still happens


ubuntu-latest -> ubuntu-20.04 when building libsqlite3.so

From https://github.com/denodrivers/sqlite3/issues/80#issuecomment-1416489124 , the current libsqlite3.so causes some people to get this type of error:
: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ...`

This is because dynamic library that are compiled on a computer with a high glibc version can't be ran on computers with a lower glibc version. The ubuntu-latest runner (v22.04) has glib v2.33, but people who are running ubuntu 18/20 or other linux OS with a lower glibc version can't run it.
So this PR changes the action to use ubuntu-20.04, so it's more compatible with more people. People running ubuntu-18.04 still won't be able to use it, which sucks, but the ubuntu-18.04 GH action runner will be deprecated April 2023.
Another option is a custom Dockerfile that runs a OS with a very low libc version, but that isn't very easy

There really seems to be an issue with functions test - seems flaky, it's also causing #81 CI to fail. I'll look into it as soon as possible.

Let's try merging it, the error may have been fixed already on main


Merging var/let changes behavior

This code:
var foo = 1;
let bar = 2;
console.log(window.foo);
console.log(window.bar);

logs 1 and undefined, because top-level var adds global properties, but top-level let does not. However minifying produces:
var foo=1,bar=2;console.log(window.foo),console.log(window.bar);

which logs 1 and2, because the let got merged in to a var declaration.
Minifying shouldn't change program behavior, so top-level var and let declarations should not be merged.

Sorry, this is just a mistake on my part. I had transpiling on with the REPL ! :P


raise CalledProcessError when trying to start benchmark

Hi
I have followed the installation instructions, and tried to do some test benchmarking. But it fails with the following error:
https://gist.github.com/snazhmudinov/fe4b9140135eb3d9c1b42bb9b808a51d
Command I'm trying to run:
bazel run :benchmark \
-- \
--project_source=https://github.com/bazelbuild/rules_cc.git \
--data_directory=/tmp/bazel-bench-data \
--verbose \
-- build //:all

I have bazelisk, python/python3, git installed. I have also installed all the 3rd party requirements (according to installation guides).
I'm on macbook air: 1.6 GHz Dual-Core Intel Core i5, MacOS 12.6,

I can't reproduce this on my machine, sorry.
The crash occurs while bazel-bench is building Bazel at head. Can you confirm that you're able to successfully build it on your machine? (git clone http:s//github.com/bazelbuild/bazel && cd bazel && bazel build //src:bazel)
(Alternatively, if you'd rather use a pre-built Bazel version to benchmark, you can pass in the --bazel_binaries flag.)

I had no issue building //src:bazel.
INFO: Elapsed time: 2068.275s, Critical Path: 246.83s
INFO: 3541 processes: 294 internal, 2466 darwin-sandbox, 1 local, 780 worker.
INFO: Build completed successfully, 3541 total actions

Can you please run the benchmark again with --verbose?


Admin notification after plugin activation

Once a user has activated the plugin, a (dismissible) admin notice should be added, directing them to the user profile setting.

Fixed in #20.


Backspace not working

When trying to delete cell content with backspace, nothing happens, no event is being fired. Is there some custom prop I have to pass to enable it?
The current implementation I am using as a workaround is:
const deleteWithBackspace = (e: KeyboardEvent) => {
    if (e.code === "Backspace") {
      dataTableRef.current?.emit("delete");
    }
};

p.s This was tested on Linux and Windows machine, if that is relevant

Backspace is used in OSX and Delete is used in all othere OS's right now.


docs: Replace shallow equality with referential identity in ExpectAPI.md

Summary
Better safe than sorry, especially because I missed additions for .toBe in 22.2
Test plan
yarn lint:md which I should have done in the first place ;)

See what y’all think about the changes. Making incorrect parallel between terms for copying and terms for comparing seems too familiar. Maybe correcting it 26 times will make it stick for a while.


SubstraTEE validator protection

Grant Application
This application is (select one):

[x] Speculative (use this by default)
[ ] an RFP response

This application is (select one):

[ ] Public (fully)
[x] Public with private finances

Abstract
We suggest a solution for validator key management that protects the validator against attacks who try to cause slashable behaviour.
Checklist

[x] The grants document has been read and understood.
[ ] The Google Form will be completed accurately. Note that the Google Form requires the pull request URL.
[x] Abstract (above) is succinct and complete.
[x] The application is being included into the correct directory: either 'targeted' or 'speculative'.
[x] The application includes a project description.
[x] The application includes all names of team members.
[x] The application includes a description of the team's experience.
[x] The application includes all necessary links (e.g. GitHub and LinkedIn)
[x] The "Development Roadmap" section in the application has a timeline of development ("milestones").
[x] The "Development Roadmap" section in the application has an estimate of funds required.
[x] The "Development Roadmap" section gives an indication of the team's long term plans.
[x] The "Development Roadmap" section includes documentation as a deliverable for at least one milestone.

Closing since discussion on this grant has been dead for a while. Ping me and I'll reopen the PR whenever you're ready to start with the project.


[ZenYandex] Does not download videos

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Russia
Provide a description that is worded well enough to be understood
yt-dlp https://dzen.ru/video/watch/6553decf11b02f63384cf554
[ZenYandex] Extracting URL: https://dzen.ru/video/watch/6553decf11b02f63384cf554
[ZenYandex] 6553decf11b02f63384cf554: Downloading webpage
[ZenYandex] 6553decf11b02f63384cf554: Redirecting
ERROR: local variable 'fmts' referenced before assignment
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp -vU https://dzen.ru/video/watch/6553decf11b02f63384cf554
[debug] Command-line config: ['-vU', 'https://dzen.ru/video/watch/6553decf11b02f63384cf554']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [4d9231208] (zip)
[debug] Python 3.9.13 (CPython x86_64 64bit) - macOS-10.15.7-x86_64-i386-64bit (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: ffmpeg N-103360-g7f194c7d96-tessus (setts), phantomjs 2.1.1
[debug] Optional libraries: sqlite3-3.39.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[ZenYandex] Extracting URL: https://dzen.ru/video/watch/6553decf11b02f63384cf554
[ZenYandex] 6553decf11b02f63384cf554: Downloading webpage
[ZenYandex] 6553decf11b02f63384cf554: Redirecting
ERROR: local variable 'fmts' referenced before assignment
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1626, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1761, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 740, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/yandexvideo.py", line 276, in _real_extract
    formats.extend(fmts)
UnboundLocalError: local variable 'fmts' referenced before assignment

Duplicate of #10818


add oauth test on startup, closes #10

Travis build works now!
https://travis-ci.org/o2r-project/o2r-bouncer/builds/278568060


Error: ngRepeat:dupes Duplicate Key in Repeater

I have set up the following tree.

The model is initially empty.
$scope.data = [];

Then I populate the tree and get a model like the following.
[{"id":"c82561ec215a6e31807ceedf3b3bd25e","title":"n1","description":"d1","nodes":[{"id":"a6bbc91ae73dd21c0533f735470a9cd0","title":"n2","nodes":[],"$$hashKey":"object:58"}],"$$hashKey":"object:43"},{"id":"4443aee183b279f76a95c13c7f5bca0d","title":"n3","nodes":[],"$$hashKey":"object:72"}]
Ids are generated using md5 hashes. Then I use angular's toJson to get rid of $$hashKeys. Then I save this model using rest.
Now comes the weird part. If I attach this new model to the scope's data variable when my Ionic app's view loads, then the tree renders just fine. But when I use REST/WebSockets, to reassign the value of the scope variable ($scope.data), then I get Error: ngRepeat:dupes Duplicate Key in Repeater .
Please help.

@nifft it is hard to say without seeing nodes_renderer.html but this error is almost always fixed by adding track by.  For example:

I will close this, please re-open if it is still an issue or you have further questions

+1
track by $index doesn't work

+1
same issue.


USB: Support for max packet size other then 64 for control endpoint

Max packet size hardcoded to 64 prevents usage of USB in SmartBond devices
Max packet size for control endpoint as described in USB specification
can be 8, 16, 32 and 64 for full speed devices.
Zephyr defines maximum value for this endpoint size in usb_device.h
#define USB_MAX_CTRL_MPS	64   /**< maximum packet size (MPS) for EP 0 */

This value is later used in usb_descriptor.c and usb_dfu.c when device descriptor is constructed.
This value is also used in usb_device.c in function use_enable().
SmartBond devices by Renesas (supported in Zephyr) have endpoint 0 packet size limited to 8 bytes.
Desired solution
Add separate definition of max packet size that will be used in device descriptor creation and usb_enable() function.
I'm not sure if this should be done in DTS or some other way.

Resolved by #57028


[5.2] Input Class Not Found?

Ive Checked the Documentation, there is no Update Around this
That Input Facade is Already Not Included Upon Installing Laravel 5.2
Got Also My App From 5.1 Breaking Issue With This?
I Add this in my config/app.php
'Input'     => Illuminate\Support\Facades\Input::class,

Hope you also Add this In the Laravel 5.2 Documentation :)

Just use the Request facade.

Laravel 5.2 is NOT ready for use yet. The docs are not complete yet.

Ping @taylorotwell. This does need adding to the docs though. ;)


Create AWS tenant with Cognito

Created Cognito user pool in us-west-1

Login to AWS account
Navigate to Cognito
Open the user pool "hexademo-canarybank-user-pool"
Create a new user with your email
An email will be sent to your inbox with a temporary password.
Open https://canarybank.hexademo.org in a browser
Click the sign-in with OIDC button.
Login with your email and temporary password
You will be asked to reset your password.
Once reset done, you will land on the canarybank page.


fix: Check if directory exists, before compressing

adapter-node crashes if precompress is true, but folder doesn't exist.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

${out}/prerendered isn't always created.

thanks!


The download button is greyed out as mentioned in this issue

The download button is greyed out as mentioned in this issue  https://github.com/Azure/Azure-Functions/issues/1728
[Enter feedback here]

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

ID: 4581be64-415a-804a-0a45-25b6976095c3
Version Independent ID: 0cae0e82-c263-e2cf-ea54-a783291f5746
Content: Zip push deployment for Azure Functions
Content Source: articles/azure-functions/deployment-zip-push.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@DataBach-maker Thanks for the feedback! We are currently investigating and will update you shortly.

@DataBach-maker Thanks again for reaching here! Moving the cursor to greyed download app content in the portal overview its showing that "this is not supported for linux apps".
Please refer to similar query answered by mike here: https://github.com/MicrosoftDocs/azure-docs/issues/102768
hope this helps.

@DataBach-maker
We will now proceed to close this thread. If there are further questions regarding this matter, please let us know.


Nerfacto dataloader hangs infinitely on OOM instead of crashing during data loading

Describe the bug
When loading more image data than there is memory (system RAM, not VRAM) available, Nerfstudio hangs perpetually without error, rather than throwing an OOM error.
Load drops from high to zero, all the threads die off, and it just sits there perpetually.
(As a sidenote: It would be nice if the Nerfacto dataloader could be merged with the Splatfacto one, which is way way more memory efficient)
To Reproduce
Steps to reproduce the behavior:

Load a dataset with a 2000-or-so 4k images and no downscales into nerfacto(-huge).
Watch memory usage go up until full and suddenly drop.
Observe Nerfstudio hanging forever on "Loading data batch".

Expected behavior
Nerfstudio should display an error and crash out with an error code. Aside from being just more logical and informative, this would also allow external sequential batch processing pipelines to continue doing their thing.
Screenshots
Post-hang:

Additional context
Sounds like a child thread is terminating due to allocation errors but not being caught correctly.
I haven't tested this with the Splatfacto dataloader, as I have yet to find a way to run out of my 100GB RAM with Splatfacto.
Nerfacto's dataloader uses way way more memory (and briefly peaks to twice the memory it needs at some point during the loading process).

Relevant: @AntonioMacaronio has been working very hard on this in #3216. There are a ton of tradeoffs to consider and it's super involved, but it does feel like the PR is close!


Issues getting HP EliteDesk 800 G1 SFF to boot after applying BIOS settings

Hi,
Firstly thanks for a great tool.
Is there a forum for users to discusses the BiosSledgehammer and other related topics, BIOS configurations and Firmware etc ?
I'm posting this here as I'm not having much luck with the resources I have reached out to thus far.  If you feel this is not appropriate feel free to close this ticket.
We are switching from Win7 to Win10, this is being done using SCCM task sequence (OSD) and is effectively a format and reload. I have setup BiosSledgehammer to reconfigure the BIOS as part of the initial steps. As part of re-configuring the BIOS we are switching to, UEFI.
The Model I'm having the most trouble with is the HP EliteDesk 800 G1 SFF, how ever I configure it I get "No option to boot to", when I look in the BIOS there is no HDD listed under the UEFI boot order, but if I run the deployment multiple times it suddenly works.
This is my current configuration :
###Boot###
SATA Emulation==AHCI
EFI Boot Order==USB Floppy/CD,USB Hard Drive,ATAPI CD-ROM Drive,Network Controller IPv4,Network Controller IPv6,Other
PXE Option ROMs==UEFI Only
Storage Option ROMs==UEFI Only
Video Option ROMs==UEFI Only
Secure Boot==Enable
Legacy Support==Disable
Legacy Boot Vector Re-entry==Disable
OS management of Embedded Security Device==Enable
Reset of Embedded Security Device through OS==Enable
Tpm PPI policy changed by OS allowed==Enable
Tpm No PPI provisioning==Enable
Tpm No PPI maintenance==Enable
###CPU and Performance###
Turbo Mode==Enable
Hyper-Threading==Enable
Multi-processor==Enable
Virtualization Technology (VTx)==Enable
Virtualization Technology Directed I/O (VTd)==Enable
USB3.0 BIOS Driver Support==Enable
#BIOS
Asset Tracking Number == @@COMPUTERNAME@@
Automatic BIOS Update Setting==Disable
Are there any errors ?
My task sequence for apply the BIOS settings:

Create a MBR partition , so that the BiosSledgehammer has somewhere to be saved to.
Run BiosSledgehammer
Reboot into WinPE
Run BiosSledgehammer
Reboot into WinPE
Create UEFI Partitions
Apply Operating System.
Apply Drivers
Reboot to Windows 10 < this is where the "No option to boot to" comes up

continue TS

Are there any issues with this configuration?
Regards
G

To my knowledge, there is no forum especially for BIOS Sledgehammer and to be honest, this wouldn't make a lot of sense to me. It's just one of the tools you are using to stage a PC, so I would think a general SCCM/Deployment forum makes more sense.
Regarding your issue I have no idea where this comes from. The result of your changes should be deterministic, either it works all the time or never.
There are two points here that might be worth a second look:
a) The BIOS calls the boot order "EFI", not UEFI. This could indicate that this device is not fully-UEFI compliant so maybe there is an BIOS update required before you try to boot first into Windows 10.
b) If I understood your order correctly, the device will have at the end an MBR and UEFI partitions. Maybe the BIOS gets confused by this when it tries to read which OS to load from the EFI partion (if the device has one). It would be interesting what BCDedit say. Or even better, give Visual BCD Editor (https://www.boyans.net/) a try and check if you see anything "strange"

@GregoryMachin Were you able to find out anything about this issue in the meantime?


[Docs] Improvements to JSON-based batch Ingestion page

This PR:

Replaces "native ingestion" with "JSON-based batch ingestion"
Adds missing code font
Capitalizes column names
Fixes a broken table
Removes some of the passive voice and future tense
Encloses long code samples in the <details> tag to create interactive widgets

This PR has:

[x] been self-reviewed.

Thanks!


[C++] Use signed offset type in row table related structures

Describe the enhancement requested
This is a followup of a discussion in the code review of https://github.com/apache/arrow/pull/39383/files#r1457036717. Back then I found row table related structures are using unsigned types as offset, which is inconsistent with the rest of the arrow project and causes some unnecessary static casts.
Though I'm not exactly sure why the original author chose to use unsigned types as offset, I think we'd better change it to signed types if there is no substantial reasons about correctness.
Component(s)
C++

cc @pitrou

take

Closing this as I will work on a solution widening the row offset to 64bit, which is more thorough.


[coq] Fix warnings and try to handle primitive integers

We fix a couple of OCaml warnings, and in particular we try to handle
the new kernel constructor introduced in 8.10
I am not sure this is the right way to do it, please review.
Before merging this PR, a 8.9 branch should be created as this change
is not backwards compatible.

Ping @beta-ziliani

I'm currently on holidays. I will be back next week, but with some other urgent things to take care of...

@mattam82 maybe you could have a look?

I understand that keeping up with Coq upstream these days is costly, if unicoq is short on maintainer time a few things could be done, including merging it into the main Coq tree or adding more maintainers.

sorry Emilio, I try to be available, but lately I've been dropping packets.
I will schedule this for early next week.
On Fri, Mar 1, 2019 at 8:33 AM Emilio Jesús Gallego Arias <
<EMAIL_ADDRESS>wrote:

I understand that keeping up with Coq upstream these days is costly, if
unicoq is short on maintainer time a few things could be done, including
merging it into the main Coq tree or adding more maintainers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/unicoq/unicoq/pull/24#issuecomment-468636586, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE8YkuH15vHN4YQI-xBse2RvOHF0q0crks5vSRAOgaJpZM4bFBKL
.

Hey beta this is not urgent at all, I didn't meant to push you but on the contrary, to see how we could bother maintainers less from upstream.

Indeed for developments by mostly a single developer it is clear we cannot expect them to be able to follow coq upstream. So we are having a lot of debate on what'd be the best way.

I won't make a branch, since there are no new features coming that we need to apply to the different versions. Note that there are no branches, just tags. (Happy to take advice if you think it's a bad idea.) In any case, we can always branch on a specific commit later on.

For now, I think this commit suffices, but unification will fail for primitive integers. We'll get that fixed later.

Thanks!


Revert "Make Android app shortcut use 'Home Assistant' as name."

Reverts home-assistant/home-assistant#8261

Cherry-picked for 0.48


A few incident trigger tweaks

pager me <schedule> <minutes> didn't support quotes around the schedule name. This is inconsistent with every other case of schedule names. I think I fixed that up correctly.
We wanted a way for users to just say pager default trigger and send a message to a default schedule. I believe the changes I made around 160 should facilitate that, but would love some advice on how best to make that change.

Both these functions are working correctly for us, but I'm happy to discuss how we could go about integrating them.


Can not store plugin name  in logs ( which is then used by  tensorboard to read data for relavant plugin)

System information

OS Platform and Distribution -  Linux Ubuntu 18.04:
TensorFlow version (or github SHA if from source):1.14.0

In my existing model, i am using CNN model with tf.layers
def mnist_cnn(inputs):
`
def mnist_cnn(inputs):
input_layer = tf.reshape(inputs, [-1, 28, 28, 3])

# Convolutional Layer #1
conv1 = tf.layers.conv2d(
      inputs=input_layer,
      filters=32,
      kernel_size=[5, 5],
      padding="same",
      activation=tf.nn.relu,
      name="conv1",
)

# Pooling Layer #1
pool1 = tf.layers.max_pooling2d(inputs=conv1, pool_size=[2, 2], strides=2)

# Convolutional Layer #2 and Pooling Layer #2
conv2 = tf.layers.conv2d(
      inputs=pool1,
      filters=64,
      kernel_size=[5, 5],
      padding="same",
      activation=tf.nn.relu)

# weights_1_array = np.zeros((786, 28, 28, 32))
# conv_kernel_1 = tf.nn.conv2d(conv1, weights_1_array, [1, 4, 4, 1], padding='SAME')

# kernel = tf.get_collection(tf.GraphKeys.VARIABLES, 'conv1/kernel')[0]

pool2 = tf.layers.max_pooling2d(inputs=conv2, pool_size=[2, 2], strides=2)

# Dense Layer
pool2_flat = tf.reshape(pool2, [-1, 7 * 7 * 64])
dense = tf.layers.dense(inputs=pool2_flat, units=1024, activation=tf.nn.relu)
dropout = tf.layers.dropout(inputs=dense, rate=0.4)

# Logits Layer
outputs = tf.layers.dense(inputs=dropout, units=10)

`
And i used to write logs using summary
 tensor_summaries = list(map(lambda graph_node:                                 tf.summary.tensor_summary(graph_node.name,                                                           graph.get_tensor_by_name(graph_node.name + ":0"),                                                           summary_metadata=tf.SummaryMetadata(                                                               display_name=graph_node.name,                                                               summary_description=description,                                                               plugin_data=tf.SummaryMetadata.PluginData(                                                                   plugin_name=PLUGIN_NAME)),                                                           collections=collections),                                 tensor_ops))
Within this summary, there was a feature to write plugin name , this plugin name is then used by my custom tensor board to identify data from my plugin.
With tf keras , we have callbacks like save.model to store weight but that don't give an option to write plugin name this makes it impossible for tensorboard to identify  data for my plugin ,
Is there any way to write logs with plugin name using call back ?

So the new way to write arbitrary tensor summaries is using tf.compat.v2.summary.write(), which can accept a serialized summary metadata: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/summary/write
cc @omalleyt12 - the TensorBoard keras callback works with custom summary ops now, right?  So I believe that write() would also work within the callback.

@nfelt , @omalleyt12  Thanks for your suggestions although we are looking in same direction but our visions are not converging. Let me try again.
Of course, there are ways to write logs from TensorFlow using write and tf.compat.v2.summary.write() but my problem is
I was earlier using TF.layers
while run
for every epoch --> summary_op = summary_function(default_graph)
sees.run(summary_op)
In summary function --> I was fetching the weights tensors and adding summary data using
plugin_data=tf.SummaryMetadata.PluginData( plugin_name=PLUGIN_NAME)),
and rrturn this to main function which then calls
sess..run(summary_op)
writer.add_summary(summary, i)
NOW WITH KERAS
I have no way to add function directly with epochs, neither I can trigger sessions.
with callbacks, if I call the same summary function, it returns no data as the scope of session is within the test.fit function.
Even if I trigger session manually, Keras still trigger it's on session my triggered session never fetches any data.
so callbacks are able to call the function but the summary function is designed to work with sessions and keras has it's on way to handling sessions

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


placecomplete-plugin released

https://github.com/comerc/selectize-placecomplete

Awesome! Looks great :)

Can I put a link? I need more respect 😎


adding stylus loader

Hi,
how can i add stylus loader https://github.com/shama/stylus-loader ?
i'm interested mainly in this part
module: {
  loaders: [
    { test: /\.styl$/, loader: 'style-loader!css-loader!stylus-loader' }
  ]
}

thanks

Hi @bazo,
I am not familiar with stylus so I don't know the exact recipe.
Usually when you want to add/update/delete a loader you should use webpack.configure in the function format:
module.exports = {
    webpack: {
        configure: (webpackConfig, { env, paths }) => { return webpackConfig; }
    }
};

Or write a custom plugin for CRACO which is what I recommended since you could then share it with others.
Whichever option you choose, you should also have a look at CRACO utility functions.
Hope it helps,
Patrick


Update The Theme Text Dynamically (issue #193)

Fixes #193: Update Theme Text to Reflect Dark/Light Mode Changes in MorePage
This PR updates the theme text in MorePage.tsx to reflect the current mode, whether dark or light. The text now clearly indicates "Dark Mode" or "Light Mode" and displays in the appropriate color, enhancing user clarity when switching between themes.
Why Was It Changed?
Previously, when switching between dark mode and light mode, the text indicating the current theme did not update accordingly. By ensuring that the theme text changes dynamically, users can easily identify the current mode they are in, improving the overall user experience.
How Was It Changed?
The theme switch functionality in MorePage.tsx was updated to modify the text based on the selected theme:
"Dark Mode" is displayed in white text when dark mode is active.
"Light Mode" is displayed in black text when light mode is active.
Additional test cases were created to validate the text changes when switching between themes.
UI After Changes
After the changes, when the user toggles between dark mode and light mode, the theme text updates dynamically. When in dark mode, it clearly displays "Dark Mode" in white, and when in light mode, it displays "Light Mode" in black.

attached are the changes made on line 148 of MorePage that uses the theme object to ensure the color of the text.


RC Test Forces and Motion Basics 2.3.0-rc.5

@ariel-phet @phet-steele, Forces and Motion: Basics 2.3.0-rc.5 is ready for a spot check for RC testing.
Link to sim
Link to iFrame
Test Matrix
Issues to Verify
Please test the following issues and check them off after addressing. If they are resolved, close them.  If not, they should be updated.

[ ] phetsims/forces-and-motion-basics#252
[ ] phetsims/forces-and-motion-basics#250

If any new issues are found, please note them in https://github.com/phetsims/forces-and-motion-basics/issues and reference this issue.

During deploy-rc I received an error notification from build-server, and want to  check in with @mattpen before reassigning for testing.
Sim and iframe test made it to spot but dependencies.json is missing, and maybe other things are missing too.

I just want to verify that  this built version is OK, or determine if we need a new build for rc testing and then deploy-production.
@jonathanolson also recommended to check build server logs and said there were steps in sim_deployment.md.

@mattpen fixed the problem and asked me to rebuild. Everything looks great. Ill update issue title and links since I updated rc version number for new build.

Thanks for the help @mattpen, assigning to @phet-steele.

@jessegreenberg you can go ahead and release this version. @arouinfar please notify LoL.

Thanks @phet-steele FAMB 2.3.0 deployed with LoL support:
https://phet.colorado.edu/sims/html/forces-and-motion-basics/latest/forces-and-motion-basics_en.html
Next need to deploy 2.3-phet-io.

2.3-phetio has been deployed. Thanks for the testing @phet-steele and team, great to have this done :)


Python: modernise twisted library

I think the tests should just pass, but honestly can't remember the full context of why they failed

Ahh yes, simply because the old tests are still present in our internal repo, and they use ClassObject which is incompatible with the new implementation that uses ClassValue


HSEARCH-3848 Dynamic entities are ignored when creating a scope targeting Object.class

https://hibernate.atlassian.net/browse/HSEARCH-3848

It looks good. Merged, thanks.

Thanks!


Emergency Update with icu4c

Describe the bug
icu4c from brew has been updated to 71 then php requesting to use 70
so it will broken with
dyld[28892]: Library not loaded: '/opt/homebrew/opt/icu4c/lib/libicuio.70.dylib'
  Referenced from: '/opt/homebrew/Cellar/php/8.1.10/bin/php'
  Reason: tried: '/opt/homebrew/opt/icu4c/lib/libicuio.70.dylib' (no such file), '/usr/local/lib/libicuio.70.dylib' (no such file), '/usr/lib/libicuio.70.dylib' (no such file), '/opt/homebrew/Cellar/icu4c/71.1/lib/libicuio.70.dylib' (no such file), '/usr/local/lib/libicuio.70.dylib' (no such file), '/usr/lib/libicuio.70.dylib' (no such file)

PHP versions
7.3 7.4 8.0 8.1 and maybe more
To Reproduce
brew update && brew upgrade
Expected behavior
php -V
php 8.1.10
Screenshots/Logs
N/A
Additional context
N/A
Are you willing to submit a PR?
I don't know how to (for brews).

I searched Google that i found a lot of dependence error with this package.
I think it is not your fault and am very glad to use your package, it fixed that official PHP package doesn't support ARM64.
To temporary fix this error:
cd /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/fe6a2fe48c2abd7aee0636a5d25d9cdb7374686a/Formula/icu4c.rb
brew reinstall icu4c
brew pin icu4c
git restore icu4c.rb
brew update && brew upgrade

Ahhhhh, And i think these 4 issues are the same too. lol.

Working on this

@jyxjjj
All PHP formulae are now rebuilt with icu4c 71.1
If you get a Library not loaded error for icu4c libraries.
Please update the tap and upgrade the PHP formula.
For example for PHP 8.0.
brew update
brew upgrade<EMAIL_ADDRESS>
Please do not pin the icu4c version from older commits.


Default to 0 if no rows loaded in GCS to BQ operator.

Noticed this while messing with some ELT jobs. If a GCS->BQ load is empty, it was failing trying to cast int(None). Fixed this, and defaulted to 0 now.

@mistercrunch mind merging this?

:+1:

@artwr thx!


[RHTAPBUGS-111] Use SPI token for private repos in CDQs

What does this PR do?:
This PR fixes branch detection in CDQs for private repositories. We were using the HAS-provided Git tokens to detect branches, and In order for branch detection to work against private repositories, we need to use the token provided by SPI.
Which issue(s)/story(ies) does this PR fixes:
https://issues.redhat.com/browse/RHTAPBUGS-111
PR acceptance criteria:

[ ] Unit/Functional tests

[ ] Documentation

[ ] Client Impact

How to test changes / Special notes to the reviewer:

/retest


fix: show callback button in action selector cards for chainable actions by default

Description
show callback button in action selector cards for chain-able actions by default

Removed touched state from ActionCard that tracks interaction on card.
Added unit test to assert callback button render

Media

Type of change

Bug fix (non-breaking change which fixes an issue)

Testing

How Has This Been Tested?

[x] Manual
[x] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

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

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test sha=f38ae9e

/build-deploy-preview env=release

ADS review not needed

This PR is not related to #22223.  It contains changes only to show callback buttons by default to improve discoverability

@arunvjn QA Done.
This DPhttps://appsmith-2f0db6bmn-get-appsmith.vercel.app/) by default i.e on click on the property pane only shows callback bar with total action count linked to it.


Allow Users to See All Groups When Creating an ACL Rule

Fixes #1119
The zone ACL editor view now displays the full list of groups in the dropdown, instead of just groups the user is part of.

This is a duplicate of #237 so that has been fixed as well.


Rails <IP_ADDRESS> - 7.0.8 diff: Omit webdrivers gem from Gemfile is not displayed

Rails v7.0.8 omits the webdrivers gem from Gemfile template.
But this diff is not displayed.

Rails <IP_ADDRESS> - 7.0.8 diff

https://railsdiff.org/<IP_ADDRESS>/7.0.8

Release note: rails v7.0.8

https://github.com/rails/rails/releases/tag/v7.0.8
https://github.com/rails/rails/blob/v7.0.8/railties/lib/rails/generators/rails/app/templates/Gemfile.tt#L66-L68

It seems that the cause is using ruby 2.7.4 in railsdiff/rails-new-output.
https://github.com/railsdiff/rails-new-output/blob/main/Gemfile#L4
I think it is better to use ruby 3.0+ in railsdiff/rails-new-output, because Ruby 2.7 was supported until 2023-03-31.

Ruby Maintenance Branches

https://www.ruby-lang.org/en/downloads/branches/

Hey @taketo1113, thanks for reporting this.

I think it is better to use ruby 3.0+ in railsdiff/rails-new-output, because Ruby 2.7 was supported until 2023-03-31.

Yeah, I agree. I had been putting off upgrading the version of Ruby that I use to generate the applications, because I didn't want that Ruby version change to show up in the diffs. I also hadn't gotten around to modifying my generation script to replace the Ruby version I had used to generate the application with a stand-in value (like "RUBY_VERSION"), mostly because I was putting off the work of retroactively fixing all the old generated apps.

@jswanner Thanks for replay.
Please let me know and I will help to update a script, if you need it.
RailsDiff helps me every time when I update rails :-)

This has been fixed, thanks again for reporting it.

Thanks to fix. It seems to be working fine.


[UI] Should display Users instead of Use when there are more than one users.

Change to 'Item(s)' to keep consistent with other datagrids.

Close it as fixed.


Allow ability to set a custom AuthenticationDetailsSource in the ResourceServerSecurityConfigurer

Fixes #1019

Thanks for the PR @ErkoRisthein. This is now in master.


add container size info to inspect

Inspect image has size info but container doesnt.
this add container size info to inspect so we can get the size of an individual container
Fixes #15555
Signed-off-by: Zhang Kun<EMAIL_ADDRESS>

This make sense, but should be gated by a flag as this is an expensive operation.

Is this the size of the top-most layer on disk or does it add up all layers?
If we do this we'll need some testcases.

updated, add a flag @cpuguy83
It use the GetSize function of a container, sizeRootfs add up all layers@duglin, it's not a new function.

Design LGTM, but we do need an integration-cli test.

added  some testcases

@calavera If the container is actually empty, the size fields will not display even if user set the flag --size, is that ok?

@azurezk these are the cases:

the field is not displayed if the flag is not set.
the value is "0" if the container is empty and the flag is set.
the value is the size of the container if the flag is set and the size is bigger than zero.

Thank you for your help :) @calavera

@azurezk no problem. It looks like this doesn't compile on windows:
daemon/inspect_windows.go:16: not enough arguments in call to daemon.ContainerInspect

OK, updated  @calavera

LGTM :tanabata_tree:

Nice trick with the *int64, I shall steal that.

@azurezk This needs a rebase now - sorry about that. :(

This has been rebased already. @azurezk don't forget that we will need documentation for this new flag and the two new fields in the api.

Also a rebase.

rebased

LGTM

updated @vdemeester

Cool :wink:
LGTM, moving to docs-review. I think the remote-ap….md file could be updated too, @thaJeztah WDYT ?

Thanks @azurezk, I added a comment inline, in addition, can you:

Update the man-page: https://github.com/docker/docker/blob/master/man/docker-inspect.1.md
Update the example-output in https://github.com/azurezk/docker/blob/add-size-to-inspect/docs/reference/api/docker_remote_api_v1.21.md#inspect-a-container
to include the new property?

Also, that section needs a mention of the new query-param (see other endpoints for where to put it :);
Query Parameters:

- **size** – 1/True/true or 0/False/false, return container size information. Default is `false`.

This will also need changes in the completion scrips; https://github.com/docker/docker/tree/master/contrib/completion
let us know if you want to take care of that, or want me to ping the maintainers of those scripts!

https://github.com/docker/docker/blob/master/contrib/completion/bash/docker seems no need to change?
@thaJeztah  I've updated others

Thanks @azurezk, docs LGTM
ping @albers @sdurrheimer could you have a quick look to see if the completion scripts are good to go (also see https://github.com/docker/docker/pull/15796#issuecomment-147045277 above)

LGTM for the Zsh completion

Thanks @sdurrheimer !

@azurezk I will add this to bash completion.

Thank you ！@albers

LGTM Thank you @albers

Created #17025


[Bug][get_sz50s] Throw exception - read_excel() got an unexpected keyword argument parse_cols

[root cause]
There is no parameter parse_cols in read_excell() of pandas 0.25.3, since has been deprecated.

still now


Sign-up and sign-in function back-end

I have completed sign up, sign-in, sign out functions and responses with the front-end


Abandon packages

It'll be useful to abandon packages, and highlight this on the UI (suggesting a replacement if one is supplied)

@giggsey has this been fixed with #567?

Yup, that'll do


Geofence Benchmark / Tests

Hi,
I would like to know what the limit is for geofences : have you already done a benchmark or tested the limits ?
For example: 1000, 10000, 100000, 100000, with an "in/out" every 1 sec.
I take all the informations,
Thanks

Thanks @tidwall,
We are evaluating tile 38 for geo fencing within our organization.  Can you please answer my questions below.

Geofencing performance can vary greatly due to the complexity and number of geofences and object updates per second.

     How can we scale the tile 38 to handle large numbers of updates?
     What is the sharding strategy of the geofences storage?
     How is computation sharded? Can we increase the number of nodes and expect the throughput increase?

A database that has only a few rectangle geofences and lots of basic GPS lat/lon points can handle a lot more notifications than a database with lots of complex polygon-shaped geofences.

  How can we evaluate a shape as complex or simple?

lots of basic GPS lat/lon points

What do you mean by basic? What else can we have in the updates?

Hi @naveenchlsn,
Tile38 is a single instance database that supports replication. There is one leader instance, but there can be many followers. The leader is the only instance that can accept updates. The followers are read-only. Tile38 can handle 10s to +100s of thousands of point updates per second.

How can we scale the tile 38 to handle large numbers of updates?

Use a fast machine. Also, try to have your clients take advantage of pipelining.

What is the sharding strategy of the geofences storage?

There is no automatic sharding built into Tile38. Sharding is an architectural design decision left up to you.

How is computation sharded? Can we increase the number of nodes and expect the throughput increase?

You can create any number of Tile38 nodes, each managing a different set of points and geofences, but it's entirely up to you how those nodes are managed.

How can we evaluate a shape as complex or simple?

I consider a single point as simple. A shape that has many points, like a political boundary is complex.

What do you mean by basic? What else can we have in the updates?

I mean that the point is just a lat/lon, like: SET fleet truck1 POINT 33 -112.
It's possible to also use stuff like FIELDS, GeoJSON, TTLs, etc. Each of which makes the server to do a little more computation. See the SET command for more details.


[Issue #43] expose Brisket Version on the client

i think your comments are right on - we should have a file (or inline it) with the version and then use the test to enforce that it's up to date


⚠ ClamAV has degraded performance

In 08022fb, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 749 ms

Resolved: ClamAV performance has improved in 1c6aa94.


allow lower-case functions be stateless JSX components

declare function fn(): JSX.Element;
console.log(
<fn />
); // <-- doesn't work

declare function Fn(): JSX.Element;
console.log(
<Fn />
); // <-- works, huh?

Can I ignore case in TypeScript?

Workaround:
declare function fn(): JSX.Element;
const Fn = fn;
console.log(
<Fn />
);

I am sure you know that <fn/> will not work with react transformer right?

IIRC it's part of how JSX works - case of the first letter determines how the tag gets transpiled.

I am sure you know that  will not work with react transformer right?

i am not using react, i only need jsx to work

IIRC it's part of how JSX works - case of the first letter determines how the tag gets transpiled.

a spec?

@aleksey-bykov You can look for a spec just as well as I can, but it is that way because JSX transpilation has to be possible without knowing what symbols exist and which ones don't. If <fn /> refers to the variable fn, div could just as well refer to some global variable called div that the transformer doesn't know about. The transpiler needs to distinguish components from builtins to know what to emit, and without knowing all the symbols and/or all the builtins that exist.

case of the first letter determines how the tag gets transpiled.

JSX spec is ignostic about it : https://facebook.github.io/jsx/
However it matters when transpiling it for react https://facebook.github.io/react/docs/jsx-in-depth.html#user-defined-components-must-be-capitalized. Hence I am sure you know that <fn/> will not work with react transformer right? :rose: I can be wrong of course :heart: @aleksey-bykov which framework are you using? (CycleJS / InfernoJS follow the same React convention)

@jesseschalken
not sure why react or anything else matters, if you think about it JSX came first and thus has nothing to do with react, react has everything to do with JSX
as far as typescript goes, there is no problem to map lower-case functions to components, because it's either a function or a class or a element declared in IntrinsicElements, so no ambiguity
now back to the react agument, if for some reason react isn't happy with lower-case functions, then do not use them if you work with react
a limitation of react should not be a limitation of a technology that react is built upon, should it?
@basarat
i don't use any frameworks, i do --jsxFactory with my custom function

as far as typescript goes, there is no problem to map lower-case functions to components, because it's either a function or a class or a element declared in IntrinsicElements, so no ambiguity

So say I define a toplevel symbol called div with type any. Should all occurrences of
 now transpile to jsxFactory.createElement(div, ...) instead of jsxFactory.createElement('div', ...)? Or say your JSX factory now supports a <fn> element, should all <fn ..> now transpile to jsxFactory.createElement('fn', ...) instead of jsxFactory(fn, ..)?
Even if the ambiguity resultied in an error which you must resolve, I can cause your code not to compile by defining div at the toplevel, and the div intrinsic becomes inaccessible. Not to mention you then have a situation where the addition of toplevel symbols or new intrinsic elements, which should be a backwards compatible change, can break the compilation of existing code.
That's why intrinsics and JSX components are in different namespaces.

according to https://github.com/Microsoft/TypeScript/issues/5478#issuecomment-154583485

stateless functional component: A function of at most three parameters that returns a JSX.Element.
Example: SimpleGreeter

so no, div: any won't result into jsxFactory.createElement(div, ...) it might result to jsxFactory.createElement('div', ...) if there is a div entry in IntrinsicElements
if you have function div(): JSX.Element and interface IntrinsicElements { div: JSX.Element; } then the emit should be jsxFactory.createElement(div, ...)
no ambiguity as far as i see it
breaking change? very unlikely unless you use function a(): JSX.Element and function div(): JSX.Element all over your code... now do you? why?

It's extremely likely that people write things like
let div =
;

which we would then dutifully emit incorrectly.
If you want different semantics about intrinsic vs class emit than React, that's what --jsx preserve and your own transformer are for.


Add ICD information to optimization targets

Could be hidden behind TC mode
Would be especially helpful for multi-opt, so it's easier for the user to determine how much to weigh reaction vs non-reaction damage
Doesn't seem like there is a clean way to do this automatically from the pipeline/datamine, so we will need to manually add it to the character sheets, then figure out how to display it in the UI

Similar to the suggestion in #860
Could add a wiki link at the top of the Multi-Optimization Target popup to the page talking about ICD:
https://genshin-impact.fandom.com/wiki/Internal_Cooldown/Data
This could could be implemented along with #918


following a moving ghosts offsets you from the parent

follow a moving ghost
you will be offset
everytime they rotate you will be moved around
i notice it a lot when adminning when people try to follow me and get offset

This happens server-side so nothing to do with mispredicts. The ghost actually gets an offset local transform relative to the entity followed.


[packer] Revise the implementation

Previous prim_packer focused on to reduce register FF usage. On the side
effect, it creates the timing path from valid_i --> ready_o, ready_i -->
ready_o, and valid_i --> valid_o.
Now the ready_o and valid_i is computed based on the current storage
condition, which results in the valid_o asserting at the next cycle of
valid_i earliest.
Current implementation also doesn't maximize the storage utilization
when mask_i is not full 1.
Note: Debugging HMAC test failure now.

@cindychip Could you please check the scoreboard failure?

Thanks @eunchan  will take a look at the hmac scb now.

This PR is to resolve #2446

assuming i actually read this correctly, this LGTM :)
i have a couple of clarifying comments.

@eunchan do you want to drop a note to @mwbranstad to see if this version solves his problems?

@eunchan do you want to drop a note to @mwbranstad to see if this version solves his problems?

You've pinged Mark already. :) @mwbranstad I think downsizing in prim_packer had an issue and hope this solves it. This also has better timing as no path from valid to ready. But need to check the hmac failure to make sure this doesn't break the sim.

Test is passing. CI failed due to verible lint error.

@sriyerg @msfschaffner the CI (not private one) is failing due to the veriblelint for RTL and DV. Should we , from now, make the CI pass before merge?

Hey @eunchan. Yes we've activated Verible style lint in CI such that we do not always have to go in and clean up afterwards.
Style lint is ususally relatively lightweight and just checks basic things (as opposed to the full semantic lint pass with AscentLint).
In the current CI failure I basically just see two errors:
../src/lowrisc_prim_all_0.1/rtl/prim_packer.sv:66:7: Explicitly define a default case for every case statement. [Style: case-statements] [case-missing-default]

../src/lowrisc_prim_all_0.1/rtl/prim_packer.sv:111:7: Explicitly define a default case for every case statement. [Style: case-statements] [case-missing-default]

Once you fixed those, you should be good to go.

@sriyerg @msfschaffner the CI (not private one) is failing due to the veriblelint for RTL and DV. Should we , from now, make the CI pass before merge?

Preferably yes. The DV lint failure is same as the RTL one (DV sim fusesoc core depends on RTL so lint gets run on RTL again).

OK. Now I am trying to run on my local machine and seeing the latest fusesoc @ python-requirements.txt still not able to run veriblelint correctly...