About the tensorboard graph pool_3 node

Hello, anyone can told me why I'm done retrain the inception v3 model, in my tensorboard graph does not exist pool_3 node. I use the retrain.py which is provided. Because of the absent of pool_3 node, the step 4 make_prediction_pool.py i cannot run successful, there always get an error:
KeyError: "The name 'pool_3:0' refers to a Tensor which does not exist. The operation, 'pool_3', does not exist in the graph."

Even i run the make_predictions.py instead of make_predictions_pool.py, the result is showing "Error making prediction, continuing.", and in the end
0 0
Traceback (most recent call last):
File "make_predictions.py", line 137, in
main()
File "make_predictions.py", line 114, in main
accuracy = get_accuracy(predictions, labels)
File "make_predictions.py", line 95, in get_accuracy
accuracy = correct / float(len(predictions))
ZeroDivisionError: float division by zero

Hello. May I ask how you resolved this issue? I have the same error

I retrained it with the inception model. The graph looks different but I still get the same error.
I extracted the contents of the Inception V3 file to a directory called "inception" in the root directory. Then, I executed the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception --summaries_dir=training_summaries/long --output_graph=retrained_graph.pb --output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both make_predictions_pool.py and make_predictions.py I stil get the same errors.

probably is the model problem, if not mistaken, the model I downloaded from
online is not something like you, you can try download other inception v3
model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different but I
still get the same error.
I extracted the contents of the Inception V3 file
https://github.com/tensorflow/models/tree/master/research/slim#pre-trained-models
to a directory called "inception" in the root directory. Then, I executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception
--summaries_dir=training_summaries/long --output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the same errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410490860,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZYKT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg
.

because when the model is right one, then in your graph should have node
call pool_3, and the graph is procedure
钟子康<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:39写道：

probably is the model problem, if not mistaken, the model I downloaded
from online is not something like you, you can try download other inception
v3 model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different but I
still get the same error.
I extracted the contents of the Inception V3 file
https://github.com/tensorflow/models/tree/master/research/slim#pre-trained-models
to a directory called "inception" in the root directory. Then, I executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception
--summaries_dir=training_summaries/long --output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the same errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410490860,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZYKT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg
.

The link I downloaded from was on GitHub from the official TensorFlow repo.
Is there another one?
On Sun, Aug 5, 2018, 10:39 AM ukwai1203<EMAIL_ADDRESS>wrote:

probably is the model problem, if not mistaken, the model I downloaded from
online is not something like you, you can try download other inception v3
model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different but I
still get the same error.
I extracted the contents of the Inception V3 file
<
https://github.com/tensorflow/models/tree/master/research/slim#pre-trained-models
to a directory called "inception" in the root directory. Then, I executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception
--summaries_dir=training_summaries/long --output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the same
errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410490860
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZYKT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491286,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtGg7HX8GLDwW_FKTAZA3C4snmMgLicks5uNlrkgaJpZM4UYZHg
.

the model I used is download from some sign language gesture recognition
project, and that project also look like this project but that project have
provide the model and it can be use in this project.
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:41写道：

The link I downloaded from was on GitHub from the official TensorFlow repo.
Is there another one?
On Sun, Aug 5, 2018, 10:39 AM ukwai1203<EMAIL_ADDRESS>wrote:

probably is the model problem, if not mistaken, the model I downloaded
from
online is not something like you, you can try download other inception v3
model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different but
I
still get the same error.
I extracted the contents of the Inception V3 file
<

https://github.com/tensorflow/models/tree/master/research/slim#pre-trained-models

to a directory called "inception" in the root directory. Then, I
executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception
--summaries_dir=training_summaries/long
--output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the same
errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410490860

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZYKT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491286
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AXtGg7HX8GLDwW_FKTAZA3C4snmMgLicks5uNlrkgaJpZM4UYZHg
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491357,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj3bftuKDjf1DH0fO9JD9YpIk7JMpvhOks5uNltdgaJpZM4UYZHg
.

Do you remember any keywords or something related that might help me find
the model you used?
On Sun, Aug 5, 2018, 10:40 AM ukwai1203<EMAIL_ADDRESS>wrote:

because when the model is right one, then in your graph should have node
call pool_3, and the graph is procedure
钟子康<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:39写道：

probably is the model problem, if not mistaken, the model I downloaded
from online is not something like you, you can try download other
inception
v3 model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different but I
still get the same error.
I extracted the contents of the Inception V3 file
<
https://github.com/tensorflow/models/tree/master/research/slim#pre-trained-models

to a directory called "inception" in the root directory. Then, I
executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception
--summaries_dir=training_summaries/long
--output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the same
errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410490860
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZYKT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491327,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtGg4M0Yq2KOZv1S7tZSRBv0bbtFmDdks5uNlsigaJpZM4UYZHg
.

Oh I see. Thank you! I'll try looking for it as well
On Sun, Aug 5, 2018, 10:46 AM ukwai1203<EMAIL_ADDRESS>wrote:

the model I used is download from some sign language gesture recognition
project, and that project also look like this project but that project have
provide the model and it can be use in this project.
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:41写道：

The link I downloaded from was on GitHub from the official TensorFlow
repo.
Is there another one?
On Sun, Aug 5, 2018, 10:39 AM ukwai1203<EMAIL_ADDRESS>wrote:

probably is the model problem, if not mistaken, the model I downloaded
from
online is not something like you, you can try download other inception
v3
model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different
but
I
still get the same error.
I extracted the contents of the Inception V3 file
<

https://github.com/tensorflow/models/tree/master/research/slim#pre-trained-models

to a directory called "inception" in the root directory. Then, I
executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception
--summaries_dir=training_summaries/long
--output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the same
errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410490860

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZYKT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491286

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AXtGg7HX8GLDwW_FKTAZA3C4snmMgLicks5uNlrkgaJpZM4UYZHg

.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491357
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Aj3bftuKDjf1DH0fO9JD9YpIk7JMpvhOks5uNltdgaJpZM4UYZHg
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491497,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtGg1VSt9gIAv0Uwwb6pfI8Rh4fh4_1ks5uNlyCgaJpZM4UYZHg
.

you can try sign language gesture recognition github, the project almost
same as this project but in the code contain file named inception and in
the file have the model.
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:48写道：

Do you remember any keywords or something related that might help me find
the model you used?
On Sun, Aug 5, 2018, 10:40 AM ukwai1203<EMAIL_ADDRESS>wrote:

because when the model is right one, then in your graph should have node
call pool_3, and the graph is procedure
钟子康<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:39写道：

probably is the model problem, if not mistaken, the model I downloaded
from online is not something like you, you can try download other
inception
v3 model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different
but I
still get the same error.
I extracted the contents of the Inception V3 file
<

https://github.com/tensorflow/models/tree/master/research/slim#pre-trained-models

to a directory called "inception" in the root directory. Then, I
executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception
--summaries_dir=training_summaries/long
--output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the same
errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410490860

,

or mute the thread
<

https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZYKT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491327
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AXtGg4M0Yq2KOZv1S7tZSRBv0bbtFmDdks5uNlsigaJpZM4UYZHg
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491567,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj3bfgcPuH_s2bqjTqC0e1qXcWEQI6FIks5uNl0IgaJpZM4UYZHg
.

Ok thanks! I found a different model. The one I used was from 2016. The new
one I found is from 2015. I'm retraining it now. I'll update you in a few
hours when it's done. Thank you so much for the help! :)
On Sun, Aug 5, 2018 at 10:52 AM, ukwai1203<EMAIL_ADDRESS>wrote:

you can try sign language gesture recognition github, the project almost
same as this project but in the code contain file named inception and in
the file have the model.
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:48写道：

Do you remember any keywords or something related that might help me find
the model you used?
On Sun, Aug 5, 2018, 10:40 AM ukwai1203<EMAIL_ADDRESS>wrote:

because when the model is right one, then in your graph should have
node
call pool_3, and the graph is procedure
钟子康<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:39写道：

probably is the model problem, if not mistaken, the model I
downloaded
from online is not something like you, you can try download other
inception
v3 model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different
but I
still get the same error.
I extracted the contents of the Inception V3 file
<

https://github.com/tensorflow/models/tree/master/research/
slim#pre-trained-models

to a directory called "inception" in the root directory. Then, I
executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks --model_dir=inception
--summaries_dir=training_summaries/long
--output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the same
errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#
issuecomment-410490860

,

or mute the thread
<

https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZYKT2e-
UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#
issuecomment-410491327
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/
AXtGg4M0Yq2KOZv1S7tZSRBv0bbtFmDdks5uNlsigaJpZM4UYZHg
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#
issuecomment-410491567>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aj3bfgcPuH_
s2bqjTqC0e1qXcWEQI6FIks5uNl0IgaJpZM4UYZHg>

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491685,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtGg4JbmjXUjf1rb2qZA2qgQ7uRJZ3mks5uNl3tgaJpZM4UYZHg
.

It's done retraining, but I still have the same error. What should be
inside the inception directory? Is it a .pb file? And should it have a
particular name?
On Sun, Aug 5, 2018 at 11:54 AM, Gram Liu<EMAIL_ADDRESS>wrote:

Ok thanks! I found a different model. The one I used was from 2016. The
new one I found is from 2015. I'm retraining it now. I'll update you in a
few hours when it's done. Thank you so much for the help! :)
On Sun, Aug 5, 2018 at 10:52 AM, ukwai1203<EMAIL_ADDRESS>wrote:

you can try sign language gesture recognition github, the project almost
same as this project but in the code contain file named inception and in
the file have the model.
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:48写道：

Do you remember any keywords or something related that might help me
find
the model you used?
On Sun, Aug 5, 2018, 10:40 AM ukwai1203<EMAIL_ADDRESS>wrote:

because when the model is right one, then in your graph should have
node
call pool_3, and the graph is procedure
钟子康<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:39写道：

probably is the model problem, if not mistaken, the model I
downloaded
from online is not something like you, you can try download other
inception
v3 model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:26写道：

I retrained it with the inception model. The graph looks different
but I
still get the same error.
I extracted the contents of the Inception V3 file
<

https://github.com/tensorflow/models/tree/master/research/sl
im#pre-trained-models

to a directory called "inception" in the root directory. Then, I
executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks
--model_dir=inception
--summaries_dir=training_summaries/long
--output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the
same
errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

https://github.com/hthuwal/sign-language-gesture-recognition
/issues/13#issuecomment-410490860

,

or mute the thread
<

https://github.com/notifications/unsubscribe-auth/
Aj3bfpB7ZYKT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/hthuwal/sign-language-gesture-recognition
/issues/13#issuecomment-410491327
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AXtGg4M0Yq
2KOZv1S7tZSRBv0bbtFmDdks5uNlsigaJpZM4UYZHg
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<https://github.com/hthuwal/sign-language-gesture-recognitio
n/issues/13#issuecomment-410491567>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
Aj3bfgcPuH_s2bqjTqC0e1qXcWEQI6FIks5uNl0IgaJpZM4UYZHg>

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491685,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtGg4JbmjXUjf1rb2qZA2qgQ7uRJZ3mks5uNl3tgaJpZM4UYZHg
.

I went through retrain.py and it doesn't seem to have any option
"--model_dir" in its Argument Parser. Would it be possible that a different
retrain.py was used?
On Sun, Aug 5, 2018 at 3:52 PM, Gram Liu<EMAIL_ADDRESS>wrote:

It's done retraining, but I still have the same error. What should be
inside the inception directory? Is it a .pb file? And should it have a
particular name?
On Sun, Aug 5, 2018 at 11:54 AM, Gram Liu<EMAIL_ADDRESS>wrote:

Ok thanks! I found a different model. The one I used was from 2016. The
new one I found is from 2015. I'm retraining it now. I'll update you in a
few hours when it's done. Thank you so much for the help! :)
On Sun, Aug 5, 2018 at 10:52 AM, ukwai1203<EMAIL_ADDRESS>wrote:

you can try sign language gesture recognition github, the project almost
same as this project but in the code contain file named inception and in
the file have the model.
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:48写道：

Do you remember any keywords or something related that might help me
find
the model you used?
On Sun, Aug 5, 2018, 10:40 AM ukwai1203<EMAIL_ADDRESS>wrote:

because when the model is right one, then in your graph should have
node
call pool_3, and the graph is procedure
钟子康<EMAIL_ADDRESS>于 2018年8月5日周日 上午10:39写道：

probably is the model problem, if not mistaken, the model I
downloaded
from online is not something like you, you can try download other
inception
v3 model which you can found on github
Lexicographical<EMAIL_ADDRESS>于 2018年8月5日周日
上午10:26写道：

I retrained it with the inception model. The graph looks different
but I
still get the same error.
I extracted the contents of the Inception V3 file
<

https://github.com/tensorflow/models/tree/master/research/sl
im#pre-trained-models

to a directory called "inception" in the root directory. Then, I
executed
the retrain command like so:
python retrain.py --bottleneck_dir=bottlenecks
--model_dir=inception
--summaries_dir=training_summaries/long
--output_graph=retrained_graph.pb
--output_labels=retrained_labels.txt --image_dir=majorData
is there anything I'm missing? Because when I run both
make_predictions_pool.py and make_predictions.py I stil get the
same
errors.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

https://github.com/hthuwal/sign-language-gesture-recognition
/issues/13#issuecomment-410490860

,

or mute the thread
<

https://github.com/notifications/unsubscribe-auth/Aj3bfpB7ZY
KT2e-UhlY7qLxPezRPul76ks5uNlfKgaJpZM4UYZHg

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/hthuwal/sign-language-gesture-recognition
/issues/13#issuecomment-410491327
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AXtGg4M0Yq
2KOZv1S7tZSRBv0bbtFmDdks5uNlsigaJpZM4UYZHg
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<https://github.com/hthuwal/sign-language-gesture-recognitio
n/issues/13#issuecomment-410491567>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aj3bfgcPu
H_s2bqjTqC0e1qXcWEQI6FIks5uNl0IgaJpZM4UYZHg>

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-410491685,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtGg4JbmjXUjf1rb2qZA2qgQ7uRJZ3mks5uNl3tgaJpZM4UYZHg
.

have you solved the problem?  I got the same one .

Hi! I decided to create a different repository with more comprehensive
instructions since many of the author's steps were unclear. Check it out
here: https://github.com/Lexicographical/Sign-Language-Gesture-Recognition
If you do enjoy it though, credit the original author. All I did was clean
up some parts
On Fri, Aug 10, 2018 at 9:27 AM, pikaqiu<EMAIL_ADDRESS>wrote:

have you solved the problem? I got the same one .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-411947394,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtGg4iHqeYHlOcLjv8y2t2T8NDiud2yks5uPOFmgaJpZM4UYZHg
.

@Lexicographical Thank you very much! It works! I think the original retrain.py has no BOTTLENECK_TENSOR_NAME = 'pool_3/_reshape:0'
JPEG_DATA_TENSOR_NAME = 'DecodeJpeg/contents:0'
so lead to the problem.

Yeah. That was the problem I noticed as well. Had to go thru old projects
on GitHub to find a retrain.py that worked
On Mon, Aug 13, 2018, 9:32 AM pikaqiu<EMAIL_ADDRESS>wrote:

@Lexicographical https://github.com/Lexicographical Thank you very
much! It works! I think the original retrain.py has no
BOTTLENECK_TENSOR_NAME = 'pool_3/_reshape:0'
JPEG_DATA_TENSOR_NAME = 'DecodeJpeg/contents:0'
so lead to the problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hthuwal/sign-language-gesture-recognition/issues/13#issuecomment-412387484,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXtGg3QNmjUSbtRuW3kAcsP1sj5gTGTrks5uQNc0gaJpZM4UYZHg
.


feature request - add array of parameters to log functions

Thanks for making Bugfender work with react native, its really good !
my suggestion is to add the ability to insert array of parameters , to the log funtioins (aka .d or .debug) like console.log, to make it  easier. in console.log, you can add multiple parameters and it would print them all, while in bugfender it looks like it can get exactly 2. its not a big deal, but when you build an app and using  console.log so its more convenient to send the same params to bugfender as well. (so you can actually e.g use 1 function for their both).

Hi @elirangoshen thanks a lot for taking your time to submit feature requests!
We have received authorization to investigate the extension of the Bugfender and making its behaviour similar to the console.log
We will be working on this on the next sprint. Additionally, if you have any other suggestion or code example we also accept PR.
Closing the issue as I already added to our internal ticketing system.


Convert string values to boolean and numbers

New Pull Request
For more information, see the CONTRIBUTING guide.
Prerequisites
Please make sure you can check the following boxes:

[x] I have read the CONTRIBUTING document
[ ] My code follows the code style of this project
[ ] All new and existing tests passed

Type(s) of Changes
Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[x] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes

Description
Configure the port:

But get a string:

Remarks
[Optionally place any follow-up comments, remarks, observations, or notes here for future reference]

I am not sure about the side-effects here.
Why not just use the JSON variant of an rc file?
{
  "defaultPort": 8081
}

That's a good choice, thanks!


Added  and

I've created my own fork and taken an initial stab at trying to fix anchor links and such:
https://github.com/cpboyd/XmlCommentMarkDownGenerator/commit/fc0fab724c0e8b730242e1673e09e478a9df517b
It also adds other things beyond the scope of this PR, like a few more HTML and Sandcastle/NDoc tags.


Remove all remaining #![allow(missing_docs)] attributes and finish documenting all public types

The following modules contain this attribute, and require further documentation:

[ ] ecc
[ ] etm
[ ] hmac
[ ] i2c
[ ] i2s
[ ] lcd_cam
[ ] ledc
[ ] otg_fs
[ ] pcnt
[ ] rsa
[ ] rtc_cntl
[ ] sha
[ ] soc
[ ] spi
[ ] system
[ ] twai
[ ] uart

I'm done with most of the tasks that have been assigned to me so far, so I'm gonna take a little "break" and take some care of this one for now


Missing #include  (for gcc 7.1)

Forgotten #include in file lib/remote/Server.cpp. Otherwise a compilation error occurs: "error: ‘bind’ is not a member of ‘std’". Is relevant for gcc the seventh series.

Cool thanks, fixed


rank demo

Hey, guys. I saw the code here just work for Retrieval situation, when will you open the code for Ranking situation.

Hi - so far we have only open sourced code for experiments in 4.1.1. We may release some code for 4.2 in the next few weeks.


propagate laser pulse back and forth through the same crystal

This can be done with constant n2 (both longitudinally and radially).
Drift the pulse 50 cm to a mirror, then 50 cm back to the crystal.
What's new here is traversing the crystal slices in the opposite order.
Issue https://github.com/radiasoft/rslaser_old/issues/185 needs to be completed first.
Completing this issue will like require modification of the Crystal and/or CrystalSlice classes.

Notebook (and changes to crystal.py/pulse.py) is completed for a crystal pumped from one side. It will be included in https://github.com/radiasoft/rslaser-examples/issues/1
I will work on implementing pumping from both sides now


NaNs in sketchgraphs_models/nn/summary.py cohen_kappa() when training on a subset of sg_t16_train.npy

Hi SketchGraphs experts,
I'm trying to train on a subset of the dataset sg_t16_train.npy with some "geometric" duplicates removed.  It was a very trivial change to  the GraphDataset from sketchgraphs_models/graph/dataset/__init__.py to get the data loader to choose only sequences from my de-duplicated list.
When training on the subset I find that I get some NaNs reported in the kappa edge statistics
Kappa Edges
EdgeAngle: aligned (nan); clockwise (nan); angle (nan)
EdgeLength: direction (1.000); length (-0.043)
EdgeDistance: direction (0.000); halfSpace0 (0.019); halfSpace1 (0.371); length (0.000)
EdgeDiameter: length (-0.013)
EdgeRadius: length (0.033)

Debugging I see that the NaNs get generated in the cohen_kappa() function in sketchgraphs_models/nn/summary.py
For the EdgeAngle TargetType the value of self.recorded = [0, 0, 0, 0].
        pm = self.prediction_matrix.float()
        N = self.recorded.sum().float()    <------ N == 0

        p_observed = pm.diag().sum() / N                                                          <---- NaNs in here
        p_expected = torch.dot(pm.sum(dim=0), pm.sum(dim=1)) / (N * N)     <---- and here

My understanding of the problem is that the data subset doesn't contain any  EdgeAngle constraints and consequently I can fix this with
        if N == 0:
            return 1

Does this sound like a valid solution, or are there other parts of the code I would need to change to work with a subset of the data?
Thank you for your help with this!

Hi Joe,
this should be a perfectly fine solution for dealing with your use case, as the metrics in summary are for display only and don't affect the model in any way. You could also consider using torch.nan_to_num if you have pytorch 1.8

Thanks Wenda,
So currently I just check for N==0 and return like this
        if N == 0:
            return 1

I can submit a PR with just this change if you think it might be useful.


Use rocm-docs-core as extension

Relates to https://github.com/ROCm/rocm-docs-core/issues/892

@ROCm/rocm-documentation


Planned issues to tackle

Reproducable: Grayscale png not properly loaded #4029 https://github.com/libgdx/libgdx/issues/4029
Fix broken things due to changes to Graphics#getWidth() #3702 https://github.com/libgdx/libgdx/issues/3702
Support for complex font rendering (Chinese, Arabic, ...) #1589 https://github.com/libgdx/libgdx/issues/1589
No option for rendering Arc Lines #4313 https://github.com/libgdx/libgdx/issues/4313
ButtonGroup throws ClassCastException when accessing through getAllChecked() #4294
https://github.com/libgdx/libgdx/issues/4294

RTL languages like Arabic not just direction from RIGHT to LEFT, but how connect their letters with each other and some letters as a block with 2 or more letters.
So, I do it with fully supporting RTL language.
https://github.com/CrowniAPIs/libGDX-RTL-Language


CircleSnail - Invariant violation ARTShape is not usable as a native method argument

After the upgrade from 4.1.0 to 4.1.2 the CircleSnail component crashes when useNativeDriver prop is specified.
Working:
          <Progress.CircleSnail
            style={styles.progress}
            color={['#F44336', '#2196F3', '#009688']}
          />

Crashing:
          <Progress.CircleSnail
            style={styles.progress}
            color={['#F44336', '#2196F3', '#009688']}
            useNativeDriver
          />

It has been reproduced in the Example project that is a part of this repository.
Invariant Violation: [47,"ARTShape",{"d":[0,20,4.5,2,"<<NaN>>","<<NaN>>"]}] is not usable as a native method argument

This error is located at:
    in ARTShape (at Shape.js:61)
    in Shape (at Arc.js:89)
    in Arc (at createAnimatedComponent.js:144)
    in AnimatedComponent (at createAnimatedComponent.js:194)
    in ForwardRef(AnimatedComponentWrapper) (at CircleSnail.js:167)
    in ARTSurfaceView (at Surface.js:37)
    in Surface (at CircleSnail.js:166)
    in RCTView (at createAnimatedComponent.js:144)
    in AnimatedComponent (at createAnimatedComponent.js:194)
    in ForwardRef(AnimatedComponentWrapper) (at CircleSnail.js:148)
    in CircleSnail (at App.js:87)
    in RCTView (at App.js:85)
    in RCTView (at App.js:60)
    in Example (at renderApplication.js:45)
    in RCTView (at AppContainer.js:109)
    in RCTView (at AppContainer.js:135)
    in AppContainer (at renderApplication.js:39)

invariant
    browser.js:38:14
enqueueNativeCall
    MessageQueue.js:307:15
nonPromiseMethodWrapper
    NativeModules.js:139:8
commitUpdate
    ReactNativeRenderer-dev.js:4451:4
commitWork
    ReactNativeRenderer-dev.js:19088:22
commitMutationEffects
    ReactNativeRenderer-dev.js:21503:18
invokeGuardedCallbackImpl
    ReactNativeRenderer-dev.js:286:4
invokeGuardedCallback
    ReactNativeRenderer-dev.js:497:2
commitRootImpl
    ReactNativeRenderer-dev.js:21231:29
commitRootImpl
    [native code]:0
unstable_runWithPriority
    scheduler.development.js:818:23
commitRoot
    ReactNativeRenderer-dev.js:21109:17
finishSyncRender
    ReactNativeRenderer-dev.js:20514:12
performSyncWorkOnRoot
    ReactNativeRenderer-dev.js:20493:24
performSyncWorkOnRoot
    [native code]:0
runWithPriority$argument_1
    ReactNativeRenderer-dev.js:5703:31
unstable_runWithPriority
    scheduler.development.js:818:23
flushSyncCallbackQueueImpl
    ReactNativeRenderer-dev.js:5698:21
flushSyncCallbackQueue
    ReactNativeRenderer-dev.js:5686:28
scheduleUpdateOnFiber
    ReactNativeRenderer-dev.js:19845:30
updateContainer
    ReactNativeRenderer-dev.js:23608:14
ReactNativeRenderer.render
    ReactNativeRenderer-dev.js:24593:19
renderApplication
    renderApplication.js:54:4
runnables.appKey.run
    AppRegistry.js:117:25
runApplication
    AppRegistry.js:202:4
__callFunction
    MessageQueue.js:425:19
__guard$argument_0
    MessageQueue.js:112:6
__guard
    MessageQueue.js:373:10
callFunctionReturnFlushedQueue
    MessageQueue.js:111:4
callFunctionReturnFlushedQueue
    [native code]:0

Yes, same issue with RN 0.62

I had this problem but what I was doing was setting the progress to NaN. Fixed that and the problem was gone

I have the same problem, even though @react-native-community/art is already installed. I'm using indeterminate={true} but tried anyway to set the progress. It makes no difference, the error occurs nevertheless.


How to have symbolPattern see upper and lower case?

My issue is just for saving time typing.  I'm using the symbolPattern for different events in the calendar and works perfect.  Only question:   is there a way to have it match upper and lowercase.  See my code below:
symbolPattern: [["Softball", "baseball@em"],
["Soccer", "soccer@em"],
["Basketball", "basketball@em"],
["School", "straight_ruler@em"],
["Birthday", "birthday@em"],
["Gymnastics", "woman-cartwheeling@em"],
["sewing", "scissors@em"],
["envirothon", "turtle@em"]],
I have to use "sewing" as lowercase because it is in the calendar that way but if it gets added as "Sewing" the symbol won't show.  Is there a way to cover upper and lower without having to type all of them 2 times:   ["sewing", "scissors@em"], ["Sewing", "scissors@em"],
Thank you again for your help.  This calendar is so amazing and work so well.

@cshaffer1 I'm not with my real device currently, so I should have solved this by my brain itself. :D
I think this could be work.
[/sewing/i, "scissors@em"],

It symbolPattern uses regular expression, thus this syntax will work. (I hope)

Thanks for the quick response.  I tried that it didn't work.  I messed with it and got it to work like this:
["/sewing/i", "scissors@em"],       Just forgot the quotes:)   Thank you again for the help and a great mod to the MagicMirror.


Elytra Variants Glide Slow

When using either the Armored Elytra or the Elytra Crystalline they both glide significantly slower than the normal elytra, rockets still work fine and you go full speed until the fuse ends, then it decelerates significantly, not sure if this is a bug or just a way of balancing being able to use an elytra and still have armor value from it.

This is a feature, both elytras work like armor and their speed is decreased


Difficulty with test packages

I'm trying to understand what I'm missing from this article: https://docs.microsoft.com/en-us/windows/iot-core/secure-your-device/securebootandbitlocker#turnkey-security-on-iot-core
I want to verify that the test packages are working with the test certificates before I generate a set of production keys.
I can follow all the steps in this article and the packages don't appear to work -- is there any configuration that needs to happen in the IoT Core image I build before these test packages will work?

Closing due to age. If issue persists, please submit a new issue.


Ignored property not set using constructor init with value

Goals
I want to set an ignored property using this type of constructor
let duck = Duck(value: [ "animal": [ "age": 3 ], "name": "Gustav" ])
Expected Results
The ignored property is correctly set
Actual Results
The constructor doesn't care about my ignored property
Steps to Reproduce

Define a model
Define an ignored property either optional or not
Create an object using the constructor with value
The ignored property is not set correctly

Code Sample
class User: Object {
    dynamic var id: String = ""
    dynamic var firstName: String? = nil
    dynamic var lastName: String? = nil

    //Ignored property
    dynamic var isPending: Bool = false

    override static func primaryKey() -> String? {
        return "id"
    }

    override static func ignoredProperties() -> [String] {
        return ["isPending"]
    }
}

And in the controller, I do this:
let user = User(value: ["id": "123", "firstName": "FIRST", "lastLame": "LAST", "isPending": true])
print(user.isPending) // Should show TRUE, but shows FALSE

Version of Realm and Tooling
In the CONTRIBUTING guidelines, you will find a script,
which will help determining these versions.
Realm version: 0.98.latest
Xcode version: 7.3
iOS/OSX version: 9.3
Dependency manager + version: Carthage latest of April 2016

The initWithValue: initializer only considers keys for persisted properties at the moment. This is a feature request, so I've marked it as such.

"It's not a bug, it's a feature" haha 😆
It would be great to mention it in the guide & API.


Integrate d-acts with IAO

Colleagues, recently we successfully integrated PNO into IAO. PNO used the IAO namespace. I am wondering whether we could do that with the second ontology I initiated that uses the IAO namespace: d-acts. Happy to discuss.

Mathias will check in with Allan and Jia about rolling forward with pull request; and an announcement to obi discuss and obi develop about the branch.

I reached out. Let's see what they say.


add @ornam on note and chord

From<EMAIL_ADDRESS>on March 27, 2012 10:34:27
Encoders often need a method for indicating that a note or chord has an attached ornament with resorting to controlevents, such as <trill>.  See the attached image (inlineTrill.bmp) as an example.
The attached ODD customization file (meiWithOrnam.xml) provides a possible solution. It adds data.ORNAM and data.ORNAMS datatypes for the value of the @-ornam attribute, which is then made available on note and chord elements.
Also attached is an RNG schema and a test file.
Attachment: meiWithOrnam.xml meiWithOrnam.rng ornamTest.mei inlineTrill.bmp
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=59

From<EMAIL_ADDRESS>on June 21, 2012 05:44:35
Labels: -Type-Enhancement Type-Bug

From<EMAIL_ADDRESS>on June 22, 2012 14:54:40
Status: Started

From<EMAIL_ADDRESS>on June 27, 2012 14:17:55
This issue was closed by revision r582 .
Status: Fixed


setup函数能直接返回jsx or tsx吗？

What problem does this feature solve?
更好的支持 ts
What does the proposed API look like?
return ()

see https://github.com/vuejs/jsx-next

As @edison1105 said.


Offline installer

Do you have or can you make and offline installer for this project? The machine I want to put this on cannot be connected to this internet.

This is a duplicate of #79. Please look there for the download location as well.


TLS/OSCP Issues on gogs.io with Firefox

As per some previous issues ( #3613, #3606 ect.), there are problems with accessing https://gogs.io with firefox.
For the time being one can turn of OSCP stapling to work around this, but it should be fixed.

Yup, broken for me as well, and SSL labs confirms the problem again: https://www.ssllabs.com/ssltest/analyze.html?d=gogs.io (scroll down to "OSCP stapling" where it says: "Invalid  Failed to validate response")

It's not the first time it happens, #3592 was probably the first occurrence (and might contain instructions to solve it too)

@strk since ssllabs.com is showing this as well, this is most certainly a server problem and can only be solved by the administrators of gogs.io.

Yes and I believe that @Unknwon is the only one managing the server too, so nothing can be done about that.

Yep, same issue as last time. Probably some remnant of the previous CA in the configuration. The gogs.io server is contacting the wrong CA (StartCom) for the OCSP data.
$ openssl s_client -connect gogs.io:443 -servername gogs.io -status 2&>1 < /dev/null | grep "OCSP Response Data" -A14
OCSP Response Data:
    OCSP Response Status: successful (0x0)
    Response Type: Basic OCSP Response
    Version: 1 (0x0)
    Responder Id: C = IL, O = StartCom Ltd., OU = Secure Digital Certificate Signing, CN = StartCom Class 1 Primary Intermediate Server CA OCSP Responder
    Produced At: Oct 23 00:29:16 2016 GMT
    Responses:
    Certificate ID:
      Hash Algorithm: sha1
      Issuer Name Hash: 6568874F40750F016A3475625E1F5C93E5A26D58
      Issuer Key Hash: EB4234D098B0AB9FF41B6B08F7CC642EEF0E2C45
      Serial Number: 0693FC2B7F5872
    Cert Status: good
    This Update: Oct 23 00:29:16 2016 GMT
    Next Update: Oct 27 00:39:16 2016 GMT

Yes, agreed it's a server problem

I propose leaving Startcom to die on it's own and move to Let's Encrypt.

+1 (but this bug is hardly Startcom fault)

Is there a timeline when this issue will be fixed. I lately had a bad time advocating gogs in our team when half of the people couldn't even visit the website. ;)

gogs.io use Let's Encrypt SSL and Caddy server. I 'have exactly the same configuration on my own dedicated server. Maybe @Unknwon add non-default value on Caddy configuration file who break OCSP.

Definitely sounds like a Caddy bug. Probably some bad cache. It's certainly not possible to misconfigure nginx alone in such a way.

Perhaps the problem is that dl.gogs.io (which is hosted on the same server) still uses a StartCom certficate? https://www.ssllabs.com/ssltest/analyze.html?d=gogs.io vs https://www.ssllabs.com/ssltest/analyze.html?d=dl.gogs.io

Ah, so it looks like dl.gogs.io is the default server and it may wrongly fall back to it for OCSP. The StartTLS certificate is going to expire in 8 days, btw.

This issue seems to be fixed and should be closed because I can now visit the site again with Firefox

Yes, looking good right now. I wonder what was the issue.
$ openssl s_client -connect gogs.io:443 -servername gogs.io -status 2&>1 < /dev/null | grep "OCSP Response Data" -A14
OCSP Response Data:
    OCSP Response Status: successful (0x0)
    Response Type: Basic OCSP Response
    Version: 1 (0x0)
    Responder Id: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
    Produced At: Nov 11 03:10:00 2016 GMT
    Responses:
    Certificate ID:
      Hash Algorithm: sha1
      Issuer Name Hash: 7EE66AE7729AB3FCF8A220646C16A12D6071085D
      Issuer Key Hash: A84A6A63047DDDBAE6D139B7A64565EFF3A8ECA1
      Serial Number: 036A5435B12431953B0045A6ED28988ECD63
    Cert Status: good
    This Update: Nov 11 03:00:00 2016 GMT
    Next Update: Nov 18 03:00:00 2016 GMT

Confirmed, looks good.

Working for me too.   Fixed as far as I'm concerned.


⚠ Jerry Savelle Ministries International Australia has degraded performance

In 68d3ceb, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 200
Response time: 5864 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in b7fcf39 after 6 minutes.


Message Encryption

When I send a message to a phone number I registered on an Android device, I get the message encrypted, and the code doesn't decrypt it. How can I decrypt incoming messages ?
Output sample:
rx <message<EMAIL_ADDRESS>type="text" id="F368DB2FD269ED1A1
C1" t="1446369932" notify="Xxxxxx">
rx   <enc v="1" type="pkmsg">??.!??!?o??JW??Z:???9p??i?u???_??!???^???;?
?F%????2??V?a?$???p"B3
!/??d?~?:??^???0r?u~?b????>???b "g??T?4o????t^#?2???`7(?J0 </enc>
rx </message>
Message from Xxxxxx<EMAIL_ADDRESS>??.!??!?o??JW??Z:???9p??i?u??
?_??!???^???;??F%????2??V?a?$???p"B3
!/??d?~?:??^???0r?u~?b????>???b "g??T?4o????t^#?2???`7(?J0

Duplicate: #81

So you're basically saying that there's no support to it in the .NET version ? Are you going to implant it in the future ?

Exactly. I dont know, right now i dont have time

Same Problem....


Adding binary_path to store for tikv

Signed-off-by: mapleFU<EMAIL_ADDRESS>
What have you changed?
Please explain in detail what the changes are in this PR and why they are needed:
This pr is related to kvproto#551. TiKV need to support upload it's binary path to PD.
What is the type of the changes?

New feature (a change which adds functionality)

How is the PR tested?

No code

Does this PR affect documentation (docs) or should it be mentioned in the release notes?

Does this PR affect tidb-ansible?

No
Refer to a related PR or issue link (optional)

kvproto#551

I wonder if it's better to use
//                if let Some(r) = path.file_name().unwrap().to_str() {
//                    store.set_binary_path(r.into_string());
//                }

/merge


Logo fix

@mcollina Please note, the readme won't show correctly until after the merge (see the url of the banner). A version will need to be bumped to correct this on npm. I'm happy to do this later if you wish?
Closes #8

Coverage remained the same at 100.0% when pulling fceb404986f96ba04e9696fac4e01471d5e80b58 on logo-fix into 8490a2ace4a364896b490618fe2433a74ce0987f on master.

Thx!


fs: cleanup uv__fs_scandir

The out section is only reachable now if scandir returns 0.

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/195/

CI failures seem to be all of the usual suspects.

Updated with @bnoordhuis comments

Landed in d251dee, thanks!

Oh, I just noticed it was you Santi, sorry about that!

np, thanks!


[QST]: cufile.log Path Change

What is your question?
Hello, is there a way to change the cufile.log path? It is always created in the entrypoint folder of my python module.
Thanks in advance!

Maybe this doc is helpful?

I also noticed this happens with the nvidia pytorch 22.11 container and versions after.
To reproduce it
docker run -it --rm nvcr.io/nvidia/pytorch:22.09-py3 bash -c "pip install cucim; python -c 'import cucim'; ls 'cufile.log'"

In 22.10 and earlier:
docker run -it --rm nvcr.io/nvidia/pytorch:22.10-py3 bash -c "pip install cucim; python -c 'import cucim'; ls 'cufile.log'"

It will throw the error: ls: cannot access 'cufile.log': No such file or directory

In the https://docs.nvidia.com/gpudirect-storage/troubleshooting-guide/index.html#enable-diff-log-file-app

If the logging:dir property in the default /etc/cufile.json file is not set, by default, the cufile.log file is generated in the current working directory of the application.

Is that the case?
19-02-2023 06:10:38:318 [pid=97 tid=97] NOTICE  cufio-drv:705 running in compatible mode

This means that the system doesn't have a GDS-enabled storage device and drivers, so the GDS API call would execute the regular posix API without the benefit of GDS.

Thanks @gigony for the reply.


Update uefi dependency to v0.20

The old version (0.18.0) of the UEFI crate that bootloader 0.11.3 depends on has code that throws a myriad of future incompatibility/deprecation warnings when compilation is attempted ― deprecation warnings that are highlighted in the rust-lang/rust#107457 tracking issue. I therefore created this pull request that both fixes the version of UEFI depended on (0.20 doesn't have the same problems) and bumps the version of bootloader to 0.11.4 to ensure that this fix gets published to crates.io immediately after it's implemented.

Thanks for the PR! The update uefi v0.20 looks good. I left some comments inline. Once they're resolved, we can merge this.

Going to do this tonight (Pacific time) — with family at the moment.

Thanks for the PR! The update uefi v0.20 looks good. I left some comments inline. Once they're resolved, we can merge this.

Alright, just reviewed them. Sorry it took longer than expected; been very busy lately.


Ability to restore tabs in chrome incognito window

Can you add an option to restore tabs in an incognito window when extension is allowed in incognito mode? my use case requires signing into same website with multiple accounts and this is only possible by using a separate window in incognito mode for each account.

You can turn on the enable in incognito mode option in extension manage page.
The Better OneTab won't save the cookie of the site, so it cannot achieve it if you want to quickly change the account of the same site.


Add support for wlr-layer-shell

This protocol allows for status bars, lockscreens, virtual keyboards, et cetera.
https://github.com/swaywm/wlroots/blob/master/protocol/wlr-layer-shell-unstable-v1.xml

Is there any progress on this issue?

Also, for https://git.sr.ht/~kennylevinsen/wlgreet:

Note that cage is currently not supported due to it lacking wlr-layer-shell-unstable support.

Hello. Any news about adding layer-shell support?

This would be really nice for login greeters.

I need this for wlgreet

Though very slowly, I am working on this

Though very slowly, I am working on this

Any updates?

Still working on it

I'm working on here https://github.com/OctopusET/cage/tree/layer_shell_v1


Link to mdn documentation if the dart api documentation is empty

I think we should provide a link to the mdn documentation if the dart dom api documentation is empty. I propose the following procedure:

If the element has dart documentation, don't show a mdn link.
Else, look for the DomName metadata, and check if the page https://developer.mozilla.org/en-US/docs/Web/API/${@domname} doesn't give errors

If the page doesn't give errors, use that link
Else, use the link: https://developer.mozilla.org/en/search?q=${@domname}

We should probably tell if the link is pointing to a search page or to the specific page with information. I think that in many cases the domname will point to the correct mdn information, but there are cases where this doesn't work. This seem to be about differences between the chrome IDL and firefox.
For example. If you have the code:
ButtonElement button = new ButtonElement;
button.style<cursor>

Then the domname metadata will point to:
https://developer.mozilla.org/en-US/docs/Web/API/Element.style
but this page doesn't exist, it should point to:
https://developer.mozilla.org/en-US/docs/Web/API/HtmlElement.style
Ideally, we could make a mapping for where the chrome IDL and firefox seems to have differences.  Thoughts @devoncarew @lukechurch ?

This is probably a feature of the doc generation for dart:html, not a feature for the dartdoc tool itself. The dartdoc tool shouldn't have custom logic for dart:html or MDN.
I like the idea, but it should live somewhere else. For example, what processing step can we introduce in the generation of dart:html ?

oops, commented in wrong context. :)

@devoncarew Any suggest wrt this?

Wow, it seems the in the meantime, Firefox has created redirect for Element.style. this can't be coincidence right?

Haven't had time to look a the associated PR, but My thinking is that this should be solved in the dart:html library itself. It should have great documentation; either Dart specific, or linking to MDN if that's the right thing to do for an element.
I'm not sure solving this at the dartpad level is the right thing.

@devoncarew I do agree that this should be solved in the dart:html library (ideally). But I'm afraid that it may quite a long time before this is solved at the dart:html side, and this is really a feature I would like to have, as a dartpad user myself.
I haven't ever done serious javascript, and so my dom knowledge is not that great. As the dart dom api is lacking much documentation, in 90% of the cases you have to search for external dom documentation. In that case, it is of course great to know hat the native dom name is. So I think we should give at least that information.
For classes, api.dartlang.org does that as well btw. I don't think it is unreasonable to show the complete native dom name also for class members at dartlang, as the doc snippits we provide are a bit more isolated.
But then, if you are going to give the native dom name, and if the user is going to use that native dom name, probably the user is going to search for external documentation. What my script basicly does, is already checking for the user, if it can find some external resources (if there is no dart documentation).
First it checks if https://developer.mozilla.org/en-US/docs/Web/API/$domName exists. Where domName for example could be HTMLTextAreaElement.autofocus. If this page doesn't exists, it tries to extract the className of the domName, in this case, HTMLTextAreaElement, and then it checks if
https://developer.mozilla.org/en-US/docs/Web/API/$className exists.
And last if both pages doesn't exists, is just shows the message, search for [HTMLTextAreaElement.autofocus] at MDN.
I think this can do very little harm, while the benefit can be really great for people. Of course, if dart:html will improve so much that this isn't needed, then we can just remove this script right ?

fixed by #257; thanks!


Write up a standard for 'what is a changeset/what does it look like'

Since we may want multiple tools built on the concept, having a clearly defined standard will make these way easier to validate.

In solving this, we should consider its impact on #3

v2 has a robust types package, and we now have a dictionary - I'm counting this as done.


Use Django's import_string so as to avoid re-implementing it

Thanks! I just checked whether import_string is documented, and indeed it is.


rename test variables to be consistent

I find it difficult to keep track of how the test constants are named. This is my take on fixing that (here's your description @pmorie)

i actually want to hold off on merging this because it's going to cause a lot of people to have to rebase - can we hold this until after feature complete?


Cknieling/update filesystem

removed a few filesystem related util functions in Utilities.cpp/.h with the equivalent functions from std::filesystem

There are still a few encoding and color related functions left, which were not changed.
I did not trust std::filesystem to handle complex encoding changes, because they state conversion is unspecified
There is a function for retrieving the modification time of a file in the util functions (getFileModificationTime)

this could technically be replaced last_write_time
the return type is file_time_type and not time_t and generally a bit cumbersome to use and print (see here  and here)
if we don't care about debug prints, we could still convert to getFileModificationTime for consistency or keep using stat/_wstat

requested changes were made


fix: install deps in hubone schema container

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


Vision/eye MP terms fix

Could you please add hyphens to the following MP terms:
abnormal a-wave shape (MP:0012034)
abnormal a-wave amplitude (MP:0012030)
decreased a-wave amplitude (MP:0012143)
increased a-wave amplitude (MP:0012145)
abnormal b-wave amplitude (MP:0012031)
decreased b-wave amplitude (MP:0012144)
increased b-wave amplitude (MP:0012146)
abnormal c-wave shape (MP:0012040)
abnormal a-wave implicit time (MP:0012038)
decreased a-wave implicit time (MP:0012148)
increased a-wave implicit time (MP:0012147)
abnormal b-wave implicit time (MP:0012039)
decreased b-wave implicit time (MP:0012149)
increased b-wave implicit time (MP:0012150)
abnormal a-wave latency (MP:0012036)
decreased a-wave latency (MP:0012152)
increased a-wave latency (MP:0012151)
abnormal b-wave latency (MP:0012037)
decreased b-wave latency (MP:0012154)
increased b-wave latency (MP:0012153)
absent b-wave (MP:0020439)

fixed in labels, definitions and synonyms

fixed in labels, definitions and synonyms


ClusterRpcProxy using default credentials even with given config

Please use the Discourse forum for support requests and questions.
Describe the bug
Seemingly no matter what I do, ClusterRpcProxy uses the default guest:guest configuration.
    with<EMAIL_ADDRESS>as rpc:
        result = rpc.stream_service.get(stream_id)
        return result, 200

results in
AMQPLAIN login refused: user 'guest' - invalid credentials
2020-07-26 03:15:34.787 [info] <0.7322.1> closing AMQP connection <0.7322.1> (<IP_ADDRESS>:60004 -> <IP_ADDRESS>:5672)
2020-07-26 03:16:58.766 [info] <0.7505.1> accepting AMQP connection <0.7505.1> (<IP_ADDRESS>:60048 -> <IP_ADDRESS>:5672)
2020-07-26 03:16:58.771 [error] <0.7505.1> Error on AMQP connection <0.7505.1> (<IP_ADDRESS>:60048 -> <IP_ADDRESS>:5672, state: starting):
AMQPLAIN login refused: user 'guest' - invalid credentials

I have tried a series of variations of this (from instantiating the config different ways, with or without explicit definition) and have been unsuccessful.
Additionally, I was trying originally to use config.get() but it appears to not be set outside of a nameko run service context. This may just be an expected behavior I'm unaware of tho.
I have no issues so far using the nameko CLI to run the rpc calls manually, so config is working within the context of a nameko service.
To Reproduce
from flasgger import Swagger
from flask import Flask, jsonify, request
from nameko.rpc import RpcProxy
from nameko.standalone.rpc import ClusterRpcProxy

app = Flask(__name__)
Swagger(app)

@app.route('/stream/<stream_id>', methods=['GET'])
def get(stream_id):
    """Returns a single stream
    ---
    parameters:
        - name: stream_id
          in: path
          type: string
          required: true
    responses:
        200:
            description: A stream represented by json
    """

    config= {
        'AMQP_URI'<EMAIL_ADDRESS>    }

    with ClusterRpcProxy(config) as rpc:
        result = rpc.stream_service.get(stream_id)
        return result, 200

app.run(debug=True)

Expected behavior
For the RPC call to be made via ampq
Environment (please complete the following information):

Nameko version: 3.0.0rc8
Python version: Python 3.7.3
OS: Darwin Kernel Version 18.7.0 / 10.14.6 Mojave

Additional context
One example
<IP_ADDRESS> - - [25/Jul/2020 20:27:35] "GET /stream/5f1cbdf1213b402266d9d0ca HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 2464, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app
    response = self.handle_exception(e)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/asciifaceman/development/praetor/api.py", line 33, in get
    with<EMAIL_ADDRESS>as rpc:    <<<<< Relevant
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/nameko/standalone/rpc.py", line 252, in __enter__
    return self.start()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/nameko/standalone/rpc.py", line 258, in start
    self.reply_listener.start()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/nameko/standalone/rpc.py", line 87, in start
    maybe_declare(self.queue, conn.channel())
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 289, in channel
    chan = self.transport.create_channel(self.connection)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 867, in connection
    max_retries=1, reraise_as_library_errors=False
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 445, in _ensure_connection
    callback, timeout=timeout
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/utils/functional.py", line 344, in retry_over_time
    return fun(*args, **kwargs)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 874, in _connection_factory
    self._connection = self._establish_connection()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 809, in _establish_connection
    conn = self.transport.establish_connection()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/transport/pyamqp.py", line 130, in establish_connection
    conn.connect()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 320, in connect
    self.drain_events(timeout=self.connect_timeout)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 508, in drain_events
    while not self.blocking_read(timeout):
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 514, in blocking_read
    return self.on_inbound_frame(frame)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/method_framing.py", line 55, in on_frame
    callback(channel, method_sig, buf, None)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 521, in on_inbound_method
    method_sig, payload, content,
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/abstract_channel.py", line 145, in dispatch_method
    listener(*args)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 651, in _on_close
    (class_id, method_id), ConnectionError)
amqp.exceptions.AccessRefused: (0, 0): (403) ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.

Another example
<IP_ADDRESS> - - [25/Jul/2020 21:09:59] "GET /stream/5f1cbdf1213b402266d9d0ca HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 2464, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app
    response = self.handle_exception(e)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/asciifaceman/development/praetor/api.py", line 34, in get
    with ClusterRpcProxy(config) as rpc:   <<<<< Relevant
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/nameko/standalone/rpc.py", line 252, in __enter__
    return self.start()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/nameko/standalone/rpc.py", line 258, in start
    self.reply_listener.start()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/nameko/standalone/rpc.py", line 87, in start
    maybe_declare(self.queue, conn.channel())
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 289, in channel
    chan = self.transport.create_channel(self.connection)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 867, in connection
    max_retries=1, reraise_as_library_errors=False
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 445, in _ensure_connection
    callback, timeout=timeout
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/utils/functional.py", line 344, in retry_over_time
    return fun(*args, **kwargs)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 874, in _connection_factory
    self._connection = self._establish_connection()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/connection.py", line 809, in _establish_connection
    conn = self.transport.establish_connection()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/kombu/transport/pyamqp.py", line 130, in establish_connection
    conn.connect()
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 320, in connect
    self.drain_events(timeout=self.connect_timeout)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 508, in drain_events
    while not self.blocking_read(timeout):
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 514, in blocking_read
    return self.on_inbound_frame(frame)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/method_framing.py", line 55, in on_frame
    callback(channel, method_sig, buf, None)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 521, in on_inbound_method
    method_sig, payload, content,
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/abstract_channel.py", line 145, in dispatch_method
    listener(*args)
  File "/Users/asciifaceman/development/praetor/venv/lib/python3.7/site-packages/amqp/connection.py", line 651, in _on_close
    (class_id, method_id), ConnectionError)
amqp.exceptions.AccessRefused: (0, 0): (403) ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.

Note: I know I Could set up the API to be a service as well as is demonstrated in your examples repo, but I wanted to see how well it would operate in an event loop since I plan on interfacing with the rpc endpoints within a task scheduler that would be self-determining and not API bound

resolved: https://github.com/nameko/nameko/issues/687#issuecomment-663938776
This should be documented in https://nameko.readthedocs.io/en/stable/built_in_extensions.html?highlight=standalone#rpc

I think this is a bug and this needs to be fixed. Had spend half a day troubleshooting when I deploy into the server (eg: not using localhost) I tot our application has dev/prod parity issue. I switch back to 2.12.x official release instead of release candidates.

I'm unfortunately on the RC for new features :\


Update friendly_token to issue Structured Secrets

Hey folks,
I'd like to propose an update to the current implementation of Devise#friendly_token to use Structured Secrets. I've put together a demo, but would like to collect feedback on this from the Devise team and its users before opening a pull request to propose changes to the core library.
Sssecrets is a reusable implementation of GitHub's API token format (which is also used by NPM), and it's designed to make it simple for developers to issue secure secret tokens that are easy to detect when leaked.
Token prefixes are a simple and effective method to make tokens identifiable. Slack, Stripe, GitHub, and others have adopted this approach to great effect.
You can learn more about GitHub's design process and the properties of this API token format on the GitHub blog.
Background
Why Structured Secrets?
If you're a developer and your application issues some kind of access tokens (API keys, PATs, etc), it's important to format these in a way that both identifies the string as a secret token and provides insight into its permissions.
Simple Structured Secrets help solve this problem: They're a compact format with properties that are optimized for detection with static analysis tools. That makes it possible to automatically detect when secrets are leaked in a codebase using features like GitHub Secret Scanning or GitLab Secret Detection.
Here's an example. HashiCorp Vault's API access tokens look like this (ref):
f3b09679-3001-009d-2b80-9c306ab81aa6
You might think that this is pretty is a pretty easy pattern to search for, but here's the issue: It's just a UUID string.
While random, strings in this format are used in many places for non-sensitive purposes. Meaning that, given a random UUID formatted string, it's impossible to know whether it's a sensitive API credential or a garden-variety identifier for something mundane. In cases like these, secret scanning can't help much.
What's in a Structured Secret?
Structured secrets have three parts:

A prefix (2-10 characters, defined by you)
30 characters of randomness
A 6 character checksum

That's it!
Here's the format:
[prefix]_[randomness][checksum]
An example Sssecret, with an org of t and a type of k, looks like this:
tk_GNrRoBa1p9nuwm7XrWkrhYUNQ7edOw4GUp8I
Current behavior
Currently, Devise uses the following format for friendly tokens:
irb(main):001:0> Devise.friendly_token
=> "eaeTJwV3ZvEweRVnZYyE"

Expected behavior
With this new implementation, Devise generates friendly tokens using the Structured Secret format:
irb(main):001:0> Devise.friendly_token
=> "dvft_6VBhR4ODS2fygr0KzXvwpvXj6ILunQQMBbR0"

irb(main):003:0> Devise.friendly_token(org: "demo", type: :admin)
=> "demoadm_6dSZp4nWvgWaM6mEHYwXmrxRksPkOd2AdqDX"

These prefixes are configurable in the Devise.setup block, like so:
Devise.setup do |config|
  config.friendly_token_org = 'dv' # Set your sssecret token organization. Defaults to "dv".
  config.friendly_token_types[:default] = 'ft' # Add your sssecret token types like so. Default is "ft".
  config.friendly_token_types[:user] = 'usr'
  config.friendly_token_types[:admin] = 'adm'

  # Any other Devise configuration...
end

Demo
I've put together a demo showing how to integrate Sssecrets with Devise in the following repository:
https://github.com/chtzvt/sssecrets-devise
The core of the demo implementation can be found in the project's Devise initializer.
I'd like to collect feedback on this proposal from the Devise team, along with users of Devise, before opening a pull request to propose changes to Devise core.

Is this issue still relevant now that the devise-sssecrets gem exists?

@mvz Potentially. This issue was intended as a proposal to suggest improvements to the current friendly_token implementation. Devise-sssecrets was meant to serve partly as a first-draft reference implementation, and also as a way to bring structured secrets to existing projects using Devise.

I understand the basic rationale of Structured Secrets, but in the context of devise, I guess I don't quite capture the point. These are tokens that are generally issued 'behind the scenes' in cookies, etc and are also generally lasting for a short time.

Thank you for detailed explanation but I think I agree with @colinross that in devise's context it doesn't provide that much value but it can exist as an extension to Dive for sure!


Add tests checking the behavior of constraints on generic classes

This just adds the tests (with appropriate modifications) from #5256 into v2. No code changes outside of the test files were necessary, but I still think it's good to have tests for these cases.

please review


ISPN-10321 Jenkins ignores orphaned item strategy in UI

https://issues.jboss.org/browse/ISPN-10321
Define a buildDiscarder option in Jenkinsfile

@danberindei Does this need backporting to the 9.4.x and 9.3.x branch?

@ryanemerson I was assuming it would apply to all branches automatically, as the UI configuration would, but I see it doesn't so I'll backport to 9.4.x. We only have 67 builds for 9.3.x so I'm not going to backport there.


Make all ports configurable with environment variables

This allows us to avoid port conflicts, including running 2 different versions of the console simultaneously.
For example, from one clone of the repository, run:
npm run setup
npm run plugins

And from the other, run:
export CONSOLE_PORT=9001 BACKEND_PORT=4001 MCE_PORT=3003 ACM_PORT=3004
npm run setup
npm run plugins

This also works for the standalone development console, for which you only need to set BACKEND_PORT and FRONTEND_PORT.

/cc @Randy424


app.config.ts typing fails

Environment
Working directory: /home/projects/github-xfi7iq                                                                                5:27:10 PM
Nuxt project info:                                                                                5:27:10 PM

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.10.3
CLI Version:      3.10.1
Nitro Version:    2.9.3
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, runtimeConfig
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-xfi7iq?file=utils%2Fconfig.ts
app.config.ts
export default defineAppConfig({
  foo: 'bar',
});

utils/config.ts
const appConfig = useAppConfig();
appConfig.foo // 👈 no typing

Describe the bug
A typed app config is expected from useAppConfig(), but unfortunately it does not work.
From the docs
"Nuxt tries to automatically generate a TypeScript interface from provided app config so you won't have to type it yourself."
Additional context
Tooltip for app config variable does not show type string:

To prove typing works, tooltip for runtime config does show correct typing:

Logs
No response

This is a StackBlitz issue, I believe.
Running the type check command manually shows that the types are correctly inferred: https://stackblitz.com/edit/github-xfi7iq-tuss4e?file=utils/config.ts,package.json

Thanks Daniel 🙏.
You have tought me to use also use vue-tsc --noEmit && tsc --noEmit for checking this.
The reason I chased this bug was because I didn't have typings in my project.
But the cause was not a Nuxt bug, but had something to do with using pnpm workspaces.
After adding shamefully-hoist=true in .npmrc I not only got rid of errors in import statements of indirectly installed packages (ie. H3), but also fixed typing on appconfig!
I didn't include shamefully-hoist at first because I know Nuxt does not require it since a few releases ago.

In fact I also have fixed that bug. In v3.11 you can remove hoisting again


keys %{ ...} being translated as a mod operator

keys %{ ...} being translated as a mod operator.  For example:
    foreach $api1 (keys %{ $vhohash{$vho1}}) {...}

Fixed in v1.022.


feat(CX-2737): Add demand index in My Collection

The type of this PR is: Feat

This PR solves CX-2737
Description
This PR adds the high demand index to My Collection on Web
Screenshots

Device type
Screenshot

Mobile

Tablet

Desktop

[ ] add screenshots for Mobile, Tablet, & Desktop

LGTM! Just one comment - the spacing between the DemandIndexBar and the getDemandRankText is bigger that in the design

Great catch Daria! I'll update it :)


DIF2-1 Nanand2/2311 Conditional Layer Norm op

To do DIF2-1
Here we are just modifying Triton's LayerNorm implementation by making it suitable for Conditional LayerNorm (predicted shift and scale tensors instead of learnable parameters)
Background
The standard transformer block is, given input x
LN_1 —> Attn —> Dropout —> Residual Add_x —> LN_1—> MLP —> Dropout —>  Residual Add_x
We would like to replace all of the LNs with CLNs (conditional LayerNorms),
CLN_1 —> Attn —> Dropout —> Residual Add_x —> CLN_1—> MLP —> Dropout —> Residual Add_x
because we would like to incorporate side/conditioning information into the network in an elegant and proved out way.
Here, instead of
ɣ (x - E[x] / sqrt(Var[x] + eps)) +  β
where ɣ and β are (T, d) tensors,
Now, ɣ_i and β_i (B, T, d) tensors, where B = batch dim, T = time/sequential dim, and d= vector dimension
In essence, every example per-batch gets its own custom scale (ɣ) and shift (β) operations that are predicted tensors, rather than learned parameters

Ref DIF2-1


Register App Attestation Schema

What agent/tenant will own it: New tenant
Define schema v1
Register schema in CANDY Dev, Test, and Prod

Reference:

https://openid.net/specs/openid4vc-high-assurance-interoperability-profile-sd-jwt-vc-1_0.html#name-wallet-attestation-schema
https://candyscan.idlab.org/tx/CANDY_DEV/domain/33510

Proposed v1 schema:
{
  "attributes": [
    "issue_date_dateint",
    "validation_method",
    "wallet_version",
    "wallet_vendor",
    "wallet_version",
    "operating_system",
    "operating_system_version"
  ],
  "schema_name": "app_attestation",
  "schema_version": "1.0"
}

I've created a new Traction Dev instance and plumbed it to the CANdy-dev ledger and our deployed attestation controller. Once we agree on v1.0 of the schema (proposed above) we can publish it and this ticket can be closed.

Created: https://candyscan.idlab.org/tx/CANDY_DEV/domain/33557


SAK-50720 Lessons include full archive in CC

This is now ready for review and merging.

@adrianfish  - I agree that tons of this code could be re-written and cleaned up. I kind of shuddered when I used the cover.  But I really don't want to do that in this JIRA.  This JIRA is destined to go back to 23 and 21 and I worry that the more lines I change just for prettiness sake the harder that will be.  I am happy to clean this up in Sakai-25 once the patch makes it successfully back to -23 and -21 and ocne we do the more important work of cleaning up the archive and merge calls.
And if you want to clean things up by rewriting a bunch of code to be equivalent but more elegant code you should not limit this to the (as few as possible) files that I am changing for this as limited as possible in the name of easy back porting change.  So my tendency is to say no to most of this (except for spacing of course).
Over the past two weeks I have looked at a lot of cc / archive / merge code including the code in Site Info / Import from Archive Archive.  It is all complex and obtuse with very weird approaches and implementation patterns.  That is for example why this patch does not try to add this new feature to Site Info / Import from Archive.
I want to get archive and merge working well enough to get the data in and out of Sakai without a complete refactor and kick that large can of worms down the road.

I have copied all the comments to date into the JIRA.  I am about to rebase this and resolve the comments and start a new review thread.

SO I did a quick text back to 23.x and there were three conflicts - easy to resolve.


android illegal character

whenever i copy & paste code from here i get illegal character: U+200B

Hi @hiwa-jalal. There is probably somewhere an invisible character being added during copy/paste. Just write this code manually without copy/paste.


ERROR: write in button_down() returned -1

Hey there! Love the idea of this project, it would be extremely helpful to me and many others. After I calibrate my controller, I am greeted to a wall of error messages saying "ERROR: write in button_down() returned -1". I don't know whats happening. Would you mind helping me out?
Also, as a sidenote, it would be nice if you could clarify what you mean by "maxima" when calibrating the controller. I have no idea what it means. Thank you for making this project!

Hi, maxima is the plural of maximum, and I simply mean to tell you to move the control sticks to their maximum positions (i.e. turn them in a circle once slowly.)
For your actual problem I am a little puzzled. I just fixed a small thing in the error description, maybe you can pull or clone again and tell me if the error message changed?

I tried running it as root and it solved my problem. Thank you for the swift reply. I have made a pull request to modify the wording in the help and calibration prompts. Please look over it and merge if you approve of it.
Again, thank you so much for this project!

Ok cool thanks, I merged it and did another little refinement in the error output to inform people about the necessity of root.
I'm not certain why some people seem to need to run it as root, it's something within the kernel.


Metric&Peerstore

The purpose of this PR is to support metric, which provides for monitoring the flow of network traffic in and out of Swarm throughout.
Controller provides methods that we can get the data in metric.
Besides, peerstore can persist data to local storage. Default path is ./ds_addr_book.txt.

删除println!用log代替


proposal for different middleware dispatching flow

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Fixed issues

Inspired by laminas/laminas-stratigility middleware pipe.
It seems to me that there is an overhead with creating the whole handler-wrapped middleware stack before handling the request. Here next handlers are created right before they're passed to the middleware process(). I used SplStack just like SplQueue is used in laminas-stratigility, I don't know whether it is more effective than simple array, but looks little bit cleaner

Q	A
Is bugfix?
New feature?
Breaks BC?
Fixed issues
Inspired by laminas/laminas-stratigility middleware pipe.
It seems to me that there is an overhead with creating the whole handler-wrapped middleware stack before handling the request. Here next handlers are created right before they're passed to the middleware process(). I used SplStack just like SplQueue is used in laminas-stratigility, I don't know whether it is more effective than simple array, but looks little bit cleaner

What about working in a request loop? (Swool, Roadrunner, etc)

@yiiliveext Just looked from the perspective of swoole-like environments and realized that the current aproach is better there. So, may I leave only the MiddlewareDispatcherTest improvement for this proposal, checkouting everything else?

Yep. If that pass, feel free to leave it.

Left MiddlewareDispatcherTest additions only, all tests are passing

👍


Workspace sync doesn't include workspace (only vaults)

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[x] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
When running the command Dendron: Workspace: Sync, the vault git repositories are synced, but the workspace repository itself is not.
To Reproduce
Steps to reproduce the behavior:

Create a multi vault setup with at least 2 repos like:

workspace/.git
workspace/vault/.git

Edit some files inside a vault
Edit the dendron.code-workspace or dendron.yml file
Run Dendron: Workspace: Sync
Note that your changes in workspace/ have not been committed nor pushed

Expected behavior
I expect the workspace sync command to sync my workspace as well as my vaults.

Thank you for the issue.
The name Workspace: Sync is a bit misleading;
This is a command that Synchronizes all notes across all vaults with git., and is not a command that would sync the workspace itself.
Please take a look at https://wiki.dendron.so/notes/c4cf5519-f7c2-4a23-b93b-1c9a02880f6b/#workspace-sync
Do you think this should be support by this command? (or perhaps a separate command)? If so, let us know and we'll track it as a feature request rather than a bug. If the name is misleading, we can also discuss about making it clear.
it would be super awesome if you can amend this issue or create a separate one for a feature request, but otherwise we will be tracking them internally as such. Please let us know.

Are you using remote or local vaults? If all your vaults are remote, Workspace: Sync will only sync them but not the workspace itself. As a workaround, you can add a local vault (just keep it empty) and the sync should pick up the workspace files as well.

I'll be working on improving the sync this week, I'll make sure to consider how the workspace itself syncs too.

Are you using remote or local vaults? If all your vaults are remote, Workspace: Sync will only sync them but not the workspace itself. As a workaround, you can add a local vault (just keep it empty) and the sync should pick up the workspace files as well.

Yes I am. That workaround sounds great, I'll do that. Thanks.

Are you using remote or local vaults? If all your vaults are remote, Workspace: Sync will only sync them but not the workspace itself. As a workaround, you can add a local vault (just keep it empty) and the sync should pick up the workspace files as well.

Hmm, I just tried this, and it didn't work. I observed 2 things:

Adding a new local vault put that vault's name into the workspace .gitignore - that means my vault is unversioned. Is that a bug? If so I can file a new issue.
Even after I removed it from the .gitignore the sync command still did not sync my workspace (even though it now includes a local vault).

I tried making it from scratch and there seems to be a small trick to it:
// folder structure:

workspace/    // git@github.com:user/workspace-sync-test.git
  .git
  remote-vault/   // git@github.com:user/remote-vault-sync-test.git
    .git
  vault // local empty vault

# dendron.yml

workspace:
    vaults:
        - fsPath: vault
          sync: sync            <-- **this is the trick**
          name: vault

        - fsPath: remote-vault
          remote:
              type: git
              url: 'git@github.com:user/remote-vault-sync-test.git'
          name: remote-vault

You need to set sync: sync on the local vault. If sync value is not set, the workspace and the local vault files are not synced.
This is weird since sync: sync should be the default value for local vault, but it seems to be overrided by the workspaceVaultSyncMode setting which defaults to 'noCommit'. If you change that to sync, it also works without setting sync on the vault itself.
I'm not sure I'm getting this right, because as far as I understand workspace vaults are remote vaults that belong to a different workspace and why workspaceVaultSyncMode would affect syncing of local vaults and the local workspace files is unclear.
In any case, the above POC works.

You are understanding it correctly. workspaceVaultSync affects the local vault because the local vault is part of a workspace, so Dendron thinks it's a workspace vault.
What it instead should do I think is to skip over any local vaults, and separately also sync the workspace. This should also have its own configuration, something like workspaceSync.

Hi!
This solution
https://github.com/dendronhq/dendron/issues/2208#issuecomment-1017846603
is working
provided that
vault is added to the end block
in files
dendron.code-workspace
and
dendron.yml
(see below in Ref).
Ref:
workspace/dendron.code-workspace
{
    "folders": [
. . .
        },
        {
            "name": "test",
            "path": "test"
        },
        {
            "path": "vault"
        },
    ],
    "settings": {
        "dendron.rootDir": ".",
. . .

workspace/dendron.yml
workspace:
    dendronVersion: 0.74.0
    seeds:
        dendron.templates: {}
    vaults:
. . .
        -
            fsPath: test
            remote:
                type: git
                url: 'https://github.com/test/test.git'
            name: test
        -
            fsPath: vault
            sync: sync
    journal:
        dailyDomain: daily
        name: journal
        dateFormat: y.MM.dd
        addBehavior: childOfDomain
. . .

Another associated with this problem:
The remaining 35 repo in these files I have in order to sort the DESC (there was another problem at one time).
voothi.sense
voothi.relax
voothi.rebrain.python-docs
voothi.plan
voothi.place
voothi.people
voothi.org
voothi.kb
voothi.inbox
voothi.hobby
voothi.health
voothi.habit
voothi.fin
voothi.env
voothi.buy
voothi.business
voothi.books
voothi
. . .
vault

@aleksey-rowan Awesome, thanks for that.
Did you also need to remove your local vault from the .gitignore? My newly created vault was automatically added to the workspace .gitignore which seems odd, I'd assume that only remote vaults would be excluded from the workspace git repo.

Hi, @chmac!

@aleksey-rowan Awesome, thanks for that.
Did you also need to remove your local vault from the .gitignore? My newly created vault was automatically added to the workspace .gitignore which seems odd, I'd assume that only remote vaults would be excluded from the workspace git repo.

New vault named vault will be added to .gitignore file as separate new line with the vault name.
 Yet this means my new vault is not tracked in any git repo. That seems like a mistake to me. Adding a local vault suggests to me that it would always be part of the workspace git repo, but that's obviously not what's happening. My question is why? Or rather, does this make sense, or is it a bug?

@chmac I don't have my local vault in the .gitignore, but I never had to remove it from there either. When you initialize a new workspace, the default local vault is never added to .gitignore. When you create a new local vault, Dendron will add it to the .gitignore for some reasons.
I had this exact comment in my dendron.issues note for several months now :) just never got to posting it as a bug:

when a new Vault is added, it's being added to gitignore

Could you please make a new issue about this .gitignore behaviour (link here as well)? I do agree with you that it looks like a bug.

New local vaults should be included in the workspace's git. That's why they're local and not remote!
hmm, you're right. the idea is that your workspace should be versioned separately from the vaults (the mental model is one vault per repo) which is why its added to .gitignore.
the workspace/vault distinction has been a major point of confusion which is why we're working on doing away with workspaces altogether in february.
in the future (NOTE: details not finalized yet so subject to change)
/your-vault
  - dendron.yml
  - /vault: contents of your current vault
  - /seeds: other vaults this current vault depends on

You can think of other vaults like node_modules or any equivalent dependency folder, they shouldn't be included in the commit history of your top level vault since they're distinct entities.
That being said, if you never intend to publish your vaults, it seems unecessary to have to create a separate git repo for them. so in the future, seeds will be added to .gitignore instead of individual vaults
Maybe for local vaults, we can have something like the following?
/your-vault
  - dendron.yml
  - /vault: contents of your current vault
  - /seeds: other vaults this current vault depends on
  - /local-seedds: other vaults that are part of this vault and should be version controlled

adding @SeriousBug for visibility since he will be doing the design for the upcoming workspace change


Normalize multiline string spec test names.

Currently, when defining a test in a StringSpec with multiple lines, it cannot be run by clicking the icon next to it. For example:
class MyTests : StringSpec({

    """This test name is spread
        over multiple lines withe indentation.
    """ {
        true shouldBe true
    }
})

The output when hitting the run single test icon:
... io.kotest.engine.launcher.MainKt --spec MyTests --testpath This test name is spread
        over multiple lines withe indentation.
     --reporter teamcity
Testing started at 10:51 ...

Process finished with exit code 0

This test name is spread over multiple lines withe indentation. is excluded by test filter(s): Excluded by test path filter: 'This test name is spread
        over multiple lines withe indentation.
    '

Replacing all consecutive white space in the name by a single space fixes the issue.

... io.kotest.engine.launcher.MainKt --spec com.bloomlife.lib.athena.MyTests --testpath This test name is spread over multiple lines withe indentation.  --reporter teamcity
Testing started at 10:54 ...
Process finished with exit code 0

I believe this would solve #255 as well.. need to verify it.

Any news ?

That's not really nice. I take the time to submit a PR that fixes an issue. Nobody reacts, which I can understand, we are all busy, but then it's closed automatically. Come on...

Just the stale bot. Reopened.

@canatella if you build this locally and install it, can you confirm you can then run multi-line tests from intellij?
I think we need to check as well that if you have a test with double spaces deliberately, it still works, because you're matching on \s+ rather than \n say.

@sksamuel I'm trying to add a unit test, but it seems I can't run them. What is the proper way to run the tests ? I'm using
PRODUCT_NAME=IC-233 ./gradlew check -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"

But I have
java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.intellij.testFramework.TestLoggerFactory$TestLoggerAssertionError: Index data initialization failed

That seems to be an issue with any of the 23x builds. I test locally against 22x.


(documentation) FAQ for Installation Guides (options 1 and 2)

Which are the different methods?
How do they work?
Which method is better to me?
which projects are built when using docker?
which projects and when you need to manually build?
which projects and when you need to manually start?
which config files make sense to change on each method?

@Thanaphat-Kalaya changed title as per yor suggestion