Missing Null Safety on WidgetsBinding & SchedulerBinding

The image_editor_plus: ^0.1.3 package in our project, is using the latest version of nb_utils: 4.5.1.
Our Flutter project's environment sdk contraints are:
environment:
  sdk: ">=2.16.2 <3.0.0"

When building the app for Android, the build fails with the following error:
../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/utils/common.dart:200:29: Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?' because it is potentially null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/packages/flutter/lib/src/scheduler/binding.dart').
Try calling using ?. instead.
  SchedulerBinding.instance.addPostFrameCallback((_) => onCreated?.call());
                            ^^^^^^^^^^^^^^^^^^^^
../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/utils/after_layout.dart:12:10: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
        .addPostFrameCallback((_) => afterFirstLayout(context));
         ^^^^^^^^^^^^^^^^^^^^
../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/OverlayCustomWidget.dart:59:31: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
      WidgetsBinding.instance.addPostFrameCallback((_) => showOverlay());
                              ^^^^^^^^^^^^^^^^^^^^
../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/OverlayCustomWidget.dart:66:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
    WidgetsBinding.instance.addPostFrameCallback((_) => syncWidgetAndOverlay());
                            ^^^^^^^^^^^^^^^^^^^^
../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/OverlayCustomWidget.dart:72:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
    WidgetsBinding.instance.addPostFrameCallback((_) => syncWidgetAndOverlay());
                            ^^^^^^^^^^^^^^^^^^^^
../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/TimerWidget.dart:44:29: Error: Method 'addObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
    WidgetsBinding.instance.addObserver(this);
                            ^^^^^^^^^^^
../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/TimerWidget.dart:59:29: Error: Method 'removeObserver' cannot be called on 'WidgetsBinding?' because it is potentially null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../Flutter%20SDK/Flutter%20Git%20Repository/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
    WidgetsBinding.instance.removeObserver(this);
                            ^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

It seems you have missed null safety on WidgetsBinding and SchedulerBinding methods, causing the exception to be thrown. Can you get please provide a fix for this asap?

the same issue here :D

You have to update for Flutter SDK version to 3.0.0.
Or you can use nb_utills version 4.5.0.

I am using Flutter 3.0, but still, it is giving the same errors.

Please show error here.

../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/TimerWidget.dart:44:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.

'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Developer/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance?.addObserver(this);
^
../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/TimerWidget.dart:59:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Developer/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance?.removeObserver(this);
^
../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/OverlayCustomWidget.dart:59:22: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Developer/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance?.addPostFrameCallback((_) => showOverlay());
^
../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/OverlayCustomWidget.dart:66:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Developer/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance?.addPostFrameCallback((_) => syncWidgetAndOverlay());
^
../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/widgets/OverlayCustomWidget.dart:72:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Developer/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance?.addPostFrameCallback((_) => syncWidgetAndOverlay());
^
../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/utils/common.dart:200:20: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../Developer/flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance?.addPostFrameCallback((_) => onCreated?.call());
^
../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.1/lib/src/utils/after_layout.dart:11:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Developer/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance?.addPostFrameCallback((_) => afterFirstLayout(context));

Ok, show flutter doctor command output.

(base) dhanraj@192 ytcards % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.67.0)
[✓] Connected device (3 available)
! Error: Dhanraj’s iPhone is busy: Waiting to connect and unlock the device. Xcode will continue when Dhanraj’s iPhone is finished. (code -10)
! Error: iPad is not connected. Xcode will continue when iPad is connected. (code -13)
[✓] HTTP Host Availability
• No issues found!

same error in my project also when implementing this package

Upgrade this package to the latest version 4.5.2 and check if your issue is solved or not.

Yes, All errors are gone. Working smoothly ✨  Thank you!!!

Upgrade this package to the latest version 4.5.2 and check if your issue is solved or not.

It is solved with v4.5.2 & flutter 2.8.1. but this means I can't use later versions :(
UPDATE: I upgraded to flutter 3 -> it is solved (in both 4.5.2 & the latest)


As rancher/k8s:v1.10.0-rancher1-2 had released, when rancher/server:preview support v1.10.0-rancher1-2

As rancher/k8s:v1.10.0-rancher1-2 had released, when rancher/server:preview support v1.10.0-rancher1-2.
github.com/rancher/types/apis/management.cattle.io/v3/k8s_defaults.go now is
const (
K8sV18  = "v1.8.10-rancher1-1"
K8sV19  = "v1.9.5-rancher1-1"
K8sV110 = "v1.10.0-rancher1-1"
)
I just want the version that had fixed the following error:
Failed to start container manager: inotify_add_watch /sys/fs/cgroup/cpuacct,cpu: no such file or directory

This is already available in v2.0.0-beta3, which should be the preview tag. This can be found for any cluster using node pools or custom nodes. It's under "cluster options" when creating a cluster.


style.css: increase div-server width

fix for bug #216

Better will be if will 375px

I've set it to 380px to leave some room for one more alphanumeric character (just in case)
But let's what happens in the future...
Thanks!


Implement Cities special achievements

All of the special achievements occur in either on meld event (the splaying achievements) or during a tuck dogma/endorse action (flag, fountain).
The splaying achievements should be pretty simple.  The tucking ones shouldn't be too hard.

There are some special icons on the special achievement cards (left, right, up arrow, flag and fountains)

@micahstairs This will require additions to the database.  We basically need to set flags when the conditions for the special achievements are met (sort of like counters for monument).  How big a deal is it?

or maybe this could be solved with a global variable?  I'm not sure why the monument trackers are stored in the DB

I haven't looked closely at the Cities special achievements and thought about the best way to implement them yet
But to answer your questions, global variables are still stored in the DB. Also the scoring and tucking counters are in the players table because each player needs its own counter (since you can get the special achievement even on an opponent's turn).

All of the Cities special achievements are like Monument in that they are earned through actions during a turn and are not dependent on the final state of the board after an action has occurred (like the other Base and all Echoes specials).
3 of them are earned by melding a card onto a pile of a matching splay (left, right, up) and 2 of them are earned by tucking a city card with a flag or fountain.  So, I think you need to set a flag in the event the condition is met during the turn (like Monument).  It doesn't need to be a count like Monument.
Also, with the transition from awarding them immediately to awarding them at the end of an action, the flag would make sense.
I guess we could also keep the immediate aspect of these specials and that would prevent this complication.

I was going to email Chris this week and get his thoughts on the "immediately" aspect of this.

ah ok.  sounds good.

Actually wait, we can definitely do them immediately here since they happen as a result of a Meld action. We don't need to worry about the waiting until the end of the current dogma effect in this case. And because we can do it immediately, we don't need to worry about storing anything in the DB.

ok, excellent.  I will do it that way then.

For the two that are a result of tucking, that will require a monument-like behavior since that happens during a dogma effect.

Given the conversation with Chris, Glory and Victory can also be achieved immediately (like Monument) so it will be done that way.

These achievements are done now.


OnChange Event Callback

There is a way to dispatch an event when something in the map changes? Like, shape, text, position...
MM.App.onChange = () => {
     //do something
}

Hi @brunoinds,
there is no such thing. If you wish to "listen" to stuff happening inside the app, hooking into (i.e. rewriting with a proxy) the MM.App.action might be a good way. I think that every primitive operation (i.e. every MM.Action instance) goes through this function.

The new pubsub module is the proper way to listen for changes. I believe that all changes generate the "item-change" message sent via the PubSub.


Task/ccls 1771 refactor services

Dependant on: https://github.com/ministryofjustice/laa-ccms-caab-helm-charts/pull/4


Variables within for instance operator[] are not tagged correctly.

https://llvm.org/bugs/show_bug.cgi?id=12972

Maybe use http://clang.llvm.org/doxygen/group__CINDEX__CURSOR__TRAVERSAL.html instead

Its that one thats used in the example you gave us in the assignment.
I think you send a pointer to a function call for each  cursor range. It's quite elegant actually.

Ok, I'll fix it next week:)

Do you have a link to that example I gave you?

I can't find it anywhere, it was on hpr but I can't find it there anymore. Maybe it's in some email archive or something on your computer from when you wrote the assignment.

Was this the one:
http://www.ics.com/blog/introduction-clang-part-2
?

Yes.

Fixed in latest libclangmm pull request

Btw, the http://www.ics.com/blog/introduction-clang-part-2 way to do it did not work. Did not get the correct range for variables declared, for instance:
size_t c;

Here the range got from 0 to the end of c for some reason.

Aha, I gave up finding a solution for this earlier this year.


Configure Azure PipelinesCode workflow

This pipeline configuration builds the application and produces a build for the Release configuration.

 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.:x: gadgilp1979 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Copy-SqlJob does not -DisableOnDestination

I ran Copy-SqlJob on an array of jobnames with -DisableOnDestination. When I reviewed the final product, only the first two jobs in the array got disabled. Everything else was enabled.

Fixed by #133, which I did not have.


Make the source metrics lazy

Right now we preallocate the source metrics. We could make it lazy to avoid exporting a pulsar metrics if pulsar is not used for instance.

Closed via #4881.


[BUG] Redis unpacking exception when delay is seconds

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

DeepFlow Component
Agent
What you expected to happen
Theoretically, Redis is not prone to second-level response, but when a second-level response occurs, we hope that the unpacking is correct.
How to reproduce
We found out that redis had many second-level delays and were curious, so we captured and analyzed the packets and found that the second-level data req_tcp_seq and resp_tcp_seq did not match, as shown in the following figure:
The l7 flow log

The request packet

The wrong response packet

The correct response packet

By the way, the millisecond response unpacking is correct, only appears in the second response.
DeepFlow version
Name: deepflow-server community edition
Branch: master
CommitID: 21e985d71c41021c86c57a1cbf7a8aa7a1890a33
RevCount: 9710
Compiler: go version go1.19.10 linux/amd64
CompileTime: 2023-11-06 13:22:03

Name: deepflow-agent community edition
Branch: master
CommitId: 5c7b557ab2540c03d023cf8b658ee265e2cc3722
RevCount: 9347
Compiler: rustc 1.72.0 (5680fa18f 2023-08-23)
CompileTime: 2023-09-21 13:14:47

DeepFlow agent list
No response
Kubernetes CNI
aws-vpc-cni
Operation-System/Kernel version
Ubuntu 22.04.3 LTS
5.10.192-183.736.amzn2.x86_64

Anything else
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This issue seems to have been unaddressed for a long time, and I'm not sure if there is still an environment available for investigation.
From your description, this phenomenon seems very strange. Since Redis is a serial protocol, a response should always follow a request. My guess is as follows:
The actual sequence of packets might be:
#18441: Redis Request for query#1, TCP Seq =<PHONE_NUMBER>
#18443: Redis Response for query#1, TCP Seq =<PHONE_NUMBER>       // the correct response
#?????: Redis Request for query#2, TCP Seq = ??
#20521: Redis Response for query#2, TCP Seq =<PHONE_NUMBER>        // the wrong response

I think it might be possible that due to some reason, such as CPU or memory shortage, the deepflow-agent did not capture the two middle packets, causing the first and fourth packets to be incorrectly matched as one query.
If this situation still occurs, you can investigate as follows:

Use resp_tcp_seq =<PHONE_NUMBER> (i.e., the correct response's TCP Seq) to query in l7_flow_log to see if there are any results.
Check Grafana Dashboard - DeepFlow System - DeepFlow Agent - Performance (Packet Capturing from Kernel) - Packet Drops in Kernel (Agent Can't Process)

Also, by the way, what do you mean by second-level response?


pipeline disable pipeline load in master code

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.17 seconds
stream load tsv:          538 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.1 seconds inserted 10000000 Rows, about 343K ops/s
storage size:<PHONE_NUMBER>6 Bytes


Add documentation on qr codes in reports

Add instruction on how to include a QR code in a report
{% load qr_code %}
Remember - must set png format!

This is now documented


Absolute Difference and Addition not working properly on GPU

Hi,
I am using CLAbsoluteDifference and CLArithmeticAddition class from ComputeLibrary and testing it on different image sizes. I am having some issues with respect to both while running on GPU.

Absolute Difference output not proper for input type S16-S16 on CL:
In my setup, I want to evaluate Absolute Difference for two input combinations : U8-U8 and S16-S16. Here, U8-U8 combination works properly and gives results as expected but S16-S16 combination output is not proper. Some of the points are coming properly in the output but some image columns are set to zeros and some others are going completely wrong. I have captured this in the attached files : AbsDiff_GPU_16x16.txt, AbsDiff_GPU_24x24.txt

CLArithmeticAddition ConvertPolicy::WRAP not working.
I am trying to add two images of type U8-U8 for both overflow handling policies. Here, ConvertPolicy::SATURATE works fine. But ConvertPolicy::WRAP is also giving results same as ConvertPolicy::SATURATE itself. Please refer my results in Add_GPU_16x16_U8_U8_Wrap.txt

CLArithmeticAddition input combinations of U8-S16, S16-U8 and S16-S16 are not proper.
This is not exactly similar to issue 1. The outputs are all going wrong. Please refer Add_GPU_16x16_S16_U8.txt, Add_GPU_16x16_U8_S16.txt and Add_GPU_16x16_S16_S16.txt files. The behaviour is similar for both convert policies.

The basic code flow in my algorithm is as below:
// Assign format for the input and output images
format1 = Format::S16;
format2 = Format::S16;
format3 = Format::S16;
    // Access schedule and initialise context & command queue
    CLScheduler::get().default_init();

    // Initiailise ACL images
    src1.allocator()->init(TensorInfo(imageWidth, imageHeight, format1));
    src2.allocator()->init(TensorInfo(imageWidth, imageHeight, format2));
    dest.allocator()->init(TensorInfo(imageWidth, imageHeight, format3));

    // Call ACL configure. Padding info updated inside images (accurate padding)
    absDiff.configure(&src1, &src2, &dest);

    // Allocate ACL images
    src1.allocator()->allocate();
    src2.allocator()->allocate();
    dest.allocator()->allocate();

   src1.map(true);
        // Copy each row separately
    src1.unmap();
    src2.map(true);
        // Copy each row separately
    src2.unmap();

    // Call ACL run
    absDiff.run();

    // Make sure all the OpenCL jobs are done executing
    CLScheduler::get().sync();

    dest.map(true);
        // Copy each row separately
    dest.unmap();

Are there any such known issues with convert policy or data types for CL?
Please note that a similar code flow on NEON gives the expected output in all cases. Kindly let me know how I can fix this issue on CL.
AbsDiff_GPU_16x16.txt
AbsDiff_GPU_24x24.txt
Add_GPU_16x16_S16_S16.txt
Add_GPU_16x16_S16_U8.txt
Add_GPU_16x16_U8_S16.txt
Add_GPU_16x16_U8_U8_Wrap.txt
Thanks,
Rohit

Hello @rohit-unnimadhavan,
Can you also post the copy each row code?

@rohit-unnimadhavan,
I cannot reproduce anything locally. Everything seems to work fine. Can you check if you memcpy correctly in bytes?
You can also print your tensor like:
void print_tensor(CLTensor& tensor)
{
    tensor.map(true);
    tensor.print(std::cout);
    tensor.unmap();
}

....
// Print input tensors
print_tensor(src1);
print_tensor(src2);
// Run etc ...
// Print output tensor
 print_tensor(dest);

Hi  @rohit-unnimadhavan ,
maybe the issue is in the for loop of the copy per row.
Instead of:
memcpy((void *) ((uint8_t*)dstBase + y * imageWidth),  dest.buffer() + dest.info()->offset_element_in_bytes(Coordinates(0,y)), imageWidth * sizeFormat3);
can you try:
memcpy((void *) ((uint8_t*)dstBase + y * imageWidth * sizeFormat3),  dest.buffer() + dest.info()->offset_element_in_bytes(Coordinates(0,y)), imageWidth * sizeFormat3);
?

Hi @GeorgeARM ,
Sorry for the delay in reply.
I tried printing the tensors like you suggested and it seems the inputs are going properly and the output tensor itself is wrong. So, I think we can rule out the case of error while copying. I am attaching the log file for your reference.
AbsDiff_16x16_S16_S16_ACL_GPU_with_tensor_print.txt


[BUG] Ctrl-q do NOT quit the App

Describe the bug 🐛
Ctrl-q do NOT quit the App
To Reproduce 🐣
Ctrl-q
Expected behavior  🤔
Quit the App
Desktop (please complete the following information):  🤖

Linux
Version 2.0.0

Oops! My bad. Gimme a few minutes!

No problem. Take your time!
Moreover, the date format must be written like this: MM-dd-YYYY instead
of: mm-DD-YYYY like in the docs ...

Alright, this should be fixed now!
As for the date and time stuff,
You can now set a variable in your config file called USE_DAY_FIRST
Example:
USE_DAY_FIRST = True

By default, it's set to True which means that it'll parse in mm-dd format
So when you type 1-10 this means 1st of October
But if the variable is set to False, it'll mean 10th of January

Closing as fixed
Feel free to re-open if there's any issue

No! Still not working. Can't quit the App 😥

Hey!
It looks like PyPi has some extra authentication stuff that prevented from publishing
You can install the latest version using this command:
pip install git+https://github.com/kraanzu/dooit.git


When adding a new row on the 'complex' example, the ID assigned to the Job is arbitrary

Please see screenshot for reference: http://i.imgur.com/T1m0RGH.png

oh, it's feature for react-bootstrap-table, https://allenfang.github.io/react-bootstrap-table/docs.html#autoValue


Refactor error handling and recategorize errors

Changes
This PR improves error handling and error passing between Atree, Cadence, and FVM.

Categorize errors into FatalError, ExternalError, and UserError.
Implement Unwrap() for FatalError, ExternalError, and UserError.
Add tests for error categorization, etc.

Closes #285
Details
Errors are categorized as early as feasible to avoid using defer at higher levels.  Thus, changes in this PR only affect the error paths and avoids affecting the happy paths.
Here, the word "pluggable" describes interfaces or callback functions that might be implemented by external packages.
Basically, when Atree:

Creates an error: create either FatalError or UserError.
Receives error from known packages: wrap the error in FatalError or UserError.
Receives error from pluggable interfaces or callback functions: wrap the error as ExternalError only if it is not categorized already.
Receives error from its own functions:  there's no need to categorize error because it's already categorized, so just wrap the error with more context if needed.

Pluggable interfaces:

Ledger
BaseStorage
SlabStorage
TypeInfo
Value
Storable
DigesterBuilder
Digester

Pluggable callback functions:

StorableDecoder
TypeInfoDecoder
ValueComparator
StorableComparator
HashInputProvider
ArrayElementProvider
MapElementProvider
ArrayIterationFunc
MapEntryIterationFunc
MapElementIterationFunc

[x] Targeted PR against main branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Codecov Report

Merging #295 (b723026) into main (c836704) will decrease coverage by 4.42%.
The diff coverage is 15.74%.

@@            Coverage Diff             @@
##             main     #295      +/-   ##
==========================================
- Coverage   69.05%   64.64%   -4.42%
==========================================
  Files          14       14
  Lines        7314     7991     +677
==========================================
+ Hits         5051     5166     +115
- Misses       1629     2150     +521
- Partials      634      675      +41

Impacted Files
Coverage Δ

array_debug.go
51.65% <0.00%> (-2.52%)
:arrow_down:

encode.go
79.36% <0.00%> (-1.29%)
:arrow_down:

hash.go
69.86% <0.00%> (-1.97%)
:arrow_down:

map_debug.go
51.67% <0.00%> (-3.84%)
:arrow_down:

array.go
69.86% <14.28%> (-6.29%)
:arrow_down:

map.go
66.79% <14.81%> (-4.89%)
:arrow_down:

basicarray.go
49.78% <15.15%> (-3.77%)
:arrow_down:

storage.go
74.84% <15.47%> (-4.58%)
:arrow_down:

storable_slab.go
45.45% <25.00%> (-4.55%)
:arrow_down:

storable.go
54.41% <30.43%> (-11.17%)
:arrow_down:

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

go test -cover reports  81.3% but Codecov is ~16% lower than what is reported by Go tooling.


option to draw checkboxes inline (default) or stacked

Stacked checkboxes make it easier to draw a tree menu for example
In my example, the options get indented with   to create a tree like menu.
$form->checkbox('categories')->options(...)->stacked();

Thanks！！

I think the same code can be applied to the radio button


Add second version for py39

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


opencv2 features 2d not found

When i'm trying to build this repo with catkin make command. i'm getting below error message:
/usr/local/include/lvr2/algorithm/Texturizer.hpp:53:10: fatal error: opencv2/features2d.hpp: No such file or directory
   53 | #include <opencv2/features2d.hpp>

I have installed the opencv library with command:
sudo apt-get install libopencv-dev
My plat form is ubuntu 20.04, ros noetic.
I've successfully installed the lvr2 library as described in this page.
and the mesh_tools ros package successfully from source.

Hi, this bug should now be fixed on the latest master.
Thanks for your feedback.


Enable intree volume e2e tests

PR #68 disables intree volume (AzureDisk) e2e tests because azure cloud config is required to pass them.
We should figure out how to get azure cloud config for e2e clusters and enable those tests after that.

Because of #124, CSI drivers are required for AzureDisk volume plugins, but CSI drivers are still not ready yet.

/milestone v1.15

/milestone v1.16

/milestone clear

E2e tests for AzureDisk and AzureFile would be added in their own CSI repos: https://github.com/kubernetes-sigs/azuredisk-csi-driver and https://github.com/kubernetes-sigs/azurefile-csi-driver.
/close


Exception: starting signal not seen within 11 seconds

Hi,
I don't understand why I get the below error.
[root@host1 smallfile]# python smallfile_cli.py --top /mnt/gluster/gv0_ganesha_nfs/smallfile --host-set host1,host2,host3,host4,host6,host7 --threads 8 --file-size 4 --files 10 --response-times Y --operation create
                                 version : 3.1
                           hosts in test : ['host1', 'host2', 'host3', 'host4', 'host6', 'host7']
                   top test directory(s) : ['/mnt/gluster/gv0_ganesha_nfs/smallfile']
                               operation : create
                            files/thread : 10
                                 threads : 8
           record size (KB, 0 = maximum) : 0
                          file size (KB) : 4
                  file size distribution : fixed
                           files per dir : 100
                            dirs per dir : 10
              threads share directories? : N
                         filename prefix :
                         filename suffix :
             hash file number into dir.? : N
                     fsync after modify? : N
          pause between files (microsec) : 0
                    finish all requests? : Y
                              stonewall? : Y
                 measure response times? : Y
                            verify read? : Y
                                verbose? : False
                          log to stderr? : False
                           ext.attr.size : 0
                          ext.attr.count : 0
               permute host directories? : N
                remote program directory : /root/smallfile
               network thread sync. dir. : /mnt/gluster/gv0_ganesha_nfs/smallfile/network_shared
starting all threads by creating starting gate file /mnt/gluster/gv0_ganesha_nfs/smallfile/network_shared/starting_gate.tmp
Traceback (most recent call last):
  File "/root/smallfile/smallfile_remote.py", line 48, in <module>
    run_workload()
  File "/root/smallfile/smallfile_remote.py", line 39, in run_workload
    return multi_thread_workload.run_multi_thread_workload(params)
  File "/root/smallfile/multi_thread_workload.py", line 143, in run_multi_thread_workload
    % prm.host_startup_timeout)
Exception: starting signal not seen within 11 seconds
Traceback (most recent call last):
  File "/root/smallfile/smallfile_remote.py", line 48, in <module>
    run_workload()
  File "/root/smallfile/smallfile_remote.py", line 39, in run_workload
    return multi_thread_workload.run_multi_thread_workload(params)
  File "/root/smallfile/multi_thread_workload.py", line 143, in run_multi_thread_workload
    % prm.host_startup_timeout)
Exception: starting signal not seen within 11 seconds
ERROR: ssh thread for host host2 completed with status 256
Traceback (most recent call last):
  File "/root/smallfile/smallfile_remote.py", line 48, in <module>
    run_workload()
  File "/root/smallfile/smallfile_remote.py", line 39, in run_workload
    return multi_thread_workload.run_multi_thread_workload(params)
  File "/root/smallfile/multi_thread_workload.py", line 143, in run_multi_thread_workload
    % prm.host_startup_timeout)
Exception: starting signal not seen within 11 seconds
ERROR: ssh thread for host host3 completed with status 256
Traceback (most recent call last):
  File "/root/smallfile/smallfile_remote.py", line 48, in <module>
    run_workload()
  File "/root/smallfile/smallfile_remote.py", line 39, in run_workload
    return multi_thread_workload.run_multi_thread_workload(params)
  File "/root/smallfile/multi_thread_workload.py", line 143, in run_multi_thread_workload
    % prm.host_startup_timeout)
Exception: starting signal not seen within 11 seconds
ERROR: ssh thread for host host4 completed with status 256
Traceback (most recent call last):
  File "/root/smallfile/smallfile_remote.py", line 48, in <module>
    run_workload()
  File "/root/smallfile/smallfile_remote.py", line 39, in run_workload
    return multi_thread_workload.run_multi_thread_workload(params)
  File "/root/smallfile/multi_thread_workload.py", line 143, in run_multi_thread_workload
    % prm.host_startup_timeout)
Exception: starting signal not seen within 11 seconds
ERROR: ssh thread for host host6 completed with status 256
ERROR: ssh thread for host host7 completed with status 256
  pickle file /mnt/gluster/gv0_ganesha_nfs/smallfile/network_shared/host2_result.pickle not found
  pickle file /mnt/gluster/gv0_ganesha_nfs/smallfile/network_shared/host3_result.pickle not found
  pickle file /mnt/gluster/gv0_ganesha_nfs/smallfile/network_shared/host4_result.pickle not found
  pickle file /mnt/gluster/gv0_ganesha_nfs/smallfile/network_shared/host6_result.pickle not found
  pickle file /mnt/gluster/gv0_ganesha_nfs/smallfile/network_shared/host7_result.pickle not found
host = host1,thr = 00,elapsed = 1.292002,files = 10,records = 10,status = ok
host = host1,thr = 01,elapsed = 1.314542,files = 10,records = 10,status = ok
host = host1,thr = 02,elapsed = 1.298001,files = 10,records = 10,status = ok
host = host1,thr = 03,elapsed = 1.308788,files = 10,records = 10,status = ok
host = host1,thr = 04,elapsed = 1.302692,files = 10,records = 10,status = ok
host = host1,thr = 05,elapsed = 1.300747,files = 10,records = 10,status = ok
host = host1,thr = 06,elapsed = 1.293828,files = 10,records = 10,status = ok
host = host1,thr = 07,elapsed = 1.299923,files = 10,records = 10,status = ok
total threads = 8
total files = 80
total IOPS = 80
total data =     0.000 GiB
WARNING: failed to get some responses from workload generators
100.00% of requested files processed, minimum is  90.00
elapsed time =     1.315
files/sec = 60.857695
IOPS = 60.857695
MiB/sec = 0.237725

And FYI, I have edited the ssh_thread.py script as follows for passwordless authentication:
ssh_prefix = 'ssh -i /var/lib/glusterd/nfs/secret.pem -x -o StrictHostKeyChecking=no '

the last line of your post is interesting, perhaps there should be a parameter for which private key to use, And we should allow you to do StrictHostKeyChecking=no, though this should not be necessary as long as you have logged into the node once.    Thanks for reminding me of this.   If you want to submit a PR for this I'll take a look at it, otherwise I'll get around to fixing this when I get a chance.
But as for the exceptions, this means that the ssh threads did not see the "starting gun" (metaphor 100-yard dash) file in your --top directory's network_shared subdirectory, in this case /mnt/gluster/gv0_ganesha_nfs/smallfile/network_shared
Check that all your mountpoints were working.  Since you are using NFS, you may have to disable attribute caching, see this section of documentation for details on how to test with NFS filesystems.
HTH

Almost have fix checked in for this, turns out it was calculating timeouts incorrectly (before it knew the user's test configuration (threads, hosts).

@g1patnaik fix is checked in, let me know if it is working for you.  You may need to adjust the --min-dirs-per-sec parameter to match what your filesystem can do, but you can now see the timeouts being computed if you use --output-json your-test.json,  see 'host-timeout' and 'startup-timeout'.

I also added documentation about this here.

Hi Ben,
Thanks. It's been a while I used this. I faced some troubles using this and
then switched to sysbench and fio and performed the parallel tests with
custom scripts. But I'll try to check this again.
Regards,
Jeevan.
On Tue, Feb 6, 2018, 10:47 PM Ben England<EMAIL_ADDRESS>wrote:

I also added documentation about this here
https://github.com/bengland2/smallfile/blob/master/README.md#the-dreaded-startup-timeout-error
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bengland2/smallfile/issues/5#issuecomment-363496244,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC265Iqey3hOhSGK_exRAJpRPOJrASNgks5tSIkQgaJpZM4QgKkY
.

@g1patnaik, you have a day job, I get it ;-) I'm closing this but if you try it again etc , post it here and let me know thx.


User/ryanbod/vstemplate fix issue 971

Summary of the Pull Request
Adds the *.vstemplate file to the ModuleTemplate.zip folder so that it can be picked up from Visual Studio.
References

PR Checklist

[x] Applies to #972
[x] CLA signed. If not, go over here and sign the CLA
[] Tests added/passed
[] Requires documentation to be updated
[] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

I re-exported the ModuleTemplate.zip folder, and manually modified the MyTemplate.vstemplate file.

Validation Steps Performed
These steps can be validated on the following branch:
https://github.com/ryanbodrug-microsoft/PowerToys/tree/user/ryanbod/example_ui

I added a new powertoy using the PowerToy module template.
Verified that the safeprojectname variable is correctly replaced.
Verified that the project runs and breakpoints hit inside  powertoy_create and init_settings

Awesome, thanks! nit: maybe we could also use the .ico while exporting the template?

@yuyoyuppe
Great catch.  I've pushed an update with the icon.

LGTM!


Template gallery and lots of other updates

This is one of those PRs where one thing led to another and I ended up with a lot of changes. Really did not mean for it to be so big.
Changes:

Redis configuration

Set maxmemory (currently 500mb for production)
Disabled all data persistence (meaning that Redis won’t save or restore any data to the hard disk) since restoring room sessions from the disk on a restart could result in “memory leaks” since those rooms would no longer be tied to an actual WebSocket session and therefore would have no way of being removed
Set the maxmemory policy (what happens when the memory limit is reached) to make redis act like an LRU cache, removing the old key/value pairs to make room for the new ones

Backend updates

Room model

Fixed potential cache “memory leak”

Previously, functions like Room.get would add a room to the cache. This is bad, since Room.get is a function that might be used elsewhere (besides just the socket Hub). Because of this, if a room were added to the cache elsewhere, it would never be removed since rooms in the cache don’t (and shouldn’t) expire automatically. This could lead to the cache filling up with a bunch of rooms that aren’t actually active.
Therefore, we need to be careful that the cache is only used for storing rooms with active connections
Now, functions in the room.model file are clear as to whether or not they modify the cache

Functions like Room.<some function> don’t modify the cache (but may read from it for the most up-to-date data)
Functions like Room.Cache.<some function> do modify the cached version and should probably be used exclusively by the Hub

Room DB object is now organized into ‘data’ (vertices, name, etc.) and ‘metadata’ (featured, lastModified, etc.) sub-fields
Added index for ‘templateId’ field on rooms MongoDB collection
Added index for ‘featured’ field on rooms MongoDB collection

Removed template model and separate template table in MongoDB. Added secondary index on ‘templateId’ field in MongoDB ‘rooms’ collection

Having a separate collection for templates means doing a join with the rooms collection whenever we need to do any kind of query other than a simple, individual lookup. It’s much more efficient to just use the rooms collection, but with another index for efficient template lookups

Removed users model

It’s unnecessary to store users in the cache. Instead, I’ve just added a ‘username’ field to each user’s socket instance stored within the Hub. Either way, it ends up being stored in memory

Added templates/featured route that returns all rooms where room.metaData.featured == true
Fixed cached previews not being updated. When a preview is fetched, the server now checks if the cached version of the preview is outdated (using the room ‘lastModified’ property) and updates it if so
Other minor changes and bug fixes

Frontend updates

Changed the RoomPreview component to actually contain the network logic for fetching the room preview from the backend

This means that previews are no longer fetched all in one network request, but rather individually. This makes the code much simpler and since we aren’t fetching large numbers of images I don’t think this is an issue

Added a loading spinner to the RoomPreview component that is displayed while the thumbnail is being fetched
Updated the room context to conform with the new room model format on the backend
Added /templates route that displays list of featured templates

Clicking on a template brings up a modal to create a new room from that template

Updated the create room and join room modals in the HomeRoute to include useful info
Updated styling of room name on recent room cards to handle long names. Now when a name is too long, it will be cutoff  with ellipsis (e.g. "Really Long Na...")
Other minor changes and bug fixes

Other notes

Currently, to make a room featured (so it shows up on the featured templates page) you have to manually set the room’s metaData.featured field to true in the DB. I think this is fine at least for now since this shouldn’t be easy to do through the atlas interface
Because of the changes to the DB model, we will either need to wipe the data or write a script that updates the data we currently have

Screenshots:
Create room modal

Join room modal

Templates route

Everything looks good on my end. It probably makes sense to write a script that modifies the old data, since I'd prefer not to completely wipe it. Also, nice catch on some of the memory "leak" possibilities. The only "concern" that I have is why we'd send separate GET requests for getting previews when we could do it in one. I guess it's fine for now, but I don't see much benefit to making multiple requests.
If you're all set with it then I think that it's good to merge.

But what's the real benefit of batching them? I think sites like YouTube use individual network calls for thumbnails. I'm not sure that having a dozen or so network calls as opposed to one makes that much of an impact, which is the only benefit of grouping them as far as I can tell. Besides we'll definitely need to implement some sort of pagination for the gallery eventually anyway. On the other hand though, some of the benefits of individual calls I thought found are:

Much simpler code (especially for the frontend)
Better UX - You don't have to wait for ALL of the images to finish generating before you get the results
It's more intuitive to handle errors when each image has its own dedicated network request

But honestly I don't know I haven't really looked into this too much and I could be missing something


Cannot build any geode mod

Used geode build on a mod i mas making and this is what i get back:
C:\Users\foxis\OneDrive\Desktop\tp editor>geode build
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.41.34120.0
-- The CXX compiler identification is MSVC 19.41.34120.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Geode: C:\Users\foxis\all
-- Version: 3.8.1
-- No override path for bindings provided, using CPM to clone default. If you would like to use a separate clone of the bindings repo (for example in order to be able to efficiently change and contribute new bindings) then set GEODE_BINDINGS_REPO_PATH to where you have cloned the repository (system environment variables are supported).
-- CPM: Adding package bindings@ (main)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(bindings) is deprecated, call
FetchContent_MakeAvailable(bindings) instead.  Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(bindings) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
C:/Users/foxis/all/CMakeLists.txt:78 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Looking for ccache/sccache
-- Looking for ccache/sccache - skipped (Visual Studio generator)
Not using a caching compiler (ccache/sccache). It is recommended to install one to improve build times.
We recommend sccache, check its README for installation instructions, normally you can just use your usual package manager (e.g. 'scoop install sccache').
Because of this, PCH will be enabled.
-- Pre-compiled headers - ON
-- Found Geode CLI: C:/Users/foxis/AppData/Local/Microsoft/WinGet/Packages/GeodeSDK.GeodeCLI_Microsoft.Winget.Source_8wekyb3d8bbwe/geode.exe (version 3.0.5)
-- CPM: Adding package json@ (cda9807)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(json) is deprecated, call
FetchContent_MakeAvailable(json) instead.  Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(json) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
C:/Users/foxis/all/CMakeLists.txt:229 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- CPM: Adding package<EMAIL_ADDRESS>(10.2.1)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(fmt) is deprecated, call
FetchContent_MakeAvailable(fmt) instead.  Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(fmt) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
C:/Users/foxis/all/CMakeLists.txt:230 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Version: 10.2.1
-- Build type: RelWithDebInfo
-- CPM: Adding package TulipHook@ (ddfe8e2)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(TulipHook) is deprecated, call
FetchContent_MakeAvailable(TulipHook) instead.  Policy CMP0169 can be set
to OLD to allow FetchContent_Populate(TulipHook) to be called directly for
now, but the ability to call it with declared details will be removed
completely in a future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
C:/Users/foxis/all/CMakeLists.txt:259 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- CPM: TulipHook: Adding package result@ (a97e66b)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(result) is deprecated, call
FetchContent_MakeAvailable(result) instead.  Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(result) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
build/_deps/tuliphook-src/CMakeLists.txt:23 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Performing Test SUPPORTS_W_NO_EVERYTHING
-- Performing Test SUPPORTS_W_NO_EVERYTHING - Failed
-- Downloading Codegen
Set SKIP_BUILDING_CODEGEN to OFF to force codegen to build locally.
-- Downloading Codegen - success
-- Skipping building Codegen
-- Running Codegen
'./Codegen' 'Win64' 'C:/Users/foxis/OneDrive/Desktop/tp editor/build/_deps/bindings-src/bindings/2.206' 'C:/Users/foxis/OneDrive/Desktop/tp editor/build/bindings/bindings'
-- Setting up texturepackeditor
CMake Error at C:/Users/foxis/all/cmake/GeodeFile.cmake:96 (message):
Mod anekobtw.texture_pack_editor is made for Geode version 3.7.1 but you
have 3.8.1 SDK installed.  Please change the Geode version in your
mod.json.
Call Stack (most recent call first):
CMakeLists.txt:22 (setup_geode_mod)
-- Configuring incomplete, errors occurred!
| Fail | CMake returned code 1
| Info | Tip: deleting the build folder might help :-)

Reading helps:

Mod anekobtw.texture_pack_editor is made for Geode version 3.7.1 but you have 3.8.1 SDK installed. Please change the Geode version in your mod.json.

gives new error
C:\Users\foxis\OneDrive\Desktop\tp editor>geode build
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- Found Geode: C:\Users\foxis\all
-- Version: 3.8.1
-- No override path for bindings provided, using CPM to clone default. If you would like to use a separate clone of the bindings repo (for example in order to be able to efficiently change and contribute new bindings) then set GEODE_BINDINGS_REPO_PATH to where you have cloned the repository (system environment variables are supported).
-- CPM: Adding package bindings@ (main)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(bindings) is deprecated, call
FetchContent_MakeAvailable(bindings) instead.  Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(bindings) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
C:/Users/foxis/all/CMakeLists.txt:78 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Looking for ccache/sccache
-- Looking for ccache/sccache - skipped (Visual Studio generator)
Not using a caching compiler (ccache/sccache). It is recommended to install one to improve build times.
We recommend sccache, check its README for installation instructions, normally you can just use your usual package manager (e.g. 'scoop install sccache').
Because of this, PCH will be enabled.
-- Pre-compiled headers - ON
-- Found Geode CLI: C:/Users/foxis/AppData/Local/Microsoft/WinGet/Packages/GeodeSDK.GeodeCLI_Microsoft.Winget.Source_8wekyb3d8bbwe/geode.exe (version 3.0.5)
-- CPM: Adding package json@ (cda9807)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(json) is deprecated, call
FetchContent_MakeAvailable(json) instead.  Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(json) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
C:/Users/foxis/all/CMakeLists.txt:229 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- CPM: Adding package<EMAIL_ADDRESS>(10.2.1)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(fmt) is deprecated, call
FetchContent_MakeAvailable(fmt) instead.  Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(fmt) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
C:/Users/foxis/all/CMakeLists.txt:230 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Version: 10.2.1
-- Build type: RelWithDebInfo
-- CPM: Adding package TulipHook@ (ddfe8e2)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(TulipHook) is deprecated, call
FetchContent_MakeAvailable(TulipHook) instead.  Policy CMP0169 can be set
to OLD to allow FetchContent_Populate(TulipHook) to be called directly for
now, but the ability to call it with declared details will be removed
completely in a future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
C:/Users/foxis/all/CMakeLists.txt:259 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- CPM: TulipHook: Adding package result@ (a97e66b)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(result) is deprecated, call
FetchContent_MakeAvailable(result) instead.  Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(result) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
build/cmake/CPM_0.39.0.cmake:1008 (FetchContent_Populate)
build/cmake/CPM_0.39.0.cmake:802 (cpm_fetch_package)
build/_deps/tuliphook-src/CMakeLists.txt:23 (CPMAddPackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Downloading Codegen
Set SKIP_BUILDING_CODEGEN to OFF to force codegen to build locally.
-- Downloading Codegen - success
-- Skipping building Codegen
-- Running Codegen
'./Codegen' 'Win64' 'C:/Users/foxis/OneDrive/Desktop/tp editor/build/_deps/bindings-src/bindings/2.206' 'C:/Users/foxis/OneDrive/Desktop/tp editor/build/bindings/bindings'
-- Setting up texturepackeditor
-- Mod anekobtw.texture_pack_editor is compiling for Geode version 3.8.1
CMake Warning at C:/Users/foxis/all/cmake/GeodeFile.cmake:131 (message):
If you use platform-specific dependencies, upgrade Geode CLI to version
3.2.0 or greater!
Call Stack (most recent call first):
CMakeLists.txt:22 (setup_geode_mod)
| Info | Fetching dependency from index
| Info | Dependency found: spaghettdev.betterinputs, version 4.2.0-beta.1
| Info | Downloading dependency
| Info | Success
| Info | Writing dependency to temp file
| Info | Dependency 'spaghettdev.betterinputs' found
| Done | All dependencies resolved
-- Configuring done (13.5s)
-- Generating done (0.2s)
-- Build files have been written to: C:/Users/foxis/OneDrive/Desktop/tp editor/build
MSBuild version 17.11.2+c078802d4 for .NET Framework
1>Checking Build System
Building Custom Rule C:/Users/foxis/OneDrive/Desktop/tp editor/build/_deps/fmt-src/CMakeLists.txt
format.cc
os.cc
Generating Code...
fmt.vcxproj -> C:\Users\foxis\OneDrive\Desktop\tp editor\build_deps\fmt-build\RelWithDebInfo\fmt.lib
Running Codegen
Building Custom Rule C:/Users/foxis/OneDrive/Desktop/tp editor/build/_deps/bindings-src/CMakeLists.txt
GeneratedSource.cpp
C:\Users\foxis\OneDrive\Desktop\tp editor\build\bindings\bindings\Geode\GeneratedSource.cpp(72,59): error C2661: 'cocos
2d::CCLightning::CCLightning': no overloaded function takes 2 arguments [C:\Users\foxis\OneDrive\Desktop\tp editor\buil
d\bindings\GeodeBindings.vcxproj]
C:\Users\foxis\OneDrive\Desktop\tp editor\build\bindings\bindings\Geode\GeneratedSource.cpp(72,59):
while trying to match the argument list '(const geode::CutoffConstructorType, size_t)'
C:\Users\foxis\OneDrive\Desktop\tp editor\build\bindings\bindings\Geode\GeneratedSource.cpp(98,46): error C2661: 'cocos
2d::CCLightning::CCLightning': no overloaded function takes 2 arguments [C:\Users\foxis\OneDrive\Desktop\tp editor\buil
d\bindings\GeodeBindings.vcxproj]
C:\Users\foxis\OneDrive\Desktop\tp editor\build\bindings\bindings\Geode\GeneratedSource.cpp(98,46):
while trying to match the argument list '(const geode::CutoffConstructorType, size_t)'
| Fail | CMake build returned code 1

Mod anekobtw.texture_pack_editor is made for Geode version 3.7.1 but you
have 3.8.1 SDK installed. Please change the Geode version in your
mod.json.


changing tornado debian entry to not use pip

because bloom tells me :
Key 'python-tornado' resolved to '['tornado']' with installer 'pip', which does not match the default installer 'apt'.
Failed to resolve python-tornado on debian:jessie with: Error running generator: The Debian generator does not support dependencies which are installed with the 'pip' installer.

simplifying debian rule for python-tornado

You can force push to the branch for #13277 or the maintainers can squash merge it. Closing this for that one.


Fontsize plugin size list parameter won't work as it is supposed to

Description

When following the documentation of the font size plugin, it looks like we can set custom values (in pixels). After providing an array of sizes, the drop-down list of the buttons pane display correctly. The problem is when a size in the drop-down list is selected, the style attribute change of the HTML element is not set as the size chosen. Indeed, I noticed that no matter what array of sizes is provided, the value affected by the HTML element is always going to be the same, which is one of the following: x-small, small, medium, etc. (in this order).
v2.19.1
How to reproduce?

You can see the bug in the documentation. Try the demo under "Custom font sizes" and inspect the modified HTML element. You'll notice that the style attribute is not the value of the drop-down list option you select.
Or, try it with this list (for example) :
    plugins: {
	    fontsize: {
		    sizeList: ['18px','6px','13px']
	    }
    }

Thank you for your issue!
I've fixed the bug and it will be ship in the next version soon :)

Mais de rien! J'attends la prochaine version avec impatience dans ce cas ;)
Merci Alex-D


Snapping to screen edges is quirky in Windows 10

I want to place app windows in and resize app windows to screen corners and to other app windows, which worked consistently in Windows 7 but does not in Windows 10.
I'm using the 32-bit and 64-bit versions of 1.50 Beta concurrently in Windows 10 with dual monitors.
Behavior in some apps is better than in others. Although some app windows snap to the top, it's nearly impossible to snap to the left and right screen edges. Some apps work better on the right monitor than on the left.
Experimenting with the grid settings and top crop setting has not helped much. Although window cropping may not be the ultimate answer, perhaps if crop settings were also provided for the bottom, left, and right, then those might help work around these issues?

There are two problems on Windows 10 if you want to implement snapping:

Your program needs to br DPI aware, you need to edit the .manifest file for this, you can see an example here: https://github.com/RamonUnch/AltSnap/blob/main/AltSnap.exe.manifest
you need to take into account the invisible borders, for this you need to use the DwmGetWindowAttribute(hwnd, DWMWA_EXTENDED_FRAME_BOUNDS, &rect, sizeof(RECT)); function, that is available in dwmapi.dll.
I am the maintener of AltSnap, I discovered allSnap just today, looking for binaries that I can trust to see the features, I could transpose to AltSnap.


柱状图选中功能不支持分组柱状图和层叠柱状图

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?
分组柱状图和层叠柱状图中支持默认选中功能
What does the proposed API look like?
如基础柱状图般默认选中功能支持

用interval-select能满足你的场景不？
chart.interaction('interval-select', {
defaultSelected: {
year: '1962 年',
sales: 38
}
});


[Integration][Datadog] Revise default blueprints

Description
What -
Why -
How -
Type of change
Please leave one option from the following and delete the rest:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] New Integration (non-breaking change which adds a new integration)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Non-breaking change (fix of existing functionality that will not change current behavior)
[ ] Documentation (added/updated documentation)

Screenshots
Include screenshots from your environment showing how the resources of the integration will look.
API Documentation
Provide links to the API documentation used for this integration.

missing version bump and changelog

I have resolved this now


How to create alert like this?

Hi, I am new to sentinl. I have it running, connect it to my slack channel. I really miss some tutorials ( I saw lot of webs about it but didn't found any forum etc.)
My question is simple. I want to create an alert, which should send me a notification to slack. I want send there all messages which I can filter in Discover by this:
"app:kernel AND severity:err".
I really have no idea how to it.
Can anyone please help me?
Thanks a lot.
Teresa

Hi,
The field is pretty broad on this one, so I'll try to provide an example to play and learn with - you'll have to adjust queries, settings and BYO patience. I assume you can generate the above query in Elasticsearch already, and will be able to port it in a watcher and iterate its response structure.
Pipeline
input -> condition -> action
Config
First of all, you should extend your Kibana yaml settings to include a SENTINL slack configuration:
sentinl:
  settings:
    slack:
      active: true
      username: username
      hook: 'https://hooks.slack.com/services/<your_custom_token>'
      channel: '#your_custom_channel'

Watcher w/ Slack Action
Once this is set, you can create a watcher feeding it - Here's a basic example - Please don't use this AS-IS but rather extract and understand its components to recreate them in your setup:
{
  "_id": "new",
  "_source": {
    "trigger": {
      "schedule": {
        "later": "every 5 minutes"
      }
    },
    "input": {
      "search": {
        "query": {
          "bool" : {
                "must" : {
                  "term" : { "app" : "kernel" }
                },
                "filter": {
                  "term" : { "severity" : "err" }
                }
          }
        }
      }
    },
    "condition": {
      "script": {
        "script": "payload.hits.total > 1"
      }
    },
    "transform": {},
    "actions": {
      "slack_notify": {
        "throttle_period": "15m",
        "slack": {
          "channel": "#alerts",
          "message": "SENTINL Alert! Found {{payload.hits.total}} Kernel Errors"
        }
      }
    }
  }
}

Once this works, you can start playing with mustache to iterate through the results, and include them in the Slack notification.
I hope this helps

In 6.2.4 I get the following error when using this kibana.yaml, even though it worked with 6.2.2. Did the format change?
Plugin installation was unsuccessful due to error "child "sentinl" fails because [child "settings" fails because [child "slack" fails because ["username" is not allowed, "hook" is not allowed]]]"


POSIX: mavlink receiver buffer too small?

I was never able to send mission items from QGC to the flight stack (SITL). The message only gets parsed correctly if I increase the mavlink receiving message buffer (was at 32 bytes).

Fixed in #2461


Update dues payment workflow

Current reference for dues signup

Screenshot 1

Screenshot 2

Assigned to @ryanvarick for research

I'm going to get a jump start on this ticket, just seeing if i can get the styles from the old forms to play nice with this one. Won't complete the ticket (design pending) but should help with figuring out some of the quirks of styling.

Full steam ahead!


~. sigdot Positive Assertion Rune

Proposes a ~: sigcol crash-with-message assertion rune.

!| = ~| %msg !!
then ~. on top of that.


CloudFlare Admin GUI does not allow _tls SRV records

The guide says to create a _tls SRV record and Cloudflare only allows _tcp and _udp in the web gui. If you use the API you can create whatever records per this

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

ID: cfaff890-3858-eacb-ed21-a7c0dc4d3d36
Version Independent ID: 087f92d5-6ace-4a32-4252-c94b843de607
Content: Create DNS records at Cloudflare for Office 365
Content Source: Office365-Admin/dns/create-dns-records-at-cloudflare.md
Service: o365-administration
GitHub Login: @pebaum
Microsoft Alias: pebaum

@officedocsbot assign @mypil

@jwhite1st  - Thank you for submitting feedback.
I will get this issue over to the O365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@jwhite1st This option was available when the article was written. I'm surprised to see that it's not there anymore (in the GUI at least). There are a few topics around this withing the Cloudflare community - check https://community.cloudflare.com/t/no-srv-tls-option/108899.
I think this will get fixed/addressed sometime in the future, so i would not change the article but add a note stating that at the moment this cannot be done using the GUI.
There are workarounds, as you also mentioned. One is exporting the DNS zone config from O365, editing it and importing it in Cloudflare, as described here

@VLG17 Cloudflare rolled out a GUI update which broke creating records for certain types. I made a script that uses the API for people as a workaround.
I just figured that the more people knew the better it would be.

@jwhite1st Good to know that. Could you share a link to this script?

@VLG17
https://github.com/jwhite1st/Scripts/tree/master/CloudFlare/DNS_Record

@jwhite1st - From our understanding, the issue has been resolved based on the merged commit [682c57c] but it may take a few days for the merged content to appear in the article. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!


Style changes

better menu
constant menu width
more visible labels
more visible table headers

Awesome! :)
Protip for future, use branch per fix/feature, take a look at this:
https://www.atlassian.com/git/tutorials/making-a-pull-request/
This approach will make my life easier with merging changes because sometimes I can't merge all PR changes only because one of one change if you know what I mean.


lint more

Should maybe rewrite the compiler so that the code it produces adheres to the same linting standard as the codebase. Would produce smaller files and probably be a bit easier in some ways.

Yes, good idea, I started doing a little bit of that but I will continue, I'll probably push something tonight.


Filter calculation tools

Hi, take a look at this and please review it :)
It's without any tests and without the changelog/readme changes.
It's also mostly without any hardware limitations (besides the highpass), we need to decide if we want to include them or not. And if so, how to deal with changing limitations.

I like the idea of finally putting all of these calculations on the Github very much! 💯
I looked at the highpass_correction and exponential_correction which I know and it looks good. Do you know the maximum high pass time constant that we can correct based on the resolution of the FIR taps? Is it on 17 or 21 bits?
I am not familiar with the bounce_and_delay_correction and the filters concatenation, but I trust you :)

I like the idea of finally putting all of these calculations on the Github very much! 💯 I looked at the highpass_correction and exponential_correction which I know and it looks good. Do you know the maximum high pass time constant that we can correct based on the resolution of the FIR taps? Is it on 17 or 21 bits? I am not familiar with the bounce_and_delay_correction and the filters concatenation, but I trust you :)

Thx!
It was actually planned for a long time...
I want to remove the HW limit from the main function (maybe add it as another function) because:

We're not even sure what it is (see my slack message)
This will change between versions...

I see, regarding the HW limitation I think it is now clear that currently the FIR taps are on 25bits and the IIR on 17bits. Maybe we can add flag to discriminate between the QOP (or qm-qua) versions and make these limitations explicit so that the users will know what is going on and if the given taps are accurate or not, what do you think?

Hey @yomach, I like this one a lot and many customers are actually asking for such a tool.
What is preventing us from pushing it forward?

Not much actually. I guess that we need to:

Remove the hardware limitations from highpass_correction - make all functions return the ideal ones by default, and then have a separate function that can accept filters and change them according to the hardware limitations (and, it will accept an enum with a version in the future). That's at least the method I had in mind, Open to suggestions*.
Add some tests
Add to changelog & readme. Go over docstrings (I think I wrote them alright).

Do you have time to do it?

Maybe we can also have the main function accept an optional qop_version enum that will apply the hardware constrains if given, and return ideal ones if not.

Cool!
Yes I can definitely give it a shot :)

I fixed the function as we discussed and added some tests.
I have a question regarding the delay: you said:

if delay is not a multiple of the sampling rate, multiple FIR taps will be  created.
But even with delay=11 and Ts=2, I get 111 taps resulting in an error so I wanted to raise an error if delay is not a multiple of the sampling time, what do you think?

I fixed the function as we discussed and added some tests. I have a question regarding the delay: you said:

if delay is not a multiple of the sampling rate, multiple FIR taps will be  created.

But even with delay=11 and Ts=2, I get 111 taps resulting in an error so I wanted to raise an error if delay is not a multiple of the sampling time, what do you think?

Ts = 2 is not a real scenario 😅 (Should be Ts = 0.5 for the OPX1000, in the future).
The relevant usecase, right now, is Ts=1 and delay=10.25.
We shouldn't raise an error, but we should allow trimming the number of taps (as part of applying the hardware limitation).
Something such as:
max_fir_taps = 44 - 7*len(feedback_taps)
if len(feedforward_taps)>max_fir_taps :
    feedforward_taps = feedforward_taps[:max_fir_taps ]

We can also add a message about it. I'm thinking something such as: summing the abs of the discarded FIR taps. If it's more than 0.01 (1%), give a warning, otherwise, just a debug message.
This is relevant because doing delay=1.5 would not really work (discarded taps will be >1%, probably ~10%), but delay=10.5 should be ok.

I think that the errors/warning I suggested above would cover this "crap signal" scenario, WDYT?
We can discuss the hardware limitation.

If we raise an error, then it will be solved, but if we only raise a warning, then the user will be notified about it but the OPX will still output something that can be harmful for the device...
Maybe I can add a safety option set to True by default that will raise an error and the user can set it to False if he still wants to output the signal. WDYT?


Text size calculation before the font is loaded

If the size of a text field is calculated before the given font is loaded, the result is wrong. This leads to UI layout errors:

Fixed by adding font load to index.html


Add info fro newbies -  how to install pip

Next time we will add how-to with OS installation.
Sorry, no.
But, thanks for the effort anyway!

oh mehh..


[Bug] Image styles not being applied properly

Overview
The index page is missing a few assets from the jumbotron's background.

Expected Behavior
The website should render all the images from the mockups.
Actual Behavior
The site doesn't display the logo or any of the photos in the jumbotron.
The only error message in the console is:
Failed to load resource: the server responded with a status of 404 ()

The styles/global.css file is likely the culprit here.

Updates: it doesn't work on Chrome and Microsoft Edge (likely the Chromium version).
@ThaisCampanac put more information as you get it.

At the moment the only websites that displays the images are FireFox and Internet Explorer. Besides those all Chromium versions are ignoring all css code that displays the background images. I have tried targeting those websites and made the css code !important and no avail. The latest I have read online was that it was a javascript error.

Svgs, needed an edit, change xlink:href="data:img/png;base64, to xlink:href="data:image/png;base64

Thank you Jariel! That fixed everything on Chrome and Microsoft Edge.


Can't hide the export button

I want to have a highchart directives with the ability to export the chart (showing the export button) and another without that option (not showing the export button) but I have not managed to disable (hide) the button using the configuration object:

    <my-chart></my-chart>

var app = angular.module('app', ['highcharts-ng']);

app.directive('myChart', function(){
    return {
        restrict: 'E',
        scope: {},
        template: '<highchart config="chartConfig"></highchart>',
        link: function(scope, element, attrs) {
            scope.chartConfig = {
                options: {
                    exporting: {
                        enabled: false
                    }
                }
            };
        }
    };
});

Even if a disable the export property, the button is still there as you con see here: http://jsfiddle.net/davidbarreto/c2Lj14fq/

duplicate #241


Speed up GSP read

Detailed Description

Change datamodel to link gsp_yield with datetime_interval. This should speed up the read.

Context
Good to speed up read
Possible Implementation

change datetime to datetime_interval table

deployed on dev, and speed up in GSP consumer


Data normalization (skeleton scale) - couldn't find component

Hey @AmitMY .
Error for the Data normalization (skeleton scale) . I loaded a single frame which can be viewed at the right.

Hi @ShesterG
Please include a minimal, reproducible code example - such as a Colab link. More advice on this: https://stackoverflow.com/help/minimal-reproducible-example
Thank you

I think a reason for this might be that you have Openpose features, but apply code meant for Mediapipe Holistic, or vice versa.

Correct @bricksdont . Thank You !

Great to hear, then I'm assuming this issue can be closed?
(For future issues please remember to include reproducible code, instead of letting us guess what the problem is. Thank you!)


On https://prod-preview.openshift.io - ubable to associate workitems with iterations

This started failing today - steps to recreate:

Create a workitem
Create an iteration
Click on  the workitem's kebab and select 'associate with iteration'
See the attached screenshot for the dialog displayed
See the screencast here for the results - the user is unable to associate the workitem with the iteration
https://drive.google.com/open?id=0B1s-ZoxD8FjURzJyZWtWN24zSUU

@ldimaggi can you confirm if you were logged in or not?

@nimishamukherjee , User is logged in and try to Reassociate Iteration!
Due to this bug test automation also fails

@naina-verma or @ldimaggi Can you verify if this issue still exists? I am not able to recreate it.

Verified !


TypeError: Cannot read property 'getComputedStyle' of undefined

This error will generated when i navigate out from current route! what is problem?
<ckeditor formControlName="content"></ckeditor>

+1

Did you try with divarea plugin ?


Add unmatched skipped violations to junit report

When a skipped violation is not matched, deptrac exits with code 1, but the junit report reports no errors. I think the junit report should contain an error in this case, otherwise it's impossible to find out what is actually wrong without rerunning deptrac with a different formatter.

@Khartir I am working on this right now, could you provide an example of what do you mean?

When there is a skipped_violations entry that doesn't match a violation deptrac reports an error:
skipped_violations:
    Some\ClassName:
        - abc

Skipped violation "abc" for "Some\ClassName" was not matched.

However, the junit-formatter does not add this to it's output.

@Khartir please look at the output of #573 whether it would solve your problem. I do not use JUnit myself, so I am unsure what the output should precisely look like. I based it on the rest of the file. If there is something missing/wrong, let me know, I will adjust it for you.


⚠ Bofrost.es has degraded performance

In d331562, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1867 ms

Resolved: Bofrost.es performance has improved in a416c80 after 6 minutes.


Error on device update

2019-05-26 17:28:13 ERROR (MainThread) [homeassistant.components.sensor] aftership: Error on device update!
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/app/homeassistant/helpers/entity.py", line 375, in async_device_update
    await self.async_update()
  File "/usr/src/app/homeassistant/components/aftership/sensor.py", line 190, in async_update
    'last_checkpoint': track['checkpoints'][-1]

I have the same issue :-(

This is an issue with the component, not this card, report this to HA's issue tracker.


Update Post “what-are-the-signs-of-termites-1”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
d13474f1c85d71a5e24771dbd235986e8214e8ca

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/654d8f31f5671800089d0686


Cannot reach testTags while using destinations

Hi
I am checking in espresso & compose if new view is displayed  but  When using destinations I got error
java.lang.AssertionError: Failed to perform isDisplayed check. Reason: Expected exactly '1' node but could not find any node that satisfies: (TestTag = 'id_add_note_screen')
More context here:
https://github.com/mobile-pablo/Noteworthy/tree/1208e69a07967dd0d510ea3277a366138cad5d03/app/src/androidTest/java/com/mobile/pablo/iosnotes

@raamcosta

Hi 👋
This is not an issue with compose destinations. Please check other possible issues you might have in your test.
Compose destinations doesn’t do any magic on the composable. Doesn’t change the code or anything, it just creates more code around it. So in the end destination composables are just like normal composables.


chore(ci): Update Codecov action

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 46.86%. Comparing base (bf2c10b) to head (4917b14).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #210   +/-   ##
=======================================
  Coverage   46.86%   46.86%
=======================================
  Files          57       57
  Lines        4886     4886
=======================================
  Hits         2290     2290
  Misses       2420     2420
  Partials      176      176

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Tree view scroll is light when in dark mode

Summary of the bug
Tree view scroll is light when in dark mode
🪜 How to reproduce
Tell us the steps to reproduce the problem:

Go to page: https://mi6.github.io/ic-design-system-githubpages/branches/v3.0.0/develop/components
See tree view scroll bar in light mode

This needs fixing in the component and website, if a separate fix is needed there .
📸 Screenshots or code

🖥 📱 Device

Mac

🧐 Expected behaviour
To be of a darker variant

Covered by #2869


[eas-cli] Print assets that timed out during upload or processing

Why
Closes ENG-8515.
We recently had a customer ask why their assets were struggling to upload. It happened to be that it was a 30MB compressible asset and our system wasn't tuned to support that. We fixed it by increasing the memory of our processing cloud function. But, it would have made debugging faster if we knew which assets had stalled.
This PR adds logging to indicate which assets have stalled.
How
Add race.
Test Plan
In project with new unique assets, run neas update --branch preview after manually making the upload function time out.
See
✖ Failed to upload
Upload processing timed out for assets:
- /Users/wschurman/temp/lots-o-assets/dist/bundles/android-2031cfb5df244b2172589371d5afeaed.js,
- /assets/images/1590.jpg,
- /assets/images/1591.jpg,
- /assets/images/1592.jpg,
- /assets/images/1593.jpg,
- /assets/images/1594.jpg,
- /assets/images/1595.jpg,
- /assets/images/1596.jpg,
- /assets/images/1597.jpg,
- /assets/images/1598.jpg,
- /assets/images/1599.jpg,
- /Users/wschurman/temp/lots-o-assets/dist/bundles/ios-f51cf230c6c4b45af938d3663652210b.js
    Error: update command failed.

/changelog-entry new-feature Print EAS Update assets that timed out during upload or processing

This needs more automated tests. Holding off shipping this until I have time to add some tests and maybe factor the cancellation stuff out.

but when it comes to android/iOS bundles we need to print the reason why it failed
Asset processing timed out for assets:

/Users/beta/repo/dist/bundles/android-b0a4ae60d0b1ea6459f41f48254eac1e.js
/Users/beta/repo/dist/bundles/ios-fb27b715eba303fafea2840cd6d985a3.js


Add release notes for v2.16.0

Description
Add release notes for OpenSearch 2.16.0 release.
Issues Resolved
https://github.com/opensearch-project/sql/issues/2748
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ykmr1224 Added in https://github.com/opensearch-project/sql/pull/2854/commits/92d4a6f76eef62031ff66a2eea0159dada2278a3. Please approve again.
cc: @YANG-DB @rupal-bq


Changing schema from string to file

Forgot to add this bit in the #3363. Reverting the change of body parameter schema to be of type:object/format file, as it was earlier.
@hovsepm Could you please take a look.

PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-java
Nothing to generate for azure-sdk-for-java

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go

Thanks @vrdmr!
It seems that the model validation errors were already present in the previous PR - just for context, could you please let me know why they weren't resolved (e.g. are they errors in the validator?)
Additionally I see in the previous PR that @hovsepm already let you know about the breaking changes to the SDKs - do you know if any packages were published between the previous PR and this one?

Hi @annatisch, Validation errors were not removed as I don't know of a clear way to describe a body as file and not a string - especially for this issue: Expected type file but found type string.
And to answer your second question - No packages were published. This issue was caught during the tests for releasing a package.

@vrdmr No it looks like this package is already current in the Go SDK which is why there was nothing to generate.


HBASE-25143 Remove branch-1.3 from precommit and docs

Following the announcement to EOL branch-1.3, update the precommit
script to not consider this branch any longer, and refresh mentions of
this branch in the doc.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/console in case of problems.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/console in case of problems.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/console in case of problems.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 31s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

_ Patch Compile Tests _

_ Other Tests _

1m 40s

Subsystem
Report/Notes

Docker
Client=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2491

Optional Tests

uname
Linux 1a64407fd1d1 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 3b91a15183

Max. process+thread count
51 (vs. ulimit of 30000)

modules
C: . U: .

 U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
shelldocs
0m  0s
Shelldocs was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m  5s
master passed

+0 :ok:
refguide
5m 39s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 36s
the patch passed

+1 :green_heart:
shellcheck
0m  2s
There were no new shellcheck issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+0 :ok:
refguide
5m 19s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Other Tests _

+1 :green_heart:
asflicense
0m 18s
The patch does not generate ASF License warnings.

21m  0s

Subsystem
Report/Notes

Docker
Client=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2491

Optional Tests
dupname asflicense shellcheck shelldocs refguide

uname
Linux d55f47be1b56 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 3b91a15183

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/artifact/yetus-general-check/output/branch-site/book.html

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/artifact/yetus-general-check/output/patch-site/book.html

Max. process+thread count
78 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2491/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) shellcheck=0.4.6

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Thanks for the reviews!


[7.x.x] Change default cookie specs provider to RFC6265CookieSpecProvider

$Subject
Purpose

Httpclient used in Integration tests was not using RFC6265CookieSpecProvider as default cookie specs provider.
In order to upgrade tomcat-catalina > 9.0.68, we need to set RFC6265CookieSpecProvider as default cookie specs provider for httpclient used in intgration tests.
Change deprecated DefaultHttpClient usage to ClosableHttpClient
Setting RFC6265CookieSpecProvider as default cookie specs provider handles cookies from Tomcat's Legacy Cookie Processor as well, hence this change is backward compatible
The tests have passed locally with and without tomcat-catalina changes.

PR builder [7.x.x] started
Link: https://github.com/wso2/product-is/actions/runs/5553758826

PR builder [7.x.x] completed
Link: https://github.com/wso2/product-is/actions/runs/5553758826
Status: success

There are several empty files. A direct cherry pick may not be applicable to 7.x.x. Please verify.

There are several empty files. A direct cherry pick may not be applicable to 7.x.x. Please verify.

Addressed the issue with 3cbe18e355cb917e5f4e8b9eda364231351eac11

PR builder [7.x.x] started
Link: https://github.com/wso2/product-is/actions/runs/5572770373

PR builder [7.x.x] completed
Link: https://github.com/wso2/product-is/actions/runs/5572770373
Status: cancelled

PR builder [7.x.x] completed
Link: https://github.com/wso2/product-is/actions/runs/5594919845
Status: success