add handler for /store/coupon//edit POST

This PR adds a handler for /store/coupon/<id>/edit POST.  All of the routes specified in #77 have been added, so this closes #77.
Also, the last four commits (b6bbe63, 5dcb41d, 22a7c5b, and 240edd2) add a Kucipong.Handler.Route module, which holds all of the full routes for the app.  This should make implementing #84 easier.

@arowM Thanks for the review.
What sort of effects are you talking about?  Maybe you're talking about javascript events?
In frontend/src/pug/storeUser_store_coupon_id_edit.pug, there doesn't appear to be any sort of onClick events or anything like that.
.couponSubmit
            button.btn.outerBtn(type="submit")
              | この内容で店舗情報を更新する

I also searched the code for something referring to the couponSubmit class, but I couldn't find anything.

@cdepillabout

What sort of effects are you talking about?
I just meant that no data seems to be sent to server even if I clicked submit button.
Because the type attribute of the submit button is submit and parent form tag has action attribute, the input data should be sent to the URL of the action value, I guess.

I'll check the reason, too.

Hmm, that's strange.  If I go to a URL like http://localhost:8101/store/coupon/14/edit and press "この内容で店舗情報を更新する", the form is submitted.  I've tested with both Firefox and Chromium.

@cdepillabout
I've tried again, and it works now.
I might have built executable in wrong way.
If I reproduce the bug again, then I'll create a new issue.


Add missing default for Octavia ApacheImage

Removing debug pod ...
error: unable to upgrade connection: container container-00 not found in pod oko-05-kqx6b-master-2-debug-cn4m8_openstack-kuttl-tests

/test openstack-operator-build-deploy-kuttl


How to add domains via API?

Hello, I have a basic setup with postal on Ubuntu 18.04.
And I have to allow users to be able to add a domain using an API and get a DKIM public key back in response which they can they add into their DNS records.
Is there a way this is possible right now? Or do I have to use alternatives like a mix of Postfix + Amavis + Dovecot, or something on those lines...?
My requirements include:

Allowing multiple domains to be added anytime
Only sending emails from any user on that domain (No receiving)
Being able to customize the DNS records like the DKIM's selector, which looks something like: postal_Nkj24._domainkey.example.com
Would like to replace the "postal" bit here...

There is a commit actually that comes close to what I want: https://github.com/postalhq/postal/commit/2dd44e894e6522e485d91e9cd404f76959173af3
But this is not merged into the latest master version, and also there's no documentation for it.
Please help! Thanks!
Tagging: @willpower232 @adamcooke

Also in the list of PRs is https://github.com/postalhq/postal/issues/1413 which sounds much closer to what you want.
These feature requests have not been merged as there are other priorities and no guarantee they will be merged. If you want to make use of that code, you wlil have to fork Postal and merge it yourself to create the version of Postal you desire but you would have to figure out how to use it on your own.


[RuboCop] RBS Signature Files

This pull request introduces RBS Signature files to the core of RuboCop. This gives tools such as Steep to perform type-checking, and allows upstream consumes to use our typing to write compatible code. The idea is to introduce some type-checking and reduce the potential of bugs. Only works with the new Ruby 3.1

Thank you for opening this proposal. However, I'm going to close this PR. Because many RBS being added are internal APIs (e.g. ConfigValidator, Server, TargetRuby, and others). I think users should not see anything other than published APIs, because internal APIs are not stable. And, from the perspective of RuboCop development, the cost of maintaining type definitions is higher. To be honest, I can't imagine the benefits beyond that yet. As far as I know, the ideal goal of RBS is "get benefits of types without writing them", but with this PR the maintenance costs of writing types will outweigh the benefits of benefits. Of cause, Having say that, it would need to be written by people on low layers as a API provider :-) I think we can revisit it in the future when RBS is a bit more mature. So, let's wait a little longer for the RBS ecosystem to stabilize.


ABAP Object Type TABL produces a diff while adding U at remote

Object Type TABL
A simple local customizing table will have no diff at the system of development.
But at any remote systems the exact same table produces a diff.
The table is part of a local package, no transport layer added.
See screenshot:

QUESTION: Where does <ACTFLAG>U</ACTFLAG> stand for? What does the diff show?
Many thanks.

If actflag is not initial, the object is only partially active. Some dependencies could not be activated. Check the object in SE11.

no answer. closing


Adding a blocked version of numpy.histogram

This follow the conversation from issue #431

This looks pretty good to me. As mentioned above I recommend throwing this into core.py.  For better or worse, most things live there.

I migrated tehe function to dask.array.core and updates the tests, let me know if something else needs to be done

This looks good to me.  Merging soon if no comment.

It's good for me.

What about histogramdd?

@rainwoodman is this something that you're interested in contributing?  A combination of this PR and the dask.array.core.atop function might be useful starting points if so.
If you're just raising this as a feature request (entirely valid) then we should probably open a new issue.

If we are to use dask to access and visualize our simulations, then we'll need to write something that's more complicated (a spline smoothing kernel). But histogramdd will get us started quick and dirty.
I still don't fully understand what is in the histogram function but also haven't really got around to look at it closely. I will add a PR for this soon as a practice.


What should MOTECH do when we receive a file processed error?

Scenario
we create a target file and the IVR system returns any of the following
FILE_NOT_ACCESSIBLE(8001),
FILE_CHECKSUM_ERROR(8002),
FILE_RECORDSCOUNT_ERROR(8003),
FILE_OUTSIDE_SOCIAL_HOURS(8004),
FILE_ERROR_IN_FILE_FORMAT(8005);
In addition to logging an error and possibly creating a MOTECH alert, what to we do?
@larubbio suggested maybe a /status page...

@frankhuster Any answer on this?  If not can you move the issue forward or close it.

Confirming we do create a log error and and a MOTECH alert.


question about model memory usage

Hello, I can use CPU-based tensorflow for inference and training, but the following error occurs when using Tensorflow-GPU, I have four 24GB 4090s, when I start inference or training, graphics card 0 will suddenly reach its limit, while the other graphics cards are largely unused, the code does not seem to be distributed training. I want to ask how much gpu-memory is needed to train this model?
2024-12-03 16:50:19.337225: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
2024-12-03 16:50:19.433857: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: NVIDIA GeForce RTX 4090 major: 8 minor: 9 memoryClockRate(GHz): 2.52
pciBusID: 0000:18:00.0
totalMemory: 23.65GiB freeMemory: 22.87GiB
2024-12-03 16:50:19.546432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 1 with properties:
name: NVIDIA GeForce RTX 4090 major: 8 minor: 9 memoryClockRate(GHz): 2.52
pciBusID: 0000:3b:00.0
totalMemory: 23.65GiB freeMemory: 23.27GiB
2024-12-03 16:50:19.618871: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 2 with properties:
name: NVIDIA GeForce RTX 4090 major: 8 minor: 9 memoryClockRate(GHz): 2.52
pciBusID: 0000:86:00.0
totalMemory: 23.65GiB freeMemory: 23.27GiB
2024-12-03 16:50:19.686616: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 3 with properties:
name: NVIDIA GeForce RTX 4090 major: 8 minor: 9 memoryClockRate(GHz): 2.52
pciBusID: 0000:af:00.0
totalMemory: 23.65GiB freeMemory: 23.27GiB
2024-12-03 16:50:19.686669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0, 1, 2, 3
2024-12-03 16:50:22.192435: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2024-12-03 16:50:22.192472: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988]      0 1 2 3
2024-12-03 16:50:22.192478: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0:   N N N N
2024-12-03 16:50:22.192482: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 1:   N N N N
2024-12-03 16:50:22.192501: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 2:   N N N N
2024-12-03 16:50:22.192505: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 3:   N N N N
2024-12-03 16:50:22.192657: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 22164 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:18:00.0, compute capability: 8.9)
2024-12-03 16:50:22.192978: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 22559 MB memory) -> physical GPU (device: 1, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:3b:00.0, compute capability: 8.9)
2024-12-03 16:50:22.193198: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:2 with 22559 MB memory) -> physical GPU (device: 2, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:86:00.0, compute capability: 8.9)
2024-12-03 16:50:22.193420: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:3 with 22559 MB memory) -> physical GPU (device: 3, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:af:00.0, compute capability: 8.9)
2024-12-03 16:50:36.161998: E tensorflow/stream_executor/cuda/cuda_blas.cc:652] failed to run cuBLAS routine cublasSgemm_v2: CUBLAS_STATUS_EXECUTION_FAILED
Traceback (most recent call last):
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
return fn(*args)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InternalError: Blas GEMM launch failed : a.shape=(9, 9), b.shape=(9, 256), m=9, n=256, k=9
[[{{node MV_analysis/layer_0/signal_conv2d/kernel_rdft/Initializer/MatMul}} = MatMul[T=DT_FLOAT, _class=["loc:@MV_analysis/layer_0/signal_conv2d/kernel_rdft/Assign"], transpose_a=true, transpose_b=false, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MV_analysis/layer_0/signal_conv2d/irdft_3x3, MV_analysis/layer_0/signal_conv2d/kernel_rdft/Initializer/Reshape)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "OpenDVC_train_PSNR.py", line 123, in
sess.run(tf.global_variables_initializer())
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: Blas GEMM launch failed : a.shape=(9, 9), b.shape=(9, 256), m=9, n=256, k=9
[[node MV_analysis/layer_0/signal_conv2d/kernel_rdft/Initializer/MatMul (defined at /home/user/zhangm/videoCompress/OpenDVC/tensorflow_compression/python/layers/parameterizers.py:106)  = MatMul[T=DT_FLOAT, _class=["loc:@MV_analysis/layer_0/signal_conv2d/kernel_rdft/Assign"], transpose_a=true, transpose_b=false, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MV_analysis/layer_0/signal_conv2d/irdft_3x3, MV_analysis/layer_0/signal_conv2d/kernel_rdft/Initializer/Reshape)]]
Caused by op 'MV_analysis/layer_0/signal_conv2d/kernel_rdft/Initializer/MatMul', defined at:
File "OpenDVC_train_PSNR.py", line 49, in
flow_latent = CNN_img.MV_analysis(flow_tensor, args.N, args.M)
File "/home/user/zhangm/videoCompress/OpenDVC/CNN_img.py", line 17, in MV_analysis
tensor = layer(tensor)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 374, in call
outputs = super(Layer, self).call(inputs, *args, **kwargs)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 746, in call
self.build(input_shapes)
File "/home/user/zhangm/videoCompress/OpenDVC/tensorflow_compression/python/layers/signal_conv.py", line 411, in build
regularizer=self.kernel_regularizer)
File "/home/user/zhangm/videoCompress/OpenDVC/tensorflow_compression/python/layers/parameterizers.py", line 119, in call
initializer=rdft_initializer, regularizer=regularizer)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 495, in add_variable
return self.add_weight(*args, **kwargs)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 288, in add_weight
getter=vs.get_variable)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 609, in add_weight
aggregation=aggregation)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/training/checkpointable/base.py", line 639, in _add_variable_with_custom_getter
**kwargs_for_getter)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 1487, in get_variable
aggregation=aggregation)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 1237, in get_variable
aggregation=aggregation)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 540, in get_variable
aggregation=aggregation)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 492, in _true_getter
aggregation=aggregation)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 922, in _get_single_variable
aggregation=aggregation)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 183, in call
return cls._variable_v1_call(*args, **kwargs)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 146, in _variable_v1_call
aggregation=aggregation)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 125, in
previous_getter = lambda **kwargs: default_variable_creator(None, **kwargs)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 2444, in default_variable_creator
expected_shape=expected_shape, import_scope=import_scope)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 187, in call
return super(VariableMetaclass, cls).call(*args, **kwargs)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 1329, in init
constraint=constraint)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 1437, in _init_from_args
initial_value(), name="initial_value", dtype=dtype)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 896, in
shape.as_list(), dtype=dtype, partition_info=partition_info)
File "/home/user/zhangm/videoCompress/OpenDVC/tensorflow_compression/python/layers/parameterizers.py", line 106, in rdft_initializer
init = math_ops.matmul(irdft_matrix, init, transpose_a=True)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/math_ops.py", line 2057, in matmul
a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/ops/gen_math_ops.py", line 4560, in mat_mul
name=name)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
op_def=op_def)
File "/home/user/miniconda3/envs/OpenDVC/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1770, in init
self._traceback = tf_stack.extract_stack()
InternalError (see above for traceback): Blas GEMM launch failed : a.shape=(9, 9), b.shape=(9, 256), m=9, n=256, k=9
[[node MV_analysis/layer_0/signal_conv2d/kernel_rdft/Initializer/MatMul (defined at /home/user/zhangm/videoCompress/OpenDVC/tensorflow_compression/python/layers/parameterizers.py:106)  = MatMul[T=DT_FLOAT, _class=["loc:@MV_analysis/layer_0/signal_conv2d/kernel_rdft/Assign"], transpose_a=true, transpose_b=false, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MV_analysis/layer_0/signal_conv2d/irdft_3x3, MV_analysis/layer_0/signal_conv2d/kernel_rdft/Initializer/Reshape)]]

For training with 256x256 and batch size = 4, 24GB should be more than enough. I would recommend checking if there no other jobs occupying your GPUs.


Enhance TableSize API to return compressed size in deep store

Carrying out this  from: https://github.com/apache/pinot/pull/10812#pullrequestreview-1451921617 .
It looks like a nice feature to have to see disk usage in the deep stores as well.
Creating this issue to further track discussions
I can work on this, please assign this to me. 😊
labels : feature

@mayankshriv Getting the segment-level compressed info would consume a solid time when we try to get for every segment of the large table ( probably making a API caller timeout ) . Should we instead get this info when the segment is pushed to deepstore and persist in SegmentMetadata ?

@eaugene The compressed segment size should already been persisted within the segment ZK metadata under the key segment.size.in.bytes. See #8358 for more details


Reversing animation not working in Animejs 3.1.0

Hey,
Perhaps im not understanding the reversing of animations entirely but stumbled upon a bug when reversing svg animations.
Describe the bug
SVG animation is not reversing correctly. There seems to be a difference in anime 2.2.0 and 3.1.0 with this.
To Reproduce
Steps to reproduce the behavior:
Click on the "Toggle" button in the example to toggle the animation in forward or reverse. Both scripts are the same, only difference is animejs version.
Example with Anime 3
Example with Anime 2
Expected behavior
It should reverse the animation correctly.
Desktop:

Mac OS X
Chrome 76

here's a solution :
#577 (comment)

Hi @sid3r, thanks for your response.
Ive forked the plunker with the proposed solution with anime 3. As you can see the solution is not working in this example.

Removing loop: false in your example makes it work, since the default value for loop is actually 1.

Thanks for the help @slavanossar, maybe this can be made more clear on the documentation

here's a solution :
#577 (comment)

Hi @sid3r, thanks for your response.
Ive forked the plunker with the proposed solution with anime 3. As you can see the solution is not working in this example.

Removing loop: false in your example makes it work, since the default value for loop is actually 1.

Yes, that seems to be the issue. I see in the docs it accepts true so automatically assumed it accepts false. My bad and thanks!


cmd/test2json: output is incorrect and fails to mark tests if using TestMain

In summary, using the JSON output format seems to not function correctly when using TestMain().
Assume two tests are available:

TestMain()
TestSomethingElse()

TestMain() is reserved and triggers TestSomethingElse() with m.Run(). I noticed this when using a go test to JUnit conversion tool. Initially, I thought that the bug was in the JUnit conversion tool, but then noted that the actions outputted by the json flag (in other words go tool test2json) had changed when I added TestMain():

If TestMain() passes, it does not get the "Action": "run" field, and it is missing the "Test": field in the JSON output. If it fails, it is registered as an individual test and has appropriate action fields.
If TestSomethingElse() is called from TestMain, it is missing its "Test": field in its JSON entirely on pass, but registers actions correctly if it fails.

Without TestMain():
{
  "Time":"XYZ",
  "Action":"output",
  "Test":"TestSomethingElse",
  "Output":"XYZ Test logs foo bar baz"
}

With TestMain() calling it:
{
  "Time":"XYZ",
  "Action":"output",
  "Output":"XYZ Test logs foo bar baz"
}

What version of Go are you using (go version)?

$ go version
1.17

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
amd64, gccgo, other not apparently relevant flags...
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2469022733=/tmp/go-build -gno-record-gcc-switches"

What did you do?
You can't actually run this in the code playground, as you need to run go tool test2json on a compiled go test binary (or use the -json flag)
Here's some test code you can paste into your environment, it's just TestMain() and a dummy test. https://go.dev/play/p/KDtlzPW9gDU
Compile it and run the binary as go tool test2json -t ./your_binary.

CC @rsc as the primary person in the git blame for test2json since we don't have an entry in https://dev.golang.org/owners for it.

TestMain doesn't affect this.
As indicated by the test2json help output::

usage: go tool test2json [-p pkg] [-t] [./pkg.test -test.v]

pass the -test.v  flag to include the information on the surrounding tests

Looks like you're right about -test.v! However, it's super strange to me that this action field isn't added during non -test.v runs. All log lines within a test should have that "Test" field in its JSON.


WalletConnect Session Fails to Reconnect

Has anyone had WalletConnect session issues with the Unity Boilerplate?
If I start the app and authorize via QR with MetaMask, all operations including ETH/Token sending work fine.
But if I close the app and re-open it, the WalletConnect session almost never reconnects successfully. I can tell when it fails because it is supposed to ask the wallet to sign when the application launches afaik, and it does "rarely", but most of the time restarting the game does not send a sign request to the wallet, causing the WalletConnect session to be invalid/non-working.
It has forced me to modify the boilerplate to force it to clear the WalletConnect session OnApplicationQuit, so that each time the game is launched the User is prompted to re-scan the QR code aka restart the session. Otherwise, the User is given an experience where they have a Moralis User Session but DO NOT have a valid WalletConnect Session. This means that wallet balances show, but operations like Send ETH/Token do not work. The only way I found to fix this was to clear the session when the game quits and re-authorize via QR scan each time it starts...
Trashing the WalletConnect session OnApplicationQuit by running MainMenuScript.Quit a total of 10 times seems to be a consistent workaround for now. It also prevents a ton of extra MetaMask WalletConnect Sessions from existing. Before I did this, my MM app showed like 50 open sessions to my game. Now, once I close my game, I always have zero open sessions to my game.
The big downside with this is that it forces the player to re-scan their QR code each time they launch. For a VR game, this is more complicated to do...requires us to email them the QR code 🐒 Ideally it would only ask their wallet to sign, of course.
Thank you all for this glorious boilerplate!

Hello and thanks for reporting this.
I have not seen this behavior but will try your steps to see if I can reproduce.
Please let me know which Moralis, and Unity versions, and build targets you are using in your project.

@xactant We are using Unity version 2020.3.30f1. We also tried using version 2020.3.25f1 when we tried to use 0xProf's project as we were debugging this issue: https://github.com/0xPr0f/Moralis-Unity
We have been using SDK version 1.0.9. I have not tried the latest SDK release yet, but the release notes did not mention any changes to this behavior.
We are building for Windows/Mac/Linux Standalone.
If it helps, here is a short conversation in the Discord regarding this issue: https://discord.com/channels/819584798443569182/922873005170917416/958785737778659389

This is regrading to the inconsistency of wallet connect

@KoenRijpstra YAY! This is massive, we will test this ASAP tyvm!


Add functionality to see testing coverage

Looks good! I think, though, that for the DNS/Edge Function tests, it might be a good idea to have additional unit tests for if the user inputs 'n', just to ensure that the resources aren't being deleted when that option is specified.

Changes made to address this in commit 9bf54a0

The failed Travis test is due to some inconsistencies between the master branch and testing branch in regards to a positional variable in the initialization of the SecretCertificateCreator object within my testing file. When I have that positional variable, it errors out due to the lack of that positional variable in the testing branch; when I don't have that positional variable, it errors out due to the presence of the positional variable in the master branch. This change shouldn't affect our functionality in any way and it should be resolved once the pull request is merged.


Nutika not working with lttbc ImportError: numpy._core.multiarray failed to import

NOTE: I resolved this issue as shown below and posting in case you want to add it to your list of implicit imports.

Nuitka version, full Python version, flavor, OS, etc. as output by this exact command.

python -m nuitka --version

2.4.9
Commercial: 2.6.3
Python: 3.12.3 (tags/v3.12.3:f6650f9, Apr  9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]
Flavor: CPython Official
Executable: C:\git\a48-P1150DPGApp\venv312\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 11
Version C compiler: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\Hostx64\x64\cl.exe (cl 14.3).

Note: --follow-import-to=numpy was an attempt to fix the error, but this had no effect.

Output of EXE

ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
  File "C:\Users\marti\AppData\Local\Temp\sistemi\P1150_~1\p1150_client.py", line 56, in <module>
    from gui_plots_klass import Plots

  File "C:\Users\marti\AppData\Local\Temp\sistemi\P1150_~1\gui_plots_klass.py", line 14, in <module gui_plots_klass>
    from gui_logger import Logger

  File "C:\Users\marti\AppData\Local\Temp\sistemi\P1150_~1\gui_logger.py", line 10, in <module gui_logger>
    import lttbc

ImportError: numpy._core.multiarray failed to import

Solution

- module-name: 'lttbc'
  implicit-imports:
    - depends:
        - 'numpy.core.multiarray'

Note: --follow-import-to=numpy was removed from the Nuitka args.

Thanks for the report, that's great. I am adding it for the 2.5 release.

Part of the current pre-release and will be in 2.5 once released.

same error when import pickle,
fixed by add implicit-import to stdlib3.nuitka-package.config.yml.
python 3.12.7 + nuitka 2.4.11 + numpy 2.1.2

@zincers
Posting below closed issues is a surefire way to get ignored. I am not going to guess without a fresh issue template, what kinds of mistakes and setup you have made, and I am not going to trace, or remember to check later, or searching for where something was said. Please open new issues for new issues. If the issue is closed, it's not the same even if the symptom looks similar to you.

@kayhayen
Thanks for the reminder! I initially thought it was the same problem as this issue and #3140  and would be easy to reproduce, so I just commented here instead of opening a new issue. The solutions for those two issues also worked for me, which made me jump to this conclusion a bit too quickly. But when I dug into it, I realized it was way more complicated than I thought.
The final conclusion is that this issue is due to I was trying to use pickle(Python 3) to load a pkl file generated by Python 2.7.x pickle. To start with, I don't think my issue needs much attention, since Python 2's lifecycle has been over for a while now. I'll show the process of reproducing this issue in case you're interested.
Reproduction Process
generate_pkl_file.py
#-*- coding:utf-8 -*-

import numpy as np
import pickle
import zlib

original_data = {
    'slice': [0.0, 1.0],
    'data': {
        "sec1": np.zeros(5),
        "sec2": np.ones(5),
    }
}

with open("demo_py2.pkl", 'wb') as fh:
    fh.write(zlib.compress(pickle.dumps(original_data, protocol=2)))
fh.close()

Generate two test files(demo_py2.pkl and demo_py3.pkl) using this script in both Python 2 (for me, 2.7.18) and Python 3 (for me, 3.12.7)environments. Adjust the filenames as needed during the process.
test.py
#-*- coding:utf-8 -*-

# import numpy.core.multiarray
import numpy as np
import pickle
import zlib

final_data = pickle.loads(zlib.decompress(open("demo_py3.pkl", 'rb').read()), encoding='latin1')
print("Python 3:\n", final_data)

final_data = pickle.loads(zlib.decompress(open("demo_py2.pkl", 'rb').read()), encoding='latin1')
print("Python 2:\n", final_data)

Compile this script using Nuitka(for me, 2.4.11) with the following command. Please keep import numpy.core.multiarray line is commented out
python -m nuitka --msvc=latest --standalone .\test.py

After compiling, run the generated .\test.dist\test.exe file to reproduce the issue. The output:
Python 3:
 {'slice': [0.0, 1.0], 'data': {'sec1': array([0., 0., 0., 0., 0.]), 'sec2': array([1., 1., 1., 1., 1.])}}
Traceback (most recent call last):
  File "path\to\test.dist\test.py", line 12, in <module>
ModuleNotFoundError: No module named 'numpy.core.multiarray'

By the way, I tested nuitka versions 2.4.8 to 2.4.11 and found that they all have the same output.
I did not test lower versions because they trigger other warnings, so I stopped there.
Solution

Solution 1:
As mentioned in my previous comment, add implicit-import to path\to\myenv\Lib\site-packages\nuitka\plugins\standard stdlib3.nuitka-package.config.yml

- module-name: 'pickle' # checksum: 167cb032
  implicit-imports:
    - depends:
      - 'numpy.core.multiarray'
  anti-bloat:
    - description: 'remove module ability to run as a binary'
      change_function:
        '_test': "'(lambda: None)'"

Solution 2:
Simply adding the import statement import numpy.core.multiarray before pickle.loads function should resolve the issue.
This solution meets my requirements, as in my entire project, this function is only used in one specific location, so the impact of this solution is minimal.

@zincers I am not even going to read what you wrote if you don't read what I wrote,  reply once more in this unrelated issue and I will take serious offense

Part of the 2.5 release I just made.


Running the record-wear app

The wiki says to record a gesture, first run record-wear app on the wearable device. When I try to do it, I get the following error: "Default Activity not found". Is the manifest file correct? It seems some java files are missing.

I have the same problem. Did anyone find a solution?

Copy and modify the manifest file and the main activity file from demo-wear folder into record-wear. Then you can start record-wear.

Wow thanks for the reply! It's great to see that you haven't abandoned this.
I did copy the main activity from demo-wear and that allowed me to compile
and run it. Apparently, android studio requirements for running a module
changed?
Anyway, I have trouble recording gestures. While I did manage to record a
couple, I mostly get an error message after most iterations, asking me to
try again. And of the two that I did manage to record, one never got
recognized (although I only did 4 iterations) and the other was
'recognized' all the time during tests, even if I didn't move at all or did
different movements. On the second one I did 10 iterations and the
recognized message said 87% accuracy and it just got recognized over and
over again every second until I stopped it.
What am I missing?
Thanks again for your time,
Zach
On Fri, Oct 28, 2016, 21:56 fca2011<EMAIL_ADDRESS>wrote:

Copy and modify the manifest file and the main activity file from
demo-wear folder into record-wear. Then you can start record-wear.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ibm-wearables-sdk-for-mobile/ibm-wearables-android-sdk/issues/8#issuecomment-257000763,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQeUyq1fwNRWubhrV3DC6qQXwsmmwUKGks5q4kVrgaJpZM4KKmQB
.

I had a similar experience. It worked some time, but not always.
My guess is that it is not just reliable for short gestures. You might get better results if you move your hand for a long time/distance.
My conclusion was that it couldn't do what I wanted so I stopped using it.
I hope you will have a better luck!

Oh, and here I thought it had to be small ones! ok, thanks a lot! I will give it a try and hope it works.

Simply copying the demo app doesn't provide any logic to recognize gestures, how did you manage to recognize gestures on a smartwatch?
@zachkont

@Gudui I used the record app


1.10 DCOS-39661: Check instance type instead of labels

After fixing #3092 @orlandohohmeier and I decided to propagate the check forward so that we don't regress in the code base in the way we're checking if a service is a Framework or not.

Service has already been wrapped into a Framework struct at this point. No need in re-checking its type via labels.
Closes DCOS-39661
Testing
Deploy a Framework from the Catalog, check to see if Debug tab still works.

@nLight Do we want to merge this without system tests?


Considering a concise dispatch API

Is it possible to provide a API, e.g. dispatch2, that I can use as below
LoginStore.dispatch2("LOGIN", data);

function handler(state, {type, data}) { ... }

Redux.createStore(handler);

I think it's quite common to use these two parameters.

We generally try to have one way of doing things in the core API.
If there is a dispatch2() that acts almost like dispatch() but not quite, it will cause a ton of confusion.
Also, on an unrelated note, in Redux, there is just a single store. You shouldn't have “LoginStore” and other stores—there should be just one store.

Nothing really prevents you from adding your own dispatch2 onto the store instance:
store.dispatch2 = (type, rest) => store.dispatch({ ...rest, type });

The confusion added by this approach and the fact that other packages (e.g. any Redux middleware, or bindings like React Redux) depend on the normal dispatch() signature is why I don't think you'll find it useful.

Thanks


Question: How to safely INSERT kll sketch

Hi team,
Thanks for the great extension. I'm attempting to use datasketches-python to pre-aggregate data and then insert the sketches into Postgres. I was curious, is there a recommended way to insert the serialized sketches? I noticed I can insert them as base64 encoded strings, but it doesn't appear that there is any validation on the contents of the string on INSERT, so if I accidentally insert a bad string, say "", I end up with bad data in the table that breaks queries.
Here's an example of inserting a bad sketch string. Is there function or better way to insert that would prevent the bad data from entering the table? Thanks
create table kll_sketch_test(sketch kll_float_sketch);
insert into kll_sketch_test(sketch) VALUES ('');
select kll_float_sketch_get_n(sketch) from kll_sketch_test;  -- this query breaks because of the bad sketch value

I noticed there is a kll_float_sketch_in() function, but it doesn't seem to help:
insert into kll_sketch_test(sketch) VALUES (kll_float_sketch_in(''));

Thanks for any help or pointers you can provide.

I don't quite understand the concern. Just don't insert bad data.

Hi @AlexanderSaydakov, the reason is that the Python sketches are being computed and uploaded to Postgres over a REST API. As part of API best practices, we are attempting to validate the data that clients are sending. I was expecting Postgres to validate data formats on INSERT, similar to other types like integer/float/varchar, which return an error if you attempt to insert invalid data for those formats. Is there no such validation for the kll_sketch types in this extension?

There is no validation. Sketches are binary blobs (bytea type). In and out functions handle Base64 decoding and encoding. Perhaps you could set up a trigger before insert to check? What type of checking would you do? Do you have a malicious intent in mind or corruption in transit? The trigger could do some basic check that the binary can be deserialized (say, call get_n() function). However, there is no checksum or anything like that. If corruption is possible, it can lead to incorrect results. We assumed that checking integrity of transport in outside of the scope of the library.

Thanks @AlexanderSaydakov for the tips. We are not worried about corruption in transit, but potentially users uploading incorrect sketch representations to the API. We have client side functionality for computing the sketch, but users may try to upload their own, so we want to prevent users from accidentally uploading incorrect string representations of a sketch that could lead to breaking queries. Since users have direct access to the API, we need to validate any data they send. We can't be sure our SDK produced the sketch string representation, or that it is a valid representation. For now, we're parsing the sketch in our application before inserting into the database, but I think the trigger could work as well.


style: Make proper imports ordering

Change Overview
Since we are trying to keep imports ordered consistently, this PR contains reordering of wrongly grouped imports.
find . -type f -name '*.go' -exec goimports -w -d -local github.com/kanisterio/kanister {} \; command was used
Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[x] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test
[ ] :building_construction: Build

Issues

fixes #issue-number

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

@saima-s this might be related to the linter checks you are adding. PTAL

@saima-s this might be related to the linter checks you are adding. PTAL

yes, this PR has other changes as well associated with stylecheck linter apart from import sort.


Categorize showdialog errors

[x] make sure that with each showErrorDialog we also call log.error
[x] add to log.error an extra variable {dialogShown:true} in case error dialog was shown (this should be an extra argument to sent to sentry + amplitude, meaning it can be used as filter)
[x] in cases where error is because of human action(for example trying to open invalid link) or we dont have already a log.error, then log.error should be sent to sentry with level "info" so it doesnt send email notifications
[x] categorize all errors into and add {category} variable to amplitude when logging errors

[x] network (we had some network issue error)
[x] blockchain
[x] human error
[x] unexpected

I didn't use the 'network' error category as there is only one log about connection failed in src/components/common/connectionDialog/internetConnection.js
and it is logged with warning level - so it won't be reported to the bug tracking systems.


Add foldSubmap and submap

Addresses #71 and #113.
/cc @mtolly can you check whether this works for you? I don't think we need both an ascending and descending version because you can use Data.Monoid.Dual if you want it in the other direction.

Also @mtolly I think the newtype I mentioned in #113 does exist: it's App from functors, although it doesn't yet have that Monoid instance. See https://github.com/purescript/purescript-functors/issues/12

Yep, looks great to me. Thanks for the help!

👍 Looks great!


WIP: Support systemtest parallelization

common.xml is created to have common targets (git clone stf, system
test material, etc)
it is included in systemtest/build.xml and each systemtest subdirs
build.xml
flag common_build.executed is created to make sure common.xml will
only be invoked once. That is, if systemtest/build.xml invokes
common.xml, subdirs build.xml should not invoke it (non-parallel runs).
Otherwise, each subdirs build.xml should invoke it (parallel runs).

Issue: #747
Signed-off-by: lanxia<EMAIL_ADDRESS>

Due to the lack of machines, parallel testing is done on the internal farm.
openjdk regression jdk_math: https://ci.adoptopenjdk.net/view/work in progress/job/Grinder_Sandbox/120/
functional floatSanityTests: https://ci.eclipse.org/openj9/view/all/job/Lan_Test-Grinder/4/

Below is a screenshot for parallel runs in blue ocean view:


MD tidying and initial overhaul of users controller

Shortened lines in .md files (helps to make these more editor friendly)
Initial overhaul of users controller (initialised user object, added null checking)
Start of translation overhaul

translations under /config/locales/views and /config/locales/models
translations in place for user controller

initial seed data

Love the ASCII comments in the translation files!

Thanks @AJFaraday!

No problems. I can't help the occasional big, friendly category header in code. (that was in my seeds file)


change the webpage color theme

Hey @Arman-ali-khan-786, I would like to help with this issue. :)

Hey @Arman-ali-khan-786, I would like to help with this issue. :)

please wait for HacktoberFest to start bcz this repo is participating in it ok

Oh okay, I'll work on this tomorrow after it starts then?

Hey @Arman-ali-khan-786, I would like to work on this issue.

can i work on it

@Arman-ali-khan-786 Should I start working on this?

@Arman-ali-khan-786 Should I start working on this?

yes

Hey @Arman-ali-khan-786, I would like to work on this issue.

@abitsalihu is working on it

can i work on it

@abitsalihu  is working on it hold on for now

@Arman-ali-khan-786 assign me

@abitsalihu r u still on it??

@Arman-ali-khan-786 yes I am, I will do the pr later today as I had some laptop problems. 🙂

@Arman-ali-khan-786 yes I am, I will do the pr later today as I had some laptop problems. 🙂

well i haven't got any pr

@Arman-ali-khan-786 yes you did, but you get accepting other pull requests over mine, and then you wanted me to do pull requests and push all the time, I did what you wanted then you insulted me by saying I didn't review my code (which I didn't have to do cuz you never asked for me to review it all you asked was to make a pull request and push it again), since something else was the problem when you never mentioned it. So I never sent a new PR cuz you don't know how to handle a project.
Have a great day!

@Arman-ali-khan-786 yes you did, but you get accepting other pull requests over mine, and then you wanted me to do pull requests and push all the time, I did what you wanted then you insulted me by saying I didn't review my code (which I didn't have to do cuz you never asked for me to review it all you asked was to make a pull request and push it again), since something else was the problem when you never mentioned it. So I never sent a new PR cuz you don't know how to handle a project.
Have a great day!

You were not checking the recent pr's but now you are complaining about when it's your fault, maybe be you should learn how to contribute first then tell me about how to handle projects and all that stuffs..

Learn the basics and have some ethics   Have a nice day !

I would like to work on it ....do you have some theme or design in your mind which you want me to implement or should I work on it as per my wish...

I would like to work on it ....do you have some theme or design in your mind which you want me to implement or should I work on it as per my wish...

you come up with your own, Ok....

Can I work on this issue #41 for Hackodex 2023? @Arman-ali-khan-786

Can I work on this issue #41 for Hackodex 2023? @Arman-ali-khan-786

@panditsamik  gautam is already working on it if he doesn't show up then you will be assigned ok

Maybe you can close this one....it's done

Maybe you can close this one....it's done

there always a scope for better theme so it will be open okk

Can I work on this issue #41 for Hackodex 2023? @Arman-ali-khan-786

if you have better theme than go ahead ..

@panditsamik are you still on it??

@Arman-ali-khan-786 i would like to work on this issue #41 for hacktoberfest2023.

if you're still facing any issue then please assign me.

if you're still facing any issue then please assign me.

@RitvikRaj0810 @Naman73598 is still working on it, if he is not able to do it then you can okk..
@Naman73598 any updates ???

Hey @Arman-ali-khan-786, I would like to work on this issue.

Since @Naman73598 is not responding ... then @RitvikRaj0810 you can work on this issue ok.. and @saanvibk i assign issue on first come basis so if @RitvikRaj0810 can't do it then you can work on it ok.

Ok


Updated to reflect change in PowerShell cmdlets

Category

[X] Content fix
[ ] New article

What's in this Pull Request?
As of version 0.3.*-nightly of the PnP PowerShell Cmdlets, the PnPClientSidePage Cmdlets have been replaced with matching PnPPage Cmdelts. This PR changes the old cmdlet to the new one.

Docs Build status updates of commit 4e1da1d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/general-development/sharepoint-search-rest-api-overview.md
:warning:Warning
View
Details

docs/spfx/web-parts/single-part-app-pages.md
:white_check_mark:Succeeded
View

docs/general-development/sharepoint-search-rest-api-overview.md

Line 1186, Column 1: [Warning: sensitive-language-wl - See documentation] Term 'whitelist' is sensitive and should not be used in content or code. Usage: '      <WhiteList xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">'
Line 1199, Column 1: [Warning: sensitive-language-wl - See documentation] Term 'whitelist' is sensitive and should not be used in content or code. Usage: '      </WhiteList>'
Line 1215, Column 1: [Warning: sensitive-language-wl - See documentation] Term 'whitelist' is sensitive and should not be used in content or code. Usage: '- **WhiteList** element'
Line 1219, Column 1: [Warning: sensitive-language-wl - See documentation] Term 'whitelist' is sensitive and should not be used in content or code. Usage: 'hat's specified in the **QueryProperties** element. Then, all the properties that are listed in the whitelist are copied from the incoming query to the newly constructed query object.'
Line 17, Column 94: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/hybrid/learn-about-cloud-hybrid-search-for-sharepoint' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@erwinvanhunen OP indicates this change is introduced in a nightly build from long ago. Is it correct to state that PnPClientSidePage is no longer used & instead should be replaced with PnPPage?
If so, think this PR should be expanded to first check all docs to find instances of related outdated cmdlets.

@andrewconnell FYI when trying to execute the below script with<EMAIL_ADDRESS>Set-PnPClientSidePage -Identity Home1 -LayoutType Article

I see the message:

WARNING: Please use 'Set-PnPPage'. The alias 'Set-PnPClientSidePage' will be removed in the 1.5.0 release

Docs Build status updates of commit 11da1e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/web-parts/single-part-app-pages.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add waitForAllTaskTermination

Fix segmentation fault on Carthage termination.
https://github.com/Carthage/Carthage/pull/474#issuecomment-105467060

Thanks for the pull request! :sparkles:
I think I've misunderstood the purpose, so my comments above may not be valuable. If we need to wait for all tasks to complete before exiting on the main thread, I'd prefer to incorporate that into our SignalProducers somehow (instead of calling a special function before termination—which is easy to forget).

I did want to prove what happened and how can be fixed. :smile:
I couldn't fix it with RAC way by using SignalProducer, so I wrote this instead.
Yes, it should be fixed on the way you prefer. :+1:

Ah, okay. I'm happy to give it a shot!
Thank you so much for finding the issue. :bow::star:

I hope that all reported segmentation fault on termination are on this scenario and will be fixed. :pray:

Should be fixed by #23. :tada:
Thanks again for finding that!

I'm sorry I couldn't write proper code for fix this by my self.

@norio-nomura No apologies necessary, you contributed a great deal by diagnosing the issue :bow:

@robrix Thanks :smiley:


Move deprecated components to a folder

Where does this show up:

In search, the folder is showed in the search result, which would point people to the right component

When you're in the component, in additional to the Deprecated label next to the title, it shows up in the URL as well.

Please provide before/after screenshots for any visual changes
Merge checklist

[x] Added/updated documentation

Should we also move them into the deprecated section of the nav?

@colebemis Yes! I forgot about those! my bad, fixed now!

Maybe not necessary for this PR, but we should link to the replacement components on deprecated component pages (e.g. Dialog should link to Dialog v2)

Great idea, will create another PR


Hotifx/ci vulnerability

According to this discussion, "To trigger a workflow runs on the workflow_run event, the workflow file should exist on the master or default branch", which means we need to merge it first to see if it works (and to remove that pull_request_target one)


[Feature Request] Token tone in monochrome vision

Would it be possible to have a feature that allows certain tokens to have a different tone in monochrome vision? For instance this:

could be turned to this

V10 adds basic support for this kind of thing. But PV is not going to mess with that. Implementing vision modes will be the system's responsibility most likely.


Make more libraries available

I started implementing a new plugin for this awesome project however I realized there's a lack of imported functions. So this PR makes few more libaries available when developing a plugin.

os.UserHomeDir
http.Get
http.Post
zip.OpenReader
zip.NewReader
zip.NewWriter

Also I added Unzip function to util.go. Since it's my very initial contribution please let me know if I missed something.
Here is the PR for the plugin channel and here is the repo for the plugin.

What's the use-case for making it possible for plugins to make arbitrary http requests and unzip files?

WakaTime is a plugin where eventually at the first time you install it in your machine must download a client. You can check what's about by going here www.wakatime.com and lookgin at my repo https://github.com/wakatime/micro-wakatime

I realized you approved https://github.com/micro-editor/plugin-channel/pull/57 but this PR haven't been approved yet and wakatime plugin might break if users install it.

Hmm, would you like me to unlist it until this is resolved? You can also just require a higher version (which will be necessary anyway because these changes won't be backported to 2.0.8). I suppose I'm a little concerned about the security implications of allowing plugins to make http requests, but plugins can already run arbitrary shell commands so maybe it's not hugely different from that. Would it be reasonable to ask users to manually install the cli? An alternative approach could also be to run a shell script that is bundled with the plugin to perform the installation.
Also instead of UserHomeDir, note that you can access os.getenv("HOME"), or probably even better config.ConfigDir from the import micro/config.

Allowing HTTP requests will also make it possible to create a plugin for Code::Stats.

Actually all other IDEs allow the plugins to be autonomous enough and we don't require the users to install it manually unles they want to do it. Of course that's the normal flow for WakaTime. I don't see any concerns on allowing plugins to make http requests since they can fetch/send data from Apis.

@zyedidia any update here?


Validation issue with +22588377453

Country/region affected (e.g., "US"): Ivory Coast
Example number(s) affected ("+1<PHONE_NUMBER>"): +22588377453
The phone number range(s) to which the issue applies : +225 58
The type of the number: Fixed line
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article): http://www.artci.ci/images/stories/pdf/numerotation/plan_de_numerotation_2014.pdf
link to demo

Thank you for taking the time to improve libphonenumber!
We were able to connect to +225 883 77453 but we can't find official evidence for the actual ranges that are valid. The evidence you have provided do not mention any details of 8 digit phone numbers that start with 8.
It looks like some  of the phone numbers that start with 8 are mobile.
87: http://fr.wikipedia.org/wiki/Liste_des_indicatifs_téléphoniques_en_Côte_d’Ivoire
89: http://www.goafricaonline.com/ci/62403-polymed-equipements-medicaux-abidjan-cote-ivoire
We can't support single numbers, we need context about the prefix (like 88 in this case) that makes them valid and also type of the number i.e fixed line or mobile.
Please share any official evidence you may have. See our guidelines.

FWIW I've seen four of these 88 numbers in the wild, so they're definitely being handed out.  I can't find any published reference to 88 in 225 though. ☹

@Ry4an,
Thanks for checking this issue. We agree that these 88 (8 digit) numbers are valid but we need to know what is the type (fixed-line / mobile..) of these numbers. Wikipedia states that 08 and 87 are mobile numbers. Do 88 numbers also belong to mobile? If you have any online references, please share them.

We've seen four examples of 88 numbers and they're mobile.  I'm trying to figure out which carrier.

@Ry4an,
Thanks so much for the update. As we are able to connect to the 88 numbers online and prefix (88) is close to mobile ranges (08, 87, 89) in Ivory Coast, we will go ahead and support this range as mobile range.
Please note that you have submitted this information with the knowledge that we
may use, modify, reproduce, publicly display, and distribute the information in
accordance with our open source policies. Please let us know if you did not
intend to submit the information for such use.

Excellent, much appreciated!

Fixed in release 8.0.0.


Update docs options command

react-native-cli: 1.2.0 option --configuration replaced with --config
react-native run-android --configuration
replaced with
react-native run-android --config

This is not correct, the option is called configuration (and we don't want to change that as that would be a breaking change):
$ react-native run-android --help
react-native run-android [options]
builds your app and starts it on a connected Android emulator or device
Options:
-h, --help                output usage information
--root [string]           Override the root directory for the android build (which contains the android directory)
--flavor [string]         --flavor has been deprecated. Use --variant instead
--configuration [string]  You can use `Release` or `Debug`. This creates a build based on the selected configuration. If you want to use the `Release` configuration make sure you have the `signingConfig` configured at `app/build.gradle`.
--variant [string]
--config [string]         Path to the CLI configuration file

But, this is what I see
How I can showing --configuration options into my terminal?
$ react-native run-android --help

react-native run-android [options]
builds your app and starts it on a connected Android emulator or device

Options:

  -h, --help          output usage information
  --install-debug
  --root [string]     Override the root directory for the android build (which contains the android directory)
  --flavor [string]   --flavor has been deprecated. Use --variant instead
  --variant [string]
  --config [string]   Path to the CLI configuration file

It is not available yet. It is only available in the 0.39.0-rc.0.


Option to reverse Scheduled Maintenance Update Order

Is your feature request related to a problem? Please describe.
Currently the Scheduled Maintenance has the latest information at the bottom, which makes perfect sense maybe when your viewing just one maintenance item. But on the main page, and the overview page I would argue that reversing the order (so the newest info is on top) makes the most sense.
Describe the solution you'd like
Either the default to be changed, or an option made available to reverse the order in which scheduled update information is displayed to users. In particular on the overview page. The individual scheduled maintenance item page should still display oldest to newest.

I think we only show the latest state and note on the main page. We dont show all the notes and states on the overview page.

tagged it as wontfix, but let me know if that's not the case and I'll be happy to re-open this for you.

I think we only show the latest state and note on the main page. We dont show all the notes and states on the overview page.

This is not the case from what I experienced (which is why I reported any issue at all, otherwise I would have been fine with that too).
What I'm seeing is all of the Scheduled Maintenance notes get pushed to the main page. Not just the newest one.

Fixed it: https://github.com/OneUptime/oneuptime/commit/26a4ba606e5750a4eff5a0a52688ba004a57d07a
Should be deployed by end of today.


an attemp to wrap yocto's rpm/ipk/deb into an mender artifact

bbclass to generate .mender artifact, an attempt to wrap ipk/deb/rpm packages in an update-able .mender file using existing yocto/oe build architecture.

Hey @po-cheng-technexion
thanks for submitting the PR and sorry the log response time.
Can you please answer the questions below, this would help me with reviewing the PR:

Can you please provide an example on how you would use this.
Is this something imx specific?
You seem to be porting it to zeus instead of dunfell. What is the motivation behind this?

Hi Mender Team:
The following usage describes the usage for this particular bbclass.
Add following line in conf/local.conf:
PACKAGE_CLASSES += "package-mender-artifacts"
MENDER_ARTIFACT_PACKAGES = "zip"
Then:
$ bitbake zip
This bbclass will wrap the yocto zip ipk/rpm/deb package automatically into a deployable mender-artifact file. e.g. zip-3.0-r2.aarch64-rpm-94.mender
Note: This is not IMX specific, but as an add-on to yocto build mechanism to produce mender-artifact file from existing yocto recipe
And I am sorry about PR at the zeus branch, because I was working on zeus. This bbclass should be applicable to all branches.

Hey @po-cheng-technexion,
thanks for the clarification.
Can you please decouple this from the nxp layer. Perhaps a new layer meta-mender-board-agnostic or something, just so it's clear.
And let's do the initial PR on dunfell and later see if it's cheap to backport to other versions ofter that was merged.


Format last updated dates in TrackContributing

Change

Wrap UTC Timestamped dates in new Date(x).toDateString() to help readability. New Format: "Thu Apr 23 2020"
Addresses #48

@JesseSingleton This is being deployed as we speak.


Empty Diff after import of org.rftemplate

Describe what happened
When attempting to import an org.rftemplate I ran into an issue where it detects an empty diff after importing the resource. It appears the issue stems from the outputs having some default values that want to be added but bubble up as an empty diff.
Also, oddly enough, if I create the resource through pulumi, delete it from state, then re-import it, I won't get the empty diff. It only occurs with a fresh import of the resource.
It appears it is adding the defaults provided by the provider to the outputs for example, https://github.com/Juniper/terraform-provider-mist/blob/d21d5b42f4ee8b1fe1ba35936fc451bc2ac25905/internal/resource_org_rftemplate/org_rftemplate_resource_gen.go#L111
Sample program

Import Rftemplate (manually create one, then import it)
After the import run pulumi up

import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/juniper-mist";

const config = new pulumi.Config();
const organizationId = config.requireSecret("organizationId");

const sites = junipermist.getSitesOutput({
  orgId: organizationId,
});

new junipermist.org.Rftemplate("tftemplate", {
  orgId: organizationId,
  name: "Test_Template",
  band24: {
    bandwidth: 20,
    powerMax: 18,
    powerMin: 8,
    preamble: "short",
  },
  band24Usage: "24",
  band5: {
    bandwidth: 40,
    powerMax: 17,
    powerMin: 8,
    preamble: "short",
  },
  band6: {
    bandwidth: 80,
    powerMax: 17,
    powerMin: 8,
    preamble: "short",
  },
});

Log output
N/A
Affected Resource(s)
org.Rftemplate
Output of pulumi about
Latest version of the provider 0.0.10
Additional context

Diff between resources in state after accepting the empty diff changes
--- stack_empty_diff.json	2024-08-28 16:47:29
+++ stack_after_up.json	2024-08-28 16:47:17
@@ -29,45 +29,60 @@
     "outputs": {
         "antGain24": 0,
         "antGain5": 0,
         "antGain6": 0,
         "band24": {
             "allowRrmDisable": false,
             "antGain": 0,
+            "antennaMode": "default",
             "bandwidth": 20,
             "channels": [],
             "disabled": false,
+            "power": 0,
             "powerMax": 18,
             "powerMin": 8,
             "preamble": "short"
         },
         "band24Usage": "24",
         "band5": {
             "allowRrmDisable": false,
             "antGain": 0,
+            "antennaMode": "default",
             "bandwidth": 40,
             "channels": [],
             "disabled": false,
+            "power": 0,
             "powerMax": 17,
             "powerMin": 8,
             "preamble": "short"
         },
         "band6": {
             "allowRrmDisable": false,
             "antGain": 0,
+            "antennaMode": "default",
             "bandwidth": 80,
             "channels": [],
             "disabled": false,
+            "power": 0,
             "powerMax": 17,
             "powerMin": 8,
-            "preamble": "short"
+            "preamble": "short",
+            "standardPower": false
         },
         "id": "redacted",
         "name": "Test_Template",
         "orgId": "redacted"
     },
     "parent": "urn:pulumi:dev::redacted-mist-issues::pulumi:pulumi:Stack::redacted-mist-issues-dev",
-    "protect": true,
     "provider": "urn:pulumi:dev::redacted-mist-issues::pulumi:providers:junipermist::default_0_0_10_github_/api.github.com/pulumi/pulumi-junipermist::841ba0d5-7342-420c-ae4b-4a2124a47cc3",
+    "propertyDependencies": {
+        "band24": [],
+        "band24Usage": [],
+        "band5": [],
+        "band6": [],
+        "name": [],
+        "orgId": []
+    },
     "created": "2024-08-28T22:40:47.716698Z",
-    "modified": "2024-08-28T22:40:47.716698Z"
+    "modified": "2024-08-28T23:26:57.054813Z",
+    "sourcePosition": "project:///index.ts#12,1"
 }
\ No newline at end of file

Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @zbuchheit. Thanks for reporting this issue.
Do you know if this perma-diff reproduces in Terraform?

Looks like with TF it is functionally the same, but shows the diff changes it is wanting to do for state.

Terraform Output
 terraform plan
mist_org_rftemplate.rftemplate_one: Refreshing state... [id=redacted]

Terraform used the selected providers to generate the following execution plan.
Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # mist_org_rftemplate.rftemplate_one will be updated in-place
  ~ resource "mist_org_rftemplate" "rftemplate_one" {
      ~ band_24       = {
          + antenna_mode      = "default"
          + power             = 0
            # (8 unchanged attributes hidden)
        }
      ~ band_5        = {
          + antenna_mode      = "default"
          + power             = 0
            # (8 unchanged attributes hidden)
        }
      ~ band_6        = {
          + antenna_mode      = "default"
          + power             = 0
          + standard_power    = false
            # (8 unchanged attributes hidden)
        }
      ~ id            = "redacted" -> (known after apply)
        name          = "Test_Template"
        # (5 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Awesome. Thanks for running that down.
This might be related to https://github.com/pulumi/pulumi-terraform-bridge/issues/1501, where we are correctly discovering a diff (as TF does) but we are not displaying what is changing.

makes sense, I don't think it is functionally blocking, but wanted to make sure it was tracked and figured it would be a good example to help triage in the bridge.

this seems to be fixed in the latest release of the upstream provider

well, apparently I have to be taught this lesson 3 times today


[FLINK-31884][table-planner] Fix the issue that upgrade ExecNode to new version causes the old serialized plan failed to pass Json SerDe round trip

What is the purpose of the change
This PR aims to fix the issue FLINK-31884. The details can be found that the ticket description.
Brief change log
Make ExecNodeBase#getContextFromAnnotation return context when isCompiled is true.
Verifying this change
The issue can be reproduced by rolling back the changes made on src and running the test ExecNodeVersionUpgradeSerdeTest. The change can be verified by applying the changes made on src and running the test again.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@godfreyhe, would you mind helping to review the fix?


web: Table header looks not so nice with right alignment

A listing of jobs for example has the header right aligned and the table content left aligned, that looks puzzling. It looks much better with left alignement for both header and content.

@jschwender Let's track this in your PR...


RDS snapshots are not being cleaned up

Describe the bug
RDS snapshots are not being deleted. The lambda logs show that the cleanup of RDS snapshots started and finished, but the RDS snapshots are not deleted. Tried adding a print statement to the for loop located here (https://github.com/servian/aws-auto-cleanup/blob/main/app/src/rds_cleanup.py#L156) and it is not being printed, so it is not getting here.
To Reproduce
Steps to reproduce the behavior:

Enable RDS snapshot cleanup
Run the cleanup and check if RDS snapshots are deleted

Expected behavior
RDS snapshots older then the date specified should be deleted
AWS (please complete the following information):

Region: us-east-1

Hey @atqhg23 thanks for raising this. This cleanup only covers manual snapshots taken of RDS instances. As you can see on line 147 we specifically filter our snapshot types.
This is generally done because automatic RDS snapshots should already be cleaned up automatically by AWS based on your snapshot retention period.
Can you please validate this and come back to me with your findings.

Thanks for the response. I confirmed that all of the snapshots in the account are manual under Snapshot type, but they're still not showing up.
When checking the lambda logs, it just mentions it started and finished the cleanup of RDS snapshots.
The execution log is also not showing any RDS snapshots.

@atqhg23 could you please run the following CLI command for me and show me the results. Please remove any PII data first:
aws rds describe-db-snapshots --region us-east-1 --output json

Output below. Interesting to point out is that this command is only showing automated snapshots even though I have a few manual snapshots in my account as well.
{
    "DBSnapshots": [
        {
            "DBSnapshotIdentifier": "rds:rds-ex-123",
            "DBInstanceIdentifier": "rds-ex-456",
            "SnapshotCreateTime": "2022-05-02T17:03:20.585000+00:00",
            "Engine": "mysql",
            "AllocatedStorage": 5,
            "Status": "available",
            "Port": 3306,
            "AvailabilityZone": "us-east-1b",
            "VpcId": "vpc-123",
            "InstanceCreateTime": "2022-05-02T16:51:24.366000+00:00",
            "MasterUsername": "masteruserhere",
            "EngineVersion": "5.7.37",
            "LicenseModel": "general-public-license",
            "SnapshotType": "automated",
            "OptionGroupName": "default:mysql-5-7",
            "PercentProgress": 100,
            "StorageType": "gp2",
            "Encrypted": true,
            "KmsKeyId": "arn:aws:kms:us-east-1:123456123456:key/abcdef-abcdef-abcdef",
            "DBSnapshotArn": "arn:aws:rds:us-east-1:123456123456:snapshot:rds:rds-ex-123",
            "IAMDatabaseAuthenticationEnabled": false,
            "ProcessorFeatures": [],
            "DbiResourceId": "db-abcdefabcdefabcdef",
            "TagList": [
                {
                    "Key": "key",
                    "Value": "val"
                }
            ],
            "OriginalSnapshotCreateTime": "2022-05-02T17:03:20.585000+00:00",
            "SnapshotTarget": "region"
        },
        {
            "DBSnapshotIdentifier": "rds:rds-ex-456-2022-05-03-04-08",
            "DBInstanceIdentifier": "rds-ex-456",
            "SnapshotCreateTime": "2022-05-03T04:08:15.512000+00:00",
            "Engine": "mysql",
            "AllocatedStorage": 5,
            "Status": "available",
            "Port": 3306,
            "AvailabilityZone": "us-east-1b",
            "VpcId": "vpc-123",
            "InstanceCreateTime": "2022-05-02T16:51:24.366000+00:00",
            "MasterUsername": "masteruserhere",
            "EngineVersion": "5.7.37",
            "LicenseModel": "general-public-license",
            "SnapshotType": "automated",
            "OptionGroupName": "default:mysql-5-7",
            "PercentProgress": 100,
            "StorageType": "gp2",
            "Encrypted": true,
            "KmsKeyId": "arn:aws:kms:us-east-1:123456123456:key/abcdef-abcdef-abcdef",
            "DBSnapshotArn": "arn:aws:rds:us-east-1:123456123456:snapshot:rds:rds-ex-456-2022-05-03-04-08",
            "IAMDatabaseAuthenticationEnabled": false,
            "ProcessorFeatures": [],
            "DbiResourceId": "db-abcdefabcdefabcdef",
            "TagList": [
                {
                    "Key": "key",
                    "Value": "val"
                }
            ],
            "OriginalSnapshotCreateTime": "2022-05-03T04:08:15.512000+00:00",
            "SnapshotTarget": "region"
        },
        {
            "DBSnapshotIdentifier": "rds:rds-bcd-456-2022-05-02-17-02",
            "DBInstanceIdentifier": "rds-bcd-456",
            "SnapshotCreateTime": "2022-05-02T17:02:08.365000+00:00",
            "Engine": "postgres",
            "AllocatedStorage": 5,
            "Status": "available",
            "Port": 5432,
            "AvailabilityZone": "us-east-1b",
            "VpcId": "vpc-123",
            "InstanceCreateTime": "2022-05-02T16:50:52.263000+00:00",
            "MasterUsername": "masteruserhere",
            "EngineVersion": "11.13",
            "LicenseModel": "postgresql-license",
            "SnapshotType": "automated",
            "OptionGroupName": "default:postgres-11",
            "PercentProgress": 100,
            "StorageType": "gp2",
            "Encrypted": true,
            "KmsKeyId": "arn:aws:kms:us-east-1:123456123456:key/abcdef-abcdef-abcdef",
            "DBSnapshotArn": "arn:aws:rds:us-east-1:123456123456:snapshot:rds:rds-bcd-456-2022-05-02-17-02",
            "IAMDatabaseAuthenticationEnabled": false,
            "ProcessorFeatures": [],
            "DbiResourceId": "db-AAABBBCCCDDDD",
            "TagList": [
                {
                    "Key": "key",
                    "Value": "val"
                }
            ],
            "OriginalSnapshotCreateTime": "2022-05-02T17:02:08.365000+00:00",
            "SnapshotTarget": "region"
        },
        {
            "DBSnapshotIdentifier": "rds:rds-bcd-456-2022-05-03-04-14",
            "DBInstanceIdentifier": "rds-bcd-456",
            "Engine": "postgres",
            "AllocatedStorage": 5,
            "Status": "creating",
            "Port": 5432,
            "AvailabilityZone": "us-east-1b",
            "VpcId": "vpc-123",
            "InstanceCreateTime": "2022-05-02T16:50:52.263000+00:00",
            "MasterUsername": "masteruserhere",
            "EngineVersion": "11.13",
            "LicenseModel": "postgresql-license",
            "SnapshotType": "automated",
            "OptionGroupName": "default:postgres-11",
            "PercentProgress": 1,
            "StorageType": "gp2",
            "Encrypted": true,
            "KmsKeyId": "arn:aws:kms:us-east-1:123456123456:key/abcdef-abcdef-abcdef",
            "DBSnapshotArn": "arn:aws:rds:us-east-1:123456123456:snapshot:rds:rds-bcd-456-2022-05-03-04-14",
            "IAMDatabaseAuthenticationEnabled": false,
            "ProcessorFeatures": [],
            "DbiResourceId": "db-AAABBBCCCDDDD",
            "TagList": [
                {
                    "Key": "key",
                    "Value": "val"
                }
            ],
            "SnapshotTarget": "region"
        }
    ]
}

Ah I see the issue my bad, I just confirmed that this is actually working as expected.
The only manual snapshots I had were of Aurora instances which are Cluster snapshots. I created a manual snapshot of a MySQL instance and this snapshot was shown in the output the command you mentioned above, and I confirmed the cleanup deleted this snapshot.
Any thoughts on expanding the cleanup to include RDS clusters and cluster snapshots?

Shouldn't be too hard. Should be able to add support in the next few days 🤞

Give it a go, https://github.com/servian/aws-auto-cleanup/tree/rds-clusters

Thanks! I just finished testing this and validated that both clusters and cluster snapshots are getting deleted.
I had a question about one thing though. A cluster can't be deleted if it contains DB instances which is fine since the next cleanup run can delete the clusters, but if a cluster has scaling enabled, I think these clusters would never get deleted since they would scale back up allowing these clusters to remain. Would it be possible to remove scaling from the clusters that are targeted as part of the cleanup allowing the next cleanup run to delete the clusters?
This is the error from CloudTrail that came up when trying to delete an cluster with an instance in it.
"errorCode": "InvalidDBClusterStateFault",

"errorMessage": "Cluster cannot be deleted, it still contains DB instances in non-deleting state.",

Oh right, wasn't aware that a Cluster actually contains DB Instances. Makes sense. What we can do then is run the cleanup of DB Instances first, then Clusters. This will create a bit of complexity whereby you can whitelist the Instance and therefore prevent the Cluster from ever being deleted. You of course might not understand this behaviour.
The other way to approach this is, if the Cluster is to be deleted, we delete all the DB Instances within the Cluster first then the Cluster.
Thoughts?

I think the second approach would be better, but I imagine the same thing would happen where if an instance from a cluster is whitelisted, then the cluster won't be deleted, but I think that makes sense since I would think if a user is whitelisting an instance inside a cluster, they would also want to keep the cluster.

However, the Cluster can have multiple Instances, so do we keep only the ones allowlisted or check if any are before deleting or skipping?

Good point, to be honest I'm not sure about this.
Did some brief research and found some info that may be useful:
Link: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.CreateInstance.html
By default, an Aurora DB cluster contains a primary DB instance that performs reads and writes, and, optionally, up to 15 Aurora Replicas (reader DB instances)

More info: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.html
I'm thinking if a cluster is whitelisted, all the instances within should be whitelisted as well, and vice versa where if an instance within a cluster is whitelisted, the cluster itself should be whitelisted which would whitelist all instance within it.
With the rest of the instances being reader instances though, this makes me lean towards just keeping the instances that are whitelisted and deleting the rest within the cluster.

Thinking about this some more, if I'm thinking about this right, there would be 2 scenarios:
Cluster with scaling enabled

If scaling is enabled, a min and max of read replicas is specified so the option that's chosen in terms of what to do when a resource is allowlisted won't matter for these, since the scaling policy will take over.

Cluster with scaling disabled

Readers are manually added from my understanding, so in this case I think it makes sense to only allowlist the instances that are specifically allowlisted and delete the rest.

All this to say that I think only keeping the allowlisted makes the most sense since it'll have a cost saving impact for clusters without scaling, and won't really impact clusters with scaling enabled

Thanks for that insight @atqhg23. I've made a change to the code to remove DB Instances present within the Cluster before removing the Cluster.
Can you pull the latest code and validate it?

Thanks! I just tested this and here is what I found:

Clusters are now deleted along with the instances inside the cluster
The execution log is not showing the action for RDS instances that are part of a cluster
Allowlisting one instance inside a cluster, but not having the cluster allowlisted still deletes the allowlisted instance
Allowlisting a cluster keeps all instances inside the cluster alive

Thanks very much for that. Looks like it's working as expected. I'll add some logging for the deletion of the DB Instances within the Cluster.
To your third point regarding allowlisting DB Instances, I went off your last comment which was, if the Cluster is not allowlisted, then all DB Instances within the Cluster are deleted no matter if they are allowlisted or not.
I think this is much easier to understand for everyone. Allowlist a DB Instance if it's not Cluster-based, or allowlist the Cluster.

Awesome, thanks, yeah that makes sense

The logging is there, just as DEBUG not INFO. I think DEBUG is enough as we're cleaning up the Cluster not the Instances here.

Ah I thought you were referring to adding the action in the execution log for RDS instances inside a cluster. In the website, the action field in the execution log is empty for instances that are part of a cluster.
One other thing to mention which may not be that big of a deal is that the website is currently allowing users to add RDS instances to the allow list from the execution log which may confuse users thinking that their RDS instance that's part of a cluster will be whitelisted when it actually depends on whether the cluster is allowlisted or not.

I changed the behaviour of the DB Instance cleanup to ignore Instances that are part of a Cluster.
See https://github.com/servian/aws-auto-cleanup/blob/rds-clusters/app/src/rds_cleanup.py#L269
Since we now added Cluster cleanup, DB Instances within Clusters will only be cleaned up as part of the Clusters cleanup.
It should resolve the issues you raised.

I see, so this is working as intended, but it leaves the instances that are part of a cluster with an empty action since there is no resource_action for instances that are part of clusters. I think it would be solved by adding a resource_action for the instances in the clusters function. Testing this on my end at the moment

It shouldn't. The execution log code only runs when a DB Instance is not part of a cluster.
https://github.com/servian/aws-auto-cleanup/blob/rds-clusters/app/src/rds_cleanup.py#L322
Maybe you have an older version before I fixed that :)

Hmmm interesting, my code matches what's in the link above, but getting the same (picture below)

will look more into this, thanks again for all the help

Ok I think I got it, I hope this helps better explain the issue. I added the two lines below above this line https://github.com/servian/aws-auto-cleanup/blob/rds-clusters/app/src/rds_cleanup.py#L269 and now an action is being shown for the instances that are not part of a cluster. The instances  function was just displaying the resources action for resources outside of a cluster only.
if not resource.get("DBClusterIdentifier"):
    resource_action = "PART OF CLUSTER"

Thanks for that, but the issue here is that DB Instances within a cluster should be completely ignored during the cleanup of DB Instances. They should never appear in the execution log in the first place.
Let me run my own tests on this to validate just in case.

Oh I see what you meant now, missed the mark on that, yeah that would be much better

Hi, just following up, did you get a chance to test this on your end?

I did, looks like it works as expected. Only the Cluster is showing up in the execution logs.

Thanks, I see the issue, my code did not have the execution log shifted over.
Thanks again for all the help with this!


What data is made anonymous?

It is unclear to me what data will remain, and what will be removed before the Flow is made into a template.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3bf8d0d2-3a6f-c3f1-494d-b0ea73c22f9b
Version Independent ID: 41bc35b2-5a4d-7406-1ae7-27b292033fcd
Content: Submit a flow template - Microsoft Flow
Content Source: flow-docs/publish-a-template.md
Service: flow
GitHub Login: @sunaysv
Microsoft Alias: sunayv

@clearab Thanks for asking. I've contacted the team about this and will let you know what I learn about this issue. Thanks!

@clearab We essentially remove all data from your flows before they are published as templates. Thank you.


linked to issue #2222-(stop loading nodes in lazy loading)

Hi,
this is related to a closed issue #2222 which i created sometime ago. kindly provide directions on how to stop already initiated open_node functions. since I have many nodes and levels in my jstree i need to stop loading the node(for which open_node is called and being executed) except the last node that was clicked to open.

Here is a demo of cancelling node loading. Once cancelled (after 1 second), the node can be opened again:
http://jsfiddle.net/nuy5r78b/


Add Logos to TwentyItem

Hey! Thanks for the great work! I'm building my resume and a nice addition would be to be able to add logos (of the university, company, etc.) to each item, do you think you can do it?

I added the support to Icon in both sections and twenty items.
Thank you for your suggestions!
Enjoy.

Support Fontawesome Icons new class option \documentclass[icon]{twentysecondcv}, using the name of the icon available in the documentation of the package here.
The Fontawesome version requires the Fontawesome installed. Notice that the  Fontawesome is already available in Overleaf.com.
Section with Icon:

\sectionicon{icon-name}{section-name}

Twenty icon items environment

\begin{twentyicon}
  \twentyitemicon
    {icon name}
    {year}
    {title}
    {place}
    {description}
\end{twentyicon}

Twenty items icon short environment

\begin{twentyshorticon}
  \twentyitemshorticon
    {icon name}
    {year}
    {description}
\end{twentyshorticon}


Check collapse state of tree node when doing recursive refresh

Fixes #127035

@joaomoreno I'm not sure if this is the right fix, but I'm sure you know!

Sorry for the delay here @alexr00, will take a look at it until Monday tops!

This is why I don't like *ByDefault options. They usually mean "take this value the very first time you see a node"... but now we're treating it as "take this value every time you refresh and the node goes stale"... it's very confusing as an API. But I don't have a better suggestion and we want to fix the issue, so let's merge it. A test case would've been nice 😉 I added one.


refactor!: remove _DCBase

This removes the _DCBase parent class, which removes the .copy() and .replace() methods from the various state classes. Instead, we force people to import copy and/or dataclasses and use copy.deepcopy() and/or dataclasses.replace().

funnily enough, I saw in some of the other PRs that you've in fact been using dcbase.replace, did you change your mind or are you creating more work for yourself? :D

The later :smile:. It felt tidiest at the time to have the PR match the current code rather than something in another PR, but that's probably overthinking things and I should have indeed just gone straight to dataclasses.replace.


Non-blocking build command

Did you check docs the docs?

[X] I have read all the lazy docs

Is your feature request related to a problem? Please describe.
I'd like to run cargo install in the build command before a plugin is ran without it completely blocking neovim.
Describe the solution you'd like
Handle build commands asynchronously.
Describe alternatives you've considered
N/A
Additional context
No response

Buildin is non-blocking. See this example, that builds Neovide on install of schemastore:
  { "b0o/SchemaStore.nvim", build = "cargo install --git https://github.com/neovide/neovide" },

I have a build command set to cargo install ripgrep fd-find and it completely blocks any action in the editor while it's being installed.
https://github.com/ok-nick/dotfiles/blob/main/nvim/lua/plugins/telescope.lua#L24

maybe you are just on a slow computer? Cargo install does a lot of things concurrently. The build command is async, but probably the main Neovim loop gets too little cpu to do its thing in your case.
For me, doing a cargo install in a build, keeps showing lazy and properly shows progress info coming from the build command.
fyi: internally I use LUV spawn

For me, doing a cargo install in a build, keeps showing lazy and properly shows progress info coming from the build command.

This also happens to me, I see the progress updates and the display, but it doesn't let me do anything else in my editor while the command is running. I can assure you that my computer isn't slow.


Pinchot is GHC 8 compatible

Looks like there's a missing file in the sdist tarball:
> /tmp/stackage-build8$ stack unpack pinchot-<IP_ADDRESS>
Unpacked pinchot-<IP_ADDRESS> to /tmp/stackage-build8/pinchot-<IP_ADDRESS>/
> /tmp/stackage-build8/pinchot-<IP_ADDRESS>$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup configure --package-db=clear --package-db=global --package-db=/home/stackage/work/builds/nightly/pkgdb --libdir=/home/stackage/work/builds/nightly/lib --bindir=/home/stackage/work/builds/nightly/bin --datadir=/home/stackage/work/builds/nightly/share --libexecdir=/home/stackage/work/builds/nightly/libexec --sysconfdir=/home/stackage/work/builds/nightly/etc --docdir=/home/stackage/work/builds/nightly/doc/pinchot-<IP_ADDRESS> --htmldir=/home/stackage/work/builds/nightly/doc/pinchot-<IP_ADDRESS> --haddockdir=/home/stackage/work/builds/nightly/doc/pinchot-<IP_ADDRESS> --flags=
Configuring pinchot-<IP_ADDRESS>...
Warning: 'hs-source-dirs: newTemplateHaskell' directory does not exist.
> /tmp/stackage-build8/pinchot-<IP_ADDRESS>$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup build
Building pinchot-<IP_ADDRESS>...
Preprocessing library pinchot-<IP_ADDRESS>...
Setup: can't find source for Pinchot/Internal/TemplateHaskellShim in lib,
newTemplateHaskell, dist/build/autogen


Deleted Team Still Showing in Active Incidents

We have just upgraded to v2 and created a new Team to verify functionality. After creating the new team, I went into the Teams admin center and deleted the first Team incident that we made. I then went into the Teams EOC application and noticed that the deleted Team's linked incident is still showing. When attempting to go into the active incident to make it inactive, it just has the loading circle constantly.

Hi @DoxeyS ,
To delete the incident completely, you need to delete the Team and the item associated to that incident from the TEOC-IncidentTransaction SharePoint List. Could you please delete the item from the list, so it will not be shown in the dashboard? Thanks!
Thanks again for trying the new TEOC 2.0 version. Please feel free to reach out to us if you face any issues.

Thank you! That appears to have been what was needed! I'll close this.


UI format suggestions

With most people using widescreen these days, vertical space is at a premium. I think if the GUI layout could be compact it would help in that way.

weapon-abilities and spell-abilities should have label and value side-by-side like stats
artifacts-list could use a column-width, 10em looked pretty good for me
armor experience could follow armor in the same row
I think it would be helpful to have weight carried in the player-stats section for visibility

Is there technical reason for non-parity between display of armor and weapons in the inventory? Worn items have their own section, but weapons appear in the main list with "ready" note. Putting wearables in the main list with similar notation seems reasonable.
Damage status is colored for quick identification in the game history. Having the same color coding in the player status would be great.
I like the choice of font. Adds a little atmosphere but still very legible at normal text size. Would it be a worthwhile extension to allow adventures to suggest a font for the history panel? Lombardic vs fraktur vs celtic fonts all evoke different periods and settings. If it could be pulled in from a free site like is done with Mirza now...

I've been thinking about layout improvements for the status sidebar for a while. There are several possibilities, but I have to make sure they work on mobile screens, too. I'll do some tinkering and see what I can come up with. It certainly gets a bit unwieldy when you're carrying a lot of artifacts.
Coloring the damage status is a good idea. That should be pretty easy.
The font idea is interesting. I've been thinking of implementing a theme system at some point. That would allow users to choose themes like Parchment (the current theme) or classic Apple II. I hadn't thought of having per-adventure themes, but the idea has some possibilities. It might be a while before I get to it, though.


Icon layer does not render certain icon sets like gi or fa, but works with others like md

This was an issue with the icon expecting to render at different resolutions. I've updated the scaling so they are all scaled to the expected resolution


TO DB- Mapping roles to capabilities P2 (portal, federations, steering)

What does this PR do?
This PR follows #2748, and should be merged after
Included in this PR:
portal
federations
steering
I'm splitting the PR to separate the seed migration from the other migration.
This was the original PR: #2704
Also, this PR is blocking #2038
Which TC components are affected by this PR?
Traffic Ops is the only affected component, except the changes only exist in the database and are not used yet functionally.
What is the best way to verify this PR?
Run the migrations, check the summary, and check the contents of the database.
Check all that apply

[ ] This PR includes tests
[ ] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[x] This PR includes all required license headers
[x] This PR does NOT fix a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2327/
Test PASSed.


Cannot build app with flutter_form_builder: ^5.0.0 as dependency

Hi! I have some problem with dependency when i build myapp.
[sahatyapp] flutter pub get
Running "flutter pub get" in sahatyapp...
Because vin_decoder >=0.1.2 <0.1.3 depends on http ^0.12.1 which depends on http_parser >=0.0.1 <4.0.0, vin_decoder >=0.1.2 <0.1.3 requires http_parser >=0.0.1 <4.0.0.

And because validators ^2.0.1 depends on vin_decoder ^0.1.2 and vin_decoder >=0.1.3 <0.2.0-nullsafety depends on http ^0.12.2, validators ^2.0.1 requires http_parser >=0.0.1 <4.0.0 or http ^0.12.2.

Because no versions of http match >0.12.2 <0.13.0 and http 0.12.2 depends on http_parser >=0.0.1 <4.0.0, http ^0.12.2 requires http_parser >=0.0.1 <4.0.0.

Thus, validators ^2.0.1 requires http_parser >=0.0.1 <4.0.0.

And because flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0 depends on validators ^2.0.1, flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0 requires http_parser >=0.0.1 <4.0.0.

And because firebase_auth >=1.0.3 depends on firebase_auth_web ^1.0.5 which depends on http_parser ^4.0.0, flutter_form_builder >=4.0.0-alpha.3 <6.0.0-nullsafety.0 is incompatible with firebase_auth >=1.0.3.

So, because sahatyapp depends on both firebase_auth ^1.0.3 and flutter_form_builder ^5.0.0, version solving failed.
pub get failed (1; So, because sahatyapp depends on both firebase_auth ^1.0.3 and flutter_form_builder ^5.0.0, version solving failed.)

My  pubspec.yaml is:
environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  firebase_core: "^1.0.3"   #"^0.7.0"
  firebase_auth: "^1.0.3"  #0.20.0+1
  firebase_database: "^6.0.0"
  cloud_firestore:  "^1.0.4"     #"^0.16.0+1"
  intl: "^0.17.0"   #0.16.1
  hive: "^2.0.2"
  hive_flutter: "^1.0.0"

  cupertino_icons: ^1.0.0
  provider: ^4.1.2
  flutter_form_builder: ^5.0.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  hive_generator: ^1.0.1
  build_runner: ^1.12.2

version "^6.0.0-nullsafety.1"  is work

Solved with new versions


Add support for .net core 3.0 preview7

Will have to park this until 3.0 is officially out. Once its out release v6 that will support only 3.0. Hard to maintain multi framework support.

Thanks for your input. I took this work and added #92

@nabinked appreciate your mention.
I was wondering would this version still work with.net core 2.x? If not, perhaps you could use the conditional code statements like in the pull request so any new changes can be supported in both versions?


Add Akzeriyyuth by Feryquitous

Song Name
Akzeriyyuth
Artist Name
Feryquitous
Source
Youtube
Youtube Link
Ri2NKT7107k
Direct File Link
No response
Song ID
1
Start Offset [ms]
0
Extra
Created from Auto Nong.

accept


Updated the Magic Pass to use the proper standard for toString

__toString was not detected but __tostring was instead.
The test class was written was using the latter as well.

Cheers


How should I train my dataset?

Hello, I would like to use your model to train on my own dataset. My dataset consists of point clouds from different viewpoints of a statue. However, I do not have the corresponding rotation and translation matrices between the point clouds pairwise. How can I address this issue? Thank you!

I have a similar problem, I don't know how to calculate the overlap rate of homemade datasets, can you help? Thank you

Please refer to #34.