[3.5RC2] NavigationAgent doesn't work (it works in beta5).

Godot version
3.5rc2
System information
Windows 10, Nvidia gtx 1660Ti, latest drivers, GLES3
Issue description
Tested in GDS build as well as Mono, 3.5RC2 (rc1 mono doesn't itself so I can't test there), backstepped to beta5 where everything works (apart from bugs in b5 ;)).
It seems that signals don't get triggered (if I put print statement into velocity_computed signal method it doesn't get called).
I'm using test scenes I previously made for a previous navigation bug report, I'm not sure what the rules are about uploading the same scenes so I'll link the bug report with test scenes (both gdscript and mono) for anyone who wants to test.
In rc2 build the agents never move while in b5 they move, agents are RigidBody capsules( I tested this with KinematicBody too but since the agent's signal don't go off I don't think it matters).
Previous bug report (also related to navigation but about something else, scenes are perfectly usable for this issue too): https://github.com/godotengine/godot/issues/60735
GDS scene: https://github.com/godotengine/godot/files/8624860/NavTestGDS.zip
Mono scene: https://github.com/godotengine/godot/files/8614394/NavTest.zip
Steps to reproduce
Using reproduction project:

Open the project in 3.5 beta5
Start it
Observe agents moving towards target
Open the project in 3.5 RC2
Start it
Observer agents don't move
Extra: Add print statements to methods connected to NavigationAgent's signals (OnVelocityComputerd <- yep there's a typo and OnTargetReached)
Extra: Observe prints only work in b5 not rc2.

From scratch:

Create a scene with a NavigationAgent as a child of a KinematicBody (or RigidBody)
Connect to NavigationAgent's signals
Add print stattements to the connected methods to see if the signal gets triggered
Start the scene

Minimal reproduction project
GDS scene: https://github.com/godotengine/godot/files/8624860/NavTestGDS.zip
Mono scene: https://github.com/godotengine/godot/files/8614394/NavTest.zip

cc @smix8 - Maybe you want to fix it :)

You are not alone with this issue but this is not a bug or regression.
In current Godot 4.0 and Godot 3.5.RC2+ NavigationAgents have a toggle to enable / disable avoidance processing by choice and I was sneaky enough to disable avoidance by default so ppl can save performance and other ppl could fall for it as well #61378.

So to understand this issue. If this is off then the only use NavigationAgent has is to obtain a simple path while with this enabled I can use the newer algorithm to move around and it will take in account dynamic objects to avoid them, please?
I'm lost in the new navigation, while I'm on the topic of these methods (velocity_computed), would you mind explaining one more thing if you don't mind. How do these signals work with physics and with threading?
For example move_and_slide (MAS) docs recommend to use from _physics_process but examples I've seen so far call MAS in the method connected to velocity_computed signal, when does this actually run? Is it frame behind, at the same frame, is this realated to some threading and how does that come into account here, please?
(same could be said about RigidBody's linear_velocity, docs talk about changing it in _integrated_forces or _physics_process but so far it seems everyone uses it in the method connected to the velocity_computed, should we work around this or is it safe to use it in the signal method and if so then when does it run?)
Sorry if this is too off-topic or out of scope, I'm just not sure how these actually plug into godot's pipeline? :)
Thank you very much!

Each _physics_frame() you calculate the velocity of the parent Node of the NavigationAgent with your normal delta. Then set this velocity on the NavigationAgent with set_velocity(). Now after a very short wait you will receive the safe_velocity with a Signal connection to velocity_computed. Use this safe_velocity vector now for movement e.g. with move_and_slide or linear_velocity. This is thread-safe as the entire reason for the Signal use and delay is that the NavigationServer is emitting the signals in the thread-safe sync phase of the physics_frame.

@smix8 That's about what I do yeah, I'm just wondering, currently I store the safe_velocity in a class level variable and in _physics_process(delta:float) I call move_and_slide(class_safe_velocity), I'm just wondering if I can move the entire MAS to the method connected to velocit_computed signal or should I keep it in _physics_process(delta:float)? The return signal which gives the safe_velocity is which I'm unsure about where it sits in, since calling MAS in _physics_process(delta:float) calls it every physics frame while the signal from NavAgent might come at different times?
Sorry if I'm confusing you with my question.
# Vector3 _safeVelocity is a class scope field

_physics_prcoess(delta):
  NavAgent.set_velocity(_someVelocity)
  move_and_slide(_safeVelocity)

VS
_physics_prcoess(delta):
  NavAgen.set_velocity(_someVelocity)

onNavAgentVelocityComputed(safe_velocity):
  move_and_slide(safe_velocity)

This above is basically what I'm wondering about (for rigid bodies replace MAS with linear_velocity set up), since in the second example MAS is out of physics_process so I'm not sure if this isn't a potential problem (since for example move_and_slide would need the delta value directly if I used that instead)?
Thanks again and one more apology for asking. :-)

Keeping your final movement with move_and_slide or linear_velocity inside the callback function for safe_velocity is correct if you use avoidance. If you disable avoidance solve it inside the normal _physics_process() function.
It all happens in the same physics_frame, it just controls the order of execution due to threading and to not mess up the physics calculation.

PhysicFrame starts.
_physics_process(delta)
set_velocity() on NavigationAgent Node
Agent sends velocity and position to NavigationServer
NavigationServer waits for sync phase
NavigationServer syncronises and computes avoidance velocities for all registed avoidance agents
NavigationServer sends safe_velocity vector with signals for each registered avoidance agents
Agents receive the signal and move their parent e.g. with move_and_slide or linear_velocity.
PhysicsServer synchronises
PhysicsFrame ends.

@viksl
Something else or everything solved so this issue can be closed?


Feature request - "sticky" date

A couple of my users have been confused when trying to select a date. They first select a date, then change the month or year, expecting the days to remain the same.
For example, they select 11-Apr-16 then change the month to June, expecting the selected date to be 11-Jun-16. They then close the datepicker but haven't selected the date they thought they had.
This is repeatable on the demo page.
Is it possible to have an option for a "sticky" date?
I think that this is related to issue #88
Thanks.

We are already showing the selected date in the header to avoid such confusion.


fixed build error due to make tensor view api change.

Description
Fixed some build errors due to latest ngraph API change (create_tensor()).
Checklist
Essentials

[ ] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

TESTNOW

TESTNOW

TESTNOW


Calculate_logical_size panic with should had found the parent

TLDR: Calculate_logical_size panic with should had found the parent because it expects ordered list of branches, where it isn't.
Steps to reproduce
run test_metric_collection_multiple_branches from https://github.com/neondatabase/neon/pull/3123
On my laptop error reproduces every second run or so.
Expected result
No panic
Actual result
calculate_logical_size panics with should had found the parent
I've added some debug messages in my PR and moved error handling. See log below.
This happens because branch command cannot find a parent.
But the updates vec is not sorted in any particular order and doesn't guarantee that we won't try to insert child before parent.
Logs, links
2022-12-21T22:56:37.730127Z  INFO metrics_collection:calculate_synthetic_size{tenant_id=e206d18c482b42f94e98ff9e4d0e9926}: insert point for branch Some(cfbd83f2bfb27b3fc5f1b8dbc42ff8d4) newseg_id 1
2022-12-21T22:56:37.730153Z  INFO metrics_collection:calculate_synthetic_size{tenant_id=e206d18c482b42f94e98ff9e4d0e9926}: insert point for branch Some(cfbd83f2bfb27b3fc5f1b8dbc42ff8d4) newseg_id 1
thread 'mgmt request worker' panicked at 'err should had found the parent Some(cde8e669415fdb999018d456ad6ff94a) by key. in branches {None: 0, Some(cfbd83f2bfb27b3fc5f1b8dbc42ff8d4): 1}, inputs ModelInputs { updates: [Update { lsn: 0/0, command: BranchFrom(None), timeline_id: cfbd83f2bfb27b3fc5f1b8dbc42ff8d4 }, Update { lsn: 0/169AD58, command: Update(25387008), timeline_id: cfbd83f2bfb27b3fc5f1b8dbc42ff8d4 }, Update { lsn: 0/169AD58, command: BranchFrom(Some(cde8e669415fdb999018d456ad6ff94a)), timeline_id: 095ffdc034f328fd3ec9a012a2b8bc8d }, Update { lsn: 0/169AD58, command: BranchFrom(Some(cfbd83f2bfb27b3fc5f1b8dbc42ff8d4)), timeline_id: cde8e669415fdb999018d456ad6ff94a }, Update { lsn: 0/1CA85B8, command: Update(28925952), timeline_id: 095ffdc034f328fd3ec9a012a2b8bc8d }, Update { lsn: 0/1CD85B8, command: Update(29024256), timeline_id: 095ffdc034f328fd3ec9a012a2b8bc8d }, Update { lsn: 0/1CD85B8, command: BranchFrom(Some(095ffdc034f328fd3ec9a012a2b8bc8d)), timeline_id: 26dd492d88b5f00deaca94faf87e64a0 }, Update { lsn: 0/22DCE70, command: Update(32546816), timeline_id: 26dd492d88b5f00deaca94faf87e64a0 }, Update { lsn: 0/230CE70, command: EndOfBranch, timeline_id: 26dd492d88b5f00deaca94faf87e64a0 }], retention_period: 196608, timeline_inputs: {095ffdc034f328fd3ec9a012a2b8bc8d: TimelineInputs { last_record: 0/1CD85B8, latest_gc_cutoff: 0/169ACE0, horizon_cutoff: 0/1CA85B8, pitr_cutoff: 0/1CA85B8, next_gc_cutoff: 0/1CA85B8 }, cde8e669415fdb999018d456ad6ff94a: TimelineInputs { last_record: 0/169AD58, latest_gc_cutoff: 0/169ACE0, horizon_cutoff: 0/166AD58, pitr_cutoff: 0/166AD58, next_gc_cutoff: 0/166AD58 }, 26dd492d88b5f00deaca94faf87e64a0: TimelineInputs { last_record: 0/230CE70, latest_gc_cutoff: 0/169ACE0, horizon_cutoff: 0/22DCE70, pitr_cutoff: 0/22DCE70, next_gc_cutoff: 0/22DCE70 }, cfbd83f2bfb27b3fc5f1b8dbc42ff8d4: TimelineInputs { last_record: 0/169AD58, latest_gc_cutoff: 0/169ACE0, horizon_cutoff: 0/166AD58, pitr_cutoff: 0/166AD58, next_gc_cutoff: 0/166AD58 }} }'

@koivunej , FYI

I don't know how to sort branches, given that the graph can be complex.
So I think we can just add them all into storage without checks, and then do another iteration on storage to ensure that all entries are present and linked correctly.

https://github.com/neondatabase/neon/blob/7ff591ffbfc8f084e0b1b5cdbed8bd69e008d4c0/pageserver/src/tenant.rs#L1527-L1530
Could that help?

Yeah the version I wrote doesn't by design use tree_sort_timelines. It was as simple as possible to allow further experimentation, latest of which is now #2817.
As quickly chatted about this, I don't have time to look into this right now, but I'd understand the sorted output. If that means that we are witnessing a timeline being-created then that should probably just be filtered away. Of course, there might be other issues caused by updating gc info on such timeline.
I'd guess that timeline being-created has latest_lsn == 0 which is less than it's ancestor_lsn, so this might work as a filter.

Okey, unpacking the panic message looks like:
should had found the parent Some(cde8e669415fdb999018d456ad6ff94a) by key {None: 0, Some(cfbd83f2bfb27b3fc5f1b8dbc42ff8d4): 1}, inputs

ModelInputs {
  updates: [
    Update { lsn: 0/0, command: BranchFrom(None), timeline_id: cfbd83f2bfb27b3fc5f1b8dbc42ff8d4 },
    Update { lsn: 0/169AD58, command: Update(25387008), timeline_id: cfbd83f2bfb27b3fc5f1b8dbc42ff8d4 },
    # if these two lines were sorted differently this would work
    Update { lsn: 0/169AD58, command: BranchFrom(Some(cde8e669415fdb999018d456ad6ff94a)), timeline_id: 095ffdc034f328fd3ec9a012a2b8bc8d },
    Update { lsn: 0/169AD58, command: BranchFrom(Some(cfbd83f2bfb27b3fc5f1b8dbc42ff8d4)), timeline_id: cde8e669415fdb999018d456ad6ff94a },
    Update { lsn: 0/1CA85B8, command: Update(28925952), timeline_id: 095ffdc034f328fd3ec9a012a2b8bc8d },
    Update { lsn: 0/1CD85B8, command: Update(29024256), timeline_id: 095ffdc034f328fd3ec9a012a2b8bc8d },
    Update { lsn: 0/1CD85B8, command: BranchFrom(Some(095ffdc034f328fd3ec9a012a2b8bc8d)), timeline_id: 26dd492d88b5f00deaca94faf87e64a0 },
    Update { lsn: 0/22DCE70, command: Update(32546816), timeline_id: 26dd492d88b5f00deaca94faf87e64a0 },
    Update { lsn: 0/230CE70, command: EndOfBranch, timeline_id: 26dd492d88b5f00deaca94faf87e64a0 }
  ],
  retention_period: 196608,
  timeline_inputs: {
    095ffdc034f328fd3ec9a012a2b8bc8d: TimelineInputs { last_record: 0/1CD85B8, latest_gc_cutoff: 0/169ACE0, horizon_cutoff: 0/1CA85B8, pitr_cutoff: 0/1CA85B8, next_gc_cutoff: 0/1CA85B8 },
    cde8e669415fdb999018d456ad6ff94a: TimelineInputs { last_record: 0/169AD58, latest_gc_cutoff: 0/169ACE0, horizon_cutoff: 0/166AD58, pitr_cutoff: 0/166AD58, next_gc_cutoff: 0/166AD58 },
    26dd492d88b5f00deaca94faf87e64a0: TimelineInputs { last_record: 0/230CE70, latest_gc_cutoff: 0/169ACE0, horizon_cutoff: 0/22DCE70, pitr_cutoff: 0/22DCE70, next_gc_cutoff: 0/22DCE70 },
    cfbd83f2bfb27b3fc5f1b8dbc42ff8d4: TimelineInputs { last_record: 0/169AD58, latest_gc_cutoff: 0/169ACE0, horizon_cutoff: 0/166AD58, pitr_cutoff: 0/166AD58, next_gc_cutoff: 0/166AD58 }
  }
}

Yeah, this is not a timeline being-created issue I was thinking earlier, it's a "missing tree_sort" issue. I did not know this kind of situation could happen.


[GSSoC'21]Insertion_and_Deletion_from_Array

As of now, only the code for inserting at beginning of array has been added.
I wish to add few more codes for insertion (in the middle) and deletion of elements from an array.
My code will be in C++ and I promise to provide a clean code with proper comments and test cases.
Requesting the admins to assign this issue to me as part of GSSoC 2021.

Hi!!
I am interested in this project Please assign this project to me under GSSOC '21

Hi, I am a GSSOC'21 participant and my code will be in python. Please assign this task to me.

I would like to implement the above question in Python, I will write neat and clean code
please assign me this issue under GSSoC 2021

two problems in same issue cannot be solved.


Can't access network resources

I have a mapped network drive and a a symbolic link to a network share on the target machine.
I am unable to access these network shares in my scripts.
I get the error ItemExistsUnauthorizedAccessError.
The user I am running as is an administrator and was the user that created the mapped drive and symbolic link.
Any ideas on how to work around this issue?

It is limitation by design of how WinRM works, and shouldn't work with Rundeck located on Linux computers, but you can configure it for windows.
check this or this to start research.


Add possibility to set CRS for imported file

It should be possible to manually specify a CRS during import (CLI + HTTP interface)

Closed by #143


refactor: save schema in proto

Context
refactor the proto serialization under the hood.
In DocArray we have different types with different functionality that will be stored using the same raw type (bytes, str, NdArray). So once we serialize this types we loose the information of what is the true DocArray type. Is the NdArray in the proto and AudioTensor or a VideoTensor ?
Therefore we need to have a way to encode this information somewhere in the proto.
Before this PR
Before this PR we were storing this information (which DocArray type does the object belongs to) in the key of the proto itself. docarray.proto looked like this :
message NodeProto {

  oneof content {
    bytes blob = 1;
    // the ndarray of the image/audio/video document
    NdArrayProto ndarray = 2;
    // a text
    string text = 3;
    // a sub Document

    NdArrayProto audio_ndarray = 4
    NdArrayProto video_ndarray = 5
  }

  oneof docarray_type {
    string type = 6;
  }

}

But this does not scale well as we need to modify the proto each time we add a new modalities.
What this PR do
This PR change the behavior and instead of storing the information as a key we store it as a extra string. We basically save the schema of the Document in the proto.
Therefore for each of our Type we need to assign a corresponding string that will be used when serializing. In class is store its key so we have mapping from class to key. Nevertheless for deserializing we need to inverse, i.e, a mapping from key to class.
To avoid to store this double mapping in two place and doing copy pasting we introduce the
register_proto class decorator that take a key as parameters and will assign the key to the class and at the same time register the class and the key into a dict to have the mapping from key to class. This dict will then be used in the deserializing part.
The proto looks like this
message NodeProto {

  oneof content {
    bytes blob = 1;
    // the ndarray of the image/audio/video document
    NdArrayProto ndarray = 2;
    // a text
    string text = 3;
    // a sub Document

  }

  oneof docarray_type {
    string type = 6;
  }

}

A good test could be to add a simple RPC method receiving DocArrays

Isn't it overkill ? As long as the proto can be serialize and deserialize aren't we already sure it will work ?
Or where u reference to the case when we don't have the class in the receiving part ?

@samsja raised a point that renaming classes in the future (as part of a refactoring) would break backwards and forwards compatibility of the proto between docarray versions. So let's go with an explicit key instead of the class name


Unable to connect to endpoint when attempting to call GetObject from S3

What platform/OS are you using?
Lambda, GoLang runtime, GoLang calls out to C++ binary
Which version of the SDK?
1.7.168
What compiler are you using? what version?
What are your CMake arguments?
Can you provide a TRACE level log? (sanitize any sensitive information)
[TRACE] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Checking HOME for the home directory.
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Environment value for variable HOME is
[WARN] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Pulled /home/sbx_user1072 as home directory from the OS.
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Home directory is missing the final / appending one to normalize
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Final Home Directory is /home/sbx_user1072/
[INFO] 2019-08-23 06:30:29.181 Aws::Config::AWSConfigFileProfileConfigLoader [140601731168576] Initializing config loader against fileName /home/sbx_user1072/.aws/credentials and using profilePrefix = 0
[TRACE] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Checking HOME for the home directory.
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Environment value for variable HOME is
[WARN] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Pulled /home/sbx_user1072 as home directory from the OS.
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Home directory is missing the final / appending one to normalize
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Final Home Directory is /home/sbx_user1072/
[TRACE] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Checking HOME for the home directory.
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Environment value for variable HOME is
[WARN] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Pulled /home/sbx_user1072 as home directory from the OS.
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Home directory is missing the final / appending one to normalize
[DEBUG] 2019-08-23 06:30:29.181 FileSystemUtils [140601731168576] Final Home Directory is /home/sbx_user1072/
[INFO] 2019-08-23 06:30:29.181 ProfileConfigFileAWSCredentialsProvider [140601731168576] Setting provider to read credentials from /home/sbx_user1072/.aws/credentials for credentials file and /home/sbx_user1072/.aws/config for the config file , for use with profile default
[INFO] 2019-08-23 06:30:29.201 Aws::Config::AWSConfigFileProfileConfigLoader [140601731168576] Unable to open config file /home/sbx_user1072/.aws/credentials for reading.
[INFO] 2019-08-23 06:30:29.201 Aws::Config::AWSProfileConfigLoader [140601731168576] Failed to reload configuration.
[INFO] 2019-08-23 06:30:29.201 CurlHandleContainer [140601731168576] Initializing CurlHandleContainer with size 25
download file SOME_KEY
[TRACE] 2019-08-23 06:30:29.241 AWSClient [140601731168576] No content body, content-length headers
[DEBUG] 2019-08-23 06:30:29.241 AWSClient [140601731168576] Request Successfully signed
[TRACE] 2019-08-23 06:30:29.241 CurlHttpClient [140601731168576] Making request to SOME_KEY
[TRACE] 2019-08-23 06:30:29.241 CurlHttpClient [140601731168576] Including headers:
[TRACE] 2019-08-23 06:30:29.241 CurlHttpClient [140601731168576] content-type: application/xml
[TRACE] 2019-08-23 06:30:29.242 CurlHttpClient [140601731168576] host: SOME_HOST
[TRACE] 2019-08-23 06:30:29.242 CurlHttpClient [140601731168576] user-agent: aws-sdk-cpp/1.7.168 Linux/4.14.133-88.105.amzn1.x86_64 x86_64 Clang/8.0.1
[TRACE] 2019-08-23 06:30:29.242 CurlHttpClient [140601731168576] x-amz-api-version: 2006-03-01
[DEBUG] 2019-08-23 06:30:29.242 CurlHandleContainer [140601731168576] Attempting to acquire curl connection.
[DEBUG] 2019-08-23 06:30:29.242 CurlHandleContainer [140601731168576] No current connections available in pool. Attempting to create new connections.
[DEBUG] 2019-08-23 06:30:29.242 CurlHandleContainer [140601731168576] attempting to grow pool size by 2
[INFO] 2019-08-23 06:30:29.242 CurlHandleContainer [140601731168576] Pool grown by 2
[INFO] 2019-08-23 06:30:29.242 CurlHandleContainer [140601731168576] Connection has been released. Continuing.
[DEBUG] 2019-08-23 06:30:29.242 CurlHandleContainer [140601731168576] Returning connection handle 0x2b91670
[DEBUG] 2019-08-23 06:30:29.242 CurlHttpClient [140601731168576] Obtained connection handle 0x2b91670
[ERROR] 2019-08-23 06:30:29.301 CurlHttpClient [140601731168576] Curl returned error code 77 - Problem with the SSL CA cert (path? access rights?)
[DEBUG] 2019-08-23 06:30:29.301 CurlHandleContainer [140601731168576] Releasing curl handle 0x2b91670
[DEBUG] 2019-08-23 06:30:29.301 CurlHandleContainer [140601731168576] Notified waiting threads.
[DEBUG] 2019-08-23 06:30:29.301 AWSClient [140601731168576] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2019-08-23 06:30:29.301 AWSClient [140601731168576] HTTP response code: -1
Exception name:
Error message: Unable to connect to endpoint
0 response headers:
[WARN] 2019-08-23 06:30:29.301 AWSClient [140601731168576] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2019-08-23 06:30:29.301 AWSClient [140601731168576] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2019-08-23 06:30:29.301 AWSClient [140601731168576] Request failed, now waiting 0 ms before attempting again.
...
Error message: Unable to connect to endpoint
0 response headers:
[WARN] 2019-08-23 06:30:54.889 AWSClient [140601731168576] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2019-08-23 06:30:54.889 AWSClient [140601731168576] Date header was not found in the response, can't attempt to detect clock skew
build s3 error!!
terminating with uncaught exception of type std::runtime_error: S3 GetObject Error `` : Unable to connect to endpoint with address : <IP_ADDRESS>

It's making request to SOME_HOST.
Are you overriding the endpoint?

@leoromanovsky I'm also building the binaries on Ubuntu and are having the same problem. I tried setting this path in the SDK, but I still have the same problem:
Aws::Client::ClientConfiguration clientConfiguration;
clientConfiguration.caFile = "/etc/pki/tls/certs/ca-bundle.crt";

It works when I run aws lambda invoke locally, but fails when running on AWS lambda.

Hey @leoromanovsky, can you please show me how you'd solved it? facing the same issue.


Navigation links are not properly styled on mobile device iPhone 10

https://files.slack.com/files-pri/T07TWTBTP-F01LY07GWBW/image_from_ios.jpg

This issue still exists

Fixed.


feature request: add output to check whether files changed

it'd would be great to run additional action if some files changed, like in https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#outputs
Example usage
# ...
      - uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9
        id: autofix
        if: ${{ always() }}

      - uses:
        if: steps.autofix.outputs.changes_detected == 'true'
        run: peter-evans/create-or-update-comment@v3
        with:
          body: |
            ...

Thanks for this suggestion and sorry for the slow reply! This is implemented now, see README. :)


Reorganize *.mc files and make (almost) everything pass type checking

Major updates

Type check everything but pgm.mc and transformation.mc (@gizemcaylak  I leave these files to you).
Reorganize .mc files:

midppl/*.mc: Defines the mi command
coreppl/**.mc: Defines CorePPL AST and related transformations and functionality.
coreppl/rootppl/*.mc: Defines the CorePPL -> RootPPL compiler.
coreppl/mexpr/*.mc: Defines the CorePPL -> MExpr compiler(s).

Minor updates

Replace various smap and sfold functions with smapAccumL.
Regression fix after https://github.com/miking-lang/miking/pull/575 (MExprTypeLiftUnOrderedRecords -> MExprTypeLift).
Print Booleans as 0 and 1 in RootPPL programs compiled from CorePPL (@vsenderov )
Remove a possibly unsafe operation in make install introduced by @david-broman (we can discuss this at the next Miking meeting).

Bonus updates (2022-05-02)

Replace typeAnnot with typeCheck everywhere (e.g., in CorePPL -> RootPPL compiler)
Add lambda lifting to CorePPL -> RootPPL compiler

I am not convinced with the changes suggested after the meeting. We need to postpone this PR and discuss this again.


Dev/json directory repo

Codecov Report

Merging #16 (a1df780) into master (3b7a50f) will increase coverage by 0.52%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   89.71%   90.23%   +0.52%
==========================================
  Files          15       16       +1
  Lines         865      963      +98
==========================================
+ Hits          776      869      +93
- Misses         89       94       +5

Impacted Files
Coverage Δ

redbird/repos/__init__.py
100.00% <ø> (ø)

redbird/repos/json.py
90.80% <90.80%> (ø)

redbird/base.py
89.47% <100.00%> (+0.06%)
:arrow_up:

redbird/repos/csv.py
96.15% <100.00%> (+0.04%)
:arrow_up:

redbird/repos/memory.py
100.00% <100.00%> (ø)

redbird/repos/mongo.py
90.00% <100.00%> (+0.07%)
:arrow_up:

redbird/repos/rest.py
89.47% <100.00%> (+0.14%)
:arrow_up:

redbird/repos/sqlalchemy.py
93.91% <100.00%> (+0.05%)
:arrow_up:

redbird/utils/query.py
100.00% <100.00%> (+6.66%)
:arrow_up:

... and 1 more

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 3b7a50f...a1df780. Read the comment docs.


Red Cross beta testers are wary of using their social media accounts to login to allReady and would prefer a 'direct' login option

This should be available already. Was fixed as part of #319

See also #313

Depends on which host. It should be deployed on -d. @tonysurma would know if it's deployed on -mvp

Later today

deployed

@dpaquette we may need to reopen this or make a new issue around password rules, I am a kinda smart tech guy and I can't figure out how to make a password that works for it and @OhMcGoo said others were having confusion as well.  What are the rules currently?

I think I just successfully set a password but then I got this error

Still learning to get my comments in the RIGHT issue:
Let me try again.
The direct login feature isn’t quite there. My password was rejected on my first attempt

NOTE: This phrasing is confusing:  "Passwords must have at least one non letter and non digit character." A non letter non digit is a symbol, right?
My second attempt brought about quite an astonishing display of characters!

pinging @MisterJames
Is something not configured for email notifications to work on this server?

Maybe re-open this as the queue storage issue is still outstanding

@MisterJames said he will look at queue later today.

@tonysurma this one should close with the merge of #343. Once that's confirmed, feel free to close this out.

@MisterJames yep will close once deployed and confirmed

between an extra config fix and #343 per @MisterJames I am pretty sure this will be closed out today.

Reopening as there are no webjobs to process the queues :cry: showing up in azure websites cc @MisterJames @dpaquette

For now this works with manual deployment to -mvp.  So closing this but opening an issue in UAT to get it working with kudu deployment

verified working


It seems that rendererOptions:  { plotlyConfig: } isn't working. I can't set displayModeBar: true.

Hi,
It seems that the plotlyConfig option is not working as the bar is not always visible for me.
I'm loading the data through a asp.net generic handler which returns a JSON by using JsonConvert.SerializeObject.
In the below example I'm able to add rendererOptions: { plotly: { width: 1200, height: 800 } } and it works perfectly.
Snippet of the code I use to load the pivottable.
$.getJSON("KL_Handler.ashx?selectorCompany=<%= authentication%>", function (mps) {
	$("#output").pivotUI(mps,
	{
		rows: ["Pack"],
		cols: ["Week"],
		aggregatorName: "Count",
		rendererName: "Line Chart",
		menuLimit: "100000",
		renderers: $.extend(
			$.pivotUtilities.renderers,
			$.pivotUtilities.plotly_renderers,
			$.pivotUtilities.export_renderers
		),
		rendererOptions: {
			plotlyConfig: {
				displayModeBar: true,
				displaylogo: false
			}
		}
	});
});

Are you using the latest version of PivotTable.js?
On Tue, Nov 13, 2018 at 17:34 TheBigLetterM<EMAIL_ADDRESS>wrote:

Hi,
It seems that the plotlyConfig option is not working as the bar is not
always visible for me.
I'm loading the data through a asp.net generic handler which returns a
JSON by using JsonConvert.SerializeObject.
In the below example I'm able to add rendererOptions: { plotly: { width:
1200, height: 800 } } and it works perfectly.
Snippet of the code I use to load the pivottable.
$.getJSON("KL_Handler.ashx?selectorCompany=", function (mps) {
$("#output").pivotUI(mps,
{
rows: ["Pack"],
cols: ["Week"],
aggregatorName: "Count",
rendererName: "Line Chart",
menuLimit: "100000",
renderers: $.extend(
$.pivotUtilities.renderers,
$.pivotUtilities.plotly_renderers,
$.pivotUtilities.export_renderers
),
rendererOptions: {
plotlyConfig: {
displayModeBar: true,
displaylogo: false
}
}
});
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/1049, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAMbA5elyFlgEeHZP-BGwOI9Rp2IrXIVks5uu0j6gaJpZM4Ycp_R
.

OK, I'm glad this is working for you now. Not sure what version you were using before but the files on master in this repo are the same ones as are on the CDN.


Publish on PyPI

We've only tagged a version 0.1 but I think it would be suitable to publish this package on PyPI given that ATM has it as a dependency and there are other external users. (Such as myself.)
For packaging purposes, one can take a look at cookiecutter-pypackage. It shouldn't be hard to adapt the config files in the template package root. Another nice thing would be to configure travis to publish to PyPI every time a new release is tagged. There are instructions in the cookiecutter root docs folder.

Name btb is already taken on PyPi, so we need to find another project name for the publication.
Note that using a different name for PyPi does not necessarily force us to change the name of the packaging, so one should be able to do:
pip install the-name-yet-to-be-decided
python
>>> import btb

baytune v0.1.1 and v0.1.2 already release.


Add Using Docker and VSCode Docs

@mjeronimo, thanks for the review! I don't have write access to this repo, so feel free to merge this PR.


Allow to change orientation on the fly

If you are changing the orientation on the fly you'll end up in something like that:
class="ngrs-range-slider ngrs-horizontal ngrs-vertical ngrs-left ngrs-right"

To be able to get it working, I have removed the all possible classes first.
Regards
Stefan

Now added some other stuff, orientation can now be changed on the fly.


Geo limit countries can now be parsed as an array and a string

This PR closes https://github.com/apache/trafficcontrol/issues/6382 Geo Limit Countries should be an array

Which Traffic Control components are affected by this PR?

Traffic Ops
Traffic Portal

What is the best way to verify this PR?

Make sure all the tests pass.
Using the API, create a DS (or update an existing one) with GeoLimit set to 0.
Try setting the Geo Limit Countries with a string -> this should pass
Try setting the Geo Limit Countries with a string array (["US","CA"])-> this should pass
Try setting the Geo Limit Countries with a malformed string array ("US","CA"])-> this should fail
Try setting the Geo Limit Countries with a string array with alphabets and numbers (["US","CA","12"])-> this should fail
If this is a bugfix, which Traffic Control versions contained the bug?

master

PR submission checklist

[x] This PR has tests
[x] This PR does not have documentation
[x] This PR has a CHANGELOG.md entry
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

According to the title of this PR:

Geo limit countries can now be parsed as an array and a string

(emphasis mine) but actually the old string-as-an-array doesn't work anymore: https://go.dev/play/p/AWo8KqQ6yvt
I'm fine with making that breaking change, and since it's in a new major API version we are free to do that, but I want to be sure that the intention is to make that breaking change. Furthermore, if we're going to be breaking it in that way, then we don't need a type alias at all, it can just be []string since that's the only valid input. It's also worth noting that the output (i.e. in API responses) type is now changed as well to be an array of strings, which is already a breaking change anyway.

I have changed the logic to be able to accept something like "US,CA,IN", as well as ["US","CA","IN"].
As for the response part, yes, it will be an array of strings starting api v4.


Please remove dependency on lowdash-fp

Hi,
You're pulling in lowdash-fp for just one function (get). Is this really necessary? It adds a lot of code bloat for users of other libraries.

We use 2 functions, get, and capitalize.

We're using modular imports -- in other words, importing the minimum dependency to use the functions we use.

Are you sure this is contributing significant bloat? By how much, exactly?


Materials workcell view not working

When trying to view a list of cells where a material is allocated by selecting the Show/Hide Content button, nothing seems to happen.

After discussion and implementation, this issue can't be confirmed.


add response_hook to Cosmos methods

Can one of the admins verify this patch?

@christopheranderson I've started with just the CosmosClient methods (except "get" pending the other PR). Here is sample interaction:
In [6]: client.delete_database(config['DATABASE'], response_hook=lambda x: print(x))
{'Cache-Control': 'no-store, no-cache', 'Pragma': 'no-cache', 'Content-Length': '0', 'Content-Type': 'application/json', 'Content-Location': 'https://brvandev-cosmos-westus2.documents.azure.com/dbs/db2/', 'Server': 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security': 'max-age=31536000', 'x-ms-last-state-change-utc': 'Thu, 30 May 2019 18:37:57.841 GMT', 'x-ms-resource-quota': 'databases=1000;', 'x-ms-resource-usage': 'databases=2;', 'lsn': '8', 'x-ms-schemaversion': '1.8', 'x-ms-quorum-acked-lsn': '7', 'x-ms-current-write-quorum': '3', 'x-ms-current-replica-set-size': '4', 'x-ms-xp-role': '1', 'x-ms-global-Committed-lsn': '7', 'x-ms-number-of-read-regions': '0', 'x-ms-transport-request-id': '341791', 'x-ms-cosmos-llsn': '8', 'x-ms-cosmos-quorum-acked-llsn': '7', 'x-ms-session-token': '0:-1#8', 'x-ms-request-charge': '4.95', 'x-ms-serviceversion': 'version=<IP_ADDRESS>', 'x-ms-activity-id': '7e3e85ec-bcb0-4886-9e9e-c15c0a17e143', 'x-ms-gatewayversion': 'version=<IP_ADDRESS>', 'Date': 'Thu, 30 May 2019 18:46:27 GMT'}

In [7]: db = client.create_database(id=config['DATABASE'], response_hook=lambda x: print(x))
{'Cache-Control': 'no-store, no-cache', 'Pragma': 'no-cache', 'Transfer-Encoding': 'chunked', 'Content-Type': 'application/json', 'Server': 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security': 'max-age=31536000', 'x-ms-last-state-change-utc': 'Thu, 30 May 2019 18:37:57.841 GMT', 'etag': '"0000c162-0000-0800-0000-5cf025180000"', 'x-ms-resource-quota': 'databases=1000;', 'x-ms-resource-usage': 'databases=3;', 'lsn': '11', 'x-ms-schemaversion': '1.8', 'x-ms-quorum-acked-lsn': '10', 'x-ms-current-write-quorum': '3', 'x-ms-current-replica-set-size': '4', 'x-ms-xp-role': '1', 'x-ms-global-Committed-lsn': '10', 'x-ms-number-of-read-regions': '0', 'x-ms-transport-request-id': '341809', 'x-ms-cosmos-llsn': '11', 'x-ms-cosmos-quorum-acked-llsn': '10', 'x-ms-session-token': '0:-1#11', 'x-ms-request-charge': '4.95', 'x-ms-serviceversion': 'version=<IP_ADDRESS>', 'x-ms-activity-id': '395226b4-3c80-46a3-8cff-0df68d5358f7', 'x-ms-gatewayversion': 'version=<IP_ADDRESS>', 'Date': 'Thu, 30 May 2019 18:46:48 GMT'}

Codecov Report

Merging #5557 into cosmos_v3 will decrease coverage by 0.13%.
The diff coverage is 3.17%.

@@              Coverage Diff              @@
##           cosmos_v3    #5557      +/-   ##
=============================================
- Coverage      48.23%   48.09%   -0.14%
=============================================
  Files           6565     6565
  Lines         189353   188935     -418
=============================================
- Hits           91332    90869     -463
- Misses         98021    98066      +45

Impacted Files
Coverage Δ

sdk/cosmos/azure-cosmos/azure/cosmos/container.py
11.93% <2.22%> (-2.08%)
:arrow_down:

.../cosmos/azure-cosmos/azure/cosmos/cosmos_client.py
16.66% <5.55%> (-3.34%)
:arrow_down:

.../cosmos/azure-cosmos/azure/cosmos/partition_key.py
55% <0%> (-10.39%)
:arrow_down:

...zure-servicebus/azure/servicebus/common/message.py
28.63% <0%> (-7.2%)
:arrow_down:

sdk/eventhub/azure-eventhubs/conftest.py
42.48% <0%> (-5.14%)
:arrow_down:

sdk/servicebus/azure-servicebus/conftest.py
31.72% <0%> (-4.82%)
:arrow_down:

...azure/eventprocessorhost/abstract_lease_manager.py
87.5% <0%> (-4.5%)
:arrow_down:

...ure/eventprocessorhost/abstract_event_processor.py
87.5% <0%> (-4.17%)
:arrow_down:

.../eventhub/azure-eventhubs/azure/eventhub/common.py
21.87% <0%> (-4.17%)
:arrow_down:

...azure/mgmt/eventhub/event_hub_management_client.py
57% <0%> (-3.56%)
:arrow_down:

... and 62 more

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 f7f6407...9988e8d. Read the comment docs.

Thoughts:

Test coverage can come from adding an additional check in the existing crud tests to make sure we're getting what we expect back
Passing in the headers to the Callable is probably fine, but I'd love to ship a default Callable which unpacks those headers into nice getters for things like activity_id. For example:rm = ResponseMetadata()
my_item = item.read(response_hook=rm)
rm.activity_id
>> "asdfasdf-a-asdf-asdf-asdf-asf"
rm.request_charge
>> 1.0
rm.headers
>> <dictionary blah blah blah>

@christopheranderson @johanste I've added RecordHeaders in https://github.com/Azure/azure-sdk-for-python/pull/5557/commits/530f4016b154e46a3a4bea83f2aa737a7ebc1156 Let me know that this is what you had in mind, as well as if tests like I added the crud tests are what you had in mind.


Improve daisydisk url

Thank you for the contribution. It was merged directly as 0ce76f5ca0d6e891a5ab1843df65a955b06d937d to keep commit history cleaner. Your contribution is still credited to you.


[Bug] Divide by Zero exception

Summary
I mistyped an entry on the fuel tab which now prevents the tab from loading due to a Divide by Zero exception. Other tabs seem unaffected.
Expected Behavior
Semantic input validation should prevent me from adding invalid data, in this case likely a 0 where the field will be used as a divisor.
Current Behavior
I'm not sure the exact data that caused this, but the error indicates a Divide by Zero exception. I'm not familiar with LiteDB so I can't easily check/update the entry.
Logs
lubelogger  | info: Microsoft.Hosting.Lifetime[14]
lubelogger  |       Now listening on: http://[::]:8080
lubelogger  | info: Microsoft.Hosting.Lifetime[0]
lubelogger  |       Application started. Press Ctrl+C to shut down.
lubelogger  | info: Microsoft.Hosting.Lifetime[0]
lubelogger  |       Hosting environment: Production
lubelogger  | info: Microsoft.Hosting.Lifetime[0]
lubelogger  |       Content root path: /App
lubelogger  | fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
lubelogger  |       An unhandled exception has occurred while executing the request.
lubelogger  |       System.DivideByZeroException: Attempted to divide by zero.
lubelogger  |          at System.Decimal.DecCalc.VarDecDiv(DecCalc& d1, DecCalc& d2)
lubelogger  |          at System.Decimal.op_Division(Decimal d1, Decimal d2)
lubelogger  |          at CarCareTracker.Helper.GasHelper.GetGasRecordViewModels(List`1 result, Boolean useMPG, Boolean useUKMPG) in /App/Helper/GasHelper.cs:line 35
lubelogger  |          at CarCareTracker.Controllers.VehicleController.GetReportPartialView(Int32 vehicleId) in /App/Controllers/VehicleController.cs:line 740
lubelogger  |          at lambda_method2(Closure, Object, Object[])
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
lubelogger  |       --- End of stack trace from previous location ---
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
lubelogger  |       --- End of stack trace from previous location ---
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
lubelogger  |       --- End of stack trace from previous location ---
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
lubelogger  |          at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
lubelogger  |          at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
lubelogger  |          at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)

Validation added, bug fixed, it will now skip calculation for per unit fuel consumption if the amount is zero.

@ethernic this should already be fixed with no detriment to your data, as in you should be able to view and correct the record. Can we close this?

Yep sorry for the delay. Confirmed this got me back in and I was able to fix the record.


Allow configuration of unix socket path

Feature Description
When using sockets there is the distinct possibility that the socket's full path will exceed the maximum length of (108 chars)
This limit is easy to hit as the connectionName used in the socket structure is a combination of
ProjectID, Region & SQL instance name
Current limitations

ProjectID

6 to 30 chars
reference: https://cloud.google.com/resource-manager/reference/rest/v1/projects#:~:text=The unique%2C user-assigned ID,Trailing hyphens are prohibited.

Region

8 to 23 chars
reference
for i in $(gcloud compute regions list --format='value(name)'); do echo "${#i} => ${i}"; done | sort -n

Instance Name

The total length of project-ID:instance-ID must be 98 characters or less.
reference https://cloud.google.com/sql/docs/postgres/instance-settings

Socketfile

.s.PGSQL.5432 => 13

ConnectionName Worst case (The Issue):

ProjectID: 30
Region: 23
Socketfile: 13
Instance Name: 98-1-30 = 67

given the current format: /{ProjectID}:{Region}:{Instance Name}/{Socketfile}
 1 + 30 + 1 + 23 + 1 + 67 + 1 + 13  = 137
left over for --unix-socket path
108 - 137 = -29
Even before considering the path to the socket, this exceeds the max socket length of 108 chars
Proposal 1
Add an option --socket-structure to change the dir structure to one of the following --socket-structure="simple|md5|sha256|..."
option simple:  /{ProjectID}/{PublicIP|PrivateIP}/{Socketfile}
Pros:

Human readable

Cons:

Variable length

Example: Worst case

publicIP|PrivateIP: xxx.xxx.xxx.xxx => 15 chars
ProjectID: 30
Socketfile: 13

given the format: /{ProjectID}/{IP}/{Socketfile}
1 + 30 + 1 + 15 + 1 + 13 = 61
left over for --unix-socket path
108 - 61 = 47
option md5:  /{md5 sum of connectionName}/{Socketfile}
Pros:

Fixed length

Cons:

Not human readable

md5sum: 32

Socketfile: 13

given the format: /{md5sum}/{Socketfile}
1 + 32 + 1 + 13 = 47
left over for --unix-socket path
108 - 47 = 61
option sha256:  /{sha256 sum of connectionName}/{Socketfile}
Pros:

Fixed length

Cons:

Not human readable

less chars for --unix-socket path

md5sum: 64

Socketfile: 13

given the format: /{md5sum}/{Socketfile}
1 + 64 + 1 + 13 = 79
left over for --unix-socket path
108 - 79 = 29
This would have a fixed length for the socket regardless of naming as md5 will generate a sum with length 32
Proposal 2
Same scenario as Proposal 1 but keeps the original structure and create symlinks to shorter paths
this would require some more cleanup when disconnecting but would be more human-readable
Sample code
No response
Alternatives Considered
No response
Additional Details
No response

Thanks for the suggestion. We might already have a nice way to solve this.
Have you tried the unix-socket-path query param?
https://github.com/GoogleCloudPlatform/cloud-sql-proxy/blob/main/cmd/root.go#L176-L184

Thanks for the suggestion. We might already have a nice way to solve this.
Have you tried the unix-socket-path query param?
https://github.com/GoogleCloudPlatform/cloud-sql-proxy/blob/main/cmd/root.go#L176-L184

Awsome! This will solve my immediate issue


Fixed spelling

If you want to fix the typo, would you mind going through the rest of the project checking for typos? Im sure thats not the only one.

It's the only thing I noticed in the config.

https://github.com/KnightMiner/Inspirations/blob/807eda236b70782c1caffbc5e50c75c96e672f67/src/main/java/knightminer/inspirations/common/Config.java#L206
and this: enlightned


libgedit-tepl: 6.11.0 -> 6.12.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/libgedit-tepl/versions.
meta.description for libgedit-tepl is: Text editor product line
meta.homepage for libgedit-tepl is: https://gitlab.gnome.org/World/gedit/libgedit-tepl
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.12.0 in filename of file in /nix/store/ijzkg7vvghizfjajcp4x50zys09vs38y-libgedit-tepl-6.12.0

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

enter-tex
gedit
libgedit-tepl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ijzkg7vvghizfjajcp4x50zys09vs38y-libgedit-tepl-6.12.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libgedit-tepl https://github.com/r-ryantm/nixpkgs/archive/ecea3235145fa7efc715865d76f407dd819cec20.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ecea3235145fa7efc715865d76f407dd819cec20#libgedit-tepl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ijzkg7vvghizfjajcp4x50zys09vs38y-libgedit-tepl-6.12.0
ls -la /nix/store/ijzkg7vvghizfjajcp4x50zys09vs38y-libgedit-tepl-6.12.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:x: 2 packages failed to build:

gedit
gedit.devdoc

:white_check_mark: 4 packages built:

enter-tex
libgedit-tepl
libgedit-tepl.dev
libgedit-tepl.devdoc

Maintainer pings
cc @manveru @bobby285271 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@ofborg build gedit enter-tex


Self-Signed certificate in Production

Hi,
In appendix section, you stated "Self-signed certificates can be used only during development. They aren't supported in production environments.", do you mean self-signed certificates will not work at all in production environment, or it's just not recommended!

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

ID: 69192df7-736f-1504-e8ab-d1ececb95800
Version Independent ID: 7707373e-0ef6-ac6b-fcce-efce6a0ade73
Content: Independent software vendor (ISV) licensing - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/dev-tools/isv-licensing.md
Service: dynamics-ax-platform
Product: ****
Technology: ****
GitHub Login: @jorisdg
Microsoft Alias: jorisde

@diab-mossa, thanks for the feedback.
@jorisdg, please review.

I believe they won't work at all, because the signature can't be verified. I will find the correct owner for this, as it's not me :-)

@tonyafehr, we're still waiting for a confirmation from @jorisdg

I passed this thread on to the owning team, they said they'd have a look.


Add +kubebuilder for build CRD

Some updates(e.g. additionalPrinterColumns ) in build.dev_builds_crd.yaml will be overwritten using operator-sdk generate crds.
Therefore, we also need the comments using the +kubebuilder

@qu1queee, please refer to this PR.

/ok-to-test

/lgtm
/approve


Dapr sidecar discovery after App restarted

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

What version of Dapr?

1.9.3
edge: output of git describe --dirty

Expected Behavior

Sidecare auto discovery the application
Actual Behavior

Timeout returned after the backend application restart
Steps to Reproduce the Problem

I have application with 2 services: Frontend and Backend , each has a dapr sidecar deployed on docker, when make restart for the backend service it is not accessible from its sidecar until i make manual restart for  the sidecar itself.
i think dapr sidecar should be automatically reconnected to the service once it is available.
below my docker file:
myfrontend-dapr:
command: [ "./daprd",
"-app-id", "MyFrontEnd",
"-app-port", "80",
"-log-level", "debug",
"-config","/dapr/config.yaml",
"-components-path","/dapr/local"       ]
volumes:
- "./components:/dapr"
mybackend1-dapr:
command: [ "./daprd",
"-app-id", "MyBackEnd",
"-app-port", "80",
"-config","/dapr/config.yaml",
"-components-path","/dapr/local"
]
volumes:
- "./components:/dapr"
Release Note

RELEASE NOTE:

Please, try out this preview feature. It is intended to handle downtime of the app from the sidecar perspective: https://docs.dapr.io/developing-applications/building-blocks/observability/app-health/


Apple device token (64 characters) is not accepted by ANH

I tried, using this sdk, to register, for example, the following devicetoken (optained via device):
96d6bb5d 412881d3 0046f5bf 5616bead df6aa4ab e57987bc cc4b5c23 209dbb0c
I tried the following things:

as is; with spaces
remove spaces
dashes instead of spaces

But they all give next error in return:
com.windowsazure.messaging.NotificationHubsException: Error: HTTP/1.1 400 Bad Request - 400One or more characters in device token is not a hexadecimal digit..TrackingId:c9b0fa60-c8e7-4281-9f6c-efd7ed2b19a2_G18,TimeStamp:6/19/2018 11:57:33 AM
it seems to only accept 32 characters hexidecimal string (only first 32 characters works fine for the registration: 96d6bb5d412881d30046f5bf5616bead )
I added the library via Maven:
groupId: com.windowsazure
artifactId: NotificationHubs
version: 0.0.5
In com.windowsazure.messaging.NotificationHub next version is mentioned:
APIVERSION = "?api-version=2015-04"
Is this version too old?
What am I doing wrong?
Is this library outdated/depricated?
Is there an other/ better way to make this work?
thanks in advance for your response

problem seemes to be solved.
Solution now, with Apple device tokens, is to remove all spaces when registring the device in Azure:

from

APNS: 96d6bb5d 412881d3 0046f5bf 5616bead df6aa4ab e57987bc cc4b5c23 209dbb0c
to Azure: 96d6bb5d412881d30046f5bf5616beaddf6aa4abe57987bccc4b5c23209dbb0c


The best way how to add gaps between slides ?

Is there any easy option how to add gaps between slides ? I've tried several approaches. I need correct padding when sliding one by one. When using margin, applying on slide or inner element, slider get broken, pushing last slide on new line block.

Hey, thanks for using pure react carousel!
As stated in the support question issue template, GitHub issues are a place to track bug fixes and feature requests, and questions opened as GitHub issues will be closed. I’d try using the support methods outlined there to get your questions answered.
That said, we do appreciate you using the package. Can you do us a favor and make sure that any bugs or feature requests you open in the future use the provided templates? It helps us track and manage the issues internally.
I’m going to close the now as not an issue, but good luck and happy coding!

For people looking for an answer: https://stackoverflow.com/questions/60548361/how-do-i-add-spacing-to-my-slides-with-pure-react-carousel


Allow multiple queries to be added together ( via a Monoid instance or similar? )

( thanks for the work on this amazing library! I love it :) )
Suppose I have two insert queries:
mutation InsertA ($id: uuid!) {
  insert_a_one (object: {id: $id}) { id }
}

mutation InsertB ($id: uuid!) {
  insert_b_one (object: {id: $id}) { id }
}

then, I believe it's legal to combine this into a single query that inserts these both at once:
mutation InsertBoth ($id_a: uuid!, $id_b: uuid!) {
  insert_a_one (object: {id: $id_a}) { id }
  insert_b_one (object: {id: $id_b}) { id }
}

it'd be really neat if I could perform this combination in haskell from the two independent queries, by say combining the two args:
insertBothArgs = insertAArgs <> insertBArgs

this isn't currently possible, right? would be extremely handy! :)

hi, i assume you mean in context of morpheus client? don't you? could you provide more detailed example?

FYI: did you tried <:> from Data.Morpheus.Internal.Ext? regular semigroup is not applicable for this operation since it may fail if queries are not compatible

thanks @nalchevanidze
yes, indeed i'm talking about the client
I'm not sure <:> does what i want
here's my example.
i have the following queries:
defineLocalTypesInline "db.graphql"
  [raw|
mutation InsertA ( $id: Int!  , $name: String!) {
  insert_a_one(object: { id: $id , name: $name }) {
    id
  }
}
  |]

defineLocalTypesInline "db.graphql"
  [raw|
mutation InsertB ( $id: Int!  , $name: String!  , $age: Int!) {
  insert_b_one (object: { id: $id , name: $name , age: $age }) {
    id
  }
}
  |]

defining inserts into two tables:
a
 - id
 - name

b
 - id
 - name
 - age

i can construct an InsertAArgs and an InsertBArgs:
a = InsertAArgs 1 "hello"
b = InsertBArgs 2 "helen" 50

then i can insert them independently like so:
  void $ fetch @InsertA config a
  void $ fetch @InsertB config b

but, it's just as a valid to insert them both in one query:
defineLocalTypesInline "db.graphql"
  [raw|
mutation InsertAB
  ( $a_id: uuid!, $a_name: String!,
  , $b_id: uuid!, $b_name: String!, $b_age: Int!
  ) {
  insert_a_one(object: { id: $a_id , name: $a_name }) {
    id
  }
  insert_b_one (object: { id: $b_id , name: $b_name , age: $b_age }) {
    id
  }
}
  |]

i guess what i'm asking is if there is a way to always be able to combine two queries in this way, to produce this unified query (note that this would never be incompatible, as i think it's always possible to combine queries in this way)
i.e. yielding an ideal query of the form
ab = a <> b
void $ fetch @(InsertB :<> InsertB) config ab

having gone through the process of writing this all out, it feels to me that maybe this would be just not possible; but i'm not certain; and it would be extremely convenient :)
hope this makes sense!


Error in code example

ProductsService must be public

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

ID: 820629a1-221b-e4b7-faa7-a6a539335b19
Version Independent ID: 7234d7a7-e8b6-4581-a613-e76489458491
Content: Azure WCF Relay hybrid on-premises/cloud application (.NET)
Content Source: articles/service-bus-relay/service-bus-dotnet-hybrid-app-using-service-bus-relay.md
Service: service-bus-relay
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@vitaliiTolmachov Thank you for your feedback! We have extensively tested this sample, and I can confirm it works as-is. Please let us know if you're experiencing specific errors.

#please-close

@vitaliiTolmachov We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Testing...

Assembly review request

ToLID: test
Species: test
Project: test
Affiliation: test

it seems that it is bypassing the 7-day time check. I will fix it on Monday.

bug fixed
now gives this error:
"No more reviewers available at the moment. @{supervisor} will assign a reviewer."

No


Register_User_Dialog

Implements register function on the login fragment

Please review lint errors before to continue.

Decided to treat as its own feature


add the skully program

skully (a portmanteau of "Skull" and "Phy") is a NimSkull compiler front-end that compiles a project to Phy VM bytecode. Internally, the fully-processed MIR code is translated to the L25 intermediate language, which is then lowered into VM bytecode.
The program is intended to be used for testing the various passes and the VM with real-word code, in order to gather performance insights and find bugs.

To-Do

[x] implement set constructors
[x] implement the various set magics
[x] implement the remaining non-set magics
[x] implement RTTI generation
[x] implement the main procedure
[x] implement proper overrides for the I/O procedures
[x] merge the main branch once the pass rework is done and merged
[ ] finish the incremental procedure code-gen
[ ] implement getExecArgs
[ ] use --gc:orc
[ ] register skully with koch
[ ] add a test for making sure that skully can compile a working phy program
[ ] cleanup the code
[ ] write a proper commit message

Here are some pass timings gathered by using a -d:release skully to compile tools/repl.nim (~4 MiB of L25 code).

Pass
Time Taken (in ms)

pass25
4,579

pass4
121,116

pass3
n/a

pass1
n/a

pass0
n/a

Note that the current skully is not able to run all passes, as the code passed to pass25 is - strictly speaking - not valid (because it uses aggregate parameters and return values).
In the current pass pipeline, pass25 and pass4 are the most complex and time intensive ones. Nonetheless, 2 minutes (!) to run the first two passes is completely unacceptable, of course.
These long run times are mostly due to the missing moves I've already mentioned here. Fortunately, the fix is very simple, and applying it, the timings I get are:

Pass
Time Taken (in ms)

pass25
388

pass4
5,444

pass3
n/a

pass1
n/a

pass0
n/a

which is a lot more reasonable, but still way too slow.
For comparison, here are the timings for the new passes (after making the necessary, small adjustments to skully in order for it to work with the new passes):

Pass
Time Taken (in ms)

pass25
13

flatten paths
30

aggregate params
26

aggregates to blob
39

locals to blob
13

legalize blob ops
16

stack alloc
22

inline types
10

pass0
12

The commit used is https://github.com/nim-works/phy/pull/85/commits/c9c771c9b8bc9e38563d575cf42cb3acbfa598f7. Beyond being significantly faster, the intermediate pass results are also much smaller.

skully is almost able to compile phy, only an implementation of getExecArgs is still missing. There are also a few NimSkull bugs that need to be fixed in the upstream.

Okay, skully is now able to compile the phy program into L25 code, which can then be run via the native phy executable (refer to the test I added to build_and_test.yml).
This wraps up the main part of the work. Implementing some small leftovers and refactoring the code a bit should be all that there's left to do.


Clarify data to be discovered on GCP.

@mbookman Please take a look at the revised pattern in http://googlegenomics.readthedocs.org/en/staging/use_cases/discover_public_data/index.html and let me know what other changes might be helpful.

@mbookman PTAL

Very nice changes, Nicole!


error in main_model_params

hi, nice work.
The optimizer for the main model seems to be wrong. The code in this file:
 if all(p is not x for x in model.classification_loss.parameters()) but model.classification_loss.parameters() is empty. Thus, I guess the code should be changed to: if all(p is not x for x in model.linear_classifier.parameters()) ?

Good catch, thank you for pointing this out!
Would you like to open a pull request with the necessary changes? I believe line 45 would need to be changed accordingly.

@loeweX Hi, thanks for your quick reply. I will do it soon.


DRILL-1343: Drill should timeout after short time if a storage plugin…

… is unresponsive.

Shouldn't we fix this inside the system rather than changing all the individual implementations?


Unable to import library

I followed the installation process and installed the package using NuGut.
But Unity throws me an exception when include try to include the library.
Here's the script
using QRCoder;
using QRCoder.Unity;

public class TestQr {
}

and here's the exception
The type or namespace name 'Unity' does not exist in the namespace 'QRCoder' (are you missing an assembly reference?)

I also have this issue. In packages, QRCoder.Unity.1.0.3/lib is empty - NuGet doesn't seem to actually install the unity-specific DLL.

Workaround - download the repo and copy QRCoder.Unity/UnityQRCode.cs into your project manually.


gnip_time_series.py should check for plots/ dir before starting

When asked for time-series plots when the local plots/ directory doesn't exist, the gnip_time_series.py script retrieves data and later crashes with an IOError:
$ ./gnip_time_series.py -f "ces2016" -s"2015-12-01T00:00:00" -e"2016-01-08T00:00:00" -t -bhour
[    6816 bytes]   744 total activities retrieved...
Fetching page 2...
[    8328 bytes]   912 total activities retrieved...
/Users/jmontague/.virtualenvs/data-2.7-tw/lib/python2.7/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice.
  warnings.warn("Mean of empty slice.", RuntimeWarning)
/Users/jmontague/.virtualenvs/data-2.7-tw/lib/python2.7/site-packages/matplotlib/tight_layout.py:225: UserWarning: tight_layout : falling back to Agg renderer
  warnings.warn("tight_layout : falling back to Agg renderer")
Traceback (most recent call last):
  File "./gnip_time_series.py", line 585, in <module>
    g.plots(ts)
  File "./gnip_time_series.py", line 501, in plots
    plt.savefig(os.path.join(PLOTS_PREFIX, '{}_{}.{}'.format(filter_prefix_name, "time_line", out_type)))
  File "/Users/jmontague/.virtualenvs/data-2.7-tw/lib/python2.7/site-packages/matplotlib/pyplot.py", line 577, in savefig
    res = fig.savefig(*args, **kwargs)
  File "/Users/jmontague/.virtualenvs/data-2.7-tw/lib/python2.7/site-packages/matplotlib/figure.py", line 1476, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/Users/jmontague/.virtualenvs/data-2.7-tw/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 2211, in print_figure
    **kwargs)
  File "/Users/jmontague/.virtualenvs/data-2.7-tw/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 526, in print_png
    filename_or_obj = open(filename_or_obj, 'wb')
IOError: [Errno 2] No such file or directory: './plots/ces2016_time_line.png'

Perhaps we can either include that empty directory in the repo e.g. with just a readme file or catch and extend the error message with instructions. Alternatively, we could exit sooner (with a helpful error message) if we see that directory doesn't exist.
I realize that the repo readme says to make a directory called plots, but perhaps we can make it easier, still.

Added a on both data and plots directories with the application exiting when they don't exist.


Otto instead of EventBus

Hello,
I see your project heavily relies on EventBus - especially the SchedulerTransformer.  If I remove EventBus dependency from my project, and use Otto instead, will the compilation break?
Right now I am seeing a compilation error like this:

Error:(21, 27) error: LoginUtils cannot be provided without an @Inject constructor or from an @Provides-annotated method. This type supports members injection but cannot be implicitly provided.
LoginPresenter.(com.securepreferences.SecurePreferences securePreferences, LoginUtils loginUtils, com.hannesdorfmann.mosby.mvp.rx.lce.scheduler.SchedulerTransformer transformer, com.squareup.otto.Bus eventBus)
[parameter: LoginUtils loginUtils]

Thanks,
Igor

Nevermind.  The problem was in my LoginPresenter.  I was trying to inject a parameter into its constructor which was not provided by my Module.


feature request, for a better completion experiments.

hi, the ptpython is really awesome. the line edit was always what I want. the vi/emacs keybinds really go beyond my hope for python-shell.
the complete is beautiyf too. use the old ipython, the completion always pollute my screen too much.
but there was a problem, most time I really donot remember what the attr or function I was looking for. the old ipython give all of it, so I may choose. the ptipython give only some of it, I have to ... to
look through it. that's not good.
I request you may look at the zsh completion. It output all the output under the current cursor but not pollute the screen, and when you finish edit, it clear the completion-output.

Hi @hackrole,
Thanks for the feature request! I understand what you are asking for. This is not my priority, but I'll have a look how to do this. It's only a matter of visualisation. (I think the fish shell does it as well.)
Jonathan

Hi @hackrole,
Now we have multi-column completions as an option:

You can change it from the configuration menu, or if you want this to be the default. Have a look at this setting:
https://github.com/jonathanslenders/ptpython/blob/master/examples/ptpython_config/config.py#L28

I have saw this. It is really wonderful.

Thanks!


JdbcSource -> Frame -> ParquetSink maps Numeric JDBC types to String

An example is an EEL schema materialized from a JDBCSource whose underlying schema may contain decimal numbers:
Schema(List(Field(sat_deposit_sweep_id,Decimal,false,Precision(38),Scale(0),true,None,List(),false,None))
A definition like the above should map to double as its Hive counterpart.

Fixed


Use net/http package to make requests instead of using curl

Proposal
Similar to #382, we should use http.NewRequest instead of manually executing curl.
This will allow us to have better error handling, and will prevent more false positives.

This won't work because we execute CURL in a pod.


Long placeholder and Textarea

Long placeholder doesn't return to the line if the size exceed the textarea size.

Sorry...what?

Sorry it happen only on Safari, but when i put a long text into the placeholder on my textarea it doesn't return to the line, it's like if the overflow of the textarea is hidden and that the placeholder has a defined size. So i don't know if it's a safari bug or placeholder script bug.

Ahhh, fascinating, thanks for clarifying. I'll check this out...sounds like a browser bug.

Yup, this is a Safari bug - reproducible outside of Foundation. Can't find a way to correct this right now, but I'll tag this as FAQ and maybe we can revisit it later. Thanks for the heads up.

Ok thanks ;)


ionViewDidEnter / ionViewDidLeave fire the wrong way around when you re-enter the same page

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I have a Ionic application based off of the sidemenu template. When I enter the same page again, (ie reselect it from the side menu), the ionViewDidEnter fires before the ionViewDidLeave. Should these be the other way around?
Expected behavior:
I would have thought we'd get the ionViewDidLeave followed by the ionViewDidEnter
Steps to reproduce:
Use this.navController.setRoot(<current page>); to go back to the current page
Related code:
Just hit the Test button..
http://plnkr.co/edit/2yRPr4
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
ordova CLI: 6.5.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.4
Xcode version: Not installed

Thanks, we will look into this.

This is the expected behaviour since the ionViewCanEnter is being dispatched in the new Page, ie. a difference instance of the same Component, but it is still a different page.


brew pr-pull fails on merged PR

brew config output
HOMEBREW_VERSION: 3.6.1-58-g7a14ae6
ORIGIN: https://github.com/Homebrew/brew
HEAD: 7a14ae61874770d9ceaee716f90e19c3b5674caa
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 223c426e48926d67a5e8177830761462ca5058d6
Core tap last commit: 3 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: quad-core 64-bit haswell
Clang: N/A
Git: 2.37.3 => /bin/git
Curl: 7.82.0 => /bin/curl
Kernel: Linux 5.19.8-200.fc36.x86_64 x86_64 GNU/Linux
OS: Fedora release 36 (Thirty Six)
Host glibc: 2.35
/usr/bin/gcc: 12.2.1
/usr/bin/ruby: 3.1.2
glibc: N/A
gcc@11: N/A
xorg: N/A

brew doctor output
Your system is ready to brew.

Verification

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

What were you trying to do (and why)?
Trying to update version of formula in my tap. I want to make binaries with GitHub Action.
https://github.com/abitrolly/homebrew-tap/pull/2
I merged the request without adding pr-pull label and now the pr-pull command fails in action and locally.
brew pr-pull --tap abitrolly/tap 2

What happened (include all command output)?
$ brew pr-pull --tap abitrolly/tap 2
==> Fetching abitrolly/tap pull request #2
==> Using 2 commits from #2
Error: Failure while executing; `/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/git -C /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/abitrolly/homebrew-tap cherry-pick --ff --allow-empty 696357c58cd9c8f27d800a4583df0f441602235f aea8078fa255ec1e270b9358edaa5348bb4d0b43` exited with 0. Here's the output:
Auto-merging Formula/tdu.rb
CONFLICT (content): Merge conflict in Formula/tdu.rb
error: could not apply 696357c... tdu 1.36
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

What did you expect to happen?
brew pr-pull to detect that commits are already present and continue.
Step-by-step reproduction instructions (by running brew commands)
brew tap abitrolly/tap
brew install tdu
brew pr-pull --tap abitrolly/tap 2

This is expected behaviour. We don't really have a good way to detect this given we squash commits. Will review a PR to address it.

@MikeMcQuaid the problem is in cherry picking that duplicates commits and will always result in conflict. Using merge or rebase should not have this problem. What is the use case that cherry pick is chosen instead?

@abitrolly That's the flow we use for homebrew-core which is the primary user of these sort of scripts.

@MikeMcQuaid I understand that. The question is why the flow doesn't use merge/rebase?

Not merge: we don't like merge commits
Not rebase: it can leave you with a weird Git state when it fails

Not rebase: it can leave you with a weird Git state when it fails

But cherry pick also leaves you with a weird Git state, no?
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".


Unable to run intent discovery

Hi,
Many thanks for this repo. I ran intent detection and it runs smoothly. However, I am facing issues with intent discovery. The requirements were the first issue I encountered as some of the libraries were not getting installed. I then used python 3.7 and all installations were completed except deepspeed and triton. I manually installed deepspeed==0.3.16 but could'nt get triton installed. Regardless, I continued along the tutorial and ran run.py file but got below error. Please can you offer any advice? Thanks
Below is the syntax I used:
python run.py --setting semi_supervised --dataset banking --known_cls_ratio 0.75 --train --save_results --results_file_name results_DeepAligned.csv --save_model --labeled_ratio 0.2

It is because you failed to load the bert model. You should place the bert model in the correct path as in the open intent detection module :)

Hi Hanlei, thanks for your reply. I understand but it is already using the same path as open intent detection module which is /home/sharing/disk1/pretrained_embedding/bert/uncased_L-12_H-768_A-12/

I see. We have updated the open intent detection module so it can automatically download the needed pre-trained bert model.
You can download the pre-trained bert model prepared in ADB repository and put it in the correct path. (Baidu Cloud Drive with code: v8tk). By the way, the open intent discovery module will also be updated for more convenience within the next two months.

Thanks so much! I have a different question now - for test set how can I decode both prediction and ground truth labels into original labels and also show it's corresponding sentence and save that as pred file? Currently, it's storing y_pred.npy and y_true.npy but it's encoded and does not show corresponding sentence.

I have a different issue now - I am getting an error when setting the cluster_num_factor > 1 for intent discovery module. Below is the error:

Can you explain why this is happening?

Hello, we have updated the code in time, and the problem has been solved

I have a different issue now - I am getting an error when setting the cluster_num_factor > 1 for intent discovery module. Below is the error:
Can you please explain why this is happening?

Hello, we have updated the code in time, and the problem has been solved

Hi Hanlei,
Hope you are well.
Sorry it took me long to come back to you. I can see that the
open_intent_discovery module is still facing the issue of model loading.
Would it be possible for you to show exactly where I have to make changes
so that it automatically loads the model just like open_intent_detection
does?
Thank you in advance.
Kind regards,
Shariq
On Sat, 16 Jul 2022 at 12:42, Hanlei Zhang @.***> wrote:

Closed #34 https://github.com/thuiar/TEXTOIR/issues/34 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/thuiar/TEXTOIR/issues/34#event-7006047172, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOXQ53JUGQRFU7HJJ24MDLDVUKNZTANCNFSM5ZDFHWLQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Regression after auto detection of proper Java version

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:aem:root:pom'.
> Failed to query the value of property 'languageVersion'.
   > Cannot download URL '/home/runner/work/gat/gat/env/resource/aem/instance/aem-sdk-quickstart-2021.9.5892.jar' to file '/home/runner/work/gat/gat/env/aem/build/localInstance/quickstart/aem-sdk-quickstart-2021.9.5892.jar.tmp'. Cause: '/home/runner/work/gat/gat/env/resource/aem/instance/aem-sdk-quickstart-2021.9.5892.jar (No such file or directory)'

fixed, closing


Outdated packages

This amount is growing once again to a level I'm not entirely pleased with. The aim of this issue is to
update packages which have been going stale and to bring the number down to a sensible level.

[x] bind @aicsx
[x] btrfs-progs @aicsx
[x] cryptsetup @konimex
[ ] fd @kiedtl
[x] feh @konimex
[x] glib-networking @cemkeylan
[x] hyperfine @kiedtl
[x] libgpg-error @a-schaefers
[x] libuv @aicsx
[ ] loksh @aaronNGi
[ ] mutt @penguin-ff
[ ] nnn  @Iieu
[x] nss @periish
[x] ripgrep @kiedtl
[x] syncthing @Bridouz
[x] tokei @kiedtl

See: https://repology.org/projects/?inrepo=kiss_community&outdated=1 for version numbers etc.

NSS resolved by #886

As mentioned in IRC, I'd prefer if we could delete loksh in favor of oksh.

@aaronNGi Sure thing. I await your PRs. :)

Thanks everyone. This is back to a nicer number.

@aaronNGi Sure thing. I await your PRs. :)

Done. Sorry, somehow me simply making a pull request which deletes the package didn't cross my mind.


⚠ ClamAV has degraded performance

In b481a2b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: ClamAV performance has improved in 3a5943b.


doc: merging, branching, release strategy

Design and document a release strategy.
There are two main akash components: the blockchain app (./app, ./x/), and the provider services (./provider).  For most intents and purposes the provider services are clients of the blockchain components.
Changes to the blockchain component can come in two flavors:

state-breaking changes that require nodes to migrate state offline.
updates that don't require require state-breaking changes.

The first will require a governance process, the second likely will as well.
Provider services can be released at will.  We may want to introduce #211 to encourage providers to stay up-to-date, tho.

May be we should include upgrade strategy in the title.
I think we can handle state-breaking upgrades also with upgrade module. that looks handy. Otherwise, export, new genesis looks odd for me. I haven't got a chance to see how the state-breaking upgrade works (no-op upgrade using gov + upgrade module), a best chance to test it on current testnet

Thanks @anilCSE .  Yeah, we need to pin down what exactly the upgrade procedures are for both cases.  It will inform how we handle versions from a version control perspective.

Note: we'll be using the mainnet branch for now to track the mainnet version of the app (read: no akash modules).


[Missing SNMP Polling Profile] Servertech Sentry3 PDU

Device Vendor: Servertech
Device Model:  Sentry3 PDU?
System Object Identifier (SysOID): .<IP_ADDRESS>.4.1.1718.3
List of critical metrics that you expect in the profile (does not need to be all-inclusive, just a general idea of your expectations):

Uptime
Current/Wattage on a per port basis if possible
Power port status
Humidity sensor values
Model number
Serial number

Vendor MIB Download: https://www.servertech.com/support/sentry-mib-oid-tree-downloads
Gist Link: https://gist.github.com/araddas/192f685825655261373657164c054ce5

@araddas  - can you please re-run your SNMP walk with the formatting applied to create numeric output so we can parse the results?
Instead of this:
SNMPv2-MIB::sysDescr.0 = STRING: Sentry Switched PDU

We need this:
.<IP_ADDRESS>.<IP_ADDRESS>.0 =  = STRING: Sentry Switched PDU

# v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

# v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out

@thezackm Updated the gist with the numeric output.

@thezackm new gist is here https://gist.github.com/araddas/9f70a1306c1b60304e495adc3bec3d42


Feature/list indent

This implements list indentation as it functions in CK editor: namely that any selection which contains the first item of a list cannot be indented. This prevents for example that a list with only one item can be indented.
I think it's as sensible a strategy as any, and it makes things a lot simpler to implement.
https://binnenland.atlassian.net/browse/GN-2096

Oh in order to check if the indent button should be displayed, it uses a new editor.canExecuteCommand function, which in turn uses command.canExecute which every command implements (the default implementation is to return true)
To me it makes sense that a command should be able to define in which environment it makes sense, and that this information can be queried to inform the user.
Ive also modified editor.executeCommand to check if canExecute returns true before executing, I'm not sure this is the right way to go. We might want to allow the option to ignore this check and try to execute anyway, although by definition this should basically never produce any sensible results.

Another note: this implementation can end up in some less than ideal (but not actually incorrect) html
In particular, indenting a selection of 2 listitems vs indenting them one by one gives different results.
I think this should be fixed, but for that I want to implement a mergeAdjacentLists utility as per discussion in the lblod-core-editor channel


Don't hard-code the rules channel id

The channel id at the end of this line should probably be specified in the .env file:
https://github.com/Testausserveri/testauskoira-rs/blob/7f5d37c484b4771ddc345f65736159d3c71234d8/src/voting.rs#L461

Yes. Thank you for the insight. Are you willing to attempt the implementation yourself or do you want me to take care of this.

I can probably do it, but not right now. Probably in the evening or maybe tomorrow.

That is all right. Looking forward to the PR. :)

I'm having a bit of trouble getting the application commands working (I can't see the report-button when right clicking a message, even though the Discord API says the command has been registered). I tried debugging it for a few hours but couldn't fix it. Could you do this, because I don't think I would be able to figure that problem out in a reasonable amount of time? It shouldn't take too long (famous last words), but for me the problem is just getting the dev environment running.

Hmm, this is odd. I think there is no hurry in implementing this so if you feel like it you can take your time in getting your dev-environment up. Also it is likely that the main reason for these difficulties is poor documentation from our side, so feel free to reach over and we'll to help you to get your setup going


feat: Add name to Route and Endpoint

Not sure how we missed this, needed for relative link generation and eventually method names.

Merging to unblock fix to doc pages.


Bad positioning for inline completion

create a TS file:

class C {
    public _member(): void {
    }
    private m() {
        this_member
    }
}

place cursor after this and press .
wait for inline completions to render
press arrow right

https://user-images.githubusercontent.com/5047891/119787844-ebe49300-bed1-11eb-9976-b14ed76853d2.mp4

Interesting, I cannot reproduce this on main:

@hediet Can you try to unbind the keybinding that arrow right accepts the completion ?

Oh I misread the issue description. But what should be the expected outcome?
You can either only position the cursor directly before the decoration or directly after it, but not both. We explicitly want to set the cursor directly before it.

@hediet I think the problem is that the view model updates only on document content change events and on suggest widget focus events and doesn't re-evaluate the common prefix on cursor position change events.


cupboards problem solution

Hey there!, Thanks for submitting a PR to this repo
Please complete the following checklist for your PR to be approved. Mark the items by adding an x.
Example:  - [ ] Mark me as completed
To mark: - [x] Mark me as completed

[ x] My Pull Request adheres to the Contribution guidelines.
[ x] I have added readme.md and solution files in the appropriate folder
[x ] None of the folder and file names I have added contain any invalid characters, leading digits or trailing whitespaces
[x ] The solution I have given is my own and not plagiarized in any form.
[ x] My solution passes all the testcases.
[x ] I have properly indented and documented my solution using comments.

If any of the above is unmarked, please make the necessary changes and then mark them so that you're PR can be approved and merged.

is there any issue in my pull request?

@gaurav23122001 Please change your question filename to readme.md and also add comments to your solution


Message IDs

Not really an issue, just can't see a "suggestions" tab. But is there any possible way when you use :execute() to be able to get the message id it sent?

Yes! If you set the waitForMessage arg to true a Message or ThreadMessage object will be returned depending on where the message was sent.
Here's a quick example:
local webhook = require(path_to_module).new("webhookId", "webhookToken")
local message = webhook:execute("Hello!", nil, false, true)

print("MessageId: ", message.id)

I hope this answered your question!

Thank you so much! You should definitely put this onto the documentation or whatever.


Patch: Allow specified animations or state machines on instantiation to advance once on autoplay to show a more accurate frame

Might not be an absolute solution for now.. as this doesn't really take well when .stop() or .reset() is called, just due to the way the animations/state machines tracked are setup at the moment (stop() removes all animations from the list of active animations). But this should help align autoplay: false with the first frame of the animation. Totally open to other suggestions here!

Not sure I understand the current bug.
Do we call advance(0) on animations/machines when we first create them? Would that help?

@mikerreed  Ah sorry should have elaborated that on the description. Basically, if you instantiate an animation or state machine, but set autoplay: false when creating the Rive instance like:
new Rive({
  src: "some-file.riv",
  animations: "foo"
  autoplay: false,
})

It doesn't pause the animation instance at the first frame as one would expect. That's why in the community page of rive.app, you might see a strange first frame (i.e the thing that shows from the design mode tab) and then when hovering (which calls .play() on the animation), it correctly switches to the starting frame of the animation and starts the render loop. The weird glitch is what we want to try and avoid here. I think your solution for advancing and applying on animation instantiation though works better than what I have here, so I'll make that change!


Prepare dev docs for OpenMetadata Python API

let's write down a guide on the design and usage of OpenMetadata Python API. This should help new developers get started in the community and any end users that need to use the wrapper

👍

@pmbrull This is great!! we can add a sample source connector to generate Table, Topic, Dashboard entities so that others can copy to build their own connector

Yeah, we can give some iterations to have a nice onboarding walkthrough!

Prepared a first version explaining the API use case and showcasing its usage: https://docs.open-metadata.org/open-source-community/developer/python-api
We can open further tickets for specific followup tutorials.
Thanks!

I am also working on explaining the Solution Design focusing on the API: https://docs.open-metadata.org/open-source-community/developer/solution-design
Would really appreciate your opinion there as well 🙏


Manifest issue with polus-czi-extract-plugin/plugin.json

The plugin polus-czi-extract-plugin/plugin.json is missing fields: ('author',)

This is now an author field in the manifest


List of syntactic definition file errors we could detect

Signatures that differ only by a single parameter type
declare function fn2(x: number): void;
// Error, write one signature taking string|number
declare function fn2(x: string): void;

Signatures that differ only by omitting by a parameter
declare function fn6(): void;
// Error, write one signature with one optional parameter
declare function fn6(s: string): void;

Use of the non-primitive names anywhere
(except in a interface Number { declaration)
declare var var1: Number; // Error, use 'number'

Optional parameters in callback positions:
declare function fn5(callback: (key: string, value?: number) => void): void;

Just an opinion, but this sounds more like a linter error than a syntax error. Not saying it's a bad idea to warn, but I would disagree about it being something that should be completely rejected.

@isiahmeadows the intention here is to implement these as tslint rules and suggest them for definition authors, and may be run them on definitelytyped CI.

@mhegazy Oh. Okay. I get what you mean.

Non-consecutive function overloads in the same block:
interface Foo {
  x(): void;
  y(): void;
  x(s: string): number; // <-- error, all 'x' signatures should be adjacent
}

@rakatyal can we mark this as completed?

@mhegazy: There are a couple of Open PRs on the tslint repo regarding this. One of them has been merged. Also we decided to wait to implement the primitive names till this gets in.
So let's keep it open for now.

These should all be addressed now in https://github.com/Microsoft/dtslint


ColumnInfo and unsigned columns

I'm writing a base class that automates most validation on a large ng-admin project.
I'd like to perform validation of entered data against the column definitions and return field-specific errors back to ng-admin.
To do this, I'm calling .columnInfo() and noticed the data coming back does not include integer length or signed / unsigned. If this was able to be included, it would be very helpful.
https://github.com/tgriesser/knex/blob/master/src/dialects/mysql/query/compiler.js#L49-L54

In addition, figuring out primary keys and required values versus ones where the default will suffice is difficult as auto_increment flag is not present.


[Event Request] Codeunit 5005270 "Issue Delivery Reminder"

Dear Team, we would like to have the following publishers added to 5005270 "Issue Delivery Reminder":
DeliveryReminderLine.Reset;
DeliveryReminderLine.SetRange("Document No.", "No.");
if DeliveryReminderLine.Find('-') then
    repeat
        if DeliveryReminderLine.Quantity <> 0 then begin
            [...]
        end;

        IssuedDeliveryReminderLine.Init;
        IssuedDeliveryReminderLine.TransferFields(DeliveryReminderLine);
        IssuedDeliveryReminderLine."Document No." := IssuedDeliveryReminderHeader."No.";
        // START NEW EVENT
        OnBeforeIssuedDeliveryReminderLineInsert(IssuedDeliveryReminderLine, DeliveryReminderLine);
        // END NEW EVENT
        IssuedDeliveryReminderLine.Insert;
        // START NEW EVENT
        OnAfterIssuedDeliveryReminderLineInsert(IssuedDeliveryReminderLine, DeliveryReminderLine);
        // END NEW EVENT
    until DeliveryReminderLine.Next = 0;
DeliveryReminderLine.DeleteAll;

[IntegrationEvent(false, false)]
local procedure OnBeforeIssuedDeliveryReminderLineInsert(var IssuedDeliveryReminderLine: Record "Issued Deliv. Reminder Line"; DeliveryReminderLine: Record "Delivery Reminder Line")
begin
end;

[IntegrationEvent(false, false)]
local procedure OnAfterIssuedDeliveryReminderLineInsert(var IssuedDeliveryReminderLine: Record "Issued Deliv. Reminder Line"; DeliveryReminderLine: Record "Delivery Reminder Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Add compiler specific fallthrough attributes if C++17 attribute is not available

These warnings come up when building HPX with C++11 or 14 and a new compiler such as gcc 7.

The remaining error is known and unrelated.


[Bug] [datax] A custom template in datax, The user-defined parameter input box is abnormal

Search before asking

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

What happened
datax中自定义模板
自定义参数输入框显示异常
A custom template in datax
The user-defined parameter input box is abnormal

What you expected to happen
自定义参数输入框显示异常
How to reproduce
自定义参数输入框显示异常
Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Interested in it, could you assign it to me?

@davidzollo Interested in it, could you assign it to me?

has assigned to you!