Decision Service nodes don't correctly encapsulate nodes

Original Issue: https://issues.redhat.com/browse/KOGITO-8791
Zulip thread: https://kie.zulipchat.com/#narrow/stream/232676-kogito/topic/Relation.20table.20remains.20empty.20at.20runtime
Reproducer: https://github.com/hanjoosten/rvp-business/releases/tag/Relation-table-remains-empty-at-runtime
Consider a service defined with quite a few decisions in it. It is quite hard to define whether or not a decision is part of the service or not. The decisions do not 'stick' to the service canvas:

drag it up again):
Also, during debugging, I sometimes want some of the encapsulated decisions to have visible output. In such a case, I drag the borderline (between the output decision and encapsulated decisions ) down. That idea works fine for debugging, however, when there are lots of lines in the visual, it is hard or sometimes impossible to grab the line to move it. (And after debugging,

It is not visible in the graphic layout if a decision is part of the service or not. It can result in pretty-hard-to-discover bugs. An example of such a bug was discussed in this thread at Zulip
### Acceptance Criteria
- [ ] Any Input Node inside a Decision Service MUST be stuck with it, in any condition
- [ ] Any Output Node inside a Decision Service MUST be stuck with it, in any condition

This will be addressed on the new React-based DMN Editor, as part of #577.


Improve Readme

Description
This task involves improving the README.md file to enhance clarity and improve overall readability. Key areas to be updated include the project title, description, and the Built With section.

Hi @sudhashrestha, Could you assign this to me?


S->C cross-domain few-shot

Hi, for the S->C scenario, I made the following changes to city_and_foggy8_1.yaml
train_source: [C:\VOC2012\images, C:\cityscapes\images\train]
train_target: C:\VOC2012\images
val: C:\cityscapes\images\val
However, there are around 3k images from cityscapes train folder, how is this a few shot problem? Should I only select 8-10 images from cityscapes and put it under the train folder?
Thank you.

Yes. You should select 8-10 images from the  C:\cityscapes\images\train folder (e.g., result in C:\cityscapes\images_mini\train). The codebase doesn't support automatically picking few-shot samples. You can also make your modification.


Update mixer/pkg/tracing to leverage Zap structured logging support for faster console logging.

/approve
/lgtm


Problem with POST

Ho i have problem with creating anything with this tool, Netbox latest version and netbox-sync lastest version of main
The problem started with creating site and with another:
2021-02-17 14:52:55,705 - DEBUG2: Sending POST to 'http://localhost/api/dcim/sites/' with data 'b'{"name": "C4C", "slug": "c4c"}''.
2021-02-17 14:52:55,705 - DEBUG2: Received HTTP Status 200.
2021-02-17 14:52:55,705 - DEBUG2: Adding unresolved dependencies back to object: ['tags']
2021-02-17 14:52:55,705 - DEBUG2: Parsing 'site' data structure: None
2021-02-17 14:52:55,705 - DEBUG2: Compiling TAG list
2021-02-17 14:52:55,705 - DEBUG2: Parsing 'tag' data structure: None
2021-02-17 14:52:55,706 - INFO: Found unset key 'name' while parsing None. Skipping This key
2021-02-17 14:52:55,706 - DEBUG: Updated tag object: None
2021-02-17 14:52:55,706 - DEBUG2: Parsing 'tag' data structure: None
2021-02-17 14:52:55,706 - INFO: Found unset key 'name' while parsing None. Skipping This key
2021-02-17 14:52:55,706 - DEBUG: Updated tag object: None
Traceback (most recent call last):
  File "netbox-sync.py", line 143, in <module>
    main()
  File "netbox-sync.py", line 133, in main
    nb_handler.update_instance()
  File "/opt/netbox/netbox-sync/module/netbox/connection.py", line 696, in update_instance
    self.update_object(nb_object_sub_class)
  File "/opt/netbox/netbox-sync/module/netbox/connection.py", line 666, in update_object
    this_object.update(data=unresolved_dependency_data)
  File "/opt/netbox/netbox-sync/module/netbox/object_classes.py", line 369, in update
    new_value_str = str(new_value.get_display_name())
  File "/opt/netbox/netbox-sync/module/netbox/object_classes.py", line 754, in get_display_name
    return sorted([x.get_display_name() for x in self])
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'

Hi,
well this should not happen.
Was this the first run?
Can you post more of the debug log? After log line: First run, unset attributes if necessary.

Hi,
sorry for this late message
2021-02-22 12:22:04,991 - DEBUG: First run, unset attributes if necessary. 2021-02-22 12:22:04,993 - DEBUG: Second run, update all items 2021-02-22 12:22:04,993 - INFO: Creating new NetBox 'tag' object 'NetBox-synced: Orphaned' with data: {'name': 'NetBox-synced: Orphaned', 'color': '607d8b', 'description': 'A source which has previously provided this object no longer states it exists. Objects would be automatically removed after 0 days but pruning is currently disabled.', 'slug': 'netbox-synced-orphaned'} 2021-02-22 12:22:04,993 - DEBUG2: Sending POST to 'http://localhost/api/extras/tags/' with data 'b'{"name": "NetBox-synced: Orphaned", "color": "607d8b", "description": "A source which has previously provided this object no longer states it exists. Objects would be automatically removed after 0 days but pruning is currently disabled.", "slug": "netbox-synced-orphaned"}''. 2021-02-22 12:22:05,009 - DEBUG2: Received HTTP Status 200. 2021-02-22 12:22:05,009 - INFO: Creating new NetBox 'tag' object 'NetBox-synced' with data: {'name': 'NetBox-synced', 'description': "Created and used by NetBox Sync Script to keep track of created items. DO NOT change this tag, otherwise syncing can't keep track of deleted objects.", 'slug': 'netbox-synced'} 2021-02-22 12:22:05,009 - DEBUG2: Sending POST to 'http://localhost/api/extras/tags/' with data 'b'{"name": "NetBox-synced", "description": "Created and used by NetBox Sync Script to keep track of created items. DO NOT change this tag, otherwise syncing can\'t keep track of deleted objects.", "slug": "netbox-synced"}''. 2021-02-22 12:22:05,018 - DEBUG2: Received HTTP Status 200. 2021-02-22 12:22:05,018 - INFO: Creating new NetBox 'tag' object 'Source: biq-old' with data: {'name': 'Source: biq-old', 'description': 'Marks sources synced from vCenter biq-old (<IP_ADDRESS>) to this NetBox Instance.', 'slug': 'source-biq-old'} 2021-02-22 12:22:05,019 - DEBUG2: Sending POST to 'http://localhost/api/extras/tags/' with data 'b'{"name": "Source: biq-old", "description": "Marks sources synced from vCenter biq-old (<IP_ADDRESS>) to this NetBox Instance.", "slug": "source-biq-old"}''. 2021-02-22 12:22:05,027 - DEBUG2: Received HTTP Status 200. 2021-02-22 12:22:05,028 - INFO: Creating new NetBox 'site' object 'vCenter: biq-old' with data: {'name': 'vCenter: biq-old', 'slug': 'vcenter-biq-old', 'comments': 'A default virtual site created to house objects that have been synced from this vCenter instance and have no predefined site assigned.'} 2021-02-22 12:22:05,028 - DEBUG2: Sending POST to 'http://localhost/api/dcim/sites/' with data 'b'{"name": "vCenter: biq-old", "slug": "vcenter-biq-old", "comments": "A default virtual site created to house objects that have been synced from this vCenter instance and have no predefined site assigned."}''. 2021-02-22 12:22:05,058 - DEBUG2: Received HTTP Status 200. 2021-02-22 12:22:05,058 - DEBUG2: Adding unresolved dependencies back to object: ['tags'] 2021-02-22 12:22:05,058 - DEBUG2: Parsing 'site' data structure: None 2021-02-22 12:22:05,058 - DEBUG2: Compiling TAG list 2021-02-22 12:22:05,058 - DEBUG2: Parsing 'tag' data structure: None 2021-02-22 12:22:05,058 - INFO: Found unset key 'name' while parsing None. Skipping This key 2021-02-22 12:22:05,058 - DEBUG: Updated tag object: None 2021-02-22 12:22:05,058 - DEBUG2: Parsing 'tag' data structure: None 2021-02-22 12:22:05,058 - INFO: Found unset key 'name' while parsing None. Skipping This key 2021-02-22 12:22:05,058 - DEBUG: Updated tag object: None Traceback (most recent call last):   File "netbox-sync.py", line 143, in <module>     main()   File "netbox-sync.py", line 133, in main     nb_handler.update_instance()   File "/opt/netbox/netbox-sync/module/netbox/connection.py", line 696, in update_instance     self.update_object(nb_object_sub_class)   File "/opt/netbox/netbox-sync/module/netbox/connection.py", line 666, in update_object     this_object.update(data=unresolved_dependency_data)   File "/opt/netbox/netbox-sync/module/netbox/object_classes.py", line 369, in update     new_value_str = str(new_value.get_display_name())   File "/opt/netbox/netbox-sync/module/netbox/object_classes.py", line 754, in get_display_name     return sorted([x.get_display_name() for x in self]) TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
i trying uri localhost, ip where listen its same :/

Hey, can you check out the latest "development" branch? I made changes to the "get_display_name()" method.

Hi @bb-Ricardo
Sorry for late reply, i have bad message to you the result its same :(.

Thank you for testing. Will look into it

hey, any luck with testing on newest versions or did you gave up? Cause I don't know why the script tries to create a tag where NetBox says it is already present (status 200 instead of 201).

closing due to no feedback.


bukkit/spigot version in pom of 'playground-bukkit' doesn't match up with playground overall version

Resolved by latest commit: 281237c


Flutter: Is it will be better if List[Index out of range] give null?

the example:
main() {
  String msg = '*** empty ***';

  String? c = null;
  print("\nString? c;");

  print("\n0. print(c?.length ?? msg);");
  try {
    print(c?.length ?? msg);
  } catch (e) {
    print("----- ERROR -----");
  }

  print("\n--------------------------------------------------");

  List<String> a = [];
  print('\nList<String> a = [];');

  print("\n1. print(a[0]?.length ?? msg);");
  try {
    print(a[0]?.length ?? msg);
  } catch (e) {
    print("----- ERROR -----");
  }

  print("\n2. print(a.first?.length ?? msg);");
  try {
    print(a.first?.length ?? msg);
  } catch (e) {
    print("----- ERROR -----");
  }

  print("\n3. print(a.length > 0 ? a[0].length : msg);");
  try {
    print(a.length > 0 ? a[0].length : msg);
  } catch (e) {
    print("----- ERROR -----");
  }

  print("\n4.  print(a.asMap()[0]?.length ?? msg);");
  try {
    print(a.asMap()[0]?.length ?? msg);
  } catch (e) {
    print("----- ERROR -----");
  }
}

the result:

The basic null safety looks like solution 0.
But when I use List instead String type, the null safety doesn't work(solutions 1 and 2), and get the error is RangeError (index): Index out of range: no indices are valid: 0.
So I use the If statement to check that List doesn't empty before using it(solution 3).
Or change the List to the Map(solution 4).
When I use the List looks like
String? data = emptyList[0]; or
if(data == emptyList[0]) {} or ...
It will be error.
Is it will be better if this returns null when the index out of range of the List like the Map?

Requests for changes in code Dart libraries need to be filled against Dart: https://github.com/dart-lang/sdk
Note that nothing is preventing you from making your own list implementation that has this behavior, and using that instead.


Add webhook notification feature

Want to have this in before moving GUPPI here.

Codecov Report

Merging #22 (c2d50b7) into main (d2a47c8) will increase coverage by 0.13%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   47.36%   47.50%   +0.13%
==========================================
  Files          10       11       +1
  Lines         589      621      +32
==========================================
+ Hits          279      295      +16
- Misses        284      296      +12
- Partials       26       30       +4

Impacted Files
Coverage Δ

pkg/webhook.go
50.00% <50.00%> (ø)

pkg/job.go
74.31% <65.00%> (-3.82%)
:arrow_down:

pkg/schedule.go
67.54% <100.00%> (+0.28%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2a47c8...c2d50b7. Read the comment docs.


Not updating

My light overlay only updates when I turn it off and back on. I'm using the correct version too. #107

nvm i have to turn of caching


Archlinux 'not running'

Hi,
Install is ok but when i want to start fsociety on my terminal, is not running and display this result:
File "/home/thomas/.fsociety/fsociety.py", line 1137
    except(), message:
            ^
SyntaxError: invalid syntax

Bye.

open /usr/local/bin/fsocity
replace python with python2


feat(TDI-39753):Support for Salesforce Bulk API 2.0

What is the current behavior? (You can also link to an open issue here)
For feature: https://jira.talendforge.org/browse/TDI-39753
What is the new behavior?
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[x] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
Because bulk api support oauth2 login type, and we didn't have oauth2 runing test, so we only convered the test which need test locally.

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results


Provide a structured representation for vector element attributes

Representing vector element attributes in a structured manner would reduce the complexity of adding new vector formats, which currently requires manually translating each of the vector attribute types.

The benefit this provides is a vector's attributes only have to be interpreted once and not n times, where n is the number of vector graphic formats. This would be valuable if there are more vector graphic types added. With just two vector types, it isn't a priority.


Configure: Remove unnecessary gethostname() test

Needs to be removed from cmake/detect-features-c.cmake

Done


Sending attachments via url.

In<EMAIL_ADDRESS>and below you were able to send attachments by providing sendgrid with a url, the structure of an attachment looked like so:
{
    filename: 'something.js',
    contentType: 'application/javascript',
    url: 'https://test.com/some/url'
}

Is this possible to do now? It seems rather expensive for me to download the file to my mail server, load the entire thing in ram and put it into a base64 string just to send it out to sendgrid.

Hello @DylanPiercey,
Ah, that's a great feature, I'm going to leave this ticket open so we can add this to the new Mail Helper.
For this ticket to climb priority in our queue, we need +1s and/or comments. A pull request with a signed CLA also jumps things up quickly in our queue.
Reference: https://github.com/sendgrid/sendgrid-nodejs/blob/967fb3105908617b41b761d3f18bbc623eb4579a/lib/file_handler.js
On a side note, how about just including a link to the attachment (assuming these are large files)? I ask because I'm heading to BoxDev in a few weeks and that is one of the use cases I will be demonstrating.

Hello Everyone,
Here is the follow up materials from the Box demo I referenced earlier: https://sendgrid.com/blog/using-box-with-sendgrid-to-simplify-inboundoutbound-email-attachments

where is the solution guys ?

Hi @sidimomo,
We have not implemented a solution yet within the library, but I have added your +1 to help this issue gain priority in our backlog. Thanks!
With Best Regards,
Elmer

We created issues for Hacktoberfest for Box, DropBox, and S3 - this being solved for any URL within the library would be pretty awesome!

Any status on this issue? Has it already been added maybe?

I've created an internal ticket to track this request (reference ID: EID-2818). I will circle back here when there's an update, but closing the issue here as it's not something that can be done in client-side code (w/o download/uploading/streaming the files).


Failed to use frozen_sim_inception model

2018-03-27 13:35:16.955887: E tensorflow/core/common_runtime/executor.cc:651] Executor failed to create kernel. Invalid argument: NodeDef mentions attr 'index_type' not in Op<name=Fill; signature=dims:int32, value:T -> output:T; attr=T:type>; NodeDef: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta)]]
2018-03-27 13:35:17.001860: E tensorflow/core/common_runtime/executor.cc:651] Executor failed to create kernel. Invalid argument: NodeDef mentions attr 'index_type' not in Op<name=Fill; signature=dims:int32, value:T -> output:T; attr=T:type>; NodeDef: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta)]]
2018-03-27 13:35:17.051425: E tensorflow/core/common_runtime/executor.cc:651] Executor failed to create kernel. Invalid argument: NodeDef mentions attr 'index_type' not in Op<name=Fill; signature=dims:int32, value:T -> output:T; attr=T:type>; NodeDef: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta)]]
[ERROR] [1522182917.055964]: bad callback: <bound method TLDetector.image_cb of <__main__.TLDetector object at 0x7f2320ffecd0>>
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
    cb(msg)
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/tl_detector.py", line 98, in image_cb
    closest_tl_xy, light_wp, state = self.process_traffic_lights()
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/tl_detector.py", line 192, in process_traffic_lights
    state = self.get_light_state(self.lights[np.argmin(ds)])
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/tl_detector.py", line 158, in get_light_state
    return self.light_classifier.get_classification(image)
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/light_classification/tl_classifier.py", line 33, in get_classification
    output_dict = self.detector.run_inference_for_single_image(image)
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/light_classification/tl_detector.py", line 44, in run_inference_for_single_image
    feed_dict={self.image_tensor: np.expand_dims(image, 0)})
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 895, in run
    run_metadata_ptr)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1128, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1344, in _do_run
    options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1363, in _do_call
    raise type(e)(node_def, op, message)
InvalidArgumentError: NodeDef mentions attr 'index_type' not in Op<name=Fill; signature=dims:int32, value:T -> output:T; attr=T:type>; NodeDef: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta)]]

Caused by op u'MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones', defined at:
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/tl_detector.py", line 207, in <module>
    TLDetector()
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/tl_detector.py", line 54, in __init__
    self.light_classifier = TLClassifier()
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/light_classification/tl_classifier.py", line 14, in __init__
    self.detector = TLDetector(model_path)
  File "/home/rioffe/self_driving_car_class/CarND-Capstone-Solution/ros/src/tl_detector/light_classification/tl_detector.py", line 18, in __init__
    tf.import_graph_def(od_graph_def, name='')
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 316, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 554, in import_graph_def
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 3160, in create_op
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1625, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InvalidArgumentError (see above for traceback): NodeDef mentions attr 'index_type' not in Op<name=Fill; signature=dims:int32, value:T -> output:T; attr=T:type>; NodeDef: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/ones = Fill[T=DT_INT32, index_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:GPU:0"](MultipleGridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, Postprocessor/BatchMultiClassNonMaxSuppression/map/TensorArrayUnstack_1/range/delta)]]

Duksan, the problem seems to be with the version of tensorflow that the model was created. Which version of tensorflow did you use to create the model?

New version submitted by Duksan loads fine.


https://github.com/google/spatial-media/releases/tag/v2.0

Attempted to use recipe-robot to create autopkg scripts for https://github.com/google/spatial-media/releases/tag/v2.0 .  Blew up the robot with a
UnicodeEncodeError: 'ascii' codec can't encode character u'\xba' in position 59: ordinal not in range(128)
error.  Looks like it's not handling the unicode degree symbol from the github description(?):
A collection of specifications and tools for 360° video and spatial audio, including:

Interesting — when I ran Recipe Robot on the URL above, I didn't get the unicode error. But I did encounter a different problem: Recipe Robot grabbed the Windows zip instead of the Mac zip.
Here's something you might try:

Download the Mac release zip.

Run recipe-robot --verbose /path/to/downloaded.zip

Open the finished recipe and replace the URLDownloader processor with a GitHubReleasesInfoProvider processor, being sure to specify the asset_regex input variable such that the Mac zip is selected. Maybe something like:
	<dict>
		<key>Arguments</key>
		<dict>
			<key>asset_regex</key>
			<string>.*\.mac\.zip</string>
			<key>github_repo</key>
			<string>google/spatial-media</string>
		</dict>
		<key>Processor</key>
		<string>GitHubReleasesInfoProvider</string>
	</dict>

Verify that the rest of the recipes work, now that the download recipe has been modified.

Let me know how that goes.

Worked great: used that guidance to make the needed recipes. Thanks.


allow using hstore in macros

Does your PR solve an issue?
fixes #3488
This still does not allow HSTORE[] in macros.  This needs ``PgHstoreto implement thePgHasArrayType` trait.  I'll look into it.

I noticed that HSTORE does not yet have a PgType and PgTypeInfo.  Should it?  If so, I'll do that.

I hope I implemented it correctly.  I still get test failures but in unrelated parts (no_tx, reversible, simple).

Superceded by #3514


Add your Admission numbers

Issue
Add your Admission numbers in front of your names
As the following example

Hello, I'd like to work on this issue


Get to 100% test coverage

https://github.com/hiljusti/z/commit/e80ba2f8f2544705b640cc7f3db7c42ccd7f8ba7


Bump safer-golangci-lint to 1.52.2

Description
Bump golangci-lint to 1.52.2.
Bump Go to 1.20.
@fxamacker The PR template should include CI config to the same exception used for contributing docs:

For documentation-only contributions, please delete everything below this line.

  While at it, also disabled deprecated linters.
I need to wait until weekend to look more closely into the revive linter errors.


Can't watch age restricted videos

Script version
What version is the script on eg 2.9 , 3.1 ect
Version 5.5
Describe the bug
A clear and concise description of what the bug is.
 When the page opened, I think it reloaded the video player about three times since the player flickered to black two times. Side note: after the first flicker to black, I noticed that the video player resized to the smallest size, and I could no longer switch it to theater mode. Only full screen or normal. Anyways, after the first flicker, it gave me an age-restricted warning, preventing me from watching the video even though I was signed in and watching the video on YouTube.
Expected behavior
A clear and concise description of what you expected to happen.
I expected the page to smoothly load to the video player, skip any ads that were on the video, and for the video to play so that I could listen to some DJ Screw.
Screenshots
If applicable, add screenshots or a video to help explain your problem.

Desktop (please complete the following information):

OS: Windows 10
Browser: Mozilla Firefox
Version 126.0.1 (64-bit)

Additional context
Add any other context about the problem here.
N/A

is working with this script https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass  on firefox v126.0.1


Nested obj/array support, more draft-04 keywords, better menu linking, etc.

This fixes lots of stuff, and generally brings doca-bootstrap-theme into parity with our internal theme (including nested object support which as of today we haven't even deployed yet!)
While it's an omnibus PR overall, the changes are split up into commits that each do a specific thing and can be split out if something gets hung up.
This addresses:

https://github.com/cloudflare/doca/issues/17 (nested objects and arrays)
https://github.com/cloudflare/doca/issues/59 (minItems, maxItems, uniqueItems)
https://github.com/cloudflare/doca/issues/60 (minProperties, maxProperties)
https://github.com/cloudflare/doca/issues/61 (draft-04 boolean-style exclusive[Minimum|Maximum])
https://github.com/cloudflare/doca/issues/50 (display boolean defaults- this might have been fixed at some earlier point, but definitely seems to work now even though I didn't do anything for it)

Additionally, this change:

displays formatted example JSON for each field with proper indentation
supports format in parentheses next to the type
moves read only to the top of the constraint list and makes it bold and italic (it easy to overlook before)
Allows you to click on the section names and jump to the section heading (I could not figure out how to get the menu section names to highlight like the menu link names- someone can figure that out later)
sets a peer dependency of json-schema-example-loader 3.0.0 and relies on its updated set of extension keywords (mostly prefixed with "cf")

For more details, see the individual commit messages.

Looks like it's trying to run Travis but we never set it up here.  Please review the fix anyway- we can deal with setting up CI separately.


add a task to do diff package before Service Fabric deployment

@BinWuMSFT what is the rationale behind this new task? What scenario is it enabling?

Can it be part of some existing task?

Should it rather be an extension task available via marketplace?

@bishal-pdMSFT This task is enabling before ServiceFabricDeploy task when it is a upgrade. This task will only deploy the application/service which is changed/added after the last deployment in the cluster. You can find the detail about Upgrade with a diff package https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced.
I think this task is better to be a independent task since it just constructs a diff package based on the full package without impacting the full package. We can choose to use the diff package or not.
Could you explain a little bit more on the extension task? I don’t have any knowledge about that.

@BinWuMSFT Since the diff logic is anyways tied to target cluster, in my opinion, it makes sense to make it part of ServiceFabricDeploy task.
One of the main benefits of diffing is: A diff package is preferred when you have a deployment system that generates the build layout directly from your application build process. In this case, even though the code hasn't changed, newly built assemblies get a different checksum. Using a full application package would require you to update the version on all code packages. Using a diff package, you only provide the files that changed and the manifest files where the version has changed.
But in our ServiceFabricManifestUpdate task we anyways use sha1 hash to compute whether file has been changed or not. And that happens in build phase - which basically means that by the logic diff task logic runs version has already been updated and hence diff will not exclude anything?
I might be wrong? Can you please outline the flow of build and release tasks which user will need to use to take advantage of diffing?
@NCarlsonMSFT thoughts?

@bishal-pdMSFT I saw you check if files are changed when doing Update-PackageVersion but do you always just included the changed files(which cause a changed service/application) to the package TO BE deployed? The diff-package here mean Difference between full LOCAL package and the package running in the cluster and we will directly get info from the cluster not previous hash, so once we upgrade the version of something in the full local package, that will result in a difference from the cluster package and we will include ONLY the upgraded service into the diff package and do the deployment. Thus, I think this work is not a duplicate with ServiceFabricManifestUpdate and it should happen before deployment
We are planning to merge this task to ServiceFabricDeploy task because it seems to make more sense. I will close this PR for now and let you review it when we are done the change.
Please let me know if you have any concerns of the diff package.


Add in time created to bundle.json

One of the use cases we've had  is keeping our models up to date on a nightly basis and having alerts for when they're X hours old. So I added a field to the bundle case class and have it auto populate when the bundle is being created. I also couldn't get this to build with the 0.12.head version of tensorflow so I updated to the latest stable version and the unit tests passed. I can revert that if need be for the time stamp.

@jacobfoard Thank you for the PR. Will get a chance to look closer at it after DataWorks summit tomorrow. Thanks for updating TensorFlow as well, did you get a chance to test it out with the latest 1.1 version?

I've looked into it some more and it doesn't pass the tests because the TensorFlowTransformer doesn't comply to the Transfor abstract with the new getFields requirement. I made an attempt to fix it, but I'm less knowledgeable in that area. I'll post the getFields implementation I did and get some feedback and I'll add that in. I believe that is the only thing stopping the tests from passing.
Sent from my iPhone

From: Hollin Wilkins<EMAIL_ADDRESS>Sent: Wednesday, June 14, 2017 5:06:22 PM
To: combust/mleap
Cc: Jacob Foard; Mention
Subject: Re: [combust/mleap] Add in time created to bundle.json (#229)
@jacobfoardhttps://github.com/jacobfoard Thank you for the PR. Will get a chance to look closer at it after DataWorks summit tomorrow. Thanks for updating TensorFlow as well, did you get a chance to test it out with the latest 1.1 version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/combust/mleap/pull/229#issuecomment-308558201, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM5ZFlIXqP9AD8cGpZOD4iT1DiQZ8Otsks5sEEtOgaJpZM4N43zo.

@jacobfoard Cool, take a swing at it, if it proves to be too tricky at this time, we can return a failure there for now until we have a good solution for it. Anca and I are going to be reviewing the typing system that we have for MLeap in the next couple of weeks anyways.


avoid defect python-msgpack releases, fixes #171, fixes #185

@jborg: also take this one for next release to finally get rid of any msgpack related data corruption uncertainties (and maybe wake up some distribution package maintainers so they finally package a recent msgpack).

closing this pull request, seems unwanted.


Complete the generate test

Complete the TestGenerate, not just use the if err != nil {}.
https://github.com/Aoi-hosizora/goapidoc/blob/db169454513bceb3a548b5be663084ecef20f4e4/generate_test.go#L383-L399

Code are too long, give up.


This is a good tip if you're using Alpine

(Which does not have a POSIX-compliant tar by default)

Thanks @JJ for your contribution 🎉


Update README.md

@all-contributors please add @xprilion for projectManagement, ideas, code, maintenance

@all-contributors please add @samarthdesigns for design


mbta: remove timezone parameter

App doesn't work in prod. Simplifying the code a bit, for lack of better ideas.


Dynamic hexbins example

Couple minor changes from the v3 original to be compatible with v4.

selection.merge in the update pattern
margin convention
randomBates
interpolateBuPu with scaleSequential

http://bl.ocks.org/syntagmatic/e7dc072643b1a5f121047280093f459e

Just saw this after updating my examples. Oops. Oh well, thanks anyway!


0.5.0 is decoding HTML entities

I have angle bracket HTML entities in a Blazor client-side app page ...
<h1 style="font-style:@@_headingFontStyle">@@_headingText</h1>

... it would render that content out with the encoded angle brackets. The browser would render that as text ...

@_headingText

I just did an 0.4.0 -> 0.5.0 update. It's apparently decoding those < and > into actual angle brackets. The browser is now rendering that content as HTML.

Confirmed, just found the same thing when I upgraded my project BlazorChatSample to 0.5.0.
Source: https://github.com/conficient/BlazorChatSample/blob/master/BlazorChatSample.Client/Pages/Index.cshtml this has invokeAsync<object> to invoke.. in the HTML but on the browser is rendered as
invokeAsync<object> to invoke ....

See https://blazorchatsample.azurewebsites.net/ for example

<h1 style="font-style:@@_headingFontStyle">@@_headingText</h1>

<h1 style="font-style:@@_headingFontStyle">@@_headingText</h1>

... lead to the same result.
@danroth27 @SteveSandersonMS I can update the "Build your first" experience sample app (it doesn't use HTML entities), but I can't easily update the doc's "Common" sample app to 0.5.0 until this is resolved or I go with images as a workaround. The content explains what the sample code is doing, and I don't want to lose that presentation. If this will take a while to fix, then what I'll probably do is screenshot the 0.4.0 app's output and use images in the sample. Since that's a time-consuming workaround, I'll wait until I hear back from you on this before I proceed.

Thanks for the report! And sorry for the inconvenience.
The earliest we could feasibly fix this would be in a 0.5.1 update possibly next week but more likely the week after.

@SteveSandersonMS Thanks --- I think the best I can do today is just screenshot the markup I want to show and load some images into the pages. I could just kill the content temporarily, but I feel that showing the markup is an important educational component of the sample. I'll open a docs issue and keep an :eye: out for 0.5.1.

@guardrex following workaround works:
@((MarkupString)"invokeAsync<object> to invoke..")

@Suchiman Perfect! Thank you. I'll do that until the patch lands.

Fixed with 8c452ff71ad1c59af0115747794a313d91ace789
We'll apply a more long-term fix when we reintroduce the markup optimization later.


Split multiple jobs in one workflow to multiple workflows

based on a single workflow
Closes https://github.com/ably/ably-cocoa/issues/1273

Executing in parallel:

One failed:

Re-run the one that failed:

ok, I get you, @maratal. 😁 I'm going to push a couple of commits to the branch underlying this PR that will:

Remove the branch reference
Add name keys to root of workflows

And perhaps other tweaks.
I am planning that the checks will then fail when run in this PR context, but that it will then pass once landed to main branch. As administrator I can override the checks requirement when I land the PR for this special case.

Still following the plan I outlined earlier, except now waiting for checks to pass after my most recent set of commits as they were quite extensive in the changes they made. Once I'm happy with them then I shall push another commit to make the references relative (implies I have to remove those version suffixes) and then land this PR to main branch.

I've just re-run the tvOS and macOS jobs, both of which experienced 1 or 2 test failures... but just the fact that I was able to re-run just those test runtime environments was a breath of fresh air! 😁

tvOS succeeded this time but macOS failed again, so I've re-run it.

Looks like macOS decided to play little bit 🤪

According to this commit message b436640 which I've copied from CI failure it required to include branch or tag name, also according to this commit message 4413eeb they require a full repo name as well. Hence I'm not sure if main works now as expected.


feat: add user follower / member count to splash image

display the total number of users and members in the channel. this can be pulled from the metadata in the initial / route. some icons would probably look good too

hey @zachterrell57 i think I can help with this issue can you assign this to me

@sooryadev007 go for it!


q-text-as-data: 1.7.4 -> 2.0.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/q-text-as-data/versions.
meta.description for q-text-as-data is: '"Run SQL directly on CSV or TSV files"'.
meta.homepage for q-text-as-data is: '"http://harelba.github.io/q/"
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/6ff1ea66ada69bea6d831c722fe8a632

du listing: https://gist.github.com/57c16eaf00f56f155b64f6b71ef8a79c

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
q-text-as-data

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zahzvvv82s95bp19mhma397kn2djfqmc-q-text-as-data-2.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A q-text-as-data https://github.com/r-ryantm/nixpkgs/archive/78c9fe9a5352a16d3109427fb6c30b1e8146474e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zahzvvv82s95bp19mhma397kn2djfqmc-q-text-as-data-2.0.0
ls -la /nix/store/zahzvvv82s95bp19mhma397kn2djfqmc-q-text-as-data-2.0.0/bin

cc @Taneb for testing.

I haven't tested this yet, but two thoughts:
a) the GitHub for q has a tag for 2.0.4. Might be worth going straight for that
b) I think it now has support for Python 3 which I'd like to switch this to use.

newer version available


SyntaxError: invalid syntax

When i try to run
python3 3dsconv.py game.3ds
i got this error
  File "3dsconv.py", line 24     global boot9_path = os.environ[namevar]                       ^ SyntaxError: invalid syntax
can you help?
Using OSX v. 10.15.2

Fixed in bde8c8f1b70531b539e3cdb7595f6b21a0d43085

Your fix resolve the first issue, but now...
 File "3dsconv.py", line 127     def print_v(*msg, end='\n'):                         ^ SyntaxError: invalid syntax

Make sure you're using Python 3.4 or later, not 2.7.


msgpack v4 -> v5

Which problem is this PR solving?

profiles show we're spending most of our time in prod refinery in the msgpack code. v4 is no longer under development, and libhoney has already gone to v5 of msgpack. update refinery too in case there's performance improvements to pick up.

Short description of the changes

upgrade msgpack dependency major version.

Do not merge. https://github.com/vmihailenco/msgpack/issues/327


port: add token and new notifications

Description
This PR adds two new notification types (user_created and user_deleted) and the possibility of setting a token on the webhook alert

Addressed Issue
dependencyTrack/dependency-track#3255
dependencyTrack/dependency-track#3256
Checklist

[x] I have read and understand the contributing guidelines
[x] This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

Thanks @fnxpt! We have since rebased the Hyades changes on top of v4.11.3, where this is already included. Closing.


Add "many" version of API calls for UpdateMagicTransitGRETunnels, CreateMagicTransitStaticRoutes & UpdateMagicTransitStaticRoutes

Current cloudflare-go version
v0.55.0
Description
Add "many" version of API calls for UpdateMagicTransitGRETunnels, CreateMagicTransitStaticRoutes & UpdateMagicTransitStaticRoutes.
Only singular versions of these calls are currently available. The http api alreadys supports this calls, but this module doesn't expose it.
Use cases
Automating create/updates of tunnels and routes with reasonable performance.
Latency introduced by iterating single items is unacceptable when more than several items require create/update.
Potential cloudflare-go usage
func (api *API) UpdateMagicTransitGRETunnels(ctx context.Context, accountID string, tunnels []MagicTransitGRETunnel) ([]MagicTransitGRETunnel, error) {}

func (api *API) CreateMagicTransitStaticRoutes(ctx context.Context, accountID string, routes []MagicTransitStaticRoute) ([]MagicTransitStaticRoute, error) {}

func (api *API) UpdateMagicTransitStaticRoutes(ctx context.Context, accountID string, routes []MagicTransitStaticRoute) ([]MagicTransitStaticRoute, error) {}

References
Code created to address short-coming. Could become a PR - https://github.com/section/cloudflare-go/pull/1/files

thanks for the issue here, it unfortunately got buried other some other things and fell off my radar.
for now i think we're going to pass on this given creating and updating single records is the norm within the SDK and we'll wait until such a time that we can automatically support cases like this to avoid snowflake methods from emerging. i'll note this down internally as a potential improvement for these endpoints to track as we progress with the automatically generated solution.
thanks again!

for now i think we're going to pass on this given creating and updating single records is the norm within the SDK

For my use case with ~700 of tunnels, ~2,000 routes and updates that often need to change hundreds of tunnels/routes "atomically", updating via a single tunnel/route update calls each taking several/dozens seconds to complete - just isn't practical.
But I also understand this SDK may aim to only address mainstream/trivial use cases, and not the full exposed HTTP API.


onChangeTab for Tabs causing app to freeze

node, npm, react-native, react and native-base version, expo version if used
"expo": "^30.0.1"
"native-base": "^2.8.1"
"react": "16.3.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz"
Expected behaviour
the state should have currentTabIndex as the selected index.
Actual behaviour
app freezes
Steps to reproduce
<Tabs tabBarPosition="bottom" initialPage={1} locked onChangeTab={({ i }) => this.setState({ currentTab: i })}>
	<Tab heading={<TabHeading>
				<Icon name="bell" type='SimpleLineIcons' style={{fontSize:22}} />
				<Text style={{color:(this.state.header == 'Snapshot'?Colors.themeBlue:'black')}}>Snapshot</Text>
		</TabHeading>}
	>
		<Text> tab 1</Text>
	</Tab>
	<Tab heading={<TabHeading>
				<Icon name="compass" type="SimpleLineIcons" style={{fontSize:22}} />
				<Text style={{color:(this.state.header == 'Discover'?Colors.themeBlue:'black')}}>Discover</Text>
			</TabHeading>} style={{backgroundColor:'#e8e8e8'}}
	>
		<Text> tab 2</Text>
	</Tab>
</Tabs>

Is the bug present in both iOS and Android or in any one of them?
both

@n-sviridenko  yea i understand setState is causing the issue. but its not supposed to right? and also did you find any work around for this?  why is this issue closed?

same here, call setState in onChangeTab cause app freeze.
My work around, create button in TabHeading to change "page" props of Tabs.

@rubinjohny @n-sviridenko @chatdanai
Use bind in setState
onChangeTab={({ i }) => this.setState.bind({ currentTab: i })}

So did somebody find a solution? I cannot fire a change into a function. Can somebody help?

I've tried many ways to work around for this issue, and I found a way to improve it:
Instead use state for current tab, you should:
- Use variable to store current tab
- Call forceUpdate() function to make renderUI again
Example:
onChangeTab = ({ i }) => {
    this.selectedTab = i;
    this.forceUpdate();
 }

And in renderTab function, replace this.state to your variable to select style for tabbar:
Example:
renderTabHeading = (index) {
const isTabSelected = this.selectedTab === index;
...
}


Feature/update schema and icons

SEAB-2481 and SEAB-2480
Search page mock up(can also navigate to other pages)
Screenshots:
Search page tab bar:

Tool:

Workflow:

Nav bar:

Side note:

I think we don't have the service icon for headers, correct me if I'm wrong, so I substituted the workflows icon instead:

I was reminded that another open PR is used for separating tools and workflows, I will wait for that to be merged and then change the colors of side facets like on the mock up
I tried to make the tool and workflow page more responsive, but it seems like it breaks the integration tests(for example, the last two commits), I will leave a comment at where and what I think the reason is. But so far this is what we have:

If we care about the mobile version then I will also fix the word break of the other links on that page

I think we don't have the service icon for headers, correct me if I'm wrong, so I substituted the workflows icon instead:

this is probably an oversight, there should be an icon for example on https://projects.invisionapp.com/share/VNZ92Z0T2B3#/screens/434537756 the left, albeit not coloured

If we care about the mobile version then I will also fix the word break of the other links on that page

We care insofar as it is easy (i.e. it is not a focus and should not take up much time, but it is a nice to have)

Default badge formatting is wrong for me on versions table when there is a DOI, at least I think that's the cause. github.com/gatk-workflows/gatk4-data-processing/processing-for-variant-discovery-gatk4:2.1.0?tab=versions

Default badge formatting is wrong for me on versions table when there is a DOI, at least I think that's the cause. github.com/gatk-workflows/gatk4-data-processing/processing-for-variant-discovery-gatk4:2.1.0?tab=versions

We've always had issues with not having enough space to work with

In the My account dropdown, the new icons look disabled/gray -- is there any reason they're not in color?
And I think you have that same underline problem that was on the footer.

In the My account dropdown, the new icons look disabled/gray -- is there any reason they're not in color?
And I think you have that same underline problem that was on the footer.

Yeah before the icons were a blue-ish gray color. So I went along with the gray. There are colored versions though, we can for sure go with that

I like the green underline for selected tabs. It's a small thing, but it really is more obvious what's selected.

What do you say about this:
When hovered:

After clicked:

What do you say about this:

It works for me. Does it match Kim's mocks?

What do you say about this:

It works for me. Does it match Kim's mocks?

Kim's mock-up is completely different

We can only do this when the My Account pages are implemented
So I guess we will go with what we have right now?

We can only do this when the My Account pages are implemented
So I guess we will go with what we have right now?

Ah, right. If by right now, you mean color, yes I vote for that. Or at least a less grayish color that doesn't look disabled.
I may be pessimistic, but I don't know if we'll be able to get whole rework into 1.11, so this might be there for a while.

ugh, the files changed shows my other PR.  Anyways...there's a material.scss if you want to blanket change colors

ugh, the files changed shows my other PR. Anyways...there's a material.scss if you want to blanket change colors

Since we are talking about it, I don't know why I decided to rebase and not merge :) And what do you mean? What's up with material.scss?


Add firewall support

are you already working on this? if not I could give it a try

Nope, I'm currently working on the Flexible network support.


Out of Bounds on Smaller Candles Sizes

If I make a smaller dataset, like by using this for loop, I get out of bounds issues with the grapher. This is on windows.
List<Candle> getCandles(){
  final List<Candle> output = [];
  final time = DateTime.now();
  for (int i = 0; i < 10; i++){
    output.add(Candle(open: 1700 + i*20, high: 1800 + i * 20 + 0.0000001, low: 1700 + i * 10-0.00011, close: 1800 + i * 10, volume: 1.0 * i, date: time.subtract(Duration(days: 1 * i))));
  }
  return output;
}

If I increase that for loop to 1000 or so it doesn't appear.
My current hack is to do this in the time_row.dart file.
//int candleNumber = (step + 1) ~/ 2 - 10 + index * step + -1;
int candleNumber = index;

Same problem here. But it is not related to the size.
I have a loop with 2000 entries and if I scroll to the end of the chart the same error appears

Yeah you are right, that happens with me too.

I am facing the same issue. Is there any support on this package or we should look for alternate option?

I have moved to https://pub.dev/packages/syncfusion_flutter_charts
They provide easy to follow video https://help.syncfusion.com/flutter/cartesian-charts/chart-types/candle-chart?_ga=2.183977071.878455877.1626833079-218761931.1626833079

Fixed in 1.0.0 version. Sorry for the delay.
Best regards :)

Having the same problem. When zooming in or out the RangeError appears

.

Having some problem in version 2.1.0.
======== Exception caught by widgets library =======================================================
The following RangeError was thrown building TimeRow(dirty, state: _TimeRowState#3ab16):
RangeError (index): Invalid value: Not in inclusive range 0..10: 13
My candlesticks:
[
{
date: 2022-04-17 23:00:00.000,
high: 40444.68,
low: 40167.07,
open: 40441.43,
close: 40167.07,
volume: 0.31,
},
{
date: 2022-04-18 00:00:00.000,
high: 40248.44,
low: 40025.83,
open: 40139.87,
close: 40063.51,
volume: 0.31,
},
{
date: 2022-04-18 01:00:00.000,
high: 40115.37,
low: 39849.07,
open: 40074.19,
close: 40088.32,
volume: 0.3,
},
{
date: 2022-04-18 02:00:00.000,
high: 40416.11,
low: 40061.47,
open: 40070.36,
close: 40343.83,
volume: 0.31,
},
{
date: 2022-04-18 03:00:00.000,
high: 40421.44,
low: 40220.83,
open: 40370.33,
close: 40238.37,
volume: 0.3,
},
{
date: 2022-04-18 04:00:00.000,
high: 40259.17,
low: 40095.77,
open: 40237.88,
close: 40178.74,
volume: 0.32,
},
{
date: 2022-04-18 05:00:00.000,
high: 40301.75,
low: 39895.45,
open: 40180.5,
close: 39964.25,
volume: 0.3,
},
{
date: 2022-04-18 06:00:00.000,
high: 39960.45,
low: 39511.67,
open: 39958.12,
close: 39656.38,
volume: 0.29,
},
{
date: 2022-04-18 07:00:00.000,
high: 39732.64,
low: 39546.85,
open: 39636.84,
close: 39701.03,
volume: 0.3,
},
{
date: 2022-04-18 08:00:00.000,
high: 39792.9,
low: 39630.19,
open: 39681.94,
close: 39721.78,
volume: 0.27,
},
{
date: 2022-04-18 09:00:00.000,
high: 39912.2,
low: 39700.37,
open: 39706.27,
close: 39768.48,
volume: 0.25,
}


Desktop keyboard cannot input Chinese characters

phone：xiaomi 6 Android 9
desktop：win10
Hi.I can not input Chinese characters.The screen only shows English  characters.

Yes, I'm closing as duplicate of #632 (and others).

Please test #1426 (works on Android >= 7).


Fixed routing when clicking of the data-navigation search-icon

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Fixed tickets
fixes #1876

Related issues/PRs
https://github.com/massiveart/husky/pull/613

License
MIT

Documentation PR
none

What's in this PR?
When clicking on the search icon in media-selection overlay or collection view (described in the PR) the admin links to /admin/# instead of searching for the given term.

This PR doesn't contain the changes from https://github.com/massiveart/husky/pull/613, and styleci fails :wink:

@danrot fixed

The remove icon in the search field has some style problems:

@danrot the mentioned bug is fixed now

Needs a rebase in husky :/

@danrot this should now be good - both rebase


When installing package from nodejs 14 , a warning message is generated.

based on the screenshot it is most likely because of npm 7, not node 14 ... Let me not fi the problem still persists after the latest update


Icsaas 310 implement configuration   context aware

@ejanevska : The PR is showing now all differences in the diff. I would suggest to first close https://github.com/valtech-ch/saas-aem-module/pull/5 before proceeding here


Add rook-multi-node.yaml

This environment simulate a real cluster having multiple nodes. I'm using it to understand if our rook-cluster configuration can work for testing purposes on a multi node cluster.
Staring the environment creates 2 cluster:
$ minikube profile list
|---------|-----------|------------|-----------------|------|---------|---------|-------|--------|
| Profile | VM Driver |  Runtime   |       IP        | Port | Version | Status  | Nodes | Active |
|---------|-----------|------------|-----------------|------|---------|---------|-------|--------|
| rook1   | kvm2      | containerd | <IP_ADDRESS> | 8443 | v1.26.1 | Running |     2 |        |
| rook2   | kvm2      | containerd | <IP_ADDRESS> | 8443 | v1.26.1 | Running |     2 |        |
|---------|-----------|------------|-----------------|------|---------|---------|-------|--------|

Each cluster have 2 vms, total 4 vms:
$ virsh -c qemu:///system list
 Id   Name        State
---------------------------
 16   rook1       running
 17   rook2       running
 18   rook1-m02   running
 19   rook2-m02   running

On every cluster we have 2 disks and 2 Ceph osds:
$ kubectl get deploy -n rook-ceph --context rook1
NAME                           READY   UP-TO-DATE   AVAILABLE   AGE
csi-cephfsplugin-provisioner   2/2     2            2           29m
csi-rbdplugin-provisioner      2/2     2            2           29m
rook-ceph-mgr-a                1/1     1            1           26m
rook-ceph-mon-a                1/1     1            1           27m
rook-ceph-operator             1/1     1            1           30m
rook-ceph-osd-0                1/1     1            1           25m
rook-ceph-osd-1                1/1     1            1           25m
rook-ceph-rbd-mirror-a         1/1     1            1           25m
rook-ceph-tools                1/1     1            1           25m

So it looks like our test cluster works with existing clusters that have one disk per node. Move testing is needed with real clusters that don't have any disk.

We don't have a use case for this, lets close.


Remove player controls from lock screen / notification

Hi guys, thank you very much for your work. The fact is that listening to music is not the main function of my application and I would like to remove the player controller from the phone lock screen /notifications when the user closes the player in the application and switches to another screen. Is it possible to implement this in the RNTP-nightly version?

Doesn't calling TrackPlayer.reset() do this?

In my case, I'm trying to call TrackPlayer.reset() when unmounting the player components, but this has no effect, and I can still turn on the track by clicking on the play.

Please create a fork of the example app that demonstrates this issue.

A quick test shows me that calling TrackPlayer.reset() does indeed close the notification... Please provide other instructions to replicate your issue.

I updated the night version, and now reset() works as it should

I'm also having the same issue on 3.2. After calling TrackPlayer.reset() the controls are still showing up in the notification tray on iOS.

I'm also having the same issue on 3.2. After calling TrackPlayer.reset() the controls are still showing up in the notification tray on iOS.

Did you manage to fix it somehow? I've also encountered the same problem.

@kamil-rusin I don't remember exactly if I fixed it but I have this:
  useEffect(() => {
    return () => {
      // when the app gets killed we need to reset the player
      // https://github.com/doublesymmetry/react-native-track-player/issues/813#issuecomment-625844883
      MediaPlayerController.reset()
    }
  }, [])


unknown devices

I'm using razer viper ultimate and just today it started to display a second one and always stay at 86%
All razer devices I'm now using only 1 mouse with charging dock

Razer Synapse 3.log
this is my log

Hey,
Thanks for sharing the log! Looks like Synapse assigned a new 'handle' to your device at some point. Since there are still entries in the log with the old handle, my app now thinks you have 2 devices.
For now, you can easily resolve this by deleting your log file. This will make synapse create a new one with only the updated handle. (might need to restart synapse for this)
I'll add something in the future so that my app does not lose track of devices in this case.

thank for the advise but
I deleted log file now no devices found
I restarted synapse and my PC also
Tried reinstall razer-taskbar
any solution for this

I'm pretty sure it should catch up after a bit of time. My app should find the device again after the battery level changes.
You can try opening the device's page in Razer Synapse and charge it a bit to force the battery level to change.

thanks for the advise
it worked


Support for DATETIME and TIMESTAMP columns

Hi,
sqlpp11 does not support these types, really?
Why? Can anybody tell me, what should I do to implement support for these types?

Hi niXman,
Not yet. I am currently working on unions and with-statements. Date and time might be next, although I am not 100% sure how to represent those types in the C++ world. I might be using std::time_point or std::tm.
Once the choice is made, I think that writing the actual type classes is relatively simple, take a look at integral.h for instance. Contributions are welcome.
If you wonder why there is no support for these types yet: Well, I tend to avoid them and just store bigints for seconds since epoch. That's doing the job for me, but I understand that support for date/time is a requirement :-)
Best,
Roland

I think the std::tm. std::chrono has no predefined types for hour/day/month/year.

Once the choice is made, I think that writing the actual type classes is relatively simple, take a look at integral.h for instance. Contributions are welcome.

I'll try to to understand...

Let me know if you get stuck :-)

Hi,
I do not understand how to do this ... :(
You still have not found the time for implementing this?

Hi,
No, I haven't found the time yet, but it is high on my todo list.
Best,
Roland

Just so you know: I started working on this. You can see the first few steps here:
https://github.com/rbock/sqlpp11/tree/feature/date_time

Oh, thank you!

Admittedly, I am not making any progress here.
Seems to me that date and time data types, operators and functions are horribly different between database, e.g.

MySQL has date, datetime, time, timestamp, year (year? really?)
Postgresql has timestamp and time (both with or without timezone), as well as date and interval
sqlite does not have any date/time storage type at all, just functions to convert to/from string/int/real

Or how about operations on date-time types? If you subtract a datetime from another

on MySQL using subtime() you get a datetime or time, using datediff you get an int (the number of days)
on Postgresql using operator-() you get a an interval (of course)

Quite annoying. Reminds me of why I am using bigint for timestamps...
Regards,
Roland

Hi Roland
I can contribute  date and date_time classes. I've written my own time-series database, but recently also created adaptors for postgresql and sqlite - so I know what you are going through. I'm afraid the only portable way to store date and date-time are as ISO strings. My classes support microsecond precision. I have very fast conversion routines to and from ISO. The only thing that isn't entirely done yet are the time zones. Let me know if you are interested.
Best Regards, Peter Ritter

Hi Peter,
Such classes would be helpful, especially when working with sqlite which does not have any date/time column types afaict. And for most queries, ISO strings are just perfect. The fact that you could use such representations in a portable manner is one of the reasons I did not implement date/time column types in the first place. As I said, I am using bigint for both timestamps or dates. Works fine for me. But this kind of interpretation of numbers or strings is not part of the library, IMO, because sqlpp11 is about SQL, not about interpreting the data.
As it so happens, I started to think about dates and times again two days ago. I think I might just add a date and a datetime column type with almost no operations on it (operations are what eventually stopped me last time since they are just horribly different between the different databases).
I think it would be possible to offer the fundamentals in sqlpp11 and to flesh them out in the connector libraries, by use of support libraries like your date/time classes or directly in the user's code.
Best,
Roland

Hi Roland
I think that if anyone creates an SQL table with a 'timestamp'/'datetime' column in it, then one should be able to query it using your library. It just seems like such a basic requirement. It's definitely a requirement for me.
SQlite does allow datetime columns. SQlite  just allows you to submit datetime as either a string or a number - kind of weird - but I definitely use datetime columns in sqlite.
Anyway, let me know if you need anything in particular.
Peter

Hi Roland
I would initially just focus on 'date' and 'datetime' / 'timestamp' with basic opertions like ==,<,>,<=,>= . That will solve most people's needs.
Peter

Hi Peter,
Yes, that's what I am aiming for right now. Earlier, I wanted duration with +,-, too, but that is so weird...
Regarding sqlite and date/time, I read this:
https://www.sqlite.org/datatype3.html

SQLite does not have a storage class set aside for storing dates and/or times. Instead, the built-in Date And Time Functions of SQLite are capable of storing dates and times as TEXT, REAL, or INTEGER values.

Thus, sqlite does not have date/time columns but functions to store/interpret data as such. That is my understanding, at least.
When you say, you are using datetime columns in sqlite, can you show me a sample table definition with such columns?
Thanks,
Roland

Hi Roland
The library I am developing (TradingSystemAPI.com)  relies on timeseries as
input. I have a native timeseries database that is part of my library, but
I also wrote an adaptor for SQLite, because it was a 'stepping stone' to
integrating with Postgresql, since both are SQL databases. I primarily use
Postgresql however, and I haven't touched SQlite in a while. However,
looking through my code, the timeseries tables are created like this:
create table my_table ( timestamp datetime not null primary key, ....
where the column is called 'timestamp' and the column type is 'datetime'.
My code reads and writes datetime values as ISO strings. I cannot entirely
remember if SQLite truncates the microseconds into milliseconds - that
could potentially happen. I vaguely remember an issue like that. In any
event, I read and write the same ISO format from Postgresql as from SQLite,
like "2014-10-12T13:50:10.112233" - although Postgresql does not use the
'T' by default.  I think SQLite just stores the string representation, and
so it probably uses lexicographic comparison. But it does work.
Peter
On Tue, Oct 6, 2015 at 9:25 PM, Roland Bock<EMAIL_ADDRESS>wrote:

Hi Peter,
Yes, that's what I am aiming for right now. Earlier, I wanted duration
with +,-, too, but that is so weird...
Regarding sqlite and date/time, I read this:
https://www.sqlite.org/datatype3.html
SQLite does not have a storage class set aside for storing dates and/or
times. Instead, the built-in Date And Time Functions of SQLite are capable
of storing dates and times as TEXT, REAL, or INTEGER values.
Thus, sqlite does not have date/time columns but functions to
store/interpret data as such. That is my understanding, at least.
When you say, you are using datetime columns in sqlite, can you show me a
sample table definition with such columns?
Thanks,
Roland
—
Reply to this email directly or view it on GitHub
https://github.com/rbock/sqlpp11/issues/23#issuecomment-145989546.

Hi,
I just pushed some code to develop which supports two new column types:

day_point
time_point

The former represents a date, the latter represents a date/time combination.
I chose these terms and not date and datetime or timestamp, since hell, all databases are different in the way they handle these things.

MySQL has a date and a datetime and a timestamp, where the timestamp is stored in UTC internally, but is converted back to local time when retrieved (implications are beyond me, at the moment). Interestingly, datetime literals are need to be declared as timestamp. timestamp columns are auto-assigned. timestamp literals can have microseconds, but these are not stored. What a mess.
Sqlite3 claims to have no date/time column types, but you can declare columns as date or datetime, no problem. Huh? You can assign dates to datetime columns and vice versa. So far, so good, but this can lead to datetime in a date column (i.e. you may have time of day data in the date column). The syntax for date/datetime literals is different from other vendors, since these are actullay not literals but functions. And you need strftime to specify milliseconds. Again, what a mess.
PostgreSQL seems to close to the SQL ISO standard. There is a date, and a timestamp column type, the latter can be with or without timezone. Granularity for timestamp is microseconds. This seems quite clean.
Oracle's date type has a granularity of seconds. Huh? And a timestamp has a granularity of microseconds. Did not look any further...

Since the situation is quite chaotic, I decided to use type names that do not directly related to whatever your database vendor offers. Unless I am mistaken, day_point is equivalent to a date in PostgreSQL and time_point is equivalent to timestamp without time zone.
Other than the comparison operators (you can compare day_point with time_point), there is only the assignment operator.
colDayPoint = someDayPoint // OK
colDayPoint = someTimePoint // ERROR
colTimePoint = someTimePoint // OK
colTimePoint = someDayPoint // OK

You cannot insert a time_point into a day_point column and you cannot update a day_point column with a `time_point'. This is because some databases (e.g. sqlite3) do not perform reasonable narrowing in that case.
The C++ types representing day_point and time_point are std::chrono::time_point<std::chrono::system_clock, PERIOD> with periods of a day and a microsecond. The types are also known as sqlpp::chrono::day_point and sqlpp::chrono::mus_point.
The day_point is an alias of the day_point in Howard Hinnants date library, see https://github.com/HowardHinnant/date
This library is used for serialization and I heartily recommend it for any date/time operation. If you haven't seen the CppCon video, take a look, it is really, really cool: https://www.youtube.com/watch?v=tzyGjOm8AKo
As of now, the only connector that can be used with day_point and time_point is sqlite3. I will try to make the required adjustments for MySQL soon. It would be great if someone could work on PostgreSQL and provide a pull request for Matthijs (as mentioned elsewhere, there are minor changes in the connection class required as well, let me know, if you need help).
Please let me know what you think :-)
Best,
Roland

AFAIK, you can declare columns as anything in sqlite, it's all just text.
Actually, there's a gotcha: if you have a real type name inside, it'll be used.
I.e. into column type is "int" for sqlite, since it saw "int" as part of the name.

On 2015-10-29 18:25, ven wrote:

AFAIK, you can declare columns as anything in sqlite, it's all just
text.
Actually, there's a gotcha: if you have a real type name inside, it'll
be used.
I.e. |into| column type is "int" for sqlite, since it saw "int" as
part of the name.
—
Reply to this email directly or view it on GitHub
https://github.com/rbock/sqlpp11/issues/23#issuecomment-152256669.

Thanks for the hint. I am not sure if I consider that better or worse ;-)

I am closing this issue with release 0.35, which brings day_point and time_point which correspond to date and datetime.
sqlpp11 uses @HowardHinnant 's date library to represent and serialize date and datetime values. Their C++ representations are date::day_point and sqlpp::microsecond_point.
Using the date library and std::chrono, you should be able to convert to and from whatever other format you use in your project with ease.
Note that there are almost no functions related to date and datetime in sqlpp11. As I see it today, the differences between the vendors are so big that it does not make sense to try to come up with a generic set of functions. It would add more confusion than benefits. I would therefore prefer to add date/time functions to the individual connector libraries.
You can try to convince me otherwise, of course :-)


cosmetic changes and simplify FastAnd

moving the if statement into the loop removes a level of indentation

Great. Will add your name to list of contributors.


map@ crashes Tibialyzer

Hi :)
I've noticed that when I use map@ command and I try to scroll the map couple of times in one direction, Tibialyzer crashes leaving me with a .NET Framework's error (it's up to date, as everything else on my PC).
************** Tekst wyjątku **************
System.ArgumentException: Parametr jest nieprawidłowy.
   w System.Drawing.Image.get_Width()
   w System.Drawing.Image.get_Size()
   w System.Windows.Forms.PictureBox.ImageRectangleFromSizeMode(PictureBoxSizeMode mode)
   w System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
   w System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   w System.Windows.Forms.Control.WmPaint(Message& m)
   w System.Windows.Forms.Control.WndProc(Message& m)
   w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

It shows me that in my OS language, which is Polish. Below you can find my simple translation, I hope it's accurate.
************** Exception's content **************
System.ArgumentException: Incorrect  parameter.
   in System.Drawing.Image.get_Width()
   in System.Drawing.Image.get_Size()
   in System.Windows.Forms.PictureBox.ImageRectangleFromSizeMode(PictureBoxSizeMode mode)
   in w System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
   in System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   in System.Windows.Forms.Control.WmPaint(Message& m)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Interesting, I'm unable to reproduce this issue so it might be multithreading related. Does it always happen, or only sometimes? Have you tried the latest version?

Yeah, it's the latest version of Tibialyzer, drivers, .net's. All running on a fresh installation of Windows 10 N (however with media feature pack installed). Personally I won't use this map feature anyway, I prefer to stick to the most basic functions of loot notifications and the HUD ;)
I'm going to try and make a video of how this issue ouccurs.

Here's the https://youtu.be/FcGFF6eXcns.

Alright, thanks for posting the solution. I don't use .NET 4.5 myself, it's just the minimum required version for Tibialyzer to work. It makes sense that I don't experience the problem if it's related to older .NET versions. I'll recommend that to people that have the same issue.

Since v4.5.0 seems to cause issues, why not just update the README to bump the minimum required .NET version to v4.6.1 instead?

Are we sure that was the issue or did it just coincidentally fix it?

@EricArndt Installing .NET Framework 4.6.1 Developer Pack was the only step I took back then thus I expect it's the proper solution for the issue.

@kugrjado I think it's likely that we have a bug. It's possible that we managed to expose a bug in the .NET Framwork, but it's used and tested significantly more than our program. We should at least take some time to understand the issue more before we just assume this fix works.


Search on title with several hyphens does not work

Bug description
I have a weird behavior similiar to that when search for a string in title.
if I have this in my title:
CVE-2011-3389 - libgnutls30-3.5.8-5+deb9u4(dpkg)
and I search for CVE-2011-3389, it does not work. No result.
If I search for 2011-3389 it returns the results.
Steps to reproduce
Steps to reproduce the behavior:

Identify a title referencing a CVE you want to search for.
Search for that CVE string as indicated above
Try with the 2 hyphens, see no result.
Try cutting out the CVE- and see the results.

Expected behavior
The search should work and match the expected titles.
Deployment method (select with an X)

[ ] Kubernetes
[x] Docker
[ ] setup.bash / legacy-setup.bash

Possibly related to https://github.com/etianen/django-watson/issues/223 ?

Looks like it and doesn't look like it was fixed.

Temp workaround, put single quote around your search, e.g. 'CVE-2011-2730'

Probably something to try: https://dev.mysql.com/doc/refman/5.6/en/fulltext-stopwords.html

well... wontfix. Any other libs that could be used? Any other thoughts? I mean, search not working is a definite bummer.

duplicate of https://github.com/DefectDojo/django-DefectDojo/issues/881 I'm sorry, but there really isn't a workaround I can suggest. We could fork django-watson, but I have not investigated the level of effort.

Possible relation to https://github.com/etianen/django-watson/issues/237

Re-packaged at https://pypi.org/project/django-watson-nominus/ without the - operator.. will give it a shot.

Does the test suite still succesfully complete on your fork? We may want to consider removing watson alltogether. It looks like all it does is put all models title + description in 1 table and then run a mysql fulltext query on it.

I didn't run them, gave it a quick try with search... seemed to work fine, then imported bunch more findings, then the whole search broke with no error at all :thinking:
In light of #2081 , maybe we'd want to effectively re-investigate how search is done. Subpar today IMO.

The search supports some syntax like finding:blabla to only look for findings. And product:adadasd. We could easily add cve:XXXXXXXX to look for CVEs. Or we could even hack something in there that replaces any CVE-XXXX-YYYYY with "CVE-XXXX-YYYY". At the moment I think the CVE field is not indexed, so it will only work if the CVE is included in the title or description.
Best would be to replace watson with an embedded elasticsearch or something like Lucene/Solr.

The search supports some syntax like finding:blabla to only look for findings. And product:adadasd. We could easily add cve:XXXXXXXX to look for CVEs. Or we could even hack something in there that replaces any CVE-XXXX-YYYYY with "CVE-XXXX-YYYY". At the moment I think the CVE field is not indexed, so it will only work if the CVE is included in the title or description.

So we should add an index for sure.
However, due to the underlying mysql the hyphen would like remain a problem.

Best would be to replace watson with an embedded elasticsearch or something like Lucene/Solr.

Sounds like overkill.

Worked around by latest linked PR :partying_face:


Fixed bug with cat mangle while bearweaving

Sim would do extra cat mangles when you have CC to try and optimize them but there are not needed if you are bearweaving and you can shred instead.

@NerdEgghead Tests have been updated


Intune app configurations

Does the Microsoft Lists iOS app support Intune App Protection and the Intune App Configuration keys for connected experiences and required UPN to properly identify/segregate work/personal accounts? Can you update this article to mention managing Lists for iOS through Intune?

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

ID: ac12129f-4d94-cbbd-4c34-03666617c889
Version Independent ID: 015463d6-8fb9-7240-a3f1-8ae288dd9e90
Content: Manage the Lists app for your organization - Microsoft Teams
Content Source: Teams/manage-lists-app.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @nickp85, thank you for your feedback.
You can find this information here:
https://techcommunity.microsoft.com/t5/intune-customer-success/support-tip-how-to-enable-intune-app-protection-policies-app/ba-p/2100061


bootloader/mcuboot: Add fix for main return type

This fix is pending upstream.

This needs to be submitted to https://github.com/mcu-tools/mcuboot and not the zephyr fork

This needs to be submitted to https://github.com/mcu-tools/mcuboot and not the zephyr fork

Thanks! https://github.com/mcu-tools/mcuboot/pull/1696

To be integrated via https://github.com/zephyrproject-rtos/zephyr/pull/57553


Using with psycopg 3 pools throws thread error

I'm using pgvector-python with psycopg 3, but every connection need configuration creating vector extension and executing register_vector.
Now we are using this configuration for pools:
ConnectionPool(
            kwargs=our_database_config,
            max_size=20,
            check=ConnectionPool.check_connection,
            configure=register_pgvector,
            open=True
        )

With register_pgvector as
def register_pgvector(conn: Connection):
    stmt = 'CREATE EXTENSION IF NOT EXISTS vector'
    with conn.cursor() as cur:
        cur.execute(stmt)
    register_vector(conn)

But there are errors happening like:
Exception ignored in: <function ConnectionPool.__del__ at 0xffff68550d60>
Traceback (most recent call last):
  File "/app/__pypackages__/3.11/lib/psycopg_pool/pool.py", line 109, in __del__
    self._stop_workers()
  File "/app/__pypackages__/3.11/lib/psycopg_pool/pool.py", line 463, in _stop_workers
    gather(sched_runner, *workers, timeout=timeout)
  File "/app/__pypackages__/3.11/lib/psycopg_pool/_acompat.py", line 163, in gather
    t.join(timeout)
  File "/usr/local/lib/python3.11/threading.py", line 1116, in join
    raise RuntimeError("cannot join current thread")
RuntimeError: cannot join current thread

and in database:
2024-04-02 22:22:47.078 UTC [78] ERROR:  duplicate key value violates unique constraint "pg_extension_name_index"

The second one happens when there are more than one worker configured in the pool (default is 3), but the first one happens only when the configuration is inside a singleton class like this:
class PGVectorDocumentStore:

    _instance = None
    _lock = threading.Lock()

    def __init__(self):
        self._pool = ConnectionPool(
            kwargs=pgvectorstore_config(),
            max_size=20,
            check=ConnectionPool.check_connection,
            configure=self.register_pgvector,
            open=True
        )

   def __new__(cls):
        # Adding Singleton for only one connection and database configuration
        with cls._lock:
            if cls._instance is None:
                cls._instance = super().__new__(cls)
        return cls._instance

if I remove __new__ function, than the error stops, but I need only one pool and not a new one every time

I did here a workaround that solved errors and keep a single pool. Start pool in __new__ once for solving second one:
   def __new__(cls):
        # Adding Singleton for only one connection and database configuration
        with cls._lock:
            if cls._instance is None:
                cls._pool = ConnectionPool(
                    kwargs=pgvectorstore_config(),
                    max_size=20,
                    check=ConnectionPool.check_connection,
                    configure=cls.register_pgvector,
                    open=True
                )
                cls._instance = super().__new__(cls)
        return cls._instance

Add lock inside register_vector, solving multi worker configuration (first error):
def register_pgvector(cls, conn: Connection):
    with cls._lock():
        stmt = 'CREATE EXTENSION IF NOT EXISTS vector'
        with conn.cursor() as cur:
            cur.execute(stmt)
        register_vector(conn)

Hi @dmvieira, I'd recommend running CREATE EXTENSION with your schema / migration code rather than on every connection.

Hey @ankane , for some reason it requires every new connection too. It throws an exception:
error connecting in 'pool-1': vector type not found in the database

Make sure you're committing the transaction.
https://www.psycopg.org/psycopg3/docs/basic/transactions.html

It's already configured with autocommit 🤔 ... it's really necessary?

If it's not persisting, then yes. I'd recommend connecting to your database with psql to check:
SELECT extversion FROM pg_extension WHERE extname = 'vector';


Clarify that the default branch is excluded

Why:
Because GitHub unfortunately excludes the default branch from yours, and until someone fixes it, the documentation should at least be up front about it.
What's being changed:
Yours is clarified to explain that for unspecified reasons the default branch is excluded from yours.
Check off the following:

[ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

To be clear: I would much rather GitHub's behavior be changed to match the current documentation and this PR rejected than have this PR merged. But, until it's changed, I'll settle for accurate documentation.

@jsoref Thanks so much for opening a PR! I'll get this triaged for review :zap:

@lecoursen: if you can get the implementation changed, that'd still be great 🙏


add makefile target to nicely print image hashes etc

output of make list:

alright, I've also fixed pyinstaller:
buildexe run-test: commands[19] | du -h /home/oberstet/xbrnetwork
48M	/home/oberstet/xbrnetwork
buildexe run-test: commands[20] | /home/oberstet/xbrnetwork version

 XBR CLI v22.1.1

   Contract addresses:

      XBRToken   : 0xaCef957D54c639575f4DB68b1992B36504f33FEA [source: builtin]
      XBRNetwork : 0x7A3d22c59e8F8f1b88ba7205f3f5a65Bc86D04Bc [source: builtin]
      XBRDomain  : 0xf5fb56886f033855C1a36F651E927551749361bC [source: builtin]
      XBRCatalog : 0x2C77E46Ea9502B363343e8c826c41c7fdb25Db66 [source: builtin]
      XBRMarket  : 0x0DcF924ab0846101d31514E9fb3adf5070d4B83d [source: builtin]
      XBRChannel : 0x670497A012322B99a5C18B8463940996141Cb952 [source: builtin]

________________________________________________________________ summary ________________________________________________________________
  buildexe: commands succeeded
  congratulations :)


Updating controller routes for buttons

@TTrinkle You never cease to impress!

@TTrinkle Great work as always Tanya!


[Bug]:  Cannot save GUI state

What happened?
While trying to reproduce #49 for fermipy people I got this other issue after downloading the data and immediately after clicking the "Go" button.
Environment
- OS: macos 11.7.10
- fermipy: v1.2
- fermitools: 2.2.0
- pyqt: 5.15.9
- easyfermi: 2.0.9.dev25+g5defaaa

Relevant log output
Traceback (most recent call last):
  File "/Users/michele/Applications/easyFermi/src/easyfermi/easyfermi.py", line 1339, in runLongTask
    self.save_GUIstate()
  File "/Users/michele/Applications/easyFermi/src/easyfermi/easyfermi.py", line 1463, in save_GUIstate
    with open(self.OutputDir+"./GUI_status.yaml", 'w') as yaml_file:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/michele/Applications/easyFermi/Output/./GUI_status.yaml'

I'm also currently dealing with this issue. Is there any workaround/solution to the GUI_status file not being created?

Hi @vyaas3305 ,
Can you give me the information about your environment and log output, as done before by @HealthyPear ?

Environment Details
- OS: Ubuntu 22.04.4 LTS
- python: 3.9.19
- fermipy: v1.2
- fermitools: 2.2.0
- healpy: 1.16.1
- gammapy: 1.1
- scipy: 1.10.1
- astropy: 5.3.3
- astroquery: 0.4.6
- psutil: 5.9.8
- emcee: 3.1.4
- corner: 2.2.2
- pyqt: 5.15.9
- easyfermi: 2.0.12

Relevant Logs
Traceback (most recent call last):
  File "/home/vyaas/miniconda3/envs/easyfermi/lib/python3.9/site-packages/easyfermi/easyfermi.py", line 1339, in runLongTask
    self.save_GUIstate()
  File "/home/vyaas/miniconda3/envs/easyfermi/lib/python3.9/site-packages/easyfermi/easyfermi.py", line 1463, in save_GUIstate
    with open(self.OutputDir+"./GUI_status.yaml", 'w') as yaml_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/vyaas/Documents/Easyfermi_Analysis/Mrk_421/Output/./GUI_status.yaml'

I don't know how the code works, but I think it might have to do something with not being able to open a file in write mode? (maybe because the code dosen't have the appropriate permissions?)

Update: I was able to run the code, after generating the .config file from the GUI. I guess the problem has to do something with the ./Output folder not being present in the working directory before running the analysis? Also, where do I get VHE data for the objects of my interest and is the VHE data really necessary for the analysis?

Hi @HealthyPear and @vyaas3305 ,
Could you please update easyfermi to version 2.0.13 and try again?
You can update it by activating the easyfermi environment and typing:
pip install easyfermi --upgrade --no-deps
Let me know if everything works now so I can close this issue.
Also, where do I get VHE data for the objects of my interest and is the VHE data really necessary for the analysis?

The VHE is not necessary. You will have access to VHE data only if you are a member of e.g. a IACT collaboration (i.e. private data) or if you take data already published on a paper.

@HealthyPear , with this new version, I am having issues with the continuous integration on macOS. Do you know what could possibly cause this problem? The modifications in easyfermi were minimum, so I would not expect any problem with the installation. You can find the problem here: https://github.com/ranieremenezes/easyfermi/actions/runs/8970306440

Update: This issue seems to be fixed now.
Just another question, is there a way to generate TS maps without the annotations or TS maps of only a part of the RoI, just from the GUI or by using the config file? (since the image becomes very hard to read when there are a lot of sources).

Hi @vyaas3305 , there is no direct option for removing the annotations from the png images, however you can open the ".fits" files "Target_TS_map_[...].fits" and "Residuals_TS_map[...].fits" with DS9 or astropy (eg here) and play with the TS image without the annotations.


[MM-29944] Add plugin icon and metadata

Summary
This PR adds a plugin icon that is shown in the Marketplace modal
Bright theme

Dark theme

Ticket Link
https://mattermost.atlassian.net/browse/MM-29944

@itao What do you think about this change?

Hmm I would've expected the dark theme icon to have inverse colours rather than a white circle. @hanzei Is showing a different icon file in dark theme supported? And if so, @abhijit-singh could you help us make an inverse version?

Hmm I would've expected the dark theme icon to have inverse colours rather than a white circle. @hanzei Is showing a different icon file in dark theme supported? And if so, @abhijit-singh could you help us make an inverse version?

@itao Good point. Using a white circle vs inverting the colours was discussed when the Marketplace was introduced and the decision was to use the white circle for every icon as for themes that are between bright and dark it was hard to properly invert the colors. Therefore showing a different icon for different themes is currently not supported.
Please note that the "white circle" approach is used in other areas as well like the slash command icon.

@hanzei Ah gotcha, thanks for explaining that to me.


Broken organization request counter? It's showing a number inconsistent with the rendered list

Describe the bug
On https://pypi.org/manage/organizations/, I see "Your organizations 3" with the correct counter and 3 organizations listed in that section. However, the following section is titled "Pending organization requests 3" and it only lists 1 request despite the counter saying it's 3.
Expected behavior
The counter should correspond to the number of requests actually listed.
To Reproduce
:man_shrugging:
My Platform
N/A
Additional context
I thought that maybe the counters are rendered from the same variable but I checked the template and it's coming from different vars.
I think I had more organization requests in the past (like CherryPy) that were rejected asking the project owner (with the same name) to resubmit them. So they disappeared from my interface (I think I only have some email traces in the inbox). Perhaps, they contribute the that counter somehow. That would explain it, if the counter adds the rejected/discarded/revoked requests to the overall counter value...

Just double-checked that this issue still exists.


Workspace trust - multi-window improvements

Testing on Windows, this did not dismiss the dialog on the child folder window as expected.

I have updated the flow based on our conversation:

Soft notifications will be resolved
Modal notification will not be resolved


Now the bundle analyzer runs its own script. Fixes #301.

As discussed in #301, we now have a separate script to run the bundle analyzer.

@coryhouse, @kwelch feel free to grab the bug/301 branch to take this for a test drive.

Works great! A few minor tweaks to make, but excellent work! Thanks Nick! 👍

@coryhouse I'll make the changes later tonight. Weird for the dependency. I'll have to check the docs for adding exact versions via Yarn. Good catch.

For reference, https://yarnpkg.com/en/docs/cli/add . It was silly, you just need to add @version when calling add. I just assumed it would respect the save-exact=true in .npmrc` that I add way back when. There's an open issue about it here, https://github.com/yarnpkg/yarn/issues/1088

Good stuff. Thanks for the help on this Nick! 👍


Connection Error

ERROR :
Reply: <error id=None, errorCode=None, errorMsg='Receiver' object has no attribute 'managedAccounts'>
This appen when i do that "tws_conn.reqContractDetails(1, contract)"
Someone can help me ?
THIS IS MY CODE
tws_conn = ibConnection(host='localhost', port=7496)
tws_conn.registerAll(reply_handler)
tws_conn.register(my_hist_data_handler, message.historicalData)
tws_conn.connect()
tws_conn.setServerLogLevel(5)
contract = Contract()
contract.m_symbol = 'EUR.USD'
contract.m_exchange = 'SMART'
contract.m_currency = 'USD'
contract.m_secType = 'STK'
#EClientSocket only methods
reply_handler(tws_conn.isConnected())
reply_handler(tws_conn.serverVersion())
reply_handler(tws_conn.TwsConnectionTime())
tws_conn.reqContractDetails(1, contract)
#EWrapper methods or calls to EWrapper methods
#tws_conn.reqCurrentTime()
reply_handler(tws_conn.isConnected())
#tws_conn.reqHistoricalData(random.randint(0, 100), contract, '', '1 W', '1 min', 'TRADES', 1, 2)
#reply_handler(tws_conn.reqMktData(1,contract,'',1))
reply_handler(tws_conn.isConnected())
print('disconnected', tws_conn.disconnect())

I use python 3.4

I'm pretty sure IbPy is for Python 2.x.   The docs say "2.5 or newer", but that may only mean "2.5, 2.6 or 2.7" (2.7 is the current latest of the 2.x family).  I suggest asking this question on stackoverflow.com  instead since there's not evidence in your code that there's actually a bug.

IbPy works with Python 3.x
Your contract definition doesn't make sense, for exchange rates, use this:

contract.m_secType = "CASH"
contract.m_symbol = "EUR"
contract.m_currency = "USD"
contract.m_exchange = "IDEALPRO"

Paste your whole code including imports and reply_handler etc.

Closing due to inactivity. Feel free to reopen.