text:
Preprocessing for MRI data

Hello, I attempted to implement your pre-trained model on the BraTS dataset (and thank you for your previous response). However, I'm facing challenges in replicating the results outlined in your paper. I'm curious if you have any plans to share the code or supplementary materials for working with the BraTS dataset?
Alternatively, could you offer some insights into your preprocessing steps for BraTS data using MONAI, particularly focusing on data transformation and augmentation techniques? Since MRI data differs from CT scans in various aspects, such as intensity, I assume that different transformations might be necessary for BraTS.
Any details you can provide would be greatly appreciated, as it would help me follow your work more effectively.

Hi, many thanks for your kind attention to our work!
Yes, you are right. We also find that the MONAI pre-processing is not very flexible for MRI data. Thus, in our experiments, we combine the MONAI and nnunet framework for all of the experiments of MRI. If you are familiar with the nnunet framework, I think it is easy to use a trainer.py file for training.
If you have difficulty with it, I will try my best to release the nnunet finetuning codes recently. However, since we conduct a few more MRI experiments in the extension, the codes may not be well-checked. Please stay tuned

Thank you very much for sharing this information. Utilizing the nnunet framework is a brilliant idea. Am I correct in understanding that you're employing nnunet for preprocessing (and possibly also post-processing) of MRI data, and adapting the U-Net backbone to transformers or other architeture?
Once again, I appreciate your efforts in sharing the code, and I'll continue to stay updated.

Thank you very much for sharing this information. Utilizing the nnunet framework is a brilliant idea. Am I correct in understanding that you're employing nnunet for preprocessing (and possibly also post-processing) of MRI data, and adapting the U-Net backbone to transformers or other architeture?
Once again, I appreciate your efforts in sharing the code, and I'll continue to stay updated.

Yes, you are right! We find that nnunet pre-processing is better for MRI. But for CT, I think the monai implementation is enough.
I suppose that I can update the codes this weekend.

Thanks a lot. I will close this issue accordingly.
Looking forward to seeing your code.

Dear researchers, our work is now available at Large-Scale-Medical, if you are still interested in this topic. Thank you very much for your attention to our work, it does encourage me a lot!


text:
🛑 Bank of China Australia is down

In c7fc4eb, Bank of China Australia (https://obdevp.bank-of-china.net.au/cds-au/v1/banking/products) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bank of China Australia is back up in d4e58ff.

source: gharchive/issue

repo: LukePrior/OpenBankingUptime

license: MIT

license_type: permissive

license_source: github-api


text:
tag-prune

This commit removes some tags from existence (across all the recipes they're used in).

baked https://based.cooking/@baked
baking https://based.cooking/@baking
traditional https://based.cooking/@traditional

Are tags which are all both irrelevant and under populated.
Why would there be a baking tag when half of all recipes involve baking? These tags only have one recipe in each, and they are two of the same thing.
Traditional only has three recipes, but many of the other recipes on the site could also be called traditional which are not tagged as such. Silly tag.
Since people keep making tags like these and are going unchecked, perhaps there should be a ban on some tags like 'baked' so that they fail the checks.

Fry, Ham, and Feta, are also questionable. Since fry only has two recipes, Feta and Ham only one. Fry is comprable to 'baking', while ham and feta are sub categories of pork and cheese respectively.
Have not added these to the commit.

I might want to add a rule that tags should only be used if there are already three or so dishes for which they could be used.

source: gharchive/pull-request

authors: LukeSmithxyz siggines

license: Unlicense


text:
Fix a recent regression related to --pipeline-creation-jobs option.

OverrideCmdBindPipeline was added recently, but a mandatory synchronization w. asynchronous operations was dropped. that causes race-conditions and bugs when using the --pipeline-creation-jobs feature.
this is fixed here.

CI gfxreconstruct build queued with queue ID 309892.

CI gfxreconstruct build # 5394 passed.

authors: ci-tester-lunarg fabian-lunarg

repo: LunarG/gfxreconstruct


text:
FIX: support boost 1.81

https://www.boost.org/users/history/version_1_79_0.html
boost 1.79 deprecated boost/filesystem/string_file.hpp and with boost 1.81 boost::filesystem::ofstream or so is no longer available.
Replace these with boost::nowide in boost/nowide/fstream.hpp .
Fixes #610 .

Is this getting merged? It's uncompilable as is

repo: LuxCoreRender/LuxCore


text:
🛑 EnderChest（末影箱-云盘） is down

In c5e41bb, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in 77a2d2d after 36 minutes.

repo: LxnChan/status


text:
🛑 EnderChest（末影箱-云盘） is down

In 02bf4dc, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in d6f148b after 10 minutes.


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In c6afddd, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in 027a29d after 20 minutes.


text:
🛑 EnderChest（末影箱-云盘） is down

In 0bbea3c, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in 655a970.


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In fa09051, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in 98e6a18 after 37 minutes.


text:
🛑 EnderChest（末影箱-云盘） is down

In 5eee349, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in 6617de9 after 23 minutes.


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In dde124c, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in d3cf91b after 44 minutes.


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In c122336, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in 59d631e after 5 minutes.


text:
[Add Button / SSH addon] adding an array as value to commands key not possible

The ssh addon requires the commands_parameter hash to have a key "commands" and an array as value. The array contains all commands that should be run.
Currently its not possible to add an array as value via the webinterface.
Two ways to fix this come to mind.

make it possible for the value to be an array via webui. This would result in a more complex ui.
let the addon run only one command. For multiple ssh commands you could create multiple commands in the ui (klick the add command button). The result is that for every command a new ssh session is created.

@Lyr3x : I think I'd go with option 2. Your thoughts?

Im completly with you. Option 2 lgtm
Nesurion notifications@github.com schrieb am Sa., 18. Juli 2015 11:43:

The ssh addon requires the commands_parameter hash to have a key
"commands" and an array as value. The array contains all commands that
should be run.
Currently its not possible to add an array as value via the webinterface.
Two ways to fix this come to mind.

make it possible for the value to be an array via webui. This would
result in a more complex ui.
let the addon run only one command. For multiple ssh commands you could
create multiple commands in the ui (klick the add command button). The
result is that for every command a new ssh session is created.

@Lyr3x https://github.com/Lyr3x : I think I'd go with option 2. Your
thoughts?
—
Reply to this email directly or view it on GitHub
https://github.com/Lyr3x/Jane/issues/108.

done with #110

license: mit

license_source: bigquery


text:
🛑 Documentation Page is down

In 19dce46, Documentation Page (https://docs.lyrid.io/img/lyridsvg.svg) was down:

HTTP code: 502
Response time: 6467 ms

Resolved: Documentation Page is back up in 2b7258a.

repo: LyridInc/statuspage


text:
🛑 Documentation Page is down

In 8c5089e, Documentation Page (https://docs.lyrid.io/img/lyridsvg.svg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Documentation Page is back up in 59f75e6.


text:
Test & stylize

Add style / colors / fonts
Test all functions with jest

Integrated under: commit e0adb6986050fad5762082ea82436b6d8def5c1f .

repo: MBrassey/jsNote


text:
test(translation): exit with error when there is fuzzy keywords

Issue:
What I did
How to test

Deploy preview ready!
Built with commit 8eb53cd4a1ea205aa0d8d08ea4a0903c24afd141
https://deploy-preview-468--mcslite.netlify.com

Deploy preview ready!
Built with commit 8eb53cd4a1ea205aa0d8d08ea4a0903c24afd141
https://deploy-preview-468--mcs-lite-introduction.netlify.com

repo: MCS-Lite/mcs-lite


text:
[1.8.9] /home command - but no ability to set a home point?

I couldn't find anything in the documentation about this. Basically, there's the ability to use the /home command, but using editteleport and naming one "home" doesn't set a point for the /home command to move you to.
I'm using the 1.8.9 CORE version, since the other modules aren't updated. Am I missing something?

/home set is the correct syntax.

Thanks very much!

authors: katubug matthewprenger

repo: MCServerTools/ServerTools-CORE


text:
Example templated function

An example templated function for SinglePairwiseDistance

@richardjgowers  for some reason I cant assign you to review.

As this was an example I will close

repo: MDAnalysis/distopia


text:
add dev mode for ui that allows easy local editing

This PR implements a basic version of a UI development mode based on the discussion in this issue.
UI development is now just:

Copy docker-compose.dev.yml to docker-compose.override.yml
Run ./scripts/docker-compose-up.sh like normal
Edit any file in ui/src and see the changes reflected immediately on the UI

I think the one missing thing here is some documentation for contributors on how to run these commands. Let me know if there's a place where these belong, and I'm happy to flesh them out.

@tbroadley sure thing, added! Feel free to make any rephrases you deem helpful

repo: METR/vivaria


text:
Travel from a map does not clear the mouse popup.

When you open your map, click on a mouse, and then click on the location to travel, the mouse popup does not clear.

Fixed in v0.42.0, please reopen if you encounter this after updating.

repo: MHCommunity/mousehunt-improved


text:
When I start training the network, the training process gets stuck at the beginning and doesn't seem to start after a long time?

:question: Question

When I start training the network, the training process gets stuck at the beginning and doesn't seem to start after a long time?
my nndet_env :
----- PyTorch Information -----
PyTorch Version: 1.7.1+cu110
PyTorch Debug: False
PyTorch CUDA: 11.0
PyTorch Backend cudnn: 8005
PyTorch CUDA Arch List: ['sm_37', 'sm_50', 'sm_60', 'sm_70', 'sm_75', 'sm_80']
PyTorch Current Device Capability: (8, 6)
PyTorch CUDA available: True
----- System Information -----
System NVCC: nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Tue_Sep_15_19:10:02_PDT_2020
Cuda compilation tools, release 11.1, V11.1.74
Build cuda_11.1.TC455_06.29069683_0
System Arch List: None
System OMP_NUM_THREADS: 2
System CUDA_HOME is None: True
System CPU Count: 64
Python Version: 3.8.12 | packaged by conda-forge | (default, Jan 30 2022, 23:53:36)
[GCC 9.4.0]
----- nnDetection Information -----
det_num_threads 8
det_data is set True
det_models is set True
Terminal multiple outputs during training part：
142 | model.head.regressor.conv_internal.c_internal0.norm  | GroupNorm               | 256    | [1, 128, 88, 20, 20]                                                                                | [1, 128, 88, 20, 20]
143 | model.head.regressor.conv_internal.c_internal0.act   | ReLU                    | 0      | [1, 128, 88, 20, 20]                                                                                | [1, 128, 88, 20, 20]
144 | model.head.regressor.conv_out                        | ConvGroupRelu           | 560 K  | [1, 128, 88, 20, 20]                                                                                | [1, 162, 88, 20, 20]
145 | model.head.regressor.conv_out.conv                   | Conv3d                  | 560 K  | [1, 128, 88, 20, 20]                                                                                | [1, 162, 88, 20, 20]
146 | model.head.regressor.scales                          | ModuleList              | 4      | ?                                                                                | ?
147 | model.head.regressor.scales.0                        | Scale                   | 1      | [1, 162, 88, 20, 20]                                                                                | [1, 162, 88, 20, 20]
148 | model.head.regressor.scales.1                        | Scale                   | 1      | [1, 162, 44, 10, 10]                                                                                | [1, 162, 44, 10, 10]
149 | model.head.regressor.scales.2                        | Scale                   | 1      | [1, 162, 22, 5, 5]                                                                                | [1, 162, 22, 5, 5]
150 | model.head.regressor.scales.3                        | Scale                   | 1      | [1, 162, 11, 5, 5]                                                                                | [1, 162, 11, 5, 5]
151 | model.head.regressor.loss                            | GIoULoss                | 0      | ?                                                                                | ?
152 | model.anchor_generator                               | AnchorGenerator3DS      | 0      | [[1, 1, 352, 80, 80], [[1, 128, 88, 20, 20], [1, 128, 44, 10, 10], [1, 128, 22, 5, 5], [1, 128, 11, 5, 5]]]                      | [[1091475, 6]]
153 | model.segmenter                                      | DiCESegmenterFgBg       | 66     | [[1, 32, 352, 80, 80], [1, 64, 176, 40, 40], [1, 128, 88, 20, 20], [1, 128, 44, 10, 10], [1, 128, 22, 5, 5], [1, 128, 11, 5, 5]] | ?
154 | model.segmenter.conv_out                             | ConvInstanceRelu        | 66     | [1, 32, 352, 80, 80]                                                                                | [1, 2, 352, 80, 80]
155 | model.segmenter.conv_out.conv                        | Conv3d                  | 66     | [1, 32, 352, 80, 80]                                                                                | [1, 2, 352, 80, 80]
156 | model.segmenter.dice_loss                            | SoftDiceLoss            | 0      | ?                                                                                | ?
157 | model.segmenter.dice_loss.nonlin                     | Softmax                 | 0      | ?                                                                                | ?
158 | model.segmenter.ce_loss                              | CrossEntropyLoss        | 0      | ?                                                                                | ?
159 | model.segmenter.logits_convert_fn                    | Softmax                 | 0      | ?                                                                                | ?
160 | pre_trafo                                            | Compose                 | 0      | ?                                                                                | ?
161 | pre_trafo.transforms                                 | ModuleList              | 0      | ?                                                                                | ?
162 | pre_trafo.transforms.0                               | FindInstances           | 0      | ?                                                                                | ?
163 | pre_trafo.transforms.1                               | Instances2Boxes         | 0      | ?                                                                                | ?
164 | pre_trafo.transforms.2                               | Instances2Segmentation  | 0      | ?                                                                                | ?
18.9 M    Trainable params
0         Non-trainable params
18.9 M    Total params
75.477    Total estimated model params size (MB)
Validation sanity check: 0it [00:00, ?it/s]INFO Using validation DataLoader3DOffset with {}
INFO Building Sampling Cache for Dataloder
Sampling Cache: 100%|█████████████████████████████████████████████████████████████████████████████████| 84/84 [00:00<00:00, 34994.19it/s]
INFO Using 7 num_processes and 2 num_cached_per_queue for augmentation.                                           | 0/84 [00:00<?, ?it/s]
INFO VALIDATION KEYS:
odict_keys(['breast_011', 'breast_012', 'breast_019', 'breast_020', 'breast_021', 'breast_023', 'breast_028', 'breast_029', 'breast_032', 'breast_036', 'breast_039', 'breast_041', 'breast_042', 'breast_047', 'breast_049', 'breast_051', 'breast_053', 'breast_056', 'breast_069', 'breast_074', 'breast_085', 'breast_091', 'breast_098', 'breast_100', 'breast_101', 'breast_111', 'breast_116', 'breast_129', 'breast_131', 'breast_133', 'breast_135', 'breast_136', 'breast_138', 'breast_149', 'breast_155', 'breast_161', 'breast_165', 'breast_169', 'breast_170', 'breast_185', 'breast_191', 'breast_196', 'breast_197', 'breast_198', 'breast_216', 'breast_218', 'breast_221', 'breast_224', 'breast_231', 'breast_235', 'breast_238', 'breast_242', 'breast_245', 'breast_256', 'breast_259', 'breast_266', 'breast_267', 'breast_275', 'breast_276', 'breast_277', 'breast_282', 'breast_287', 'breast_292', 'breast_301', 'breast_306', 'breast_315', 'breast_318', 'breast_324', 'breast_328', 'breast_336', 'breast_341', 'breast_349', 'breast_360', 'breast_373', 'breast_386', 'breast_387', 'breast_389', 'breast_391', 'breast_399', 'breast_402', 'breast_403', 'breast_408', 'breast_418', 'breast_420'])
Validation sanity check:   0%|                                                                                | 0/10 [00:00<?, ?it/s]using pin_memory on device 0
Can you give me some advice,?   I ran 'nndet_prep --full_check' and it didn't seem to be a problem.

Dear @hj950815 ,
setting OMP_NUM_THREADS = 1 is always required otherwise training gets stuck. Since this Issue came up in the past as well, I just added a new section to the readme. Please check out the FAQ and Common Issues section. If the problem persists and the readme didn't help, please let me know.
Best,
Michael

Thank you very much for your help, I took it for granted that OMP_NUM_THREADS = 2, which caused this problem.
Thanks again for your answer！

repo: MIC-DKFZ/nnDetection


text:
Custom training data where the answer is sentence

Hey @MIL-VLG ,
I want to get your advice if possible
I was able to generate .npz files and to run the project, but i am facing weird issue
I have some medical data consists of Q and A, each of them is sentence
in the original VQA most of the answers are single word/number or something around,
i am running the mcan_small, on the accuracy i always get 0.0 after inspecting i see that i have irrelevant predicted answers and 99% of the answers is the same,
On the training i have very very small loss which makes me wonder how i get small loss(0.0006) and the answers are that much irrelevant
raw Data sample:
synpic45783|what is abnormal in the x-ray?|hydroxyapatite crystal deposition disease
Prepossessed data sample to fit the format[same sample]
In the questions     {       "question_id": 183,       "question": "what plane is demonstrated?",       "image_id": 45783     }, In the annotations     {       "question_id": 130,       "answers": [         {           "answer_id": 1,           "answer": "hydroxyapatite crystal deposition disease",           "answer_confidence": "yes"         }       ],       "answer_type": "other",       "image_id": 45783,       "question_type": "what is"     },
Example for predicted answer[same prediction for all the validation set]
{'image_id': 28204, 'answer_type': 'other', 'question_id': 0, 'question_type': 'was', 'answer': 'model'}
What do you think i can do so overcome this issue ?

Currently, we do not support such generation-based VQA models since the three benchmark datasets we provided have short answers and are usually regarded as a classification problem.
Since this may result in a huge framework modification, we do not have such a plan to implement it now. If you want to do that, you may need to do this by yourself.  Otherwise, can you preprocess the answers in your dataset to short ones and use the classification framework we provided?

Currently, we do not support such generation-based VQA models since the three benchmark datasets we provided have short answers and are usually regarded as a classification problem.
Since this may result in a huge framework modification, we do not have such a plan to implement it now. If you want to do that, you may need to do this by yourself. Otherwise, can you preprocess the answers in your dataset to short ones and use the classification framework we provided?

Hey,
By short you mean one word answer ?

Not exactly. The answers can be longer than one word, e.g., blue and while or dark blue. But we still regard it as a classification problem by using the high-frequency answers (e.g., occur 8 times in the training set. ) as the answer vocabulary.

authors: MIL-VLG ihabZhaika

repo: MILVLG/openvqa


text:
Group 11 and Group 12 Project Reviewing

Answer the following questions:
Repository Organization

Does the main README provide a clear overview of the project’s background and objectives?
Does the main README tell a clear and coherent story about the research project including motivations, challenges, doubts and ideas for further research?
Is the main README overwhelmingly long and detailed?
Does the main README help you navigate the repository?
Is it easy to find what your way around their repository by reading the names of folders and files?
Does every folder have a README describing what the folder is used for and what files/folders you will find in there?
Does it appear as though they have used their repository to collaborate and develop their work, not simply to publish their finished deliverables?

Collaboration Documents
Are all of the collaboration documents complete and written in well-formatted markdown?
If you were to join this team, how helpful would these documents be for your onboarding?
Do you see an alignment between the group’s learning objectives and the activity in the repository?
Has the group clearly identified their constraints, and do these constraints align with the work you see in the rest of the repository?
When you look through the repository, issues, pull requests and project board, does it appear as though the group follows their own norms?

Domain, Problem Statement and Research Question(s)

Can you find a clear problem statement that positions their work in an existing domain?
Is it apparent that the problem statement comes from their personal experience, or another personal motivation/interest?
Is there evidence that the group has done background research in their problem domain?
Is there evidence of deeper analysis into the problem and its domain? This could involve systems thinking.
Are the research questions clearly grounded in the domain and problem statement?
If there is more than one research question, are they closely related? Or do they point in all different directions?
Are the research questions specific and actionable - would you be able to tell if you found an answer to the question? and can you imagine how you might start searching for an answer?

Retrospectives
Do the retrospectives help you understand the process, decisions, mistakes, and dynamics behind what is in the repository?
Does the retrospective focus on behaviors, not individuals?
Do the retrospectives provide clear and actionable steps the group can take to improve in the future?
Do the retrospectives contain specific behaviors the group wants to stop doing in the future?
Can you see evidence in the repository the the group actually applied these changes in their work?

Data Sets
Are the data sets clearly documented in a markdown file?
Does the non-technical data documentation show an understanding of how the data was collected, and what biases or other problems may exist in the data?
Does the group discuss which data they were looking for but could not find?
Is there a discussion of which data modeling choices the group made and why? Including pros and cons for the selected approach?
Does the non-technical data documentation help you understand why this data is helpful for their project, how they decided these variables are important for modeling their problem?
Does the technical data documentation help you understand the rows, columns and types?
Does the technical documentation explain how the group cleaned, reshaped, merged and otherwise modified their data sets to create their final data model?

Data Analysis
Are the scripts/notebooks documented in a markdown file explaining the purpose of each script/notebook and why it’s important for the project?
Is there a discussion of which data analysis choices the group made and why? Including pros and cons for the selected approach?
Do the scripts/notebooks run without error? (after installing dependencies)
Are the scripts/notebooks clearly written so it’s possible to read through them and understand what they are doing? (not necessarily every detail, the big ideas are enough)
Can you find a markdown file with a non-technical explanation of the analysis results in a markdown file that explains what they learned so far? Does it include sources of uncertainty, doubt and suggestions of further research?

Hello. When we can look for some results of this task?

https://docs.google.com/spreadsheets/d/1Q8uZnyZrxt2oyo0R6ipNzFu6vo60uPYRyOgKgOFNTmo/edit#gid=906352181 Here is review for this task

authors: AnnaShliapkina DmytroLyt MajorPrestige


text:
gas exchange pkg

Some packages (cfc, bling) have similar implementations of Wanninkhof 92:
https://github.com/MITgcm/MITgcm/blob/1594ae1084c57e7f4c25883eddbc86ae49fb93c9/pkg/cfc/cfc_fields_load.F#L198
https://github.com/MITgcm/MITgcm/blob/1594ae1084c57e7f4c25883eddbc86ae49fb93c9/pkg/bling/bling_airseaflux.F#L146
For robustness, it'd be a good thing to merge this into a common gas exchange package.
We are also interested in implementing more modern parameterizations (e.g. Stanley et al 2009).
Having a common pkg would allow to choose between parameterizations.
Does this sound acceptable ? and is there someone working on this already? If not, I'd be happy
to work on this issue.

I think it would be great! Always nice to remove redundant code and also to facilitate collaboration and development across BGC packages.

@raphaeldussin it is also here
https://github.com/MITgcm/MITgcm/blob/0bb9fb970fe7ae5d3defdda91a855ea43676a8f5/pkg/dic/dic_surfforcing.F#L142
I think that is it though i.e.
see http://lxr.mitgcm.org/lxr2/ident/MITgcm?v=master&_i=pisvel&_showmatch=1&_remember=1
.
@seamanticscience and @stephdut any thoughts on having a common function for pisVel that can then be enhanced to include Stanley et al 2009 option?

Would it be sensible to add different schemes to pkg gchem, which all the BGC components are driven by?

I think this would be a good option to consider, no new (very small)
package but common function/code put in single place.
On Wed, Aug 01, 2018 at 08:49:46PM -0700, Jonathan Lauderdale wrote:

Would it be sensible to add different schemes to pkg gchem, which all the BGC components are driven by?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/MITgcm/MITgcm/issues/135#issuecomment-409797099

gchem splits a bit on #ifdef GCHEM_SEPARATE_FORCING and #ifdef GCHEM_ADD2TR_TENDENCY. Sould hypothetical gchem_gas_exchange_coeff be called from both gchem_calc_tendency() and gchem_forcing_sep()?
verification/cfc_example/code/GCHEM_OPTIONS.h(https://github.com/MITgcm/MITgcm/blob/0bb9fb970fe7ae5d3defdda91a855ea43676a8f5/verification/cfc_example/code/GCHEM_OPTIONS.h#L18) has #undef GCHEM_SEPARATE_FORCING. pkg/spoil may do same, but its not yet in github?

@jm-c There is a fair amount of other common code that might benefit from new parameterizations and other updates (#132) being synced across BGC packages somehow via pkg gchem, e.g. S/R CALC_PCO2_APPROX and S/R CARBON_COEFFS (especially for pkg dic, pkg bling and even darwin).

It would be great to have the carbon chemistry code in one place and used by dic, bling and darwin. I'm not sure the gchem is the right pkg though?

From: Jonathan Lauderdale [notifications@github.com]
Sent: Thursday, August 02, 2018 10:37 AM
To: MITgcm/MITgcm
Cc: stephd; Mention
Subject: Re: [MITgcm/MITgcm] gas exchange pkg (#135)
@jm-chttps://github.com/jm-c There is a fair amount of other common code that might benefit from new parameterizations and other updates (#132https://github.com/MITgcm/MITgcm/pull/132) being synced across BGC packages somehow via pkg gchem, e.g. S/R CALC_PCO2_APPROX and S/R CARBON_COEFFS (especially for pkg dic, pkg bling and even darwin).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MITgcm/MITgcm/issues/135#issuecomment-409949066, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkITCyhRtsog5fCLy0vuegoIQ1czyzG6ks5uMw67gaJpZM4VpZaM.

@seamanticscience and/or @stephdut would it make sense to create a separate github issue on "maybe create core carbon chemistry package". Then this thread can stay on "air-sea gas exchange". That assumes we can treat two a little separately for now?

@christophernhill I agree, it would be a useful test case.

@seamanticscience, @stephdut, @mmazloff, @raphaeldussin, @jm-c  and others. I created #138 for general discussion on whether and what common code for carbon chemistry in general makes sense. Don't feel shy about adding thoughts/concerns etc... to that issue.
@raphaeldussin we will try and keep this issue ( #135 ) narrowly focussed on air-sea gas exchange formulae. For that a function in gchem that can be called from gchem_calc_tendency() and gchem_forcing_sep() looks like a useful thing to try and code, if you are OK with that.

@christophernhill I think that sounds like a plan. I got the code from Rachel Stanley and will look at the original implementation and how to fit it into MITgcm. Thanks for your guidance and I will be in touch shortly.

authors: christophernhill jm-c mmazloff raphaeldussin seamanticscience stephdut

repo: MITgcm/MITgcm


text:
Can you update Dead by Daylight Mobile?

The game is now operated by NetEase and has Page Fault detection. The package name is com.netease.dbdena | com.netease.ma100asia | com.netease.ma100tw, they use the same libUE4.so. Could you please take the time to update it? Thank you very much.

UP

authors: Zaykus reunravel


text:
Unit tests for o2-timeslide-analysis project

Create tests for the functionality of the o2-timeslide-analysis project

Closing because this project should be removed


text:
9주차 스터디 후기

내용
9주차 스터디 피드백 적어주세요!

SQL 인젝션
없음

Key
없음

** 관계대수
오타 수정

데이터베이스 기본 용어
도메인 정의 수정

JOIN
조인 종류 추가내용 첨가

authors: HelloNaks HongEunho Jongminfire Kyun2da zoolake


text:
Break up Labcam after short press for voice note recording

Testserver: qa-gluons
Test date: 22.02.2017
Device: Tablet Nexus 9
User: standard user
Action: record voice note
-> open voice note window -> short press on microphone icon
Observation: ->"unfortunately, Labcam has stopped"
Expected result: The correct handling would be "long press", so I would expect an info box with something like "recording wasn't successful" and return to microphone icon

I have tested it. Now if user shortly press the button, there will be a pop-up showing up to remind user, that he has to long press to record voice note. LabCam will not crash if user only shortly press the button.

authors: hofmannc tonyqd

repo: MPDL/LabCam


text:
HDPDGI-256 [ATLAS-345] Should allow tag addition on any search result…

… that returns a reference-able entity

Patch sent

repo: MPR-Global/incubator-atlas


text:
torchvision FRCNN models crashing onnx_converter

I'm trying to convert a torchvision faster_rcnn model from pytorch to tflite, and found two onnx_converter crashing issues.
With onnx opset_version 11 or 12, onnx_converter hits a tf.math.subtract error, [1024,1024,3] doesn't fit [3,1,1], crash.
With onnx opset_version 13, there's a KeyError: 'split', crash.
The code is pretty much the onnx2tflite demo code with the model switched over.
Thanks in advance for looking into this!
my_test_py.txt

Thanks for your report.
I will test it carefully and try to repair it later.

authors: MPolaris atalkingegg


text:
Input matrix - raw or normalized?

Hello there!  Thanks for your tool, and I'm excited to try it out!
I took a look at your preprint as well as the manual, but I'm still confused as to whether the raw or normalized data is better as the input matrix.  Both are accepted, I know.  But my question is, is any one input type more preferred (normalized, log-normalized, or raw)?
I have 10X data, processed by Seurat.  So, can I give as input to COMET the log-normalized data as pre-processed by Seurat v2?
Any advice would be very helpful!
Thanks!

Hello! Thanks for reaching out.
I would say that, in general, the best input would depend on the context of your data. It is indeed true that the tool does not have a preference between the two so the extent to which a run is successful can be determined by the output. If the output with the normalized data does not have strict enough genes for example, count data can be used. To directly answer your question, you can absolutely give the log-normalized data as pre-processed by Seurat as long as the formatting fits the guidelines in the documentation!
Let us know if you run into any troubles.

authors: Cnrdelaney CodeInTheSkies

repo: MSingerLab/COMETSC


text:
Upgrade to .NET Core 3.0 and Standard 2.1

Tasks:

[x] Adapted documentation

[x] Upgraded to newest Entity Framework Core

[x] Upgraded all other nuget packages (except Mapster, need to test first)

[x] Changed all Windows.Forms-Tools to .NET Core, too

[x] Adapted Dockerfile

[x] Did a quick test if it starts and the AdminPanel shows up

[ ] Log Messages on the AdminPanel are missing
The SignalRAppender does not seem to forward the log messages to the connected clients correctly.

[x] Test connecting with a game client

[x] Fix T4 Template transformation

While debugging, I had a lot of these messages:
Exception thrown: 'System.IO.InvalidDataException' in Microsoft.AspNetCore.SignalR.Protocols.Json.dll
Exception thrown: 'System.NotSupportedException' in System.Text.Json.dll

So, I dig deeper and found the code throws the following System.NotSupportedException:
"Deserialization of reference types without parameterless constructor is not supported. Type 'MUnique.Log4Net.CoreSignalR.LogEntry'"
So it's more of an issue of the MUnique.Log4Net.CoreSignalR project.

repo: MUnique/OpenMU


text:
大佬，文章封面要怎么加哦？在文章顶部加cover 属性 没用诶

title: Git命令行
date: 2022-08-31 21:04:44
categories: Git
cover: 'https://picsum.photos/1080/1080?random=123942'      // 这里加了不起作用

cover: 'https://picsum.photos/1080/1080?random=123942'
换成
photos: [https://picsum.photos/1080/1080?random=123942]

好的谢谢大佬，另外这个从md内导入之后为什么格式会错乱呀

调试面板看看，是不是有文件没加载出来

好的谢谢大佬，可以加大佬个联系方式嘛，还是有些问题想请教大佬

你发我 admin@imalun.com 里，我加你吧😂

发你邮箱了，大佬

发你邮箱了，大佬

没收到额😂

我用QQ邮箱发了

大佬我的QQ：2279656909

大佬我的QQ：2279656909

已加

repo: MaLuns/hexo-theme-async


text:
Editor error: RuntimeLogger.gd does not inherit from Node.

Editor throws errors:
Failed to create an autoload, script 'res://addons/maaacks_game_template/extras/scripts/RuntimeLogger.gd' does not inherit from 'Node'.
editor/editor_autoload_settings.cpp:550 - Condition "!info->node" is true. Continuing.

This was originally encountered when starting from the template v0.4.0.

Restarting the project made the error disappear. I've not been able to recreate the error in the same project, nor by creating a new project.

repo: Maaack/Godot-Game-Template


text:
[BUG] Error when getting sheet by Name

Package version, Laravel version
Laravel-Excel: 2.1.17
Laravel: v5.4.24
Expected behaviour
$configSheet = $reader->sheet('Config'); should return the sheet with name 'Config'
Actual behaviour
        // Copy the callback when needed
        if (is_callable($sheetID)) {
            $callback   = $sheetID;
            $isCallable = true;
        } elseif (is_callable($callback)) {
            $isCallable = true;
        }

is_callable($sheetID) when $sheetID is a string returns true. Resulting in call_user_func being called on the String, resulting is an exception.
// Do the callback
        if ($isCallable) {
            call_user_func($callback, $this->sheet);
        }

Setting $isCallable parameter to false makes no difference. $configSheet = $reader->sheet('Config', false);
Exception stack trace
(1/1) ErrorException
array_key_exists(): The first argument should be either a string or an integer
in Arr.php (line 140)
at HandleExceptions->handleError(2, 'array_key_exists(): The first argument should be either a string or an integer', 'C:\\laragon\\www\\broadsoftpartner\\vendor\\laravel\\framework\\src\\Illuminate\\Support\\Arr.php', 140, array('array' => array('

at array_key_exists(object(LaravelExcelWorksheet), array(...
in Arr.php (line 140)

at Arr::exists(array('...
in Arr.php (line 273)

at Arr::get(array(...
in Repository.php (line 49)

at Repository->get(object(LaravelExcelWorksheet), null)
in helpers.php (line 270)

at config(object(LaravelExcelWorksheet))

at call_user_func('Config', object(LaravelExcelWorksheet))
in LaravelExcelReader.php (line 329)

at LaravelExcelReader->sheet('Config', false)
in UploadController.php (line 177)

at UploadController->App\Http\Controllers\{closure}(object(LaravelExcelReader))

at call_user_func(object(Closure), object(LaravelExcelReader))
in Excel.php (line 123)

Can you show me the full code example, thanks.

        $file = $request->file('file');

        $upload = new Upload();
        $upload->filename = preg_replace('/\\.[^.\\s]{3,4}$/', '', $file->getClientOriginalName()); // remove extension from filename
        $upload->upload_file = $file;
        $upload->user_id = Auth::id();
        $upload->save();

        flash(trans('messages.file uploaded!'), 'success');

        $report = [];
        $report[] = ['姓', '名', 'ユーザー名', 'パスワード', '電話番号'];
        $csv = $file->openFile();
        $line = $csv->fgetcsv();
        if ($line !== FALSE && $line[0]) {
                $reader = Excel::load('storage\bulk_load_template_simple_lite.xls', function (LaravelExcelReader $reader) use ($line, &$report) {
                $groupId = $line[0];
                $email = $line[1];
                $areaCount = $line[2];
                $areas = [];

                $userCount = 0;
                for ($i = 0; $i < $areaCount; $i++) {
                    $offset = (2 * $i);
                    $quantity = $line[3 + $offset];
                    $code = $line[4 + $offset];
                    $areas[$code] = $quantity;
                    $userCount += $quantity;
                }

                // Get Mailboxes for all users
                $mailboxes = $this->getMailboxes($userCount + 1, $groupId);

                // 1st area code: will be used for pilot user
                $pilotUserAreaCode = $line[4];

                // get 1 DID for pilot user
                $dids = [];
                $dids = array_merge($dids, $this->getDid(1, $pilotUserAreaCode));
                $this->deployDid($dids);

                // get DID's for all users
                for ($i = 0; $i < $areaCount; $i++) {
                    $offset = (2 * $i);
                    $quantity = $line[3 + $offset];
                    $code = $line[4 + $offset];
                    $dids = array_merge($dids, $this->getDid($quantity, $code));
                    $this->deployDid($dids);
                }

                $phoneNumbers = [];
                foreach ($dids as $did){
                    $phoneNumbers[] = str_replace('81', '0', $did->phone);
                }

                /** @var LaravelExcelWorksheet $configSheet */
                $configSheet = $reader->sheet('Config');
                /** @var LaravelExcelWorksheet $usersSheet */
                $usersSheet = $reader->sheet('Users');
                /** @var LaravelExcelWorksheet $hgSheet */
                $hgSheet = $reader->sheet('HGs');
                /** @var LaravelExcelWorksheet $tnSheet */
                $tnSheet = $reader->sheet('TNs');
                /** @var LaravelExcelWorksheet $listsSheet */
                $listsSheet = $reader->sheet('Lists');

                /**
                     Cut the bulk of the data insert code
                */

            });

            /** @var LaravelExcelWriter $reportWriter */
            $reportWriter = Excel::create('Report', function ($excel) use ($report){
                $excel->sheet('Customer Configuration', function($sheet) use ($report) {
                    $sheet->fromArray($report, null, 'A1', false, false);
                });
            });

            /** @var \PHPExcel_Writer_IWriter $writer */
            $writer = \PHPExcel_IOFactory::createWriter($reader->getExcel(), 'Excel5');
            ob_start();
            $writer->save('php://output');
            $content = ob_get_contents();
            ob_end_clean();
            $upload->parsed_file = $content;

            /** @var PHPExcel $excel */
            $excel = $reportWriter->getExcel();
            $writer = \PHPExcel_IOFactory::createWriter($excel, 'Excel5');
            ob_start();
            $writer->save('php://output');
            $content = ob_get_contents();
            ob_end_clean();
            $upload->report_file = $content;

            $upload->status = Upload::STATUS_PARSED;
            $upload->save();

Using the following code to fetch sheets works :
                /** @var LaravelExcelWorksheet $configSheet */
                $configSheet = $reader->sheet(0);
                /** @var LaravelExcelWorksheet $usersSheet */
                $usersSheet = $reader->sheet(2);
                /** @var LaravelExcelWorksheet $hgSheet */
                $hgSheet = $reader->sheet(4);
                /** @var LaravelExcelWorksheet $tnSheet */
                $tnSheet = $reader->sheet(7);
                /** @var LaravelExcelWorksheet $listsSheet */
                $listsSheet = $reader->sheet(19);

Looks like a sheet with the name Config is the problem here. Other sheets are fine

authors: Mopster patrickbrouwers

repo: Maatwebsite/Laravel-Excel


text:
[QUESTION]Error after composer upload

Hi
Could you tell me how to fix the issue?
Package version 2.1.0
Laravel version 5.2.19
[Symfony\Component\Debug\Exception\FatalErrorException]
Illuminate\Support\ServiceProvider::mergeConfigFrom(): Failed opening required '/Users/sk/Google Drive/_others/_root/Laravel/prin/database/vendor/maatwebsite/excel/src/Maatwebsite/Excel/../../config/excel.php' (include_path='.:')
Steps to reproduce the behaviour

Composer install
Added ServiceProvider to config/app.php
composer update
--> got the error.

Screenshot

You should probably install the package before adding the service provider.

Thank you Patrick.
I confirmed I cannot composer install or update after adding the service provider.
So whenever I add new package to the composer.json, I remove the service provider manually otherwise I get an error.
Do you know how the update the composer.json with LaravelExcel service provider ?

composer install --no-scripts maybe?

authors: patrickbrouwers shintaro-san


text:
Tutorial errors are not captured by tests

I intentionally introduced an error to one of the tutorial files. The error shows up as a warning in the jupyter-book build log, but does not generate a nonzero exit value and is therefore not captured by the CI testing framework. It is important that tutorials are regularly tested, so that any changes to the API that breaks the examples are immediately reported to developers.
This issue is a part of a JOSS review at https://github.com/openjournals/joss-reviews/issues/5967

Yes! I wanted to have that a while ago, but didn't know how to achieve it. I will revisit it today.

Resolved with PR #95

authors: MaceKuailv pnsaevik

repo: MaceKuailv/seaduck


text:
🛑 Webblate (hosted.weblate.org) is down

In ddbd090, Webblate (hosted.weblate.org) (https://hosted.weblate.org) was down:

HTTP code: 502
Response time: 482 ms

Resolved: Webblate (hosted.weblate.org) is back up in 2fb2f34 after 122 days, 11 hours, 16 minutes.

repo: Magic-Services/upptime


text:
🛑 Threema is down

In dd136c2, Threema (https://threema.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Threema is back up in 526e4b9 after 9 minutes.


text:
Improve Test Coverage

Adds more unit tests and increases the codecov test coverage.

Codecov Report

Merging #23 (490670b) into main (3c0390b) will increase coverage by 0.25%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   59.13%   59.39%   +0.25%
==========================================
  Files           5        5
  Lines         394      394
==========================================
+ Hits          233      234       +1
+ Misses        161      160       -1

Impacted Files
Coverage Δ

datamatic/context.py
94.11% <0.00%> (+1.17%)
: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 3c0390b...490670b. Read the comment docs.

authors: MagicLemma codecov-commenter

repo: MagicLemma/datamatic


text:
Broken Link in Java/README.md file

Bug detail
Name of the file in which the bug is present. Additionally, you can also add the line number and/or a code snippet of the bug.
DSA/algorithms/Java/README.md
Under Tree :
At Line  103: Random node of a binary tree
Counter example
The link does not work and is not linked to its respective file.

Hello, I'd like to fix this.

authors: christophermorin mohitchakraverty

repo: MakeContributions/DSA


text:
🛑 World Weather Online API is down

In ba61b37, World Weather Online API (https://api.worldweatheronline.com/premium/v1/marine.ashx?key=$API_WORLD_WEATHER_ONLINE&q=52.370216,4.895168&tide=no&fx=yes&tp=1&format=json) was down:

HTTP code: 0
Response time: 0 ms

Resolved: World Weather Online API is back up in 8fb7a6f.

repo: MamonakuCommittee/status


text:
Update master changelog Gaprindashvili B1

[skip ci]

@miq-bot add_label documentation

@miq-bot assign Fryguy

repo: ManageIQ/manageiq-appliance-build


text:
Marshalling boolean value to environment varaible of type string

Value of opentofu_offline is set to true or false in settings.
While setting it up in deployment environment variable we need to parse it to string

@miq-bot add_labels radjabov/yes


text:
[EUWE] Make cockpit image path relative

Use relative path so that the image is sourced from the SUI directory
instead of being requested from the MIQ server.
https://www.pivotaltracker.com/story/show/140246813
https://bugzilla.redhat.com/show_bug.cgi?id=1418066
@miq-bot add_label bug

@jjlangholtz Does this have an equivalent 'master' PR?

@simaishi This image is actually not used on master anymore, I believe it was removed as part of another change although I am having trouble finding the commit.

authors: jjlangholtz simaishi

repo: ManageIQ/manageiq-ui-service


text:
Previous logs removed from nfs/smb after executing another log collection process

Setup log collection by smb or nfs
Collect logs for zone or server - logs created and stores in nfs/smb server
Collect logs for zone or server again

RESULT: Previous logs was deleted. In nfs/smb server only new log file present
EXPECTED RESULT: All logs files are present

@miq-bot assign_label @lpichler

@miq-bot assign @lpichler

authors: lpichler otsuman

repo: ManageIQ/manageiq


text:
miq_tabs_init javascript function doesn't activate single tabs

I think when the function was changed from miq_jquery_tabs_init to miq_patternfly_tabs_init (now just miq_tabs_init), the functionality for when only a single tab is supposed to be displayed got messed up.
Now, if only a single tab is present (easiest to verify in a service dialog, but this happens for catalog items as well), nothing is displayed. See screen shot:

I found a quick fix in the javascript on the first line of the miq_tabs_init function:
if ($(id + ' > ul.nav-tabs > li:not(.hidden)').length > 1) {
to
if ($(id + ' > ul.nav-tabs > li:not(.hidden)').length >= 1) {
However, I don't know if it is the same behavior as what we want. Previously, the tab header would not show if there was only one tab, and this makes it show like so:

https://github.com/ManageIQ/manageiq/pull/3440

@eclarizio

@eclarizio this was fixed by #3440, can you please close the issue?

authors: eclarizio skateman


text:
Hide the password values in the log messages.

Use $log.log_hashes so the password values would be filtered.
https://bugzilla.redhat.com/show_bug.cgi?id=1619385
@miq-bot assign @gmcculloug
@miq-bot add_label bug, gaprindashvili/yes, services

@miq-bot add_label hammer/yes

Hammer backport details:
$ git log -1
commit bf5c14fce3f3d9681369e0132d2bbc7489426ab0
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Thu Sep 27 14:39:57 2018 -0400

    Merge pull request #18028 from lfu/password_log_2_1619385

    Hide the password values in the log messages.

    (cherry picked from commit 4aee0f3931a86a3b68f8305ee7d56c78df91b056)

    https://bugzilla.redhat.com/show_bug.cgi?id=1619385

Gaprindashvili backport details:
$ git log -1
commit 0f7e2841503386353759597323761eee76aefd10
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Thu Sep 27 14:39:57 2018 -0400

    Merge pull request #18028 from lfu/password_log_2_1619385

    Hide the password values in the log messages.

    (cherry picked from commit 4aee0f3931a86a3b68f8305ee7d56c78df91b056)

    https://bugzilla.redhat.com/show_bug.cgi?id=1634808

authors: lfu simaishi


text:
[Changelog] Update for Hammer RC2

[skip ci]

@miq-bot add_label documentation

@miq-bot assign simaishi

@carbonin as time permits, can you review. Satoe will merge if approved.


text:
Allow overriding ESXi IP address with a custom attribute

When ManageIQ builds the input file for virt-v2v-wrapper, it uses source.host.ipaddress to build the VMware URL. This IP address is usually the one on management network, which is probably not the most performance network connected to the ESXi host.
It would be great to have a mechanism to specify the IP address to use for VM transformation (V2V), so that the URL build can use it. The user could then provide the IP address on the most performant network. It would be user's responsibility to ensure that the IP address is reachable by conversion hosts.
This pull request implement a solution based on a custom attribute on the VMware host that the backend would use it if it is present, defaulting to source.host.ipaddress.
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1812685

@miq-bot add-label v2v, enhancement, ivanchuk/yes
@miq-bot add-reviewer @agrare

Ivanchuk backport details:
$ git log -1
commit 6c2e86127f9c3e354d46cc29f5d4ad7ed1db2d0e
Author: Adam Grare <agrare@redhat.com>
Date:   Thu Mar 12 09:14:04 2020 -0400

    Merge pull request #19954 from fdupont-redhat/v2v_bz_1812685

    Allow overriding ESXi IP address with a custom attribute

    (cherry picked from commit 920f914893d5c162c20c7aee0c8700d0c32d6d24)

    https://bugzilla.redhat.com/show_bug.cgi?id=1812685

Jansa backport details:
$ git log -1
commit d8d0a81f2c5a3f27787e0e1e3fa2910561e1d655
Author: Adam Grare <agrare@redhat.com>
Date:   Thu Mar 12 09:14:04 2020 -0400

    Merge pull request #19954 from fdupont-redhat/v2v_bz_1812685

    Allow overriding ESXi IP address with a custom attribute

    (cherry picked from commit 920f914893d5c162c20c7aee0c8700d0c32d6d24)

    https://bugzilla.redhat.com/show_bug.cgi?id=1812685

@fdupont-redhat please take a look at Travis failure in Ivanchuk branch:
https://travis-ci.org/github/ManageIQ/manageiq/jobs/664983628
  1) ServiceTemplateTransformationPlanTask populated request and task source is vmwarews destination is rhevm transport method is vddk generates conversion options hash with host custom IP address
     Failure/Error:
       expect(task_1.conversion_options).to eq(
         :vm_name              => src_vm_1.name,
         :vm_uuid              => src_vm_1.uid_ems,
         :conversion_host_uuid => conversion_host.resource.ems_ref,
         :transport_method     => 'vddk',
         :vmware_fingerprint   => '01:23:45:67:89:ab:cd:ef:01:23:45:67:89:ab:cd:ef:01:23:45:67',
         :vmware_uri           => "esx://esx_user@192.168.254.1/?no_verify=1",
         :vmware_password      => 'esx_passwd',
         :rhv_url              => "https://#{redhat_ems.hostname}/ovirt-engine/api",
         :rhv_cluster          => redhat_cluster.name,
       expected: {:conversion_host_uuid=>"host-0000000000013", :daemonize=>false, :insecure_connection=>true, :install...mware_password=>"esx_passwd", :vmware_uri=>"esx://esx_user@192.168.254.1/?no_verify=1", :warm=>true}
            got: {:insecure_connection=>true, :install_drivers=>true, :network_mappings=>[{:destination=>"Lan 00000000...mware_password=>"esx_passwd", :vmware_uri=>"esx://esx_user@192.168.254.1/?no_verify=1", :warm=>true}

@simaishi you probably need to backport https://github.com/ManageIQ/manageiq/pull/19698 first.

But https://github.com/ManageIQ/manageiq/pull/19698 is one of the PRs I need to hold off backporting. So this PR should have been on that "hold" list too?

Indeed. Sorry for forgetting it.

No problem, I reverted the backport for now:
commit a743e72c1d19e496ff947cfe51083e1ff0fa9cdf
Author: Satoe Imaishi <simaishi@redhat.com>
Date:   Mon Mar 23 08:17:24 2020 -0400

    Revert "Merge pull request #19954 from fdupont-redhat/v2v_bz_1812685"

    This reverts commit 6c2e86127f9c3e354d46cc29f5d4ad7ed1db2d0e.

Backported to ivanchuk via https://github.com/ManageIQ/manageiq/pull/20069

authors: fdupont-redhat simaishi


text:
Update post_install_callback logic based on new state

Valid phases for shutdown are:

poll_destination_powered_off_in_vmdb
poll_destination_powered_off_in_provider

@gmcculloug Please review

@miq-bot add_label provisioning

@gmcculloug Tests added, bug created.

This is good, but it is not really protecting against adding new states.  @bdunne and I have been discussing how to get more comprehensive tests around the state-machine transitions and will work on that in a separate PR.

authors: bdunne gmcculloug


text:
Use proper pf-icons for warn and error notifications

Fixes the missing icons when using miqFlash from miqService.

Fixes #9435

@epwinchell please review

@ammendonca Just as a side note, there is no need to open a GH issue if you have a PR to fix, or are working on a PR to fix (I noticed they were opened roughly at the same time, so I am guessing).  PRs are considered GH issues themselves, so it's redundant to have it twice.  Thanks!  If that's not what happened here then, please ignore 😄

@dclarizio Looks good
@ammendonca Thanks for catching this

@ammendonca I marked this to not backport to darga. If that is needed, we will need a BZ reported.  Thx, Dan

@Fryguy Thanks for the advice, old habits of using JIRA and GH :)
@epwinchell You're welcome
@dclarizio For where I am using it (Middleware deployments), it doesn't make a difference as it won't be backported to darga, but I see that miqService.miqFlash("warn", ...) is being used in several other places, so it might be worth backporting ?

authors: Fryguy ammendonca dclarizio epwinchell


text:
Correct defaults for SPI interface.

https://github.com/ManiacalLabs/BiblioPixel/issues/262#issuecomment-314070882

Rename pydev to spidev everywhere.
Set correct order of defaults of SPI interfaces in code.

@TuxCoder
Also, can we detect if you need to set the speed at construction time of the driver, and if not, automatically use FILE?
Is the reason we can't do WS281X or WS2801 strips with FILE entirely because of the speed, or is there something else?

The only one we cannot do with FILE is WS281X... WS2801 works fine. That
with FILE is my baseline test.
The reason for WS281x needing something other than FILE is the speed
setting issue, yes. No way around that.
I already hard fail if you try to use file and WS281X
On Mon, Jul 10, 2017 at 6:53 AM, Tom Swirly notifications@github.com
wrote:

@TuxCoder https://github.com/tuxcoder
Also, can we detect if you need to set the speed at construction time of
the driver, and if not, automatically use FILE?
Is the reason we can't do WS281X or WS2801 strips with FILE entirely
because of the speed, or is there something else?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/284#issuecomment-314072504,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6jH5kTkFyCBERd4Wz34lQ7agUz1Aks5sMgKLgaJpZM4OSqzf
.

A few more questions:
https://github.com/ManiacalLabs/BiblioPixel/wiki/SPI#notes
WS281X: There's a limit [what is that limit?] to the number of LEDs on this
strip in all these 3 implementations: it is a result of the spi abuse [what
is that?].
Currently no workaround exist for that and the PIWS281x driver should be
recommended on RPis [link to where to get that driver? Is there such a
driver for non-RPs?]
On Mon, Jul 10, 2017 at 1:31 PM, Adam Haile notifications@github.com
wrote:

The only one we cannot do with FILE is WS281X... WS2801 works fine. That
with FILE is my baseline test.
The reason for WS281x needing something other than FILE is the speed
setting issue, yes. No way around that.
I already hard fail if you try to use file and WS281X
On Mon, Jul 10, 2017 at 6:53 AM, Tom Swirly notifications@github.com
wrote:

@TuxCoder https://github.com/tuxcoder
Also, can we detect if you need to set the speed at construction time of
the driver, and if not, automatically use FILE?
Is the reason we can't do WS281X or WS2801 strips with FILE entirely
because of the speed, or is there something else?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<https://github.com/ManiacalLabs/BiblioPixel/issues/284#issuecomment-
314072504>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AA6a6jH5kTkFyCBERd4Wz34lQ7agUz1Aks5sMgKLgaJpZM4OSqzf>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/284#issuecomment-314079741,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPdstQppUwOaeoQjNFIh2ltPTCyZv6-ks5sMguRgaJpZM4OSqzf
.

--
/t
https://tom.ritchford.com https://tom.ritchford.com
https://tom.swirly.com https://tom.swirly.com

On Mon, Jul 10, 2017 at 11:59 AM, Tom Swirly notifications@github.com
wrote:

A few more questions:
https://github.com/ManiacalLabs/BiblioPixel/wiki/SPI#notes
WS281X: There's a limit [what is that limit?] to the number of LEDs on this
strip in all these 3 implementations: it is a result of the spi abuse [what
is that?].

455 pixels. Limit of the abuse and the max 4096 byte SPI buffer

Currently no workaround exist for that and the PIWS281x driver should be
recommended on RPis [link to where to get that driver? Is there such a
driver for non-RPs?]

PIWS2812x is built into BP3 though I notice now that the Wiki needs
updating: https://github.com/ManiacalLabs/BiblioPixel/wiki/PiWS281X
This driver has the issue of that the install is complicated as well...
though maybe less scary then the 250khz hack for the other driver :P
We should just put in those docs: Use an AllPixel :P

On Mon, Jul 10, 2017 at 1:31 PM, Adam Haile notifications@github.com
wrote:

The only one we cannot do with FILE is WS281X... WS2801 works fine. That
with FILE is my baseline test.
The reason for WS281x needing something other than FILE is the speed
setting issue, yes. No way around that.
I already hard fail if you try to use file and WS281X
On Mon, Jul 10, 2017 at 6:53 AM, Tom Swirly notifications@github.com
wrote:

@TuxCoder https://github.com/tuxcoder
Also, can we detect if you need to set the speed at construction time
of
the driver, and if not, automatically use FILE?
Is the reason we can't do WS281X or WS2801 strips with FILE entirely
because of the speed, or is there something else?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<https://github.com/ManiacalLabs/BiblioPixel/issues/284#issuecomment-
314072504>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AA6a6jH5kTkFyCBERd4Wz34lQ7agUz1Aks5sMgKLgaJpZM4OSqzf>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/ManiacalLabs/BiblioPixel/issues/284#issuecomment-
314079741>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AAPdstQppUwOaeoQjNFIh2ltPTCyZv6-ks5sMguRgaJpZM4OSqzf>
.

--
/t
https://tom.ritchford.com https://tom.ritchford.com
https://tom.swirly.com https://tom.swirly.com
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/284#issuecomment-314151520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6txKOotzm--prk47dfFvjZ2v3S7eks5sMkp0gaJpZM4OSqzf
.

Honestly, this is a won't fix to me. FILE should be the default. Period. Yes, there are caveats to that but so are there with the other options.

authors: adammhaile rec

repo: ManiacalLabs/BiblioPixel


text:
Scene caching doesn't account for mobject order

Description of bug / unexpected behavior

Rendering two scenes containing mobjects in the same positions but in different order consecutively and while using scene caching results in the same scene. More specifically, starting with a clean cache and rendering this scene:
from manim import *

class DraftScene(MovingCameraScene):
    def construct(self):
        circle = Circle().set_fill(color=RED, opacity=1)
        square = Square().set_fill(color=GREEN, opacity=1).shift(0.5 * UP)
        rectangle = Rectangle().set_fill(color=BLUE, opacity=1).shift(1 * UP)

        self.add(rectangle)
        self.add(square)
        self.add(circle)
        self.wait()

generates a scene with this still image

then afterward rendering this scene:
from manim import *

class DraftScene(MovingCameraScene):
    def construct(self):
        circle = Circle().set_fill(color=RED, opacity=1)
        square = Square().set_fill(color=GREEN, opacity=1).shift(0.5 * UP)
        rectangle = Rectangle().set_fill(color=BLUE, opacity=1).shift(1 * UP)

        self.add(rectangle)
        self.add(circle)  # the circle and square are swapped.
        self.add(square)
        self.wait()

generates the same still frame. The problem doesn't occur if scene caching is disabled or if an image is generated rather than a scene with the -s flag.
Expected behavior

The scene should change when the order of the mobjects is changed.
Logs
Terminal output

[12/06/20 19:09:30] WARNING  creating dummy animation                                                   animation.py:57
                    DEBUG    Hashing ...                                                                 hashing.py:239
                    DEBUG    Hashing done in 0.005885 s.                                                 hashing.py:254
                    DEBUG    Hash generated :  358529350_3669990374_3864889042                           hashing.py:258
                    INFO     Animation 0 : Using cached data (hash : 358529350_3669990374_3864889042)     caching.py:39
                    DEBUG    List of the first few animation hashes of the scene:                         caching.py:48
                             ['358529350_3669990374_3864889042']
                    DEBUG    Partial movie files to combine (1 files): ['/home/devneal/github/ scene_file_writer.py:429
                             manim/media/videos/draft/480p15/partial_movie_files/DraftScene/35
                             8529350_3669990374_3864889042.mp4']
                    INFO                                                                       scene_file_writer.py:551
                             File ready at /home/devneal/github/manim/media/videos/draft/480p1
                             5/DraftScene.mp4

                    INFO     Rendered DraftScene                                                           scene.py:104
                             Played 1 animations

System specifications
System Details

OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)): Arch Linux
RAM: 16GB
Python version (python/py/python3 --version): 3.8
Installed modules (provide output from pip list): N/A

FFMPEG
Output of ffmpeg -version: N/A

The rendering order is (for now) determined by the order of the Scene.mobjects list. Is that list not being cached? cc @ManimCommunity/scene-caching

My bad. Here :
https://github.com/huguesdevimeux/manim/blob/c83b5ba4b3b4522474eea807f6b1c10298284765/manim/utils/hashing.py#L246-L248
    current_mobjects_list_json = [
        get_json(x) for x in sorted(current_mobjects_list, key=str)
    ]

Scene caching order the list of mobjects before hashing it. So, the order of the list is not took into account.
Fixed by #845

authors: eulertour huguesdevimeux leotrs

repo: ManimCommunity/manim


text:
Two New Classes in geometry module: :class:.LabeledLine and :class:.LabeledArrow

Overview: What does this pull request change?
This PR adds two new classes: LabeledLine and LabeledArrow. LabeledLine inherits from Line and creates a line with a label and text box somewhere along its length. The position of the label, as well as the color and size can be controlled through parameters.
LabeledArrow inherits from LabeledLine and Arrow and allows to create arrows with a label somewhere along its length.
I also added some basic tests under tests/test_graphical_units/test_geometry.py.
I think these two classes belong in line.py, however, since they make use of SurroundingRectangle and BackgroundRectangle, there is a circular import problem. SurroundingRectangle and BackgroundRectangle are in shape_matchers.py which imports Line from line.py. For this reason, I decided to create a new file containing my new classes: labeled.py.
Motivation and Explanation: Why and how do your changes improve the library?
I added these classes because I needed to create neural network animations that show weights between neurons. None of the tools already available were suitable for this task if I wanted to easily automate them. I think that lines or arrows with labels are very useful for diagrams and figures, so it would be nice to have them as part of the default package.
Here is a short video of what I am using these classes for:
https://github.com/ManimCommunity/manim/assets/17301409/fd2d83d6-0516-458f-9b49-f695f75981ae
The label box can be moved anywhere along the length of the arrow or line, and in this case, I left it near the beginning.
Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

[x] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[x] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[x] If applicable: newly added functions and classes are tested

Also, thanks again @andresberejnoi for the contribution! If you're on the Manim Discord server and interested in having the Contributor role, message out to ModMail and link this PR :)

Thank you, and I'm glad the contribution is useful. I will make sure to check out the Discord server again.

authors: andresberejnoi jsonvillanueva


text:
Clock time is not updating with khal

System time is correct but sometimes the kha lclock shown  in the status  bar is not updating.

if its "in" the status bar, thats not an issue with khal. the status bar barely acts as a shortcut for khal. the actual display is done using a built-in extension of waybar:
https://github.com/Manjaro-Sway/desktop-settings/blob/sway/community/sway/etc/skel/.config/waybar/config#L69
can you describe this a bit more? how inaccurate is it? perhaps in the configured 60s update timeframe?

closing for now dueto no reaction.

authors: boredland cassc

repo: Manjaro-Sway/manjaro-sway


text:
Bower publication

We should consider supporting bower for publishing builds. Bower is getting pretty deprecated but I feel that it's still worth it.

And yarn?

Yarn uses the npm repository

authors: Mechazawa beschoenen


text:
Update StoryPins

Fixes bugs, tests and adds new features to StoryPins.

@darinacosta : should we add yarn.lock to the .gitignore?

repo: MapStory/story-tools-composer


text:
Support for MAUI Blazor Hybrid

I am developing a MAUI Blazor Hybrid application and would like to use Mapsui in it.  Following the quickstart guide for Mapsui.Blazor doesn't seem to work in this form.  I'm presented with SkiaSharp currently only works on Web Assembly in the console.
I have also attempted to include Mapsui.Maui in order to call UseSkiaSharp(true), but that didn't help.
If my understanding is correct, Blazor hybrid is running in a WebView, I would assume this should work like a normal web-based Blazor project?
Not quite sure if this is a feature request or a bug report, but any feedback would be appreciated.

I see.  Okay, I'll have to just make native MAUI views for these pages then.
Thanks!

So I do not understood: is it possible to use Mapsui.Blazor  ? I still have the error SkiaSharp currently only works on Web Assembly

Blazor and Blazor-Hybrid are two separate things. Blazor works, as in our samples, https://mapsui.com/samples/. Blazor-Hybrid does not because of SkiaSharp limitations.

Blazor and Blazor-Hybrid are two separate things. Blazor works, as in our samples, https://mapsui.com/samples/. Blazor-Hybrid does not because of SkiaSharp limitations.

Will it work ?

Blazor-Hybrid does not work

authors: JTrotta MrZander pauldendulk

repo: Mapsui/Mapsui


text:
Add local version check

Implements #1763: adds additional check for release-plz init that ensures all local dependencies have a version specified. Specifying version = "*" is treated like having no version specified, which follows the behavior of cargo.
Closes #1763.

Nice thanks! I just left one last minor comment

Good catch, I renamed the variable. Is there anything else you need me to do?

Thanks!

repo: MarcoIeni/release-plz


text:
Initial height as 0.x of Screen height and downward scrolling in Pull Up Controller and vice-versa

Hi,
I have used a pull-up controller for one of my projects. I am stuck in a situation:

When the view launches my pull up view height should be 0.6 * the screen height.

To achieve this I have changed the height from 50 to 0.6 * the screen height.

Now, my pull controller goes to the top,comes back to the given height.

From this height 0.6* the screen height, I want the controller to come down to the bottom and again go up to both the heights.

I am not able to change the logic to achieve this. How can we modify the logic so that we can achieve this transformation of this order:
On launch -  0.6 * screen height
Top scroll - 400
downward scrolling - 0.6 * screen height
downward scrolling - 50 (Not able to achieve)
upward scrolling - 0.6 * screen height
upward scrolling - 400
Please help me out as I need to implement it urgently and save me from rework

Hi @pratyush-techjini I've just pushed some changes in bugfix/fix-initial-state.
You can achieve the effect you're talking about in the demo project by select "Expanded" as initial state and by tapping "Remove" then "Add".
You can know more on how the bug has been fixed here: https://github.com/MarioIannotta/PullUpController/commit/e52ad681ee553ca9216398ea009eb542080556e8
Let me know what do you think of the fix.

authors: MarioIannotta pratyush-techjini

repo: MarioIannotta/PullUpController


text:
Remove observe_field function

Deprecated since a while ago. Won't work with Rails 3.1, 3.2 and up. Should be easy enough to replace with plain Javascript:
http://apidock.com/rails/ActionView/Helpers/PrototypeHelper/observe_field (for a reference on what Javascript was generated)

Also part of prototype_legacy_helper, closing this as a duplicate of #475

authors: daneshd jerboaa

repo: MarkUsProject/Markus


text:
Unable to pass "Predicate" argument to wait for keywords

Describe the bug
I cannot pass in input of Wait For Response a predicate matcher, it is always considered as a url.
Documentation states

matcher Request URL string, JavaScript regex or JavaScript function to match request by. By default (with empty string) matches first available request.

But there are no example on how to pass a predicate
To Reproduce
Steps to reproduce the behavior:
Wait For Response  matcher=request => request.url() === 'https://example.com' && request.method() === 'GET'

Expected behavior
Wait for the request with given url and method
Desktop (please complete the following information):

OS: MacOS
Browser: Chromium
Version: robotframework-browser==9.0.2

Additional context
Note that my need behind is to be able to wait for a specific request method (sometimes I am polluted with the OPTIONS requests, so I want to filter them out)

I recall seeing this bug in the node side, it did had something to do with how we handle the arguments.

@allcontributors please add @Leemur89 for bugs.

Desktop (please complete the following information):
OS: MacOS 11.6
Browser: Chromium
Version: robotframework-browser==10.0.3
I also ran into this issue, but with a POST request:
Test Data
${response}    Wait For Response    (resp) => resp.url().includes('jsonplaceholder');

Log Output
TimeoutError: page.waitForResponse: Timeout while waiting for event "response"
=========================== logs ===========================
waiting for response /.*(resp) => resp.url().includes('jsonplaceholder')…/
============================================================

Next, if I use a simple string for the matcher, then I get a different error:
Test Data
${res}    Wait For Response    matcher=jsonplaceholder

Log Output
Error: response.text: Protocol error (Network.getResponseBody): No resource with given identifier found

Using a string with a GET request works as expected.
Curiously, waitForRequest and waitForResponse do different things; I'm not sure if it's related:
waitForResponse
export async function waitForResponse(request: pb.Request.HttpCapture, page: Page): Promise<pb.Response.Json> {
    const urlOrPredicate = new RegExp(`.*${request.getUrlorpredicate()}`);
    ...
    ...
}

waitForRequst
export async function waitForRequest(request: pb.Request.HttpCapture, page: Page): Promise<pb.Response.String> {
    const urlOrPredicate = request.getUrlorpredicate();
    ...
    ...
}

I patched this locally, and it worked as expected. I can't seem to get inv atest or inv utest to completely pass, though, and I had to modify tasks.py to build the node dependencies for the Apple M1 chip , so I'm reluctant to open a PR.
export function deserializeUrlOrPredicate(request: pb.Request.HttpCapture): RegExp | Function {
    let urlOrPredicate = request.getUrlorpredicate();

    if (/^function.*{.*}$/.test(urlOrPredicate)) {
        // eval() needs an expression in order to return a function,
        // so if it's not an arrow expression, it must be wrapped in parens
        urlOrPredicate = `(${urlOrPredicate})`;
    }

    // Possibly an arrow function or a parens-wrapped function from above
    if (urlOrPredicate.startsWith('(')) {
        const fn = eval(urlOrPredicate);
        if (typeof fn === 'function' || Object.prototype.toString.call(fn) === '[object Function]') {
            return fn;
        }
    }

    return new RegExp(`.*${urlOrPredicate}`);
}

Please send a PR, we have few rand

This should be resolved with PR#1533. I wasn't sure how to associate it with this issue.

authors: Leemur89 aaltat jpobley rsandbach

repo: MarketSquare/robotframework-browser


text:
Have the bot answer in the thread (rather than I the channel)

I like your slack chatgpt bot, are you still maintaining it?
My main UX feedback would be to have the bot answer in a thread rather than in the main channel.

@thibauldI can maintain that I simply didn't know that someone would use it.

authors: MarkusGalant thibauld


text:
GPMDP intercepts Alt-Space window shortcut and toggles playback

OS: Windows
Because I am an Old, I use Alt-Space, n to minimize windows (this is a standard Windows feature since at least Win3.1). In GPMDP however, the "Space" part of Alt-Space gets picked up simultaneously and the music gets paused. If the Alt modifier is down, we should ignore this keystroke.

Heh, just spent 10 minutes looking for this shortcut before realizing it is Google's shortcut not mine 😢
This could be a fun one to solve

Hi can I take this one ?

Sure, give it a shot @mdsecurity

@paulcbetts @mdsecurity This appears to be an issue upstream with Electron.  I tested in Chromium and the raw Electron app and in Chromium doing the "alt+space" shortcut does not send the "space" key event to the window.
Whereas in Electron the "space" key event is sent.  I believe we can workaround the issue, but I'll probably raise this upstream as well 👍

authors: MarshallOfSound mdsecurity paulcbetts


text:
Implement Playlists in the MPRIS spec

OS:
Manjaro GNOME (community edition) 16.08 64-bit (GNOME version 3.20.2)
Issue Descriptions:
The Media Player Indicator extension for GNOME integrates fine and lets me pause, play, and skip songs perfectly, but the volume slider nor the list of playlists work. The bar to scrub music does not show either.
Steps to Reproduce:
Install GNOME Media Player Indicator
Let Media Player Indicator access playlists and volume via GNOME Tweak Tool
Google Play Music Desktop Player does not let Media Player Indicator access volume, playlists or scrub music

Seek currently has issues see --> https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/1626#issuecomment-246352166
I guess playlists could be implemented through https://www.npmjs.com/package/mpris-service#playlists but I'm not sure how smoothly it will work.

I spent a few hours investigating this and AFAICS playlists just "Don't Work"(tm) with the node.js mpris implementation, if someone else can make them work that would be cool 😆


text:
Windows media provider service integration no longer working

OS: Windows 10 (Anniversary update)
Issue Descriptions: The windows media provider integration (Where the media name and album art is shown when changing tracks or adjusting volume) no longer works in the latest version of GPMDP. (4.0.3)
Steps to Reproduce: Be on Windows 10 and adjust volume while music is playing. The music HUD is not shown.

https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/releases/tag/v4.1.1
It wasn't released until version 4.1.1, you are on 4.0.3.

...That's weird. I got an update the other day saying it added WMP integration, and then I got an update today and it's no longer there. Guess I somehow got updated to an unreleased version for some reason... Thanks!

I'm having the same issue on Windows 10 version 1709. I'm using the latest version of GPMDP, 4.5.0.

authors: Codepixl dolsem jostrander


text:
How to align these buttons?

Hey, thanks for creating a wonderful alternative to other (costly) programs.
I understand that buttons auto-align. I'm trying to top align the right arrow button to the up arrow - is that possible?

layout_width: 4
button_size: 24
margin: 8

left:
    action: left
    icon: arrow_left_thick
    size: 1,2

  up:
    action: up
    icon: arrow_up_thick
    size: 2,1

  down:
    action: down
    icon: arrow_down_thick
    size: 2,1

  right:
    action: right
    icon: arrow_right_thick
    size: 1,2

...fixed it right after posting this. Just switched the down and right buttons in the code 👍

repo: Martenfur/TabletFriend


text:
Milestone 2: Add add/remove feature

Milestone 2: Add add/remove feature
In this milestone I:

Added a feature for adding a task
Added a feature for removing a task

Hi @MarwanDev,
While you made a great effort in this project, I cannot proceed to review your code.
Invalid Code Review Request
Kindly ensure the linter checks run on this PR
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

authors: DammyShittu MarwanDev

repo: MarwanDev/todo-list-js


text:
Null pointer fix: changed the place where the resolution is set

The callback failed due to set a null resolution.

thx great pull request!

authors: GabrielMorenoIbarra MasayukiSuda


text:
OAuth 2 plugin does not autogenerate provision_key attribute

When creating an OAuth 2.0 plugin with an empty provisioning_key attribute, the provision_key should be automatically generated. This, however, is not the case.
$ curl -X POST http://192.168.99.100:8001/apis/cef9f773-46e2-4f94-9ca8-1e25b190c887/plugins --data "name=oauth2" --data "config.scopes=email, phone, address" --data "config.mandatory_scope=true" --data "config.enable_authorization_code=true" | json_pp

{
   "api_id" : "cef9f773-46e2-4f94-9ca8-1e25b190c887",
   "config" : {
      "mandatory_scope" : true,
      "accept_http_if_already_terminated" : false,
      "scopes" : [
         "email",
         "phone",
         "address"
      ],
      "enable_authorization_code" : true,
      "hide_credentials" : false,
      "enable_client_credentials" : false,
      "enable_implicit_grant" : false,
      "token_expiration" : 7200,
      "enable_password_grant" : false
   },
   "name" : "oauth2",
   "enabled" : true,
   "created_at" : 1474199382000,
   "id" : "facadd31-c286-4543-98ce-820d4052e132"
}

Additional Details & Logs

Kong version 0.9.1
Operating System - Mac OS X 10.11.6, running in Docker

@petrdvorak I am trying to replicate your issue without success with Kong 0.9.1 and with the next branch which will become 0.9.2. How are you creating the plugin?

Thank you for looking into the issue, @thefosk.
The behavior was little weird and it took me a while to reproduce the issue. The problem was in using the (unofficial) Kong Dashboard UI. OAuth 2.0 plugin setup page has the "Provision key" field editable and if you don't fill it in, it apparently uses empty string. Once you set an empty string to provision_key for one plugin, it is since then empty for every plugin...
Steps to reproduce, in plain shell:
Docker part
$ docker run -d --name kong-database \
    -p 9042:9042 cassandra:2.2

$ docker run -d --name kong \
    --link kong-database:kong-database \
    -e "KONG_DATABASE=cassandra" \
    -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
    -e "KONG_PG_HOST=kong-database" \
    -p 8000:8000 \
    -p 8443:8443 \
    -p 8001:8001 \
    -p 7946:7946 \
    -p 7946:7946/udp kong

Kong part - how to break it
$ http POST http://192.168.99.100:8001/apis name=demoA \
    request_path=/demoA \
    upstream_url=http://localhost:8080/demoA \
    strip_request_path=true

$ http http://192.168.99.100:8001/apis/demoA/plugins \
    name=oauth2 \
    config.scopes=email,phone,address \
    config.mandatory_scope=true \
    config.enable_authorization_code=true \
    config.provision_key=""

Note the config.provision_key="" at the end of the line.
http POST http://192.168.99.100:8001/apis \
    name=demoB \
    request_path=/demoB \
    upstream_url=http://localhost:8080/demoB \
    strip_request_path=true

http http://192.168.99.100:8001/apis/demoB/plugins \
    name=oauth2 \
    config.scopes=email,phone,address \
    config.mandatory_scope=true \
    config.enable_authorization_code=true

Note that even if config.provision_key="" is not present, provision_key is not generated.

OK, so it seems this is not reproducible either... give me some more time to reproduce. :-/

... one more time... it is reproducible if you create the first API with the Kong Dashboard UI... they must mess something up when creating the plugin and it breaks Kong as such...

I have created a rather dramatic 3'5" long video to show the steps to reproduce: https://youtu.be/C98toHhEivk

it is reproducible if you create the first API with the Kong Dashboard UI

My reaction after seeing it happening. This is very weird edge-case.
Do you see any errors in the Kong container at /usr/local/kong/logs/error.log? You need to first manually SSH into the container with docker exec -ti KONG_CONTAINER_ID /bin/bash.

I do not see anything related in the log, there are plenty of notices, couple of warnings and one error that might be somehow relevant (but according to the error message, it is not).
2016/09/19 22:11:06 [notice] 115#0: using the "epoll" event method
2016/09/19 22:11:06 [notice] 115#0: openresty/1.9.15.1
2016/09/19 22:11:06 [notice] 115#0: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
2016/09/19 22:11:06 [notice] 115#0: OS: Linux 4.4.17-boot2docker
2016/09/19 22:11:06 [notice] 115#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2016/09/19 22:11:06 [notice] 115#0: start worker processes
2016/09/19 22:11:06 [notice] 115#0: start worker process 123
2016/09/19 22:11:07 [error] 123#0: *1 [lua] globalpatches.lua:21: randomseed(): math.randomseed() must be called in init_worker, client: 127.0.0.1, server: kong_admin, request: "POST /cluster/events/ HTTP/1.1", host: "127.0.0.1:8001"
2016/09/19 22:11:07 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/19 22:11:07 [notice] 123#0: signal 17 (SIGCHLD) received

....

2016/09/19 23:10:39 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/19 23:11:09 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/19 23:11:11 [warn] 123#0: [lua] reports.lua:23: log_error(): [reports] failed to acquire ping lock: timeout, context: ngx.timer
2016/09/19 23:11:39 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/19 23:12:09 [notice] 123#0: signal 17 (SIGCHLD) received

....

2016/09/20 00:10:42 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 00:11:12 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 00:11:16 [warn] 123#0: [lua] reports.lua:23: log_error(): [reports] failed to acquire ping lock: timeout, context: ngx.timer
2016/09/20 00:11:42 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 00:12:12 [notice] 123#0: signal 17 (SIGCHLD) received

....

2016/09/20 02:10:48 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 02:11:18 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 02:11:26 [warn] 123#0: [lua] reports.lua:23: log_error(): [reports] failed to acquire ping lock: timeout, context: ngx.timer
2016/09/20 02:11:36 [warn] 123#0: [lua] reports.lua:23: log_error(): [reports] could not set peer name for UDP socket: kong-hf.mashape.com could not be resolved (110: Operation timed out), context: ngx.timer
2016/09/20 02:11:48 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 02:12:18 [notice] 123#0: signal 17 (SIGCHLD) received

....

2016/09/20 05:10:58 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 05:11:28 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 05:11:51 [warn] 123#0: [lua] reports.lua:23: log_error(): [reports] failed to acquire ping lock: timeout, context: ngx.timer
2016/09/20 05:11:58 [notice] 123#0: signal 17 (SIGCHLD) received
2016/09/20 05:12:28 [notice] 123#0: signal 17 (SIGCHLD) received

I will try to investigate the issue a bit more - the Kong Dashboard breaks this quite deterministically, I will try to recapture the requests it makes...

Closing this since we cannot replicate. Feel free to reopen once we have more data.

I am also having the same issue. I added oauth2.0 plugin to one of our APIs via the dashboard first, and the provision key field remained empty. Then I created another API via kong REST admin and tried adding oauth plugin. The response returned did not have any provision key.
How can this be resolved ?

Also having this issue.

authors: TheDolo anshulturvo petrdvorak thefosk

repo: Mashape/kong


text:
[request] Traffic Replication

Kong could send requests to multiple upstream targets for testing services and machines without effecting end-user experience. Here's a similar project for more information on traffic replay and inspiration for the capabilities and options that the plugin might use.

:+1:

related to #210

authors: lucamaraschi montanaflynn sinzone


text:
Use of colon in request path for API creation

Unable to specify special characters such as a colon (:) in request path i.e. path must only contain alphanumeric and '. -, _, ~' characters.

Only characters contained in RFC 3986's section 2.3 unreserved characters list are allowed in the request_path property.

Characters that are allowed in a URI but do not have a reserved
purpose are called unreserved.  These include uppercase and lowercase
letters, decimal digits, hyphen, period, underscore, and tilde.

unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"

I believe it would be wrong to accept characters from the reserved list (aka URI delimiters defined in section 2.2) since they would need to be percent encoded when your consumers are making the request to Kong, which would make things confusing for them. If they would be sent not percent encoded, we would not comply to RFC 3986 in the way that request_path is supposed to be contained in a URI section delimited by /, which would not be the case if other delimiting characters were allowed.

Hi Charbonnier,
Can you please provide guidance regarding how we should proxy these type of requests?
https://localhost/wapi/v1.2.3/record:host?name~=abcmachine&ipv4addr~=192.168.2.2&_return_type=xml-pretty
https://localhost/wapi/v1.2.3/network?network=192.168.2.0&_return_type=xml-pretty&_return_fields=network,netmask,options,extattrs
Thanks, Kathy
From: Thibault Charbonnier [mailto:notifications@github.com]
Sent: Friday, November 06, 2015 11:10 PM
To: Mashape/kong
Cc: Maher, Kathy
Subject: Re: [kong] Use of colon in request path for API creation (#692)
Only characters contained in RFC 3986https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_rfc3986&d=CwMCaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=gFEejS4hzs1eGwRbNnwrLKtyDc4uDMIztPDHP1LxfVE&m=aJeTMbRE3fpN06YYxeDmaYaoelI70GZhzqS2JiGG37o&s=igrPDFrFA_7cVc7e8ukgXW2zbL0ve7Qf2UTBGL39wb8&e='s section 2.3 unreserved characters list are allowed in the request_path property.
Characters that are allowed in a URI but do not have a reserved
purpose are called unreserved. These include uppercase and lowercase
letters, decimal digits, hyphen, period, underscore, and tilde.
unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"
I believe it would be wrong to accept characters from the reserved list (aka URI delimiters defined in section 2.2) since they would need to be percent encoded when your consumers are making the request to Kong, which would make things confusing for them. If they would be sent not percent encoded, we would not comply to RFC 3986 in the way that request_path is supposed to be contained in a URI section delimited by /, which would not be the case if other delimiting characters were allowed.
—
Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mashape_kong_issues_692-23issuecomment-2D154623348&d=CwMCaQ&c=gtIjdLs6LnStUpy9cTOW9w&r=gFEejS4hzs1eGwRbNnwrLKtyDc4uDMIztPDHP1LxfVE&m=aJeTMbRE3fpN06YYxeDmaYaoelI70GZhzqS2JiGG37o&s=w04HwIK8tDzhdgoavEW0CnA7qD2g_AMnXIOBdb9bovg&e=.

If you wish to route by path, your request_path could be:

/wapi/
or /wapi/v1.2.3/
or even /wapi/v1.2.3/network and /wapi/v1.2.3/record.

If you wish to route by Host, (request_host), then it depends on the domain name on which Kong is hosted.
Up to you. Please read the proxy docs.


text:
fix: api tests. Escaping was erroring.

How was this not noticed by travis? Something must be wrong...

Coverage remained the same at 74.19% when pulling b3b27bf5b482b1be3a0d7777a817cb87f6b1a38e on fix/tests-api into 9d0943c1c77a434b9a7e84cfbeeedb48b85f66ad on master.

authors: coveralls thibaultCha


text:
[MT3] RabbitMq empty queueName error

RabbitMqAddressExtensions.VerifyQueueOrExchangeNameIsLegal(string queueName) throws exception with text "The queueName can be empty, ..." if queueName is empty.
Found this, when tried to use RequestClient without queue in uri.

So, it worked as expected? I'm not sure what the issue is here since you must have a queue name for the request client.

There is issue either in behavior or in exception message (it says, that queue name can be empty).
Relative question - what if I don't know service queue name at runtime, but I'm sure that there is only one queue with responding handler for each message type?

I've cleaned that up I think.
Are you asking to "publish" the request instead of sending it? That's not a general approach I would consider recommended.

When I considered options to implement modularity and loose coupling in my solution, I decided to use message handler class names as queue names (multiple message types per class, most of message types don't require response and similar handlers should work concurrently) and to publish messages to vhost root. It allows to verify whole system configuration easily using, for example, visualizer plugin for RabbitMq.
The only obstacle I encountered with this aporoach is request-response: queue name will introduce undesirable coupling between message type and handler implemenation. Temporary solution I'm using now is to use one queue for all request-response cases. What would you recommend?

The thing is, you typically send a command to and endpoint (identified by an address) - not a particular consumer or class. And then maintain a registry of endpoint addresses for services that is used to see the RequestClient configurations.
The responses can use the temporary bus queue, but you'd want to share a single bus for the requesting process to avoid too many addresses being created and destroyed as there is a setup cost associated with it.

Thank you for your response. I use one or two buses per application domain and usually simply publish messages allowing RabbitMq to route them to correct endpoints.
If I understood you correctly, I can (and should) send requests only to queues directly and if I don't want to know queue names at compile time, I should maintain dedicated endpoint with registry of request handlers' queues. Am I right?

It would not be an endpoint that manages those endpoints, but a configuration setting that would be used to configure the message request client to know where to send the requests. This may be in a .config file that is transformed at deployment time, or any other way of managing configuration information separate from code.

Ok, thank you. So the exception message should be changed, because it says that queue name can be empty.

Fixed this for the next v3 release, duh.

authors: newsash phatboyg

repo: MassTransit/MassTransit


text:
View current registered identifiers

I notice many blocks being called multiple times in the same widget. This cause a big performance hit when the block calls an outside function. I dunno why, but if I call a function outside of the callback block, from the block and it is intensive, (such as a forecast loop) it could cause a safemode. For this i've been staying away from registering identifiers.
That being said It would be nice to see which identifiers are registered. Also a log when an identifier is registered/unregistered would be great to see. I've found through testing that body onunload is not very reliable, it would be good to see if things are working properly through the console.

I have tried to reduce calling of blocks in v1.0.2 for music; it will now call only twice, once when artist/album etc names change, and another when new artwork data becomes available.
Which particular callbacks are the worst offenders?

I would say anything that requires more javascript to parse. Weather is one. This is mainly due to you needing to do more with weather than anything else. To better explain, for music you take the info and put directly to innerHTML or image src. With weather it will return a JSON for forecast so you need to parse it and then loop to create the forecast. Depending on how many days you are doing, or if you're doing hourly, this could be intensive. Doing this multiple times in a row is redundant and does cause cycript to crash easily.
What I don't understand is the block is calling an outside function (which is not in text/cycript) but it seems even though you call this from inside cycript IS2 block it adds it to the cycript stack (I'm just guessing here). My theory is when you call it from the block, cycript will take the function and do its cycript magic to it. (much like when you toggle ?debug in cycript) I've noticed the "cycript stack" is much more vulnerable compared to the javascript stack. The more info that is in it the slower your code will run. The only fix i've found is no longer using a weather callback or any callbacks if I can, and limiting the amount of code in text/cycript.

This may be nicely addressed by the changes proposed in #8

authors: JunesiPhone Matchstic


text:
default args

are you dealing with this?
I'll fix the unittest in the meantime, if you're not, next thing I do is get optionals arguments for reculaculate {}, bidirectionnal true, defaut terrain -1

Not at the moment, as I was rather busy lately.

ok Im starting to work on it; leave it to me :p

authors: MatejSloboda astrale-sharp


text:
TeX: Generate Images to explain Errors of the model

Maybe use Captum if possible to not only base things of attention.
https://levelup.gitconnected.com/huggingface-transformers-interpretability-with-captum-28e4ff4df234
use this as reference for possible explain_model notebook

"done" in 86fe7c7a1e811d47060f6ea532a9d4e17f98e694 i wasn't able to save the html as a image without it being a pain.
So Screenshotting it is. Sorry future me this hack is the best you can do if you wanna have some holidays.