OrtPerfTuning failed when running with the example.

I was trying to run the example DML squeezenet. But I got an error.
[2023-08-10 14:09:39,485] [DEBUG] [engine.py:539:resolve_goals] Resolving goals: {'latency': {'avg': None}}
[2023-08-10 14:09:39,487] [DEBUG] [engine.py:558:resolve_goals] No baseline got as no goal is provided the the goal is threshold
[2023-08-10 14:09:39,491] [DEBUG] [engine.py:460:run_search] Step 1 with search point {'OnnxConversion': {}, 'OnnxFloatToFloat16': {}, 'OrtPerfTuning': {}} ...
[2023-08-10 14:09:39,493] [DEBUG] [engine.py:725:_run_passes] Running pass OnnxConversion
Using cache found in C:\Users\yzhou/.cache\torch\hub\pytorch_vision_v0.10.0
============== Diagnostic Run torch.onnx.export version 2.0.1+cpu ==============
verbose: False, log level: Level.ERROR
======================= 0 NONE 0 NOTE 0 WARNING 0 ERROR ========================

[2023-08-10 14:09:41,043] [DEBUG] [engine.py:725:_run_passes] Running pass OnnxFloatToFloat16
e:\Users\yzhou\onnx projects\Olive_test\venv\lib\site-packages\onnxconverter_common\float16.py:43: UserWarning: the float32 number 1.7538578589437748e-08 will be truncated to 1e-07
  warnings.warn("the float32 number {} will be truncated to {}".format(pos_min, min_positive_val))
[2023-08-10 14:09:41,302] [DEBUG] [engine.py:725:_run_passes] Running pass OrtPerfTuning
[2023-08-10 14:09:42,588] [INFO] [perf_tuning.py:72:tune_onnx_model] Run tuning for: [('provider', 'DmlExecutionProvider'), ('execution_mode', 'ORT_SEQUENTIAL'), ('ort_opt_level', 99), ('io_bind', False)]
ERROR:root:Optimization failed for tuning combo ('DmlExecutionProvider', 'ORT_SEQUENTIAL', 99, False)
[2023-08-10 14:11:15,823] [INFO] [perf_tuning.py:81:tune_onnx_model] Best result: {'test_name': 'pretuning', 'latency_ms': 2.4117}
[2023-08-10 14:11:15,844] [DEBUG] [engine.py:898:_evaluate_model] Evaluating model ...
[2023-08-10 14:11:16,349] [DEBUG] [footprint.py:90:resolve_metrics] There is no goal set for metric: {metric_name}.
[2023-08-10 14:11:16,350] [DEBUG] [footprint.py:90:resolve_metrics] There is no goal set for metric: {metric_name}.
[2023-08-10 14:11:16,350] [DEBUG] [engine.py:765:_run_passes] Signal: {'latency-avg': 13.23219, 'latency-max': 14.0571, 'latency-min': 11.7933}
[2023-08-10 14:11:16,355] [INFO] [footprint.py:168:get_pareto_frontier] pareto frontier points: 2_OrtPerfTuning-1-db4d7470ffd292aaa61802d59d85b66a-gpu-cpu {'latency-avg': 13.23219, 'latency-max': 14.0571, 'latency-min': 11.7933}
[2023-08-10 14:11:16,356] [INFO] [engine.py:475:run_search] Output all 1 models
[2023-08-10 14:11:16,501] [DEBUG] [engine.py:539:resolve_goals] Resolving goals: {'latency': {'avg': None}}
[2023-08-10 14:11:16,502] [DEBUG] [engine.py:558:resolve_goals] No baseline got as no goal is provided the the goal is threshold
[2023-08-10 14:11:16,504] [DEBUG] [engine.py:460:run_search] Step 1 with search point {'OnnxConversion': {}, 'OnnxFloatToFloat16': {}, 'OrtPerfTuning': {}} ...
[2023-08-10 14:11:16,504] [DEBUG] [engine.py:725:_run_passes] Running pass OnnxConversion
[2023-08-10 14:11:16,507] [DEBUG] [engine.py:789:_run_pass] Loading model from cache ...
[2023-08-10 14:11:16,510] [DEBUG] [engine.py:725:_run_passes] Running pass OnnxFloatToFloat16
[2023-08-10 14:11:16,513] [DEBUG] [engine.py:789:_run_pass] Loading model from cache ...
[2023-08-10 14:11:16,527] [DEBUG] [engine.py:725:_run_passes] Running pass OrtPerfTuning
[2023-08-10 14:11:16,539] [DEBUG] [engine.py:789:_run_pass] Loading model from cache ...
[2023-08-10 14:11:16,542] [DEBUG] [engine.py:898:_evaluate_model] Evaluating model ...
[2023-08-10 14:11:16,550] [DEBUG] [engine.py:902:_evaluate_model] Loading evaluation from cache ...
[2023-08-10 14:11:16,551] [DEBUG] [footprint.py:90:resolve_metrics] There is no goal set for metric: {metric_name}.
[2023-08-10 14:11:16,552] [DEBUG] [footprint.py:90:resolve_metrics] There is no goal set for metric: {metric_name}.
[2023-08-10 14:11:16,552] [DEBUG] [engine.py:765:_run_passes] Signal: {'latency-avg': 13.23219, 'latency-max': 14.0571, 'latency-min': 11.7933}
[2023-08-10 14:11:16,557] [INFO] [footprint.py:168:get_pareto_frontier] pareto frontier points: 2_OrtPerfTuning-1-db4d7470ffd292aaa61802d59d85b66a-gpu-cpu {'latency-avg': 13.23219, 'latency-max': 14.0571, 'latency-min': 11.7933}
[2023-08-10 14:11:16,557] [INFO] [engine.py:475:run_search] Output all 1 models
[2023-08-10 14:11:16,559] [INFO] [engine.py:318:run] No packaging config provided, skip packaging artifacts

And it only generated two models. I think it should generate 3. There should be one for OrtPerfTuning.

No change to the code. Does anybody have the same issue?

This happened because it found that the original model to the perf_tuning pass had the best inference latency. You can see it in the logs where it says Best result: {'test_name': 'pretuning', 'latency_ms': 2.4117}. So the output model of the perf_tuning pass is the same as the input. If you open the 2_OrtPerTuning-....json file, you should see that me model path is the same as 1_OnnxFloat.....

OK.
But the log message is not friendly for users like me. Maybe we can use the warning log level and say the model is good enough so PerTuning is skipped?
And if the model is good enough, why choose it to write the example?

Sorry, I was not clear in my response. My initial response was incorrect so I strike-throughed the comment.
PerfTuning was not skipped. It ran but chose the original model's inference settings to be the best in the environment you ran it on. On ours, it was not.
For context, the output onnx model of olive consists of the actual .onnx file and the corresponding inference settings dict that is used to create the onnxruntime inference session.
Regardless of what the best inference setting was, the perf-tuning pass doesn't create a new .onnx file since it's the same as the original .onnx file. What might differ is the inference_setting which can be seen in the 2_OrtPerfTuning-...json file. That file also points you to the .onnx file (=1_OnnxFloat.../model.onnx).

[2023-08-10 14:09:42,588] [INFO] [perf_tuning.py:72:tune_onnx_model] Run tuning for: [('provider', 'DmlExecutionProvider'), ('execution_mode', 'ORT_SEQUENTIAL'), ('ort_opt_level', 99), ('io_bind', False)]
ERROR:root:Optimization failed for tuning combo ('DmlExecutionProvider', 'ORT_SEQUENTIAL', 99, False)
[2023-08-10 14:11:15,823] [INFO] [perf_tuning.py:81:tune_onnx_model] Best result: {'test_name': 'pretuning', 'latency_ms': 2.4117}

So, you mean this error is trying to say that no better solution was found?

PerfTuning was not skipped. It ran but chose the original model's inference settings to be the best in the environment you ran it on. On ours, it was not. This did not cause the missing 3rd model. This is expected for perf tuning regardless.

Is that possible? The code will download the original model from the Internet. I don't think we could have different results unless they changed the file on the Internet.

So, you mean this error is trying to say that no better solution was found?
This error does mean that specific set of inference settings combo failed. But this was not the reason a third model file was not created. since the perf tuning pass ran other combos if any.
I think I might have conflated the two issues here. The perf tuning pass ran fine, but some of the combos it looked at failed. We might have to look into the second issue more to see why that happened.

Is that possible? The code will download the original model from the Internet. I don't think we could have different results unless they changed the file on the Internet.
Yes, this is possible for perf tuning. Per tuning searches through different settings for onnx runtime inference session and chooses the one with the best latency. The latency depends on many factors such as your hardware, etc.

Thanks for the explanation. I now understand why no model was generated for PerTuning.
But where's this error come from? How can I solve it? Do I need to create a new issue for this?

We can use this issue itself. Did you install Olive from pypi or use a specific tag?
There was a recent change in olive where the error log also shows the error trace https://github.com/microsoft/Olive/blob/main/olive/passes/onnx/perf_tuning.py#L154
Could you install olive from source https://microsoft.github.io/Olive/getstarted/installation.html#install-from-source
and run the example again. The log will have more information about why this exception was triggered.

I installed it via Pip

pip install git+https://github.com/microsoft/Olive#egg=olive-ai[directml] solves the problem.
[2023-08-14 11:08:18,424] [DEBUG] [engine.py:942:_run_pass] Loading model from cache ...
[2023-08-14 11:08:18,434] [INFO] [engine.py:934:_run_pass] Running pass OrtPerfTuning
[2023-08-14 11:08:18,438] [DEBUG] [engine.py:796:_prepare_non_local_model] Model path is None, local or string name. No need to prepare
[2023-08-14 11:08:19,638] [INFO] [perf_tuning.py:89:tune_onnx_model] Run tuning for: [('provider', 'DmlExecutionProvider'), ('execution_mode', 'ORT_SEQUENTIAL'), ('ort_opt_level', 99), ('io_bind', False)]
[2023-08-14 11:08:30,341] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.41861
[2023-08-14 11:08:30,341] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.43242
[2023-08-14 11:08:30,351] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.4001
[2023-08-14 11:08:30,351] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.51
[2023-08-14 11:08:30,351] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.501
[2023-08-14 11:08:30,351] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.3979
[2023-08-14 11:08:30,351] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.39171
[2023-08-14 11:08:30,351] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.47895
[2023-08-14 11:08:30,351] [DEBUG] [perf_tuning.py:95:tune_onnx_model] Tuning result: 2.37015
[2023-08-14 11:08:30,359] [INFO] [perf_tuning.py:98:tune_onnx_model] Best result: {'test_name': "execution_provider_[('DmlExecutionProvider', {})]_session_options_{'execution_mode': 'ORT_SEQUENTIAL', 'graph_optimization_level': 99, 'extra_session_config': None, 'inter_op_num_threads': 6, 'intra_op_num_threads': 9}__io_bind_False", 'execution_provider': [('DmlExecutionProvider', {})], 'session_options': {'execution_mode': 'ORT_SEQUENTIAL', 'graph_optimization_level': 99, 'extra_session_config': None, 'inter_op_num_threads': 6, 'intra_op_num_threads': 9}, 'io_bind': False, 'latency_ms': 2.37015}


Secondary navigation styling: Mobile

Currently, on staging vs. mock-up:

Can we match the size of the PhoneGap logo (mainly the symbol) more closely to what is in the mock-up?
Background on "Docs Menu" area should be #0092b4, 44px tall
"Docs Menu" button should be styled as in the mock-up.
Add "Docs Home" link to menu, styled as in the mock-up.
Top level menu items should be all caps, 44px tall background styled as in the mock-up.
Horizontal dividing lines between top level menu items is blurred, should be styled as in the mock-up. If the double line is causing an issue/too difficult to implement, use a single line 1px #56c0e2

Styling edits also required for deeper levels (staging vs mock-up):

The active states for menu elements (when tapped) are shown in the "docs-open-active" layer comp of the PSD:

Moving this to the "Navigation & PGB" Milestone, I think it was just an oversight that it isn't in there...

[ ] "Docs Menu" button active state should be as shown on mock-up
[ ] 2nd level navigation items should be uppercase
[ ] 3rd level navigation items should be regular, sentence case without a different background colour (as shown in the mock-up, where "Weinre" is shown in the active (redgenta) state

looks good on staging...


[7.x] HtmlString __toString() must always return a string

Fixes:
PHP Error:  Method Illuminate/Support/HtmlString::__toString() must return a string value

It is a bug that this crash is silently hidden by casting to a string. You MUST pass a string to the constructor of HtmlString. Laravel will not check that you do this because we don't use super strict typing. You can use a static analyser to make sure you don't write bad code.

Reverted.

Like a mentioned earlier passing an integer to the Stringable class will convert it to a string 😉
It should be consequent in my opinion 🎉

You are not allowed to pass an integer. The constructor ONLY accepts strings. You must first cast it yourself.


Does cuda version of LM work?

Hi, I try the master branch. The LM version of the CPU version works fine for me. However, the lm-Cuda branch cannot run at all. ERROR occurs and traces back to setinput cloud.
Would it be impertinent to ask when the Cuda version of lm will be ready?

Sorry, I met some GPU-related error and needed a bit more time to fix it. I suppose it'll be done next week.

Thanks.
Very appreciate your hard work.
I will follow your lm-cuda branch.

I still have some problems on the GPU version and need more time to make it workable...

I was re-checking the code, and found that it was a termination criteria bug. I pushed the fixed code to lm_cuda branch. Could you test if it works on your environment?

I was re-checking the code, and found that it was a termination criteria bug. I pushed the fixed code to lm_cuda branch. Could you test if it works on your environment?

I am a little confused, I find your master branch has merged the lm Cuda. So I test it first, but there is an error that occurs when I run on gicp_align.  I have made some small changes (replace boost::shared_ptr with std::shared_ptr) to fit PCL 1.11.1.
fast_gicp::FastVGICP<pcl::PointXYZ, pcl::PointXYZ>::create_voxelmap(std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&) 0x000055f49954e602
void test<fast_gicp::FastVGICP<pcl::PointXYZ, pcl::PointXYZ> >(fast_gicp::FastVGICP<pcl::PointXYZ, pcl::PointXYZ>&, std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&, std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&) 0x000055f49951902d
main 0x000055f49950a498
__libc_start_main 0x00007fb41e3cbbf7
_start 0x000055f49950a9fa
Signal: SIGSEGV (Segmentation fault)

The last commit works fine (CPU with lm optimization). I think the new one has some problems.

I was re-checking the code, and found that it was a termination criteria bug. I pushed the fixed code to lm_cuda branch. Could you test if it works on your environment?

Hi, I have tried both master and lm_cuda branch with gicp_align. there are two crushes

fast_gicp::FastVGICP single and mt.

fast_gicp::FastVGICP<pcl::PointXYZ, pcl::PointXYZ>::create_voxelmap(std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&) 0x000055bd6d6b7d12
void test<fast_gicp::FastVGICP<pcl::PointXYZ, pcl::PointXYZ> >(fast_gicp::FastVGICP<pcl::PointXYZ, pcl::PointXYZ>&, std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&, std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&) 0x000055bd6d695301
main 0x000055bd6d68e0f3
__libc_start_main 0x00007f343269cbf7
_start 0x000055bd6d690eca
Signal: SIGSEGV (Segmentation fault)
2.fast_gicp::FastVGICPCuda
still crushed at
__GI___libc_free 0x00007fb57d9c7a6d
fast_gicp::FastVGICPCuda<pcl::PointXYZ, pcl::PointXYZ>::setInputSource(std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&) 0x000056131cbeb799
void test<fast_gicp::FastVGICPCuda<pcl::PointXYZ, pcl::PointXYZ> >(fast_gicp::FastVGICPCuda<pcl::PointXYZ, pcl::PointXYZ>&, std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&, std::shared_ptr<pcl::PointCloudpcl::PointXYZ const> const&) 0x000056131cbdc251
main 0x000056131cbd70f3
__libc_start_main 0x00007fb57d951bf7
_start 0x000056131cbd9d7a
target:17047[pts] source:17334[pts]
--- vgicp_cuda (parallel_kdtree) ---
Signal: SIGSEGV (Segmentation fault)
I have made some changes to make it fit for PCL 1.11.1 (replace boost::shared_ptr with std::shared_ptr)
And since I don't use catin
#add_dependencies(gicp_align ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
#add_dependencies(gicp_kitti ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
commended in cmakelist. Otherwise it gives cmake error for
" add_dependencies called with incorrect number of arguments"
the environment is
ubuntu 18.04.1 with 5.4.0-42-generic
clion with gcc version 7.5.0
PCL 1.11.1
I hope it will help.

The last commit CPU with lm works fine for me, so I stick with it. I am looking forward to your next update.
Still, I have some questions.
I am looking into your code; I think the best part for me is the voxelized part. Usually, we enable point-to-point correspondences. Maybe voxel to voxel (distribution to distribution style )correspondences are better. At least it does not require KDtree neighbor search.
I am considering replacing the nearest neighbor with a voxel.
So, where should I start?
like " void FastVGICP<PointSource, PointTarget>::create_voxelmap(const PointCloudTargetConstPtr& cloud) "?
Any advice will be helpful,
Thanks.

Thanks for your help. With the PCL installed via apt, this problem didn't reproduce. It seems it has some problems with the latest PCL. I'll add some tests for the latest PCL to fix it.

Thanks for your help. With the PCL installed via apt, this problem didn't reproduce. It seems it has some problems with the latest PCL. I'll add some tests for the latest PCL to fix it.

PCL 1.11+
API changes:
Replace boost::shared_ptr with std::shared_ptr
At your last commit (lm with CPU), I replace boost::shared_ptr with std::shared_ptr, it works fine.
For PCL change details
Starting with PCL 1.11, PCL uses std::shared_ptr and std::weak_ptr instead of the boost smart pointers. The change leverages type aliases included with the 1.10.0 release.
PCL 1.11 also introduces pcl::index_t which should be used for the size of point types instead of int, std::size_t, etc. EOL for deprecated features is also explicitly mentioned in the deprecation compile time warnings
https://github.com/PointCloudLibrary/pcl/blob/master/CHANGES.md#-1110-11052020-
I hope you can make a new branch for PCL 1.11+
consider it still updates frequently.

I fixed build errors and some Eigen-related alignment errors and added build and run tests with the latest PCL. Can you see if refactor branch now works with PCL 1.11?

I fixed build errors and some Eigen-related alignment errors and added build and run tests with the latest PCL. Can you see if refactor branch works with PCL 1.11?

Thanks for your hard work,
I just about to report the Eigen related problem which you have nailed.
It works on PCL 1.11.1.
The gicp_align works,  through the test app, may need some further tweak.
Thanks again.

Hi,@koide3
Could you tell me how to handle the Eigen align problem?
I recently meet this problem, but I don't know how to fix it.
I read from stack flow, It may relate to the SSE CPU alignment. Eigen needs to align memory for 4byte alignment, last time I just enable build compilation -march native in CMake list. It goes away automatically.
But this time before your refactor branch, the cuda still crush on Eigen align part
How do you fix it?
__GI___libc_free 0x00007f3e8dd41a6d
Eigen::internal::handmade_aligned_free Memory.h:98
Eigen::internal::aligned_free Memory.h:179
Eigen::aligned_allocator<Eigen::Matrix<float, 3, 3, 0, 3, 3> >::deallocate Memory.h:763
std::allocator_traits<Eigen::aligned_allocator<Eigen::Matrix<float, 3, 3, 0, 3, 3> > >::deallocate alloc_traits.h:328
std::_Vector_base<Eigen::Matrix<float, 3, 3, 0, 3, 3>, Eigen::aligned_allocator<Eigen::Matrix<float, 3, 3, 0, 3, 3> > >::_M_deallocate stl_vector.h:180
std::_Vector_base<Eigen::Matrix<float, 3, 3, 0, 3, 3>, Eigen::aligned_allocator<Eigen::Matrix<float, 3, 3, 0, 3, 3> > >::~_Vector_base stl_vector.h:162
std::vector<Eigen::Matrix<float, 3, 3, 0, 3, 3>, Eigen::aligned_allocator<Eigen::Matrix<float, 3, 3, 0, 3, 3> > >::~vector stl_vector.h:435
fast_gicp::FastVGICPCuda<pcl::PointXYZ, pcl::PointXYZ>::setInputSource fast_vgicp_cuda_impl.hpp:82
test<fast_gicp::FastVGICPCuda<pcl::PointXYZ, pcl::PointXYZ> > align.cpp:58
main align.cpp:176
__libc_start_main 0x00007f3e8dccbbf7
_start 0x0000555f67d0d4da

The cause of the problem was std::make_shared that uses the standard (non-aligned) allocator by default. An easy workaround was to avoid make_shared and use new to create an instance. pcl::make_shared, which properly uses Eigen::aligned_allocator, would be a better solution if we don't need to take care of old version of PCL, though.
// AdditiveGaussianVoxel has Eigen variables, and this may cause an alignment error
voxel = std::make_shared<AdditiveGaussianVoxel>();

// This properly calls ALIGNED_OPERATOR_NEW
voxel.reset(new AdditiveGaussianVoxel);

It looks the new error you faced is relating to std::vector, and we need another workaround. I'll try to reproduce it on my PC.

The cause of the problem was std::make_shared that uses the standard (non-aligned) allocator by default. An easy workaround was to avoid make_shared and use new to create an instance. pcl::make_shared, which properly uses Eigen::aligned_allocator, would be a better solution if we don't need to take care of old version of PCL, though.
// AdditiveGaussianVoxel has Eigen variables, and this may cause an alignment error
voxel = std::make_shared<AdditiveGaussianVoxel>();

// This properly calls ALIGNED_OPERATOR_NEW
voxel.reset(new AdditiveGaussianVoxel);

It looks the new error you faced is relating to std::vector, and we need another workaround. I'll try to reproduce it on my PC.

Thanks for the quick reply.
The mentioned problem does not exist in your new branch (refactor). It can reproduce on lm_cuda. With PCL 1.11.1 and replace boost::shared_ptr with std::shared_ptr.
According to your reply, std::make_shared uses the standard (non-aligned) allocator by default.
When the  (non-aligned) allocator and aligned allocator are mixed, this kind of problem randomly appears in the object-free process.
Eigen::internal::handmade_aligned_free Memory.h:98
Eigen::internal::aligned_free Memory.h:179
Eigen::aligned_allocator<Eigen::Matrix<float, 3, 3, 0, 3, 3> >::deallocate Memory.h:763

But, in my programs, I use a lot of st::shared_ptr and alone with std::make_shared. like
pcl::PointCloudpcl::PointXYZ::Ptr featrueCloudSampled2_ = std::make_shared<pcl::PointCloudpcl::PointXYZ>(
pcl::PointCloudpcl::PointXYZ());
or
 std::shared_ptr<RobustRegistrationSolver> solver_ = std::make_shared<RobustRegistrationSolver>(params);

It seems good to me; perhaps I use C++17 standard?
My question is if I need these std::shared_ptr things, and with Eigen, what should I be careful of?
I notice the Eigen alignment problem usually comes with third-party software that uses Eigen.

Oh, I see.
std::make_shared<>
    return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
			       std::forward<_Args>(__args)...);

pcl::make_shared<>
   return std::allocate_shared<T>(Eigen::aligned_allocator<T>(), std::forward<Args> (args)...);

If I need to make an Eigen related object, the last one is preferred.


alasql query to parse a nested json array value and exporting it to excel

below is the snippet to replicate... Need a query in alasql to query the nested values in the array to export in xls.
0:{reservationId: 61, reservationName: "reseravtion name", startDate: "02/05/2014", endDate: "07/08/2014", PromoStrCount: 8, …}
	PromoStrCount:8
	endDate:"07/08/2014"
	promos:(3) [{…}, {…}, {…}]
		0:{promoId: 73525, promoName: "reservaton name", promostartDate: "02/05/2014", promoendDate: "02/09/2014", StrCount: 4, …}
			0:
			StrCount:4
			locations:(4) [{…}, {…}, {…}, {…}]
				0:{fixtureId: 95580, storeNbr: 3, storeName: "store name", reservationId: 61, reservationName: "reservation name", …}
					0:
					crossAdjacencyDesc:"FLOORING"
					first_date_Available:null
					fixtureEffDate:null
					fixtureEndDate:null
					fixtureId:95580
					height:60
					storeNbr:3
					t1573FixtureId:0
				1:{fixtureId: 96209, storeNbr: 56, storeName: "LOWE'S OF NORWALK, CA  ", reservationId: 61, reservationName: "reservation name", …}
				2:{fixtureId: 99410, storeNbr: 598, storeName: "LOWE'S OF GREENVILLE, NC ", reservationId: 61, reservationName: "reservation name", …}
				3:{fixtureId: 89888, storeNbr: 1700, storeName: "LOWE'S OF N. FONTANA, CA ", reservationId: 61, reservationName: "reservation name", …}
			promoId:73525
			promoName:"promo name"
			promoendDate:"02/09/2014"
			promostartDate:"02/05/2014"
		1:{promoId: 78414, promoName: "promo name ", promostartDate: "02/10/2014", promoendDate: "07/08/2014", StrCount: 2, …}
		2:{promoId: 78415, promoName: "promo name ", promostartDate: "02/10/2014", promoendDate: "07/08/2014", StrCount: 2, …}
	reservationId:61
	reservationName:"reservation name "
	startDate:"02/05/2014"

I need to fetch the below data

#need alasql query to access the inner json array values

Please reopen this issue with you along with the input can provide an example of the desired output and examples of what you have tried until now.

I have tried the bleow query to fecth the nested values
alasql('SEARCH / AS @a
promos AS @b
locations  AS @c
RETURN(@a->reservationId AS Reservation_ID, @a->reservationName AS
Reservation_Name, @a->startDate AS Reservation_Start_Date,
@a->endDate AS Reservation_End_Date,
@b->StrCount as [promos.StrCount], @b->promoId as [promos.promoId],@b->promoName as [promos.promoName],
@c->promoOnrId AS [promos.locations.promoOnrId]
) INTO XLSX("' + outputFile + '",{headers:true})
FROM ?',[$scope.data]);

This is the below query i tried to export to excel from the above json values
alasql('SEARCH / AS @a
promos AS @b
locations AS @c
RETURN(@a->reservationId AS Reservation_ID, @a->reservationName AS Reservation_Name, @a->startDate AS Reservation_Start_Date,
@a->endDate AS Reservation_End_Date,
@b->StrCount as StoreCount  @b->promoId as PromoId@b->promoName as PromoName
@c->promoOnrId AS PromoOwnerID
) INTO XLSX("' + outputFile + '",{headers:true})
FROM ?',[$scope.data]);

Please reopen this issue when you can provide an example of the desired output too.

I am not getting how to reopen this issue agian which you have closed
@mathiasrw

Please provide the input as json and expected output as json

in the above excel promostore count is not priniting

the input is json what is shared in the example i want to traverse and export the values to excel

I need a  alasql query which can traverse this json and parse the value.
suppose if i want to export crossAdjacencyDesc value to excel from location array in the promos array which is in the reservation array. as shown in example  how can i parse that with alasql query?

The code provided in the first input is not valid json. Please provide valid json.
Use this if in doubt: https://jsonlint.com

0:
PromoStrCount:8
endDate:"07/08/2014"
promos:(3) [{…}, {…}, {…}]
0:
StrCount:4
locations:(4) [{…}, {…}, {…}, {…}]
0:{fixtureId: 95580, storeNbr: 3, storeName: "store name", reservationId: 61, reservationName: "reservation name", …}
0:
crossAdjacencyDesc:"FLOORING"
first_date_Available:null
fixtureEffDate:null
fixtureEndDate:null
fixtureId:95580
height:60
storeNbr:3
t1573FixtureId:0
1:{fixtureId: 96209, storeNbr: 56, storeName: "LOWE'S OF NORWALK, CA  ", reservationId: 61, reservationName: "reservation name", …}
2:{fixtureId: 99410, storeNbr: 598, storeName: "LOWE'S OF GREENVILLE, NC ", reservationId: 61, reservationName: "reservation name", …}
3:{fixtureId: 89888, storeNbr: 1700, storeName: "LOWE'S OF N. FONTANA, CA ", reservationId: 61, reservationName: "reservation name", …}
promoId:73525
promoName:"promo name"
promoendDate:"02/09/2014"
promostartDate:"02/05/2014"
1:{promoId: 78414, promoName: "promo name ", promostartDate: "02/10/2014", promoendDate: "07/08/2014", StrCount: 2, …}
2:{promoId: 78415, promoName: "promo name ", promostartDate: "02/10/2014", promoendDate: "07/08/2014", StrCount: 2, …}
reservationId:61
reservationName:"reservation name "
startDate:"02/05/2014"

Error: Parse error on line 1:
0:	PromoStrCount: 8
-^
Expecting 'EOF', '}', ',', ']', got ':'

{
"PromoStrCount": 8,
"endDate": "07/08/2018",
"reservation": [{
"reservationId": 61,
"reservationName": "FLEX ECRT FLOORING 1 (VALUE RUGS)",
"startDate": "02/05/2018",
"promos": [{
"StrCount": 4,
"promoId": 73525,
"promoName": "0218ECFLEX ECRT FLOORING 1 (VALUE RUGS)",
"promoendDate": "02/09/2018",
"promostartDate": "02/05/2018"
},
{
"StrCount": 5,
"promoId": 73525,
"promoName": "0218ECFLEX ECRT FLOORING 1 (VALUE RUGS)",
"promoendDate": "02/09/2018",
"promostartDate": "02/05/2018"
}
]
}]

}

how to access the inner value StrCount which is in nested array in Json
the query what I have written is this to parse the json
alasql('SEARCH / AS @a
promos AS @b
RETURN(@a->reservationId AS Reservation_ID, @a->reservationName AS Reservation_Name, @a->startDate AS Reservation_Start_Date, @a->endDate AS Reservation_End_Date,
@b->StrCount as Promostrcount
) INTO XLSX("' + outputFile + '",{headers:true})
FROM ?',[$scope.data]);

Please provide expected json output.

expected output should be export StrCount 4 StrCount 4  and  for of both promoId 73525 and  promoId 73526 for reservationId 64

Please provide an example of the exact json output you are looking for from the input
{
	"PromoStrCount": 8,
	"endDate": "07/08/2018",
	"reservation": [{
		"reservationId": 61,
		"reservationName": "FLEX ECRT FLOORING 1 (VALUE RUGS)",
		"startDate": "02/05/2018",
		"promos": [{
				"StrCount": 4,
				"promoId": 73525,
				"promoName": "0218EC*FLEX ECRT FLOORING 1 (VALUE RUGS)",
				"promoendDate": "02/09/2018",
				"promostartDate": "02/05/2018"
			},
			{
				"StrCount": 5,
				"promoId": 73526,
				"promoName": "flooring",
				"promoendDate": "03/08/2017",
				"promostartDate": "03/06/2017"
			}
		]

	}]
}

I dont need an json output i want the content which is present in the above json should be exported to an excel file using alasql query.
The query what i have written is only capable of exporting the first level of the json.
The inner level values in the promos i am not able to travarse through my query. so help me out with a query to traverse so that i can export whatever content i need to.
suppose i need to export promoName from above json for both promoid 73525 and 73526 for reservationId 61 how the query should be written?

Please provide a valid json that represents the data you wish to export to excel.

{
"reserv": [{
		"endDate": "07 / 08 / 2018",
		"promoId": 73525,
		"promoName": "promo name",
		"promoStoreCount": 4,
		"promodisplayDesc": 20142014,
		"reservationDesc": "dsfds ",
		"reservationId": 61,
		"reservationName": "reseervation name",
		"startDate": "02 / 05 / 2018",
		"statusCode": 2
	},
	{
		"endDate": "07 / 08 / 2018",
		"promoId": 73526,
		"promoName": "promo name",
		"promoStoreCount": 8,
		"promodisplayDesc": 20142014,
		"reservationDesc": "dsfds ",
		"reservationId": 61,
		"reservationName": "reseervation name",
		"startDate": "02 / 05 / 2018",
		"statusCode": 3
	},
	{
		"endDate": "05 / 04 / 2018",
		"promoId": 73527,
		"promoName": "promo name",
		"promoStoreCount": 5,
		"promodisplayDesc": 20142014,
		"reservationDesc": "dsfds ",
		"reservationId": 61,
		"reservationName": "reseervation name",
		"startDate": "05 / 08 / 2018",
		"statusCode": 3
	}

]

}

THere is no statusCode in the original input, so this can not be done.

{
"reserv": [{
"endDate": "07 / 08 / 2018",
"promoId": 73525,
"promoName": "promo name",
"promoStoreCount": 4,
"promodisplayDesc": 20142014,
"reservationDesc": "dsfds ",
"reservationId": 61,
"reservationName": "reseervation name",
"startDate": "02 / 05 / 2018"
},
{
	"endDate": "07 / 08 / 2018",
	"promoId": 73526,
	"promoName": "promo name",
	"promoStoreCount": 8,
	"promodisplayDesc": 20142014,
	"reservationDesc": "dsfds ",
	"reservationId": 61,
	"reservationName": "reseervation name",
	"startDate": "02 / 05 / 2018"

},
{
	"endDate": "05 / 04 / 2018",
	"promoId": 73527,
	"promoName": "promo name",
	"promoStoreCount": 5,
	"promodisplayDesc": 20142014,
	"reservationDesc": "dsfds ",
	"reservationId": 61,
	"reservationName": "reseervation name",
	"startDate": "05 / 08 / 2018"

}

]
}

ok i dont need that filed statusCode in my output json

In the input data you have provided there is no value of 05 / 04 / 2018.
Please provide valid json of input and desired output.


Change built-in HTML formatter from prettyhtml to vscode-html-languageservice

In past I have chosen prettyhtml for Volar after comparing some HTML formatters, prettyhtml has always worked fine, but for some reasons I decided to replace the built-in HTML formatter with vscode-html-languageservice in 0.34.0.

It has only a few known bugs but the repo is not longer maintained so we can't expect bugs to be fixed.

#163
#845
#856
#970
#983

It is not supported for Namespace Components.

#722

vscode-html-languageservice format result has been improved, much better than in the past in my experience.
vscode-html-languageservice is a built-in dependency of volar, so we don't to add other dependencies for this change.
With vscode-html-languageservice volar can reuse vscode HTML format settings as much as possible.
prettyhtml depends on prettier, and prettier does not support on browser, so for Web IDE support I need to use solution other than prettyhtml.

prettyhtml will be migrated to an external plugin (#1027) and I will publish a package for it, for projects wishing to keep using prettyhtml, I will show how to do this. (Please keep an eye on the 0.34.0 changelog)

How will the performance improve?

@reslear The text edit range of prettyhtmlreturn is the entire html text, while the text edit range of vscode-html-languageservicereturn is only the actual changed range. In theory, the performance of vscode apply text edits will be improved after switching to vscode-html-languageservice.
But since volar finally merges all text edits into one text edit of the entire vue text, it cannot take advantage of this, maybe it can be improved in the future.

Huh, thought it was weird that all my stuff started formatting the wrong way!
Novice here. Any guides on how to configure this new change?

@Dazaer see #1174.

@Dazaer see #1174.

Thanks! However that would be using prettier-html. I thought the point of this change was for us to use vscode-html-languageservice instead? If possible I'd like to use what's built in but be able to configure it like before.


Econml Metalearners: is it possible to use metalearners in dowhy? I get an error.

Is it possible to use metalearners in dowhy?

ml_estimate = dowhy_model.estimate_effect(identified_estimand,
                                     method_name="backdoor.econml.metalearners.TLearner",
                                     confidence_intervals=False,
                                     method_params={'init_params':{'models':GradientBoostingRegressor()},
                                               'fit_params':{}
                                              })

Gives the following error:
TypeError                                 Traceback (most recent call last)
<ipython-input-104-2fc9ee067db4> in <module>()
      7                                      confidence_intervals=False,
      8                                      method_params={"init_params":{'models':GradientBoostingRegressor()},
----> 9                                                "fit_params":{}
     10                                               })
     11

3 frames
/usr/local/lib/python3.6/dist-packages/econml/cate_estimator.py in call(self, Y, T, inference, *args, **kwargs)
     87                 inference.prefit(self, Y, T, *args, **kwargs)
     88             # call the wrapped fit method
---> 89             m(self, Y, T, *args, **kwargs)
     90             if inference is not None:
     91                 # NOTE: we call inference fit *after* calling the main fit method

TypeError: fit() takes 4 positional arguments but 5 were given

Ah, we didn't catch this earlier. Thanks for raising this @cognoscentai . Metalearners use a slightly different API (do not require the common causes W parameter) and thus the script was failing.
I have fixed the problem in the latest version on master. Can you pull and try?

Thanks Amit, thats brilliant!
On Sat, Feb 8, 2020 at 11:29 AM Amit Sharma<EMAIL_ADDRESS>wrote:

Ah, we didn't catch this earlier. Thanks for raising this @cognoscentai
https://github.com/cognoscentai . Metalearners use a slightly different
API (do not require the common causes W parameter) and thus the script was
failing.
I have fixed the problem in the latest version on master. Can you pull and
try?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/dowhy/issues/104?email_source=notifications&email_token=AGIIQ5F76TVSKE2EMVXL253RB2JSFA5CNFSM4KQKJ33KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFPYGI#issuecomment-583728153,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGIIQ5HXB65F5DXOGTWBSMTRB2JSFANCNFSM4KQKJ33A
.


Layer breaker in testStubs.ts

Product code should not import /test/ code. Please move testStubs.ts to the /test/ folder.
https://github.com/microsoft/vscode/blob/d6ccc20ede64d5ce0c4799c60cde25790d177e12/src/vs/workbench/contrib/testing/common/testStubs.ts#L9-L11
This import came in via https://github.com/microsoft/vscode/commit/186e565ec0eaee72c980ffe546ec3e4cb3ed1635
(ref #140857 #140874)

Sorry, I could not resist fixing this, as it would allow to remove a root entanglement. It was also a pretty easy fix:
https://user-images.githubusercontent.com/5047891/150218102-22769388-6b10-4875-a3ad-18cdff60acbe.mp4


Homebrew on Linux installation fails / not useable on linux aarch64 (raspberry pi 4/400)

brew config output
eval $(~/.linuxbrew/bin/brew shellenv)

which brew
/home/<user>/.linuxbrew/bin/brew

brew config
Error: No Homebrew ruby 2.6.3_2 available for aarch64 processors!
Error: Failed to install Homebrew Portable Ruby and cannot find another Ruby 2.6.3!
If there's no Homebrew Portable Ruby available for your processor:
- install Ruby 2.6.3 with your system package manager (or rbenv/ruby-build)
- make it first in your PATH
- try again

ruby --version
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [aarch64-linux-gnu]

brew doctor output
brew doctor
Error: No Homebrew ruby 2.6.3_2 available for aarch64 processors!
Error: Failed to install Homebrew Portable Ruby and cannot find another Ruby 2.6.3!
If there's no Homebrew Portable Ruby available for your processor:
- install Ruby 2.6.3 with your system package manager (or rbenv/ruby-build)
- make it first in your PATH
- try again

[X] I ran brew update and am still able to reproduce my issue.
[ ] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
Was trying to install Homebrew on linux aarch64. (Raspeberry Pi 4/400)
lscpu
Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       1
Vendor ID:                       ARM
Model:                           3
Model name:                      Cortex-A72
Stepping:                        r0p3
CPU max MHz:                     1800.0000
CPU min MHz:                     600.0000
BogoMIPS:                        108.00
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Vulnerable
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm crc32 cpuid

What happened (include all command output)?
==> Checking for sudo access (which may request your password).
==> Select the Homebrew installation directory

Enter your password to install to /home/linuxbrew/.linuxbrew (recommended)
Press Control-D to install to /home//.linuxbrew
Press Control-C to cancel installation
[sudo] password for user-name:
Homebrew on Linux is only supported on Intel processors!

What did you expect to happen?
Expected brew installation to complete, run a brew doctor, brew update, brew install.
There is a ruby installation newer than what homebrew claims to need present on the system.
Additionally the official Homebrew documentation says that homebrew is supported on aarch64 on a "best effort" basis.
The installer script wording in English regarding Intel processors is not well structured.
Note that the currently published documentation states the following:

Homebrew can run on 32-bit ARM (Raspberry Pi and others) and 64-bit ARM (AArch64), but no binary packages (bottles) are available. Support for ARM is on a best-effort basis. Pull requests are welcome to improve the experience on ARM platforms.

You may need to install your own Ruby using your system package manager, a PPA, or rbenv/ruby-build as we no longer distribute a Homebrew Portable Ruby for ARM.

Source:
https://docs.brew.sh/Homebrew-on-Linux
Step-by-step reproduction instructions (by running brew commands)
ruby --version
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [aarch64-linux-gnu]

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Ubuntu 21.04"

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> Checking for `sudo` access (which may request your password).
==> Select the Homebrew installation directory
- Enter your password to install to /home/linuxbrew/.linuxbrew (recommended)
- Press Control-D to install to /home/<user-name>/.linuxbrew
- Press Control-C to cancel installation
[sudo] password for user-name:
Homebrew on Linux is only supported on Intel processors!

eval $(~/.linuxbrew/bin/brew shellenv)

brew doctor
Error: No Homebrew ruby 2.6.3_2 available for aarch64 processors!
Error: Failed to install Homebrew Portable Ruby and cannot find another Ruby 2.6.3!
If there's no Homebrew Portable Ruby available for your processor:
- install Ruby 2.6.3 with your system package manager (or rbenv/ruby-build)
- make it first in your PATH
- try again

We unfortunately don't have a Portable Ruby build for aarch64. However, installing Ruby 2.6 should work (2.7 will not).
I'm aware that Ubuntu doesn't package Ruby 2.6 though, so you might need to find a PPA for now.

Hi thanks for the response and help @Bo98.
I have to ask if there was a major feature adjusted or added in ruby 2.7 that breaks homebrew?

There may be some API differences, but the biggest breakage you'll see is that none of the required dependencies (gems) will load on non-2.6 Ruby: https://github.com/Homebrew/brew/tree/master/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems. They would need to be reinstalled and rebundled for Ruby 2.7.

Support for ARM is on a best-effort basis. Pull requests are welcome to improve the experience on ARM platforms.
Homebrew on Linux is only supported on Intel processors!

Both of these statements are true. We'll accept suggestions on how to improve the prior given that we don't support it. Closing but happy to continue discussion here.

If you're having issues with this let me know. I discovered one bug which I'm fixing here: https://github.com/Homebrew/brew/pull/11330

@Bo98 Just confirming that #11330 indeed fixes a regression I noticed but never got around to report. I'm using rbenv'd Ruby 2.6.3 on RPi Ubuntu 20.10, and brew XYZ worked just fine for a month, but suddenly started throwing the same error as @cmosetick a few days ago.


[Bug] Stream is online before application start

Stream is already online. Application is started after minutes it registered the stream is live and crashes:

/usr/local/share/twitchautomator/server/src/Core/Automator.ts:467

    const body = current_chapter.title;
                                 ^

TypeError: Cannot read properties of undefined (reading 'title')
at Automator.notifyChapterChange (/usr/local/share/twitchautomator/server/src/Core/Automator.ts:467:38)
at Automator.updateGame (/usr/local/share/twitchautomator/server/src/Core/Automator.ts:391:22)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.8.0
error Command failed with exit code 1.
2022-09-07 18:14:20.759 | helper.getSubsList  Requesting subscriptions list
2022-09-07 18:14:20.759 | helper.getSubsList  Fetch subs page 0
2022-09-07 18:14:21.063 | helper.getSubsList  27 subscriptions
2022-09-07 18:14:21.064 | helper  Subscribe to 73437396:stream.offline (bonjwa)
2022-09-07 18:14:21.358 | helper  Could not subscribe to 73437396:stream.offline: Request failed with status code 409 / subscription already exists
2022-09-07 18:14:21.359 | helper.getSubsList  Requesting subscriptions list
2022-09-07 18:14:21.359 | helper.getSubsList  Fetch subs page 0
2022-09-07 18:14:21.647 | helper.getSubsList  27 subscriptions
2022-09-07 18:14:21.649 | helper  Subscribe to 73437396:channel.update (bonjwa)
2022-09-07 18:14:21.918 | helper  Could not subscribe to 73437396:channel.update: Request failed with status code 409 / subscription already exists
2022-09-07 18:14:21.919 | helper.getSubsList  Requesting subscriptions list
2022-09-07 18:14:21.919 | helper.getSubsList  Fetch subs page 0
2022-09-07 18:14:22.215 | helper.getSubsList  27 subscriptions
<IP_ADDRESS> - - [07/Sep/2022:16:15:04 +0000] "HEAD / HTTP/1.1" 200 485 "-" "Notifiarr"
2022-09-07 18:15:27.374 | vod.matchProviderVod  Trying to match handiofiblood (2022) - s{season}e01 to provider...
2022-09-07 18:15:27.657 | vod.matchProviderVod  Found matching VOD for handiofiblood (2022) - s{season}e01
2022-09-07 18:15:27.659 | vodclass  Saving JSON of handiofiblood (2022) - s{season}e01  (matched provider vod)
Broadcasting data to 1 clients: {"server":true,"action":"vod_updated","data":{"vod":{"uuid":"aca...
2022-09-07 18:15:36.660 | channel  Download VOD<PHONE_NUMBER>
2022-09-07 18:15:36.932 | channel  Downloading VOD<PHONE_NUMBER>...
2022-09-07 18:15:36.940 | helper.execAdvanced  Executing job 'download_vod_1584242284': $ /usr/local/bin/streamlink --ffmpeg-ffmpeg /usr/bin/ffmpeg -o /usr/local/share/twitchautomator/data/cache/1584242284.ts --hls-segment-threads 10 --url https://www.twitch.tv/videos/1584242284 --default-stream best
2022-09-07 18:15:36.942 | helper.execAdvanced  Spawned process 79 for download_vod_1584242284
2022-09-07 18:15:36.944 | job  Save job download_vod_1584242284 with PID 79 to /usr/local/share/twitchautomator/data/cache/pids/download_vod_1584242284.json
Broadcasting data to 1 clients: {"server":true,"action":"job_save","data":{"job_name":"download_...
2022-09-07 18:15:36.945 | helper.execAdvanced  Attached to all streams for process 79 for download_vod_1584242284
Broadcasting data to 1 clients: {"server":true,"action":"job_update","data":{"job_name":"downloa...
2022-09-07 18:16:03.650 | hook  Hook called
2022-09-07 18:16:03.652 | automator.handle  Automator channel.update event for royalphunk
Notifying clients: Live non-capturing channel royalphunk changed status: Rust (PhunkRoyal - RUST A LOT mit König Frank - Tag 5 - Lockeres Mittelalter Roleplay - !wer !r2), category offlineStatusChange
2022-09-07 18:16:03.653 | automator  Channel royalphunk not capturing, saving channel data to cache: Rust (PhunkRoyal - RUST A LOT mit König Frank - Tag 5 - Lockeres Mittelalter Roleplay - !wer !r2)
2022-09-07 18:16:03.654 | automator  Channel royalphunk status is online but not capturing, starting capture from chapter update.
2022-09-07 18:16:03.657 | channel  Create VOD JSON for royalphunk: royalphunk (2022) - s202209e36.json @ /usr/local/share/twitchautomator/data/storage/vods/royalphunk/Season 202209
2022-09-07 18:16:03.658 | vodclass  Saving JSON of royalphunk (2022) - s202209e36  (create json)
2022-09-07 18:16:03.665 | vodclass  No chapters on royalphunk (2022) - s202209e36!
2022-09-07 18:16:03.670 | vodclass  Run fixIssues for VOD royalphunk (2022) - s202209e36
royalphunk (2022) - s202209e36 is not yet remuxed but no ts file found, skipping!
2022-09-07 18:16:03.671 | vodclass  Loaded VOD royalphunk (2022) - s202209e36 is not finalized!
2022-09-07 18:16:03.672 | channel  Vod on disk and vod in memory are not the same for royalphunk
Notifying clients: VOD changed externally: Please do not delete or rename VOD files manually.
Removed VODs: royalphunk (2022) - s202209e02, royalphunk (2022) - s202209e04, royalphunk (2022) - s202209e06, royalphunk (2022) - s202209e08, royalphunk (2022) - s202209e08, royalphunk (2022) - s202209e28, royalphunk (2022) - s202209e28, royalphunk (2022) - s202209e28, royalphunk (2022) - s202209e28, royalphunk (2022) - s202209e36, category system
2022-09-07 18:16:03.673 | channel  Vod on disk and vod in main memory are not the same for royalphunk
Notifying clients: VOD changed externally: Please do not delete or rename VOD files manually.
Removed VODs: royalphunk (2022) - s202209e02, royalphunk (2022) - s202209e04, royalphunk (2022) - s202209e06, royalphunk (2022) - s202209e08, royalphunk (2022) - s202209e28, royalphunk (2022) - s202209e36, category system
2022-09-07 18:16:03.673 | channel  Vod in memory and vod in main memory are not the same for royalphunk
Notifying clients: VOD changed externally: Please do not delete or rename VOD files manually.
Removed VODs: , category system
Broadcasting data to 1 clients: {"server":true,"action":"start_download","data":{"vod":{"uuid":"...
2022-09-07 18:16:03.676 | vodclass  Saving JSON of royalphunk (2022) - s202209e36 with no chapters!!
2022-09-07 18:16:03.677 | vodclass  Saving JSON of royalphunk (2022) - s202209e36  (is_capturing set)
2022-09-07 18:16:03.682 | automator  Update game for royalphunk (2022) - s202209e36
2022-09-07 18:16:03.682 | automator  Channel data for royalphunk fetched from cache.
2022-09-07 18:16:03.684 | vodclass  Saving JSON of royalphunk (2022) - s202209e36 with no chapters!!
2022-09-07 18:16:03.685 | vodclass  Saving JSON of royalphunk (2022) - s202209e36  (dt_capture_started set)
2022-09-07 18:16:03.685 | automator  Starting capture with filename royalphunk (2022) - s202209e36.ts
2022-09-07 18:16:03.692 | automator  Spawned process 94 for capture_royalphunk_39795989672
2022-09-07 18:16:03.695 | job  Save job capture_royalphunk_39795989672 with PID 94 to /usr/local/share/twitchautomator/data/cache/pids/capture_royalphunk_39795989672.json
Broadcasting data to 1 clients: {"server":true,"action":"job_save","data":{"job_name":"capture_r...
2022-09-07 18:16:03.700 | vod.addChapter  Adding chapter PhunkRoyal - RUST A LOT mit König Frank - Tag 5 - Lockeres Mittelalter Roleplay - !wer !r2 (Rust) to royalphunk (2022) - s202209e28
2022-09-07 18:16:03.703 | vodclass  Saving JSON of royalphunk (2022) - s202209e28  (game update)
Broadcasting data to 1 clients: {"server":true,"action":"start_capture","data":{"vod":{"uuid":"a...
Broadcasting data to 1 clients: {"server":true,"action":"chapter_update","data":{"chapter":{"tit...
2022-09-07 18:16:03.722 | automator  Stream updated on 'royalphunk' to 'Rust' (PhunkRoyal - RUST A LOT mit König Frank - Tag 5 - Lockeres Mittelalter Roleplay - !wer !r2) using cache.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
** Press ANY KEY to close this window **

Sorry for spamming Issues

odd that it happens, but i'll add an error check for it

odd that it happens, but i'll add an error check for it

now its a bit different. Streamer changed Title/Section an DVR tried to record but crashed:

2022-09-07 20:00:40.803 | hook  Hook called
2022-09-07 20:00:40.804 | automator.handle  Automator channel.update event for giantwaffle
Notifying clients: Live non-capturing channel giantwaffle changed status: Foxhole (Apple Event then Foxhole 1.0 Event), category offlineStatusChange
2022-09-07 20:00:40.806 | automator  Channel giantwaffle not capturing, saving channel data to cache: Foxhole (Apple Event then Foxhole 1.0 Event)
2022-09-07 20:00:40.807 | automator  Channel giantwaffle status is online but not capturing, starting capture from chapter update.
2022-09-07 20:00:40.809 | channel  Create VOD JSON for giantwaffle: giantwaffle (2022) - s202209e04.json @ /usr/local/share/twitchautomator/data/storage/vods/giantwaffle/Season 202209
2022-09-07 20:00:40.810 | vodclass  Saving JSON of giantwaffle (2022) - s202209e04  (create json)
2022-09-07 20:00:40.815 | vodclass  No chapters on giantwaffle (2022) - s202209e04!
2022-09-07 20:00:40.818 | vodclass  Run fixIssues for VOD giantwaffle (2022) - s202209e04
giantwaffle (2022) - s202209e04 is not yet remuxed but no ts file found, skipping!
2022-09-07 20:00:40.819 | vodclass  Loaded VOD giantwaffle (2022) - s202209e04 is not finalized!
2022-09-07 20:00:40.821 | channel  Vod on disk and vod in memory are not the same for giantwaffle
Notifying clients: VOD changed externally: Please do not delete or rename VOD files manually.
Removed VODs: giantwaffle (2022) - s202209e02, giantwaffle (2022) - s202209e04, category system
2022-09-07 20:00:40.821 | channel  Vod on disk and vod in main memory are not the same for giantwaffle
Notifying clients: VOD changed externally: Please do not delete or rename VOD files manually.
Removed VODs: giantwaffle (2022) - s202209e02, giantwaffle (2022) - s202209e04, category system
Broadcasting data to 1 clients: {"server":true,"action":"start_download","data":{"vod":{"uuid":"...
2022-09-07 20:00:40.824 | vodclass  Saving JSON of giantwaffle (2022) - s202209e04 with no chapters!!
2022-09-07 20:00:40.824 | vodclass  Saving JSON of giantwaffle (2022) - s202209e04  (is_capturing set)
2022-09-07 20:00:40.828 | automator  Update game for giantwaffle (2022) - s202209e04
2022-09-07 20:00:40.828 | automator  Channel data for giantwaffle fetched from cache.
2022-09-07 20:00:40.829 | helper  Game id 493388 not in cache.
2022-09-07 20:00:40.833 | vodclass  Saving JSON of giantwaffle (2022) - s202209e04 with no chapters!!
2022-09-07 20:00:40.833 | vodclass  Saving JSON of giantwaffle (2022) - s202209e04  (dt_capture_started set)
2022-09-07 20:00:40.834 | automator  Starting capture with filename giantwaffle (2022) - s202209e04.ts
2022-09-07 20:00:40.844 | automator  Spawned process 45 for capture_giantwaffle_41234026747
2022-09-07 20:00:40.847 | job  Save job capture_giantwaffle_41234026747 with PID 45 to /usr/local/share/twitchautomator/data/cache/pids/capture_giantwaffle_41234026747.json
Broadcasting data to 1 clients: {"server":true,"action":"job_save","data":{"job_name":"capture_g...
Broadcasting data to 1 clients: {"server":true,"action":"start_capture","data":{"vod":{"uuid":"4...
<IP_ADDRESS> - - [07/Sep/2022:18:00:40 +0000] "POST /api/v0/hook HTTP/1.1" 200 0 "-" "Go-http-client/1.1"
2022-09-07 20:00:41.225 | helper  New game saved to cache: Foxhole
2022-09-07 20:00:41.226 | vod.addChapter  Adding chapter Apple Event then Foxhole 1.0 Event (Foxhole) to giantwaffle (2022) - s202209e02
2022-09-07 20:00:41.227 | chapter  No next chapter or vod end time for chapter Apple Event then Foxhole 1.0 Event (2022-09-07T18:00:40.805Z), duration will probably be 0.
2022-09-07 20:00:41.228 | vodclass  Saving JSON of giantwaffle (2022) - s202209e02  (game update)
Broadcasting data to 1 clients: {"server":true,"action":"chapter_update","data":{"chapter":{"tit...
2022-09-07 20:00:41.235 | automator  Stream updated on 'giantwaffle' to 'Foxhole' (Apple Event then Foxhole 1.0 Event) using cache.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

can't see an error in that one

can't see an error in that one

But it crashed

must be that odd bug that occurred earlier with no stack trace or error

Hmmm

added a global exception handler that can be enabled in developer settings, it should catch everything and dump to crash.log in logs

added a global exception handler that can be enabled in developer settings, it should catch everything and dump to crash.log in logs

got it again after streamer went offline handiofiblodd and bonjwa went online i guess. dunno log attached.
error_develop.txt

gonna have to test this on my own server, otherwise this sounds like a 100% unique problem just for your install..

gonna have to test this on my own server, otherwise this sounds like a 100% unique problem just for your install..

ok that would be completely wired because i recently did a "fresh" install, imported some vods.

could there be anything wrong with the keyvalue store perhaps? because the download literally cannot start if the capture id is not set and yet it starts

ok i think i figured it out, it was from a chapter change and not a direct download


Update identity framework version

Purpose
$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/3676060392

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/3676060392
Status: success


Create a new legacy F# project on VS2017.7 with developer build (dev15.8) fails

Using developer build of F# dev15.8 branch.
Create new legacy F# projects yields:

Expected to be able to create a new F# project fine.

The extra 4.3.1 was put in to address that.  Once developers are on dev15.8 that will no longer be necessary.

Closing as this will be in 15.8 P3


Add a User Task to Your Workflow

Tutorial URL: https://developers.sap.com/tutorials/cp-workflow-3-add-usertask-cf.html
Step 7:
A nit, but "Workflow Monitor - Workflow Definitions tile" should really say: "Monitor Workflows - Workflow Definitions tile".

Hi Joe,
Thanks for the find. I have fixed the name.
Best regards,
Astrid


doublecheck voting apr

the vebal pool shows 127% voting APR, seems a bit much:
  "data": {
    "poolGetPool": {
      "name": "Balancer 80 BAL 20 WETH",
      "address": "0x5c6ee304399dbdb9c8ef030ab642b10820db8f56",
      "userBalance": {
        "totalBalance": "0"
      },
      "dynamicData": {
        "totalLiquidity": "58709386.28",
        "aprItems": [
          {
            "apr": 0.009360861377474616,
            "title": "Swap fees APR"
          },
          {
            "apr": 1.271659894261836,
            "title": "Voting APR"
          },
          {
            "apr": 0.00411376894722513,
            "title": "Protocol APR"
          }
        ]
      },
      "poolTokens": [```

It appears that the APR tends to be unusually high on Thursdays due to the start of a new round and the low number of votes at that time. To address this issue, we can skip the current round and calculate the APR based solely on historical rounds. Would that work for you, @franzns?


v1.1.1: docs version drop-down is hidden by menu bar on homepage

See:

It only occurs on the homepage. See:

This is not reproducible locally (without some effort at least) because I can only serve a single branch

It also doesn't occur on the v1.0.0 version:

This was caused by the <strong> tag and is fixed by #766.


Remove CACHE_TIMEOUT and RELEASE_CHECK_TIMEOUT configuration parameters

I think that's the last of what's needed before a 4.0 release can be cut.

Gah, I did the same thing in eb1fddc134d133e5b4b3268709b324de99f8f4fe. I should have had a look through here, it would have saved me some effort...


Payment details page

Closes #545
https://receive-page.mutiny-web.pages.dev/

this looks really nice, stoked on this.
I like what you did with the <Route> ... I usually use file based routing, but I like this a lot for the case of having and id it's more explicit (also we might move off of solid start eventually so this is good for that too)
we should do a call reviewing it, some stuff I hope we can simplify code-wise (I'm always a little suspicious when we have to add more props to an existing layout component, such as  bigGap?: boolean, so want to see if we can trim those down a bit)
my big open Q: on wide screens what do we do? probably simplest thing is to make the back button show up there as well?

I know you haven't done visual polish yet just making sure you're aware of these:

make the back button show up there as well

I added a noHide prop to the backLink, this is the component that seems to have gained the most complexity.

I think I liked it as a modal better, but everything else looks great

For the force close screen, can we add an indication that the funds may take a few days to be swept back into the wallet? That's a very common support request.

I feel like we could get the best of both worlds doing like a "full page modal" so it doesn't feel like you've moved to another screen

I'll make a commit that makes this a fullscreen modal in the same style as a comparison


Folded section shows weird characters instead of '...'

monaco-editor version: 0.9.0
Browser: Opera/Electron (Chrome)
OS: Windows 10
I am trying out Monaco editor in the playground area. Modified basic options example (https://microsoft.github.io/monaco-editor/playground.html#creating-the-editor-editor-basic-options) to include folding. Folding works great! However what I am noticing is that instead of showing "..." to expand the folded section, it is showing weird characters (please see the screenshot below).

This is happening in Opera browser and the Electron app I am building. I tested it on IE & Chrome and there it is working perfectly fine.

Here's the JS code I am using:
// Through the options literal, the behaviour of the editor can be easily customized.
// Here are a few examples of config options that can be passed to the editor.
// You can also call editor.updateOptions at any time to change the options.

var editor = monaco.editor.create(document.getElementById("container"), {
	value: "// First line\nfunction hello() {\n\talert('Hello world!');\n}\n// Last line",
	language: "javascript",
    folding: true,
	lineNumbers: false,
	roundedSelection: false,
	scrollBeyondLastLine: false,
	readOnly: false
});
setTimeout(function() {
	editor.updateOptions({
		lineNumbers: true
	});
}, 2000);

@gmantri Do you define the charset in the <head> of the HTML page: <meta charset="utf-8" /> ?

@alexandrudima I haven't defined it. That seems to have done the trick. Once I added it, I am no longer seeing the weird characters. Thanks!


Unused import errors

Never seen an error like this building cargo, probably related to invoking cargo install cargo:
Compiling cargo v0.10.0
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:28:5: 28:22 error: unused import
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:28 use std::error::Error;
                                                                                ^~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:1:9: 1:15 note: lint level defined here
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:1 #![deny(unused)]
                                                                                ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/ops/cargo_clean.rs:6:5: 6:25 error: unused import
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/ops/cargo_clean.rs:6 use core::source::Source;
                                                                                ^~~~~~~~~~~~~~~~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:1:9: 1:15 note: lint level defined here
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:1 #![deny(unused)]
                                                                                ^~~~~~
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/ops/cargo_install.rs:12:39: 12:47 error: unused import
.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/ops/cargo_install.rs:12 use core::{SourceId, Source, Package, Registry, Dependency, PackageIdSpec};
                                                                                ^~~~~~~~

and so on. Looks like too much linting but I doubt a compilation failure could have gone unnoticed. Is my rustc nightly "bad"?

Oy vey, what is the final error message meant to convey?
error: failed to compile cargo v0.10.0, intermediate artifacts can be found at /tmp/cargo-install.QisiyIDfoCR2``

I am having a similar problem as shown here https://gist.github.com/jaredmanning/80d1db95999032781d71967107bdaea9

This is likely fixed on master, and is also normally just a benign error that you can fix by switching rustc.

Thank you! I forgot to post saying that this problem did not arise after Cargo was updated to 0.11.0 on FreeBSD ports.


unable execute kitchen converge -l debug command

unable to execute kitchen converge -l debug command , throwing following errors
1)kitchen.yml

driver:
name: vagrant
provider: hyperv
network:

["public_network", bridge: "vagrant"]

provisioner:
name: chef_zero
You may wish to disable always updating cookbooks in CI or other testing environments.
For example:
always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
platforms:

name: ubuntu-16.04

- name: centos-7
suites:

name: default
run_list:

recipe[lampstack::default]
verifier:
inspec_tests:

test/integration/default
attributes:

2)i  set environment variables in control panel
VAGRANT_DEFAULT_PROVIDER=hyperv
3)KITCHEN_HYPERV_SWITCH=vagrant
4)made virtual switch
5)executed kitchen converge -l debug

Hi Hari,
Can you please try below kitechel.yml file
Plase try to launch  single Env on  Ubuntu coomented out CentOS below kitechel.yml file

driver:
name: vagrant
provisioner:
name: chef_zero
You may wish to disable always updating cookbooks in CI or other testing environments.
For example:
always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
platforms:

name: ubuntu-16.04
#- name: centos-7
suites:
name: default
run_list:

recipe[helloworld::default]
verifier:
inspec_tests:

test/recipes
attributes:

once it is done
go to cookbookfolfer
execue
berks install
kithen converge
kithen login
once it is done in your cook book folder
you should find out .kirtche folder inside vagrantfile will be available
Thanks
Ravi

I commented centos
On Sat, 8 Dec 2018, 12:37 p.m. raviops100<EMAIL_ADDRESS>wrote:

Hi Hari,
Can you please try below kitechel.yml file
Plase try to launch single Env on Ubuntu coomented out CentOS below
kitechel.yml file
driver:
name: vagrant
provisioner:
name: chef_zero
You may wish to disable always updating cookbooks in CI or other testing
environments. For example: always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
platforms:

name: ubuntu-16.04
#- name: centos-7
suites:
name: default
run_list:

recipe[helloworld::default]
verifier:
inspec_tests:

test/recipes
attributes:

once it is done
go to cookbookfolfer
execue
berks install
kithen converge
kithen login
once it is done in your cook book folder
you should find out .kirtche folder inside vagrantfile will be available
Thanks
Ravi
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/QT-DevOps/DevOpsIssues/issues/295#issuecomment-445437991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqWOmQe320uIYzhp3FEUNTqG-7uouQSIks5u22UVgaJpZM4ZGQAR
.


Envoy listener should enhance listening to IPv6 addresses

When I test envoy's support for IPv4/IPv6 dual stack, I need to add '' when listening to all IPv6 addresses
- name: listener_1
          address:
            socket_address: { address: '::' , port_value: 10000 }
          filter_chains:
            - filters:
                - name: envoy.filters.network.http_connection_manager
                  typed_config:
                    "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
                    stat_prefix: ingress_http
                    codec_type: AUTO
                    route_config:
                      name: local_route
                      virtual_hosts:
                      - name: local_service
                        domains: ["*"]
                        routes:
                        - match: { prefix: "/" }
                          route: { cluster: some_service }
                    http_filters:
                    - name: envoy.filters.http.router
                      typed_config:
                        "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router

that is probably a limit of yaml format.

I don't think there's anything further to be done on this issue; closing. If this is incorrect, let me know and I can reopen.


feat: basic implementation of v-memo for dom

close: #18

Hi! I'm the autofix.ci troubleshooter bot.
It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

There are too many conflicts, I am going to rewrite it

At the early stage, we think v-memo should be on hold for now.


[TW#18630] AUTH_FAIL loop following disconnect until ESP32 is power cycled.

Hardware:
Board:							ESP32 Dev Module
Core Installation/update date:			2017/11/26
IDE name:							Arduino IDE
Flash Frequency:					80Mhz
Upload Speed:						115200
Description:
Not sure if this issue already exists in the ESP32-IDF issues, but didn't see it. The issue appeared following update e5b2c1c  and remains until at least 1c3dd23. The issue was originally raised as (https://github.com/espressif/arduino-esp32/issues/918) but has been brought here because it is IDF related.
After one of the recent core updates, I have noticed that in the event that the WiFi gets disconnected or the application calls WiFi.disconnect(true|false), such as when a WiFi.scan() has to be called (due to a known bug https://github.com/espressif/arduino-esp32/issues/758), that it is often no longer possible to reconnect to the WiFi router until the ESP32 is power cycled. The problem happens about 1 in 3 times. Sometimes a simple reboot fixes the problem, but generally the power cycle is required.
Every attempt to make a connection with WiFi.begin results in AUTH_FAIL in this scenario despite the WiFi.begin parameters being correct:
[W][WiFiGeneric.cpp:270] _eventCallback(): Reason: 201 - AUTH_FAIL
The following message sometimes occurs as well, but not always so it is not clear :
[W][WiFiGeneric.cpp:270] _eventCallback(): Reason: 8 - ASSOC_LEAVE

The issue is also still present in Arduino IDE, see (espressif/arduino-esp32#1001) and (espressif/arduino-esp32#674).

@CelliesProjects Can you add more detail regarding how the issues you referenced are related to the stated problem? Otherwise, it makes more sense to raise a separate issues so that we one solved but the other remaining because someone thinks they are the same thing.

@lonerzzz

that it is often no longer possible to reconnect to the WiFi router until the ESP32 is power cycled. The problem happens about 1 in 3 times. Sometimes a simple reboot fixes the problem, but generally the power cycle is required.

This, and problems with SmartConfig, which has worked pretty good until october 2017 which isn't that far from e5b2c1cf4c08471c740d3f4e5f86012aa1f32894 (23 Nov 2017).

I am experiencing a similar problem that appeared after updating to a newer arduino-esp32 repo in late December. Prior to that my WiFi connections were always quite reliable, but since then I get many DISCONNECT events caused by AUTH_FAIL's. Sometimes power cycling improves the situation, but not reliably so. If I move my ESP32 to within a few feet of my AP the rate of DISCONNECTs goes down, but never to zero, whereas previously I got great WiFi coverage. After banging my head on the table for what seems like days without finding any reliable solution, I ran across this issue that rings pretty true to me: https://github.com/espressif/esp-idf/issues/1366. I can't be sure now that so much time has passed, but I think my problems started after upgrading to the version of the repository that had the backwards-incompatible change to SPIFFS_OBJ_META_LEN. I'm thinking that somehow that change, perhaps in combination with running the old mkspiffs.exe tool, corrupted the WiFi RF calibration data that is stored in NVS. I think the SmartConfig-stopped-working issue noted above could also be related to RF calibration data corruption. If anyone knows how to force PHY_RF_CAL_FULL (as described in #1366) after a reboot when using the arduino-esp32 it would make for easy confirmation that corrupted calibration data is  the root cause of many of the reported DISCONNECT/AUTH_FAIL problems.

HI @tferrin, you can enable force RF calibration via the menuconfig:  make menuconfig -> component config -> PHY -> Disable "Store phy calibration data in NVS"


Cannot find System.IdentityModel.Services assembly

Windows Identity Foundation depends mainly on System.IdentityModel.Services assembly. I am not able to find its source code in current repository

any ETA or at least a word on this?

We have a problem with this module redirecting with 302 response loosing authentication header details. Tried finding code to examine why this is happening, but can't spot - can this behaviour be explained or point to source code please?


Corrupted or Unusable Captcha Image Downloaded

Describe the Bug
When attempting to complete a captcha on Discord using the provided script, the downloaded captcha image appears to be corrupted or unusable.
To Reproduce
Steps to reproduce the behavior:
Run the script in the command line.
Comes across a captcha in Server.
Allow the script to download the captcha image.
Attempt to open the downloaded captcha image.
Expected Behavior
The downloaded captcha image should be valid and usable for completing the captcha challenge in Discord.

Screenshots
If applicable, attach screenshots of the error message or the corrupted captcha image.
Additional Context
OS: [e.g. Windows 10]
Python Version: [ Python 11]
Discord Client: [ Discord Desktop App, Discord Web Browser]
Captcha Script Version: [latest commit hash or version number]
Any other relevant information or observations about the issue.

Describe the Bug When attempting to complete a captcha on Discord using the provided script, the downloaded captcha image appears to be corrupted or unusable.
To Reproduce Steps to reproduce the behavior:
Run the script in the command line. Comes across a captcha in Server. Allow the script to download the captcha image. Attempt to open the downloaded captcha image. Expected Behavior The downloaded captcha image should be valid and usable for completing the captcha challenge in Discord.
Screenshots If applicable, attach screenshots of the error message or the corrupted captcha image.
Additional Context
OS: [e.g. Windows 10] Python Version: [ Python 11] Discord Client: [ Discord Desktop App, Discord Web Browser] Captcha Script Version: [latest commit hash or version number] Any other relevant information or observations about the issue.

I have found a possible fix for this. I will commit after more testing.

Please try the latest release. This must be fixed now.

Everything is working now! Thank you for the new release.


merge from arlac77/template-arlac77-github,arlac77/template-esm-only,arlac77/template-node-component

package.json

chore(deps): add ^3.10.1 remove ^3.10.0 (devDependencies.ava)

:tada: This PR is included in version 3.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Direct3D11CaptureFrame to Mat.

Summary of your issue
As we very well know, in opencvsharp a Mat is used as the common data object for an image/frame.
Using the Windows Graphics Capture API, the capture process outputs a Direct3D11CaptureFrame (one for each frame captured). Is it possible to directly convert these frames to a Mat ready to be used by opencvsharp? Any assistance/insight that can be provided with said task?
I would also like to note that I do know how to convert it into a Texture2D, is there a way to convert it into a Mat from there? Is there a faster direct way available?
Environment
Windows
Sample Code
Sample code to get the captured frame is way too large, but relevant documentation is available here.

I would like to add to this issue by saying that as of couple days ago, I was indeed able to figure out a way to convert Direct3D11CaptureFrame by copying memory in parallel (you can copy synchronously for lower resolutions and/or if you don't need high execution speed requirements) to a byte array.
Then using the byte array as a data reference for Mat.

Update: While my project here showcases how to convert Direct3DCaptureFrame to Mat, it seems the data is severely messed up. Is there any way around it?
https://github.com/TheBlackPlague/DynoSharp/blob/0272773727f685cb2601dd36253e2e64303864ee/DynoSharp/FramePool.cs#L208
You can feel free to check the code; the data in the byte array seems to be correct as per logic but something goes wrong in the conversion to Mat. It seems further assistance will be required.

Update

Update: While my project here showcases how to convert Direct3DCaptureFrame to Mat, it seems the data is severely messed up. Is there any way around it?
FramePool.cs // Line 208
You can feel free to check the code; the data in the byte array seems to be correct as per logic but something goes wrong in the conversion to Mat. It seems further assistance will be required.

A lot of information regarding this has been shared here: https://github.com/TheBlackPlague/DynoSharp/issues/2
Any help would be greatly appreciated.

Update
The issue was fixed by adding steps: width * (bytes / pixel). In my case, using BGRA8 format, it would mean there are 4 bytes / pixel.


Scroll up item not show

I select 1,3,5 position. Scroll down, after  slow scroll up item not show. Help me

Hi, thanks for reporting. I was just able to reproduce the issue, although I couldn't find a solution so easily... I'll investigate this further.

Hi, thanks for reporting. I was just able to reproduce the issue, although I couldn't find a solution so easily... I'll investigate this further.

I will wait your solution. Thanks

This should be fixed in version 3.0.0, since the whole layouting and recycling process was re-written from scratch.
However, this requires a few changes in how you use the library. Make sure to read the migration section on the README.


test: Check if the test is using Vagrant

Don't call goReportVagrantStatus() if the test is not using Vagrant.
Fixes: #11348
Signed-off-by: Michi Mutsuzaki<EMAIL_ADDRESS>

Coverage increased (+0.03%) to 44.463% when pulling 92138e53e3a21b5da00bb5718b80696c7190f09c on pr/michi/vagrantstruggle into 3ec3d25ba7479f349d14eec4754d43178c776875 on master.

test-me-please

restart-ginkgo

test-me-please

test-me-please

@nebril ping


chore: update jest repo organisation in urls

Summary
Find and replace to rename all github.com/facebook/jest URLs to github.com/jestjs/jest to reflect the organisation change.
This will cut out the 301 redirects Github does for any calls from https://github.com/facebook/jest to https://github.com/jestjs/jest and save a few yoctoseconds for anyone clicking these links from NPM, the Jest site, or elsewhere.

Test plan
N/A

Great stuff, thanks! Could you sign the CLA? 🙂

Thanks @SimenB, signed!


Updated "Running the image" example

test.js doesn't even exist anymore in this folder

What kind of change does this PR introduce?

Did you add tests for your changes?
If relevant, did you update the documentation?
Summary

Does this PR introduce a breaking change?

Other information

Closed due to lack of activity.


[JsonPatch]: Added functional tests for JsonPatch

@rynowak : Could you please take a look?

:watch:

@rynowak : updated code.

:shipit: after cleaning up spacing

checked in - 924d50bd8f9684b08124463cf4bc677fc5f2e5a2


boosting fps

is there any tweaks or confg that can boost fps?

do preset tweaks for desktop or laptop should improve


Issue number -2

Please advise about my assets at your earliest..!

@Mirsahibul07 please check to make sure you have filed this request in the correct place: if so, you need to provide a lot more information.  This issue queue is for requests or queries about the content on the web site developers.cardano.org.

Looks spam - randomly going to repos and demanding irrelevant info

thanks @rdlrt - I didn't think of looking up activity for the username 😖


AC3 stream not detected?

FFmpeg detect 3 audio streams while MI detect only 2.
https://www89.zippyshare.com/v/CYIdmZum/file.html
So one should be mistaken ;)

It seem to be a substream.
The problem athat i see is to apply the MI audio parsing to FFmpeg command line, as the audio stream refered to 0:2 by FFmpeg is "unlistenable" by itself.

Hum...i don't think MI is the faulty one ;)

We actually merge Bluray substreams in a single track, this is on purpose (single content).

Yes, that sound fine to me as the substream isn't playble by itself AFAIK.


docs: changed tfsec_vars to tfsec_args

https://github.com/aquasecurity/tfsec-pr-commenter-action/blob/main/action.yml#:~:text=default%3A latest-,tfsec_args%3A,-required%3A false
In the README, the argument parameter was tfsec_vars.
So I changed it to tfsec_args.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Modal Pop-up Form - Padding Issues

There are some padding issues with mobile pop-up form. The text does not have proper vertical padding. Should match with the bottom.

Example: https://main--shredit--stericycle.aem.page/en-us/marketing/locations/paper-shredding-columbus

This is now done

The modal was not published thats the issue it should be fixed now


⚠ Fortnite has degraded performance

In ca8bdee, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1549 ms

Resolved: Fortnite performance has improved in 12586e3.


Build breaks with ftxui-5.0.0

Problem Description
In file included from /wrkdirs/usr/ports/net/ecal/work/ecal-5.12.0/app/mon/mon_tui/src/main.cpp:29:
In file included from /wrkdirs/usr/ports/net/ecal/work/ecal-5.12.0/app/mon/mon_tui/src/tui/tui.hpp:31:
/wrkdirs/usr/ports/net/ecal/work/ecal-5.12.0/app/mon/mon_tui/src/tui/style_sheet.hpp:103:23: error: no member named 'transform' in 'ftxui::ConstStringListRef'
    sheet.tab.entries.transform = [](EntryState state)
    ~~~~~~~~~~~~~~~~~ ^
/wrkdirs/usr/ports/net/ecal/work/ecal-5.12.0/app/mon/mon_tui/src/tui/style_sheet.hpp:113:39: error: no member named 'Right' in 'ftxui::MenuOption'
    sheet.tab.direction = MenuOption::Right;
                          ~~~~~~~~~~~~^
/wrkdirs/usr/ports/net/ecal/work/ecal-5.12.0/app/mon/mon_tui/src/tui/style_sheet.hpp:205:23: error: no member named 'transform' in 'ftxui::ConstStringListRef'
    sheet.tab.entries.transform = [](EntryState state) {
    ~~~~~~~~~~~~~~~~~ ^
/wrkdirs/usr/ports/net/ecal/work/ecal-5.12.0/app/mon/mon_tui/src/tui/style_sheet.hpp:212:39: error: no member named 'Right' in 'ftxui::MenuOption'
    sheet.tab.direction = MenuOption::Right;
                          ~~~~~~~~~~~~^
4 errors generated.

How to reproduce
Regular build
How did you get eCAL?
Custom Build / Built from source
Environment
FreeBSD 13.2
eCAL System Information
No response

FTXUI had a breaking API change with the 5.0.0 release. We need to adapt the eCAL code to support 5.0.0 releases of FTXUI.

FTXUI adheres to semantic versioning. Introducing a breaking change means a breaking change is introduced.
The CHANGELOG documents them. In particular, you are looking for:

Breaking: MenuOption::entries is renamed MenuOption::entries_option.

About reporting the FTXUI version, you can use:
find_package(ftxui REQUIRED)
add_definitions(-DFTXUI_VERSION_MAJOR ${ftxui_VERSION_MAJOR})

#if FTXUI_VERSION_MAJOR == 5
  [...]
#endif

However, I recommand depending on a specific version of FTXUI. You can use git submodule, cmake FetchContent, or C++ package managers. See FTXUI documentation.

However, I recommand depending on a specific version of FTXUI. You can use git submodule, cmake FetchContent, or C++ package managers. See FTXUI documentation.

Please don't use FetchContent. It downloads files which isn't allowed from package builders.
Please consider fixing FTXUI version compatibility rather than just sticking to older versions which will have to be changed later anyways.


Unable to deploy from nested Artifactory Helm repository

Issue
Using JFrog private Helm repo is not working with flux but works with helm install
Reproduction
Using following configuration
Helm repo
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
  name: jfrog-helm
  namespace: flux-system
spec:
  interval: 1m
  secretRef:
    name: jfrog-helm-creds
  url: https://xxxx.jfrog.io/artifactory/helm

Using following release
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: elasticsearch
  namespace: test-9
spec:
  interval: 1m
  releaseName: elasticsearch
  chart:
    spec:
      chart: elastic/elasticsearch
      version: 7.9.2
      sourceRef:
        kind: HelmRepository
        name: jfrog-helm
        namespace: flux-system
      interval: 1m
  values:
    clusterName: "elasticsearch"
    nodeGroup: "master"
    replicas: 1
    minimumMasterNodes: 1
    image: "docker.elastic.co/elasticsearch/elasticsearch"
    imageTag: "6.8.8"
    imagePullPolicy: "IfNotPresent"
    overideName: "elasticsearch"
    esJavaOpts: "-Xmx1g -Xms1g"
    volumeClaimTemplate:
      accessModes: [ "ReadWriteOnce" ]
      resources:
        requests:
          storage: 500Gi
    resources:
      requests:
        cpu: "1000m"
        memory: "1Gi"
      limits:
        cpu: "1000m"
        memory: "3Gi"
    lifecycle:
      postStart:
        exec:
          command:
             - bash
             - -c
             - |
               #!/bin/bash
               ES_URL=http://localhost:9200
               while [[ "$(curl -s -o /dev/null -w '%{http_code}\n' $ES_URL)" != "200" ]]; do sleep 1; done
               curl -XPOST "$ES_URL/_scripts/connections_threshold" -H 'Content-Type: application/json' -d'{"script": {"lang": "painless","source": "return params.total >= params.threshold;"}}'
               curl -XPOST "$ES_URL/_scripts/misconfigurations_threshold" -H 'Content-Type: application/json' -d'{"script": {"lang": "painless","source": "return params.misconfigurations_count >= params.threshold;"}}'

The helm release fails deployment because the chart is not fetched:
➜  fluxv2_test git:(main) kubectl get helmcharts.source.toolkit.fluxcd.io -A
NAMESPACE     NAME                   CHART                   VERSION   SOURCE KIND      SOURCE NAME   READY     STATUS                       AGE
flux-system   test-9-elasticsearch   elastic/elasticsearch   7.9.2     HelmRepository   jfrog-helm    Unknown   reconciliation in progress   14m
➜  fluxv2_test git:(main) kubectl get helmcharts.source.toolkit.fluxcd.io -A
NAMESPACE     NAME                   CHART                   VERSION   SOURCE KIND      SOURCE NAME   READY   STATUS                                                                                AGE
flux-system   test-9-elasticsearch   elastic/elasticsearch   7.9.2     HelmRepository   jfrog-helm    False   storage error: symlink /data/helmchart/flux-system/test-9-elasticsearch/elastic/elasticsearch-7.9.2.tgz /data/helmchart/flux-system/test-9-elasticsearch/elastic/elastic/elasticsearch-latest.tgz.tmp: no such file or directory   14m

Notes

Secret jfrog-helm-creds is set correctly
Using helm install with the same configuration (i.e. password, repo and chart) works prefectly
Using a public repo (i.e. bitnami) with the above resources works

Any idea how to resolve this ?
My hair is turning even grayer....and it's pretty gray already... 😢

@hiddeco
Run kubectl delete helmcharts.source.toolkit.fluxcd.io test-9-elasticsearch -n flux-system to clear it, it was recreated exactly the same with the same error....

That's too bad, bit gives me some additional pointers.
Can you please share the new state of kubectl describe helmchart [...], and the entry of the Helm repository index.yaml the chart was downloaded from?

On second thoughts, I think I just identified your issue for the time being, here are the corrected manifests:
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
  name: jfrog-helm-elastic
  namespace: flux-system
spec:
  interval: 1m
  secretRef:
    name: jfrog-helm-creds
  url: https://xxxx.jfrog.io/artifactory/helm/elastic
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: elasticsearch
  namespace: test-9
spec:
  interval: 1m
  releaseName: elasticsearch
  chart:
    spec:
      chart: elasticsearch
      version: 7.9.2
      sourceRef:
        kind: HelmRepository
        name: jfrog-helm-elastic
        namespace: flux-system
      interval: 1m
...

While Artifactory may support some type of nested Helm repository structure(s), the source-controller expects to work on "root" Helm repository level at present.

To add to this, / characters are not allowed in chart names by Helm conventions in general:

Chart names must be lower case letters and numbers. Words may be separated with dashes (-)

https://helm.sh/docs/chart_best_practices/conventions/#chart-names
Artifactory is thus doing something thay may work at present, but is not supported by Helm.

@hiddeco - thanks ! 👍
I also find JFrog to not be compatible with ArgoCD as well due to the same reason :)
Thanks again for the quick help !

I also find JFrog to not be compatible with ArgoCD as well due to the same reason :)

It is compatible, but not with the "top level" repository made available by it. Using the "nested" Helm repository, as provided in my example, should work.
I have added a validation to guide users towards solving this, thanks for filing the issue :sunflower:


Release new version of JetBrains plugin

Email activation sign-in flow
Update Navie
Install guide update to include Navie

:tada: This PR is included in version 0.60.0 :tada:
The release is available on:

v0.60.0
GitHub release

Your semantic-release bot :package::rocket:


Add CONTRIBUTING.md

To document some internal project rules, issue labels' meaning, and local code style particularities, like "no empty lines inside function bodies", "only use nested imports", "group imports in three blocks: std, external, internal", etc

@ozkriff that would be cool