fix(Form): use parsed value from joi instead of original state

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
When I try to validate a value using Joi custom method, it doesn't apply to the return value.

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

@rdjanuar This might need to be done in v3 as well!

https://github.com/nuxt/ui/pull/2550/files#diff-61f9e34130a220c59f6cab2a2154a19af947eb41742b039979b5806897482fa2R144 @benjamincanac


Update page-load.js

Check if this.options.outlayer.appended is a function to prevent error in case of misconfiguration.

Thanks for this contribution. I can see how this prevents the error, but I think maybe it's better to trigger the error so the user knows that the options have been mis-configured. Could you elaborate on what situation caused this error for you?

Thanks for this contribution. I can see how this prevents the error, but I think maybe it's better to trigger the error so the user knows that the options have been mis-configured. Could you elaborate on what situation caused this error for you?

I took over an existing project with isotope used externally to InfiniteScroll and at the outlayer parameter it has set it to "true" (WTF :-)) but instead of rewriting all the code, I thought of bypassing the error. But you're probably right... better to see the error. Although this implies that I will have to understand what has been done in this project. 😓

I took over an existing project with isotope used externally to InfiniteScroll and at the outlayer parameter it has set it to "true" (WTF :-)) but instead of rewriting all the code, I thought of bypassing the error. But you're probably right... better to see the error. Although this implies that I will have to understand what has been done in this project. 😓

Thanks for that. I see how that can help you out, but I feel like its not a bigger issue that could help out others. I'll have to pass on this contribution.

Thanks for that. I see how that can help you out, but I feel like its not a bigger issue that could help out others. I'll have to pass on this contribution.


Added support for adding duplicate suffix 'copy' to non unique fields.

Hello @jackton1! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file model_clone/mixins/clone.py:

Line 319:55: E222 multiple spaces after operator


Use ```shell for copyable install code blocks

Signed-off-by: Jason Hall<EMAIL_ADDRESS>

It doesn't seem to copy without the $ 😢
https://deploy-preview-110--sigstore.netlify.app/cosign/installation

So actually (and we're not consistent about this), but I heard somewhere that console is better than shell because then the $ character isn't copied. Does that work here?

Nope 😢
FWIW, shell and console also don't seem to affect the copying of $ in GitHub's UI either. 🤷

What about if I just remove the $?

What about if I just remove the $?


Unreleased version notes included in dependabot changelog

Dependabot is including the unreleased section in the changelog notes for v2.2. I think it's due to the version number in the title.
I'm not sure why it picked the v2.2 tag instead of v2.2.0, maybe the changelog content is actually a result of that 🤷♂. I tried rerunning dependabot but it says a PR already exists for the most recent version at 7d09147688ae2ad2c725fde59aecadb3ed6b2392 which I guess is because there's a v2, v2.2, and v2.2.0 tag for it.

Yikes! I've been overlooking this issue. Please forgive my delays in responding.
Thank you @xt0rted for bringing this up :bow: It reminds me of #34 .. I'll dig into it this week. At a minimum I can remove the version from the Unreleased section of the changelog.
I'd like to stop having the shortened tags, but I feel like they're needed for something. Will check into that as well.

What needs to happen, to solve this issue?
I think I see: a) Ensure the changelog in the release only shows releases, b) Leave the Unreleased section of changelog in main without a number on it, and c) Get rid of the vX and vX.Y tags, use only vX.Y.Z.
Would that get it, @xt0rted?

@solvaholic For a & b I think that's right, but for c I think the only one that needs to be removed is vX.Y. The recommended versioning strategy is to have a vX and vX.Y.Z with vX being updated to point to the latest vX.Y.Z on each release. There's some debate over this since it's abusing git's default behavior, but it's what the official actions do as well as most 3rd party ones including all of my own.

👋 I released v2.3.0 just a bit ago and brought the v2 tag - and not a v2.3 tag - with it. If you get an update from Dependabot, @xt0rted, please let me know whether it's more like what you'd expect.

Looks good to me.

Sweet! Thank you for calling this out, @xt0rted, and helping me see how to solve it :bow:


Cant fix: AttributeError: startswith

Im getting this AttributeError: startswith, but i cant find the answer
Can you help me at this post please?:
https://stackoverflow.com/questions/59197923/cant-fix-attributeerror-startswith

This is not a problem in the Robot Framework, but you are asking support for SeleniumLibrary. Support is handled elsewhere, like you already asked in the Slack and Stack Overflow.

Yeah, this issue doesn't seem to be related to RF itself and is thus invalid here. Also, the question doesn't have enough information for anyone to really be able to help. Running tests with --loglevel debug would give more information about the problem, most importantly the traceback would show where exactly the error occurs.


Module object is not defined in the module-defining workflow

Snakemake version

7.32.4
Describe the bug

In the documentation about modules, it states:

The module is evaluated in a separate namespace, and only the selected rules are added to the current workflow. Non-rule Python statements inside the module are also evaluated in that separate namespace. They are available in the module-defining workflow under the name of the module (e.g. here other_workflow.myfunction() would call the function myfunction that has been defined in the model, e.g. in other_workflow/Snakefile).

However, a minimum example below produces error
NameError in file /test/Snakefile, line 7:
name 'test' is not defined
  File "/test/Snakefile", line 7, in <module>

Is my understanding of module namespace incorrect?
Logs

Minimal example

Minimum example:
/test/Snakefile:
rule all:
    input: "test"

module test:
    snakefile: "A.smk"

test.hello_world()
use rule * from test

/test/A.smk:
def hello_world():
    print("Hello World!")

rule a:
    output: "test"
    shell: 'touch {output}'

Additional context

Note that if test.hello_world() is commented out, this workflow runs fine:
> snakemake -j1
Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job stats:
job      count
-----  -------
a            1
all          1
total        2

Select jobs to execute...

[Tue Nov 14 19:41:55 2023]
rule a:
    output: test
    jobid: 1
    reason: Missing output files: test
    resources: tmpdir=/tmp

[Tue Nov 14 19:41:55 2023]
Finished job 1.
1 of 2 steps (50%) done
Select jobs to execute...

[Tue Nov 14 19:41:55 2023]
localrule all:
    input: test
    jobid: 0
    reason: Input files updated by another job: test
    resources: tmpdir=/tmp

[Tue Nov 14 19:41:55 2023]
Finished job 0.
2 of 2 steps (100%) done
Complete log: .snakemake/log/2023-11-14T194154.785482.snakemake.log

It seems test.hello_world() needs to come after use * from test. using use a from test would also work.
This is annoying though because I want to use functions defined in the A.smk module inside use a from test with: statement, which is not supported.

Ok I found a VERY hacky solution: import same rule twice:
A.smk:
def hello_world(msg):
    return f"{msg}!"

rule a:
    output: "test"
    params: text=hello_world("Hello")
    shell: 'echo {params.text}; touch {output}'

Snakefile:
rule all:
    input: "test"

module test:
    snakefile: "A.smk"

use rule a from test
use rule a from test as a with:
    params: text=test.hello_world("Hola")

Output:
> snakemake -j1
Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job stats:
job      count
-----  -------
a            1
all          1
total        2

Select jobs to execute...

[Tue Nov 14 19:51:59 2023]
rule a:
    output: test
    jobid: 1
    reason: Missing output files: test
    resources: tmpdir=/tmp

Hola!
[Tue Nov 14 19:51:59 2023]
Finished job 1.
1 of 2 steps (50%) done
Select jobs to execute...

[Tue Nov 14 19:51:59 2023]
localrule all:
    input: test
    jobid: 0
    reason: Input files updated by another job: test
    resources: tmpdir=/tmp

[Tue Nov 14 19:51:59 2023]
Finished job 0.
2 of 2 steps (100%) done
Complete log: .snakemake/log/2023-11-14T195158.670701.snakemake.log

This is obviously not great and invites all sorts of potential rule conflicts... Is it possible to have test object available immediately after module test: statement, instead of after a use ... from test statement?


Boss level issue

The channel is not changing when is a boss level.
Probably a new update from steam.
Help us, please.
Edit: Happening every multiple of 100x. I noticed at 32200, and repeated at 32300, 32400....

This is not an issue. It is coded to do this on purpose to avoid helping the trolls.

I'm pretty sure if someone's trolling, they're not going to use a script to do so, especially given that most people using nukes on bosses do so because they don't know how to play.
Instead, the players who aren't working on serious ones get screwed because now I can neither contribute to a warp, nor can I get gold from the boss, given that the 100 level bosses drop the most.
There is no reason to put this in here.  If people want to nuke the boss, all they have to do is Refresh page to stop the script, and uh, nuke the boss.  It is absolutely and utterly ridiculous to keep it in there, because given that 100 level bosses stick around longer because of warps, I actually make more money using a simple mouse macro than this script, which goes to show how ridiculously inefficient the script has been made.

Also, it took me all of one minute to edit mine, so it's also completely worthless even at stopping trolls.  If I wanted to troll with it, I can take all of like 5 seconds to edit out the useless lane switcher.

I think part of the goal is to allow as much time for wormhole use as possible, looking at
http://steamcommunity.com/sharedfiles/filedetails/?id=463162075
Relevant quote from the link:
"The script is designed so that, starting from boss wave 2000, every 100 bosses, abilities and clicking are disabled, meaning that the bosses take a long time to defeat. On these boss levels, the script will automatically deploy many wormholes while the boss slowly dies. (This is why you must not use abilities to kill them faster; it means fewer wormholes can be used simultaneously, as wormholes have an individual cooldown of 1 minute.)"

I'll add a CSS switch to that feature in my code.
Thank you all.


Error while running the pretrained model on MNLI

Used the following command to run MNLI using the pretrained model:

python run_classifier.py   --do_train=False   --do_eval=True   --task_name=mnli_matched   --data_dir=../MNLI/MNLI   --output_dir=results   --model_dir=model/xlnet_cased_L-24_H-1024_A-16  --uncased=False   --spiece_model_file=model/xlnet_cased_L-24_H-1024_A-16/spiece.model   --model_config_path=model/xlnet_cased_L-24_H-1024_A-16/xlnet_config.json   --max_seq_length=128   --eval_batch_size=8   --num_hosts=1   --num_core_per_host=1   --eval_all_ckpt=False   --is_regression=False

It throws the following error:
NotFoundError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:
Key model/classification_mnli_matched/logit/bias not found in checkpoint
[[node save/RestoreV2 (defined at /home/demo/anaconda2/lib/python2.7/site-packages/tensorflow_estimator/python/estimator/estimator.py:1537) ]]
Am I using the correct command (TF version 1.13.1)? Thank you.

You need to set init_checkpoint to be model/xlnet_cased_L-24_H-1024_A-16/xlnet_model.ckpt and model_dir to be a new separate folder.

Thank you for such a fast response.
I am using this command now:

python run_classifier.py   --do_train=False   --do_eval=True   --task_name=mnli_matched   --data_dir=../MNLI/MNLI   --output_dir=results   --init_checkpoint=model/xlnet_cased_L-24_H-1024_A-16/xlnet_model.ckpt   --uncased=False   --spiece_model_file=model/xlnet_cased_L-24_H-1024_A-16/spiece.model   --model_config_path=model/xlnet_cased_L-24_H-1024_A-16/xlnet_config.json   --max_seq_length=128   --eval_batch_size=8   --num_hosts=1   --num_core_per_host=1   --eval_all_ckpt=False   --is_regression=False   --model_dir=f_model

,where f_model is a new directory ( for this argument help section shows: "help="Directory for saving the finetuned model.". Since I am just doing evaluation and not training my assumption is this folder should remain empty; ).
Now I am getting the following error (as eval_results is empty):

Traceback (most recent call last):
File "run_classifier.py", line 855, in
tf.app.run()
File "/home/demo/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "run_classifier.py", line 797, in main
for key, val in sorted(eval_results[0].items(), key=lambda x: x[0]):
IndexError: list index out of range

My doubt is, in line 759 the filenames are being read from model_dir, which in my case is just an empty folder:

filenames = tf.gfile.ListDirectory(FLAGS.model_dir)

Let me know if something is wrong here.
I think I will read the code in detail to see if I am missing something, but just in case you happen to know the fix then that would be great (and quick). Thank you again.

You can't do eval without training because there are task-specific parameters (the output layer).

Ugh should have seen that. Thank you!

Well I think it's possible but does not make too much sense.

True. I think fine-tuning first makes sense too and MNLI has the train dataset.

Hi, @LeenaShekhar  I meet the same issue. Have you solved it yet?

Having the same issue too. I used the suggestions from above; it is unclear to me why we would want to point model_dir at an empty directory, when the script expects to read files from it (and errors-out if none are present). I am running both train and eval.

Having the same issue too. I used the suggestions from above; I get the DataLossError on the .ckpt-1200.data-00000-of-00001 file. Any suggestions?

I also encountered the same  issue. Solved when the values of data_dir and output_dir are set to different paths.


Add mistral reference to context on action execution

Add mistral execution ID and workflow name to the context on action
execution of the main workflow. Refactor all runners to include context
in the output of the run method. Refactor the asyn worker to use the
same context to build the query context.

Most comments are about trying to understand scope of the change.

Refactor all runners to include context in the output of the run method.

Why?

Refactor all runners to include context in the output of the run method.

Why?

How else should I return the context information from mistral?  All the runners do not currently write to the action exec DB object directly.  The runner just returns state and result and let the container do the update.  So, to return the context information, I need to include it in the output of the run method.  So this means the other runners needs to include that as well to be consistent.  Also, I wouldn't put it in the query  context.  The query context if we need to have one is a optional function.  What if we do the state update implementation completely different?  Whereas the mistral execution context is required for the mistral runner.

How else should I return the context information from mistral?

A context was already being returned from the mistral runner. Am I missing something?

It's returning a query context.  And I explained why I wouldn't want to put it in the query context.

What if we do the state update implementation completely different? Whereas the mistral execution context is required for the mistral runner.

I guess you disagree with the design. I get that part and understand you have reservations. Maybe we should explicitly talk through that and nail down a design or agree to the existing design and move on.

So instead of output of a runner being -
(status, result, context, query_context)
we choose
(status, result, context)
Essentially context = free_form_context + query_context.

Great we are converging.  The only question is then can other runners other than mistral return other context information (not necessary query context)?  If so, why have the runners return different number of items in the tuple.

Great we are converging.

yes. But not in complete agreement yet.

only question is then can other runners other than mistral return other context information (not necessary query context)? If so, why have the runners return different number of items in the tuple.

Well runners should return a structured object if you ask my opinion instead of this weird tuple. That will help solidify the interface. At this point if someone were to write a new runner the interface is extremely unclear. Arguably it always was.
Anyway, I do not ask you to make the change in this PR. Clearly, you have a preference of achieving the ends here and I have no objection.

Well runners should return a structured object if you ask my opinion instead of this weird tuple.
Amen.

Ok with the change but I don't believe we have still nailed this interface. We should clean it up soon and bring clarity.
I can take a stab at doing that and get feedback. Including the mistral change is necessary so please merge.
+1

@manasdk: Thanks for reviewing.  Your input is always welcome as it helps with clarifying why we are changing what we are changing.  The current implementation for runner/container is still a bit awkward.   Looking forward to it being cleaned up.

I guess you disagree with the design. I get that part and understand you have reservations. Maybe we should explicitly talk through that and nail down a design or agree to the existing design and move on.

We're lacking a 2nd use case for async runner.  If we have another type of async runner, I think it's easier to create a cleaner and reusable design.

We're lacking a 2nd use case for async runner.

You mean apart for Mistral? I guess ActionChainRunner also fits and should be Async. Actually we can bring Async control to a per action level and that is where I think it really resides.

Yep, aside from Mistral.  Action chain runner is another good use case. I think if there's a 3rd party runner in the mix, it'll confirm our design.


fix: Subsonic: Allow user to force player provider seek

Some Subsonic implementations advertise the ability to specify an offset when calling the stream endpoint. This offset should allow a user to seek by setting that value, however, at least on Gonic this value is only honored with transcoding. Allow a user to tell the subsonic provider that their server is broken and provider seek should be used instead.
Fixes: https://github.com/music-assistant/hass-music-assistant/issues/3184

@khers fix not working for me (and not only me) after enabling the new option in subsonic provider, see last comments for
https://github.com/music-assistant/hass-music-assistant/issues/3184


make -j4 install I think is bound to gcc. Perhaps that's the problem?

make -j4 install I think is bound to gcc. Perhaps that's the problem?
More generic way would be:
cmake --build . -j 4 --target install
But the -j (parallel builds) was introduced in 3.11, so if you're running an older cmake, either update it or simply remove -j, like this:
cmake --build . --target install
Originally posted by @eknabevcc in https://github.com/ebadi/OpenScenarioEditor/issues/6#issuecomment-853605423

Thank you for your answer.I have tried the method above  and still failed.Did you have ran the OpenScenarioEditor successfully?some problems about the "include<>" files happend.

Hello @JinxBIGBIG,
Thanks for reporting this issue.
Please remove OpenScenario directory and follow the build instruction and PLEASE also include the commands that you are entering in the terminal and their result. (please attach this as a txt file)

HI @ebadi .
Thanks for your response.Well,I enter the terminal under the  "OpenScenarioEditor/run.sh" root folder and  run the commands like this:
./run.sh
The result goes to like this fatal error: utils/geom/PositionVector.h: No such file or directory
#include <utils/geom/PositionVector.h>  compilation terminated.

Thanks @JinxBIGBIG ,
Unfortunately, This is not enough for me to detect the problem. I would appreciate if you attach the FULL terminal log from the very initial step. (Please remove OpenScenario directory first)
Thanks.

same error
#include <osg/PositionAttitudeTransform>

Hello @xfqbuaa
Thanks for reporting this issue.
Please remove OpenScenario directory and follow the build instruction and PLEASE also include the commands that you are entering in the terminal and their result. (please attach this as a txt file)

I have followed your instructions and find the error place mainly in build.sh in pyesmini folers.
cd ~ rm -rf ~/OpenScenarioEditor git clone https://github.com/ebadi/OpenScenarioEditor ~/OpenScenarioEditor  > ~/log0.txt cd  ~/OpenScenarioEditor sudo apt install git python3-pip python3-pyqt5  ;     pip3 install PyQt5  > ~/log1.txt git clone https://github.com/ebadi/pyesmini pyesmini > ~/log2.txt cd pyesmini ; ./build.sh > ~/log3.txt  cd ~ python3 OpenScenarioEditor.py > ~/log4.txt
1, the tag should be ec2f3e7256c97d32b1a97f0cb8b9bf7f5085bc7e, shown in
2, there is a error will stop make install process when
make -j4 install
[  1%] Generating ../../../../EnvironmentSimulator/Modules/CommonMini/_version.cpp, ../../../../EnvironmentSimulator/Modules/CommonMini/version.cpp Scanning dependencies of target CommonMini [  1%] Generating ../../../../EnvironmentSimulator/Modules/CommonMini/_version.cpp, ../../../../EnvironmentSimulator/Modules/CommonMini/version.cpp [  2%] Building CXX object EnvironmentSimulator/Modules/CommonMini/CMakeFiles/CommonMini.dir/version.cpp.o [  4%] Linking CXX static library libCommonMini.a /usr/bin/ar qc libCommonMini.a  CMakeFiles/CommonMini.dir/CommonMini.cpp.o CMakeFiles/CommonMini.dir/version.cpp.o CMakeFiles/CommonMini.dir/buildnr.cpp.o /usr/bin/ranlib libCommonMini.a [  7%] Built target CommonMini [  8%] Building CXX object EnvironmentSimulator/Modules/Controllers/CMakeFiles/Controllers.dir/ControllerSumo.cpp.o /home/xufq/Downloads/OpenScenarioEditor/pyesmini/esmini/EnvironmentSimulator/Modules/Controllers/ControllerSumo.cpp:19:10: fatal error: utils/geom/PositionVector.h: No such file or directory    19 | #include <utils/geom/PositionVector.h>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [EnvironmentSimulator/Modules/Controllers/CMakeFiles/Controllers.dir/build.make:131: EnvironmentSimulator/Modules/Controllers/CMakeFiles/Controllers.dir/ControllerSumo.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:420: EnvironmentSimulator/Modules/Controllers/CMakeFiles/Controllers.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
This is also why someone can open ui while crash when open xosc files and missing libesminiLib.so.
I have successfully built esmini latest version following esmini documents
The esmini installation instructions also does not work here for version esmini 2.1.5.
Can your codes be compatible for esmini latest version?

A clear error message for information:
home/xufq/Downloads/OpenScenarioEditor/pyesmini/esmini/EnvironmentSimulator/Modules/Controllers/ControllerSumo.cpp:19:10: fatal error: utils/geom/PositionVector.h: No such file or directory    19 | #include <utils/geom/PositionVector.h>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
log file when executing build.sh is also attached, fyi,
/home/xufq/log3.txt

A clear error message for information:
home/xufq/Downloads/OpenScenarioEditor/pyesmini/esmini/EnvironmentSimulator/Modules/Controllers/ControllerSumo.cpp:19:10: fatal error: utils/geom/PositionVector.h: No such file or directory    19 | #include <utils/geom/PositionVector.h>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I found similar issues and also a link
The main problem is because network and didn't download necessary zip package and lead to compile error.
Where can I change to only compile while not download package if I manually download these files?
I didn't find CMakeLists.txt definition.
Thanks a lot.

I finally made it works and a short summary:
The root reason for missing something due to download fail.
`cd ~
rm -rf ~/OpenScenarioEditor
git clone https://github.com/ebadi/OpenScenarioEditor
cd  ~/OpenScenarioEditor
sudo apt install git python3-pip python3-pyqt5  ;     pip3 install PyQt5
git clone https://github.com/ebadi/pyesmini pyesmini
cd pyesmini
git clone https://github.com/esmini/esmini.git esmini
cd esmini
git checkout ec2f3e7256c97d32b1a97f0cb8b9bf7f5085bc7e # 1st Feb 2021 = esmini 2.1.5 (build 1108)
mkdir build
cd build
manually download googletest, OpenSceneGraph, OSI, SUMO
unzip to ./esmini/externals
modify ./esimini/EnvironmentSimulator/CMakeLists.txt and comment download code.
check ./esmini/externals/pugixml, if not copy or download
check ./esmini/resources/models, if not copy or download
cmake ../ -DUSE_OSG=true -DCMAKE_BUILD_TYPE=Release
make -j4 install
cd ../../
cp ./esmini/build/EnvironmentSimulator/Libraries/esminiRMLib/libesminiRMLib.so pyesmini/libesminiRMLib.so
cp ./esmini/build/EnvironmentSimulator/Libraries/esminiLib/libesminiLib.so pyesmini/libesminiLib.so
cp -r esmini/resources/ .
python3 tests/pyesmini_tests.py
python3 tests/pyesminiRM_tests.py
cd ~
python3 OpenScenarioEditor.py

I finally made it works and a short summary: The root reason for missing something due to download fail.
cd ~ rm -rf ~/OpenScenarioEditor git clone https://github.com/ebadi/OpenScenarioEditor  cd ~/OpenScenarioEditor sudo apt install git python3-pip python3-pyqt5 ; pip3 install PyQt5  git clone https://github.com/ebadi/pyesmini pyesmini  cd pyesmini  git clone https://github.com/esmini/esmini.git esmini cd esmini git checkout ec2f3e7256c97d32b1a97f0cb8b9bf7f5085bc7e # 1st Feb 2021 = esmini 2.1.5 (build 1108) mkdir build cd build
manually download googletest, OpenSceneGraph, OSI, SUMO unzip to ./esmini/externals modify ./esimini/EnvironmentSimulator/CMakeLists.txt and comment download code. check ./esmini/externals/pugixml, if not copy or download check ./esmini/resources/models, if not copy or download
cmake ../ -DUSE_OSG=true -DCMAKE_BUILD_TYPE=Release make -j4 install cd ../../ cp ./esmini/build/EnvironmentSimulator/Libraries/esminiRMLib/libesminiRMLib.so pyesmini/libesminiRMLib.so cp ./esmini/build/EnvironmentSimulator/Libraries/esminiLib/libesminiLib.so pyesmini/libesminiLib.so cp -r esmini/resources/ . python3 tests/pyesmini_tests.py python3 tests/pyesminiRM_tests.py cd ~ python3 OpenScenarioEditor.py

hello, how can i download googletest, OpenSceneGraph, OSI, SUMO?Could you please explain it in more detail?thanks a lot!

Normally the external file packages should be downloaded automatically when the cmake .. script is run from esmini/build folder.
I'm not sure in the case of this project, maybe it will indirectly run cmake for esmini?
Anyway, if the files are missing they can be downloaded manually. You should be able to use the links in the following file:
https://github.com/esmini/esmini/blob/master/support/cmake/cloud/esmini.cmake
For OSI, recommendation is to use the 3.5.0 version. (osi_3_5_0)


Journal: include archived action editor in the EIC console

Action Editors that are removed from the AE groups and moved to the Action_Editors/Archived so they can keep monitoring their assigned papers. The EIC console should see them too.
Update some email templates per Hugo's request.
Migrate home page to react component so new note editor can be used.
Add Paper with Video tab using a link component.
Add Event Certifications tab using a link component.
Create an event certifications webfield to show the TMLR accepted papers for that selected event.
Customize the Event_Certification invitation using the journal request
Start saving the journal properties in the group.content so they can be read by webfields.
Make decision invitation not editable by the AE once it is approved.

it depends on this PR: https://github.com/openreview/openreview-web/pull/1599

@xkopenreview please reave the react component configuration.
@celestemartinez this is ready to review now, sorry for so many changes!

@celestemartinez this is ready to be reviewed, thanks!

I saw that you already approved the PR @celestemartinez , please merge it:)


0.12 Saver.restore broken? Unsuccessful TensorSliceReader constructor: Failed to find any matching files

Here is the traceback:
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
W tensorflow/core/framework/op_kernel.cc:975] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
Traceback (most recent call last):
File "validate.py", line 163, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 43, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "validate.py", line 155, in main
model.saver.restore(session,i[:-5])
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1388, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 766, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 964, in _run
feed_dict_string, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1014, in _do_run
target_list, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1034, in do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100[200].ckpt-577569
[[Node: save/RestoreV2_12 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_12/tensor_names, save/RestoreV2_12/shape_and_slices)]]
[[Node: save/RestoreV2_7/_11 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_4_save/RestoreV2_7", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]]
Caused by op u'save/RestoreV2_12', defined at:
File "validate.py", line 163, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 43, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "validate.py", line 148, in main
model = cnnW2v(opts, session)
File "/nobackup/s1/nlip/hejunqing/tf-lstm-char-cnn-gpu/cnn_w2v.py", line 152, in init
self.build_graph()
File "/nobackup/s1/nlip/hejunqing/tf-lstm-char-cnn-gpu/cnn_w2v.py", line 206, in build_graph
self.saver = tf.train.Saver()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1000, in init
self.build()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1030, in build
restore_sequentially=self._restore_sequentially)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 624, in build
restore_sequentially, reshape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 361, in _AddRestoreOps
tensors = self.restore_op(filename_tensor, saveable, preferred_shard)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 200, in restore_op
[spec.tensor.dtype])[0])
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 441, in restore_v2
dtypes=dtypes, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1128, in init
self._traceback = _extract_stack()
NotFoundError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model_epoch0_128_0.100_[200].ckpt-577569
[[Node: save/RestoreV2_12 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_12/tensor_names, save/RestoreV2_12/shape_and_slices)]]
[[Node: save/RestoreV2_7/_11 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_4_save/RestoreV2_7", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]
tf version:
0.12.0-rc0
It is done on Debian Jessie with CUDA-8.0 and cudnn-5.1,using python 2.7
The model is in the directory,
Here are the models in the directory:
model_epoch0_128_0.100_[200].ckpt-577569.meta
model_epoch1_128_0.100_[200].ckpt-1155138.meta
model_epoch2_128_0.100_[200].ckpt-1732707.meta
model_epoch3_128_0.100_[200].ckpt-2310276.meta
model_epoch4_128_0.100_[200].ckpt-2887845.meta
model_epoch0_128_0.100_[200].ckpt-577569.index
model_epoch1_128_0.100_[200].ckpt-1155138.index
model_epoch0_128_0.100_[200].ckpt-577569.data-00000-of-00001
model_epoch1_128_0.100_[200].ckpt-1155138.data-00000-of-00001
model_epoch2_128_0.100_[200].ckpt-1732707.data-00000-of-00001
model_epoch2_128_0.100_[200].ckpt-1732707.index
model_epoch3_128_0.100_[200].ckpt-2310276.data-00000-of-00001
model_epoch3_128_0.100_[200].ckpt-2310276.index
model_epoch4_128_0.100_[200].ckpt-2887845.data-00000-of-00001
model_epoch4_128_0.100_[200].ckpt-2887845.index
model_epoch5_128_0.100_[200].ckpt-3465414.data-00000-of-00001
model_epoch5_128_0.100_[200].ckpt-3465414.index
model_epoch5_128_0.100_[200].ckpt-3465414.meta
model_epoch6_128_0.100_[200].ckpt-4042983.data-00000-of-00001
model_epoch6_128_0.100_[200].ckpt-4042983.index
model_epoch6_128_0.100_[200].ckpt-4042983.meta
model_epoch7_128_0.100_[200].ckpt-4620552.data-00000-of-00001
model_epoch7_128_0.100_[200].ckpt-4620552.index
model_epoch7_128_0.100_[200].ckpt-4620552.meta
model_epoch8_128_0.100_[200].ckpt-5198121.data-00000-of-00001
model_epoch8_128_0.100_[200].ckpt-5198121.index
model_epoch8_128_0.100_[200].ckpt-5198121.meta
model_epoch9_128_0.100_[200].ckpt-5775690.data-00000-of-00001
model_epoch9_128_0.100_[200].ckpt-5775690.index
model_epoch9_128_0.100_[200].ckpt-5775690.meta
model_epoch10_128_0.100_[200].ckpt-6353259.data-00000-of-00001
model_epoch10_128_0.100_[200].ckpt-6353259.index
model_epoch10_128_0.100_[200].ckpt-6353259.meta
model_epoch11_128_0.100_[200].ckpt-6930828.data-00000-of-00001
model_epoch11_128_0.100_[200].ckpt-6930828.index
model_epoch11_128_0.100_[200].ckpt-6930828.meta
model_epoch12_128_0.100_[200].ckpt-7508397.data-00000-of-00001
model_epoch12_128_0.100_[200].ckpt-7508397.index
model_epoch12_128_0.100_[200].ckpt-7508397.meta
model_epoch13_128_0.100_[200].ckpt-8085966.data-00000-of-00001
model_epoch13_128_0.100_[200].ckpt-8085966.index
model_epoch13_128_0.100_[200].ckpt-8085966.meta

also the same error using import_meta_graph

Can you fill in the issues template, and also give more details of what you were doing when the error occurred?

Thank you.Michaelisard.
I am trying to restore  the saved models trained yesterday,The saved models are listed as above but  can't be restored because of the NotFoundError. There is no warning or error when I saved models.
I want to load each model and evaluate, not just the latest one.
The codes of restoring models are in validate.py is in below
Thanks!
validate_models.zip

Could you try the following:

use a model name without the character [], and:
when you tried to restore, use the full relative path ./model_epoch10 rather than model_epoch10

If my guess is right then you should see it work. It it doesn't, could you give the steps so that people can reproduce the problem (i.e. how to use your code).

@ppwwyyxx your advice help!
I use the model name without [] and retrained models.Then they can be restore!
I will add this special characters to DON'T USE list.
Thank you very much

"when you tried to restore, use the full relative path ./model_epoch10 rather than model_epoch10"
It works, thank you

Thank you @ppwwyyxx using the full path also works for me

I met a problem
INFO:tensorflow:Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.NotFoundError'>, Unsuccessful TensorSliceReader constructor: Failed to find any matching files for ./object_detection/training/model.ckpt-0
[[Node: save/RestoreV2_901 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:ps/replica:0/task:0/device:CPU:0"](_recv_save/Const_0_S1, save/RestoreV2_901/tensor_names, save/RestoreV2_901/shape_and_slices)]]
[[Node: save/restore_all/NoOp_S4 = _Recvclient_terminated=false, recv_device="/job:master/replica:0/task:0/device:CPU:0", send_device="/job:ps/replica:0/task:0/device:CPU:0", send_device_incarnation=5144029972012398702, tensor_name="edge_4518_save/restore_all/NoOp", tensor_type=DT_FLOAT, _device="/job:master/replica:0/task:0/device:CPU:0"]]
Caused by op 'save/RestoreV2_901', defined at:
File "/home/deeplearning/projects/Google/tensorflow/models/research/object_detection/train.py", line 198, in
tf.app.run()
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "/home/deeplearning/projects/Google/tensorflow/models/research/object_detection/train.py", line 194, in main
worker_job_name, is_chief, FLAGS.train_dir)
File "/home/deeplearning/projects/Google/tensorflow/models/research/object_detection/trainer.py", line 281, in train
keep_checkpoint_every_n_hours=keep_checkpoint_every_n_hours)
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1218, in init
self.build()
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1227, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1263, in _build
build_save=build_save, build_restore=build_restore)
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 751, in _build_internal
restore_sequentially, reshape)
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 427, in _AddRestoreOps
tensors = self.restore_op(filename_tensor, saveable, preferred_shard)
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 267, in restore_op
[spec.tensor.dtype])[0])
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/ops/gen_io_ops.py", line 1021, in restore_v2
shape_and_slices=shape_and_slices, dtypes=dtypes, name=name)
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
op_def=op_def)
File "/home/deeplearning/virtualenv/python3/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1470, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
my command is
python ./object_detection/train.py --logtostderr --train_dir=/home/deeplearning/projects/Google/tensorflow/models/research/object_detection/training --pipeline_config_path=/home/deeplearning/projects/Google/tensorflow/models/research/object_detection/training/faster_rcnn_resnet101_coco.config
i don't konw how to salve! anyone once met ?

the problem is that running the command , the training_dir only 2 files
model.ckpt-0.data-00000-of-00001
model.ckpt-0.index

This is the result I got although I employed virtual machine...

i met the same problem，when i first restore the params，no problem accur，but when i second restore the params，it cause this problem. After that, I referred to everyone's opinions, try to solve this problem, but failed. But when i put the load code befor my main code，this problem is solved (for example, you can load params after import some packages and before your main class function).
自带中文翻译，嘤嘤嘤。
之前我也遇到了这样的问题，试了上面的老哥们提到的解决方法，发现不起作用。因为我的情况是，我能读进去之前保存的参数，而且也能使用这些参数分类或者预测，但是我第二次读的时候，就报错，分析了一下，发现第二次读的时候，参数的名字都被修改了，导致找不到。我猜测可能是sess的缘故，所以把读取参数的那些代码全放到最前面，主函数的外面。
example code：
import tensorflow as tf
....
class Test:
saver.restore....
you can change it to:
import tensorflow as tf
saver.restore....
....
class Test:

Generally, the catalog of the model is incorrect.


[WIP] try injecting a custom image for external cloud provider

/test pull-kubernetes-e2e-ec2-quick

/test pull-kubernetes-e2e-ec2-canary

merging by hand. intermittent error.


Invalid path: /storage/emulated/0

Summary

Version
0.15.1

Affected OS
Android

OS Version
seen on 7.1, 7, 6, 4.22 so far

Current behavior
App crashes on start for some users. I'm seeing this error in Bugsnag:
com.facebook.react.common.JavascriptException Java exception in 'NativeModules'
java.lang.IllegalArgumentException: Invalid path: /storage/emulated/0, stack:
android.os.StatFs.doStat@46
android.os.StatFs.@39
com.learnium.RNDeviceInfo.RNDeviceModule.getFreeDiskStorage@137
com.learnium.RNDeviceInfo.RNDeviceModule.getConstants@224
com.facebook.react.bridge.JavaModuleWrapper.getConstants@140
android.os.Handler.handleCallback@751
android.os.Handler.dispatchMessage@95
com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage@31
Expected behavior
App should start normally. As far as I can tell, 0.14.x and the issue only started happening on 0.15.x.
Any help would be much appreciated.

Hi @jslok and thank you for reporting this issue. getFreeDiskStorage() was indeed added in 0.15.0 and this line seems to be the culprit.
Are you able to reproduce the issue on your own?

@machour Unfortunately I cannot reproduce it. It does not seem to affect many users so far. One user said he was able to solve the issue on his own by uninstalling then reinstalling my app several times but of course that is not really a good solution.

of course it's not. Maybe surrounding the block with a try/catch could help.
Do you want to open a PR with this solution?

@machour you can go ahead and take care of it if you dont mind.

Still new to git and never done a pr before.

I could do it, but I can also help you out doing your first PR ever, and I think this would be even cooler for you and it would definitely make my day 😄

give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime

Basically you would do the following:

fork this repository into your account:

clone your fork:
git clone git@github.com:jslok/react-native-device-info.git

create a new branch to work on:
git checkout -b 320-fix-getfreediskspace

make your changes

commit your change with a meaningful message:

git commit -m "fix: surround StatsFS call with try/catch" android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java

push the changes to your branch:

git push --set-upstream origin 320-fix-getfreediskspace

head over to your fork on GitHub, you should see a yellow box like this:

click on "Compare & pull request"

validate the changes on next screen (make sure you fill the PR template)

Get you first Pull Request ever merged, then brag about it to your friends ❤

PS: I'm available on Twitter or Gitter if you need assistance.

Ok!! Hope I did it right and thank you for the detailed instructions. Let me know if there's anything wrong with it. I shall be much more helpful on github from now on.

This is so great, thank you for the pull request! 🎉 🎉 🕺
I left you some remarks there that needs taking care of.


Analysis refactor allow users change dflt params

Still working on it - issuing the PR so @antgonza can use the mchoice parameter type

Not sure why it is showing that many commits - anyways, the changes shown are mine. This PR allows the user to change the default parameter values in the analysis pipeline but not in the processing pipeline. The look&feel has also been improved by using bootstrap. Note that in the gif below, the commands are placeholders that I have on my DB so I can actually test the interface, so the parameters of those commands may not be correct.

Is this ready to be reviewed? Not sure based on the initial comment ...

See the comment above yours ⬆
Yes

I can think of a large number of optional parameters with POSIX compliant
commands and which a default value does not make sense. Are you sure this
is correct behavior?
On May 31, 2017 14:56, "Jose Navas"<EMAIL_ADDRESS>wrote:

@josenavas commented on this pull request.
In qiita_db/software.py
https://github.com/biocore/qiita/pull/2136#discussion_r119454520:

             raise qdb.exceptions.QiitaDBError(

                 "Unsupported parameters type '%s' for parameter %s. "
                 "Supported types are: %s"
                 % (ptype, pname, ', '.join(supported_types)))

       if ptype.startswith('choice') and dflt is not None:

           choices = loads(ptype.split(':')[1])

           if dflt not in choices:

       if ptype.startswith(('choice', 'mchoice')) and dflt is not None:

           choices = set(loads(ptype.split(':')[1]))

           dflt_val = dflt

           if ptype.startswith('choice'):

               # In the choice case, the dflt value is a single string,

               # create a list with it the string on it to use the

               # issuperset call below

               dflt_val = [dflt_val]

           else:

               # jsonize the list to store it in the DB

               dflt = dumps(dflt)

           if not choices.issuperset(dflt_val):

Nope, line 291 makes sure that dflt_val is a list so this call works as
expected.
In qiita_pet/handlers/api_proxy/processing.py
https://github.com/biocore/qiita/pull/2136#discussion_r119454809:

@@ -62,7 +64,8 @@ def list_commands_handler_get_req(artifact_types):
artifact_types = artifact_types.split(',')
cmd_info = [
{'id': cmd.id, 'command': cmd.name, 'output': cmd.outputs}

   for cmd in Command.get_commands_by_input_type(artifact_types)]

   for cmd in Command.get_commands_by_input_type(

       artifact_types, exclude_analysis=exclude_analysis)]

The "arbitrary" partitioning is matching the "upstream" and "downstream"
commands that has been in Qiime for a long time. i.e. commands that you
need to run to get a BIOM table, and commands that you run in a BIOM table
to gain insight.
In qiita_pet/templates/artifact_ajax/processing_artifact.html
https://github.com/biocore/qiita/pull/2136#discussion_r119456426:

 if (p_type == 'integer') {

   // For the integer type, show an input of type number

   $inp.attr('type', 'number');

 }

 else if (p_type == 'float') {

   // For the float type, show an input of type number, with a step of 0.001

   $inp.attr('type', 'number').attr('step', 0.001);

 }

 else if (p_type == 'string') {

   // For the float type, show an input of type text

   $inp.attr('type', 'text');

 }

 else if (p_type == 'boolean') {

   // For the boolean type, show an input of type checkbox

   $inp.attr('type', 'checkbox');

 }

I've added a boostrapAlert which I think is the best way to "raise" this
messages. This should never be reached and it should only be raised during
development, but better safe than sorry!
In qiita_pet/templates/artifact_ajax/processing_artifact.html
https://github.com/biocore/qiita/pull/2136#discussion_r119456568:

 }

 else if (p_type == 'float') {

   // For the float type, show an input of type number, with a step of 0.001

   $inp.attr('type', 'number').attr('step', 0.001);

 }

 else if (p_type == 'string') {

   // For the float type, show an input of type text

   $inp.attr('type', 'text');

 }

 else if (p_type == 'boolean') {

   // For the boolean type, show an input of type checkbox

   $inp.attr('type', 'checkbox');

 }

}

if (dflt_val !== undefined) {

All optional parameters have a default value - that's why they're optional
(see the multiple available commands).
In qiita_pet/templates/artifact_ajax/processing_artifact.html
https://github.com/biocore/qiita/pull/2136#discussion_r119457494:

@@ -292,33 +376,35 @@
}
sel_artifacts_info[node.id] = {'type': node.type, 'name': node.name}
}

$.get('{% raw qiita_config.portal_dir %}/study/process/commands/', {artifact_types: types})

$.get('{% raw qiita_config.portal_dir %}/study/process/commands/', {artifact_types: types, exclude_analysis: !is_analysis_pipeline})

Done
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/biocore/qiita/pull/2136#discussion_r119454520, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAc8sj8drzN_-Hel3MqhMgdQ8-PJL5FRks5r_cXRgaJpZM4Nir3y
.

In such case we need to refactor the entire plugin structure. That is just the interface to what is done behind the scenes. The way an optional parameter is identified is if it has a default parameter or not.

Let me rephrase a bit more my last message. Although I do agree with you and potentially we need to revisit how that is done, I don't think it should block this PR. The point that you're raising is valid, but it is a bug (or feature :D) of the plugin system itself. The refactor of the analysis pipeline to use the plugin mechanism doesn't change the behavior of the plugin mechanism itself, so I would argue that opening an issue and fix later would be a better way of moving forward.

There are examples in QIIME2 which are incompatible, so we're setting ourselves up for problems. For instance --p-where in q2_feature_table.filter_samples is optional and does not have a rational default. For a broader context, the man pages for the standard suite of Linux commands are rife with examples as well. However, I agree that we need progress here -- please create an issue. It is possible that we will not hit snags when wrapping external commands, but at the same time, it is very possible that we will. As such, please mark this as a recognized incompatibility with POSIX command argument structure in the issue. I'm inclined to suggest that this be marked as a priority to resolve sooner rather than later as it will only be harder to fix down the line if necessary.

Thanks @wasade - see https://github.com/biocore/qiita/issues/2140

I've marked the issue as priority high and it should be solved after the current work on the analysis refactor is completed.

Thanks!
On Wed, May 31, 2017 at 1:47 PM, Jose Navas<EMAIL_ADDRESS>wrote:

I've marked the issue as priority high and it should be solved after the
current work on the analysis refactor is completed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/biocore/qiita/pull/2136#issuecomment-305312528, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAc8slM9lopFEd-IF7_ItLvRdtKdZZdYks5r_dHtgaJpZM4Nir3y
.


Update photos in f-droid

They are already updated in fastlane package, only is we waiting for, is publishing new version to fdroid, I can't influence it, so waiting with you :)

They posted new version, not the 1.8.5, but screenshots the much better, than they was :)


Add troubleshooting FAQ to README

This PR proposes to add a small FAQ to the readme. The idea is that I wrote the advice that would have helped me when first using opam-health-check.

I have updated one of the answers following a discussion with @kit-ty-kate, where she explained how opam-health-check is intended to be used.

Thanks!


Upgrade Traveling Ruby to work with Ruby 2.2.x

Required to upgrade the mock service in NPM land, see https://github.com/pact-foundation/pact-mock-service-npm/issues/17.
Hold off on merging this, it's still untested on Windows and I'm nervous about the caveat on Traveling Ruby's website. This hopefully gets the ball moving though.

OK so don't ask why but I've had some time over night and have managed to run this on Windows successfully, here is a screenshot:

👍  Love your work.

Thanks Beth, I'll need an updated release to reference from the other project as the build scripts pull down the code from the releases page. Let us know when you've tagged the project and I'll do the necessary!

I've released 0.12.1. Thanks Matt.


May 21 2023: Add several websites

I've included several websites to the list.

I will close this pull request due to conflicts.


Export Settings (include Quick Access, local attachments, roaming app data)

Is your feature request related to a problem? Please describe.
A new feature request, not related to a problem.
Describe the solution you'd like
A way to export Azure Storage Explorer's settings, such as Quick Access link, appearance, theme, account / sas connection setting, certificate, etc.
Describe alternatives you've considered
Manually set the settings in the new installation of Azure Storage Explorer, other than that, no alternative at the moment.
Additional context
The context is here whenever we have a new installation of Azure Storage Explorer, we need to set the settings to match our old setup. New installation is not the update from previous version. Such a case when we have to install a new machine.
Thanks.

We'll look into the feasibility of this in 1.16

Also think about how we can export local attachments and user profile.

@stack247 We're currently investigating the feasibility and design of this feature. Can you answer a few questions for us?

Can you go into more detail about the problem you're encountering and what you'd like to see? You mentioned bringing settings from an "old setup" to a "new installation".
Do you want to transfer settings to a new installation on a different machine or locally?
Are your new installations/old setups due to a recovery situation (for example, a hard drive failure)? Would you or whoever still have access to the old installation?
Do you intend to share settings with multiple users?

See below:

Can you go into more detail about the problem you're encountering and what you'd like to see? You mentioned bringing settings from an "old setup" to a "new installation".

From example when I setup a new computer. Or if I have another development box I want to use. I’d like to see the same Azure Storage settings in the new computer / box. Slack would be a good example. I install in different computer, I sign in, and in both computer, I’m seeing the same thing (color theme, etc).

Do you want to transfer settings to a new installation on a different machine or locally?

Different machine. Sign-in approach to save settings would be ideally, that way the setting is stored in my account and I can login in another machine and it’d be there. But if a file-based setting would also acceptable I’d think. I can export the setting in a file, then import in other machines. I haven’t thought about the security, ie, someone got hold of the file, can they access my Storage account?

Are your new installations/old setups due to a recovery situation (for example, a hard drive failure)? Would you or whoever still have access to the old installation?

Yes, that is one of the use cases. The other use case could be I have more than 1 development machines. Or if I want to give my team a same setup (probably in a very rare case).

Do you intend to share settings with multiple users?

Potentially. But I honestly can’t think of the benefit of sharing settings.. what setting would warrant the shares? I don’t know the answer to that. For sure I will not want to share credentials / keys to access Storage. The only other thing that I can think of sharing is the “Quick Access” list. I don’t use other settings a lot (theme, looks and feels , etc)

@craxal @MRayermannMSFT Hello Gents, has the development of this feature been paused?
One possible use-case which I've got is - I would like to be able to prepare attachments to individual resource, e.g. Azure Table, then pin it to Quick access, export settings and share them with my other mates for import. Thank you. Peter

just migrating from my old working laptop and i am desperately in need of migrating all my data to the new one. any hint?

Migration, unfortunately, is not a simple task. The data for these things is a mixture of plaintext, encrypted text, system credentials, and various storage locations. Encrypted text especially is difficult, because it is encrypted by a key that Storage Explorer generates and saves with your system credentials manager. The key is different for each installation.
We have been in the process of gradually consolidating and modernizing how we handle this data. Once done, this should make a migration solution viable.
In the meantime, here are some steps you can follow:

Sign in to your new installation. This will give you access to most resources you have access to.
Copy the connection information for each of your custom connects and enter them into your new installation. For example, account name and key or SAS. You can get this information from the Properties tab below the tree view.
Recreate your Quick Access items.

I know this not ideal and could be tedious if you have a lot of connections or Quick Access items to recreate. I'll bring this up with the team and see if we ought to prioritize work in this area in order to make migrations less painful.


[Feature Request] want to use service workbench without domain in china regions

Is your feature request related to a problem? Please describe.
I want to deploy and use service workbench in china regions, but currently, we have to apply a domain to access cloudfront.
Is there any way to use service workbench without domain.

Added this feature


Adds a function for getting types from a data transfer object

Types contains an array of strings describing the data formats used in a drag operation.

Thanks!


Add diagnostic analyzer + code fix for proper null checks via C# Pattern Matching

preliminary Category: Correctness
When checking for null on an instance of a reference type which overloads the equality operators, then most likely the implemented Equals method will be called, which may be wrong.
Using Pattern Matching, we actually do "just" check for null.
preliminary diagnostics and code fixes:

Language Version
Diagnostic Report
Code Fix
Language Feature

[7.0,)
identifier == null
identifier is null
pattern matching

[7.0,7.3]
identifier != null
identifier is object
is expression

[8.0,9.0)
identifier != null
identifier is { }
recursive pattern

[9.0,)
identifier != null
identifier is not null
not pattern

Note: the is expression (i.e. identifier is object) is also available in lower language versions

Alternative "not-null check" via !(identifier is null) (pattern matching).
This has the textual "overhead" of a logical negation and may not be as readable as the pre-C# 9.0 not pattern variants listed above, but I believe the compiler will turn it into (object)identifier != null either way, when the custom class overloads the equality operators.
Additionally, we could detect older patterns and lift them to the current LangVersion in use.
Formatting: how do we like to format the C# 8 recursive pattern?

identifier is { }
identifier is {}

TODO

[ ] discuss and define Category
[ ] finalize language-version-dependant code fixes
[ ] should the diagnostic be reported even if the equality operators are not overloaded? - or would this produce clutter?
[ ] should diagnostics be reported for language versions prior to C# 7.0?
[ ] if so, what should be the suggested code fixes for language versions prior to C# 7.0?
[ ] should we produce report and offer fix for older "not-null" checks if C# 9.0 not pattern is available?

See: great video on YouTube on that topic.

Quotes and References:

Preferred by Mads Torgersen: .NET Conf 2019 - What's new in C# 8 - Part 1
Recommend by the Roslyn team: Breaking changes in VS2019 version 16.8 introduced with .NET 5.0 and C# 9.0

Benchmarks:
The performance difference is insignificant
See F0.NullCheck.Benchmarks gist

Discussion Result:

We discussed, all BCL reference types are implemented correctly, and most reference types of packages are implemented correctly, and flagging all code due to some rare bad implementations would not be useful
so this feature has more of an academic character, than warning about "wrong" code
so its more about expressiveness that "correctness"
Warning on reference Types which do override of == && != && Equals(object) && IEquatable<T>.Equals(T)
Info on reference types which do not override Equality Operators
Diagnostic + Code fix for instance == null from C# 7.0 and higher -> instance is null, for all reference types (predefined and custom)
Diagnostic + Code fix for instance != null from C# 9.0 and higher -> instance is not null, for all reference types (predefined and custom)
likewise of null-checks via Equals: instance.Equals(null) -> instance is null
likewise of null-checks via Equals: !instance.Equals(null) -> instance is not null


[BUG] - Metadata ordering neither as in JSON input nor canonical

Internal/External
External   otherwise.
Area
Other   Any other topic (Delegation, Ranking, ...).
Summary
When giving a metadata.json file to cardano-cli transaction build, the metadata in the resulting CBOR is ordered differently, but not canonically.
Steps to reproduce
Steps to reproduce the behavior:

Create a metadata.json with some keys neither in alphabetical nor in length-then-alphabetical order:

           […]
                "name": "HeptaSean's Card",
                "mediaType": "image/svg+xml",
                "image": […],
                "files": [
                    {
                        "mediaType": "text/html",
                        "src": […]
                    }
                ]
           […]

Build a transaction with this metadata using cardano-cli transaction build.
Look at the generated CBOR:

$ cardano-cli text-view decode-cbor --in-file transaction.broken
                  […]
                  a4  # map(4)
                      # key
                     65 66 69 6c 65 73  # text("files")
                      # value
                     81  # list(1)
                        a2  # map(2)
                            # key
                           69 6d 65 64 69 61 54 79 70 65  # text("mediaType")
                           […]
                            # key
                           63 73 72 63  # text("src")
                           […]
                      # key
                     65 69 6d 61 67 65  # text("image")
                     […]
                      # key
                     69 6d 65 64 69 61 54 79 70 65  # text("mediaType")
                     […]
                      # key
                     64 6e 61 6d 65  # text("name")
                     […]

Transform the transaction to be used with cardano-hw-cli by:

$ cardano-hw-cli transaction transform --tx-file transaction.broken --out-file transaction.canonical

Look at the canonical CBOR:

$ cardano-cli text-view decode-cbor --in-file transaction.canonical
                  […]
                  a4  # map(4)
                      # key
                     64 6e 61 6d 65  # text("name")
                     […]
                      # key
                     65 66 69 6c 65 73  # text("files")
                      # value
                     81  # list(1)
                        a2  # map(2)
                            # key
                           63 73 72 63  # text("src")
                           […]
                            # key
                           69 6d 65 64 69 61 54 79 70 65  # text("mediaType")
                           […]
                      # key
                     65 69 6d 61 67 65  # text("image")
                     […]
                      # key
                     69 6d 65 64 69 61 54 79 70 65  # text("mediaType")
                     […]

The metadata has been reordered canonically, leading to a hash mismatch that later leads to:

$ cardano-cli transaction submit --mainnet --tx-file transaction.signed
Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo
(ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (ConflictingMetadataHash
(AuxiliaryDataHash {unsafeAuxiliaryDataHash = SafeHash "8dab3cc16767c49d79176ef8145c18c488a94faee7c12e1ce083b223529a134e"})
(AuxiliaryDataHash {unsafeAuxiliaryDataHash = SafeHash "f10e7d7f522f4f29184cedae42bf362b9b1155efd124468046f3309a9b4be4d0"})))])

Reorder the JSON to be in the canonical order in the first place:

           […]
                "name": "HeptaSean's Card",
                "files": [
                    {
                        "src": […],
                        "mediaType": "text/html"
                    }
                ],
                "image": […],
                "mediaType": "image/svg+xml"
           […]

cardano-cli transaction build produces the same, non-canonical order in the CBOR as before leaving no option to get to a transaction usable by cardano-hw-cli (other than using --metadata-cbor-file with a canonical binary CBOR).

Expected behavior
In the related issue https://github.com/input-output-hk/cardano-node/issues/2783, it is stated that cardano-cli does not want to produce canonical CBOR in https://github.com/input-output-hk/cardano-node/issues/2783#issuecomment-855904923.
But then the order should be taken exactly as in the given JSON file to be able to cater for cardano-hw-cli and similar tools manually.
This is also promised in https://github.com/input-output-hk/cardano-node/issues/2783#issuecomment-856008693, but it is clearly not the case, here.
System info (please complete the following information):

OS Name: Arch Linux
Node version 1.34.1
CLI version  1.34.1

Additional context

Issue on cardano-hw-cli: https://github.com/vacuumlabs/cardano-hw-cli/issues/130
Detailed report, how I discovered this: https://forum.cardano.org/t/minting-an-on-chain-nft-with-a-hardware-wallet/105922?u=heptasean

If I understand this issue to be about metadata ordering, then I am not seeing consistency either. If I create a dict for Pycardano as follows:
    tag = 674  #  transaction message/comment metadata
    tx_metadata = OrderedDict()
    tx_metadata["title"] = "Hello World! 🚀"
    tx_metadata["message"] = "You have successfully published Tx metadata!"
    tx_metadata["note"] = "Some more information about this Tx."
    tx_metadata["timestamp"] = f"{time.time()}"
    tx_metadata["1"] = "test 1"
    tx_metadata["3"] = "test 2"
    tx_metadata["2"] = "test 3"

Observe the cli output: cardano-cli transaction view --tx-file tx_md.signed | jq .metadata:

{
  "674": [
    [
      "title",
      "Hello World! 🚀"
    ],
    [
      "message",
      "You have successfully published Tx metadata!"
    ],
    [
      "note",
      "Some more information about this Tx."
    ],
    [
      "timestamp",
      "1710920747.6925607"
    ],
    [
      "1",
      "test 1"
    ],
    [
      "3",
      "test 2"
    ],
    [
      "2",
      "test 3"
    ]
  ]
}

On-chain:
{
   1: "test 1",
   2: "test 3",
   3: "test 2",
   title: "Hello World! 🚀",
   message: "You have successfully published Tx metadata!",
   note: "Some more information about this Tx.",
   timestamp: "1710920747.6925607"
}

see: tx (bb9d3d9f9166476643739a47d39578ab50b6bcb53b2f209d485dab39e505e3a8).
Some predictability would be nice, but is there anything concrete anywhere that describes what users should expect? Even something saying data that lands on-chain is not expected to have any order?

cc @CarlosLopezDeLara

In addition to above, what I am experiencing looks like a rendering issue on popular block-explorers with the underlying data looking okay, take for example the same data drawn from Kupo which looks like ordering is preserved:
[{"hash":"8bad78c4b3cb2dd3cef2f0591bc992cb5e599a1414d407aee6e05c73d9f7530f","raw":"a11902a281a7657469746c657148656c6c6f20576f726c642120f09f9a80676d657373616765782c596f752068617665207375636365737366756c6c79207075626c6973686564205478206d6574616461746121646e6f74657824536f6d65206d6f726520696e666f726d6174696f6e2061626f757420746869732054782e6974696d657374616d7071313731303932323139392e383037333334613166746573742031613366746573742032613266746573742033","schema":{"674":{"list":[{"map":[{"k":{"string":"title"},"v":{"string":"Hello World! 🚀"}},{"k":{"string":"message"},"v":{"string":"You have successfully published Tx metadata!"}},{"k":{"string":"note"},"v":{"string":"Some more information about this Tx."}},{"k":{"string":"timestamp"},"v":{"string":"1710922199.807334"}},{"k":{"string":"1"},"v":{"string":"test 1"}},{"k":{"string":"3"},"v":{"string":"test 2"}},{"k":{"string":"2"},"v":{"string":"test 3"}}]}]}}}]

So I don't think this is the same problem my end.

In principle you should be able to use --json-metadata-detailed-schema switch to use a different (a bit more verbose) metadata schema. You'd have to prefix every field with one of the available types: int, bytes, string, list and encode maps as lists:
{"0":
  {"map":
    [ { "k": {"string": "aaa"}
      , "v": {"string": "b4"}
      }
    , { "k": {"int": 1}
      , "v": {"string": "b6"}
      }
    , { "k": {"string": "aa"}
      , "v": {"string": "b2"}
      }
    , { "k": {"string": "ab"}
      , "v": {"string": "b3"}
      }
    , { "k": {"string": "b"}
      , "v": {"string": "b5"}
      }
    , { "k": {"string": "a"}
      , "v": {"string": "b1"}
      }
    ]
  }
}

I'm working on a fix which should canonicalise maps for CBOR.


User-Agent value not appended

To whoever is maintaining this repository,
I noticed that the user agent value is currently not appended after installing autochrome. As the last release and activity seems to be 1-2 years ago, i was wondering if:

I could fork out your repository (of course i will credit you guys as the original authors in my repository)
Make modifications to the source code to solve the issue.

Let me know if this works, thanks!

Noticed this aswell and looked into it. From the looks of the Chrome extension , the "profile colour" is picked from a bookmark. I never noticed this. I tried creating a bookmark to bootstrap this myself, as Autochrome did not do it properly upon reinstall, but creating a bookmark actually crashes the Chromium processes. I didn't look into why, but the User-Agent will not work until bookmarks start working again.

Hi @baesenseii. Try PR #45, it should fix your issue. You will unfortunately have to have all profiles re-installed, which will wipe all your current profile settings (Extensions, saved passwords, etc.)
You can do this with $ ruby autochrome.rb -P.


style: add fade transition to bottom border on navbar menu items

SUMMARY
Update the navbar's current menu item hover state to fade in the bottom border
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TEST PLAN
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

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

@@            Coverage Diff             @@
##           master   #10402      +/-   ##
==========================================
- Coverage   70.41%   64.13%   -6.29%
==========================================
  Files         604      543      -61
  Lines       32429    30553    -1876
  Branches     3298     2890     -408
==========================================
- Hits        22836    19595    -3241
- Misses       9487    10776    +1289
- Partials      106      182      +76

Flag
Coverage Δ

#cypress
54.83% <ø> (-0.51%)
:arrow_down:

#javascript
?

#python
69.77% <ø> (+0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

...uperset-frontend/src/dashboard/util/dnd-reorder.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...rset-frontend/src/dashboard/util/getEmptyLayout.js
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/dashboard/util/getFilterScopeFromNodesTree.js
0.00% <0.00%> (-93.48%)
:arrow_down:

superset-frontend/src/views/datasetList/Button.tsx
6.66% <0.00%> (-93.34%)
:arrow_down:

...uperset-frontend/src/utils/getClientErrorObject.ts
0.00% <0.00%> (-88.89%)
:arrow_down:

.../src/dashboard/components/FilterIndicatorGroup.jsx
11.76% <0.00%> (-88.24%)
:arrow_down:

...c/explore/components/controls/withVerification.jsx
9.09% <0.00%> (-87.88%)
:arrow_down:

...src/dashboard/components/gridComponents/Header.jsx
10.52% <0.00%> (-86.85%)
:arrow_down:

...rc/dashboard/components/gridComponents/Divider.jsx
13.33% <0.00%> (-86.67%)
:arrow_down:

...c/dashboard/components/gridComponents/Markdown.jsx
6.59% <0.00%> (-82.42%)
:arrow_down:

... and 223 more

Continue to review full report at Codecov.

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

Welcome to the community @riahk !

Yeah, welcome to the party!

Impacts #8976


Grey out entire team if all team members eliminated

As with individual Survivors, a team that has been eliminated can also be greyed out

As a secondary feature, grey out the Survivor page of an eliminated survivor as well, maybe. Could coincide with work done on https://github.com/mawilson/hello_django/issues/26 (the torch)

Can also add a color to the winning team (more purple?).

Done in https://github.com/mawilson/survivor_draft/pull/42 (not greying out survivor pages, deciding against that)


Added screenshots

Bummer having to install every theme in order to see them in action, so examples added.
For footprint it might make sense to move the image files to a separate repo and relink readme.md.

Label check failed, but I can't seem to add any...

Hey, @lgrkvst! Thank you for this PR.

Bummer having to install every theme in order to see them in action

I agree with you. But we need to find a better way to add the screenshots.
On npmjs.com, it would be weird navigating through the screenshots and the readme.

I think the only difference on npmjs would be another column of links on the themes table (images are not shown inline). But perhaps the repo's footprint is better off with the screenshots in a separate repo.

Closing this in favor of #314. Thank you for the suggestion, @lgrkvst.


fix: Filter for multiple targets

Description
I noticed we had a wrong filter for unique targets that was getting only the
first target. I fixed that so it can take all unique hosts.

Hey @sestrella Could you please take a look at this? Also, would you mind giving me a hand with the CI? It seems an issue with the ubuntu repositories.


Handle missing TERM variable.

Hm this is another situation where something in Cargo is very similar. Would it be possible to refactor this with a shared type that doesn't have these duplication problems? That way you'd say "set the color to blue" and it'd just ignore it if TERM couldn't get parsed for whatever reason.

Well I was hoping you wouldn't say that, but yes.

Updated to wrap StdoutTerminal and StderrTerminal in a type that deals with missing terminfo.


add return_variances to _PyTorchGradientExplainer.shap_values

_PyTorchGradientExplainer.shap_values is called by GradientExplainer.shap_values with the argument return_variances, which is not implemented in _PyTorchGradientExplainer. This causes the following error.
shap/shap/explainers/gradient.py in shap_values(self, X, nsamples, ranked_outputs, output_rank_order, rseed, return_variances)
    103         were chosen as "top".
    104         """
--> 105         return self.explainer.shap_values(X, nsamples, ranked_outputs, output_rank_order, rseed, return_variances)
    106
    107

TypeError: shap_values() takes from 2 to 6 positional arguments but 7 were given

I added  return_variances to the _PyTorchGradientExplainer, consistent with the _TFGradientExplainer class.

Thanks! Will merge after the checks finish


change rq structure into yaml

tentatively implemented https://github.com/adobdin/timmy/commit/1a76e7a6b7c55f515ce1d1a4aed737fef6a61d01


Crop-like option for TFR with fmin and fmax

I've found out during classes where I teach mne that .crop-like operations are usually much more intuitive for students than having to dive into the data array and index it. With tfr they usually want to, for example selecte a time range and frequency range and then average (or not) and use in further computations/visualisations. If you agree it would be useful, there are two options:
adding fmin and fmax to TFR.crop()
This would allow for example for
tfr.crop(tmin=0.2, tmax=0.4, fmin=5, fmax=7)

@larsoner mentioned that he does not like this solution very much because .crop() sounds more time-related and it would stay to mean "crop in time" if we instead add another method for freq-cropping (Eric, please correct me if I misrepresent). I actually like putting it all into .crop() since I much prefer using kwargs anyway for clarity. Also crop sounds to me equally well suited for time, space or frequency (like trim, for example, but I'm not a native so my argument is weaker here :) ). I also think it would be easier for new mne users (like my students) to digest - one method for selection instead of multiple methods depending on the dimension type.
adding another method for frequency cropping
Another method that would work like .crop() but for frequency dimension. I don't have a good idea for the method name in this case but just assuming it would be called .frop() the example from previous section would be:
tfr.crop(tmin=0.2, tmax=0.4).frop(fmin=5, fmax=7)

obviously I'm not suggesting to actually call it .frop() :)

I agree frequency_crop is terrible, but crop_frequency is not bad. Though tfr.crop(fmin= is also fine.


MODRS-31 - Standard health check endpoint

MODRS-31 - Standard health check endpoint
Purpose
Ensure to add a standard healthcheck endpoint GET /admin/health that returns a 200 if the module is healthy.
Approach

Implemented health check endpoint according to Back End Module Health Check Protocol.
Updated Jenkinsfile to use new health check endpoint.
Verified on local testing environment:
curl --request GET 'http://localhost:9181/admin/health'
{"status":"UP"}

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

Verified locally:
GET /admin/health HTTP/1.1
x-okapi-tenant: diku
Content-Type: application/json
x-okapi-token: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJkaWt1X2FkbWluIiwidXNlcl9pZCI6IjFkY2Y3NzFjLTQ4MDUtNTY2Ny1iOTQwLWM5YjZjZjhkYzc5NyIsImlhdCI6MTYxNzM4MzA2NywidGVuYW50IjoiZGlrdSJ9.DuPAdX-AU-jwjeOy7a7RcqolNRExtgTbmYLnhHfPfrw
User-Agent: PostmanRuntime/7.26.8
Accept: /
Postman-Token: 54618e89-7851-4d74-b6f9-8446bd202596
Host: localhost:8081
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 58
{
"username":"diku_admin",
"password":"admin"
}
HTTP/1.1 200 OK
Content-Type: application/vnd.spring-boot.actuator.v3+json
Transfer-Encoding: chunked
Date: Fri, 02 Apr 2021 20:55:08 GMT
Keep-Alive: timeout=60
Connection: keep-alive
{"status":"UP"}


Fix HDP::Url due to module renaming

Also fixes include puppet/util/data_entitlement in lib/puppet/reports/hdp.rb to point to the correct file

Ah shoot Kevin - just seeing this.
This public mirror is just for exposing the module as something for customers to download - development isn't done publicly.
https://github.com/puppetlabs/hdp-module-priv is where we do development, since commits the module trigger our internal CI which can't be done out of a public repo.
I think we have fixed these issues there - but this repo is just a public mirror of the internal one.

Ah ok, I'll close the PR then.
Kevin Reeuwijk
Sr Manager EMEA Sales Engineering
mobile: +31 6 272 33 55 1
@.*** @.***> | @KevinReeuwijk
Puppet http://www.puppet.com. The shortest path to better software.
On Mon, Feb 28, 2022 at 4:27 PM Andrew C Wrenn @.***>
wrote:

Ah shoot Kevin - just seeing this.
This public mirror is just for exposing the module as something for
customers to download - development isn't done publicly.
https://github.com/puppetlabs/hdp-module-priv is where we do development,
since commits the module trigger our internal CI which can't be done out of
a public repo.
I think we have fixed these issues there - but this repo is just a public
mirror of the internal one.
—
Reply to this email directly, view it on GitHub
https://github.com/puppetlabs/puppetlabs-data-entitlement/pull/1#issuecomment-1054371431,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGNBURYJOQIMF6QYT6UML7DU5OH7HANCNFSM5NF76HFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Babel language tag

The dependency for making http requests or something hasn't installed when I called meteor npm install, but now it's complaining that I also don't have handler for babel tag.

Can you elaborate?

From memory there's a component that has html lang tag for babel in a core module or something, yet it doesn't appear to be listed as dependency unless its a dependency of some npm package for using external sources which choose to not install on my repo for some reason.

I get a warning after starting up server that warns that it doesn't
understand what I imagine goes as

Im running vue through a wrapper, author of which also offers these handlers for HTML, so I suppose even if the handler is included in your package it would warn regardless.
[vue-component] Error while compiling in tag <script> using lang babel: Can't find handler for lang babel, did you install it? -> in node_modules/vue-smart-table/src/components/AsyncImg.vue at line 12 [vue-component] Error while compiling in tag <script> using lang babel -> in node_modules/vue-smart-table/src/components/AsyncImg.vue at line 12 { [Error: [vue-component] Error while compiling in tag <script> using lang babel: Can't find handler for lang babel, did you install it?] line: 12 }

I'm sorry, I'm afraid I can't help you. Anyways, it seems that your error is not related to Smart Table. I'm going to close this issue for now, but please feel free to add details. Maybe someone else will be able to help you.


Makefile: Auto detect wheather using clang or gcc

While I am testing the mir on my local machine.
I should choose $CC by modifying Makefile but this work is repetitive.
This PR is not perfect work but resolves most of the situations during development.

you can use make CC="clang -whatever" to override the default setting.

@rofl0r

you can use make CC="clang -whatever" to override the default setting.

Thanks for the comment.

Your suggestion can be one of the solutions.
IMHO, this PR makes the user not to care about $CC and don't have to set value for executing something. I think that people expect to run the makefile without set specific value.
This PR also can remove hardcoded value of gcc or clang

Thank you.  I've merged your request.  There is some value for the change but I should only say that I did not work on build/configuration of code yet.  The current make file is only for my current work flow.
I am going to use autoconf (may be automake) when I start my work on the release.    I don't like cmake.  This is just my personal preference.

@vnmakarov I am looking forward your first relelase :)


Language Id and Format Region override methods

Summary
Allow partners and third party apps to control Language ID and Format Region when reports are called in static setting.
Work Item(s)
Fixes AB#497538

It looks to me as if no further work is being done on this PR. This was to work around bugs related to a behavior change in the platform. This is an active case that I have open with Microsoft<PHONE_NUMBER>002761) and we and our customers are waiting for a resolution.
When can we expect a solution and for which versions (23.x) is a backport planned?

It looks to me as if no further work is being done on this PR. This was to work around bugs related to a behavior change in the platform. This is an active case that I have open with Microsoft<PHONE_NUMBER>002761) and we and our customers are waiting for a resolution.
When can we expect a solution and for which versions (23.x) is a backport planned?

The PR will be finalized soon, need the last test and review. The owner is oof this week and will handle it asap.


Added programming with harry's c tutorial

I am resubmitting this pr. I know it is a video, not a playlist because it is a single video that is 11-hour long
What does this PR do?
Add resource
Why is this valuable (or not)?
He is very good at teaching. His many tutorials is in this list
How do we know it's really free?
It is on youtube and anyone can watch it
For book lists, is it a book? For course lists, is it a course? etc.
N.A
Checklist:

[X] Read our contributing guidelines
[X] Search for duplicates.
[X] Include author(s) and platform where appropriate.
[X] Put lists in alphabetical order, correct spacing.
[X] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


Add Loot Codex derivative

Added "the Loot Codex" lines 254-258.
Thank you!

Project Name
Etherscan link: https://etherscan.io/address/
Website: https://
Twitter: https://twitter.com/
Discord: https://discord.com/

LGTM, thanks!


Snapshot and transfering

Would be nice to have a snapshot that shows where you are up to i.e. In a BSE I have done this list of units. Then I want to transfer into a BCS, it would be good to be able to show based on our snapshot what units will get credits when you transfer over.

This is a monplan issue


Reduce number of build operations emitted around artifact transforms

We currently emit build operations about transforms in the following places:

InitialTransformationNode and ChainedTransformationNode

type: ArtifactTransformationStepBuildOperation
details: ExecuteScheduledTransformationStepBuildOperationDetails
result: ExecuteScheduledTransformationStepBuildOperationResult (constant)
category: TRANSFORM
message: "Transform $subjectName with $transformation"
progress name: "Transforming $subjectName with $transformation"
the Transforming prefix is used for filtering out artifact transform logs in Gradle Enterprise

TransformingAsyncArtifactListener

type: TransformationOperation
details: none
result: none
category: UNCATEGORIZED
display name: "Transform $initialSubject with $transformation"
progress name: yes, same as display name

DefaultTransformerInvocationFactory

type: no specific type
details: none
result: none
category: UNCATEGORIZED
display name: "$transformer $inputArtifact"
progress name: yes, same as display name

This is redundant, and I think we should reduce their types and numbers.
We can't delete the build operation in TransformingAsyncArtifactListener, as it is needed to put the thing into the BuildOperationQueue, but we can lose the progress name, so that it won't get reported to clients. We can also make it have a static display name to reduce unnecessary memory allocation.
The operation emitted from DefaultTransformerInvocationFactory is where we've gone through a bunch of cache layers, and are actually executing the transform (or loading it from cache at least). So this one should have the TRANSFORM category, the details and result objects attached to it, together with the nice name. We should probably also rename ExecuteScheduledTransformationStepBuildOperation* because it wouldn't be about scheduled transforms anymore, but any transform instead.
The one in *TransformNode can then be removed altogether.

cc: @gradle/execution

The proposal sounds good. What I don't know if the console logging will trip up when we run a non-scheduled transform via TransformingAsyncArtifactListener (therefore nested below a task) and we emit a build operation with category TRANSFORM, which is supposed to be a top-level category. We should test this is we don't have a test already.

Reducing the number of events Android Studio receives would still be helpful.

I don't think any of the three build operations will go away, especially since we need the one in *TransformationNode in build scans. I think we also did some of the improvements described in this issue. Let's close it and re-open/create a new one if we want to change the build operations again.

I don't think we needed reducing the number but rather being able to control what is returned at more granular level. I don't know what the current status is since Studio/IDEA avoid requesting even some basic events.


gps feeder fixes and improvements

Fixed several issues in gps2val:
NOTE: command line arguments are broken, to be addressed in another PR.

Slightly reduced size of the image (apk cahce removed)
Workaround for a sighandler deadlock in gpsd_feeder, preventing image from stopping: thread.join(1) + os._exit(1)
Disabled SIGQUIT handler in order to force an app crash in case sighandler hangs in the future
Added some extra dumps for config
Dockerfile uses entrypoint.sh script to allow custom cmdline arguments to gpsd_feeder.py
NOTE: gpsd is started as background job and it has dumps now, entrypoint.sh makes sure gpsd is terminated after python exits. Also the image has a hardcoded config file, so command line args are overriden by it.

Also fixes and improvements in workflow file (e.g. make it git clone friendly):

Improved github context checks to guess if we should have rights to push on ghcr.io
Now should be able to run on forked repos (without self-hosted arm64 runner).
In forked builds, just linux/amd64 platform is built as qemu build for arm64 needs ~3h to finish.
Added nice summary for ephemeral ttl.sh images / ghcr.io tags in workflow summary

Signed-off-by: Ivan Kirchev<EMAIL_ADDRESS>

I tried making the resulting image smaller, the Dockerfile was quite sloppe anyway.
Does not solve the root cause for the 413 (probably this https://github.com/containerd/containerd/pull/7459 ) but maybe solves our problem while making the container image better as well. Fingers crossed

I doubt it will actually work as gpsd (+dependencies) are not copied in runtime image


fix: bump openrpc

need to wait on generator-client getting updated with latest typings

@shanejonas

@BelfordZ fixed er up

:tada: This PR is included in version 1.0.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: