CouplingMap.distance does not support "partial" coupling maps

The following code does not work:
coupling_list = [(10, 11), (10, 12), (11, 12)]
coupling = CouplingMap(coupling_list)
coupling.distance(10, 11)

I think is because it was assumed that the coupling map was always "complete", with the practical consequence that starts in 0. But, from after https://github.com/Qiskit/qiskit-terra/pull/2225, my reading is that we want to move away from that assumption. Is my reading correct @ajavadia ?
It seems the issue was introduced in https://github.com/Qiskit/qiskit-terra/pull/1544

To the best of my knowledge nothing supports partial coupling maps.  The example map you provided above breaks the transpiler:
TranspilerError: 'Not enough qubits in CouplingGraph'

I am also not sure what the equivalent qasm would be in this case for a three qubit circuit that starts indexing at 10.
What is the use case for this feature?

Yes I'm not sure we want to support non-zero-based coupling maps.
I thought the coupling_map.reduce() method produces new coupling maps indexed from 0..m-1, is that not the case?

Okey... I will try to put in words my itching feeling about CouplingMap.reduce() and how is that related with non-zero-based coupling maps. For that, I will fully base myself on the use case described in https://github.com/Qiskit/qiskit-tutorials/blob/master/qiskit/terra/reduced_backends.ipynb.
The goal is to run the following circuit in the qubits 11 and 12 (target_qubits=[11, 12]ofibmq_16_melbourne` (Cell [14])
q = QuantumRegister(2)
c = ClassicalRegister(2)
qc = QuantumCircuit(q, c)

qc.h(q[0])
qc.cx(q[0], q[1])
qc.measure(q, c);

The problem with the "Standard transpilation" is that, if I understand correctly, the visualization of the fully padded circuit (Cell [16]). That could be solved by having a visualization option to not print empty wires.
The tutorial, instead, does some juggling. First, "reduces" the coupling map to obtain red_cmap = [[0, 1]], then transpile using that coupling map and then executes.
red_cmap = CMAP.reduce(target_qubits)  # Cell [19]
red_qc = transpile(qc, None, coupling_map=red_cmap) # Cell [20]
job_device = execute(red_qc, backend, initial_layout=target_qubits)  # Cell [37]

Notice that translation and execution are working with different assumptions. In particular, the layout for the transpilation is q_0 -> 0, q_1 -> 1 while the execution runs with q_0 -> 11, q_1 -> 12. That means that passes that assume the same layout (like NoiseAdaptiveLayout) are broken in this context.
If we are willing to run transpile on coupling maps that have a very loose relation with the coupling map where the circuit is executed, we should not write passes that are based the assumption that the transpilation coupling map is the one where the execution will happen.
A way that I see to simplify this full thing is by having non-zero-based coupling maps. The example from the tutorial would be quite straight forward, by running just the execute line with coupling_map=CMAP.subgraph(target_qubits). Additionally, non-zero-based coupling maps would allow to select sub-coupling maps based on the edges and not just the nodes.
So, in summary:

The ugly visualization from Out[16] can be solved in the visualization module.
Transpilation and execution should run with the same assumptions.
A non-zero-based coupling map would be a more intuitive and flexible way of solving the problem of sub coupling map selection.

So, the main focus of the reduce functionality was to allow noise modelling of sub-graphs of a device where the target qubits are higher up in the numbering, e.g qubits 48 & 49 on a 50q device.  Since the transpiler automatically scales the output circuit to the size of the device (the actual source of the issue), the solution is to reduce the coupling map to avoid this expansion.  The main issue with the non-zero coupling map is that it is not supported anywhere.  A two-qubit circuit with indices 11 and 12, looks to be a circuit of at least width 13, rather than 2, when written in qasm for example.  However, I am not sure if the circuit @1ucian0 proposes comes from the subgraph is actually reduced width of not.  In addition, the proposed solution is backend specific.  Instead, the reduce method allows for a subgraph to be targeted, swap mapped, and the resulting circuit used on any device (with any qubit numbers) that support the sub-graph.
Also the proposed solution for the "ugly" visualization is a bad one.  We should not implicitly be truncating circuits in the visualizations.  This leads to things like circuits whose actual widths do not match the width shown to the user, thus leading to confusion.
Indeed, transpilation might be strongly related to hardware.  This is something that needs to be worked on.  Perhaps a reduced coupling_map knowing where it came from.
I am not sure why one wants to include edges in a sub-graph that do not point to a qubit in the subgraph.
The whole point is that when run on the device the reduced map plus mapping gives the same thing.
I am not sure about PS2.  The example does what is expected.

In the end, all of this reduction business is because the transpiler expands the qubit count of a circuit to the full number supported by the device.  Personally, I am not in favor of this, as it leads to work arounds like those discussed here.  Indeed, I believe Aer already works around this by reducing some problems down to the original circuit width.  Instead, it would be nice if the transpiler kept the circuit the same width (perhaps enlarging only if the swap mapper needed it), and added meta data to the returned circuits indicating things like layouts, targeted backend, etc.  The circuits could then be padded to full size upon execute (if executing on a real device).  I know @ajavadia is against this, but I think it is the route we will have to go as the devices become larger.

Since the transpiler automatically scales the output circuit to the size of the device (the actual source of the issue), the solution is to reduce the coupling map to avoid this expansion. The main issue with the non-zero coupling map is that it is not supported anywhere.

I agree the transpilation process should be backend-independent.
The two options I see are:

as you mentioned, a possible solution would be to configure the transpiler to a fix width. @ajavadia input would be needed here.
move towards a non-zero coupling map.

Do we agree that reduce is a work around and should be removed in the long run?

If the transpiler does not expand circuits, then much of the use of reduce goes away. However, it still has some worth for returning subgraphs that the user would otherwise have to implement by hand. I still do not like your solution for the fact that it is more backend specific, and qasm code (which we still use to store and retrieve circuits) does not support this.

I will also point out that if you build a width 50 bell circuit using qubits 48, 49, then the transpiler outputs a smaller, reduced circuit, that uses qubits 0 and 1 only when backend=None

Partial coupling maps should not be needed now with the layout fixes that were done and the decisions on layout/coupling map made there. For visualization purposes idle_wires=False prints the circuit with its active qubits only. So I think this can be closed.

I dont think the way for saying "use this subgraph of the coupling map" is intuitive.
This output makes little sense to me:
CouplingMap([[0,1], [1,2], [2,3], [2,4], [2,5], [2,6]]).reduce([2,3,4,5,6]))
[[0, 1], [0, 2], [0, 3], [0, 4]]

This two coupling maps are not subgraphs if they labels mean the same in both.

Dropping the assumption that coupling maps always start with 0 would help to have a cleaner support for defective qubits

One can also just map to a reduced sub-graph and back.

This is currently working:
from qiskit.transpiler import CouplingMap

coupling_list = [(10, 11), (10, 12), (11, 12)]
coupling = CouplingMap(coupling_list)
coupling.distance(10, 11)

1

So, closing.


[BUG] Azure-OpenTelemetry library is no longer instrumenting spans for Azure Event Hubs binder.

Describe the bug
OpenTelemetry spans are not being generated by the Azure-OpenTelemetry library for spans related to Azure Event Hubs processing via com.azure.spring:spring-cloud-azure-stream-binder-eventhubs library. However they ARE being generated by the Azure-OpenTelemetry library for spans related to Azure Service Bus processing via com.azure.spring:spring-cloud-azure-stream-binder-servicebus library. This is inside the same service.
There are spans being generated for the event hub integration but they are being generated by the io.opentelemetry.spring-integration-4.1 per the span's otel.library.name tag. These spans are missing key information such as messaging.destination.name that we were using.
To Reproduce
Steps to reproduce the behavior:
Build a service that uses the binders and examine the traces being generated via OTEL.
Expected behavior
I would expect the spans to continue to be generated like they were before we upgraded to Java 17, Spring Boot 3.1.x, and Azure SDK 5.4.0.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: eclipse-temurin:17-jre-alpine

Library/Libraries:

com.azure.spring:spring-cloud-azure-stream-binder-eventhubs

com.azure.spring:spring-cloud-azure-stream-binder-servicebus

com.azure.spring:spring-cloud-azure-dependencies:5.4.0

org.springframework.boot:spring-boot-dependencies:3.1.2

org.springframework.cloud:spring-cloud-dependencies:2022.0.4

Java version: 17

App Server/Environment: Tomcat

Service is instrumented using OpenTelemetry Java Agent - Version 1.23.0

Frameworks: Spring Boot

Additional context
We are collecting traces via otel/opentelemetry-collector-contrib:0.82.0 inside of an AKS cluster.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Bug Description Added
[X] Repro Steps Added
[X] Setup information Added

@lmolkova @trask could one of you please take a look?

thank you for reporting this, @azizabah!
I can reproduce the issue whit OpenTelmetry agent 1.23.0 and believe it was fixed in https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8916 in OpenTelmetry agent 1.28.0.
You can update to 1.28 or any newer version of the agent.
Note that we fixes some other minor tracing issues in the EventHubs (e.g. https://github.com/microsoft/ApplicationInsights-Java/issues/3303) and recommend using the latest version 5.16.0 to avoid them.
I will close this issue, feel free to reopen it if updating OTel agent and EventHubs package does not help or if you have any questions.

Thanks @lmolkova . I will give those a shot and re-open if I am not seeing it resolved.


Issue - Radar site data is not being cached properly

The API call is working and grabbing data, but it's not successfully storing data for comparison.

Issue was corrected here: https://github.com/jacaudi/wsrif/commit/bacdfd1c89cf415605c164d9aaccdf140babb821


Rework the DslFactoriesConsistencySpec

Motivation:
When I and @GreyPlane work on operators, sometime encounter problem and don't why.
A better way is show why and prints in table.
  val results = for {
      s <- sMethods
      j <- jMethods
    } yield delegationCheck(s, j)

generate too many noise, and which should only prints the most possible one, instead of all.

could you post an error log or something?

The for expressing here will result in a M × N Set, which is to large.


Amazon S3 parallel task download throws 'Range is not satisfiable' error randomly in large files download.

When attempt to download multiple files using DownloadAsync method in TransferUtility class, I got the error Message: 'The requested range is not satisfiable'  Randomly. I couldn't able to figure out why this works for few mins and throws error after that.
All files are in the same bucket and same prefix. further file size is similar size (~70 KB)
The C# code as follows.
       public async Task ParallelDownload(IAmazonS3 s3Client)
        {
            List<string> listFiles = new List<string>(50000); // list will populated with keys to downloaded from S3
            string bucketName = "nameOfTheS3Bucket";
            int _parallelRun = 10; //100
            int ThreadWait_ms = 100;
            string folder = @"C:\Download" + "\\";
            // Add dowanloadAsync tasks in parallel
            for (int i = 0; i < listFiles.Count; i += _parallelRun)
            {
                var tasks = new List<Task>();
                int j;
                for (j = 0; j < _parallelRun && i + j < listFiles.Count; j++)
                {
                    tasks.Add(Task.Run(() => DownloadAsyncFromS3(s3Client, folder + listFiles[i + j], listFiles[i + j], bucketName)));
                    Thread.Sleep(ThreadWait_ms); // To avoid 'AmazonS3Exception: The requested range is not satisfiable'
                }
                // Wait for to complete.
                await Task.WhenAll(tasks);
                _logger.Trace($"QueueID:{_queueId} : Finished downloading of {i + j} files ");
         }

        private async Task DownloadAsyncFromS3(IAmazonS3 s3Client, string localFile, string fileName, string bucketName)
        {
            var transferUtil = new TransferUtility(s3Client);
            await transferUtil.DownloadAsync(localFile, bucketName, fileName);
        }

When I have increased the Thread Wait more, I see the occurrence of the failure is low. Normally this AmazonS3 exception thrown after 200 files, when you increase the wait, it throws exception after 8000 files.  but I couldn't keep increasing it to very high, since there were 100k files to download.
Could you please let me know a better solution for this issue?

The stack race of the exception:
:Amazon.S3.AmazonS3Exception: The requested range is not satisfiable ---> Amazon.Runtime.Internal.HttpErrorResponseException: The remote server returned an error: (416) Requested Range Not Satisfiable. ---> System.Net.WebException: The remote server returned an error: (416) Requested Range Not Satisfiable.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.HttpRequest.d__19.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\HttpHandler_bcl\HttpWebRequestFactory.cs:line 395
--- End of inner exception stack trace ---
at Amazon.Runtime.Internal.HttpRequest.d__19.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\HttpHandler_bcl\HttpWebRequestFactory.cs:line 416
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.HttpHandler1.<InvokeAsync>d__91.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\HttpHandler\HttpHandler.cs:line 184
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.RedirectHandler.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.Unmarshaller.<InvokeAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.S3.Internal.AmazonS3ResponseHandler.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.ErrorHandler.<InvokeAsync>d__51.MoveNext()
--- End of inner exception stack trace ---
at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleExceptionStream(IRequestContext requestContext, IWebResponseData httpErrorResponse, HttpErrorResponseException exception, Stream responseStream) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\HttpErrorResponseExceptionHandler.cs:line 162
at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.d__2.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\HttpErrorResponseExceptionHandler.cs:line 92
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.ExceptionHandler1.<HandleAsync>d__6.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\ExceptionHandler.cs:line 46 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.ErrorHandler.<ProcessExceptionAsync>d__8.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\ErrorHandler.cs:line 246 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.ErrorHandler.<InvokeAsync>d__51.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\ErrorHandler.cs:line 104
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.CallbackHandler.d__91.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.EndpointDiscoveryHandler.<InvokeAsync>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Amazon.Runtime.Internal.EndpointDiscoveryHandler.d__21.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\Handlers\EndpointDiscoveryHandler.cs:line 79 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.CredentialsRetriever.<InvokeAsync>d__71.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\Handlers\CredentialsRetriever.cs:line 98
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.RetryHandler.d__101.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at Amazon.Runtime.Internal.RetryHandler.<InvokeAsync>d__101.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\RetryHandler\RetryHandler.cs:line 146
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.CallbackHandler.d__91.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.CallbackHandler.<InvokeAsync>d__91.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.S3.Internal.AmazonS3ExceptionHandler.d__11.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\S3\Custom\Internal\AmazonS3ExceptionHandler.cs:line 62 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Amazon.Runtime.Internal.ErrorCallbackHandler.<InvokeAsync>d__51.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\Handlers\ErrorCallbackHandler.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.Runtime.Internal.MetricsHandler.d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.S3.Transfer.Internal.DownloadCommand.d__12.MoveNext() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\S3\Custom\Transfer\Internal_async\DownloadCommand.async.cs:line 123
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at DownloaderClient.Classes.AmazonS3Downloader.d__24.MoveNext() in C:\Dev\work\docweb-downloader-client\DownloaderClient\Classes\AmazonS3Downloader.cs:line 225
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

Hi @srikailai,
There seems to be a better way around this issue without using custom parallelism. The Amazon.S3.Transfer package has a class targeted towards configurations for uploading and downloading of objects which might lead to better efficiency.
Using TransferUtilityConfig you can set ConcurrentServiceRequests which determines how many active threads or the number of concurrent asynchronous web requests will be used to upload/download the file. The default value for this parameter is set to 10.

Here is an example:
public async Task ParallelDownload(IAmazonS3 s3Client)
        {
            List<string> listFiles = new List<string>(50000); // list will populated with keys to downloaded from S3
            string bucketName = "nameOfTheS3Bucket";
            int _parallelRun = 10; //100
            string folder = @"C:\Download" + "\\";
             var transferUtilityConfig = new TransferUtilityConfig
            {
                ConcurrentServiceRequests = _parallelRun,
            };
            for (int i = 0; i < listFiles.Count; i ++)
            {
                    DownloadAsyncFromS3Async(s3Client, folder + listFiles[i], listFiles[i], bucketName);
                    Console.WriteLine($"QueueID: Finished downloading of {i} files ");
            }

        private static async void DownloadAsyncFromS3Async(IAmazonS3 s3Client, string localFile, string fileName, string bucketName)
        {
            var transferUtil = new TransferUtility(s3Client);
            await transferUtil.DownloadAsync(localFile, bucketName, fileName);
        }

Hope this solution helps.
Thanks,
Anish.

Hey Anish,
Thank you for the response. I have tried adding tasks into the array and used the Task. Factory to invoke the async method. I could see some performance improvement with this method. so far no 'The range is not satisfiable error'.
sample code
                Tasks[]  tasks = new Tasks[_ParallelRun] // you have make sure the size
                int j;
                for (j = 0; j < _parallelRun && i + j < listFiles.Count; j++)
                {
                    tasks[j] =  await Task.Factory.StartNew (() => DownloadAsyncFromS3(s3Client, folder + listFiles[i + j], listFiles[i + j], bucketName)));
                    Thread.Sleep(ThreadWait_ms)// 10  ms is more than enough
                }

I'll check the ConcurrentServiceRequests config and compare the performance to select the right way for our needs. Thanks for the API call information, which can be useful to adjust the number of parallel runs.
Appreciate your efforts.


Fixing Multiprocessing-Related Issues

In the lastest commit of FedScale, when the training process terminates due to reaching the epoch limit, two types of exception messages will be printed in the log:

AttributeError (repeating x times where x is the number of spawned executors):

Traceback (most recent call last):
  File ".../FedScale/core/executor.py", line 299, in <module>
    executor.run()
  File ".../FedScale/core/executor.py", line 131, in run
    self.event_monitor()
  File ".../FedScale/core/executor.py", line 282, in event_monitor
    self.stop()
  File ".../FedScale/core/executor.py", line 294, in stop
    self.control_manager.shutdown()
AttributeError: 'BaseManager' object has no attribute 'shutdown'

According to multiprocessing's document, the method is only available if start() has been used to start the server process. So I think that the termination of BaseManager should merely be done at core/aggregator.py, which you have already implemented at Line 504, but not at core/executor.py.

EOFError (once):

Traceback (most recent call last):
  File ".../FedScale/core/aggregator.py", line 508, in <module>
    aggregator.run()
  File ".../FedScale/core/aggregator.py", line 231, in run
    self.event_monitor()
  File ".../FedScale/core/aggregator.py", line 462, in event_monitor
    elif not self.client_event_queue.empty():
  File "<string>", line 2, in empty
  File ".../anaconda3/envs/fedscale/lib/python3.6/multiprocessing/managers.py", line 757, in _callmethod
    kind, result = conn.recv()
  File ".../anaconda3/envs/fedscale/lib/python3.6/multiprocessing/connection.py", line 250, in recv
    buf = self._recv_bytes()
  File ".../anaconda3/envs/fedscale/lib/python3.6/multiprocessing/connection.py", line 407, in _recv_bytes
    buf = self._recv(4)
  File ".../anaconda3/envs/fedscale/lib/python3.6/multiprocessing/connection.py", line 383, in _recv
    raise EOFError
EOFError

Again, according to the aforementioned document, recv() raises EOFError if there is nothing left to receive and the other end was closed. This is actually the case, as the BaseManager is shut down (as a result of Line 454) prior to the last calling of elif not self.client_event_queue.empty(): (Line 462). So I suspect that a break clause immediately after self.stop() is missing.

In addition, I found that FedScale did not use the num_loaders calculated in Line 124, File core/utils/divide_data. This actually brought me [Errno 12] Cannot allocate memory when loading data. Specifically, it turnt out that the newly calculated num_loaders was 0, while I was still using what was indicated by args.num_loaders (4 by default). Changing args.num_loaders to num_loaders works well for me. By the way, it is implied by the implementation of torch's dataloader that the timeout argument should be set to 0 whenever num_workers(a.k.a. num_loaders in your context) equals to 0. I hereby also reframe the assignment logic for timeout. Please also consider merging this change.

Thanks! :)


changed check for active sidebar item from null ->undefined

if no active sidebar item is found you get undefined instead of null

Not in my browser, so you'll need to add a check for both

which browser are you using? i'm using latest chrome on linux

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining

.offsetParent can be null


SDK not getting connected for custom deployment.

We were just trying to set up ASR inference server with the latest code from (https://github.com/Open-Speech-EkStep/speech-recognition-open-api). We are able to do inference on it  by using the python example file provided.(examples/python/speech-recognition/main.py).
As we also want to test the real time inference, we cloned this repo and tried running the react example provided with the custom URL that worked in the above case. But with our hosted endpoint, we get Web socket connection failed error. Does any change need to be done on server/client side to enable socket connection for real time ?

This client is designed to support socket.io clients only and require a socket.io server to serve it. To do the integration with GRPC we have a proxy server https://github.com/Open-Speech-EkStep/speech-recognition-open-api-proxy. You can see the architecture for real-time streaming https://open-speech-ekstep.github.io/asr_streaming_service/

Thank you, Ankit

fixed, working now


Display "breadcrumbs" or other navigation help when navigating on non-workflow GUI pages

The GUI provides some non-workflow related options, such as certificate search, certificate download, "my tasks" etc.
Sometimes it is difficult to determine the logical context of the currently displayed page.

print some path information ("breadcrumbs") or other means of identification on the top of the page.
provide consistent navigation aids on each "non-workflow" page

Example:

search certificate
display certificate
download private key

Result: the user is now on a page from which he or she can only proceed "forward" by entering the private key passphrase and pressing "download".
There is no way go get back to the list of download choices.
In addition the user does not see "where am I now" and "which certificate/key am I downloading".

related to #855


Fixes to card data and updates for API changes

This has a bunch of fixes where I ran deserialization on Scryfall's bulk data. With these changes, the Oracle bulk data download properly deserializes.

Thank you for this pull request! Could you also write at least one test for this?


different authentication methods

Methods to support:

[x] environment variables
[ ] command-line parameters
[ ] config/ini file
[ ] keyring

Also, token caching:

[ ] caching the auth token to prevent re-authing for every command

"gopkg.in/ini.v1" for INI config file format

:+1: Agreed

@rgbkrk Are you still planning to work on this?

The keyring bits need support upstream, unless we only want to support OS X and Linux out of the box. I think the env and cli params are fine for now.

*and ini/config
I agree.

I'm gonna take this one while @rgbkrk 's working on table output.

closed by #59

keyring on windows (vault) may not make it into mvp.

Yeah, I think it's sensible that our mvp would only have keyring support on *nix variants.


No suport for System.Collections.Immutable v1.2?

The nuget package for Splunk.Client lists as a dependency:
System.Collections.Immutable (>= 1.1.37 && < 1.2.0)
The latest .Net Core for UWP (5.2.2) comes with System.Collections.Immutable 1.2 therefore Nuget refuses to install Splunk.Client. Will there be an update that bumps the dependency on Systems.Collections.Immutable to 1.2.0 or higher?

I am having the same issue but caused by Microsoft.NETCore.App (>= 1.1.0) (i.e. the base .NET Core app library) which depends on >= 1.3.0 of System.Collections.Immutable.
This means that despite support Profile111, this library is totally unusable in .NET Core apps/projects. Can this dependency be relaxed/updated?

See comment in #65


Javascript Fetch API

Is there interest in implementing the fetch api?
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
I'd like to help.

It's definitely nice to have. First we need to design Scheme API. Do you have an idea?

If you want inspiration you can look at my Scheme interpreter where I don't need to add anything special to the library to have support for fetch API.
(--> (fetch "https://lips.js.org") (text) (match /<title>([^>]+)<\/title>/) 1)

but my implementation is not pure scheme like BiwaScheme, it have literal regexes and automatic async/await (I plant to add quoting of promises in the future).
For BiwaScheme you would need interface because, unfortunately it don't expose API to get global JavaScript objects so you need to write everything in JavaScript or use js-eval, here is my attempt of using the API wihtout any extra code:
(let ((promise (js-call (js-eval "fetch") "https://lips.js.org")))
  (set! promise (js-invoke promise "then" (lambda (x)
                                            (js-invoke x "text"))))
  (js-invoke promise "then" (lambda (text)
                              (let ((m (js-invoke text "match" (new RegExp "<title>([^>]+)</title>"))))
                                (if (null? m)
                                    (alert "NOPE")
                                    (alert (js-ref m 1)))))))

but it don't work and don't throw exception, not sure why. Any clue why this code don't work? Not sure if you prefer write JavaScript to create the API for fetch but this can just be a macro.

I need that too. Keep in the loop.


#107 Day header is overlapping the slider

@chenzihui ,You are correct,the reason behind was that the styling of the whole document is inline,I can create a seperate css for the whole document,if it is required.

@aayusharora please see https://github.com/fossasia/open-event-webapp/blob/master/assets/scss/main.scss


easier R package installation with devtools::install_github ?

Hi, I know there is a plan to submit to CRAN do you have an ETA on this ?
In the meantime, using submodules makes it impossible to use devtools to install lightgbm. Can this be changed ?
For package developper wanting to integrate LightGBM in their package, this is a must... (or you have other suggestion to ease the install process?)

Hi, I know there is a plan to submit to CRAN do you have an ETA on this ?

I don't think so, and I have no time to work on this.

In the meantime, using submodules makes it impossible to use devtools to install lightgbm. Can this be changed ?

You need my lgbdl package: https://github.com/Microsoft/LightGBM/tree/master/R-package#installation-with-precompiled-dlllib-from-r-using-github

For package developper wanting to integrate LightGBM in their package, this is a must... (or you have other suggestion to ease the install process?)

Which one is a must? (CRAN or devtools? Both are non-issues for developers as long as Internet is available)

Do you an example of a package DESCRIPTION using LightGBM ?

@thierrygosselin You can use https://github.com/Microsoft/LightGBM/blob/master/R-package/DESCRIPTION but I didn't check if it passes CRAN checks.


Clear logs

Hello,
How do we clear the logs?.

Hi, currently there is no delete option but would implement it if we find it useful.
Can you clarify what do you mean by clearing logs? to completely remove a log file? removing a single log report in a log file?
And what are use cases?

Hi, currently there is no delete option but would implement it if we find it useful.
Can you clarify what do you mean by clearing logs? to completely remove a log file? removing a single log report in a log file?
And what are use cases?

Clear the whole logs. I usually clear my logs if there's any errors that have been already fixed.

@jhemmmm This package provide very simple log explorer to view and monitor your logs, for your case you should look into error reporting / monitoring tool like sentry as mentioned in the readme of this package.

Thanks for sharing your thoughts @jhemmmm @AhmadWaleed.
I'm not gonna implement this currently since I don't see use-case for myself.
but I'm open to PRs.


Add support for ISO image/volume format

Should we modify cli here and here?

Should we modify cli here and here?

Done


Enlarge the production DB volume

We are slowly running out of the space on the production DB volume, therefore we need to enlarge it. Skimmed through the API code, it should be possible to not drop any tasks during the “enlargement procedure”.

[x] Try it on stage

[x] Scale down workers

[x] short-running
[x] wait for the queue
[x] long-running

[x] Redeploy database with enlarged volume
[x] Rescale postgres
[x] Verify the PVC size

[x] OpenShift
[x] Within the postgres pod

[x] Check integrity of the data
[x] Scale the workers back up
[x] Trigger packit/hello-world

[x] Verify it works

[ ] Showdown!

[x] Scale down workers

[x] short-running
[x] wait for the queue
[x] long-running

[x] Redeploy database with enlarged volume
[x] Rescale postgres
[x] Verify the PVC size

[x] OpenShift
[x] Within the postgres pod

[x] Check integrity of the data
[x] Scale the workers back up
[x] Trigger packit/hello-world

[x] Verify it works

[ ] Remove banners

[ ] Matrix
[ ] Slack

[ ] Remove the status notice
[ ] (optional) Rant if needed…

Rescaling packit-service pod, it appears that even read-only API endpoints fail on postgres redeployment /o\

redeployed, :binoculars: Sentry

refreshed dashboard few times to make trip, didn't reappear


Fix IntelliJ Idea 2016.1 and related casks

Thank you!
There are also a few other casks from JetBrains in caskroom/versions, if you feel like tackling those.


actually link to <sqlite3.h> when -tags libsqlite3

Building with -tags libsqlite3 used the sqlite3.h from the system but the go
compiler will compile all *.{c,h} files in the same direcory:
"When the Go tool sees that one or more Go files use the special import
"C", it will look for other non-Go files in the directory and compile
them as part of the Go package. Any .c, .s, or .S files will be compiled
with the C compiler." (https://golang.org/cmd/cgo/)

So if users actually want to link against the system sqlite3 we should make
sqlite3-binding.* a noop.
Signed-off-by: Christian Brauner<EMAIL_ADDRESS>Closes #330.
After the patch:

linking against system sqlite3:

<EMAIL_ADDRESS>> go build -tags libsqlite3 _example/simple/simple.go
<EMAIL_ADDRESS>%>
> ldd simple | grep sqlite
        libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f860d0a4000)

using vendored sqlite3:

<EMAIL_ADDRESS>%>
> go build _example/simple/simple.go
<EMAIL_ADDRESS>%>
> ldd simple | grep sqlite

@mattn ping. We'd really like to see this issue resolved. Would be great if you could take a look whether this pr is enough. :)

please update tool/upgrade.go too

@mattn, done.

Coverage decreased (-0.6%) to 61.668% when pulling 0554f97154a63de91b5e8c2c317e0ba9c833af54 on brauner:2016-10-17/fix_libsqlite3_build into e5a3c16c5c1d80b24f633e68aecd6b0702786d3d on mattn:master.

Coverage decreased (-0.6%) to 61.668% when pulling 0554f97154a63de91b5e8c2c317e0ba9c833af54 on brauner:2016-10-17/fix_libsqlite3_build into e5a3c16c5c1d80b24f633e68aecd6b0702786d3d on mattn:master.

Coverage decreased (-0.9%) to 61.668% when pulling 420dc664edf0a720aa2edb4d7b25e833c1e7ed2a on brauner:2016-10-17/fix_libsqlite3_build into 955dae4ebd0ea6e242d3ee953062cedb2f4381ff on mattn:master.

LGTM!

Thanks!

See also #318. This was previously handled using a +build !libsqlite3 build tag. The go tool recognizes such tags even in non-Go source, and does not invoke the C compiler at all. I'd argue that's a tidier solution than this one, which runs the C compiler on an effectively empty file.


feat(chromium): roll to Chromium 106.0.5249.0 (r1036745)

Not sure why the ARIA handling has changed in the backend but it looks harmless so we can just update the test.


Duplicate grpc_build_artifacts_extra job to split CI/ad-hoc builds

grpc_build_artifacts_extra job takes too long and this causes non-CI builds to have to wait for too long. By splitting the CI builds from "release" builds, we don't have to wait for CI builds to wait to ship a release build.
This PR simply clones the grpc_build_artifacts_extra into grpc_build_artifacts_extra_release.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,976,222      Total (=)      1,976,222

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,770,424      Total (<)     10,770,434

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences


CLOUDP-66607: Atlas Data Lakes

Description
Adds data lake support.
Link to any related issue(s):
Type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Required Checklist:

[ ] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments

Added myself to the review list :)


quick fix to change uri of delete segments with timewindow

https://github.com/apache/pinot/issues/10740
Follow up of https://github.com/apache/pinot/pull/10758
avoid the confusion that GET /segments/{table}/select is deprecated. This API parameter is identical to GET /segments/{table}.

Codecov Report

Merging #11102 (a367b48) into master (1622a9e) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master   #11102      +/-   ##
==========================================
- Coverage    0.11%    0.00%   -0.12%
==========================================
  Files        2203     2187      -16
  Lines      118165   117730     -435
  Branches    17879    17824      -55
==========================================
- Hits          137        0     -137
+ Misses     118008   117730     -278
+ Partials       20        0      -20

Flag
Coverage Δ

integration1temurin11
?

integration1temurin17
?

integration1temurin20
0.00% <0.00%> (ø)

integration2temurin11
?

integration2temurin17
?

unittests1temurin11
?

unittests1temurin17
?

unittests1temurin20
?

unittests2temurin11
?

unittests2temurin17
?

unittests2temurin20
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ler/api/resources/PinotSegmentRestletResource.java
0.00% <ø> (ø)

...spi/utils/builder/ControllerRequestURLBuilder.java
0.00% <0.00%> (ø)

... and 18 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hi @snleee , could you review it when you are available?

Hi @ankitsultana , could you review this diff when you are avaiable?


Rancher catalog multiline variable feature[2.0]

I create a chart that is defined as multiline in questions.yml, but the deployment will report an error when passing multiple rows of values on the UI.
Use the following yaml file
questions.yml
questions:
- variable: masterConfig
  description: "masterConfig"
  type: multiline
  label: config

redis-configmap.yaml
kind: ConfigMap
apiVersion: v1
metadata:
  name: redis-config
data:
    master.conf: |
      {{ .Values.masterConfig | indent 4 }}

Deployment is normal when incoming with a single row value

An error occurred when using a multi-line deployment

Useful
Info

Versions
Rancher v2.1.1 UI: v2.1.4

Route
catalog-tab.launch

@wanshaoyuan can u please try {{ toYaml | .Values.masterConfig | indent 4 }}

@guangbochen
Thanks, I try

the correct struct should be:
data:
  master.conf: |-
{{ .Values.masterConfig | indent 4 }}

@wanshaoyuan @loganhz
According to the correct struct provided by @guangbochen , it is verified in rancher-v2.1.4.
Fill in the multiline variable in the custom catalog, no error is reported.
Verified fixed

Ok, the "<match pattern>\n @type stdout\n</match>" value can be passed through the UI, but the configmap does not become multiple lines.


for loop syntax

[Enter feedback here]
I think it would be really worth having a more straightforward  example that shows you can use a for.. in.. {} directly like this:
for (a, b) in [(x, y]  {
.....
}
This would also show up if there were a formal presentation of the syntax rather than a textual description.
It would also be really useful if this syntax were on the appropriate place on the Q# Quick Reference sheet.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: eecab8e9-eef4-bde4-ff6e-5310cf54bbd0
Version Independent ID: 28e2aa5b-2be7-cd2c-7e79-9e4cd8c45b98
Content: Iterations and loops in Q# - Azure Quantum
Content Source: articles/user-guide/language/Statements/iterations.md
Service: azure-quantum
Sub-service: qsharp-guide
GitHub Login: @bettinaheim
Microsoft Alias: beheim

Hi @TonyHoldroyd ! Thank you so much for your feedback.
Actually, there is something like the example you are suggesting in the code snippet:
for (index, measured) in results {
......
}

where results += [(index, M(qubits[index]))].
Adding more examples might be confusing, and also code snippets try to offer practical examples of the use of quantum physics and Q#.


ML 1.14 : ANOVA (V)

Description
Welcome to 'ML' Team, good to see you here
This issue will helps readers in acquiring all the knowledge that one needs to know about ANOVA.
To get assigned to this issue, add your Batch Numbers mentioned in the spreadsheet of "Machine Learning", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
Domain : Machine Learning
Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.

"Issue Title" and "PR Title should be the same. Include issue number along with it.

Changes should be made inside the Machine Learning/Machine_Learning/Statistics_for_Machine_Learning Branch.

Follow Contributing Guidelines & Code of Conduct before start Contributing.

This issue is only for 'GWOC' contributors of 'Machine Learning' domain.

To be Mentioned while taking the issue :

Full name
Batch Number
GitHub Profile Link
Which type of Contribution you want to make :

[x] Video

All the best. Enjoy your open source journey ahead. 😎
Domain
Machine Learning
Type of Contribution
Video
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign
I would like to work on this issue
Name: Aaryan
Type: Documentation
I will complete this in 12 days

@aaryan078 Remember that this issue is for video not for documentation.

@Isha307  sorry  i can't do it in video format

if this issue is still open I would like to contribute to this issue. @abhisheks008
Name: Riya Srisailam Sailesh
Batch: 4
Profile link: https://github.com/riyasai22
Contribution type: Video


[proxima-core]: remove deprecated createAccessor and migrate accessors

closes https://github.com/O2-Czech-Republic/proxima-platform/issues/192

Added some tests to cover missing parts.


[ML] Require marshmallow version lower than 3.20.0

Description
marshmallow dropped support for Python 3.7 in version 3.20.0 (see changelog). Given that azure-ai-ml still supports 3.7, this puts an upper bound on the setup.py requirement to avoid picking up the latest version.
Also, because of changes in 3.20.0+, ML CI runs have been failing on platforms using Python 3.8+ (example). These test failures seem to just be from body ordering changes, and would probably be fixed by re-recording -- something to note when we drop 3.7 support and the requirement can be raised again.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


Editing pasted value doesn't work

Paste a value in the cell. Then edit the cell and change the value. After editing, the cell reverts to the pasted value.

Can't reproduce.
What cell do you mean? Cell in data editor (grid), properties editor?

Really? That's strange -- I didn't include more info because it was easy to reproduce. I'll try on another database. Meanwhile, I meant in the grid

I can only reproduce on certain databases at the moment, I'm not sure why -- maybe the column type? Try on 'text' and 'longtext' columns.

Still can't reproduce. Please provide more info: database, driver, exact column type and steps to reproduce.

Using DBeaver 3.5.5, have a MySQL connection using the default driver, whose database has a table with a column of type 'text' or 'longtext' with one or more rows. Open the table to the data view. Paste a value into a cell in a column of type 'text' or 'longtext'. (The cell will now be highlighted beige -- do not commit the data) Edit the cell. Delete some characters. Lose focus on the cell.
We expect the new value (characters deleted) to show in the cell, but the value that was pasted is still shown (no characters deleted).

Got it, thanks for info.

Cool,  sorry for not including all of the relevant info right away -- thought this would be easier to reproduce


Confirmation on Licensing requirements.

Hello,
Could you please elaborate on the licensing requirements of the external participant. Does the external participant need to have a Yammer license in order to participate in a conversation external to their network? If so and the participant doesn't have a license already, he needs to reach out to his admin to enable a Yammer enterprise license?

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

ID: 7b3a2463-a8f4-3ba7-0524-37fc75fa783d
Version Independent ID: 14374d2a-eb47-d2e5-fbc3-be6ee56e14b5
Content: Add external messaging participants to your Yammer conversations
Content Source: yammer/work-with-external-users/add-external-participants.md
Service: yammer
GitHub Login: @IrenePasternack
Microsoft Alias: v-irpast

@officedocsbot assign @mypil

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

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

@officedocsbot close


case-insensitive sorting of columns

Hi there,
I noticed that sorting on columns is case-sensitive by default.
For example:
Valid Field
valid field
won't show up after one another if I sort the column.
How can I make sorting case-insensitive?
I came across this stackoverflow issue, and it seems there is a new filter "agTextColumnFilter" that support case-insensitive sorting?
Here is a link to a sample code as well.
https://i.stack.imgur.com/YYByW.png
Thanks for your support.

Hi @PablocFonseca ,
I know you are busy, but this is for the future when you have some free time, and I hope it is  a quick update.
Based on this link, I have tried to use  filterParams={'caseSensitive': False} in configure_default_column, but it doesn't seem to work.
Look forward to hearing from you when you have some free time.
Thanks again for the amazing module.


Timers (as in QT)

I'm writing a program to capture instrument data and update plots at a regular interval. In QT, there are timers available to make this straight-forward.
I am now trying to do the same in Flexx, and made some progress using the APScheduler framework, which can integrate with Tornado and AsyncIO.
However, the last step in the process (using the emitted event at each timer tick) goes wrong and I'm not sure how to continue.
A small program that illustrates the problem is included. The error message is included below.
Thank you for your time,
Tom

Job "Emitter (trigger: interval[0:00:01], next run at: 2020-06-23 13:55:37 CEST)" raised an exception
Traceback (most recent call last):
File "/home/tomr/anaconda3/lib/python3.7/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/home/tomr/anaconda3/lib/python3.7/site-packages/flexx/event/_emitter.py", line 98, in call
ob.emit(self._name, ev)
File "/home/tomr/anaconda3/lib/python3.7/site-packages/flexx/app/_component2.py", line 413, in emit
ev = super().emit(type, info)
File "/home/tomr/anaconda3/lib/python3.7/site-packages/flexx/event/_component.py", line 469, in emit
loop.add_reaction_event(reaction, ev)
File "/home/tomr/anaconda3/lib/python3.7/site-packages/flexx/event/_loop.py", line 182, in add_reaction_event
self._thread_match(True)
File "/home/tomr/anaconda3/lib/python3.7/site-packages/flexx/event/_loop.py", line 262, in _thread_match
raise RuntimeError('Flexx is supposed to run a single event loop a once.')
RuntimeError: Flexx is supposed to run a single event loop a once.
APScheduler_Example.txt

Maybe something like this:
import asyncio

class TimerGUI(flx.PyWidget):
  def init(self):
    ...
    # Usage (this is a non-repeating call)
    asyncio.get_event_loop().call_later(1.0, self.tim1_tick)

    @flx.emitter
    def tim1_tick(self):
        asyncio.get_event_loop().call_later(1.0, self.tim1_tick)
        return dict(tick=True)

Hello Matkuki,
Thanks for your reply. Unfortunately, that approach won't work for me, as it results in timer drift. With each iteration, the bit of overhead time accumulates. This is why I choose the APScheduler framework, which handles this all nicely. The timers in QT also handle this well.
In the application I have in mind, the program will be running for days or weeks on end, and I need the timer to be pretty dead-on wrt the system wall clock. Though, I suppose I could modify your proposed solution so it reads the wall clock time, computes the drift, and modifies the call_later delay to keep it all synchronised. Definitely a valid back-up plan.
In the original code (when the troublesome reaction is commented-out), the print command in the emitter do show up nicely in the console. I'm wondering if there is some way to bride these waters and bring this back into the Flexx event handling.
Best regards,
Tom

I don't know about APScheduler, but I assume there should be a way to make it use the same event loop as Flexx.

I could modify your proposed solution so it reads the wall clock time, computes the drift, and modifies the call_later delay to keep it all synchronised.

That's what I would suggest as a second option :)

Hello Almar,
Thank you for your reply.
There is indeed such a way: self.TimerScheduler = AsyncIOScheduler(event_loop=flx.Loop)
BUT, it requires the function "call_soon_threadsafe" to be defined, which is not the case in the Flexx event loop object. It can probably be derived from "call_soon", which in the docs is explained to be threadsafe.
The code relevant code in APScheduler is:

def run_in_event_loop(func):
@wraps(func)
def wrapper(self, *args, **kwargs):
wrapped = partial(func, self, *args, **kwargs)
self._eventloop.call_soon_threadsafe(wrapped)
return wrapper

I've tried to go the other way round, and explicitly integrate the Flexx event loop in an asyncio one, but didn't manage to get the flx.Loop.integrate() call to work. (don't know how to deal with the arguments. Which "self" do I need?)

self.event_loop = asyncio.get_event_loop()
flx.Loop.integrate(loop=self.event_loop)

results in: TypeError: integrate() missing 1 required positional argument: 'self'
Before I give up and roll my own, do you think there is a reasonable way forward to integrate the event loop?
Best regards,
Tom

The flx.Loop is a class for Flexx' internal event system. There is one instance of this calss: flx.loop (lowercase). This is not an asyncio event loop. It is a flexx-specific object that has ways to integrate with the asyncio event loop. By default. it will use asyncio.get_event_loop(). So if you'd do self.TimerScheduler = AsyncIOScheduler(event_loop=asyncio.get_event_loop()) I would expect/hope things to just work ...
For going the other way around, you'd need the instance, not the class: flx.loop.integrate(loop=self.event_loop)

Hello Almar,
Thanks again for your quick answer. It's getting closer to working now. It seems I have to take both actions, and explicitly link both Flexx and APScheduler to one asyncio event loop.
And now I'm starting to feel like Alice in Wonderland, because the next floor down the rabbit hole brings a new curiosity.
After both libraries are placed in the same event loop, the state store I had declared seems to have gone missing. In the code attached, the declaration is at L44, and the program fails at the _mutate_store() on L58 with: "RuntimeError: Store4 needs a session!"
If I set the Flexx event loop in main instead, just before flx.run() (L115), the program starts, but there are no GUI responses (I can click on the buttings, and the timer generates ticks, but the GUI doesn't change). I presume the issue is that something is lost when the event loop changes?
APScheduler_Example.txt
Any further advise would be much appreciated!

I tried to run your code and played with it a bit.
I would set the Flexx event loop as early as possible, probably even before launching the app.
That said, I now suspect this is not related to the event loop. Flexx integrates with asyncio.get_event_loop() by default, and I would expect APScheduler to do to. That original error message (Flexx is supposed to run a single event loop a once.) actually checks thread id's. It looks like APScheduler uses threads, and is trying to emit a Flexx event from a different thread.

Hello Almar,
Thank you for your time and replies. I've got a feeling that trying to work around the multi-threading issue (and perhaps variable time delays in the inter-thread signalling?) you've identified will become more convoluted than rolling my own. I'll go ahead and do that instead.
Best regards,
Tom


change color of map description

I have looked at all of the places in the main.css where I could think to change the color of the text in the side panel where the map description/legends are, but have no luck. I have everything else the way i want (black background, white text) but the description is still grey. Are there any further resources available for this app? thx

@upcamogie  there are a few ways you can do this. You can configure the application using the template configuration process and use the Details editing section to define custom text for the side panel. The editor provided on the config panel will let you set the text color.
Once you've configured the app in online you can copy the application id from the url and paste it into the appid section of the deafults.js config file.

Another option is to update the css file to set the color you want. To do this open main.css and look for the .headerInfo section. Add the color you'd like the text to be to this section. For example:
.headerInfo{
color:#ff0000;
}


feat: set project.originalModel after flattening

it is required for shade plugin

Closes #42
📑 Description
set project.originalModel after flattening that is required for shade plugin to work after flattening

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[x] All the tests have passed

ℹ Additional Information

@piotrwielgolaski-tomtom I will check the PR .
Want to make sure there are no regressions

@ayoukhananov any luck?


Pulsar does not run after the first time - standalone mode

Describe the bug
I've downloaded version 2.8.1 and started once with success on standalone mode. But, when a tried to producer and consumer on Java this not work. There seems not connect on Java and locking my app without any logs. Still, when stopping Apache and trying to run again, some exceptions occur and it doesn't run.
To Reproduce
Steps to reproduce the behavior:
1 start Pulsar standalone mode
2 try to connect, produce and consume any messages in any topic (here doesn't work the consumer)
3 stop Pulsar standalone
4 try to start Pulsar standalone mode (screenshots exceptions bellow)
Expected behavior

after stops, achieve to run Pulsar again
on simple Java test classes, connect, produce and consume messages

Screenshots

Desktop (please complete the following information):

SO: Distributor ID: Ubuntu 20.04.3 LTS
Java 11

@thiagohernandes I can't reproduce your exception, did you changed other configurations?

@thiagohernandes I can't reproduce your exception, did you changed other configurations?

No! Local machine only instructions before.

@thiagohernandes I can't reproduce your exception, did you changed other configurations?

No! Local machine only instructions before. Ps: nothing changed

@thiagohernandes  I'm not sure, but maybe I can help you. Tell me, after the first start and a complete stop after the server, Do you have the logs and data directories?

@thiagohernandes In fact, just during the testing of Pulsar-Perf, we had something similar, and the point is not in emptiness, but in their presence, if you delete both the logs folder and the data folder, then you may be able to start. Not guaranteed, but worth a try. Actually, having turned gray a bit in the code, we switched to github and not to the release builds.
If you have time, try to erase these directories between launches or try to run a non-release version, maybe this will solve your problem.

@thiagohernandes In fact, just during the testing of Pulsar-Perf, we had something similar, and the point is not in emptiness, but in their presence, if you delete both the logs folder and the data folder, then you may be able to start. Not guaranteed, but worth a try. Actually, having turned gray a bit in the code, we switched to github and not to the release builds. If you have time, try to erase these directories between launches or try to run a non-release version, maybe this will solve your problem.

Really work after delete "data" folder. I believe it's a bug. Yet, after creating a simple producer and consumer occur a lock on my consumer and not receive a value. Bellow the screenshots of Java code:

@KryukovaLidiya Take a look the log when the consumer get receive the producer's data.

@thiagohernandes
To be honest, I'm not a committer to this repository and I'm not sure I have rights, but you can offer a patch here (If you have).
I just faced the same problem and "delete" works for us.
I am just involved in the analysis of the performance of the pulsar, so when faced with a problem I solve it on our side as it would be convenient for us and I report here.
Thank you for reporting this (I forgot about it just by deleting).
I could probably look and maybe suggest a patch, but not now. Unfortunately, until the new year I am overloaded.
Perhaps someone can earlier and will pay attention to the problem, if not, I will try to help you, but not earlier than in a month.
But since I myself have been looking at this code for only a month, I would be glad if you dropped the launch commands directly.
Like this:
Run server bin/pulsar standalone &
Run test bin/pulsar-perf produce --rate 100000 --warmup-time 60 --test-duration 120 my-topic
We are waiting for the end of the program, the duration is 2 minutes - you can reduce it in the parameters above, this does not affect.
See error


Moved Goals to Stream 1 and 3 + update structure

Hi All,
Please review the PR as I moved Goals from Stream 2 according to what we discussed in the SIG Full EDU meeting.
** Updated the 1.2 goal as the SKF will be the platform to host all the materials using the SKG component
** Moved the old 1.6 to Stream 2 as discussed in previous meeting
** Moved Stream 2 Goal to stream 1 as it's about content curation (the new 1.6 Goal)
** Moved Stream 2 Goals to stream 3 as it's also about incentives and collaborations (the new 3.12, 3.13, 3.14 Goals)
Signed-off-by: Glenn ten Cate<EMAIL_ADDRESS>

Signed-off-by: Glenn ten Cate<EMAIL_ADDRESS>

CRob approves


noCleanup option

when testing components you usually want to use the thing in the browser as you develop, can't do that when every test wipes it out.

closing due to age


Could not run ROS2 Python Launch Debug configuration

{  "name": "ROS: Launch",  "type": "ros",  "request": "launch",  "target": "${workspaceFolder}/install/share/ixcom_driver/launch/ixcom_driver.launch.py" }
I get the following error,
ModuleNotFoundError: No module named 'ixcom_driver.ixcom_driver_publisher

Does it work if you run it in the integrated terminal?

Hello Allison Thackson,
Thanks for your quick response.
It does work in integrated terminal.
Even with ROS extension, from the command palette, ROS: Launch works.

I'm having trouble reproducing the error.
Commonly ModuelNotFoundErrors have to do with an incorrect environment setup.  Maybe try adding a task that runs "source install/setup.bash"  in .vscode/task.json
        {
            "label": "source",
            "detail": "Source the install directory",
            "type": "shell",
            "command": "source install/setup.bash",
            "problemMatcher": []
        }

And add this as a preLaunchTask in your launch.json file
    {
        "name": "ROS: Launch",
        "type": "ros",
        "request": "launch",
        "preLaunchTask": "source",
        "target": "${workspaceFolder}/install/share/ixcom_driver/launch/ixcom_driver.launch.py"
    }

Also, what version of the docker are you running?

I managed to run the vscode debugger for ROS. I think the problem was in the Pythonpath.
Thank you for your support.


Module 1 exercises [Agartha Addo]

Please "drag & drop" exercise 1 pdf file below.
Agartha-First Assignment.pdf

Please "drag & drop" exercise 2 pdf file below.
Agartha-second assignment.pdf

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 1 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Well done, Agartha. You clearly grasped the material outlined in Module 1 and successfully applied it to these exercises. There was a minor issue the coloring in exercise 1, but this can be fixed by adjusting the color ramp to be "reds" in the symbology tab. Thank you for your participation! Please be sure to fill out the post-Module survey before you begin the next Module.


Link to Tronity Platform doesn't work

The link to Tronity Platform to see or create the IDs doesn't work.
How I can get these information (clientID, SharedKey, VehicleID) ?

Sorry, Server was down ....

Please use app.tronity.tech


v2.25.2 Issue: Episode Descriptions Not Updating

Issue started with newest update of SmartRSS.
Episode descriptions are not updating when a new episode is selected. When I select an episode from one of my feeds, the title and link change to the episode selected, but the episode description, does not update. It continues to show the same description from the previous episode. Often the retained description isn't even from the same feed or the episode description is blank.
v2.25.2, used in Firefox 110.0.1 (64-bit), Windows 10

Still an issue, in both FireFox's and Chrome's current versions, a month later. :(


Not compatible with jQuery 3.0.0

I receive the following alert:
JQMIGRATE: jQuery.fn.bind() is deprecated

+1
it's deprecated, but it should be replaced for further jquery versions with on() for bind() and off() for unbind()


Add Counter Output Operator

Description of Changes
Adds a new output operator: counter_output
The purpose of this operator is to count the number of entries processed over an interval.
Proposed config:
pipeline:
- type: counter_output
   path: /optional/path/to/output/file # otherwise stdout
   duration: 1m # duration of the output

Please check that the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[ ] Add a changelog entry (for non-trivial bug fixes / features)
[ ] CI passes

May look into adding https://pkg.go.dev/expvar as another flag and thats what we publish. Not sure if its necessary on this first pass.


Zero wait timeout

If we want to create some resource but not wait for it to become
ready (which can never happen in some cases) the obvious solution
is to set timeout to 0. However, currently the minimum possible value
is 1

This change is

unit test added


Update dependent libraries to latest version

Update dependent libraries to latest version by running yarn-upgrade-all.
react-router has not been upgraded to version 4.x because there are major breaking changes since version 3.x.  I prefer a separate PR to update it.

@tylerlong Right.. I've actually just updated the dependencies this afternoon. The package.json may not always show the latest versions, but the actual version in yarn.lock points to the latest version if you examine carefully. Also note that gulp-mocha 4.x.x is incompatible with our current test setup with gulp-istanbul, eslint 4.x.x is incompatible with some of the eslint presets we're using, please don't upgrade those directly.

You're right that react-router should be a peer dependency and not listed as dependencies. It should rather be in peerDependencies object and in devDependencies for some npm users. The same is true for react-router-redux perhaps, this I am not very sure. I'll fix this issue in a separate commit.

Hopefully that was enough reason for me to just close the PR, if you have any more questions, feel free to raise an issue again.


how to use RGBA32F as an output texture?

How to use RGBA32F as an output texture?
I use bgfx::createTexture2D to create it and use createFrameBuffer to create its framebuffer, but nothing was rendered, is there any example to use it?

Make sure your texture is created with BGFX_TEXTURE_RT and don't forget to call setViewFrameBuffer.
Also, for questions like this one the Discord might be a better place to ask: https://discord.gg/9eMbv7J


taxonomy workflow

I think taxonomy analysis and visualization should be a separate workflow, but leaving this issue as a placeholder for now.

This is now in place in q2-taxa.


Manager for models

Fixes #3

Please make branch name reflective of the changes its trying to introduce

LGBT


Video, audio not getting recorded during interruption like Skype call.

Receive call or call from the device through Skype. Now open the application (SCRecorderExamples) and begin recording. Seems like, first segment recorded successfully but it isn't. Can not record again. Navigate to preview, no video will be shown. Delegate methods, recorder:didAppendVideoSampleBuffer: & recorder:didAppendAudioSampleBuffer: are not getting called.
If Skype calls arrives while recording, we can continue recording but there will not be any sound for the  video while playing on preview view.
While putting breakpoints here and there I got these two errors.
ERROR:     [0x103534000] AVAudioSessionPortImpl.mm:50: ValidateRequiredFields: Unknown selected data source for Port iPhone Microphone (type: MicrophoneBuiltIn)
End record segment -1, error : Error Domain=AVFoundationErrorDomain Code=-11821 "Cannot Decode" UserInfo=0x178271240 {NSUnderlyingError=0x17824b1f0 "The operation couldn’t be completed. (OSStatus error 560226676.)", NSLocalizedFailureReason=The media data could not be decoded. It may be damaged., NSLocalizedDescription=Cannot Decode}
Problems is in iOS7. When you set audioEnabled property of SCRecorder to NO, works perfectly but without sound.
Please look into this issue.

I have a same issue while phone call...my capture session stuck and do not record anything. Is there any solution for this??

@rFlex same problem ... but nothing solved for me


Make ExtraBar dark when using dark mode

Summary

Ticket Link

Checklist

[x] Added or updated unit tests (required for all new features)
[x] Has UI changes
[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Device Information
This PR was tested on:
Screenshots

Release Note

Hello @zoltan-ofir,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

/check-cla

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Closing in favour of #2718, includes the above changes.


I don't know how to import to use it on ionic 4

as the title says, I can't find the package to import and use it.

Add the wrapper in your module as a provider
...
import { ImageViewer } from 'ionic-native-image-viewer/ngx'
...
@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
  ],
  providers:[ImageViewer,],//here
  declarations: [PagePage]
})
export class MyModuleModule {}

inject it in your component like so
....
import { ImageViewer } from 'ionic-native-image-viewer/ngx'
....
constructor(private imageViewer:ImageViewer){

}
ngOnInit() {
//handling all images click event
$('#content').on('click', 'img',(event)=>{
        this.imageViewer.show(event.target.src);
})

}

Thank you!


add spring starter package for opencensus spring integration.

@songy23 you can release it now.

Got it, let's do it tomorrow morning :)


PROD Hotfix: Multiple advocates during e-filing and related payment

Changes required

During e-filling, a complainant can specify - "Number of Advocates". A place holder will be added where the red box is shown in the figure below. The default value will be one, with a validation that it cannot go below 1.

It is currently expected that only 1 vakalatnama will be uploaded for all, so no change in that logic.
The screen will have an added info box (green place holder), with the following text

Only advocate added here will have access and the ability to sign the case.
Payment for case, in particular the advocate welfare fund, will be calculated based on the number of advocates.

Based on the number of advocates specified, update the payment logic to the one mentioned below. Essentially the Advocate welfare fund logic will change.  The billing already has a head for "Advocate welfare fund". Just update the final amount there.
The advocate clerk welfare fund logic is already in place. no change to that.

Current logic
Vakalathnama Fee = INR 6,
Advocate Welfare Fund = INR 25
Advocate Clerk’s Welfare Fund = INR 12
Updated logic
Advocate Welfare Fund =
If 1 Adv. = Rs. 25
If 2 Adv. = Rs.  50
If 3 or more Adv. = Rs. 75
Vakalathnama Fee = INR 6
Advocate Clerk’s Welfare Fund = INR 12
@suresh12 @Taherabharmal

The info box will be as per standard design as below (use the text as mentioned in the ticket above. the figure is only to show how the info box looks)

Enhance the CourtCase entity to add a new field for now - advocateCount. Store the value provided in the screen here, and use this for payment calculations.
this is for the hotfix. In the later sprint, when we take up the feature in more detail. we will update this as required.

@atulgupta2024 - the application fee should be conditional to the delay condonation application being there. Presently, that logic is not there in the payment calculator. Can we update that too?

Having noted the comment from Aditi on Delay condonation application fees, this request is SIGNED OFF!!
To be Picked pu for development ASAP

@aditiphadnis93 @mehulseg24 please explain the delay condonation and related application fees logic, so that we can see if this can also be done.
@devarajd94 are any masters created for payment processing?
@manimaarans to handle the payment logic via a master data, here's a table that we can create

ID
Min_Count
Max_Count
Multiplier

1
1
3
1

2
4
null
3

to get the value from the table a SQL something like this will work (will need to modify based on our MDMS schema)
SELECT Multiplier
FROM Calculation_Rules
WHERE count_value BETWEEN Min_Count AND COALESCE(Max_Count, count_value)
LIMIT 1;

In the payment calculator, the application fee should be applied only if the delay condonation application has been uploaded. Else it should be null. @mehulseg24 - please check.

@aditiphadnis93 the delay condonation fees part is already handled.

Hi  @atulgupta2024  My doubt here is like for 1 advocated details are being added. ideally if count increases the details of all those also should be added . Let's say count is 3 and details will be only for 1 advocate ?
cc:- @anirudh-0 @Ramu-kandimalla

@shambhavigoel1002 yes, those details are required, but that will happen later because there are other implications in terms of access right, primary secondary advocates, separate or duplicate vakalatnamas, vakalatnamas in case bundle, payments during join a case etc etc.
to keep things simple for hotfix, right now, we will do just a head count.

Hi @atulgupta2024 @Ramu-kandimalla  PFA the screenshot for the changes

Hi @atulgupta2024 please check screenshot with infobox

cc:- @Ramu-kandimalla

@shambhavigoel1002 please insert blank space after full stop.

Hi @manimaarans , @nileshgupta111 , @shambhavigoel1002 ,
please find the list of issues identified
https://github.com/pucardotorg/dristi/issues/2545
https://github.com/pucardotorg/dristi/issues/2544

for party in person scenario. there will be no advocate, no vakalatnama.
hence the number of advocates can be set to 0, in this case.
if we can handle something like
party in person - advocate count 0
not party in person - advocate count minimum 1. can be higher number.

Advocate, Advocate Clerk's welfare fund = Amount x Number of advocates entered in the placeholder
There is one document uploaded by the advocates during e filing as vakalatnama. The amount to be calculated based the number entered in the placeholder for number of advocates @manimaarans @radheshjoshi1

No placeholder should have the number of advocates (1,2,3 etc)
The Vakalatnama fee should be number of advocates x respective amounts (Vakalatnama fee, Advocate welfare fee, Advocate clerk welfare fee etc)

@atulgupta2024 thanks for correcting. Just confirmed with the team. I have updated the above comment. @manimaarans

@manimaarans i am not aware of internals/design details of payment calculator and hence cannot comment on the need for a field for not. I would ideally expect it to be passed to it for calculations.

@iknoorkaur thanks. hope that you have tested with 3 and more than 3 advocates also?
also the screen shot where the values are 0, is for the party in person scenario.

great, thanks.

In the above images @iknoorkaur, The amounts are incorrect
Advocate welfare fund cannot be 6, it should start from 25 and go till 75
@Ramu-kandimalla - What's pending in QA Sign-off for this?  The HotFix has been open since last week.
CC: @suresh12

Think the text. an be: Only the advocate selected here will have access to the case. The fee for the Advocate Welfare Fund will be calculated based on the number of advocates.
Agree with Mehul that the field for number of advocates should be a counter, but we can take that up later.
Are there implications for Join a Case we need to test/consider?

@anshumanth-egov join a case will need a close relook, because it should include payment, ability for additional advocates to join and we also need to think about implications on case bundle if multiple advocates keep updating the same vakalatnama, that all of them have signed. Will need to check with Abhishek on case bundle

Currently only 1 advocate filing scenario has come , once more than 1 advocate files , will confirm


Allow C0 - C2 steadiness grades for splining

From<EMAIL_ADDRESS>on August 26, 2011 14:14:34
Allow C0 - C2 steadiness grades for splining. The values should be defined (optional) in CPACS.
Original issue: http://code.google.com/p/tigl/issues/detail?id=41

We decided against implementing this feature. Instead, guide curves can help to create smooth geometries.


get_regions' lower debug level may be more friendly!

When I start cloud-hypervisor with vfio device, I got a debug msg as below:
cloud-hypervisor: 1.093175045s: ERROR:/root/.cargo/git/checkouts/vfio-ioctls-4ac8086fd7be4d50/f6f81ee/src/vfio_device.rs:546 -- Could not get region #8 info
As there is no  VGA Region, and there is no need to pop out a ERROR msg.
the orgin code as below:
https://github.com/cloud-hypervisor/vfio-ioctls/blob/f6f81ee865cb60a24ad5d4ba8200940ed1d5d1f4/src/vfio_device.rs#L546
maybe, warn!() is better!
warn!("Could not get region #{} info", i);

maybe, warn!() is better!
warn!("Could not get region #{} info", i);

Agreed. Could you please submit a PR for that?

Hi, @sameo ,
I am sorry to reply late, and I am happy to submit the PR.
My Pull Request: get_regions's lower debug level maybe more friendly.
I have submitted it, please review my code.
Thx!

/close


Support for external document root

This code change allows usage of external document roots (like http://example.com). The existence of the file and the last modified date are requested correctly with these changes.

Just us the ?w=1 option to view the diff :wink:


Is it time to drop YTC?

It seems like YTC is getting worse with each update. Every time a new version comes out, none of the bugs we ask to be repaired are fixed. Instead, they keep adding new pointless features and even MORE bugs become introduced.
https://github.com/YePpHa/YouTubeCenter/issues/1986
https://github.com/YePpHa/YouTubeCenter/issues/1902
https://github.com/YePpHa/YouTubeCenter/issues/1568
None of these issues have been fixed over the past 30+ updates over a period of five months.
I'm seriously considering dropping YTC if they're not going to start cleaning out persistent bugs.

So do so?
On Wed, Aug 12, 2015 at 5:54 PM, GrahamFinch<EMAIL_ADDRESS>wrote:

It seems like YTC is getting worse with each update. Every time a new
version comes out, none of the bugs we ask to be repaired are fixed.
Instead, they keep adding new pointless features and even MORE bugs become
introduced.
#1986 https://github.com/YePpHa/YouTubeCenter/issues/1986
#1902 https://github.com/YePpHa/YouTubeCenter/issues/1902
#1568 https://github.com/YePpHa/YouTubeCenter/issues/1568
None of these issues have been fixed over the past 30+ updates over a
period of five months.
I'm seriously considering dropping YTC if they're not going to start
cleaning out persistent bugs.
—
Reply to this email directly or view it on GitHub
https://github.com/YePpHa/YouTubeCenter/issues/2002.

Please keep criticism constructive and on-topic.  I understand that development is currently slow and this can be frustrating, but there is only one person who mainly does the development and opening issues like this won't help bring any change to the problem.
Thanks.


Household naming settings don't exist on fresh install.

To reproduce:

Do a fresh install or uninstall/install in the manner of this Jenkins build: http://ci.salesforcefoundation.org/view/uat/job/Cumulus_uat_browsertests_deploy/

Navigate to a Managed Household URL, for example https://npsp.n34.visual.force.com/apex/HH_ManageHHAccount?scontrolCaching=1&id=account_id

See error "npsp:DML currently not allowed" as a result of the call to

13:58:16.099 (99969874)|DML_BEGIN|[419]|Op:Upsert|Type:npsp__Household_Naming_Settings__c|Rows:1

Go to NPSP Settings/People/Households/Household Settings, click Edit and click Save

Navigate to the Manage Household URL again.

No DML error appears

Household_Naming_Settings__c need to be added to the post install script.

Included in beta release version 3.50 (Beta 2) and higher

Included in production release version 3.50


Bundle jemalloc

This commit discards "--with-jemalloc" option of Ruby, it seems hard to
use with libjemalloc in non-standard directory. Revive LD_PRELOAD
instead.
Fix #29
Signed-off-by: Takuro Ashie<EMAIL_ADDRESS>

This commit discards "--with-jemalloc" option of Ruby, it seems hard to use with libjemalloc in non-standard directory.

I'm also trying "--with-jemalloc" option in https://github.com/clear-code/td-agent-builder/commit/c04dae8eec4353fc887d5040f16046908de3e53b but not yet succeed. I met various issues with this option.


Mooncake + Logic App + Azure Blob Storage V2 can't create a connection using service principal, I see the global endpoint("error_uri":"https://login.microsoftonline.com/error?code=90002") in error message

Describe the Bug with repro steps

just add a Azure Blob Storage V2's action, such as create blob,
next you will be promted to create a connection, pls check service principal in "Authentication Type".

in both Consumption and Standard
What type of Logic App Is this happening in?
Consumption (Portal)
Are you using Preview Designer or GA Designer
Generally Available
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos

Browser
Chrome latest version
Additional context
No response
AB#24187921

Hi @MeihuaWang, I'm curious if you are able to create a valid connection using legacy designer with the same connection parameters, could you navigate to your app through https://aka.ms/lafallback, if it does not work there either you either have an incorrect tenant ID or this is  a backend issue that we'll need to notify them about

Hi @MeihuaWang, I'm curious if you are able to create a valid connection using legacy designer with the same connection parameters, could you navigate to your app through https://aka.ms/lafallback, if it does not work there either you either have an incorrect tenant ID or this is a backend issue that we'll need to notify them about

thanks for your quick response, but I'm using Mooncake portal not the global's, could you pls create a mooncake fallback link for me to test out just as @hartra344 commented, thank you.

@MeihuaWang Here is a fallback link for you to use to test in legacy designer => https://aka.ms/lafallback-mc

@MeihuaWang Here is a fallback link for you to use to test in legacy designer => https://aka.ms/lafallback-mc

thank you for offering the fallback link, but it turned out that it's still not working, it's evident there's a bug in it when using service principal to create connection with storage account, hopefully it can be addressed soon, many thanks.

@MeihuaWang was this working previously?

@MeihuaWang was this working previously?

we don't know, I guess not, this is our first time trying creating connection to storage account by using service principal


Repo not visible

Dev Home version
0.503.261.0
Windows build number
10.0.22621.2361
Other software
OS Build Version: 10.0.22621.2361.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.21
Steps to reproduce the bug
I cloned a repo, it showed go to dashboard, did not see it there
Expected result
I was expecting a widget of that repo
Actual result
I say nothing
Included System Information
Physical Memory: 7.77GB (1.31GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_0.503.261.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.501.261.0_x64__8wekyb3d8bbwe

See #1049, would that solve this issue?

Yep
On Tue, 10 Oct 2023 at 23:42, Alexander Sklar @.***>
wrote:

See #1049 https://github.com/microsoft/devhome/pull/1049, would that
solve this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/devhome/issues/1627#issuecomment-1755977429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWCV3QFYG7H3GCKZAA5NCADX6WFXPAVCNFSM6AAAAAA5NSMGQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVHE3TONBSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Duplicate of #702


locale problem in django 1.6.11

I was define my config.json as:
{
  "locale": "es"
}

when I execute from command line:
$ cactus messages:make

the result is locale with two folders inside:
e/    s/

NOTE: if the language code is 'en'... the folders would are "e/    n/"

This is due to a bug in cactus. A simple workaround is:
django-admin.py makemessages -l es

This will update/create the po file for you.

I provided a fix and created a pull request for this bug:
https://github.com/eudicots/Cactus/pull/267


incompatibility with jQuery position() method

Situation:

After applying the ResizeSensor to an element $("#parent"),
a child element's top position results in "0"
when checked with jQuery method
$("#child").position().top
This works correctly, however when ResizeSensor is applied to the child element itself.

Maybe because the resize sensor makes the element positioned relative (as stated in the readme)?

Thank you very much!
I need to use .offset() instead of .position()


$30 == 0xFFFFFFFF at start which is not a multiple of 4

For example sw $1, -4($30) doesn't work without [DEBUGGER]: r 30 0x100000 at a breakpoint of 0x0. This makes the stack pointer almost useless.

Oops. I really should fix that. c1013f11cada6593384563a3b908c4ff8ed81456


Transformations

Hi,
This is more of a question than an issue and I'm new to ELK so may be somewhat nieve.  I've inherited a codebase that uses serilog to log large arbitrary objects when writing log statements. Usually these represent the state the method is in (local variables, etc). Each log is different and the names of variables are not standardized across all statements. Sometimes large complex object graphs are logged.

I guess the first question is,  is serilog meant to be used in this way? I see the benefit of having the field structured in the index when that field is standardized and can be aggregated or queried, but not so much when I just want the values logged to the 'message' field. (Which is analyzed in es anyways)
Is there an issue with having a few thousand fields in an es index. And should I be changing these log messages so that they don write arbitrarily deep structures?
Should I manually create the index and allow serilog to push whatever documents it likes but only index on the fields I am interested in standardizing and querying outside of the message field.

Thanks very much

Hi Brent,
I can't answer the ELK questions, but regarding the first part of 1), no, that's not really the design intention for Serilog.
It can be done, but the goal for Serilog's object graph serialization is to improve the machine readability of log events with interesting data that you'd otherwise normally format into unstructured text, not to capture large/complex object graphs.
As a rule of thumb - if you'd bother converting the data to some string format for inclusion in a traditional text log, then Serilog should handle recording that same data in structured form.
So, say, if the code records a user login and we want to log the username as well as the internal id of the user, then logging a structured User property with Name and Id seems fine to me. Likewise if we're starting up and want to log the list of configuration servers we're about to probe, then Servers structured as s list of hostnames is great. In these cases I'd historically have written the same data out to the log just by formatting it into the message, and Serilog makes the event more useful by preserving the structure.
As a counterexample, I haven't worked with many systems where it's been desirable log e.g. entire messages from a service bus, or entire web requests from clients, except in perhaps the most extreme, all-else-has-failed debugging scenario. Pumping these kinds of things out into a text log would be pretty commonly recognised as a questionable practice I think. Serilog's not much different here - the purpose of the log and the natural limitations WRT event size and so-on remain, even though the format is more modern.
Hope I've understood your question correctly and not just hit you with a wall of text :-O ... hope this helps! :-)
Nick

Thanks very much Nick, you validated what I was thinking. Looks like I'll have to start simplifying some of these log statements.