An PLATO-2 inference error for data pre-process???

I try to use plato to infer a example data with the instrunction of https://github.com/PaddlePaddle/Knover/tree/develop/projects/PLATO-2.
But I encounter an error below. And my code branch is develop and paddle is 2.0.1.
could you give me some help for this issue?
aistudio@jupyter-208728-1765888:~/develop/Knover$ git branch

develop
aistudio@jupyter-208728-1765888:~/develop/Knover$ pip list | grep paddle
paddlehub              2.0.4
paddlenlp              2.0.0rc7
paddlepaddle-gpu       2.0.1.post101
tb-paddle              0.3.6
aistudio@jupyter-208728-1765888:~/develop/Knover$ ./scripts/local/job.sh ./projects/PLATO-2/pretrain/24L_infer.conf

[[ 1 == 1 ]]
job_conf=./projects/PLATO-2/pretrain/24L_infer.conf
source ./projects/PLATO-2/pretrain/24L_infer.conf
++ job_script=./scripts/distributed/infer.sh
++ model=Plato
++ task=DialogGeneration
++ vocab_path=./package/dialog_en/vocab.txt
++ spm_model_file=./package/dialog_en/spm.model
++ infer_file=./data/dailydialog_test_60.tsv
++ data_format=raw
++ file_format=file
++ config_path=./projects/PLATO-2/24L.json
++ init_params=./24L/Plato
++ nsp_init_params=./24L/NSP
++ in_tokens=false
++ batch_size=5
++ log_steps=1
++ log_dir=./log
++ save_path=./output
++ output_name=response
++ infer_args='--ranking_score nsp_score'
export FLAGS_sync_nccl_allreduce=1
FLAGS_sync_nccl_allreduce=1
export FLAGS_fuse_parameter_memory_size=64
FLAGS_fuse_parameter_memory_size=64
mkdir -p ./output
[[ ./log != '' ]]
distributed_args=' --log_dir ./log'
[[ ./24L/NSP != '' ]]
[[ ! -e ./24L/NSP/model ]]
infer_args='--ranking_score nsp_score --nsp_inference_model_path ./24L/NSP'
python -m paddle.distributed.launch --log_dir ./log ./knover/scripts/infer.py --is_distributed true --model Plato --task DialogGeneration --vocab_path ./package/dialog_en/vocab.txt --do_lower_case false --spm_model_file ./package/dialog_en/spm.model --init_pretraining_params ./24L/Plato --infer_file ./data/dailydialog_test_60.tsv --data_format raw --file_format file --config_path ./projects/PLATO-2/24L.json --output_name response --ranking_score nsp_score --nsp_inference_model_path ./24L/NSP --in_tokens false --batch_size 5 --save_path ./output
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
-----------  Configuration Arguments -----------
gpus: None
heter_worker_num: None
heter_workers:
http_port: None
ips: <IP_ADDRESS>
log_dir: ./log
nproc_per_node: None
server_num: None
servers:
training_script: ./knover/scripts/infer.py
training_script_args: ['--is_distributed', 'true', '--model', 'Plato', '--task', 'DialogGeneration', '--vocab_path', './package/dialog_en/vocab.txt', '--do_lower_case', 'false', '--spm_model_file', './package/dialog_en/spm.model', '--init_pretraining_params', './24L/Plato', '--infer_file', './data/dailydialog_test_60.tsv', '--data_format', 'raw', '--file_format', 'file', '--config_path', './projects/PLATO-2/24L.json', '--output_name', 'response', '--ranking_score', 'nsp_score', '--nsp_inference_model_path', './24L/NSP', '--in_tokens', 'false', '--batch_size', '5', '--save_path', './output']
worker_num: None
workers:

WARNING 2021-04-14 12:08:40,192 launch.py:316] Not found distinct arguments and compiled with cuda. Default use collective mode
launch train in GPU mode
INFO 2021-04-14 12:08:40,193 launch_utils.py:471] Local start 1 processes. First process distributed environment info (Only For Debug):
+=======================================================================================+
|                        Distributed Envs                      Value                    |
+---------------------------------------------------------------------------------------+
|                       PADDLE_TRAINER_ID                        0                      |
|                 PADDLE_CURRENT_ENDPOINT                 <IP_ADDRESS>:56451               |
|                     PADDLE_TRAINERS_NUM                        1                      |
|                PADDLE_TRAINER_ENDPOINTS                 <IP_ADDRESS>:56451               |
|                     FLAGS_selected_gpus                        0                      |
+=======================================================================================+
INFO 2021-04-14 12:08:40,193 launch_utils.py:475] details abouts PADDLE_TRAINER_ENDPOINTS can be found in ./log/endpoints.log, and detail running logs maybe found in ./log/workerlog.0
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
{
"is_distributed": true,
"save_path": "./output",
"infer_file": "./data/dailydialog_test_60.tsv",
"output_name": "response",
"log_steps": 1,
"Model": {
"model": "Plato",
"config_path": "./projects/PLATO-2/24L.json",
"init_checkpoint": "",
"init_pretraining_params": "./24L/Plato",
"optimizer": "AdamW",
"learning_rate": 1e-05,
"warmup_steps": 0,
"lr_scheduler": "noam",
"max_training_steps": 2000,
"min_learning_rate": 0,
"weight_decay": 0.0,
"max_grad_norm": 0.1,
"use_recompute": false,
"use_amp": false,
"amp_loss_scaling": 32768.0,
"weight_sharing": true,
"mem_efficient": false,
"use_role": false,
"use_bow": true,
"use_entropy": false,
"pre_encoder_cmd": "d",
"preprocess_cmd": "n",
"postprocess_cmd": "da",
"post_cls_cmd": "n",
"cls_bias": true,
"attention_probs_dropout_prob": 0.1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"initializer_range": 0.02,
"max_position_embeddings": 256,
"latent_type_size": 20,
"num_attention_heads": 16,
"num_hidden_layers": 24,
"type_vocab_size": 2,
"vocab_size": 8001
},
"Generator": {
"min_dec_len": 1,
"max_dec_len": 64,
"decoding_strategy": "topk_sampling",
"temperature": 1.0,
"ignore_unk": true,
"num_samples": null,
"topk": 10,
"topp": 0.9,
"beam_size": 10,
"length_average": true,
"length_penalty": 0.0
},
"Task": {
"task": "DialogGeneration",
"do_generation": true,
"is_cn": false,
"filter_cross_repetition": true,
"nsp_inference_model_path": "./24L/NSP",
"ranking_score": "nsp_score"
},
"Reader": {
"max_src_len": 128,
"max_tgt_len": 128,
"max_seq_len": 256,
"max_knowledge_len": 0,
"knowledge_position": "post_src",
"knowledge_style": "original",
"truncate_first_turn": false,
"file_format": "file",
"data_format": "raw",
"in_tokens": false,
"batch_size": 5,
"position_style": "continuous",
"random_seed": 11,
"shuffle_pool_size": 0,
"sort_pool_size": 65536
},
"Tokenizer": {
"tokenizer": "SentencePieceTokenizer",
"vocab_path": "./package/dialog_en/vocab.txt",
"specials_path": "",
"do_lower_case": false,
"spm_model_file": "./package/dialog_en/spm.model"
},
"run_infer": true
}
W0414 12:08:41.338814  1234 device_context.cc:362] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 11.0, Runtime API Version: 10.1
W0414 12:08:41.343097  1234 device_context.cc:372] device: 0, cuDNN Version: 7.6.
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/math_op_patch.py:298: UserWarning: /home/aistudio/develop/Knover/knover/models/unified_transformer.py:140
The behavior of expression A + B has been unified with elementwise_add(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_add(X, Y, axis=0) instead of A + B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/math_op_patch.py:298: UserWarning: /home/aistudio/develop/Knover/knover/modules/transformer_block.py:113
The behavior of expression A + B has been unified with elementwise_add(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_add(X, Y, axis=0) instead of A + B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/math_op_patch.py:298: UserWarning: /home/aistudio/develop/Knover/knover/modules/transformer_block.py:213
The behavior of expression A + B has been unified with elementwise_add(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_add(X, Y, axis=0) instead of A + B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/utils.py:77: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
return (isinstance(seq, collections.Sequence) and
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/math_op_patch.py:298: UserWarning: /home/aistudio/develop/Knover/knover/modules/generator.py:225
The behavior of expression A * B has been unified with elementwise_mul(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_mul(X, Y, axis=0) instead of A * B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/math_op_patch.py:298: UserWarning: /home/aistudio/develop/Knover/knover/modules/generator.py:225
The behavior of expression A / B has been unified with elementwise_div(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_div(X, Y, axis=0) instead of A / B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/math_op_patch.py:298: UserWarning: /home/aistudio/develop/Knover/knover/modules/generator.py:255
The behavior of expression A * B has been unified with elementwise_mul(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_mul(X, Y, axis=0) instead of A * B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/layers/math_op_patch.py:298: UserWarning: /home/aistudio/develop/Knover/knover/modules/generator.py:255
The behavior of expression A - B has been unified with elementwise_sub(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_sub(X, Y, axis=0) instead of A - B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
Loading model from ./24L/Plato.
Load pretraining parameters from ./24L/Plato
Traceback (most recent call last):
File "./knover/scripts/infer.py", line 140, in
infer(args)
File "./knover/scripts/infer.py", line 81, in infer
predictions = task.infer_step(model, data)
File "/home/aistudio/develop/Knover/knover/core/task.py", line 46, in infer_step
outputs = self._post_process_infer_output(predictions)
File "/home/aistudio/develop/Knover/knover/tasks/dialog_generation.py", line 162, in _post_process_infer_output
return self._post_process_generation_output(predictions)
File "/home/aistudio/develop/Knover/knover/tasks/dialog_generation.py", line 91, in _post_process_generation_output
get_nsp_score_batch(self.nsp_predictor, predictions)
File "/home/aistudio/develop/Knover/knover/tasks/dialog_generation.py", line 404, in get_nsp_score_batch
outputs = nsp_predictor(data)
File "/home/aistudio/develop/Knover/knover/utils/inference_utils.py", line 44, in predict
return_numpy=True)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1110, in run
six.reraise(*sys.exc_info())
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/six.py", line 703, in reraise
raise value
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1108, in run
return_merged=return_merged)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1238, in _run_impl
use_program_cache=use_program_cache)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 1313, in _run_program
fetch_var_name=fetch_var_name)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 624, in _add_feed_fetch_ops
if not has_feed_operators(global_block, feed, feed_var_name):
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/executor.py", line 280, in has_feed_operators
format(feed_target_name))
Exception: 'feed_targets' does not have label_pos variable
INFO 2021-04-14 12:08:55,230 launch_utils.py:307] terminate all the procs
ERROR 2021-04-14 12:08:55,230 launch_utils.py:545] ABORT!!! Out of all 1 trainers, the trainer process with rank=[0] was aborted. Please check its log.
INFO 2021-04-14 12:08:58,233 launch_utils.py:307] terminate all the procs

exit_code=1
[[ 1 != 0 ]]
rm './output/.finish'
rm: cannot remove './output/.finish': No such file or directory
exit 1
aistudio@jupyter-208728-1765888:~/develop/Knover$

This issue might be help. I will update model link soon.
https://github.com/PaddlePaddle/Knover/issues/44

The model links have updated. You can remove the __model__ under 24L/NSP directly and re-run the inference job.

it works now! Thanks for your quick fix.


Cleaning map data

I think std::map already protects sufficiently from name collisions, especially in the absence of using clauses.
In terms of namespaces, I think I'd prefer an entire API being wrapped in a namespace, rather than individual modules within the API. I think that's more inline with standard practice, plus it's probably wise not to get too carried away with namespaces. Namespaces are one of the weak points of C++, in that it's not really a proper module system.

I would recommend naming the folder after the main data structure in it. If that's MapData, I can live with that.


Question: Usage of DaisyUI

Hi there
Thanks for this amazing project. I have just started using TailwinddCSS and learning it and are using DaisyUI components, which are awesome.
I'd like to intergrate them into grapeGS or perhaps is it something you are already planning.
Thank you so much.

Same question, I also use DaisyUI and think it would benefit from GrapesJS

Hi guys, just had a look at DaisyUI, pretty awesome project,  would be interested in working on an integration, also happy to assist if you've already taken the initiative.

Wow... thanks for reverting back. I've never used grapeJS before and will have to learn how to use it first with anything and then apply what I learned. @Ju99ernaut, you seem to have a well organized machine here and experience. Awesome.

Basically we want daisyUI in the canvas.
In index.html
grapesjs.init({
          canvas: {
            styles: [
<EMAIL_ADDRESS><EMAIL_ADDRESS>            ],
          },
          height: '100%',

works for me.
I started from scratch, just to learn how to do, so I can't PR.


WIP feat: update jupyterhub to 1.0.0

This is an attempt to upgrade JupyterHub version to 1.0.0
It seems to solve an annoying problem with hanging pods (SwissDataScienceCenter/renku-ui#361) that has been bothering us for a while. Basically, the eviction policy now works correctly on pending pods after the timeout (here reduced to 5 minutes).
This update seems to add a new security feature that pops up an "Authorize acces" page to the user when he logs in. We probably want to get rid of this.
Preview available here: https://lorenzotest.dev.renku.ch

P.S. mind that this update requires to upgrade the DB https://zero-to-jupyterhub.readthedocs.io/en/latest/upgrading.html#database
fix #183

@ableuler after checking the documentation thoroughly (and trying a couple of solutions) without identifying how to hide this message, I asked in the gitter chat and they answered me they are already working on this feature. The idea is to provide a whitelist variable where you can list all the services automatically authorized without requiring explicit confirmation.
I would say we can wait to upgrade until this is available (I'll add a reference to the relevant issue on the JupyterHub repo as soon as I identify it -- they told me there is one already but I couldn't find it)

It seems that the authorize access message con be easily removed in a future JH release thanks to this jupyterhub/jupyterhub#2767
I'll get back to this problem soon -- maybe it worth to wait until the version 1.1 is released jupyterhub/jupyterhub#2830

great news, thanks for keeping up with it @lorenzo-cavazzi!

I close this in favor of another PR going to introduce JH 1.1.0


docs: update homepage with AI, Linked Data, and MDX fundamentals

Updates the mdxld.org homepage and documentation to explain:

AI's relationship with Markdown
Linked Data integration (JSON-LD/YAML-LD)
MDX's four fundamental elements
$type's role in providing context

Link to Devin run: https://app.devin.ai/sessions/d23f39338378426c9afcb4262c5f5c16

📝 Changed routes:

…s/features/linked-data
/docs/features/yaml-ld

(view full size)
(view full size)

/docs

(view full size)

Commit e0948931a1b6cf6c0232e51e8fb12f42f25cee2e (https://mdxld-bptnfcgpw.dev.driv.ly).


trigger rule for matching a parameter to a value from a file?

basically what I want to do is to store a secret key in a file that webhook would read, then compare that value to a header on the incoming webhook.
Is there a way to do that? Is there another way to do it with some other method, without hard-coding the value of the token in the hooks.json file?

webhook doesn't provide an easy way to do that, currently.  Could be possible to write your own solution with https://github.com/adnanh/webhook/issues/356 once it's completed.

Two alternatives come to mind that you could use currently:

Set up your hook to call a wrapper that checks the headers for the secret key, which it can read from the file when the hook fires.

Enable hot reloading of the hooks file and have a script that transforms a base template of it by adding a comparison requirement.


Question about Tableau Server Topology

Hi, I am doing a POC of deploying Tableau Server with k8s. I was able to get the single node set up pretty fast using single-node.yml so thank you a lot for that! For the multi-node, what values are expected for <TABLEAU SERVER TOPOLOGY> ? Could you provide an example? Thanks so much!
https://github.com/tableau/tableau-server-in-kubernetes/blob/main/templates/three-node.yml#L27-L30
      "topologyVersion" : {
        "nodes" : {
          <TABLEAU SERVER TOPOLOGY>
        }

@LiChangNY Off-topic, but what version of tableau are you using? I tried using single-node.yml on EKS but initializing the topology is failing.

Never mind, I found an example https://github.com/tableau/server-install-script-samples/blob/master/windows/tsm/SilentInstaller/config.template.json#L26


Manage icons colors in themes

Thanks for your review, it should be betteer now :)
By the way, I removed menuButton from themes.js, it's not used.

Thanks for removing menuButton, looks like I started doing what you did here but never finished :)


Buttons_

Make sure you pull our main branch into your fork from next time onward, Merging this PR under #1


adding PDF support

I'll add the test case once we confirm with the changes, but it's already tested under langroid-example

I think it's better to add pdf-handling ability to DocChatAgent. I will take look tmr. In any case lint (ruff) is failing here. I don't know how the pre-commit hook allowed it.

My thought was to have a dedicated loader/parser for PDF and avoid overloading RepoLoader and URLLoader for future usage. But I am happy to work on that if you feel it's better to give DocChatAgent PDF handling capability.

Yes it’s best to expand the types of docs DocChatAgent can handle , so that a user of this class doesn’t need to change any code to handle pdfs
On Jul 19, 2023 at 9:39 PM -0400, Mohannad Alhanahnah @.***>, wrote:

My thought was to have a dedicated loader/parser for PDF and avoid overloading RepoLoader and URLLoader for future usage. But I am happy to work on that if you feel it's better to give DocChatAgent PDF handling capability.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because your review was requested.Message ID: @.***>

Sounds good, I'll make the necessary changes by tmro


half-way to an bridge optimization

@adaki2004 please keep working on this PR

@adaki2004 feel free to continue working on this PR and merge


Create PrometheusHA workbook

Added v2.0 workbook
PR Checklist

[ ] Explain your changes, so people looking at the PR know what and why, the code changes are the how.

If adding or updating templates:

[ ] post a screenshot of templates and/or gallery changes
[ ] ensure your template has a corresponding gallery entry in the gallery folder
[ ] If you are adding a new template, add your team and template/gallery file(s) to the CODEOWNERS file. CODEOWNERS entries should be teams, not individuals
[ ] ensure all steps have meaningful names
[ ] ensure all parameters and grid columns have display names set so they can be localized
[ ] ensure that parameters id values are unique or they will fail PR validation (parameter ids are used for localization)
[ ] ensure that steps names are unique or they will fail PR validation (step names are used for localization)
[ ] grep /subscription/ and ensure that your parameters don't have any hardcoded resourceIds or they will fail PR validation
[ ] remove fallbackResourceIds and fromTemplateId fields from your template workbook or they will fail PR validation

@Hiren @.> and @Dhruv @.> - can you please help with this?
-Archana
From: Ross Sponholtz @.>
Sent: Thursday, April 28, 2022 6:51 PM
To: microsoft/Application-Insights-Workbooks @.>
Cc: Archana Katiyar @.>; Comment @.>
Subject: Re: [microsoft/Application-Insights-Workbooks] Create PrometheusHA workbook (PR #1879)
@rsponholtz commented on this pull request.

In Workbooks/SapMonitor2.0/PrometheusHaCluster/PrometheusHaCluster.workbookhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FApplication-Insights-Workbooks%2Fpull%2F1879%23discussion_r860881126&data=05|01|Katiyar.Archana%40microsoft.com|8d4d2c4585dc4f69ad5508da2919f917|72f988bf86f141af91ab2d7cd011db47|1|0|637867488801338853|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=EaQY4v35ennNUPVSjh1YeElO%2FC9O97HyoxocelTMBV4%3D&reserved=0:

       "value": "PrometheusHaCluster",

       "timeContext": {

         "durationMs": 86400000

       }

     },

     {

       "id": "92e2c347-22df-4b92-9de7-54a4088c3929",

       "version": "KqlParameterItem/1.0",

       "name": "param_provider_instance",

       "type": 1,

       "value": "HACLUSTER"

     }

   ],

   "style": "pills",

   "queryType": 0,

   "resourceType": "microsoft.hanaonazure/sapmonitors"

comparing to the OS workbook, it looks like this should be
"resourceType": "microsoft.operationalinsights/workspaces",
Do you agree?

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FApplication-Insights-Workbooks%2Fpull%2F1879%23discussion_r860881126&data=05|01|Katiyar.Archana%40microsoft.com|8d4d2c4585dc4f69ad5508da2919f917|72f988bf86f141af91ab2d7cd011db47|1|0|637867488801388854|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=00BzuGbnDwM1vAbsS6Z0EIQpG8FqcUpspBpJ1iOAfVw%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFRCAAZGRE5AT5UNZSQKUKTVHKGEVANCNFSM5URJHRTQ&data=05|01|Katiyar.Archana%40microsoft.com|8d4d2c4585dc4f69ad5508da2919f917|72f988bf86f141af91ab2d7cd011db47|1|0|637867488801388854|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=AsOGokEq8R5OY0URDOBHnGPF3q27CJQiASYqeMQuuL4%3D&reserved=0.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>

You've got the wrong @dhruv again.


Change center position of map.Map in real-time.

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the requested feature
I want to programmatically change the center position of map.Map in real-time.
I changed the initial_center value in the map.Map.configuration and called update(), but the center position of the map did not move and remains the same.
Is there a way to change the center of the map in real-time? If not, I would like to request this feature.
Suggest a solution
No response
Screenshots
No response
Additional details
No response

I also faced this issue


License file for this repo?

What is the license?

Thanks for catching that, completely forgot to add one.
All my repos that are spun off from Homebrew's core stuff share that repo's license: BSD 2-Clause.


authentication issue

I am encountering a "405 Method Not Allowed" error when clicking on the "Sign Up" and "Login" buttons.
I would like to solve this issue .Please assign to me.

i have solved this issue .

Please reply me.


Port special logic for Norwegian language from C++ to Java

The "no.sor" file represents inclusive ISO 639-1 language code "no".
Individual codes are "nb" for "Bokmål" and "nn" for "Nynorsk", and
they weren't supported in Java.

Thanks for the improvement! László


Specify required Rust version in README.md

@sphinxc0re, Rust version details have been added to the README. Thanks!


Unable to use project after Data Tools add-on adding

TC:

Clone the project
Add the data tools add-on
Start the app

AR:
unable to open any screen, most of the messages are displayed incorrectly:

after re-logining there is an exception in server log:

Can't reproduce


feat: Add supported network logos

What it solves
Resolves #1
How to test

Open the landing page
Find "Gnosis Safe Supports" section with network logos in the Overview page

Screenshots

Please, do not squash and merge, but rebase and merge instead

Please, do not squash and merge, but rebase and merge instead

No, for regular PRs you should squash.

Hola señores, alignment seems a bit off on mobile & with narrow resolutions in general:

Should we maybe do some center alignment for this cases?
Also, it expected to not include test nets on this list, right?
Gracias :)

Hola señores, alignment seems a bit off on mobile & with narrow resolutions in general.
Should we maybe do some center alignment for this cases?
Also, it expected to not include test nets on this list, right?
Gracias :)

Hey Jago, thanks for testing! I removed the whitespace in some of the logos so that they are center-aligned now.

Thank you Usame! Unfortunately going smaller than 960px horizontally the center-alignment is still going a bit off for me:

If we could match the icons vertically with the ones present in this section here I think it would be perfect:

& on mobile (I have an iphone 13 pro) now it looks like this for me:

A bit of a tricky one

Looking hella fine now, thank you @usame-algan :pepe-king:


Resolve security issue for CI/CD: secure transfer to storage accounts should be enabled.

Highlight tech issues:

OL 7.3, 7.4 does not support SMB 3.0
https://docs.microsoft.com/en-us/azure/storage/common/storage-require-secure-transfer

AB#1330008

We discussed this at the 2021-05-19 meeting and agreed to the following.

Move the jobs from the Microsoft tenancy to the Oracle tenancy
Turn everything to be on-demand.

To implement this, we must

Give Jacob a new Azure credentials bound to the Oracle tenancy
Modify all the build.yamls to remove the schedule trigger.

Current SP is expired, so all the pipelines are failed. I will not create a new one in Open Standard Enterprise Java Testing with TTL = 7 Days. Please change to Oracle tenancy SP.

PRs:
Single Node: https://github.com/wls-eng/arm-oraclelinux-wls/pull/320
Admin: https://github.com/wls-eng/arm-oraclelinux-wls-admin/pull/107
Dynamic Cluster: https://github.com/wls-eng/arm-oraclelinux-wls-dynamic-cluster/pull/138


Support abstract unix pipes in ipc://

Normal implementations support @ symbol in ipc, for exmaple<EMAIL_ADDRESS>That means abstract unix pipe. go-nanomsg crashes with that. Abstract sockets, the C-way: "ipc://\x00/tmp/blah.ipc" kindof work - but the /tmp/blah.ipc is ignored and it's treated as abstract socket without a name: "@"

What are you trying to do? Unless this is supported by libnanomsg, it. I'd suggest to file this bug against nanomsg. I haven't work with abstract pipes, but it looks like it's Linux only too?

Abstract pipes are indeed Linux specific.

@gdamore Thanks. Do nanomsg support it?

Not explicitly.  I’m not sure what additional effort besides a special path
name would be necessary to make it function more fully than that.
On Mon, Sep 26, 2016 at 1:34 PM, Örjan Persson<EMAIL_ADDRESS>wrote:

@gdamore https://github.com/gdamore Thanks. Do nanomsg support it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/op/go-nanomsg/issues/23#issuecomment-249689062, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABPDfSFiccRIpjwTuEaPdDAY4wMT2W1lks5quCw5gaJpZM4DsWl4
.

Looking at it, no, these are not supported.  It would be relatively easy to
fix that.
On Mon, Sep 26, 2016 at 1:42 PM, Garrett D'Amore<EMAIL_ADDRESS>wrote:

Not explicitly.  I’m not sure what additional effort besides a special
path name would be necessary to make it function more fully than that.
On Mon, Sep 26, 2016 at 1:34 PM, Örjan Persson<EMAIL_ADDRESS>wrote:

@gdamore https://github.com/gdamore Thanks. Do nanomsg support it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/op/go-nanomsg/issues/23#issuecomment-249689062, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABPDfSFiccRIpjwTuEaPdDAY4wMT2W1lks5quCw5gaJpZM4DsWl4
.

@gdamore Wow, thanks for looking into it! Don't sweat it, closing this issue since there doesn't seem like a big demand for the feature. ;)


Whisper Prompt and Response Format

Hey there,
Was looking at the CreateTranscription and noticed there isn't an option to set prompt or response_format. I'll attempt to add locally but wanted to check to see if I'm just missing where that option might already be able to be set. I don't see it conditionally in the form part creation but thought I would check.

I have this working locally but had to add an alternative sendRequest to api.go also to allow for raw (non JSON) response. Probably not in a good PR state. I feel a little hacky using a different request chain if the response format isn't JSON.

This is being addressed here https://github.com/sashabaranov/go-openai/pull/267 - probably quite similar to what you have implemented... but I think this is probably ok given that the API provides a response that is intended to be written directly to file.


SimpleChannelPromiseAggregator use first exception instead of last

Motivation:
SimpleChannelPromiseAggregator implements the promise API and allows for
multiple operations to share a common promise. It currently propagates
the last exception to occur, but this may mask the original exception
which lead to the last exception and make debugging more difficult.
Modifications:

SimpleChannelPromiseAggregator propagates the first exception instead
of the last exception.

Result:
Fixes https://github.com/netty/netty/issues/11161.

build failure attributed to https://github.com/netty/netty/issues/11169


Adding Gradio, notebook, inference script and added packages to the e…

Adding Gradio, notebook, inference script and added packages to the environment.yml
Packages:

gradio
spaces
wandb
av
opencv-python
bitsandbytes

Minor changes to the Text in the Gradio UI.

Hi, thanks for your interest. What's the difference between this gradio app and the demo we provided? And what's the difference between this inference code and this quantitative inference code?

Thank you for the response, the main contribution is for someone to:

effortlessly run the Gradio app locally (thanks to the supported Quantization).
The inference script I added in the scripts folder is directly adapted from the quantitative inference code, again to facilitate easy local testing of the model developments as they progress.

I believe this is Repo presents a great work thus it would be best if more people could play around, build upon and contribute.

Thanks. I think you can add the quantization-related code to the sample_t2x.py file. I'll merge this with it if the tests pass.

@LuthandoMaqondo, thank you very much for your PR. However, since we have already provided a Gradio app ourselves, we feel that it might not be necessary if the Gradio app you provided isn't significantly different from ours. I think you could consider developing a ComfyUI for Latte if you are willing to do so.


conv2d

library and example for 2D convolutional implemented in similar way as 1D
The example is trained on the famous MNIST handwritten digit dataset, but just using a subset of the image to keep the network small (see this repo).  The architecture is 8x8 conv2d with 1 channel and 2 filters -> relu -> dense with 10 outputs -> softmax.  With 32-bit fixed point numbers, the relative agreement with Keras is at the level of 10E-5 for the 10 outputs of the first sample before the softmax.  After the softmax, it degrades quite a bit, but this is not specific to conv2d and can be followed up on separately.
With 18-bit fixed point numbers and reuse=1, it uses 1803 DSPs and 16 200 MHz clocks.
Next steps:

the multiplier limit is ready for a compressed model, but this hasn't been tested
the flatten function has been tested, but unflatten has not, which would be useful for architectures with multiple conv2d layers
serial mode not implemented, similar to conv1d
max pooling
update hls-writer to do the translation

Added conv2d support similar to conv1d support to hls_writer.py
Looking at this a bit closer while updating for Conv2D, I note that not all orderings of Dense, Conv1D, and Conv2D are currently supported.  It expects Dense->Dense, Conv1D->Conv1D, Conv1D->Dense, Conv2D->Conv2D, or Conv2D->Dense.   Also it expects the final layer to be Dense.  I would think these are the typical cases, but we should probably print some errors for the other cases at the very least.

@benjaminkreis going through the PR now... in the meantime, what do you want to add to close this PR?  Nothing?  Or at least errors on which Conv1D/2D layers are not supported (we can also do in another PR)?

I think this one is ready to go.  Can add more in future PRs

performed unit test, and had a look at the code -- looks good.


KernelExplainer not thread-safe

from concurrent.futures import ThreadPoolExecutor

import numpy as np
from sklearn.svm import LinearSVC
from shap import KernelExplainer

s = np.random.RandomState(1)
N = 10
x = s.random((200, N))
y = x.sum(axis=1) > (N//2)

svc = LinearSVC()
svc.fit(x, y)

ke = KernelExplainer(svc.decision_function, x[0:5])

print(ke.shap_values(x[0:10]))

with ThreadPoolExecutor(10) as tpe:
    res = list(tpe.map(ke.shap_values, [x[0:10]] * 10))

  File "/Users/X/.pyenv/versions/flow-venv-3.9/lib/python3.9/site-packages/shap/explainers/_kernel.py", line 190, in shap_values
    explanations.append(self.explain(data, **kwargs))
  File "/Users/X/.pyenv/versions/flow-venv-3.9/lib/python3.9/site-packages/shap/explainers/_kernel.py", line 324, in explain
    self.addsample(instance.x, mask, w)
  File "/Users/X/.pyenv/versions/flow-venv-3.9/lib/python3.9/site-packages/shap/explainers/_kernel.py", line 508, in addsample
    self.kernelWeights[self.nsamplesAdded] = w
IndexError: index 1022 is out of bounds for axis 0 with size 1022

@Zahlii Thanks for the report. Do you need to use threads? I have to note that using threads in python will not boost the performance significantly. I suggest you to use ProcessPoolExecutor and see if the error persists.

Well my use case is serving a ML model from a threaded Webserver. Many steps are implement in numpy or C code which don’t block the GIL and hence are nearly 100% parallelizable. As such, kernel explainer would very much benefit from being Thread safe, especially since you could also use multi threading to speed up the explanations themselves

@Zahlii I had this issue too when using shap+flask. My solution was using rabbitmq. That is more of a workaround I agree.
Would you be interested in making PR?
@thatlittleboy Maybe you could have a look at this issue.


versions after 2.22.2 don't seem to work with my save and load answers

Describe the bug
When using any version of the AssemblyLine after v. 2.22.2 (2.22.2 works well) causes the program to timeout and crash the server....when a user saves or loads an answer set. Sometimes answer sets can be saved, but never can they be loaded without crashing the server. Quinten thought it might be tied to sql objects in my interviews like judges and db_attorneys. Removing those from the saved answers did  not seem to matter.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Information (should be in your.docassemble.server/updatepackage:

Docassemble Version: 1.4.103
AssemblyLine Version: 2.22.2 works as it should, all later versions do not.

Additional context
Add any other context about the problem here.

If I try to upgrade ALDocument past 2.22.2 then the program loads but will not complete the task of assembling a document, as it times out and crashes the server (locking it up so you can't SSH in to the container) and have to do a container (not just the docker container but the entire AWS instance) shutdown and restart if you don't kill the program almost immediately.
Nonprofittechy Wrote Notes:
Is this due to a problem with saving or loading a snapshot? [Timing isn't clear]
Michael reports it happens even with the background processing of the document in place, so it's not just slow, it might be an infinite loop?
We couldn't spot any changes in 2.22.2 to 2.23.0 or 2.24.0 that would explain slower document assembly or add a potential for an infinite loop

Nonprofittechy wrote "Great, I guess we know it's something to do with the specific variables that are being saved. Just a thought: perhaps it's a problem with saving the SQL Objects, like judge, etc?"

by adding "judge" to the excluded list of variables, I was able to get it to save an answer set without crashing or hanging. However, attempting to load that newly saved answer set still caused the program to hang indefinitely. NOTE that I also chose to not have an attorney on the other side (other_parties[0].attorney) to simplify the test....so no FloridaAttorney was present in the test variables saved.


feat(ColorMode): correct background-current from useColorMode hook

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [ABC-123]
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

📬Published Alpha Packages:@codecademy/gamut-icons@7.8.1-alpha.f7566a.0@codecademy/gamut-illustrations@0.32.1-alpha.f7566a.0@codecademy/gamut-kit@0.6.208-alpha.f7566a.0@codecademy/gamut-labs@33.5.4-alpha.f7566a.0@codecademy/gamut-patterns@0.8.14-alpha.f7566a.0@codecademy/gamut-styles@14.0.5-alpha.f7566a.0@codecademy/gamut-tests@4.0.13-alpha.f7566a.0@codecademy/gamut@50.6.7-alpha.f7566a.0@codecademy/markdown-overrides@0.9.11-alpha.f7566a.0@codecademy/monaco@0.6.89-alpha.f7566a.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6335b4384b5f19433f76aacc--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@7.8.1-alpha.22d3ab.0@codecademy/gamut-illustrations@0.32.1-alpha.22d3ab.0@codecademy/gamut-kit@0.6.208-alpha.22d3ab.0@codecademy/gamut-labs@33.5.4-alpha.22d3ab.0@codecademy/gamut-patterns@0.8.14-alpha.22d3ab.0@codecademy/gamut-styles@14.0.5-alpha.22d3ab.0@codecademy/gamut-tests@4.0.13-alpha.22d3ab.0@codecademy/gamut@50.6.7-alpha.22d3ab.0@codecademy/markdown-overrides@0.9.11-alpha.22d3ab.0@codecademy/monaco@0.6.89-alpha.22d3ab.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6335c18a7041fe005ca8a015--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@7.8.1-alpha.af4098.0@codecademy/gamut-illustrations@0.32.1-alpha.af4098.0@codecademy/gamut-kit@0.6.208-alpha.af4098.0@codecademy/gamut-labs@33.5.4-alpha.af4098.0@codecademy/gamut-patterns@0.8.14-alpha.af4098.0@codecademy/gamut-styles@14.0.5-alpha.af4098.0@codecademy/gamut-tests@4.0.13-alpha.af4098.0@codecademy/gamut@50.6.7-alpha.af4098.0@codecademy/markdown-overrides@0.9.11-alpha.af4098.0@codecademy/monaco@0.6.89-alpha.af4098.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6335c49b4bed440a41142904--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@7.8.1-alpha.d2a31c.0@codecademy/gamut-illustrations@0.32.1-alpha.d2a31c.0@codecademy/gamut-kit@0.6.208-alpha.d2a31c.0@codecademy/gamut-labs@33.5.4-alpha.d2a31c.0@codecademy/gamut-patterns@0.8.14-alpha.d2a31c.0@codecademy/gamut-styles@14.0.5-alpha.d2a31c.0@codecademy/gamut-tests@4.0.13-alpha.d2a31c.0@codecademy/gamut@50.6.7-alpha.d2a31c.0@codecademy/markdown-overrides@0.9.11-alpha.d2a31c.0@codecademy/monaco@0.6.89-alpha.d2a31c.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://633afda30343dc086eebeb90--gamut-preview.netlify.appDeploy Logs

Thanks so much for tackling this. Have two questions (one is a comment in the code) and the other is should we be seeing the beige color in storybook on desktop as well?

i wrapped this example in a beige background so it should be seen here!

🚀 Styleguide deploy preview ready!https://633b3a0318b80c29384d1d1a--gamut-preview.netlify.appDeploy Logs


Added support for parsing concatenated messages

It is often then case that multiple IPFIX messages are concatenated
together into the payload of a single packet. Added a buffer iterator
which can be used to parse buffers containing multiple messages.

Technically this is probably fine, but I'm unconvinced of the API. What's the advantage of the iterator thing over just returning a slice of messages, or appending messages into a caller passed slice?

It could be useful in this case
for iter.Next() {
   if msg, err = ipfix.ParseBufferIter(iter); err == nil {
      go performSlowOperation(msg)
   }
}

Maybe this is a bit of a stretch. I have no strong opinon and I can change it to the 'return slice of messages' if you like.

Yeah, I think something like a ParseBufferAll([]byte) ([]Message, error) would be cleaner.


2.0 - Observer Method not called when used in iron-list

I've following component:
   Polymer({
        is: "mcc-image",
        properties: {
            imageName: { type: String, observer: '_loadimage' },
            language: String,

This component is used in a iron-list like this:
      <mcc-image image-name="[[item.Material.ImageName]]"

I've attached a breakpoint in the Method "_loadimage", but every time the method is hit, the value of this.imageName is undefined!
If I now select my "mcc-image" in chrome, and look via console $0.imageName, the image name is set, means my observer is not called.
This worked with the preview Version before!

duplicate of https://github.com/Polymer/polymer/issues/4601


Shows incorrect deployment status 🔴

There seems to be some issues with the deployment status in the Sanity dashboard.
What happens
The build is initiated from Sanity.

The build process is properly starting on Vercel.

The build successfully finishes on Vercel.

Dashboard shows an error status.

console.log

I'm using Safari on macOS.

@eivindml interesting, I haven't seen this before. When you created the deployment instance in Sanity, what was the default status before you clicked "Deploy"?
Usually, if you see the "error" state, that means something is not correctly set up with the deployment (either the project name, deploy hook URL, or Vercel token).

@eivindml interesting, I haven't seen this before. When you created the deployment instance in Sanity, what was the default status before you clicked "Deploy"?
Usually, if you see the "error" state, that means something is not correctly set up with the deployment (either the project name, deploy hook URL, or Vercel token).

I also just tested an instance in Safari and am not able to replicate the issue you're having 😬

I also just tested an instance in Safari and am not able to replicate the issue you're having 😬

I added another deployment now, and checked that everything is right, and it's deploying everything correctly, but status is still showing incorrectly.
I saw there was another issue with support for Vercel teams, and this deployment is also being deployed to a team. I create a new team for each of my clients.

I added another deployment now, and checked that everything is right, and it's deploying everything correctly, but status is still showing incorrectly.
I saw there was another issue with support for Vercel teams, and this deployment is also being deployed to a team. I create a new team for each of my clients.

@eivindml that would do it! Teams are not supported at the moment due to the different API endpoint requirements.
This is a priority though, so I'll have an update soon!

@eivindml that would do it! Teams are not supported at the moment due to the different API endpoint requirements.
This is a priority though, so I'll have an update soon!

@eivindml Team support is now live! ✨
Grab the latest version on NPM


Added ability to cache QBChatDialog custom data

I'am actively using custom data attached to QBChatDialog and it would be great if you will add ability to cache it.

Hi @OgrePet
I see that everything's good, but I can not test your changes in master repo.
Please recreate pull request to the development branch.
Thanks!

https://github.com/QuickBlox/q-municate-services-ios/pull/175


Changes for adding gateway mode in batch API

Changes contains adding batch operation when getting the Http method and adding batch operation to make the request a feed request.
Signed-off-by: Rakesh Kumar<EMAIL_ADDRESS>Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please delete options that are not relevant.

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

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
Assignee
Please add yourself as the assignee
Porjects
Please add relevant projects so this issue can be properly tracked.

Please add UT in cosmos test project.

Please also add UT to adder that OperationType.IsWriteOperation is true for batch (existing gap).


Fix up Synapse benchmark

https://docs.sciml.ai/SciMLBenchmarksOutput/dev/HybridJumps/Synapse/
Continuing from https://github.com/SciML/SciMLBenchmarks.jl/pull/673 and https://github.com/SciML/SciMLBenchmarks.jl/pull/672
It looks like it built funny this time and someone needs to take a look at it. @gzagatti can you check that the manifest is using the right branch?
@isaacsas

Looks like the Hawkes one has issues too: https://docs.sciml.ai/SciMLBenchmarksOutput/dev/Jumps/MultivariateHawkes/
Also, why did Synapse appear under the Jumps category too? It seems like it ran there?

No, that's the old markdown. When a benchmark moves I have to manually delete the old one. I just did that earlier before posting so it'll take a few hours before the new build shows it removed from the old section.

The manifest of HybridJumps was indeed the culprit.
To get things working, I downgraded OrdinaryDiffEq from 6.55 back to 6.20 and IntervalSets from 0.7.7 back to 0.7.3. Now, the benchmarks can run until the end. I have opened PR #714 to track the solution.
It is not clear to me what changed in OrdinaryDiffEq to cause the Return code = DtLessThanMin that prevented the synapse benchmark to complete in your latest change.
To be honest, previously there were a few runs of PDMP which were unstable raising either one of the following warnings:
┌ Warning: Instability detected. Aborting
└ @ SciMLBase ~/.julia/packages/SciMLBase/l4PVV/src/integrator_interface.jl:606

Or:
┌ Warning: The simulation did not reach requested simulated time.
└ @ Synapse ~/.julia/packages/Synapse/cEAkz/src/Solve.jl:236

So could it be that the new version of OrdinaryDiffEq is more strict?
Next, I downgraded IntervalSets because it was having issues with DomainSets.
┌ DomainSets [5b8099bc-c8ec-5219-889f-1d9e522a28bf]
│  WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.A
bstractInterval{T} where T) in module IntervalSets at /home/guilherme/.julia/packages/IntervalS
ets/6RTOk/src/IntervalSets.jl:144 overwritten in module DomainSets at /home/guilherme/.julia/pa
ckages/DomainSets/aafhp/src/domains/interval.jl:52.
│    ** incremental compilation may be fatally broken for this module **
└

However, I don't think that IntervalSets is the main culprit here.
Finally, the Hawkes benchmark didn't build correctly again. It looks like there was a problem precompiling PiecewiseDeterministicMarkovProcesses.
Error: Failed to precompile PiecewiseDeterministicMarkovProcesses [86206cdf
-4603-54e0-bd58-22a2dcbf57aa] to "/cache/julia-buildkite-plugin/depots/5b30
0254-1738-4989-ae0a-f4d2d937f953/compiled/v1.9/PiecewiseDeterministicMarkov
Processes/jl_Yer1rM".

I just updated the whole Manifest and it now completes successfully.

Can you make an MWE?

After some digging, I think the problem is with IntervalSets after all. See my comment on the PR.


CODEOWNERS: sig-clustermesh additionally owns clustermesh-related GHA workflows and helm templates

As the sig-clustermesh team may be interested in reviewing them, to avoid depending on and requiring other folks to explicitly ping them.

/cc @cilium/sig-clustermesh

Rebased onto main to drop the documentation fix commit already merged as part of https://github.com/cilium/cilium/pull/29669

Reviews are in, marking ready to merge.


FADED calls are published on mission change/restart

When the mission restarts/changes, a FADED call is published for all of the contacts that were airborne at the end of the previous session. Ideally we should clear those trackfiles without publishing them.

Hopefully fixed by #266


Create new Project with CloudResourceManager API

Hi there,
I was taking a look at https://github.com/google/google-api-go-client/blob/master/cloudresourcemanager/v1/cloudresourcemanager-gen.go, and it doesn't look like there's currently a function to create projects via the API.
It looks like it's present in the Ruby lib, but how can I create a project using the Go SDK?
I'm happy to contribute, but it looks like a lot of this is codegen, so I'm not sure where to go.

Try the v1beta1 version, which contains this functionality:
https://github.com/google/google-api-go-client/blob/master/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go

Perfect thanks!


Drumpad Site

A simple drumkit build using HTML, CSS and JS
Use Keyboard buttons like W, A, S, D, J, K & L to play drum sounds.

add hacktoberfest label please


otelsql: Record error and status when SQL returns an error

Currently, when SQL returns an error, the error is not recorded and the status is not set.
Pull request: https://github.com/uptrace/opentelemetry-go-extra/pull/114

Hi @vmihailenco,
I hope you are doing well. Could you please take a look at this issue and the PR?
Thanks.


ENH: Added CLI command to update skops files

Reference Issues/PRs
Closes #333
What does this implement/fix? Explain your changes.
Taking inspiration from the implementation from skops convert, this adds the update command to the CLI.
It allows to update a skops file by simply 'loading' it and 'dumping' it again.
I have also added MacOS files in the gitignore.

Hi @BenjaminBossan
I finally moved this PR from "Draft" to "ready for review". 🙂
You can see that, for now, I have not implemented any extra checks that we discussed here and in the issue. I wanted to make sure I’m on the right track before adding anything else.
The interfaces of the functions are slightly different from the ones in _convert. I am passing a logger argument to make testing easier.

I did a quick pass and it looks good to me overall. @adrinjalali would you be fine with this PR as is, i.e. no extra checks etc.?

I'm happy as is, without the checks, but we should figure out the checks, we've needed them in a few places now.

Thank you very much for your review!

How about making it possible to call the command without -o' to just overwrite the existing file? I.e. skops update my_model.skopswould write the new, updated skops file tomy_model.skops`.

I actually did that initially, but then I thought that if we did that by default, it could be a negative surprise for certain users that want to keep the original file. Another idea was to attach a prefix or a suffix to the file name provided as input if no output-file is provided. For example: my-model.skops could be updated by default to my-model-updated.skops. In the end, this is a design decision; I'm happy to do what you think is best :)

There is no test for the actual work that is being done. So e.g. if the _update_file function would just create a copy, the tests would still pass fine. I know that creating a file in an old skops format to test the updating feature is not trivial. Maybe you could come up with something clever? Say, create the skops file, manually set the protocol to an older version, then checking after the update that the protocol is the current version now. WDYT?

 I added the protocol check inside the update function so that we can also test it :) Let me know if it's what you had in mind

only print info about the diffs by default, no change in any file, no new files created

Hmm, how exactly would that diff look like for a skops file?

-i would change file in place
-o creates a new file

I can get behind the idea to allow inplace but requiring an extra argument. Not sure about -i, as it is often used to mark the input (especially when -o is used for the output). If there is some precedence for a given argument name, we should probably use that. Maybe -f or --force to force overwriting but IMO it doesn't quite fit here. cp has -n (no clobber) to prevent overwriting an existing file, making overwriting the default, but I don't like that too much. If nothing else comes up, we could require the full --inplace.

Hmm, how exactly would that diff look like for a skops file?

we can start by reporting if there'd be any change at all or not, we can improve the diff maybe later if needed. It could be something like the diff of the json schema, and reporting any other saved file (like numpy files) if they're changed.

I can get behind the idea to allow inplace but requiring an extra argument. Not sure about -i, as it is often used to mark the input (especially when -o is used for the output). If there is some precedence for a given argument name, we should probably use that. Maybe -f or --force to force overwriting but IMO it doesn't quite fit here. cp has -n (no clobber) to prevent overwriting an existing file, making overwriting the default, but I don't like that too much. If nothing else comes up, we could require the full --inplace.

Input is usually just an argument, w/o a parameter. grep uses -i for case insensitive for instance. But I don't really mind, I'm also happy with --inplace.

Hi everyone, thank you very much for your feedback. 🙂
I have updated the PR, now the arguments of the CLI are:
$ skops update --help
usage: Skops update [-h] [-o OUTPUT_FILE] [--inplace] [-v] input

options:
  -h, --help            show this help message and exit

update:
  input                 Path to an input file to update.
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        Specify the output file name for the updated skops file.
  --inplace             Update and overwrite the input file in place.
  -v, --verbose         Increases verbosity of logging. Can be used multiple times to increase verbosity further.

Hi both so sorry for the delay, I have been very busy lately. 🥲
I checked all the remaining comments and fixed the conflicts. Let me know if anything else should be updated.

The issues on the CI are numpy / persistence related. Merging.

@BenjaminBossan somehow here it shows you've requested changes

@EdAbati Could you please rebase on/merge with main to ensure the tests pass (#373 should have fixed the issues)? It's probably fine now, I just want to be sure.

Done now! 🤞
Thank you for the feedback and apologies for taking a bit long to update the PR :)

There is still a small issue with SciPy, that it shouldn't be caused by this PR

Made a separate PR in an attempt to fix the issues with the test_persist.py https://github.com/skops-dev/skops/pull/374


[4.1] Fix relationships inside repeatable.

Refs: #2729
Added the configs needed to test it in demo: https://github.com/Laravel-Backpack/demo/pull/164

Hat's off to you @pxpm . EXCELLENT job on this one. No comments, just merged it!


A bug on TV in Android

[√] I have read the FAQ.
[√] I have searched in existing issues.

Environment

OS: Android
scrcpy version: 1.22
installation method: Windows release
device model: Skyworth TV 8H57
Android version: 5.1.1

Describe the bug
The program can be send and run(?) in TV, but traced back the following errors and disconncet itself.
The OS is not Android TV by Google, instead of a customized system made by OEM.
For more information or logs, please contact with me.
Posts in terminal
[server] INFO: Device: Skyworth 8H57_H5 (Android 5.1.1)
INFO: Renderer: direct3d
INFO: Initial texture: 1920x1080
WARN: Device disconnected
[server] ERROR: Exception on thread Thread[main,5,main]
android.media.MediaCodec$CodecException: start failed
        at android.media.MediaCodec.native_start(Native Method)
        at android.media.MediaCodec.start(MediaCodec.java:612)
        at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:92)
        at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:60)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:80)
        at com.genymobile.scrcpy.Server.main(Server.java:252)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:249)
WARN: Killing the server...

Please test #2990.

Please test #2990.

Thanks, it's work :D


Update for Gnome 47

Closes https://github.com/marcinjahn/gnome-do-not-disturb-while-screen-sharing-or-recording-extension/issues/1
The PR replicates the maintainer's changes for Gnome 46.
What has been manually tested on Fedora 41 Gnome 47 Wayland:

Google Meet screen sharing
Gnome Screen Recorder screen capture
Extension Settings menu

Thanks for your contribution!


GROOVY-6831: Access to static fields/properties from within inner cla…

…sses is inconsistent

Proposed PR merged.


Feature Request: Make WeasyPrintBundle AWS Lambda compatible

Hi there,
thank you for the great work you guys are doing.
I would like to use this bundle to access weasyprint, which runs in an AWS lambda. The whole thing must of course be controllable via a configuration.
I hope that I will soon be able to provide a PR, but if someone has time to do it beforehand, I would really appreciate it :)

Hi @andythedandy!
I don't personally use AWS Lambda, but we welcome any PRs that enable using this bundle with AWS Lambda, provided they don't interfere with the standard functionality of the bundle or require mandatory dependencies (such as bref/bref) in composer.json for all users.
Feel free to open a PR!


Introduce ContextAwareDatasource

fixes (#23)
also switch code base to java 11

@auniverseaway i need this to close my stories, and i guess it's fine you can still get back to it later


feat: interpret dependencies

Description
This PR makes sure schema dependencies are iterated and merged together.
Related issue(s)
fixes #79

Pull Request Test Coverage Report for Build 936116236

8 of 8 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 93.989%

Totals

Change from base Build 929965017:
0.04%

Covered Lines:
1200

Relevant Lines:
1230

💛  - Coveralls

@jonaslagoni Please create the issue to support the property dependencies for languages which support the union types :)

@jonaslagoni Please create the issue to support the property dependencies for languages which support the union types :)

You have already created it - https://github.com/asyncapi/modelina/issues/84 🙂

Thanks 👍


Add New Directive "tourAnchorOverlay"

In discussion #159 I had the following problem:
I'm using an external component (in this case a calendar component) that contains a button group to switch views. I'm not able to set the tourAnchor-Directive on this button group (as the code is not in my domain).
My first solution was to create a div and position it absolutely over this button group and use the tourAnchor-Directive on this new div. If the layout changed somehow and these buttons were not in the same place anymore or changed in dimension, the absolutely positioned div was wrong (especially visible, if backdrop is enabled).
So instead of positioning this "artificial" tourAnchor-DIV I've created a directive which receives a CSS selector. This directive finds the element I want to overlay, gets it's bounding rect and sets the div's position and dimensions accordingly.
In this branch you can see a demo of the directive. As a test I try to highlight the label of the button instead of the whole button (to showcase an element, that is not in my domain but in angular material's).
Additionally theres an Input for padding (which uses the technique from your docs to set padding and remove margin).

@hakimio Your solution definitely looks a lot neater! I'm totally fine with closing this pull request.

@phrei It's still your PR. I only made a suggestion.
If you want to have this feature, you still have to:

update all tour UIs
update all changelogs
update documentation

Whether you update this PR or create a new one is your choice.

@hakimio Oh, okay. Sure, I'll take care of that as soon as possible.

<tour-proxy-anchor> was added in v13.

looks like it is not added


playpause not showing

WM: i3 version 4.19
OS: Ubuntu 20.04
Polybar: polybar 3.4.3
dbus: 1.2.16
Python: 3.8.6
polybar-spotify-controls: latest master
I've got ipc enabled for my bar, and used the setup from the README to add the spotify modules to my bar center modules-center = spotify previous playpause next. Adjusted just the script paths and interval for the nex/previous buttons.

The only thing showing is the next/previous buttons, as seen in the screenshot above.
If I move the hook-1 script to hook-0 in the module/spotify it shows the playing song.
In module/playpause it doesn't toggle anything if I move e.g. the Play button to hook-0.
Here's the polybar config:
...
[module/previous]
type = custom/script
interval = 300
format = "%{T3}<label>"
format-padding = 2
; Previous song icon
exec = echo ""
; Check if spotify is running before displaying the icon
exec-if = "pgrep spotify -x"
format-underline = ${colors.nord14}
; #1db954
line-size = 1
click-left = "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"

[module/next]
type = custom/script
interval = 300
format = "%{T3}<label>"
format-padding = 2
; Next song icon
exec = echo ""
; Check if spotify is running before displaying the icon
exec-if = "pgrep spotify -x"
format-underline = ${colors.nord14}
line-size = 1
click-left = "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"

[module/playpause]
type = custom/ipc
; Default
hook-0 = echo ""
; Playing
hook-1 = echo ""
; Paused
hook-2 = echo ""
initial = 1
format-underline = ${colors.nord14}
format-padding = 2
line-size = 1
click-left = "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"

[module/spotify]
type = custom/ipc
hook-0 = echo ""
hook-1 = python3 ~/.config/polybar/scripts/spotify/spotify_status.py
initial = 1
format-padding = 2
format-underline = ${colors.nord14}
line-size = 1
click-left = i3-msg '[class="Spotify"] focus'
...

I have the same thing here.

So I figured out that pressing pause in spotify fixes this


adding few debug logs

Codecov Report

Merging #218 (d9f3519) into master (984f64b) will decrease coverage by 3.18%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
- Coverage   43.10%   39.92%   -3.19%
==========================================
  Files          97       97
  Lines        4136     4153      +17
==========================================
- Hits         1783     1658     -125
- Misses       2199     2358     +159
+ Partials      154      137      -17

Flag
Coverage Δ

integration
?

unittests
39.92% <0.00%> (-0.14%)
:arrow_down:

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

Impacted Files
Coverage Δ

internal/subscriber/core.go
0.00% <0.00%> (ø)

internal/subscriber/subscriber.go
0.00% <0.00%> (ø)

pkg/messagebroker/kafka.go
9.87% <0.00%> (-31.65%)
:arrow_down:

pkg/messagebroker/factory.go
33.33% <0.00%> (-33.34%)
:arrow_down:

internal/scheduler/loadbalancealgoimpl.go
81.25% <0.00%> (+6.25%)
:arrow_up:

Continue to review full report at Codecov.

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


A way to not export numbered identifiers

Heya, when using futhark to wrap a library, it for some reason shows all of the numbered identifiers in autocomplete, and i think that it's due to the numbered identifiers being exported as well as the final alias? Is there any way to fix this as it is something that would in general be nice for IDE users
https://media.discordapp.net/attachments/1006326173959204924/1006407587396329542/unknown.png

Any news on this?

Unfortunately not, I've just started a new job and gotten back from vacation so spare time to work on hobby projects has been sparse. It is on my todo list though

Ah completely fair, good luck!

This should be fixed in 0.7.2, by default these identifiers are no longer exported. They where originally exported so that nim doc would show the objects. The old behaviour can be enabled with -d:exportall, and for documentation it might be worth trying -d:nodeclguards.


Make the console minimize to tray

Checkout the latest release https://github.com/34736384/genshin-fps-unlock/releases


What is a skill you'd like to learn and why?

Soft skill:
Manage to say "no" on interesting projects.
Hard skill:
JavaScript depths. I’d say I have a fair JavaScript knowledge but lack of solid skills to create proper JavaScript architectures and platforms from scratch.


Inconsistency with the documentation of UDS Table : Ischemic Vascular Disease (IVD): Use of Aspirin or Another Antiplatelet (CMS164v7)

Documentation feedback.
There’s some inconsistency with the documentation of UDS Table : Ischemic Vascular Disease (IVD): Use of Aspirin or Another Antiplatelet (CMS164v7) (as well as the tables at the bottom of the dataelements page that follow it) as compared with the documentation on other tables.  Specifically, naming convention and “packaging” of multiple elements into a single element changes around that point.
Patient Characteristic – Birth Date is referred to as Patient Age in UDS Table : Childhood Immunization Status, but as Patient Characteristic in CMS164v7 and CMS277v0.  The Patient Characteristic designation seems better here, as it matches Patient Characteristics for Payer, Ethnicity, etc…  I’m treating these as equivalent, as they’re using the same deidentify-birthdate-to-age profile.
Encounter Performed
Discharge Disposition
Encounter Period
Encounter Diagnosis
The three encounter data points and the Encounter Dx are referred to in this one differently than every other UDS Table except for HIV Linkage to Care.  All tables up to this point break required Encounter elements into four categories.  This measure and HIV Linkage to Care add an additional data point for Encounter.DischargeDisposition, but unless something non-intuitive is going on here, it seems like the documentation should match to the established naming conventions and level of granularity.
Encounter, Performed - Participant
Encounter, Performed - Diagnosis
Encounter, Performed - Diagnosis Rank
Encounter, Performed - Period
Diagnosis data also seems to lose track of the previously established naming convention.  CMS164v7 refers to Diagnosis and Diagnosis Time (OnsetTime), while previous tables all use the following:

Hi @mshgithub, we're understanding your question to be: Is Encounter, Performed - Diagnosis Rank required/a necessary element to send?  If so, the answer is: it depends on which quality measures are being sent, and what's in your data set.  If that does not answer your question, could you clarify?
From above, we also see that you seem to be developing UDS+ data above the requested minimum. For reference, here is the floor/minimum required data points needed for this stage:
For reference, the 'minimum' for voluntary CY23 submission includes:

Submit data for your entire universe of patients (not a subset)
Submit all the demographic tables data

Table: Patients by ZIP Code
Table 3A: Patients by Age and by Sex Assigned at Birth
Table 3B: Demographic Characteristics
Table 4: Selected Patient Characteristics

Submit all or part of the clinical tables data

Table 6A: Selected Diagnoses and Services Rendered – optional
Table 6B: Quality of Care Measures – submit 2 or more eCQMs from this table
Table 7: Health Outcomes and Disparities – submit 2 or more eCQMs from this table

The UDS Test Cooperative (UTC) suggests health centers may be the most ready to submit these eCQMs:

Table 6B: Quality of Care Measures

Cervical Cancer Screening
Colorectal Cancer Screening

Table 7: Health Outcomes and Disparities

Controlling High Blood Pressure
Diabetes: Hemoglobin A1c (HbA1c) Poor Control (>9.0%)

Health centers may choose any eCQM from these tables as long as they submit at least two measures from each table
REMEMBER:  Submit both demographic and clinical data for the entire patient population, not a subset of patients

Had similar feedback over in [https://github.com/drajer-health/uds-plus/issues/17].


Roll Engine from 1b68503bc82b to acea63a2d0a5 (5 revisions)

https://github.com/flutter/engine/compare/1b68503bc82b...acea63a2d0a5
2021-03-11<EMAIL_ADDRESS>Roll Skia from 93330c9c4dc7 to cc185c5a31f3 (5 revisions) (flutter/engine#24936)
2021-03-11<EMAIL_ADDRESS>Complete the Scene.toImage future with an error if rasterization fails (flutter/engine#24877)
2021-03-11<EMAIL_ADDRESS>Signal an error if an Isolate.spawnUri call uses an unsupported URI (flutter/engine#24583)
2021-03-10<EMAIL_ADDRESS>[web] Add few awaits in history tests (flutter/engine#24934)
2021-03-10<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from gYXU9l8jr... to CxbV_a22u... (flutter/engine#24930)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from gYXU9l8jr5Zj to CxbV_a22uKXK
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


LNbits set to fixed version with Update option

At the moment LNbits is always installing the "raspiblitz" tag from the lnbits repo.
https://github.com/rootzoll/raspiblitz/blob/16d1816aa31eaf25998de859ee9f10f6e3e82e25/home.admin/config.scripts/bonus.lnbits.sh#L251
Would like to change that for the future to fixed version ... with the option to update to last tags/raspiblitz (or master) with the UPDATE menu like possible with thunderhub.
Info: make sure to develop against the dev branch.

Its now set to tag "0.8.0"


Byobu doesn't work

Describe the bug
When I run byobu, it does nothing and returns exit code 0.
Steps To Reproduce
I installed byobu by placing:
 environment.systemPackages = with pkgs; [
      ...
      byobu tmux screen coreutils-prefixed
      ...
  ];

in /etc/nixos/configuration.nix and then running sudo nixos-rebuild switch.
I then ran byobu. I expected byobu to open, but instead, the command simply returned with exit code 0.
Maintainers (of package byobu)
@qknight
@berbiche
Metadata

system: "x86_64-linux"
host os: Linux 5.10.50, NixOS, 21.05.1590.63ee5cd99a2 (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.12
channels(jay): "home-manager, nixpkgs-21.11pre303315.16105403bdd"
nixpkgs: /home/jay/.nix-defexpr/channels/nixpkgs

I've found that I was able to resolved this by populating the $HOME/.byobu/backendfile with the value BYOBU_BACKEND=tmux.
But, the installation as it stands is a trap and by default doesn't work. Can we have it do this by default?

We'd need a NixOS module for that, that creates /etc/byobu/backend and /etc/byobu/socketdir. This is what the Ubuntu package does.

Hi,
I could not reproduce the issue on my (flake) system configuration.
I tried running Byobu without tmux or screen and there was an error. I used this command: nix-shell -p byobu --run byobu, after making sure to rm -rf ~/.config/byobu.
I then tried with the screen backend nix-shell -p byobu screen --run byobu and it used the screen backend automatically.
Similarly, the tmux backend was automatically picked up and worked with no problem.
@notfed do you have any byobu configuration file in $HOME/.config/byobu lingering?

I just bumped my nixpkgs past a commit that started wrapping byobu-launch with
#! /nix/store/<hash>-bash-4.4-p23/bin/bash -e
export BYOBU_PATH='/nix/store/<hash>-vim-8.2.2567/bin:/nix/store/<hash>-bc-1.07.1/bin'
export BYOBU_PYTHON='/nix/store/<hash>-python3-3.8.11-env/bin/python'
exec -a "byobu-launch" "/nix/store/<hash>-byobu-5.133/bin/.byobu-launch"  "$@"

byobu-enable will then write the following into my .profile:
_byobu_sourced=1 . /nix/store/jcln0nyahf9ninkvxsxdfbz9vqwipdy7-byobu-5.133/bin/byobu-launch 2>/dev/null || true

When I then try to ssh into this machine, the ssh session instantly quits.
When I change my .profile to source .byobu-launch instead of byobu-launch everything works fine again.
I'm guessing since byobu-launch is meant to be sourced the wrapping with an extra script breaks it. I think we need to remove the wrapping from (at least!) byobu-launch.

It seems that https://github.com/NixOS/nixpkgs/pull/90430 introduced this undesired wrapping of byobu-launch.

Even when running .byobu-launch it still doesn't work. The issue seems to be that .byobu-launch doesn't think it's an interactive shell, so the final case $- in doesn't find a match for *i* and proceeds to exit. I've found a temporary workaround for anyone else that runs into this for now:

If the byobu-launch line was added to .profile, remove it.
Modify the line in .bash_profile to source .byobu-launch instead of byobu-launch
Try logging in again and it should work this time

I suspect that the original line in .profile makes it into a non-interactive shell for whatever reason, while having it in .bash_profile doesn't?
This is the way I added to to my .bash_profile if you want to just copy and paste:
_byobu_sourced=1 . $(which .byobu-launch) 2>/dev/null || true

I think https://github.com/NixOS/nixpkgs/issues/131353#issuecomment-886096127 is the best option.
Besides, byobu has a mode where new ssh interactive logins land in a new byobu session automatically (enabled imperatively by byobu-enable). It'd be great to be able to set that as a NixOS option, as a default for all users.

I don't know if this is reasonably-enough related, but since the bug is "Byobu doesn't work", I'll include it here:
'byobu-enable' and 'bobu-launcher-install' (which seem to do the same thing) don't work currently, and instead immediately close the SSH connection.  Changing the command installed in .profile from 'byobu-launcher' to just 'byobu' seems to work fine.

I just hit this bug. Enabling auto-launch through byobu-enable causes shell to exit immediately after logging in.
It looks like this is caused by the wrapper script generated in: https://github.com/NixOS/nixpkgs/blob/f1ec43484888381b64ae3d0874621103d1d37bb5/pkgs/tools/misc/byobu/default.nix#L51-L53
byobu-launch script checks to see if the shell is an interactive shell (see: https://github.com/dustinkirkland/byobu/blob/69871dedc83f7b0cc3d1504fc1cdb3c0f0a0e6ea/usr/bin/byobu-launch.in#L50-L51)
When byobu-launch is ran using exec in the wrapper script, $- doesn't include i, causing check to fail (assuming it's a non-interactive session) and exit.
I'm relatively new to Nix, so I don't know how to resolve BYOBU_PYTHON and BYOBU_PATH variables and call the script directly (instead of exec)


setHasStableIds is set to false after Paginate setup

This has been implemented as a part of the latest release (check out release 1.0.0)
I'm closing this MR.


fix of the approximate value of window.pageYOffset on chrome android

https://stackoverflow.com/questions/9439725/javascript-how-to-detect-if-browser-window-is-scrolled-to-bottom

Docker image available here https://hub.docker.com/r/domexpire/frontail


Add VS Code samples

Hi JavaFX team, 👋
This PR is to add more JavaFX samples working with Visual Studio Code.
Below sections are added:

IDE/VSCode/Non-modular

Java
Maven
Gradle

IDE/VSCode/Modular

Maven
Gradle

Currently the VS Code Java has an issue to work with modular project without the build system. Once the issue is fixed, we will update the samples.

Signed-off-by: sheche<EMAIL_ADDRESS>

@jperedadnr could you help to review this one? (assuming you are right person) thanks

Thanks for the contribution, we'll have a look shortly.

Hello @jperedadnr @abhinayagarwal, any chance to take a look at this PR?

@abhinayagarwal Thanks for reviewing, I've address the comment. Please take a look when you have time, thanks! 😄

Thank you @jperedadnr, I've updated the PR, please take a look when you have time.

Could we merge this PR now?

@jdneo Done!
Are you planing to do a follow up PR for https://github.com/openjfx/openjfx-docs ?

Thank you @jperedadnr!
Yes I'll write the document part recently and send a PR for that.


How about making the direction from which this draw from customizable?

Like I thought it can be used like a side drawer on mobile or so!

I'd like to keep this on the y-axis only.


expand code coverage and documentation of refiner classes

Originally the ides behind stream refiner was to have common base class for all operators that are working on the final stream. meaning doing some refining operation on the resulting stream once everything else was done.
The stream refiner api was created in order to make it clear for future developers what class they should inherit from if they want to create new operations on the resulting stream that does not change it drastically but just slightly refine the stream. Not entirely sure how to define it better.
From this perspective the refiner should be an abstract class with no operation. Then we should might have another class called StreamLimiter who has the argument max_instances. Not sure about it. what do you think @yoavkatz @dafnapension?

I like the idea. Do I understand correctly that at any rate, the refinement is just by discarding instances, and the question is - which ones?
And you would like to see a clear wrap of that indicator, identifier of the ones to be discarded?
In my limited imagination, I see a class that has two apis:  (1) update [the internals of the class] given the instance now examined, (2) give an indication whether or not to discard that instance.
Will that do?


Fix typos

As a follow-up to #28, I have fixed some more typos in the codebase.
I also updated the JAR version in package.sh so it would build properly.

Looks good, most of these typos are in the code comments.
There is also a change to the JAR file version.  Can you verify this is accurate @MarcCote ?

@PeterAJansen, the JAR file version was changed in ce05307115a099d1cf9d905a4f9d1da47cdf9ddc. That commit missed changing the build script, so I fixed it here.

Yes, I have the same change in my local version. We can merge.
-Marc-
On Thu., Nov. 3, 2022, 16:49 Alex Hedges, @.***> wrote:

@PeterAJansen https://github.com/PeterAJansen, the JAR file version was
changed in ce05307
https://github.com/allenai/ScienceWorld/commit/ce05307115a099d1cf9d905a4f9d1da47cdf9ddc.
That commit missed changing the build script, so I fixed it here.
—
Reply to this email directly, view it on GitHub
https://github.com/allenai/ScienceWorld/pull/32#issuecomment-1302647427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFBEJGRL6GXMTP43ZHWEGLWGQQOBANCNFSM6AAAAAARVLS2QI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update web_steps.py

Removed code for Button click / verifying name and message - for learners to update.

Looks good to me


operator: move CheckOperatorValid out

Signed-off-by: disksing<EMAIL_ADDRESS>What problem does this PR solve?
CheckOperatorValid is not commonly used. It is only used in a test suite.
What is changed and how it works?
move the function to test suite.
Check List
Tests

Unit test

Codecov Report

Merging #1928 into master will decrease coverage by 0.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1928      +/-   ##
==========================================
- Coverage   78.05%   77.79%   -0.27%
==========================================
  Files         167      167
  Lines       16623    16611      -12
==========================================
- Hits        12975    12922      -53
- Misses       2651     2678      +27
- Partials      997     1011      +14

Impacted Files
Coverage Δ

server/schedule/operator/operator.go
86.84% <ø> (+0.42%)
:arrow_up:

server/kv/etcd_kv.go
72.72% <0%> (-11.69%)
:arrow_down:

pkg/etcdutil/etcdutil.go
82.6% <0%> (-5.8%)
:arrow_down:

server/tso/tso.go
76.11% <0%> (-3.74%)
:arrow_down:

server/schedulers/random_merge.go
65.45% <0%> (-3.64%)
:arrow_down:

server/member/leader.go
75.51% <0%> (-3.07%)
:arrow_down:

server/schedulers/shuffle_hot_region.go
54.83% <0%> (-2.16%)
:arrow_down:

server/server.go
81.81% <0%> (-1.66%)
:arrow_down:

server/grpc_service.go
57.32% <0%> (-1.3%)
:arrow_down:

server/core/storage.go
74.85% <0%> (-1.2%)
:arrow_down:

... and 3 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 153c43a...082fe5e. Read the comment docs.

/merge

/merge


Console history

In my opinion, it would be great to save the history of the console in such a way that it can be loaded and used on the new launches.

Done.


Modify karma.conf.js and webpack.test.js to remove coverage tools so …

…that when tests cases are run in 'debug' mode they can be debugged.  To debug run tests with watch:
npm run watch:test
Also added karma-webpack-grep so that specific tests can be targeted:
npm run watch:test:grep -- app/about/
runs and watches all .spec.ts files in directory about
npm run watch:test:grep -- app/about/about.component.spec.ts
runs and watches only tests in app/about/about.component.spec.ts
Add above information to readme.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

bug fix, feature, doc update

What is the current behavior? (You can also link to an open issue here)

Can not debug test cases.  https://github.com/colinskow/angular-electron-dream-starter/issues/10

What is the new behavior (if this is a feature change)?
Can debug test cases and run individual test cases from command line

@greg9504 thank you very much for this PR! Sorry for the slow response. Over the next few days I'm going to be preparing a new release of this package. There are a few minor corrections in your documentation. I'll merge after I'm able to take it for a test drive.

No problem.  Let me know if there is anything else you need from me.

@greg9504 how can we implement this so that coverage reports can also be generated when debugging is not needed?

@colinskow is that not happening now?  The modifications should run the exact same karma config as before when you do not wish to debug the test, so running the command:
npm run test
will result in the coverage tools being run.
When I run that I see a coverage summary and I get a coverage directory.

Unfortunately I'm not that familiar with the coverage tools.  If you can tell me what is missing I can see what I missed.

@greg9504 sorry I hadn't checked your code. I just saw "remove coverage tools" in the title so it had me worried. I'd like to merge. Can you please fix the documentation issues pointed out above?

@colinskow I'm not sure of the issues as you only mentioned that you found something but didn't say what it was.  I did add an image file, for it to be view-able you would need to upload it to the https://rawgit.com/colinskow/angular2-webpack-starter/electron/docs/img/debug_unittest.png

@greg9504 see the two review comments above.

@colinskow Sorry I'm not seeing any link to comments.  There is nothing under Reviewers at the top right and I don't see any other comments.

I apologize... Apparently you can't see it until I click "submit review."

OK I've applied the requested changes.

Thank you very much @greg9504 merged.


Error: Text content does not match server-rendered HTML.

Hi :wave:
What version of this package are you using?
I'm using version 2.6.0 of next-translate and next-translate-plugin.
{
  "name": "made-website",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@formatjs/intl-localematcher": "^0.4.2",
    "@radix-ui/react-dialog": "^1.0.4",
    "@radix-ui/react-dropdown-menu": "^2.0.5",
    "@radix-ui/react-slot": "^1.0.2",
    "@types/node": "20.5.1",
    "@types/react": "18.2.20",
    "@types/react-dom": "18.2.7",
    "autoprefixer": "10.4.15",
    "class-variance-authority": "^0.7.0",
    "clsx": "^2.0.0",
    "eslint": "8.47.0",
    "eslint-config-next": "13.4.18",
    "lucide-react": "^0.268.0",
    "negotiator": "^0.6.3",
    "next": "13.4.18",
    "next-themes": "^0.2.1",
    "next-translate": "^2.6.0",
    "postcss": "8.4.28",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-icons": "^4.10.1",
    "tailwind-merge": "^1.14.0",
    "tailwindcss": "3.3.3",
    "tailwindcss-animate": "^1.0.6",
    "typescript": "5.1.6"
  },
  "devDependencies": {
    "@types/negotiator": "^0.6.1",
    "next-translate-plugin": "^2.6.0"
  }
}

What operating system, Node.js, and npm version?
My npm and node versions:
➜  made-website git:(main) ✗ npm -v
9.5.1
➜  made-website git:(main) ✗ node -v
v18.16.0

I'm using a macOS Ventura 13.4.1.
What happened?
I've been following the installation guide to add translations to my website. It loads well on the first render after the server started up. Then, whenever I refresh the page, I get an error
Unhandled Runtime Error
Error: Text content does not match server-rendered HTML.

Warning: Text content did not match. Server: "connexion" Client: "login"

See more info here: https://nextjs.org/docs/messages/react-hydration-error

Component Stack
span
div
div
header
Navbar
./src/components/navbar.tsx (37:92)
f
./node_modules/next-themes/dist/index.module.js (8:597)
$
./node_modules/next-themes/dist/index.module.js (8:348)
ThemeProvider
./src/components/theme-provider.tsx (13:11)
body
html
Call Stack
checkForUnmatchedText
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (31290:0)
diffHydratedProperties
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (33391:0)
hydrateInstance
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (34434:0)
prepareToHydrateHostInstance
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (6974:0)
completeWork
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (18655:0)
completeUnitOfWork
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (24732:0)
performUnitOfWork
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (24537:0)
workLoopConcurrent
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (24512:0)
renderRootConcurrent
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (24468:0)
performConcurrentWorkOnRoot
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (23339:0)
workLoop
node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js (261:0)
flushWork
node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js (230:0)
MessagePort.performWorkUntilDeadline
node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js (534:0)

What did you expect to happen?
I'm expecting it to translate correctly my strings as it did for the initial render after server start.
Are you willing to submit a pull request to fix this bug?
I don't think I'd be able to submit a pull request as I don't even understand where it comes from. I read issues speaking about client components behaving a bit similarly but appeared to be fixed in 2.4 or something like that.
I also have a link to the versionned version of the beginning app. It is very minimalistic for now

Hello, I encountered the same error. I fixed it by moving all components importing useTranslation() under the /app/[lang]/ directory.
In your example, I think you need to create the /[lang] directory and only use your navbar component inside.

I guess it's not enough to use the /[lang] as I end up with a 404. Maybe I've some configuration to do (I tried http://localhost:3000/fr and http://localhost:3000/en)

I have the same error.
In my case it encounters in routes, that are still in pages folder and not yet migrated to the new App router.

I'm on using the App router and was having the same issue but setting my next.config.js like this fixes the issue.
`
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextTranslate = require("next-translate-plugin");
const config = nextTranslate(nextConfig)
config.i18n =  undefined;
module.exports = config;
`
However doing this will affect the behaviour when trying to get the locale from request.nextUrl.locale in the middleware, now the locale is undefined.

const config = nextTranslate(nextConfig);
config.i18n = undefined;
module.exports = config;

With this solution the react hydration mismatch error still exists in my case. Additionally it breaks i18n functionalities in pages folder, it's only showing the default language.

Yes this is not going to work for the pages folder, are you getting the hydration error when you switch language?


[Fix]: PXN-3576 - Handler error when customOptionId is invalid

Motivación y Contexto

Add runCatching to handle errors when calling createPaymentResult on PaymentRepository
PXN-3576
Descripción

For semovi flow the integrator was opening our congrats and in some cases the customOptionId has an invalid value, because the sharedPreference is returning null and by default the  customOptionId is empty
Cómo probarlo

using the testApp launch a postPaymentFlow, then tap any button in order to show the congrats screen, then stop the flow using the debugger on TransactionInfoFactory line number 12 and update the customOptionId value to other value (for example : "test"), then let the flow continue.
Screenshots

Error
Solution

Tipo de cambio (para el release manager)

[ ] Breaking change (Fix o feature que cambia una funcionalidad existente o rompe firmas)

[ ] Mi cambio afecta a los integradores internos

Compartir conocimiento

From what I understand we are catching the error... but do we know why it happens? We have no way to avoid this inconsistency?
For the user it will continue to be a bad experience.
Doesn't it have to do with the double initialization that we fixed last time?

From what I understand we are catching the error... but do we know why it happens? We have no way to avoid this inconsistency? For the user it will continue to be a bad experience.
Doesn't it have to do with the double initialization that we fixed last time?

It has nothing to do with the double initialization, since it was blocking the flow before reaching that part and the version is not productive yet.
In the search the only thing that could be found is that it should be migrated to dataStorage if sharedPreference is used since sharedPreference uses synchronous processes in the main process and this may not end well in some cases. ie do not save or get a preference.
By default in some preferences we have that if it was not found an empty value is returned, which happens in the case of the customOptionId preference


Update the ubuntu-latest tag to point to 20.04

The ubuntu-latest tag was updated to point to ubuntu-20.04 when a new runner is spun up. This PR updates the README to reflect that change.
Fixes #2854

Thank you for contribution. We will merge this PR once the migration process finished which approximately early next week.

FYI that the migration process may be done:


watermark project

Test-added a publication and updated Watermark project

👷 Deploy Preview for eesg processing.

Name
Link

🔨 Latest commit
9fec8b84dd309abf31787a11faef180bd03895d7

🔍 Latest deploy log
https://app.netlify.com/sites/eesg/deploys/62823c6d3edcad000908295d


Android Client not working with self hosted Netbird with Keycloak OIDC

Netbird android client is unable to valida the URL that i am entering in the app however same is working for desktop clients.
I am using the self-host NetBird's control plane with keycloak as OIDC
NetBird version : 0.27.4
Error: Netbird android client keeps on verifying the url and then gives the invalid server address.
URL: https://public domain name:443 is the url that i am entering in the android client

Use port 33073 instead of 443.

I'm getting same error, but my deployment hasn't port 33073 configured. What you mean by changing the port? Is there any service on netbird-management specifc for android that runs on this port?
If so, I'll create an Ingress here for that.

I'm seeing the same behavior.
Port 33073 is not open to the world on my network, it this a new port required for forwarding?


In a three level option, the last selection depends only on previous one not combined first and second

When three select levels are used, the third one will not filter correctly from first and second selection - it considers only the second one. I.e.:
	<option value="A/a/1">A || a || 11</option>
	<option value="A/a/2">A || a || 12</option>

	<option value="A/b/1">A || b || 21</option>
	<option value="A/b/2">A || b || 22</option>

	<option value="A/a/1">B || a || 41</option>
	<option value="A/a/2">B || a || 42</option>

	<option value="A/b/1">B || b || 51</option>
	<option value="A/b/2">B || b || 52</option>

If you choose "A" in the first selection and "a" in the second one you will get "11,12,41,42" as selectable choices in the third box - I was expecting to see only "11,12". Please see following screenshot.

Hey @masch55, @rafsuntaskin, @ajquick! I've just had this repo transferred back to me from my previous employer (I originally created it while working there). Over the coming days and weeks I'll be catching up with all the issues and looking into personally maintaining this in the long run.
Sorry that your comments have gone un-replied for so long, but now it's back in my hands I'll try my best to stay on top of it all.


upgrade to<EMAIL_ADDRESS>closes #2859

ensure we can run the test suite with DEBUG=mocha* by removing it
when spawning mocha
remove some cruft in the test helpers

Changes Unknown when pulling 6f16420f756de8bce4fcb4c7926d7c729fc3d210 on debug into ** on master**.

Coverage remained the same at 88.288% when pulling 6f16420f756de8bce4fcb4c7926d7c729fc3d210 on debug into 95cf2c4cce29643243b14f6b78a31c20c4d4deb8 on master.

Coverage remained the same at 88.288% when pulling 06512b2d3d2010ab30700e1ba903fe8b8c665aa8 on debug into 2928b38000f316fc8453f86d9df79cdffe6448ff on master.

👍 @boneskull Can you run the fail tests again and make them all pass?

Tracking this: https://github.com/digitalbazaar/bedrock-protractor/pull/12

depend on  https://github.com/mochajs/mocha/pull/2868

This depends on #2868

Coverage remained the same at 88.395% when pulling 0ca8807519fd7ec9e4485a0187753100ac311b13 on debug into 50fc47d1b46cd75850b87dee99603132941cad91 on master.

Coverage remained the same at 88.395% when pulling d878e74cf5cbb53b27407b983b972b2dd912ce80 on debug into 50fc47d1b46cd75850b87dee99603132941cad91 on master.

Coverage remained the same at 88.395% when pulling f06f8ff08e93c8d8cae8d26a65545d063b034478 on debug into 50fc47d1b46cd75850b87dee99603132941cad91 on master.

alright this looks good except for my lint failure (which I fixed)

@boneskull when will release the next version?

@mochajs/core I believe the next release is waiting on either review of #2874 or agreement that we can release #2696 without #2874 and not have to wait inordinately long (i.e. make it a bug-patch or else make a breaking/major release soon) to release #2874 or something like it.