No 'Copy Conflict' dialog pops up when pasting an exist folder

Storage Explorer Version: 1.10.1
Build: 20191015.4
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 19.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Previous release
Steps to reproduce:

Expand a non-ADLS Gen2 account -> Blob Containers.
Create a new blob container -> Upload a folder with files to it.
Copy the folder and paste it to this blob container.
Check the result.

Expect Experience:
Pop up a 'Copy Conflict' dialog.

Actual Experience:
No 'Copy Conflict' dialog pops up.

More Info:

This issue doesn't reproduce for files.
The pasted folder appears in the original folder.

@v-limu Not sure I understand this bug. Can you be more precise in your repro steps, please? Tell me exactly what folders you create and where, what buttons you click, etc.

The blobs are pasted to the wrong location, right? The conflict resolution should work fine.

Needs to publish a new package for the fix.

This issue has been fixed on build 20191021.2. So we close it.


$state.target('login') Not working

This is a (check one box):

[x] Bug Report
[ ] Feature Request
[ ] General Query

My version of UI-Router is: 1.0.13
Bug Report
Current Behavior:
When issuing $state.target('login'), it isn't redirecting. I have enabled debugging and here is the output:

Transition #0-0: <- Success  "Transition#0( ''{} -> '/c'{} )", final state: /c

If I used $state.go('login') everything works fine, but there is an error: "The transition has been superseded by a different transition"
Expected Behavior:
It should redirect to 'login'

How do I differentiate it from a real error, say a resolve being rejected?


[padinfo] ^id3 disambig screen

overview tab has a list of the cards (up to 10 best matches)
reactions are home screen plus 0-(up to 9)
home screen goes back to  home
0 - 9 goes to each of the monsters
when you click on a monster, it adds :eyes: and see #175

I turned this into a wiki page: https://github.com/TsubakiBotPad/pad-cogs/wiki/Disambig-Screen


Use flag icons instead of emoji flags

Fixes country flags being shown as letters when available font does not support actual emoji flags, as described in issue #44.
Fixed by using svg flags from flag-icon-css library instead of emojis.

Flags with white at the edges might be a little unclear, if this is undesired we could fix this by adding a slight border around the flags like this:

I like this! Windows users will no longer be missing out :)


Update issue templates

test

I like this! For which one do you think?  or for both @egweber2

Does this still leave notifications?


musl support

Todo:

[ ] Add Github Tests (musl-tools package)
[ ] CI musl openssl build

this looks fine to me ... but ...
given that Cmake is going in and Makefile is going out,
is it worth fixing it ?

Close this for now, until i have time to take up the task again and test with CMake and openssl.
Keep musl support on the roadmap https://github.com/baresip/re/projects/1#card-70895346


feat: Integrate e2b.

Description
Integrate the e2b interpreter into camel. https://github.com/e2b-dev/
Motivation and Context
close #1245

[x] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
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)
[x] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[ ] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

Thanks @willshang76 , for the dependency issue, PR raised here: https://github.com/AgentOps-AI/agentops/pull/556

What is e2d in the poetry?

What is e2d in the poetry?

e2b-code-interpreter

There is a e2d as well. I think it is a typo

There is a e2d as well. I think it is a typo

The e2b-code-interpreter package actually depends on the e2b package. When I did poetry add e2b-code-interpreter; it also gets the e2b.

It is e2d not e2b
On Thu 12. Dec 2024 at 15:39, Will Shang @.***> wrote:

There is a e2d as well. I think it is a typo
The e2b-code-interpreter package actually depends on the e2b package. When
I did poetry add e2b-code-interpreter; it also gets the e2b.
—
Reply to this email directly, view it on GitHub
https://github.com/camel-ai/camel/pull/1284#issuecomment-2538031232, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFUJTYB7FSFQPJM2MUADFTD2FE4UZAVCNFSM6AAAAABTDTNKJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZYGAZTCMRTGI
.
You are receiving this because you commented.Message ID:
@.***>


Uranium Mining Facility has 10 module slots

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[X] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?

Maybe this is intentional, but just in case.
At some point it also used to take both mining fluid (gasoline) and drill heads, and now requires neither.  Again, maybe intentional.
(That many slots in a miner could only mean nuclear digosaurs are on the horizon, right?...)
Steps to reproduce
No response
Additional context
No response
Log file
No response

Adding to the intrigue, the basic Uranium Mining Drill currently has 6 slots.

This is intentional in order to balance their high power cost and provide some variety.


Improve assembly generated for interrupt counter in executor dispatch loop

Making the interrupt decision based on the updated value (rather than old value) seems to work better on at least x86/x64.
Tasks:

[ ] Change interrupt counter mechanism in executor
[ ] Fix counter init locations, hide the init behind a macro for further tweaks
[ ] Test interrupt fixup handling, i.e. accurate counting
[ ] Releases entry

No measurable impact, closing as unmerged.


Permission error

Release 2.0 gives an permission error for creating .local.
When installing 1.20 there was no issue.
Home Assistant docker version

please try the newest version and create a new issue if necessary


Error converting Tensorflow saved model to TFLite

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS Catalina 10.15.6
TensorFlow installed from (source or binary): pip install tensorflow (command line)
TensorFlow version (or github SHA if from source): 2.3.0

Command used to run the converter or code if you’re using the Python API
If possible, please share a link to Colab/Jupyter/any notebook.
# Copy and paste here the exact command
converter = tf.lite.TFLiteConverter.from_saved_model("tf_proximity_saved_model")  # "tf_proximity_saved_model" is the name of my model

**The output from the converter invocation**

Copy and paste the output here.
error: failed while converting: 'main': Ops that can be supported by the flex runtime (enabled via setting the -emit-select-tf-ops flag):
tf.Cast {Truncate = false, device = ""}
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/tensorflow/lite/python/convert.py", line 199, in toco_convert_protos
enable_mlir_converter)
File "/usr/local/lib/python3.6/site-packages/tensorflow/lite/python/wrap_toco.py", line 38, in wrapped_toco_convert
enable_mlir_converter)
Exception: :0: error: loc(fused["sequential/Cast@__inference__wrapped_model_40145", "StatefulPartitionedCall/sequential/Cast"]): 'tf.Cast' op is neither a custom op nor a flex op
:0: note: loc(fused["sequential/Cast@__inference__wrapped_model_40145", "StatefulPartitionedCall/sequential/Cast"]): see current operation: %0 = "tf.Cast"(%arg0) {Truncate = false, device = ""} : (tensor<?x1xf64>) -> tensor<?x1xf32>
:0: error: failed while converting: 'main': Ops that can be supported by the flex runtime (enabled via setting the -emit-select-tf-ops flag):
tf.Cast {Truncate = false, device = ""}
:0: note: see current operation: "func"() ( {
^bb0(%arg0: tensor<?x1xf64>): // no predecessors
%cst = "std.constant"() {value = dense<[0.136683047, 0.000000e+00, -1.8840152, 0.000000e+00, 0.000000e+00, 0.000000e+00, 3.257740e-01, 0.000000e+00, 0.000000e+00, 0.000000e+00]> : tensor<10xf32>} : () -> tensor<10xf32>
%cst_0 = "std.constant"() {value = dense<[0.000000e+00, 1.69775057, 0.000000e+00, 0.000000e+00, -0.638654768, -1.93405676, -1.95157754, -0.0406359173, 1.72332501, -1.7537955]> : tensor<10xf32>} : () -> tensor<10xf32>
%cst_1 = "std.constant"() {value = dense<1.7260325> : tensor<1xf32>} : () -> tensor<1xf32>
%cst_2 = "std.constant"() {value = dense<[[0.00675311219], [0.341173232], [-0.481861204], [0.701621353], [0.0275682211], [0.0613476038], [-0.44652465], [0.166085422], [0.189539731], [0.020105958]]> : tensor<10x1xf32>} : () -> tensor<10x1xf32>
%cst_3 = "std.constant"() {value = dense<[[0.29277724, 0.295953631, 0.205961823, 0.338899374, 0.49851656, -0.437764347, -0.505791903, 0.403120697, 0.0529763699, -0.417837113], [-0.445695817, -0.361287892, 0.101978905, -0.418562263, 0.0107798576, 0.0221389532, 0.220730424, 4.990560e-02, -0.208217949, -0.172240525], [0.0161076784, -0.396935463, -0.530536652, -0.379159153, -0.44315511, 0.213063776, -0.0682218968, -0.221574157, -0.0774391591, -0.472134769], [0.288429618, -0.0110605955, -0.490244329, 0.494588017, 0.330006599, 0.54180479, -0.499053359, 0.0791082978, -0.524112284, -0.0557569563], [-0.546745062, -4.394100e-01, 0.459474474, -0.248545527, 0.0341958404, -0.320446074, -0.368350893, 0.00832664966, -0.0379120708, -0.451237142], [-0.266778737, 0.49375844, -1.604300e-01, -0.315872908, 0.163485587, 0.116762996, 0.266193658, -0.30224967, 0.105117381, -0.534985602], [-0.263971537, -0.0919606983, -0.281746626, -0.310481608, -0.222500026, -0.0813589692, 0.382073581, 0.154834032, -0.285841495, -0.547358394], [0.459437639, 0.0883420109, -0.0378421694, 0.256017208, 0.206906617, -0.461118042, -0.0286277644, -0.377283901, 0.478136897, -0.519345164], [0.513453424, -0.12144509, -0.134186059, -0.39923197, -0.395939708, -0.34776777, 0.461619705, -0.185738802, -0.495007396, -0.359370708], [0.33326897, -0.100557774, 0.382778198, 0.0325809717, 0.231879592, -0.251019359, 0.165992916, -0.542559922, 0.0710098147, -0.00225681067]]> : tensor<10x10xf32>} : () -> tensor<10x10xf32>
%cst_4 = "std.constant"() {value = dense<[[-6.715610e-01, 0.230374008, -0.0477389693, 0.28339678, -0.580778599, -1.10261536, -0.777723848, -0.451123297, 0.602046907, -0.688027441]]> : tensor<1x10xf32>} : () -> tensor<1x10xf32>
%0 = "tf.Cast"(%arg0) {Truncate = false, device = ""} : (tensor<?x1xf64>) -> tensor<?x1xf32>
%1 = "tfl.fully_connected"(%0, %cst_2, %cst) {fused_activation_function = "RELU", keep_num_dims = false, weights_format = "DEFAULT"} : (tensor<?x1xf32>, tensor<10x1xf32>, tensor<10xf32>) -> tensor<?x10xf32>
%2 = "tfl.fully_connected"(%1, %cst_3, %cst_0) {fused_activation_function = "RELU", keep_num_dims = false, weights_format = "DEFAULT"} : (tensor<?x10xf32>, tensor<10x10xf32>, tensor<10xf32>) -> tensor<?x10xf32>
%3 = "tfl.fully_connected"(%2, %cst_4, %cst_1) {fused_activation_function = "NONE", keep_num_dims = false, weights_format = "DEFAULT"} : (tensor<?x10xf32>, tensor<1x10xf32>, tensor<1xf32>) -> tensor<?x1xf32>
"std.return"(%3) : (tensor<?x1xf32>) -> ()
}) {sym_name = "main", tf.entry_function = {control_outputs = "", inputs = "dense_input", outputs = "Identity"}, type = (tensor<?x1xf64>) -> tensor<?x1xf32>} : () -> ()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "prox_data_learn.py", line 156, in
tflite_model = converter.convert()
File "/usr/local/lib/python3.6/site-packages/tensorflow/lite/python/lite.py", line 1076, in convert
return super(TFLiteConverterV2, self).convert()
File "/usr/local/lib/python3.6/site-packages/tensorflow/lite/python/lite.py", line 900, in convert
self).convert(graph_def, input_tensors, output_tensors)
File "/usr/local/lib/python3.6/site-packages/tensorflow/lite/python/lite.py", line 633, in convert
**converter_kwargs)
File "/usr/local/lib/python3.6/site-packages/tensorflow/lite/python/convert.py", line 574, in toco_convert_impl
enable_mlir_converter=enable_mlir_converter)
File "/usr/local/lib/python3.6/site-packages/tensorflow/lite/python/convert.py", line 202, in toco_convert_protos
raise ConverterError(str(e))
tensorflow.lite.python.convert.ConverterError: :0: error: loc(fused["sequential/Cast@__inference__wrapped_model_40145", "StatefulPartitionedCall/sequential/Cast"]): 'tf.Cast' op is neither a custom op nor a flex op
:0: note: loc(fused["sequential/Cast@__inference__wrapped_model_40145", "StatefulPartitionedCall/sequential/Cast"]): see current operation: %0 = "tf.Cast"(%arg0) {Truncate = false, device = ""} : (tensor<?x1xf64>) -> tensor<?x1xf32>
:0: error: failed while converting: 'main': Ops that can be supported by the flex runtime (enabled via setting the -emit-select-tf-ops flag):
tf.Cast {Truncate = false, device = ""}
:0: note: see current operation: "func"() ( {
^bb0(%arg0: tensor<?x1xf64>): // no predecessors
%cst = "std.constant"() {value = dense<[0.136683047, 0.000000e+00, -1.8840152, 0.000000e+00, 0.000000e+00, 0.000000e+00, 3.257740e-01, 0.000000e+00, 0.000000e+00, 0.000000e+00]> : tensor<10xf32>} : () -> tensor<10xf32>
%cst_0 = "std.constant"() {value = dense<[0.000000e+00, 1.69775057, 0.000000e+00, 0.000000e+00, -0.638654768, -1.93405676, -1.95157754, -0.0406359173, 1.72332501, -1.7537955]> : tensor<10xf32>} : () -> tensor<10xf32>
%cst_1 = "std.constant"() {value = dense<1.7260325> : tensor<1xf32>} : () -> tensor<1xf32>
%cst_2 = "std.constant"() {value = dense<[[0.00675311219], [0.341173232], [-0.481861204], [0.701621353], [0.0275682211], [0.0613476038], [-0.44652465], [0.166085422], [0.189539731], [0.020105958]]> : tensor<10x1xf32>} : () -> tensor<10x1xf32>
%cst_3 = "std.constant"() {value = dense<[[0.29277724, 0.295953631, 0.205961823, 0.338899374, 0.49851656, -0.437764347, -0.505791903, 0.403120697, 0.0529763699, -0.417837113], [-0.445695817, -0.361287892, 0.101978905, -0.418562263, 0.0107798576, 0.0221389532, 0.220730424, 4.990560e-02, -0.208217949, -0.172240525], [0.0161076784, -0.396935463, -0.530536652, -0.379159153, -0.44315511, 0.213063776, -0.0682218968, -0.221574157, -0.0774391591, -0.472134769], [0.288429618, -0.0110605955, -0.490244329, 0.494588017, 0.330006599, 0.54180479, -0.499053359, 0.0791082978, -0.524112284, -0.0557569563], [-0.546745062, -4.394100e-01, 0.459474474, -0.248545527, 0.0341958404, -0.320446074, -0.368350893, 0.00832664966, -0.0379120708, -0.451237142], [-0.266778737, 0.49375844, -1.604300e-01, -0.315872908, 0.163485587, 0.116762996, 0.266193658, -0.30224967, 0.105117381, -0.534985602], [-0.263971537, -0.0919606983, -0.281746626, -0.310481608, -0.222500026, -0.0813589692, 0.382073581, 0.154834032, -0.285841495, -0.547358394], [0.459437639, 0.0883420109, -0.0378421694, 0.256017208, 0.206906617, -0.461118042, -0.0286277644, -0.377283901, 0.478136897, -0.519345164], [0.513453424, -0.12144509, -0.134186059, -0.39923197, -0.395939708, -0.34776777, 0.461619705, -0.185738802, -0.495007396, -0.359370708], [0.33326897, -0.100557774, 0.382778198, 0.0325809717, 0.231879592, -0.251019359, 0.165992916, -0.542559922, 0.0710098147, -0.00225681067]]> : tensor<10x10xf32>} : () -> tensor<10x10xf32>
%cst_4 = "std.constant"() {value = dense<[[-6.715610e-01, 0.230374008, -0.0477389693, 0.28339678, -0.580778599, -1.10261536, -0.777723848, -0.451123297, 0.602046907, -0.688027441]]> : tensor<1x10xf32>} : () -> tensor<1x10xf32>
%0 = "tf.Cast"(%arg0) {Truncate = false, device = ""} : (tensor<?x1xf64>) -> tensor<?x1xf32>
%1 = "tfl.fully_connected"(%0, %cst_2, %cst) {fused_activation_function = "RELU", keep_num_dims = false, weights_format = "DEFAULT"} : (tensor<?x1xf32>, tensor<10x1xf32>, tensor<10xf32>) -> tensor<?x10xf32>
%2 = "tfl.fully_connected"(%1, %cst_3, %cst_0) {fused_activation_function = "RELU", keep_num_dims = false, weights_format = "DEFAULT"} : (tensor<?x10xf32>, tensor<10x10xf32>, tensor<10xf32>) -> tensor<?x10xf32>
%3 = "tfl.fully_connected"(%2, %cst_4, %cst_1) {fused_activation_function = "NONE", keep_num_dims = false, weights_format = "DEFAULT"} : (tensor<?x10xf32>, tensor<1x10xf32>, tensor<1xf32>) -> tensor<?x1xf32>
"std.return"(%3) : (tensor<?x1xf32>) -> ()
}) {sym_name = "main", tf.entry_function = {control_outputs = "", inputs = "dense_input", outputs = "Identity"}, type = (tensor<?x1xf64>) -> tensor<?x1xf32>} : () -> ()
Also, please include a link to the saved model or GraphDef
# Put link here or attach to the issue.
https://drive.google.com/file/d/1U59Z_Z4ZH4tGn2dTpvB5tm4t0NujUfTz/view?usp=sharing

**Failure details**
If the conversion is successful, but the generated model is wrong,
state what is wrong:
- Producing wrong results and/or decrease in accuracy
- Producing correct results, but the model is slower than expected (model generated from old converter)

**RNN conversion support**
If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title.

**Any other info / logs**

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@kmassa23
Can you please try adding the following code and and let us know if the issue still persists.
converter.target_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
converter.allow_custom_ops=True
converter.experimental_new_converter =True
tflite_model = converter.convert()

Please, try with nightly version as well. Thanks!


TouchView

I create a simple interpolation between 2 views, but in the first view i have one Button, i need this button can be touched in second view.
I try to set secondView userInteractionEnabled, but have no effect, any idea?
Thank you

Hi there @ferbass.
This issue has appeared in #13, and I believe I provided a neat workaround (I can't really verify it since I got no answer from @hsavit1).

Hi @DavdRoman, this way works great for me
Thank you


Date Picker module

As a Developer
I want to have a consistently formatted date picker module
so that  I can reuse it across the app
Acceptance criteria:

commit to feature branch
documentation complete
testing complete
Review by 2 team members
....

Some time later this comment may be added.
This date picker may also be useful in Project Y so let's take this out of the project and make it a component available across the organization. Add it to the OrgName repo.

some time later another person may comment.
This works. Let's confirm the change and make the move.


Not run in firefox

The plugin not run in firefox

Hi there,
I'm afraid that this isn't solved.  I'm using your plugin for a clock timer that I'm developing.  It works perfect in Chrome but not in IE11 or FireFox.  Could you have a look when you've got a moment.
Thanks you :-)

@harpsicord86, you should have another problem.


Help running multiple instances, please

I have a working UDP instance up and running well which I'd like to keep. I'd like to add a TCP instance so I can use obfsproxy, while allowing clients in both instances to communicate between each other. How can I achieve this?
Should I try running two instances of OpenVPN within the same container? Or run two separate containers? I see #179 suggests I can share the keys and use an alternate .conf file. But if I run 2 separate containers, how can I get the clients to speak to each other? Same question if running two instances in the same container.
Thanks in advance for any help!
Aha, I've just read the Running a Second Fallback TCP Container section. Perhaps this is all I need.

https://github.com/kylemanna/docker-openvpn/blob/master/docs/tcp.md is the way to go.
For me client to client communication between tcp and udp does not seem to work. I don't know if there is a solution for this issue.


Model distillation use-case

Hi team!
Fantastic work so far; I genuinely enjoy working with this repository.
I have a question regarding the distillation use case. Lets say for every transformer block, I generate an internal _distillation_loss.
In a non FSDP world, I would traverse through the model with model.named_modules and gather all my internal losses before adding them to my objective loss in my training loop. Would this still be the case in FSDP?

Hi @ScottHoang thanks for creating the issue. Distillation is actually something we're currently looking into, so this is a timely question. How is the distillation loss calculated exactly? One naive suggestion is to just return all the hidden states of the transformer, then use those to calculate the loss in the same place you do the usual cross-entropy. In that case I feel like the necessary changes to how the model is sharded vs usual SFT would be relatively minimal (since you don't have to worry about going into each layer and manually gathering the loss). I may be oversimplifying things though, if you can tell me a bit more about the loss and training setup I can give more detailed suggestions.

hi @ebsmothers thank you for responding.
In my use-case I am actively reducing x number of layers of Y.
so something like
Input -> L1 -> L2 -> L3 -> L4 -> output
with
Input -> L1 -> M -> L4 -> output
I am trying to match the output of M with -L2->L3.
I want to do it internally so I don't have to keep a copy of the intermediate activations, hence looping through the model's modules.
Would this setting still works in FSDP?

Hi @ScottHoang thanks for the additional info. Are you calling backward multiple times then (e.g. once on each loss)? I assume you would need to do this to free the activations. Also if activation memory is a concern can you just recompute on the backward? This would be another way to save much of that memory (albeit at the cost of some perf) that should work with FSDP


[GUI] User created via GUI is always from the admin tenant

Steps to reproduce the problem:

Log in with user of "teste" tenant

Create a user

User was created in the admin tenant  and not in the teste tenant

Affected Version: 61.1-20190423

Test OK.

user bete belongs to tenant teste

user a1 added by bete

auth_1                        | [04/06/19 - 18:21:49] |RelationshipController| INFO: user a1 added to group user by bete
auth_1                        | [04/06/19 - 18:21:49] |CRUDController| DEBUG: ... user profile was configured.
auth_1                        | [04/06/19 - 18:21:49] |CRUDController| DEBUG: Configuring user password...
auth_1                        | [04/06/19 - 18:21:49] |CRUDController| DEBUG: ... user password was configured.
auth_1                        | [04/06/19 - 18:21:49] |CRUDController| DEBUG: Sending tenant creation message to other components...
auth_1                        | [04/06/19 - 18:21:49] |CRUDController| DEBUG: ... tenant creation message was sent.
auth_1                        | [04/06/19 - 18:21:49] |webRoutes| DEBUG: ... user data was inserted into the database.
auth_1                        | [04/06/19 - 18:21:49] |webRoutes| DEBUG: ... new user was created.
auth_1                        | [04/06/19 - 18:22:44] |AuthenticationController| INFO: user a1 loged in

Tested on Version: 62.3-20190603


Kulfy: Watch talkwidtech.com

Kulfy requests the watch of the watch_keyword talkwidtech\.com. See the MS search here and the Stack Exchange search here.

talkwidtech\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Udpate ksm

Description

Type of change

[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] New feature / enhancement (non-breaking change which adds functionality)
[x] Security fix
[ ] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] Add changelog entry following the contributing guide
[ ] Documentation has been updated
[ ] This change requires changes in testing:

[ ] unit tests
[ ] E2E tests

You could update the KSM version in datagen to 2.13.0, but it's not strictly necessary since the e2e tests still run the same either way
https://github.com/newrelic/nri-kubernetes/blob/main/internal/testutil/datagen/datagen.sh#L59


How can i see list of category? error 404

When I click sidebar's CATEGORIES>Blogging(or Demo or Tutorial), it occurres 404 error page.
(with copy of jekyll-theme-chirpy repo.)
how can i fix it?

I have this same issue..

Does someone solved it? I followed the readme and also getting 404 page


Make sure files have the suffix .jpg when their format is JPEG

This is my solution to #407. It works for me, but it may be incomplete or unclean.

Thanks. I need to have a careful look at this, since - as you noticed - the media class does not distinguish the input and output extensions. I also have a local branch with commits, but this is a bit of a mess and I didn't have time to make progress.

@hjbaader - I finally found some time to look at this and ended up doing a lot more changes to better separate inputs and outputs:  #421. Thanks anyway for your contribution!


Tab crash when server returns HTTP 502 in combo with urlLoader

Subject of the issue
When using urlLoader, if the server which the translations are located at returns HTTP 502, the application memory balloons in size and CPU usage until eventually crashing the tab the page is loaded in. This occurs in all browsers and can be avoided simply by removing the $translateProvider.useUrlLoader line.
Your environment

angular-translate version 2.9.0
angular version 1.3.0
Chrome 48, though the issue may also occur in Firefox Dev Edition, Firefox and IE9 through 11 (a.k.a, all our test environments), so I'm going to assume the problem isn't tied to a specific browser.

Steps to reproduce
I cannot provide a plunkr as there's no easy way to replicate a server 502. Our set up is as follows:
    $translateProvider.preferredLanguage('en-gb')
    $translateProvider.fallbackLanguage('en-gb')
    $translateProvider.useSanitizeValueStrategy('escape')
    $translateProvider.useUrlLoader('/api/Localisation/GetTranslationsByLanguage')

We have all urls that start with /api being proxied to a separate web server via settings specified on the IIS server that hosts the static files (though this also occurs with a local dev server using webpack-dev-server). When that server is unreachable and thus returns a 502 http code, the url loader causes the tab to spiral rapidly out of control in terms of memory and CPU usage, eventually leading to the crashing of the tab.
Removing the useUrlLoader line prevents this issue. In both cases the server error is recorded in the Network tab of Chrome, however it is only in the second one that the app yields control back to the browser (so that other things may fail :grin:). We have no interceptors set up for HTTP 502 responses (only 401 and 403), though there is a rule with $urlRouteProvider that will redirect users to /404 if the route they have found is not recognised (though the route we are visiting definitely exists).
This is a fairly large app with lots of translate directives, which may have something to do with it.
Expected behaviour
I would expect angular-translate to fail fast and inform me that there was an error getting the translations.
Actual behaviour
It would appear some kind of cyclic loop occurs which ends up killing the tab..

Are you really using an Angular 1.3.0 as a baseline?

@tspaeth Not a requirement we can move away from, unfortunately. It is decided by issues outside of my control. I am gradually upgrading Angular as I go along - when I joined this project a year ago, it was still on 1.2.26.
Some rather critical components rely on older versions of Angular. :(

Why is this an issue for angular-translate?
We have a simple XHR setup which will either result into a success (200) or error (4xx, 5xx). So neither is an issue for 502 only (but must be also 404 for example which is presumably better for tests), nor this is a specific library.

@knalli  I've raised it with angular-translate simply because by removing the url loader line, the issue goes away. It seemed rather instinctive to therefore place blame on angular-translate - especially as the rest of the app works fine without that specific line.

But, honestly, try with the latest angularjs from the 1.3 stream. If the error still stays and has some relationship to angular-translate - ok. But otherwise, it's digging in the dirt of some angular-stuff.
And for test / issue replication, it is always a basic to use the latest version of the core framework...

Are you really using an Angular 1.3.0 as a baseline?

Actually, that should/must be not relevant in case for us. If this really blows up, it must be something in AJS internally.
However (!), I would recommend a working demo. Until now that is guessing only.
I'm quite sure that an 502 will not be handled in other way as a 404. Or 403...

I gave it a whack with Angular 1.5 and it appears that the issue is somewhere in our code, and it's just something to do with angular-translate that is masking that issue when we enable the url loader.
Thank you for the quick responses.

Okay @danpantry
I want to add: Given the simplicity of the url loader, there is not much space for such memory consumption, i.e. we don't make any retries. Without knowing details, I personally would assume something internally in AJS (if this is the core issue after all).

@knalli  I agree, I did give a look of the package before posting here and I saw nothing untoward either.


change color icons

I wanted to change some icons, that works just fine the only thing is that now there are white, and I'm trying to put the colors, but they don't change, am I doing it right ?
require'nvim-web-devicons'.setup{

    override = {
        go = {
            icon = " ",
            color = "#00ADD8"
        },
        css = {
            icon = "",
            color = "#3261A6"
        },
        sh = {
            icon = "",
            color = "#2B3F5D"
        },
        html = {
            icon = "",
            color = "#DD6C3D",
        }
    }
}

I also tried this in my init.lua, the icon change work but the color doesn't
local nvim_web_devicons = require "nvim-web-devicons"

local current_icons = nvim_web_devicons.get_icons()
local new_icons = {}

for key, icon in pairs(current_icons) do
    icon.color = "#ff0088"
    icon.cterm_color = 198
    new_icons[key] = icon
end

nvim_web_devicons.set_icon(new_icons)

Do you have &termguicolors set?
You can use cterm-color if you don't use it.
https://github.com/nvim-tree/nvim-web-devicons/blob/05e1072f63f6c194ac6e867b567e6b437d3d4622/lua/nvim-web-devicons.lua#L168

Do you have &termguicolors set?
You can use cterm-color if you don't use it.
https://github.com/nvim-tree/nvim-web-devicons/blob/05e1072f63f6c194ac6e867b567e6b437d3d4622/lua/nvim-web-devicons.lua#L168

Yes, I have set it to true,
vim.opt.termguicolors = true

Which plugin are you using? It will need to actually set the colours.
Please try https://github.com/nvim-tree/nvim-tree.lua which explicitly sets icon colours.

I use that plugging, but my issue was resolved, I edited directly the source file, didn't find another way.


Intermittent local failures in MemoryMappedFileTest>>#testMaximumSize

When I re-run it the test often (but not always) passes. Any suggestions on how to make this test more consistent or provide evidence to help debug?

Yes, I have seen this problem intermittently. I think the parts of the test that are checking that unmapping takes effect are unreliable, or there is a bug and the file is not actually unmapped successfully so the memory remains accessible. I don't think it is the latter because the test initializes the memory to a certain pattern that is not then present. My theory is that due to object memory or process stack allocations that the just-released 64kb page gets reallocated.
It would be reasonable to move it to the known failing tests package for now and then leave this issue open to track fixing it. I'm about to push some stuff, so I'll do that.

Fixed - the assertions that reading/writing off the end of the allocated space would cause access violations were invalid. It could always be the case that some other memory had been mapped at these locations, and this seems to occur commonly when the tests are launched manually as part of a run of all tests in the test runner. Subsequently debugging the test individually then usually passed. Anyway the offending assertions are removed, and the test reinstated.


poll_read() returns futures::poll::Async which is a private type?

src/socket_stream.rs:25:32: 25:53 error: mismatched types [E0308]
src/socket_stream.rs:25         let ready: Async<()> = self.read.poll_read();
                                                       ^~~~~~~~~~~~~~~~~~~~~
src/socket_stream.rs:25:32: 25:53 help: run `rustc --explain E0308` to see a detailed explanation
src/socket_stream.rs:25:32: 25:53 note: expected type `futures::Async<()>`
src/socket_stream.rs:25:32: 25:53 note:    found type `futures::poll::Async<()>`

My file contains a use futures::Async declaration, and I was having trouble pattern matching the ready variable like this:
match ready {
  Async::Ready(_) => ...
  Async::NotReady => ...
}

it turns out that for some reason (related to this maybe? http://alexcrichton.com/futures-rs/src/futures/src/poll.rs.html#24) that the type returned here is futures::poll::Async. I tried changing the type to use futures::poll::Async; but that resulted in
src/socket_stream.rs:5:5: 5:25 error: module `poll` is private

Is this the correct usage?
As a work around I'm using if ready.is_ready(), but I think the match might be preferable?

Hmm, something is amiss with that error. In particular, futures::Async is just a public re-export of futures::poll::Async, so a mismatch between then shouldn't be possible...
Any chance you can make a small example that reproduces the problem, or otherwise put up the code somewhere?

this turned out to be an issue with pulling both tokio and futures from github, changing futures to 0.1 in my Cargo.toml fixed this.


[JS] Topic: Documentation for difference between const, var and let #395

Description 📜
Added difference between const var and let
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # <395>

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev (HTML, CSS, JS)
[ ] Frontend Dev (React, Angular, Vue)
[ ] Golang
[ ] Interview Prep
[ ] Java
[x ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python
[ ] Rust
[ ] Statistics
[ ] UI/UX

Checklist ✅

[ ] I follow Contributing Guidelines & Code of conduct of this project.
[ ] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generates no new warnings.
[ ] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@ShubhamGupta-29 Please always branch out of the Javascript branch, not the main branch!

@Creatoon @dakshsethi @s4-2 Please review.

@ShubhamGupta-29  Please in description mention the issue number correctly as Fixes #395


After 1.6 upgrade it will no longer allow both test and live keys.

I tried uninstalling and reinstalling the module but it will not allow both test and live keys to be added at same time.
The only thing that saves is the test keys, so in order to even get the live keys to show up under live, I need to put them in test, and then it saves them under the live lines.
Was working perfectly until upgrade, and the previous version still works as normal.

I suggest you remove all module files, upload the 1.6 binary and try again. I can't reproduce it here...

I forgot to say there's no need to uninstall the module first. Just removing the folder /modules/stripe then uploading the zip via your back office should be sufficient to refresh all files.

Thanks for your response.
I deleted the /modules/stripe folder and re-uploaded the zip but unfortunately I am still experiencing the same issue.
I haven't tested live mode but the test mode works so I think the module is still technically working on the front-end. I am not positive but I believe the only problem is not being able to insert both keys at once.
If you're sure there's no problem on the module end I can have my developer look at it but the old version does have the same issue for me.

Managed to reproduce it on my end. There is a problem in the module. The update to 1.6.1 should solve it.

Sorry that it took so long to figure this out.

Awesome.
I'll try the new version out later today.
Thank you for fixing it.

I'm on 1.7 and the site won't allow any payments at all. When I click it, it bounces back to the order page.


[SPARK-45625][BUILD] Upgrade log4j to 2.21.0

What changes were proposed in this pull request?
This pr aims upgrade log4j from 2.20.0 to 2.21.0.
Why are the changes needed?
Support for the zstd compression algorithm has been added in the new version: https://github.com/apache/logging-log4j2/issues/1508 | https://github.com/apache/logging-log4j2/pull/1514
Meanwhile, the new version starts to use Java 11 for building, and the runtime version is still compatible with Java 8: https://github.com/apache/logging-log4j2/pull/1369
The new version also brings some bug fixes, such as:

Fixed logging of java.sql.Date objects by appending it before Log4J tries to call java.util.Date.toInstant() on it: https://github.com/apache/logging-log4j2/issues/1366
Fixed concurrent date-time formatting issue in PatternLayout: https://github.com/apache/logging-log4j2/pull/1485
Fixed buffer size in Log4jFixedFormatter date time formatter: https://github.com/apache/logging-log4j2/issues/1418
Fixed the propagation of synchronous action failures in RollingFileManager and FileRenameAction: https://github.com/apache/logging-log4j2/issues/1445 | https://github.com/apache/logging-log4j2/pull/1549
Fixed RollingFileManager to propagate failed synchronous actions correctly: https://github.com/apache/logging-log4j2/issues/1445
and more.

The complete release note is as follows:

https://github.com/apache/logging-log4j2/releases/tag/rel%2F2.21.0

Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions
Was this patch authored or co-authored using generative AI tooling?
No

Merged into master for Spark 4.0. Thanks @HyukjinKwon


Footer done but need advice

I created the footer using the following code
import React, { Component } from "react";
import styles from "/home/hyfbe16/class2-project-bementor-group2/client/src/assets/css/footer.css";

class Footer extends Component {
  render() {
  return (

                {' '}

                {' '}

                {' '}

                {' '}® eMighty-Powerfull Coding

    );
  }
}

export default Footer;

and the following style in footer.css:
/* Style the footer */
.footer {
  background-color: #009688;
  padding: 15px;
  text-align: left;
  color: white;
  position: relative;
  }

===> MY QUESTION: I cannot figure out
(1) what to use instead of
import styles from "/home/hyfbe16/class2-project-bementor-group2/client/src/assets/css/footer.css";
to make sure the style is not only stored on my computer (do I need to install an npm package to help me with the styling?
(2)how to change the font-style of
{' '}® eMighty-Powerfull Coding
(3)how to add more space between the social media icons
(4)I need a reminder on how to share what have been done with the team
===>REMARK**@GROUP2 coworkers** : I have changed the group name from MIGHTY to eMighty and added the 'brand emphasizer' "Powerfull Coding" please let me know  if OK with you.

Hey Madeleine, good work so far :)
To answer your questions

You can use relative importing to make sure imports work for everyone. This is relative to the location of the file you're currently in. In this case it would be import '../assets/css/footer.css'
Changing the font-style is nothing new, you do it the same way you do in HTML. Wrap the text in a container (such as a ) and give it a class. Then set that class' font-family property in CSS
You've seen a few ways to increase spacing between elements using CSS. Play around with margin and padding to get your desired results
You can tag your team members like this @HackYourFutureBEHomework/class-2-group-2, or simply message them on Slack. These updates are more fit for a pull request though. I imagine you have your own branch, so you can create a pull request with master as the base branch. Request review from your teammates on it, and they'll receive an email saying that it is open.

@mtubwakab thats good that you made the footer but it should be in bottom

and btw what emighty powerful coding means ? i am curious :)


Opt-in method for purging (some) caches upon a QuotaExceededError

R: @philipwalton
CC: @raejin @Enalmada @josephliccini
Fixes #1308
There are two changes in this PR:

There's a check in workbox-core's cacheWrapper.put() (which is used "under the hood" throughout Workbox) method to detect when the underlying cache.put() fails due to a QuotaExceededError. When that happens, one or more previously registered callback functions will automatically be called, and given a chance to free up storage. There is (currently) no attempt made to retry the failed cache.put() automatically after the cleanup completes, and the QuotaExceededError will be re-thrown and bubble-up to the method that called cacheWrapper.put() originally.

There's a new purgeOnQuotaError option added to the workbox.expiration.Plugin constructor. It defaults to false. When true, it will automatically register a quota error callback that will delete the entire cache (and IndexedDB) data that the plugin is responsible for. (This is based on #1500.)

Nothing should change by default, but developers who want to opt-in to trying this automatic deletion of caches should make sure that they're using workbox.expiration.Plugin for a given strategy, and set purgeOnQuotaError: true alongside their maxEntries and/or maxAgeSeconds configuration when constructing the plugin.
At some point in the future, we might:

Automatically retry the failed cache.put() operation after all the callbacks are complete.
Default to purgeOnQuotaError: true inside of workbox.expiration.Plugin.
Add in some special logic inside workbox.precaching to handle quota errors in a different way.

In the meantime, I'd love to start getting some feedback from developers who frequently encounter quota issues with their real-world applications, and figure out how effective opting-in to this new behavior is.
It will have the most significant effect on developers whose runtime caches contribute the largest amounts towards their quota usage (perhaps because they're caching opaque responses). If you're precaching a massive amount of data, but not runtime caching much, this PR is not likely to help.

Coverage increased (+0.1%) to 86.833% when pulling b09566d00f13e1e709423d84af609dabd5d89c3d on quota-errors into 118598366adfb22f3e74217ccd403713109dc277 on master.

Thank you for working on this! This is very exciting, as the cache quota reporting chromium bug was recently fixed.
With this implementation, one is still possible to manually add logic to retry precaching assets when quota error callbacks are called.

I've addressed some of the comments, and provided more context.
Another thing that I'd like to do is write up a "Guide to Handling Quota Errors" or something along those lines for https://developers.google.com/web/tools/workbox/guides/ following the next release, which will explain a bit more about opting-in to the automatic cleanup and registering your own callback.

Thanks Jeff! I left a few random thoughts for the future and one more comment, but overall everything LGTM.

When can we expect this to be released?
Thanks


Move existing templates under a v1 sub-directory.

Preparation for new templates, contains no functional changes.

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged


Update cache-aspnet-session-state-provider.md

Fixed minor typo

Hi @jboeshart, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jason Boeshart). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@jboeshart : Thanks for your contribution to the Azure documentation! The author, @steved0x, has been notified to review your proposed change.

@jboeshart Thanks for catching and fixing that!
#sign-off


Use @angular/cli library build tooling for library build process

This simplifies the library build process, making it easier to contribute and to update to new versions of Angular over time.
Tested via existing unit tests, and by using npm link to import the library into an existing consumer app of Spectator. But it may need some minor changes to the CI config.

Yep - it is exported via a triple-slash directive in public_api.ts:

https://github.com/NetanelBasal/spectator/pull/50/files#diff-00c2321e16a255c3f3a1555401ffd850R1
I didn't get any type errors when using the custom matchers in my example project.

Sure - anything in particular you would like me to add? Do you want it to be part of this PR or a separate one?

Btw - I don't seem to be able to change anything on Semaphore for the moment. This is me: https://semaphoreci.com/users/benelliott/

Check your email. You should get an invitation.
It can be a part of this PR. Just information about how to contribute to this project. You can see an example here.

Thanks, will do. I can view the CI now but it looks like I can't change build settings for individual branches - is it OK if I reconfigure it to work with this PR? I will maybe do it by creating a new job and keeping the old one

Sure, if you need me to do it on master, let me know.

Great work, man! Do you have success with the master branch in CI?

05 11 2018 14:28:20.579:WARN [karma]: Test suite was empty.
Finished in 0.002 secs / 0 secs @ 14:28:20 GMT+0000 (UTC)
SUMMARY:
✔ 0 tests completed

Sorry, what do you mean by the master branch? I don't think that CI server will allow per-branch configurations so I reconfigured it for the new branch. This will mean that the older branches stop building properly.
The test suite for the library itself is empty but there are actually two test suites being run: one for the library and one for the demo app (which still has the old tests).

Ok, you can merge and publish. Thanks a lot for the great work.

Thanks!

@NetanelBasal I've published it under 2.0.7-alpha.1 (because I didn't want to bump people to a broken version!). If you are happy with it, let me know what tag you would like me to release it under - not sure if it should be a major/minor/patch update because the angular peer dep version has changed?
Anyway, I've tested the alpha version on a project and it seems happy.

Published 2.1.0 :)


cmake: Use LIB_INSTALL_DIR instead of hardcoding lib destination

The comon practice in cmake to allow to specify the libdir is
using the LIB_INSTALL_DIR variable. The main use case of that
variable is setting /usr/lib64 as the destination dir for
libraries which is a common pattern in many Linux distributions.

👍

Hello,
this change breaks the build of OpenTracing dependency with Hunter.
CMake Error at /Users/mehrezdouaihy/.hunter/_Base/d93ace4/dee24f9/0d4bf3d/Install/lib/cmake/OpenTracing/OpenTracingTargets.cmake:80 (message):
  The imported target "OpenTracing::opentracing-static" references the file

     "/Users/mehrezdouaihy/.hunter/_Base/d93ace4/dee24f9/0d4bf3d/Build/opentracing-cpp/Install/lib/libopentracingd.a"

  but this file does not exist.  Possible reasons include:

In fact, Hunter expects the generated targets CMake files to handle moving them (from Build to its Install directory). This is done by CMake if the destination is not an absolute path.
With this change, the destination is absolute, CMake generates files that are incompatible with Hunter conventions.
You can check the following Hunter packaging

with the change, not working: https://github.com/mdouaihy/hunter/archive/v0.21.7.tar.gz
with the change, working: reverted https://github.com/mdouaihy/hunter/archive/v0.21.8.tar.gz

Would changing
if (NOT DEFINED LIB_INSTALL_DIR)
    set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib)
endif()

to
if (NOT DEFINED LIB_INSTALL_DIR)
    set(LIB_INSTALL_DIR lib)
endif()

fix things?

Yes. I did the change and issued a PR.

@mdouaihy Thanks and sorry for breaking Hunter.

@mrostecki no worries.


API for Image Search Abstraction Layer example being retired

Example for the Image Search Abstraction Layer I believe uses the Bing.Search API. Unfortunately, this API will be shutdown as of March 31st, affecting projects already submitted, and also eventually the example app itself.
Challenge Name
https://www.freecodecamp.com/challenges/image-search-abstraction-layer
Issue Suggestion
This example I think will need to be ported over to the new Azure Cognitive Servers Bing API. Perhaps this API should also be suggested on the assignment page?

thanks for the issue @danielehrlich and the alternate API as well.
we might port the entire application over to HyperDev.
/cc @Em-Ant what do you think?

The whole back-end curriculum will be ported on Hyperdev, and the microservices challenges will have slightly different requirements, in order to be automatically testable (see https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10816 for more details ).
About this particular challenge, I think we should recommend an free and reliable API in the project description. The new bing API looks like a valid option.

This challenge has been removed in the beta, so I'm closing this issue.


EMOTES

How can I unlock all the emotes without buying them?

There should be an option in your config called "I'm a party pooper" that you can enable to unlock them all!

If using a mod loader, such as r2modman, getting to the config files should be simple. Otherwise, you may need to look up where the location might be for you.


*** Waiting for you to fix this.  Restart when done fixing. ***

The latest commit gives no pictures on a RPiHQ camera. The log shows the following:
Oct  4 16:40:56 allsky allsky.sh[822]:      ***** Starting AllSky *****
Oct  4 16:40:56 allsky allsky.sh[822]: Making sure allsky.sh is not already running...
Oct  4 16:40:56 allsky allsky.sh[822]: Trying to automatically choose between ZWO and RPI camera
Oct  4 16:40:56 allsky allsky.sh[822]: CAMERA: RPiHQ
Oct  4 16:40:56 allsky allsky.sh[822]: CAMERA_SETTINGS: /etc/raspap/settings_RPiHQ.json
Oct  4 16:40:56 allsky allsky.sh[822]: cp: cannot create regular file '/home/pi/allsky/tmp/notification-image-resize.jpg': No such file or directory
Oct  4 16:40:56 allsky allsky.sh[822]: convert-im6.q16: unable to open image `/home/pi/allsky/tmp/notification-image-resize.jpg': No such file or directory @ error/blob.c/OpenBlob/2874.
Oct  4 16:40:56 allsky allsky.sh[822]: convert-im6.q16: no images defined `/home/pi/allsky/tmp/notification-image-resize.jpg' @ error/convert.c/ConvertImageCommand/3258.
Oct  4 16:40:56 allsky allsky.sh[822]: *** copy_notification_image.sh: ERROR: IMG_RESIZE failed
Oct  4 16:40:56 allsky allsky.sh[822]: Starting allsky camera...
Oct  4 16:40:56 allsky allsky.sh[822]: /home/pi/allsky/allsky.sh: line 148: /home/pi/allsky/capture_RPiHQ: No such file or directory
Oct  4 16:40:56 allsky allsky.sh[822]: capture_RPiHQ exited with retcode=127
Oct  4 16:40:56 allsky allsky.sh[822]: cp: cannot create regular file '/home/pi/allsky/tmp/notification-image-resize.jpg': No such file or directory
Oct  4 16:40:56 allsky allsky.sh[822]: convert-im6.q16: unable to open image `/home/pi/allsky/tmp/notification-image-resize.jpg': No such file or directory @ error/blob.c/OpenBlob/2874.
Oct  4 16:40:56 allsky allsky.sh[822]: convert-im6.q16: no images defined `/home/pi/allsky/tmp/notification-image-resize.jpg' @ error/convert.c/ConvertImageCommand/3258.
Oct  4 16:40:56 allsky allsky.sh[822]: *** copy_notification_image.sh: ERROR: IMG_RESIZE failed
Oct  4 16:40:56 allsky allsky.sh[822]: *** Waiting for you to fix this.  Restart when done fixing. ***

Any help to this?

Hi @WirthmU -- thanks for catching this.  There's a pending PR #553 that resolves this.
In the interim, you can get your local version working by logging in as the pi user, then run:
mkdir allsky/tmp
Thanks, and apologies for the inconvenience.

@linuxkidd Michael, would it make sense to have variables.sh check if each directory exists, and either make it (e.g., ALLSKY_TMP) or print an error message and exit (e.g., ALLSKY_SCRIPTS)?
Doing this (which is only done once per invocation of allsky.sh) would catch and possibly errors like the one above.
Comments?

Ya.. I had strongly considered variables.sh checking that the paths exists as a potential fix.
It may be better to check inside allsky.sh instead... since variables.sh (and all the other config files) get referenced extensively by scripts/*.sh.

@linuxkidd Michael, variables.sh is source'd into all the scripts, but it only executes its code once per invocation of allsky.sh via this code:
if [ "${ALLSKY_VARIABLE_SET}" = "" ]; then
	set -a	# automatically export all variables

	ALLSKY_VARIABLE_SET="true"	# so we only do the following once

       # other commands ...
fi

So if we add checks for all the directories it won't add execution time except in allsky.sh, which is when we want to do the checks anyhow.
@ckuethe Your input?

I could be wrong.. but I think that each instantiation of a script ( as executed from capture for example ) is a new, separate bash instance.  I don't think the environment variables that were present when capture started are used.
-- Actually.. I know there not used because I've had errors in my variables.sh or config.sh, and once corrected, the scripts returned to normal operation without restarting allsky systemd service.
So, it will prevent variables.sh from running twice within the same bash shell, but not across script runs from within capture or captures_RPiHQ.

@linuxkidd Michael, my intent was for variables.sh to execute the commands when allsky.sh first source'd it in, and all the variables (including ALLSKY_VARIABLES_SET) would automatically be exported via the set -a.  The capture commands would hence get those variables and pass them to the scripts they call, so when those scripts ran, variables.sh in them would not re-execute the commands.
It should be an easy test - put an "echo $0" in the code of variables.sh and restart allsky and look in the log file after the first image is processed.  Hopefully there will only be one echo statement.  If there are two, something didn't pass ALLSKY_VARIABLES_SET to its child.
I'm 99% sure there's a way to make this work - it may need something in the capture programs to force them to pass their environment to their children.
We could also try a printf of ALLSKY_VARIABLES_SET from the capture program using the function getenv() that will get the value.  Per the system() man page, the callers environment should be passed to the child.
It's also possible there's a bug in variables.sh...

Maybe --- the issue is that variables.sh isn't called -before- capture starts in allsky.sh.  So those Environment variables aren't available to pass to the child processes.

Haha.. indeed it is the issue.

I modified my variables.sh to output some text.
Monitored logs, and saw that output text each time an image capture completed.
I modified allsky.sh to source variables.sh right before attempting to start the capture* program
Restarted allsky via systemd
Only saw my variables.sh script text 1 time.

I'll submit this as a PR and that should get us down to 1 time run through of variables.sh... then we can discuss at auto-creating directories if they're missing, or just warning about it.

Crap.  Another case where I had it working in my test version of Allsky but didn't copy the source variables.sh when I updated allsky.


Bug fix: Invalid SSH Key.

Upload the Jenkins SSH key as raw content so that Gerrit can recognize it.
Refer to: https://gerrit-review.googlesource.com/Documentation/rest-api-accounts.html#add-ssh-key

Thanks for the contribution.


500 error on php version

Hello, I have installed the php version several times and both the same. On previewing at localhost or Ngrok there is a 500 error on products, in Store.js on line 72

Hello!
Line 72 in store.js is where the products to be displayed are retrieved from the backend. The backend sends a GET request to retrieve the products from the account based on their skus. If not returned (non existing), they are created on the fly. Having a 500 error at that stage means that we are either unable to retrieve the products or to create them altogether.
Do you have your PHP logs so we can determine which is it and why this is happening?
I tried to reproduce with both an existing account and a new one but no error 500 in either case which makes me think there might be a conflict with the account you are using.
I'll know more once I have the logs.

Sorry, I searched but have no one.
No idea, I just installed following the instructions, as a matter of fact did not know the demo products automatically gets installed on my account as did not check settings page, and have ever used products.
In any case I will not use this demo as didn't know it was only for having products.

The products part is just to have something to display on the side for the purchase.
The main purpose of the demo is to showcase how the PaymentIntent API works with different payment methods.
Taking a blind guess: did you correctly configure your settings.ini file?

I suppose I did not configure it correctly, I tried both the node and php version.
I commented out the products on setting file and deleted on Stripe account and managed to display on page my product, however when entering Stripe my product was registered as a product. Really didn't see how to eliminate and not use the products with Stripe as I sell services not products. I quite liked the demo though.
Thanks,

The Products API is used by this project for demo purposes only. It is not a requirement to use our Payments API.
If you sell a service, you can integrate the PaymentIntent API: https://stripe.com/docs/payments/payment-intents/quickstart
If you have a subscription-based model, you can use our Billing solution: https://stripe.com/docs/billing/subscriptions/creating
As this is not an issue with the project itself, I'll go ahead and close this for now. Feel free to reach out to us for additional support: https://support.stripe.com/email


Add instructions for an authenticated SPARQL endpoint

Fixes #11
Summary
This PR is fairly lightweight: it's a small addition to the readme that outlines how to add authentication to the SPARQL endpoint.
To Test

Deploy slinky
Create a user inn Virtuoso. See this guide
Follow the README
Attempt to login to the SPARQL endpoint
You should be prompted with a login field, your credentials should work

Cool, that looks easy enough to do if we decide to toggle this on. Thanks for researching and adding to the readme.


Environment variables with embedded equals signs are not available in a container on windows.

Environment variables with embedded equals signs are not available in a container on windows.
Output of docker version:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 23:54:00 2016
 OS/Arch:      windows/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 23:54:00 2016
 OS/Arch:      windows/amd64

Output of docker info:
Containers: 15
 Running: 0
 Paused: 0
 Stopped: 15
Images: 368
Server Version: 1.12.0
Storage Driver: windowsfilter
 Windows:
Logging Driver: json-file
Plugins:
 Volume: local
 Network: nat transparent null overlay
Swarm: inactive
Security Options:
Kernel Version: 10.0 14300 (14300.1045.amd64fre.rs1_release_svc.160705-1059)
Operating System: Windows Server 2016 Datacenter Technical Preview 5
OSType: windows
Architecture: x86_64
CPUs: 1
Total Memory: 3.5 GiB
Name: matt-dckr-2016
ID: CVFQ:6K7E:MZMF:KJUS:QZQ2:YDVU:BRGY:4ZQ3:32MQ:5IXI:C4RY:GV76
Docker Root Dir: C:\ProgramData\docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Windows Server 2016 TP 5 VM on Azure, created via the Deploy to Azure button on https://msdn.microsoft.com/en-au/virtualization/windowscontainers/quick_start/quick_start_windows_server
Steps to reproduce the issue:

docker run -e="deep=purple=fred" --rm microsoft/windowsservercore cmd /c set

Describe the results you received:
A list of environment variables that does not include the variable deep.
Describe the results you expected:
A list of environment variables that includes the variable deep.
Additional information you deem important (e.g. issue happens only occasionally):
This works successfully on ubuntu:
docker run -e="deep=purple" —rm ubuntu /bin/sh -c export (edited)
-> output includes export deep='purple' (edited)
docker run -e="deep=purple=fred" -rm ubuntu /bin/sh -c export
-> output includes export deep='purple=fred'
This does not work on windows:
PS C:\temp\> docker run -e="deep=purple" --rm microsoft/windowsservercore cmd /c set
-> creates an env variable called deep with a value of purple
PS C\temp\> docker run -e="deep=purple=fred" --rm microsoft/windowsservercore cmd /c set
-> no variable called deep

This also fails in the nightly build:
Client:
 Version:      1.13.0-dev
 API version:  1.25
 Go version:   go1.7
 Git commit:   ec82819
 Built:        Wed Aug 31 01:48:34 2016
 OS/Arch:      windows/amd64

Server:
 Version:      1.13.0-dev
 API version:  1.25
 Go version:   go1.7
 Git commit:   ec82819
 Built:        Wed Aug 31 01:48:34 2016
 OS/Arch:      windows/amd64

Interestingly, when running docker inspect from the host, the environment variables appear as expected, just not inside the container.

I suspect the issue is on this line:
arr := strings.Split(s, "=")
should probably be:
arr := strings.SplitN(s, "=", 2)
Looking to build locally and test now.


Can't update stretch chroot "release does not match"

I can't update my debian stretch chroot as crouton will not recognize my chroots release and specifying -uu on crouton results in a five second wait followed by nothing.
"edit-chroot -l" gives me this:
name: stretch
encrypted: no
Entering /media/removable/chroots/stretch...
crouton: version 1-20150519153807~master:30cf02c9
release: stretch
architecture: armhf
xmethod: xiwi
targets: xfce,gtk-extra,xiwi,extension,x11,xorg,audio,core
host: version 7077.34.0 (Official Build) beta-channel daisy_freon
kernel: Linux localhost 3.8.11 #1 SMP Wed Jun 10 21:40:30 PDT 2015 armv7l GNU/Linux
freon: yes
Unmounting /media/removable/chroots/stretch...
My update script looks like this but it fails:
sudo sh /home/chronos/user/Downloads/crouton -p /media/removable/ -r stretch -n stretch -u
I am using crouton version:
crouton: version 1-20150604154515~master:91b3e350
My chroot does launch and work fine in xiwi but I would like to update it so any help would be appreciated.

dragonloverlord:
Try force updating the chroot with sudo sh /home/chronos/user/Downloads/crouton -p /media/removable/ -r stretch -n stretch -u -u

As I have stated forcing the chroot to update does nothing but wait five seconds then put me back at the command line.

What does your /etc/apt/sources.list look like?

@dnschneid this is what it looks like:
deb http://ftp.debian.org/debian/ stretch main non-free contrib
deb http://http.us.debian.org/debian stretch-updates main non-free contrib
deb-src http://http.us.debian.org/debian stretch-updates main non-free contrib
deb http://http.us.debian.org/debian/ stretch main non-free contrib
deb-src http://http.us.debian.org/debian/ stretch main non-free contrib
deb http://security.debian.org/ stretch/updates main non-free contrib
deb-src http://security.debian.org/ stretch/updates main non-free contrib
deb-src http://ftp.debian.org/debian/ stretch main non-free contrib

I fixed the issue by myself as I had some how managed to commend out the first line of my sources.list which when I uncommented it everything now works as intended! Thanks everyone for the help :)


Filtering table columns and numbers

Hey, first of all thanks for the great package, it has worked out great so far.
But I recently stumbled onto a smallish issue.
I have tables and columns with filtering, and filtering numbers does work from 1-9 but not if it gets higher.
For example I have these data rows with values: AVG8, AVG10, AVG11
The filtering works like that:
AVG8, AVG11, AVG10 OR AVG10, AVG11, AVG8
Meaning it's only taking into consideration the first part, not the whole number.
I also attached some images to understand it better.

@silverliiv , Is this a question about sorting or filtering?

I'm using this "Th" component (attached a screenshot).

I think it's sorting then yes, sorry for the mess.

Hey,
Indeed, values are sorted as strings, "8" > "11"
If it's possible you can cast these string values as numbers with a callback.
it would look like this:
<Th
    {handler}
    orderBy={(row) => Number(row.avg_stack.replace('AVG', ''))}
>
    AVG Stack
<Th/>

Perfect, solution worked nicely. Thank you.


update moonbeam remix plugin

Fixes the 404 that occurs on the Moonbeam Remix plugin. This is because github repositories changed ownership to the Moonbeam Foundation. This PR sorts this out and has been successfully tested via "Connect to a Local Plugin"


Strip GitHub Authentication

GitHub Auth errors used to be pretty rare but now they seem to happen all the time. I've never been able to figure out why - my guess is some sort of race condition with the Actions token?
This PR removes authentication from Composer which should work fine but will subject Actions to the "unauthenticated API limits".

Proceeding with this for release.


Use case for categorical datasets

I am trying to use the library for a survey dataset where no entry is numerical and all the responses are categorical in nature. On using Causal Inference 360's evaluation plots, the results were not very encouraging, i.e. wide chasms between weighted and unweighted variables in propensity plots.
Also, Boolean Rules via Column Generation (BRCG) method didn't return any rule. Presumably because no entry was numerical. The result was this
Learning DNF rule with complexity parameters lambda0=0.001, lambda1=0.001

Initial LP solved
Iteration: 1, Objective: 0.2203
Accuracy: 0.7797356828193832
AUC: 0.5
['']
Can this library be used to find out causal relationships between categorical variables? If yes, can you share any notebook or example for the same?

Hi, I'm sorry to hear you encountered some setbacks during your analysis.
I'll need some more details to be able to be helpful. Do you have a sample of the data I could use to reproduce the problem (or can you synthesize a minimal example causing problems)? How was the propensity model defined? How do the evaluation plots look exactly?
On the face of it, there shouldn't be any constraints for using categorical variables.
[Except if you have >=3 treatment levels, in which case most evaluations are not well-defined, but estimation should still be valid.]
As for the BRCG method, it is not part of causallib, so I can't speak for it. However, as far as I know, this method first binarizes continuous features, so having no-continuous features in the first place shouldn't be an obstacle.

sample data.csv

I have attached the results and the sample data.. I used logistic regression classifier on the training set.. then identified the treatment variable and applied the same codes as in your biomed example code.
Thanks for your help!

Hey @jgdpsingh , these plots actually look fairly good! 🙂
What do you think is the problem here?

I apologize for the confusion in the Bank Marketing example. I will revisit it to see if I can revise the wording to make it better.
For the sake of completeness, the Love plot shows the absolute difference in means for each covariate (and the inverse probability weighted mean too). Large ASMD values can hint that the treatment groups are different and their covariate distribution is imbalanced. Large unweighted AMSD values are expected in non-randomized settings, because individuals self-select into treatment groups. However, if the weighting process is successful, the weighted ASMD values should decrease and ideally have them all as closest to zero as possible.
Thanks again for bringing this up, and good luck!


Add the scale subresource in TenantControlPlane custom resource definition

In order to auto-scale the TenantControlPlane with regular HPA controllers or advanced operators, eg. KEDA, it is required to have the subresources.scale endpoint enabled. Autoscaling of a TCP could be useful when its kube-apiserver container is overloaded by tenant users' requests.

So the purpose of the issue is to add the element subresources.scale into the TCP crd?

Is someone working on this actively? If not, I can pick it up

@arriqaaq that would be great! Thanks

@arriqaaq may I help you with this? I'd like to release the new version and this would be absolutely helpful, in case you're not available in contributing to this, please, let me know so I can take over.

Sorry for the delay in replying @prometherion , I would not be able to complete this as of now. Apologies


Use nested axes for groups

Hello. So the more flexible and canonical way to do grouped columns/rows in d3 is to have what I'm calling "nested axes", meaning an outer axis to place the groups and an inner one to place the series within each group. See this example.
I've refactored grouped-column-series to use this kind of implementation. This fixes https://github.com/heavysixer/d4/issues/25 and https://github.com/heavysixer/d4/issues/10, which as far as I can tell are the same issue. It also removes some hard-coding in the size and placement of the groups and such, because values are set according to the rangeBand of the outer axis. You can check against my grouped-axes branch on d4-www to see it in action. All of the grouped column/row examples work as far as I can tell.
My naming treats x or y as the outer axis, and groups as the inner.
I'm curious to see if you have any feedback on the stuff in scales.js and base.js, as some of the checks in there seem a bit dirty. Also, customizing the inner axis is not possible through the chart definition because it needs the rangeBand() of the outer axis to determine the range. So I've included roundBands as a customizable property of the groups scale.
I should note as well that this is a breaking change as the groups axis key is required. It may be possible to fall back to an index, but I'm not so sure how to do that at the moment. Thanks and sorry for the long winded explanation!

Hi @nsonnad thanks so much for your continued contributions. I have not reviewed the code yet, but I am also wondering if it might also effect to @yanofsky's question in #28 ?

It shouldn't have an effect as it targets only the ordinal axes of grouped columns and rows. Continuous axes and the way a chart has its outer x/y scales defined are untouched.

The code looks good, one question. Do you know if the sorting example you referenced earlier http://bl.ocks.org/EE2dev/af14387f43b5f332e360 would be possible with the refactoring?

Hi so, I've looked at the d4-www branch and noticed that the arrow feature, and axis example charts are broken. I guess this is because they have not been updated to use the new implementation? Once those are fixed please send me a PR on those files as well and I'll merge everything down and do a new release.
Thanks!

I've fixed the remaining d4-www examples and will push a new version of the site.


Adding scope along with the enabled status, properties of the controller services.

Adding other info like scope in service info custom UI component.

Added in the release v1.0.11


Flow is intended to return a single value that changes over time, not as a replacement of list.

The Kotlin Flow concept is intended to return a reference that notifies observers of changes to its value (which may be a list/collection) but here it is used as a replacement for list. It will kind of work but the way to return a list as flow is Flow<List<T>>.

I assume this is the article - https://www.baeldung.com/kotlin/flow-intro - you're referring to?
Any particular code example/section that is misleading in your opinion? We'll be happy to take a look into this.


False positive on UnusedPrivateMember for actual/expected inline method parameters.

Expected Behavior
Expected inline methods in a Kotlin multiplatform project should not give UnusedPrivateMember warning for parameters.
Observed Behavior/Steps to Reproduce
internal expect object Reflection
{
    internal inline fun <reified T> extendsType( klass: KClass<*> ): Boolean
}

This gives a UnusedPrivateMember warning for the klass parameter.
Your Environment

Version of detekt used: 1.16.0-RC1
Version of Gradle used (if applicable): 6.6
Operating System and version: Windows 10
Link to your project (if it's a public repository): https://github.com/cph-cachet/carp.core-kotlin/blob/develop/carp.common/src/commonMain/kotlin/dk/cachet/carp/common/reflect/ReflectionAvailable.kt#L32

Thanks for the report. The expect object scenario is indeed not covered by this rule. Fix is in #3417

Thanks for the report. The expect object scenario is indeed not covered by this rule. Fix is in #3417

@schalkms I just updated to 1.16.0-RC2 This is now fixed for the expect definition, but still gives the same warning on my actual implementation.
internal actual object Reflection
{
    internal actual inline fun <reified T> extendsType( klass: KClass<*> ): Boolean =
        throw UnsupportedOperationException()
}

While working on this I noticed that we have a misalignment between expect and actual and it seems to be intentional: https://github.com/detekt/detekt/pull/2643#discussion_r416774303
@schalkms is that still relevant?

I don't think it's intentional. The fix incorporated for this issue should include the check for the actual definition. There seems to be a misalignment between the actual and expect in the rule implementation.
https://github.com/detekt/detekt/blob/c5f65a9c8ed029f0382674371c070ec0f3071b28/detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/UnusedPrivateMember.kt#L204

There seems to be a misalignment between the actual and expect in the rule implementation.

Yup that's exactly why I asked. In your comment here: https://github.com/detekt/detekt/pull/2643#discussion_r416774303 you mentioned:

Actual classes are an implementation concern. Thus, unused parameters should be reported.

I'd like to understand more about that. If we don't report UnusedPrivateMember in the expect declaration but we do so for the actual, how are users supposed to fix it?

@cortinico thanks for asking the right questions! 🙂
I looked at my notes. Now I can remember it. Actual is an implementation detail, meaning such a function has a body in contrast to an expect function. Hence, the unused parameter should be reported by this rule for an actual function.

With this mechanism, a common source set defines an expected declaration, and platform source sets must provide the actual declaration that corresponds to the expected declaration.

https://kotlinlang.org/docs/multiplatform.html

Hence, the unused parameter should be reported by this rule for an actual, but not for an expect function.

Agree. Unless we have a strong opinion here or a valid use case for changing it, I'm leaning towards re-closing this issue.

but still gives the same warning on my actual implementation.

@Whathecode does this clarifies your question?

@Whathecode does this clarifies your question?

Well, it wasn't really a question. More of a continued bug report. :)

Hence, the unused parameter should be reported by this rule for an actual, but not for an expect function.

The problem is if you rename the, correctly reported as 'unused', parameter to _, you get a complaint that the actual implementation does not match the expected implementation. Thus, this should also be ignored for actual implementations.
But, ... it is possible I overlooked something. Only looked at this shortly and just slammed the @Suppress back on there.

Thus, this should also be ignored for actual implementations.

Can we bring someone with more KMM expertise to drop a suggestion here?

@cortinico,
As someone with some experience in Kotlin Multiplatform projects, I would say:

if a rule is ignored for abstract members, it should be ignored for expect members,
if a rule is ignored for overridden members, it should be ignored for actual members.

Basically, expect class/member is a placeholder defined in common sources, which should be implemented as a separate actual class/member for every defined platform.
Just like with abstract and overridden member functions, a parameter can be used in one actual implementation, but not the other.
See also:

#3388
#3390


Fix N-SAM preconditions learning process.

The version of N-SAM that did not include simplification and incremental learning is suddenly not working as it should.
How to re-create:

Fix all UTs so that the future CI would work.
re-create results of AAAI 2023 using the fluents map (since all the experiments there used it).
See if all the domains have similar results to those of the paper (cannot guarantee exact results since the dataset used was not published)
Validate the code without fluents map - see if there are execution errors.
Fix buggy code.


fast-text-encoding usage breaks compatibility with Emscripten based libaries

Environment details:
OS: Linux
node: 10.23.1
npm: 6.14.10

@google-cloud/translate: 6.1.0
which requires version ^2.9.2 of  google-gax

Description:
google-gax 2.10.0 introduced fast-text-encoding, which breaks the compatibility with Emscripten based libaries.
https://github.com/googleapis/gax-nodejs/blob/eed447fdbac1340109b2bfc0d50460cc1c790f6b/src/fallback.ts#L22
Error
RangeError: Failed to construct 'TextDecoder': The encoding label provided ('utf-16le') is invalid.
Caused by
https://github.com/emscripten-core/emscripten/blob/d7c7aedf45aafb72a8ca617fdfca98311f76525a/src/runtime_strings_extra.js#L38
Similar to:
https://github.com/googleapis/google-auth-library-nodejs/issues/626

Hi @curvedriver,
Thank you for your report. Our main target is Node.js (which has both TextEncoder and TextDecoder starting from v11.0.0). I will try to fix it just as in https://github.com/googleapis/google-auth-library-nodejs/pull/627 but since we must support Node v10 (which has no global TextDecoder), the logic will probably be a little bit uglier than that.
As soon as Node v10 goes EOL and we drop its support, the code will be exactly the same as in google-auth-library now. But for the time being, I'll try to make it work.

Hi @curvedriver,
Thank you for your report. Our main target is Node.js (which has both TextEncoder and TextDecoder starting from v11.0.0). I will try to fix it just as in https://github.com/googleapis/google-auth-library-nodejs/pull/627 but since we must support Node v10 (which has no global TextDecoder), the logic will probably be a little bit uglier than that.
As soon as Node v10 goes EOL and we drop its support, the code will be exactly the same as in google-auth-library now. But for the time being, I'll try to make it work.

@curvedriver The latest released version (v2.10.2) should have this problem fixed. Could you double check if it works for you? Thank you!

Hi @alexander-fenster
Thanks for processing this issue so quickly!
Unfortunately, the reported error still happens in my case because I'm using nodejs 10.23.1.
What do you think about mapping the util.TextDecoder and util.TextEncoder to the global scope?
 const util = require('util');
  Object.assign(global, {
    TextDecoder: util.TextDecoder,
    TextEncoder: util.TextEncoder
  });

I didn't found any API changes of the TextEncoder & TextDecoder between node 10 & 11.
Do you think that there would any side-effects?

@curvedriver I thought of doing it, and the only side effect here is that the browser bundlers (the main audience of src/fallback.ts) will probably start bundling Node.js util polyfill even if the require is within the conditional statement. I just checked it with webpack, the bundle size increased from 399K to 407K when I added require('util').
Well, maybe these 8K is not a big deal though, given that we'll be able to drop it back after April 30th (when we stop supporting Node.js v10). PR coming.


Cannot read property 'setDraggables' of undefined

Version 0.11.1
React 17.0.2
I'm using this library for an inventory system with two lists.
Either list can be updated at any time, as the inventory can be access by multiple people at once and when an item is removed it should show for all UIs.
However, if a user drags too many list items too fast, the drag soft-locks and doesn't allow dragging until reload of the UI.
The error is Cannot read property 'setDraggables' of undefined. HOWEVER the only thing actually inside of the Container element is a div with the ref (and some styles to set the Container's forced height), with children of Draggable - there is no other element.
  const renderItem = React.useCallback(
    (item: IUIItemStack<any>, _index: number) => (
      <Draggable key={item.uniqueId}>
        <InventoryItem itemstack={item} canUseItem={inventoryId === characterInventoryId} />
      </Draggable>
    ),
    [characterInventoryId, inventoryId]
  );

  const handleContainerRender = React.useCallback(
    (ref: React.Ref<HTMLDivElement>) => (

        {renderItems.map(renderItem)}

    ),
    [renderItem, renderItems]
  );

      <Container
        groupName="col"
        onDrop={handleDrop}
        onDragStart={handleDrag}
        getChildPayload={handleGetChildPayload}
        render={handleContainerRender}
        dropPlaceholder={false}
      />

@test137E29B @VIRGO96
I am working with vue-smooth-dnd but was faced with precisely the same error.
I think <Draggable /> components should direct children of <Container />.
In the above case, you may try the following.
const handleContainerRender = React.useCallback(
    (ref: React.Ref<HTMLDivElement>) => (

        {renderItems.map(renderItem)}

    ),
    [renderItem, renderItems]
  );

PS: I know it has been a long time, but it may help someone.

Hi there @thema-d, thanks for your reply, and am indeed facing the same error with vue-smooth-dnd.
As background, I am displaying a list of elements from a computed list within a rough structure like this:
<Container :options="someOptionsHere">
    <Draggable v-for="item in displayList" :key="item.id>
        <bunch-of-html-thats-not-relevant />
    </Draggable>
</Container>

I have attached the code for the displayList computed property below for you to look through if  it helps.
The error I am encountering is that most times, when I enter in a search value to filter the list of items, and then attempt to drag that item I have the same error as you did.
Notably, the error does not seem to occur if them item searched for is close to the top of the list of items, which leads me to believe it MAY be related to the number of items the list is returning. For context, the total number of items displayed in the list is approx 250 odd.
I am not familiar with react or react hooks in the above case and am unclear by what you mean by the  components should direct the  components.
Any help in trying to hunt down this issue would ben greatly appreciated.
Kind regards,
const displayList = computed(() => {

const searchValue = searchData.value.value;
const exercises = programsStore.exercises;
const flows = programsStore.flows;

if (!exercises) return [{
    title: 'loading',
    subtitle: 'loading',
    interactions: false,
    id: 0,
}];

const exercisesList: Array<CardItemData> = [];
for (const exercise of exercises) {
    if (searchValue) {
        if (!checkSearchValue(searchValue, new SearchObj(
            exercise.title,
            exercise.alt_title? exercise.alt_title : exercise.description? exercise.description : null,
            exercise.level))
        ) continue; // if the search value is not found in the exercise, skip to the next exercise
    }

    const exerciseItem: CardItemData = new CardItemData(
        exercise.id,
        exercise.title,
        exercise.alt_title? exercise.alt_title : exercise.level? `Level ${exercise.level}` : 'No Level Assigned',
        false,
        exercise.demo_media? true : false,
        exercise.demo_media? exercise.demo_media.url : null,
        null,
        null,
        'exercise',
        exercise.id,
    );

    const variations = getExerciseVariationsList(exercise);
    if (variations.length > 0) {
        exerciseItem.interactions = true;
        exerciseItem.listTitle = 'Exercise Variations';
        exerciseItem.list = variations;
    }

    exercisesList.push(exerciseItem);
}

const flowsList: Array<CardItemData> = [];
for (const flow of flows) {
    if (searchValue) {
        if (!checkSearchValue(searchValue, new SearchObj(
            flow.title,
            flow.alt_title? flow.alt_title : flow.description? flow.description : null,
            flow.level))
        ) continue; // if the search value is not found in the exercise, skip to the next exercise
    }
    const flowItem: CardItemData = new CardItemData(
        flow.id,
        flow.title,
        flow.alt_title,
        false,
        flow.demo_media? true : false,
        flow.demo_media? flow.demo_media.url : null,

        null,
        null,
        'flow',
        flow.id
    );

    const flowExercises = getFlowExerciseList(flow.id); // get the exercises in the flow.
    if (flowExercises.length > 0) { // if there are exercises in the flow, add them to the list (this is the expanded list), realistically should never be empty
        const firstExercise = flowExercises[0];
        const firstExerciseData = programsStore.flowExercises.find((flowExercise) => flowExercise.id === firstExercise.id);

        if (firstExerciseData) {
            if (firstExerciseData.exercise.demo_media) {
                flowItem.image = true;
                flowItem.image_url = firstExerciseData.exercise.demo_media.url;
            }
        }

        flowItem.interactions = true;
        flowItem.listTitle = 'Exercises in this flow';
        flowItem.list = flowExercises;
    }

    flowsList.push(flowItem);
}

if (activeTab.value.category === 'Search') {
    const list = [...exercisesList, ...flowsList];
    return list;
} else if (activeTab.value.category === 'Exercises') {
    return exercisesList;
} else if (activeTab.value.category === 'Flows') {
    return flowsList;
}

function checkSearchValue(searchValue: string, exercise: SearchObj ) {
    if (exercise.title.toLowerCase().includes(searchValue.toLowerCase())) {
        return true;
    } else if (exercise.alt_title) {
        if (exercise.alt_title.toLowerCase().includes(searchValue.toLowerCase())) {
            return true;
        }
    } else if (exercise.level) {
        if (exercise.level.toString().includes(searchValue.toLowerCase())) {
            return true;
        }
    } else {
        return false;
    }
}

});`

update to the above:
The error only occurs if the search bar is active. once the cursor has left the search bar, and the search bar has been blurred, the error does not occur.


pull request for e2e test at 02/03/2017 18:26:07

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update to 1.2.1

v1.2.1 : Fixed OpenMP thread safety issue introduced in v1.2.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Admin Theme - Test with popular 3rd party modules

Towards the end of this process we should install the top 10 most popular modules on the gallery and check them over to see if there are any major issues with the new theme.
Other fringe cases should crop up when it graduates to dev branch.

I'm new in orchard. What  is top 10 most popular modules? Thanks

There is a module gallery and by default it is sorted by Most Popular.
I don't know if these are necessarily the best of the best and still recommended for a new Orchard installation but for the testing purposes my logic is that if they have been installed the most then we need to make sure that they are work with the new admin theme as they are likely still amongst the most used modules out there in existing sites.

I know about module gallery. Top 5 most popular modules published 2-4 years ago. The question are these module still compatibility and relevant to latest version of orchard. In Umbraco gallery there is option to mark each module with what version it is tested.

Yeah the gallery website needs work, there are a lot of plans floating around to enhance it, including have some kind of user contributed "works with vX.X" module but the work only ever gets done if somebody volunteers to code it and nobody has stepped up yet. The answer is, unfortunately, that the vast majority of modules need attention, either because they are years out of date or because of the last 1.10 update where the modules moved up to target a new .net version and we moved over to nuget packages.

Drupal has it's own git server so they can bundle modules automatically for all the contrib modules. I think that we need to figure out something that will automate things like that. Most modules made by contributors are on different Github, Bitbucket, Codeplex accounts which makes it harder for automation of module packages. I think that ultimately we should have a module gallery that retrieves repositories with something like libgit2sharp and that makes use of the git Tags and/or Releases. Right now since we don't own any of those contributed repositories we can't create releases/tags and test those modules which should be handled by a CI server like appveyor. There's a whole workflow that has yet to be defined before making the Orchard Gallery better.


Function websocket_recv_msg() of WebSocket subsystem ignores the timeout parameter

Describe the bug
Using the function "websocket_recv_msg", this function accept various parameters like the documentation says. However, the timeout parameter apparently is ignored or is not respected by the function, so the routine is called forever like the parameter was "SYS_FOREVER_MS" or with infinite timeout.
Please also mention any information which could help others to understand
the problem you're facing:

What target platform are you using?
I'm using ESP32 WROVER dev board

What have you tried to diagnose or workaround this issue?
I tried different values in timeout parameters and gave the same result. Only the value 0 give different behavior. So, using 0 and checking if the function returns EAGAIN, i put this in a loop and check with a condition if the the time passed is greater than the desired timeout. Something like this:

...
int64_t time = k_uptime_get();
int64_t timeout = 20000;  //20 seconds
while( k_uptime_get() - time < timeout)
{
   int ret = websocket_recv_msg(sck, buf, sizeof buf, &m_type, &reamaining, 0);
   if( ret == -EAGAIN)
      continue;
   //do something with the buffer
}
//timeout expired here
...

Is this a regression? If yes, have you been able to "git bisect" it to a
specific commit?
No.

To Reproduce
Steps to reproduce the behavior:

Setup a websocket using the API like described in the documentation.
Call the function websocket_recv_msg() with any timeout parameter value (except 0 or SYS_FOREVER_MS)
If the other end (or device) do not send any message, the function will hang forever and the code below this call will never be called, even if the timeout is expired.

Expected behavior
The functions should return after the timeout is expired, giving the return value -EAGAIN.
Impact
If the function hangs forever, the function will stuck the entire routine and some functionality of the board who use the Web Socket subsystem may be disabled and restart will be needed for enable again.
Logs and console output
No applicable
Environment (please complete the following information):

OS: Archlinux
Toolchain Zephyr SDK 3.2.99
Commit SHA or Version used:  4f3d5a10c43711c91e3e5bf6d721c2c1703ee661

Additional context
No applicable

@c4explosive Please check https://github.com/zephyrproject-rtos/zephyr/pull/58240

Confirmed, i applied the changes made in #58240 (temporally/local) and tested the code using the websocket_recv_msg() function with three different values for the timeout parameter: 3000 ms, 5000 ms and 1 minute; all works as expected. Thanks so much. ¿Do i need to close this issue?.

Glad to hear that. No need to close the issue - Github will close it automatically when the PR gets merged.


fix #174 - enum members linked to non-existent pages

link to anchors in their enum parent instead

Thanks! Looks good.


Add dApps to Predefined List

Hi team, please add the following dApps to the browser's Predefined List. Thank you!

AzeroPunks:
https://mint.azeropunks.com/#/welcome
Polkasafe:
https://app.polkasafe.xyz/
BananaSwap:
https://www.bananaswap.app/#/swap
Bounce Finance:
https://app.bounce.finance/market
HashKey DID:
https://www.hashkey.id/home
Bluez:
https://bluez.app/
Mandala Clan App:
https://enterthemandala.app/HomePage
Mangata Finance:
https://www.mangata.finance/
DAM Finance:
https://app.dam.finance/
Acala:
https://apps.acala.network/
Equilibrium:
https://app.equilibrium.io/
Gear Technologies:
https://www.gear-tech.io/
Karura:
https://apps.karura.network/
MoonFit:
https://app.moonfit.xyz/nft-sale
Sirius Finance:
https://app.sirius.finance/#/swap
Sub.ID:
https://sub.id/
PolkaVerse:
https://polkaverse.com/
SORA (Polkaswap):
https://polkaswap.io/
PrivaDEX:
https://app.privadex.xyz/
Notifi:
https://notifi.network/dashboard
Skybreach:
https://skybreach.app/
Spacers NFT:
https://pods.spacers.app/
YieldBay:
https://list.yieldbay.io/
FiDi:
https://app.fidi.tech/
BrainDEX:
https://www.braindex.io/swap
Uniswap:
https://app.uniswap.org/
Curve Finance:
https://curve.fi/
AAVE:
https://app.aave.com/
LIDO:
https://lido.fi/#networks
Blur:
https://blur.io/
1inch:
https://app.1inch.io/
chainlist
https://chainlist.org/

Version test: v1.0.3(161)
Devices test: IP 11
Validation passed.


cgit does not show indents properly

When reviewing diffs in cgit, such as this
one,
cgit fails to show the indent of files. Could this perhaps be caused by the
syntax highlighting configuration?

We don't do any syntax highlighting on diffs.

Disabled syntax highlighting to double check, but the issue remains.
There's a chance this is something along the way stripping leading whitespace. I will check Cloudflare preferences.

This was Cloudflare, resolved now by removing HTML minification.


Update Language to Indicate that all Uploaded IDs are Case-sensitive

Issue in help/using/faq/faq-inbound-data-ingestion.md
The answer to the question, "Are the data file contents case-sensitive? How about the ID sync?" should include that ALL uploaded IDs are case-sensitive; not just UUID. For example CRM IDs.
-- Answer:
There are two basic components of a data file: A Unique User ID (UUID) and profile data, usually in the form of key-value pairs or codes. The UUID is case-sensitive. Generally, profile or key-value data is not case-sensitive.

Hi @JefferyTaylor0204 ,
Thanks for reporting this. We updated the FAQ to replace UUID with User ID and link to a page where User ID is described. This should make it clear that all User ID types are case sensitive.
Cheers,
Victor
Senior Technical Writer, Audience Manager


BLAKE3 jets

See https://github.com/urbit/urbit/pull/6802 and https://github.com/urbit/urcrypt/pull/8
Depends on https://github.com/urbit/vere/pull/524

Anyone on a beefy amd64 machine want to benchmark this? I'm on an M2, so I can't see those juicy AVX-512 speedups. 😭 Still, ~1.2 GB/s ain't bad -- that's 2x faster than sha3, and 4x faster than blake2b.

It looks like there's some git churn here.  Maybe merge develop into your branch?


B3n synths imported to G3Xn not available

I tried to export/inject two synth effects STDSYN.ZD2 and SYNTLK.ZD2 from B3n to G3Xn firmware (both version 2.20). The process went without any issues, but the two added effects are not available in the G3Xn list. Is it a bug or I am doing something wrong?

Looking at the comment on the front page about the G1Four F/W containing "GUARDZDL.ZT2", does the G3X have this too...
The contents of "GUARDZDL.ZT2" just looks to be a list of effect names/files. Perhaps this needs to be updated to list the new effects as well?
Simon.
[still saving my pennies]

Hi,
There is a lot of discussion on #7 regarding F/W 2.20, you might want to look there ;-)
Simon


Dump stacktrace for crashed instance started by go test in CI

It closes #1052.

Please update the PR description.

Done. Thanks.

Merging...