Delayed Screenshot for new collection log pop-ups

I really love the pop-ups and it'd be awesome if runelite could trigger taking the screenshot on new collection log items to include the pop-up :)

Duplicate of #13789


onRegionChange is constantly called on Android after touching map

This happens, when the following props are set:
zoomEnabled={false}
rotateEnabled={false}
scrollEnabled={false}
pitchEnabled={false}

After inspecting of the Java code I found that startMonitoringRegion was called, but because the camera never changed, stopMonitoringRegion never got called. This caused onRegionChange to be called continuously until the camera was changed. But because no input was possible because of the props, the camera never changed. Even after the component was unmounted, that particular java code was still being executed.

This issue is fixed by PR #1710


passing empty graph to get_nearest_node

Greetings,
First, I would like to thank you for such wonderful and organized tool. It is very useful for my research.
To reproduce the issue, pass an empty graph to get_nearest_node function
ox.get_nearest_node(nx.Graph(), point2, return_dist=False)
it will output an error similar to the below
File "/home/ubuntu/.local/lib/python3.5/site-packages/osmnx/utils.py", line 356, in get_nearest_node
    df = pd.DataFrame(coords, columns=['node', 'x', 'y']).set_index('node')
  File "/home/ubuntu/.local/lib/python3.5/site-packages/pandas/core/frame.py", line 306, in __init__
    copy=copy)
  File "/home/ubuntu/.local/lib/python3.5/site-packages/pandas/core/frame.py", line 483, in _init_ndarray
    return create_block_manager_from_blocks([values], [columns, index])
  File "/home/ubuntu/.local/lib/python3.5/site-packages/pandas/core/internals.py", line 4303, in create_block_manager_from_blocks
    construction_error(tot_items, blocks[0].shape[1:], axes, e)
  File "/home/ubuntu/.local/lib/python3.5/site-packages/pandas/core/internals.py", line 4278, in construction_error
    raise ValueError("Empty data passed with indices specified.")

I would kindly suggest get_nearest_node to output a friendly error message such as 'Graph passed is empty' in my opinion.
In my case, I am trying to find a nearest neighbor to a given node, and a given location (point2 in example). So
import osmnx as ox
ox.config(log_console=True, use_cache=True)
G = ox.graph_from_place('Beijing, china', network_type='drive')

point1 = (40.021889999999999,<PHONE_NUMBER>0000001)
source_node = ox.get_nearest_node(G, point1, return_dist=False)

point2 = (40.054729999999999,<PHONE_NUMBER>9999999)
destination_node = ox.get_nearest_node(G.neighbors(source_node), point2, return_dist=False)

source_node unfortunately had no neighbors, thus, G.neighbors(source_node) produced an empty graph which produced the error.
Thank you for your time.

Sure. I think get_nearest_node could either have a quick check that the passed graph is not empty, or we could update the docstring to specify that the graph cannot be empty. I'm open to either. Would you like to contribute a PR as this should be a very simple fix?

created my first PR on github :). I hope I did not miss any step in the contributing guidelines. Thanks!


Potential issue where slow network processing can slow down user op processing significantly

Issues noticed

A lot of people at once
Balance was updated but transactions pending

Transactions appearing on chain

In DB, block numbers far behind/updating very slowly

restarting didn’t do anything

No CPU usage spike on server
No RAM usage spike on server

Potential issues

Too many transfer logs on a single indexing loop

USDC + EURe on the same loop

Too many user ops submitted at the same time

We wait for Tx to be mined in the user op submission loop

Fixes

Too many transfer logs on a single indexing loop

a single server per community
index using web socket instead of polling blocks

Too many user ops submitted at the same time

message queue should process in batches
message queue should handle nonces manually so it can process transactions asynchronously

Tested on Gratitude token, we are able to run the indexer on a t4g.nano instance (2 CPUs 512GB RAM) which costs roughly $3.30/month.


build: Bump ws to 6.2.2 due to ReDoS vulnerability

Summary
A moderate vulnerability was found in all versions of ws below 7.4.6 June last year. React native current uses v6.1.4 which is susceptible to it, fortunately this security fix has been backported to v6.X.X and we don't need to upgrade any major versions/worry about breaking changes. This PR bumps ws to 6.2.2 (CHANGELOG) due to this ReDoS vulnerability
More information about this vulnerability can be found here -> https://github.com/advisories/GHSA-6fc8-4gx4-v693
Closes https://github.com/facebook/react-native/issues/31646
Changelog
[Internal] [Security] - Bump ws to 6.2.2 due to ReDoS vulnerability
Test Plan
Ensure WebSocket tests are working as expected

Hey @gabrieldonadel, can I ask you to rebase? The CI should be green then.
I'm also handing this over to @jacdebug for merging as ws is a quite of a tricky dependency of ours.


Add home icon to main menu

Let's add a home icon to main menu:
DARK
Normal

Hover: #1f9385

Active: 1f9385 50%

LIGHT
Normal:

Hover: #1f9385

Active: 1f9385 30%

Arrows: #1f9385 on both themes.

Let's consider this again if it's needed because Ruuvi logo already does the same?

Let's close this one for now. I see no use for this icon because currently the Ruuvi logo does the same.


userdelegationkey feature

image mcr.microsoft.com/azure-storage/azurite:3.7.0
POST to /devstoreaccount1?restype=service&comp=userdelegationkey HTTP/1.1
Exception:
Azure.RequestFailedException: 'Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues
RequestId:7fc4bfc5-db34-49c9-b183-a96d14c8d64a
Time:2020-04-23T10:40:02.610Z
Status: 500 (Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues)
ErrorCode: APINotImplemented
Headers:
Server: Azurite-Blob/3.7.0
x-ms-error-code: APINotImplemented
x-ms-request-id: 7fc4bfc5-db34-49c9-b183-a96d14c8d64a
Date: Thu, 23 Apr 2020 10:40:02 GMT
Connection: keep-alive
Transfer-Encoding: chunked
Content-Type: application/xml

@estet
Thanks for the raise the feature request!
We will track this feature with other new features.

@blueww Hi
We are trying to use the batchdelete function and ended up in
Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues
RequestId:9a932926-a7b1-49aa-8c3e-4388844aa170
Time:2022-02-14T15:44:31.712Z
Status: 500 (Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues)
ErrorCode: APINotImplemented

Content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Error>
  APINotImplemented
  <Message>Current API is not implemented yet. Please vote your wanted features to https://github.com/azure/azurite/issues
RequestId:9a932926-a7b1-49aa-8c3e-4388844aa170
Time:2022-02-14T15:44:31.712Z</Message>
</Error>

Headers:
Server: Azurite-Blob/3.15.0
x-ms-error-code: APINotImplemented
x-ms-request-id: 9a932926-a7b1-49aa-8c3e-4388844aa170
Date: Mon, 14 Feb 2022 15:44:31 GMT
Connection: keep-alive
Keep-Alive: REDACTED
Transfer-Encoding: chunked
Content-Type: application/xml

@chatchathu199162
Delegation SAS is still not supported. It's listed in "features or REST APIs are NOT supported or limited supported" in https://github.com/Azure/Azurite#support-matrix
Azurite welcome contribution.
It would be great if you can raise a PR to implement this in Azurite.
The API interface is: https://github.com/Azure/Azurite/blob/29395175764fc1feaa6ca8fac661c6fb7995def5/src/blob/handlers/ServiceHandler.ts#L62
The blob SAS validation is in: https://github.com/Azure/Azurite/blob/main/src/blob/authentication/BlobSASAuthenticator.ts

I am still not able to use the getUserDelegationKey in my Java application, I get a internal sever error. Is the feature not yet implemented?

@mynameisheisenberg
This feature is still not in Azurite.
We are working on it. Will update later.

The feature is already released in https://github.com/Azure/Azurite/releases/tag/v3.21.0

@mooweek I have it working with the C# SDK. Can you share how you are using the SDK?

@MooWeek I have it working with the C# SDK. Can you share how you are using the SDK?

Connect AzureClient
services.AddAzureClients(builder =>
            { builder.AddBlobServiceClient(new Uri(https://localhost:10000/devstoreaccount1/))
                         .WithCredential(credential).WithName("BlobUpload");

credential =
new DefaultAzureCredential(new DefaultAzureCredentialOptions
{
    ExcludeVisualStudioCredential = true,
    ExcludeVisualStudioCodeCredential = true,
    ExcludeInteractiveBrowserCredential = true,
    ExcludeSharedTokenCacheCredential = true
});

and the trying to get UserDelegationKey
await _blobServiceClient.GetUserDelegationKeyAsync(startsOn: null, expiresOn);
Using debuggin find out that in Azure.Core.Pipeline.HttpPipeline.SendAsync()
public ValueTask SendAsync(HttpMessage message, CancellationToken cancellationToken)
        {
            message.CancellationToken = cancellationToken;
            message.ProcessingStartTime = DateTimeOffset.UtcNow;
            AddHttpMessageProperties(message);

            if (message.Policies == null || message.Policies.Count == 0)
            {
                return _pipeline.Span[0].ProcessAsync(message, _pipeline.Slice(1));
            }

            return SendAsync(message);
        }

condition
 if (message.Policies == null || message.Policies.Count == 0) always try, and never get into SendAsync(message) and after that getting "error 400 Bad Request"

One difference I spot with my code is that you put startsOn on null can you try to change that to DateTimeOffset.UtcNow and see if it helps resolve your issue?

The Start and Expiry are required in API get-user-delegation-key:
https://learn.microsoft.com/en-us/rest/api/storageservices/get-user-delegation-key#request-body

Now it works! Thank`a a lot

FWIW the java sdk docs state that a null start parameter means an immediate start:  https://learn.microsoft.com/en-us/java/api/com.azure.storage.blob.blobserviceclient?view=azure-java-stable#com-azure-storage-blob-blobserviceclient-getuserdelegationkey(java-time-offsetdatetime-java-time-offsetdatetime)
However, thanks to this thread, I found that I need to set a non-null start when working with Azurite.


[docs] Update mapping documentation

Originally reported by @Sgoettschkes in doctrine/mongodb-odm-documentation#54
As mentioned in #46, the mapping documentation lacks at least the collection type. It would be good if the documentation would be compared to all the mapping types in the doctrine odm and updated accordingly.

This appears to be fixed: http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/annotations-reference.html#collection


template xml.j2-file examples missing

Dear @guidugli,
I was browsing for a role to install kvm, and your role looks like up-to date and comprehensive. I didn't test it yet.
To me, it seems that the example jinja templates for xml.j2 files are missing. In defaults/main.yml one can see many commented out references to .xml.j2 files.
Could you share examples?
Thanks!
- Simppa -

Hi @sjjamsa ,
Thank you for your suggestion, I will update the readme page.
The VM templates are the VM XML definition files located /etc/libvirt/qemu.
The Network templates are the Network XML definition files located at /etc/libvirt/qemu/networks.
And Storage (pools) is similar, the template is equal to the storage XML definition files located at /etc/libvirt/storage.
The way I use it, I create a templates directory with this structure:
templates/vms
templates/pools
templates/networks
Then you place the template files in the corresponding folder. The files should have .j2 extension. I used templates instead of files so users can use variable substitution, if necessary.


Make subsequent unpacking of Any faster

There are cases when we repeatedly invoke AnyPacker.unpack() on an Any instance. This happens, for example, when we obtain a type of a Signal that we're processing.
Even though, Any handles the caching for us, the AnyPacker still performs these operations:
TypeUrl typeUrl = TypeUrl.ofEnclosed(any);
Class<? extends Message> messageClass = typeUrl.getMessageClass();

We can improve it by one of the following scenarios:
Option 1. Look into the Any's field cachedUnpackValue (which is private, BTW) and it's non-null, return its value. Since we don't pass the class when unpacking, having a value would mean the previous call for unpacking was successful. Since it's going to use Reflection, it may be a bit slow too.
Option 2: Have a limited size cache which would map an instance of Any to extracted value.

On server-side it can be addressed much easier using Kotlin extension functions.
And we don't need this ability on client side because all is needed is the ability to subscribe to messages which are already unpacked.


Clarify how coordinate rounding works in variations

In OpenType Font Variations Overview: Coordinate Scales and Normalization, we read that “implementations must observe the following [7] requirements”. Point number 7 includes the note:

It is recommended that … any rounding be done at the last point before a value is used

There is undesirable non-specifity about the meaning of “any rounding” (which rounding? is it required?) and “a value is used” (used by a renderer? used by an end user?). I recommend that this clause is expanded into its own point 8.
Given the rounding to 2.14 and 16.16 that is also taking place, it would be useful (if that is the intention) to specify that rounding means rounding to integral glyph coordinates in FUnits.
It seems to be an assumption, though I don’t think it is stated explicitly, that all instances should be faithfully representable – at least in terms of their glyph outlines – as static fonts.
Now, TrueType-flavour fonts require integer glyph coordinates, so it probably makes sense to require that instances derived from TrueType-flavour variable fonts use integer coordinates. It would be good to check whether all common implementations perform this rounding.
On the other hand, non-variable CFF2 fonts do not require integer coordinates, so glyph coordinates in instances made from CFF2 fonts may not need to be rounded. Again, it would be useful to check implementations for actual practice.

I'm not sure what change in the spec might be appropriate to address the "undesirable specificity".

which rounding? is it required?

The guidance being given is for calculation of normalized instance values, and then point 7 touches on "subsequent calculations — calculation of interpolation scalars or accumulation of scaled delta values". No rounding is required during those calculations, though an implementation might have implementation-specific reasons for rounding at some point between when the normalized instance vector is calculated and when derivative values (a varied contour point coordinate, a varied ascender value...) are "used". The only case I know of in which rounding would be required would be if calculating an instance value for some item and then passing that through an API or representing it in some data format that constrains precision (e.g., requires integers). Exporting a derived instance font using TrueType outlines would be an example.
But is anything needed in the spec to clarify this?

Thanks for this. Since I created the issue (2020), I’ve realized that (some, maybe all) rasterizers intentionally do not produce integer outline coordinates in instantiated outlines. This presumably also applies to MVAR, GPOS and metrics.
I wonder if this non-requirement should be communicated better, perhaps in OpenType Font Variations Overview, since in many places there is the clear idea is that an instance behaves exactly like a single static font (which at least in the TrueType world, requires integer coordinates). It would be useful to confirm whether all common rasterizers behave the same way in this respect.

Since there are questions, I've drafted an additional note in the OTVar Overview chapter providing some clarification. I don't think the spec should get into documenting what different implementations do, but it can call out that differences can occur.
See OT 1.9.1 alpha for draft revisions addressing this issue.

This is fixed in OT 1.9.1. See the OT 1.9.1 beta for draft revisions addressing this issue.


feat: adding shottr extension

Description

This PR add support to the Shottr Application.
Screencast

When Shottr isn't installed

awesome-screen-recorder---Buscar-con-Google.webm
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@pernielsentikaer I updated the code and also I added a screenshot to the PR and the metadata folder.


opae-sim: add ase tests cases

Signed-off-by: anandaravuri<EMAIL_ADDRESS>

How do these work? Is there some test harness that picks them up?
Is the RTL simulator required, or do these work with just the generated libopae-c and no connected simulation?

How do these work? Is there some test harness that picks them up?
Is the RTL simulator required, or do these work with just the generated libopae-c and no connected simulation?

moved ASE test cases from OPAE-SDK to OPAE-SIM,
Decoupling ASE from OPAE_SDK and  ASE will be built itself in feature
No dependency with OPAE-SDK


GPIO electrical configuration

Is there support for electrical configuration of GPIO pins (e.g. enabling pull-up resistors on the Raspberry Pi)?
If I look at https://www.kernel.org/doc/html/v5.3/driver-api/gpio/driver.html#gpio-electrical-configuration this should be possible, right? Or is that a different API? (I'm still figuring out the kernel GPIO APIs, so forgive me if I'm mixing up things :slightly_smiling_face:)

@dbrgn Nope, this isn't part of the userspace API.  Typically, this is done via devicetree as part of the board setup for custom hardware.  For hobbyist boards which are less fixed there are DT Overlays.  Configuration of these characteristics of GPIOs are often highly IP chunk dependent as the pin config usually requires muxing, etc.
https://www.raspberrypi.org/documentation/configuration/device-tree.md

Ok, I might have spoken a bit too soon as some new stuff landed in kernel 5.5.  I'll leave this open and get back to it once I do some more reading.

https://microhobby.com.br/blog/2020/02/02/new-linux-kernel-5-5-new-interfaces-in-gpiolib/ has a nice summary (libgpiod focused).  There's a new V2 ABI for GPIO which we'll need to update to support (while keeping some compatability with the V1 ABI for older kernels).

Hi, I have a work project that depends on internal resistor setup. Was some work done on this or should I just fork.

There have been some discussion over at #68, I am not sure if some progress has been made.

Was some work done on this or should I just fork.

Care to elaborate on what "just fork" means? I'm going to assume that you mean "just [click the] fork [button on GitHub and send a pull request]".


Enum parameter value is of type Int64?!

Is this indentend?
Wouldn't an Int32 value be better suited?
E.g., assume you have an IParameter element of type Enum and what to 'print' both its numeric value as well as the Enum key name. You would have to first cast the parameter.Value to a long and then to an int to access the paramater.EnumMap dictionary...
parameter.EnumMap[(int)(long)parameter.Value].Key
To me this looks unnecessarily complicated - or is there a greater reason behind?

This is all according to the Ember+ Spec. Integer parameters have 64bit values, but the EnumMap is restricted to 32bit values. I agree that this is nonsense (EnumMap should be 64bit too), but I stick to the spec whenever possible. I would suggest you use EnumParameter if possible in your scenario.


Add in a retry queue for clusterOps

Resolves #560
Fix the last remaining to-dos for safe lockable cluster operations. (Rolling Upgrade, Scale Up, Scale Down)

Make the locks expire after a certain time (10 minutes), but when they expire they are put in a retryQueue.
Other clusterOps will be run while its in the queue, but when no other clusterOps have to run, it will be pulled back off the queue.
If a newer version of a clusterOp is available, the queued one should be abandoned in favor of the newer command. (scale up 3 ->5, queued, then scale down 5 -> 3, the scale up should not be continued if a scale down is necessary)

TODO:

[x] Retry Queue Implementation
[x] Replace ClusterOp with a newer version of the same op, if one exists
[x] Integration tests
[x] Documentation for user expectations
[x] Change log

@radu-gheorghe If you are interested!

I am, thank you! I'll take a look this week, thanks for poking me.

My 2 cents:

good stuff, I think a queue is needed, thanks for implementing it 🙏
I think it's awesome that you added docs about how things work!
Do we need to retry operations? I'm thinking that if we just dropped operations that e.g. timed out or errored out, the reconcile loop will naturally retry, no? Especially in the context of HPA, I bet it re-evaluates whether the current cluster has enough horsepower
Along the same lines, is there a priority that's linked to different kinds of requests? For example, if we had a scaleUp operation and a scaleDown operation came about, I would assume that whoever came last should win. And that maybe a rolling upgrade (if started) should ideally complete before we start scaling, otherwise we might get in trouble?

Either way, I can't wait to try this autoscaling in more complex setups 🤓 Exciting stuff!

Do we need to retry operations? I'm thinking that if we just dropped operations that e.g. timed out or errored out, the reconcile loop will naturally retry, no? Especially in the context of HPA, I bet it re-evaluates whether the current cluster has enough horsepower

So yes, in a lot of cases, the operator will notice that the state of the cluster is not in the correct place if an operation is stopped. (e.g. if you are doing a scale down, the cluster won't be scaled down. If you are doing a rolling restart, not all pods will be up-to-date). If these clusterOps get deleted, the Solr Operator will re-create the clusterOp because the SolrCloud is not in the correct state.
However there are some operations that don't have their state as readily-available to the operator. For example in a scale-up operation, the first step is to scale up the cluster to the new number of pods. Then the operator will call a BalanceReplicas command. If that fails, and the operation is dropped, the operator does not know that the cluster is imbalanced (because the StatefulSet has the correct # of pods). Therefore it doesn't know that it should try to redo the balanceReplicas command again. This is the perfect use case for a "retry" queue.
Also in the case that we have more cluster operations in the future, a queue lets us know the operations that we have tried and are waiting to do in the future. Example: We have cluster operations A, B and C, and all need to take place. (and they have the ordering preference of A -> B -> C). Both A & B are failing, and need C to occur first before A & B can succeed. If we don't have a queue to know what is waiting to run in the future, then we will always flip between A & B. (A fails -> so skip it and start B. B fails -> pick the next cluster operation which is A. We have no clue that A was failing before, so we have no reason to not choose to run it next.) C will never get a chance to run. If we have the queue, then A will fail, and be added to the queue. Then we will go through the necessary operations, skipping A because it is queued and B will be chosen. When it fails, it will be added to the queue. Then the operator will go through the necessary operations skipping A & B because they are queued. C will be chosen to run, and succeed. Now A will be retried. When it succeeds, B will be retried.

Along the same lines, is there a priority that's linked to different kinds of requests?

Yes, absolutely! So basically if the scaleUp happens first, and we have started the operation, we at least need to wait until its in a stoppable state (which the retryQueue already does). Once it can be stopped, we go through and see if any other operations need to take place while it is stopped. The operator will see that a scaleDown needs to occur, and since scale operations override eachOther, the queued scaleUp will be replaced by the new scaleDown operation. So the scaleDown will ultimately win, it just has to wait because we need to make sure that data isn't in transit while we are switching from the scaleUp to the scaleDown.

... And that maybe a rolling upgrade (if started) should ideally complete before we start scaling, otherwise we might get in trouble

Once again, yes! So the rolling upgrade comes first in the list of things to take care of. So if at the exact same time a user increases the podCount of the SolrCloud and changes something about the podTemplate, then the rolling restart will take precedence over the ScaleUp.
However a rolling restart can take a while, so the "timeout" might happen, which will give the scaleUp a chance to start in the middle. Maybe we only actually "queue" the operation for later if the Solr Operator encounters an error. If it sees no error, then it won't queue the operation.
OR even better idea. there are 2 timeouts:

1 minute for an operation that sees an error
10 minutes for an operation that does not see an error

Once again these are "soft" timeouts, so they will eventually be retried. But the 10 minutes gives us a better guarantee of order-of-operations, as you mentioned, for operations that are running without issue.
I'll look into doing this ^ now. Good call out.

Thanks for explaining! It makes sense. I actually saw somewhere in your patch that you only allow one scaleUp/Down.
Down the road, maybe timeouts can be configurable? I'm thinking that especially the one for operations that don't see an error is important (with a long default) because in a large cluster, rebalancing can take hours.

Down the road, maybe timeouts can be configurable? I'm thinking that especially the one for operations that don't see an error is important (with a long default) because in a large cluster, rebalancing can take hours.

I think that's a good idea, but definitely for the future!


[tracking] 4.7.0-0.okd-2021-03-21-094146

Issues fixed:

[ ] #405
[ ] #548
[ ] #552
[ ] #540

Notable unresolved issues:

[ ] #430
Changing default HW version in vSphere breaks OpenshiftSDN
[ ] #322
oc reports invalid version

https://amd64.origin.releases.ci.openshift.org/releasestream/4-stable/release/4.7.0-0.okd-2021-03-21-094146
https://github.com/openshift/okd/releases/tag/4.7.0-0.okd-2021-03-21-094146
For some reason mac and windows installers were not built - this would be addressed in the follow up releases


description/qtff: Check that creating the wave extension succeeds

Found with Infer.
Fixes:
    codecs/description.c:1772: error: NULL_DEREFERENCE
       pointer wave last assigned on line 1769 could be null and is dereferenced at line 1772, column 76

Applied. Thanks!


Execution failed for task ':app:transformClassesWithMultidexlistForRelease

Description
i tried
ext.flutterFFmpegPackage = 'min-lts'.
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "{///}"
minSdkVersion 16
targetSdkVersion 28
multiDexEnabled true
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so flutter run --release works.
signingConfig signingConfigs.release
minifyEnabled true
multiDexKeepProguard file('multidex-config.pro')
}
org.gradle.jvmargs=-{something}
android.enableJetifier=true
android.useAndroidX=true
android.enableR8=false
  also tried  android.enableR8=true

Error:
Users/mac/Documents/FlutterProjects/droopy/android/app/multidex-config.pro: D8: Failed to read file:
/Users/mac/Documents/FlutterProjects/droopy/android/app/multidex-config.pro
[   +1 ms] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] Execution failed for task ':app:transformClassesWithMultidexlistForRelease'.
[        ] > com.android.build.api.transform.TransformException: Error while generating the main dex list:
[        ]   Error while merging dex archives:
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
--scan to get full insights.
[   +2 ms] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 10m 51s
[ +707 ms] Running Gradle task 'assembleRelease'... (completed in 668.8s, longer than expected)
[  +14 ms] The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve
the
incompatibility.
[ +155 ms] Building plugin cloud_firestore...
[  +34 ms] Running Gradle task 'assembleAarRelease'...
[  +61 ms] "flutter apk" took 675,343ms.
[  +11 ms] The plugin cloud_firestore could not be built due to the issue above.
[        ]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      buildPluginsAsAar (package:flutter_tools/src/android/gradle.dart:803:7)
#2      _asyncErrorWrapperHelper.errorCallback (dart:async-patch/async_patch.dart:91:64)
#3      _rootRunBinary (dart:async/zone.dart:1214:47)
#4      _CustomZone.runBinary (dart:async/zone.dart:1107:19)
#5      _FutureListener.handleError (dart:async/future_impl.dart:157:20)
#6      Future._propagateToListeners.handleError (dart:async/future_impl.dart:708:47)
#7      Future._propagateToListeners (dart:async/future_impl.dart:729:24)
#8      Future._completeError (dart:async/future_impl.dart:537:5)
#9      Future._asyncCompleteError. (dart:async/future_impl.dart:593:7)
#10     _rootRun (dart:async/zone.dart:1190:13)
#11     _CustomZone.run (dart:async/zone.dart:1093:19)
#12     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#13     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#14     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#15     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#16     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#17     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

Hi @braysonjohn148, can you please send me the flutter doctor result?
I can see from the error messages that there is an issue with the cloud_firestore package:
[ +11 ms] The plugin cloud_firestore could not be built due to the issue above.

Please try and check using the example app with the min-lts version. Let me know whether it is working.

fixed thank you

waiting for solution #4


plugins/cmp-git: add settings option

Let's wait for https://github.com/NixOS/nixpkgs/pull/308101.


ROADMAP: Improved Falco Outputs

Description: The goal behind this idea is to improve the available options for sending alerts from Falco when a security violation occurs inside a container. Currently outputs are limited to stdout, files, syslog, and executing a program. We’d like to offer more output options such as: NATS.io, Kafka, gRPC, Google Pub/Sub, AWS SNS, HTTPs Webhooks, etc.
Recommended Skills: C/C++ experience, working with external libraries, working knowledge of message queues and modern Pub/Sub systems.
Mentor(s): Mark Stemm (@mstemm), Loris Degioanni (@ldegio), Michael Ducy (@mfdii)

This pr (#523) shows how to implement an output handler. It also shows how to leverage C++ functions in Lua which makes it easier to use C/C++ libraries for the output destination.

Hello, I'd like to contribute to this idea, can someone give me advice on how to get start with the project :) Thanks!

@laphets I've made sure that we have issues tagged with help wanted. These are various issues we need fixed and might provide a better opportunity to get started with the project. Also there are rules you can contribute to in the falcosecurity/profiles repo. For adding additional output destinations, you should review #523 to understand what code changes need to be made to add an output. Feel free to ping me on Slack if you have more questions.
A GRPC output might be a good start. We are investigating the idea of using sidecar containers to provide the various output destinations for Falco and being able to tie the containers together with GRPC would be better than the current implementation of a named pipe.

@mfdii I think that the output of this will be to implement a gRPC streaming service to stream events.
In that way we can decouple completely Falco from its outputs by having plugins implement the client part in any language with gRPC support.

For following up some discussions we had on Slack, here a quick schema about basic principles I had in mind.  A lot are inspired by my falcosidekick with some enhancements I wanted to add (queues + gRPC)

Feel free to discuss about and challenge.
The main challenge will be to formalize and standardize how we implement plugins, those could be in any language, only interfaces matters and that let anybody write and propose a new output.

/kind design


Merge scheme.values(), scheme.colors(), scheme.breaks(), and all bubble scheme methods

Syntax should be
scheme.style(attr, function, key);
The attribute is any valid CSS attribute, the function is the mapping function, and the key is the way to handle the values returned by the mapping function.

It will also be necessary to change schemeSequential and schemeCategorical to schemeFill. (fills subunits based on a scheme)


Update Composer dependencies (2022-03-05-00-09)

Visual regression test passed!
View the visual regression test report


Hour of Code 2021 Landing Page

[ This landing page is currently incomplete ]
Here is the theming for the HoC 2021 Landing page, with no final content added yet. There's still quite a lot to do on the page before it's ready for the public:

[ ] Update the navbar to be our standardized nav bar (just purple) (@shakao can you help with this?)
[ ] Come up will all page copy and educator page copy (@Jaqster and @kiki-lee can you help with this?)
[ ] Come up with metadata one-line description and icons for social sharing (@Jaqster for description, I can do the icons)
[ ] Get display font approved (@riknoll can you help with this?)
[ ] Swap FontAwesome CDN with the fontawesome already include in Arcade (@riknoll can you help with this?)
[ ] Update all tracking, tick events and usabila to be for HoC 2021 instead of 2020 (@jwunderl can you help with this?)
[ ] Make a script to animate the carousel
[ ] Customize footer to include a shout-out to insiders club (@Jaqster / @kiki-lee is there anything else we should change in the footer?)
[ ] Educator's page theming
[ ] Header background image
[ ] Main activity image
[ ] Global Game Jam image
[ ] List of things to show in carousel (@Jaqster and @kiki-lee can you help with this?)
[ ] List of activities / game to show in yellow section (@Jaqster and @kiki-lee can you help with this?)
[ ] Certificate
[ ] Hooking up all the links

If you run the code locally, you can find the page at: <your localhost>/hour-of-code-2021.html

looks good to me! also seems easiest to me to merge in and then let people submit separate PRs to address different parts of it, to try and reduce the number of conflicts?

@shakao sure let's merge :)


metasploit: 6.1.13 -> 6.1.14

Motivation for this change
Update to latest upstream release 6.1.14
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 145600 run on x86_64-linux 1

1 package built:

msf (metasploit)


Support regexes topics and refactor subscription process

A little pet project of mine finally got working.
This idea is to support regexes in topic property of the rule definition for rules that should listen to different topics but do exactly the same work. Right now we can use them for the transcodes topics - the ones we're using to offload summary/mobile defenders generated by template updates and priorities re renders that we're doing for normal edits. Right now it's not super-required feature, but it's a step towards the JobQueue yearly goal and deploying this early can give us a good change to test it and debug this piece before hand.
Also, a little refactoring to abstract out the notion of a subscription which contains of 2 executors (normal and retry) for normal rules and many executors for regexes rules.
cc @wikimedia/services
Bug: https://phabricator.wikimedia.org/T157093

Coverage increased (+0.5%) to 91.463% when pulling 6e74ecb328890d45cb1b69cf669035966bd4bcf4 on Pchelolo:regex_topics into 213d2451efab6e9a21d19d668c0e81aefc833b32 on wikimedia:master.

@d00rman Addressed your comments. What do you think about the idea in general?

Coverage increased (+0.3%) to 91.311% when pulling edcd531fc160d453ff089f9ebc3a7ddd5bec1d48 on Pchelolo:regex_topics into 213d2451efab6e9a21d19d668c0e81aefc833b32 on wikimedia:master.

What do you think about the idea in general?

Really solid. Really nice work! I was worried about tying up one extra libuv thread per regex subscription, but this matters only in the edge case where one regex manages to subscribe to only one topic, which shouldn't happen in practice (if we are careful, of course).

Really nice work! I was worried about tying up one extra libuv thread per regex subscription, but this matters only in the edge case where one regex manages to subscribe to only one topic, which shouldn't happen in practice (if we are careful, of course).

You mean because of the metadata refresher thing? Cool thing is that it doesn't tie up a thread. Only consuming ties up a whole thread, fetching metadata doesn't! And also, it's a singleton created lazily and it's global for the whole subscriber, that means there's only one refresher per worker.

Oh, indeed! Wooow! Bravo :clap:

@d00rman Do you think we can move on this? I'd like to deploy it in 2 stages, first just deploy the code without the config change to verify it's not breaking anything existing, and then move on the config change. I think that would minimize the risk


🐛(front) create unique storage name for useJwt hook

Purpose
The zustand hook useJwt is using a persistent middleware. A unique name must be set and this name is the key used as local storage key. In  LTI context, we can have several iframe launched in the same page and the JWT token will be overwritten between LTI app present in the page. To fix this, we choose to create unique storage name by checking of in the DOM we have the data-context set by the LTI view. If present we know we are in a LTI context and we can pick in the LTI context the resource modl and it's unique id.
Proposal

[x] create unique storage name for useJwt hook

Manage in #1928


CkEditor ImportError: No module named ckeditordebug_toolbar

I was trying to install CkEditor for django. I followed instructions here: https://github.com/django-ckeditor/django-ckeditor. I did a pip install and it downloaded the latest version (5.2.1)
And when I do a python manage.py collectstatic, I get this error:
CkEditor ImportError: No module named ckeditordebug_toolbar
I have CkEditor listed in settings.py under INSTALLED APPS. What could be the problem?

Check if you have a commas on the INSTALLED_APPS  list ;)


Add easy-random package

I have created a little library to make Randomness easier to use.
For now it only allow to get a random natural number in a 0-X range, but I think i will add other methods in the future, following Java Random class style.

I fixed the package-set.dhall file formatting, it seems like I had an old version of dhall on my machine.


Added argument ignore_diagonal=True to plot_connectivity_circle()

Added the option to plot the entries on the diagonal of the causality matrix as arrows starting and ending on the same node.
This is useful when summing up the connectivity values for all labels in a given lobe. Then we can plot inter- and intra-lobe connectivity.

Here is an example.

I added plot_inter_and_intra_lobe_causality.py to the examples.


used wrap instead of heapify and fixed input data extraction

also added final wherever appropriate

Coverage increased (+0.2%) to 87.345% when pulling 820c15d1d977f17e5bbb13e853d8d850f5a788d0 on wrap-and-fix-input-type into 6a09f39a94a63552e0b29bfd44886eeda9197f58 on master.


Split on long dimensions

Hi,
When splitting on long dimensions, we're unable to actually see the value of the dimension. That would be great if we could see it, and somehow copy/paste it.

Though there is no good way to see it at the moment. Would be great indeed.
It is, however, possible to copy a value by clicking on a row and choosing "copy value".

Yes, the copy/paste functionality has been introduced after I opened this issue.
Visualizing it would make things a bit easier, but being able to copy/paste it is already very helpful!


Adding a package in this repository

I have been struggling for a while to include a package in the src/ directory. Things I tried:

include("path/to/package.jl") -> not clean and does not work in Pluto
Changing the whole DS repo in a package -> Can't activate the environment and then import a package that uses the same environment
Constructing a scenario where the package is in the src directory, e.g. src/TeachingsTools.jl/src/TeachingsTools.jl -> A package needs to be a git repository but you can not put a git repo within a git repo

Solutions that will probably work but that I don't like:

Create a separate repository for the package and using it as a sub-module in this repo

The solution is probably something trivial but I just can't figure it out...

You can install this repo code:
using("Pkg"); Pkg.add("https://github.com/Beramos/DS-Julia2925")
allows using this package.
The only thing I am not sure of, is that the "-" in the name won't give troubles.

I will do this this afternoon.

Dat lukt idd maar toen ik in pluto de enviroment activate dan zegt hij can't activate an environment that uses the same uuid as a package. Dus dan moeten we al een separate environment aanmaken. I guess

You can now install the package from the master. Use generate in the package manager for subsequent projects. This will generate correct project.toml.

Did you try activating the environment from pluto?

#29

You can install the package from the REPL and then it runs?

I'll give it another test tonight

Still the same issue

Dit werkt

Maar dan zit je te wereken op een andere enviroment dan project.toml in de root van deze repo.
Volgens mij moeten we dan met twee project.tomls werken.

project.toml
notebooks
|-- project.toml

Optie 2

Just install it in the REPL and only load it in the notebook?

On 7 Dec 2020, at 14:05, BramDeJaegher<EMAIL_ADDRESS>wrote:
Dit werkt
https://user-images.githubusercontent.com/11618908/101354046-cff22400-3894-11eb-8bc4-43c44b1ca294.png
Maar dan zit je te werken op een andere enviroment dan project.toml in de root van deze repo.
Volgens mij moeten we dan met twee project.tomls werken.
project.toml
notebooks
|-- project.toml
Optie 2
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Beramos/DS-Julia2925/issues/28#issuecomment-739905843, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABN5PIZS3RWKOCLIDBAAYU3STTHIDANCNFSM4UMOVGNA.

Nop:


Added source code for 'Divisor Game' problem

Related Issue
Closes: #892
Describe the changes you've made
Added source code for 'Divisor Game' problem
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
Python
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Please review my code.

@abhinav5481 This issue is assigned to you for Java then why you have done in python?

@abhinav5481 This issue is assigned to you for Java then why you have done in python?

I got assigned to Java, but it was already done by someone else after it got assigned to me. So I solved it in Python.


Ubuntu 22.04 Build Failure

Describe the bug
Won't build properly.
To Reproduce
Steps / command to reproduce the behavior:
$  cargo build --release

Expected behavior
Build the project
Screenshots

Client (please complete the following information):

OS: Ubuntu
Version: 22.04

The erroneous let ... else statement got recently stable in rust version 1.65. You may update your rust version to build this successfully.


Play Media by Custom URI

How am i able to stream for example an mp3-Stream from an Radio-Station in the UAMP-App?
The Source-Code doesnt show anything which could help me...
My aim is to play a simple https://example.com/test.mp3-File which will be played.
Either where are the Media-Files comming from in the Example-App?

The music included in UAMP is fetched from a Uri specified in MusicService, which points to https://storage.googleapis.com/uamp/catalog.json by default.
If you wanted to make a new JSON file (that has the same format) and host that along with the music, you could change the list to be whatever songs/content you'd like.

@nic0lette and this would also Work with Audio-Streams from Radio-Channels?

@nic0lette and this would also Work with Audio-Streams from Radio-Channels?

I don't know how those are encoded, but if ExoPlayer supports the format, then that should work.

Thanks @nic0lette it works now. But only with Streams using the .mp3-Ending. Cheers!

Hi @herbertvonkaramalz ! I'm currently developing the same feature and I'm having trouble connecting the player to the online radio stream. If you've been successfull with this approach, could you kindly show some code or specify how you did it? As you can see, the streams ends in .mp3 but the uamp returns me a "Could not locate request media". Thank you for your time!

@Xaninho i have created the europaradio app here: https://github.com/herbertvonkaramalz/europaradio . I think the problem could be at the "http"... Have you tried using https?

@herbertvonkaramalz Hmm nah I've already tried the https link and the result is the same... I've checked this exoplayer sample: https://github.com/m-cakir/radio-player and after cloning and putting my radio there it works successfully, so I don't understand what the problem with exoplayer might be... Guess I'll work from there at the moment, but nevertheless thank you for your recommendation!

@Xaninho i experienced this issue also with some streams from https://regenbogen.de... Then i've looked up for another stream from this channel and it worked. Why exactly did i never found out.


support cmake package config file : find_package support + auto-install

Dear @nlohmann,
I wish to submit you these changes which adds the possibility for dependent programs of your library to use it easily via cmake find_package, and therefore auto-download+install via hunter_add_package ( i.e. see example cmake )..

HunterGate(
    URL "https://github.com/ruslo/hunter/archive/vUPCOMING.tar.gz"
    SHA1 "53b198e364dc7bc8360fc545f798563229bd7e20"
)

project(dowload-nlohmann-json)

hunter_add_package(nlohmann-json)
find_package(nlohmann-json)

add_executable(main main.cpp)

target_link_libraries(main
  nlohmann-json::nlohmann-json)

For the moment this is not in Hunter ( i.e. See PR #239 ), but even if it isn't accepted in Hunter, it is useful for code depending on your library, as the changes aren't Hunter specific, they allow the standard cmake find_package mechanism to be used to find your library.
Thank you very much for your awesome library to handle json. I like it. :smile:
Cheers,

Is there any chances that this get merged ? :smile:

Hi Damien,
I'll check on the weekend.
Cheers,
Niels
Von meinem iPhone gesendet

Am 01.10.2015 um 15:21 schrieb Damien Buhl<EMAIL_ADDRESS>Is there any chances that this get merged ?
—
Reply to this email directly or view it on GitHub.

Is there anything I can do to help this get merged ?

Sorry for not answering... I'm on holiday right now. I'll check when I come back.

No problem :smile: I just wanted to notify that I can change anything/everything if you want/need it. I saw there is a test run error on AppVeyor but I cannot explain it. Is it because I need to link to a different libc++ or so ?

Please update the PR so the tests on AppVeyor succeed.


EnderIO crashes Minecraft when opening search tab

Upon installing EnderIO and Endercore for Minecraft, anytime I tried to open the creative search or EnderIO tab it would crash my game.
What happens: Game crashes with message "java.lang.ClassCastException: caveworld.item.ItemMiningPickaxe cannot be cast to cofh.api.energy.IEnergyContainerItem"
What you expected to happen: For it to open the EnderIO or search tab to open.
Steps to reproduce:

Install the mods/forge (I got the mods from Curseforge
Hit play and load up a creative world
Click the search tab or EnderIO tab and see if you get the same crash as me
...

Affected Versions (Do not use "latest"):

EnderIO: <IP_ADDRESS>9
EnderCore: <IP_ADDRESS>
Minecraft: 1.7.10
Forge: <IP_ADDRESS>4

Your most recent log file where the issue was present:
https://pastebin.com/r57vr9ib

This has nothing to do with Ender IO.
What happens here is: Caveworld's MiningPickaxe seems to be something that can upgrade or incorporate other pickaxes. It will then add the original pickaxe's tooltips to its own tooltip. However, there's a bug in that code that tells the other pickaxe to generate tooltips for the MiningPickaxe---which the other pickaxe naturally has no clue about. Many pickaxes just ignore the item they shouild produce tooltips for (assuming it's themselves), but draconic's pickaxe tries to read the amount of RF from the item to display it. But that MiningPickaxe is no draconic pickaxe, and so: booom

PS: This is the bad code: https://github.com/kegare/Caveworld/blob/master/caveworld/item/ItemMiningPickaxe.java#L687


Cleanup: Move Logger to base AuthenticationHandler + use more var

Push Logger to base handler class/Initialize
Pass to use var consistently

@Tratcher

Squash and :shipit:

30d350da26d5c40e9e160ccb2cd120303da5baf1


⚠ Turnos 24x7 has degraded performance

In bb91216, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 996 ms

Resolved: Turnos 24x7 performance has improved in 4ba23e6.


Break debug_synchronous usage

Currently, each device-scope algorithm in CUB has a debug_synchronous parameter which is defaulted to true. Being a runtime variable, it leads to a few issues:

In case of -rdc compilation, there's a higher memory footprint (issue).
_CubLog has to inject code into binary, which might affect performance
Thrust uses a THRUST_DEBUG_SYNC  macro instead of a runtime variable. It'd be better to have consistency between libraries.

Since 2.0 is a breaking release, I suggest we break debug_synchronous support. Deprecation would lead to a code bloat, because we'd have to introduce new template parameters into dispatch/agent layers and still maintain the new scheme (see below). In general, the option should only be used for CUB debugging, so I don't think that it's a big issue. To inform users about the breaking change I suggest we leave the API when possible, but use a static assert to tell about the replacing macro:
cub::Device::API(...) { dispatch(...); }
cub::Device::API(..., bool debug_synchronous) { static_assert(false, "Use new approach"); }

To replace the parameter, I suggest we introduce a CUB_DEBUG_LEVEL macro with various convenience aliases. When set to 1 it'll lead to the same behaviour we have in the case of debug_synchronous=true: device synchronization after each kernel invocation, logging of kernel launches. When set to 2 it'll lead to precondition checks. For instance, we can check that pointers are device-accessible, that segments in segmented sort don't overlap etc. More importantly, this approach would allow us to embed precondition checks into kernels with no overhead.
The convenience macros might be:
#ifdef CUB_DEBUG_SYNC
#define CUB_DEBUG_LEVEL 1
#endif

#ifdef CUB_DEBUG_ASSERTIONS
#define CUB_DEBUG_LEVEL 2
#endif

I strongly support this. It would address several issues we've had with these flags, especially with the CDP changes introduced in CTK 11.6. Having a CI build running with the extra assertions would also add a significant boost to our testing!
It may be useful to introduce a debug level that just prints the debug info without syncing, something like:
// Extra logging, no syncs
#ifdef CUB_DEBUG_LOG
#define CUB_DEBUG_LEVEL 1
#endif

// Logging + syncs
#ifdef CUB_DEBUG_SYNC
#define CUB_DEBUG_LEVEL 2
#endif

// Logging + syncs + assertions
#ifdef CUB_DEBUG_ASSERTIONS
#define CUB_DEBUG_LEVEL 3
#endif

Re: static_asserting in the Device... APIs, this seems reasonable, but I'd like to give users an escape hatch in case they aren't able to update their code immediately for 12.0.
I'm thinking something like this:
cub::Device::API(...) { dispatch(...); }

cub::Device::API(..., bool debug_synchronous)
{
#ifndef CUB_IGNORE_DEPRECATED_RUNTIME_DEVICE_SYNC
  static_assert(cub::detail::dependent_false<T>::value, "Use new approach");
#else
  dispatch(...);
#endif
}

(grep Thrust for dependent_false for an implementation of that helper -- it'll be needed to make the static asserts fire only when the relevant APIs are used)

Another question this opens up is how we expose this in Thrust. We currently have the THRUST_DEBUG_SYNC macro, would we add the others, or drop the Thrust macro and just use the CUB ones for simplicity's sake? Or just keep the existing Thrust macro for legacy's sake, but don't expose the new ones?
On one hand, the logging/syncing stuff is completely in the realm of CUB. These describe kernel launches, and we want all CUDA kernel-related code to (eventually) live in CUB.
But the assertions may bleed over into Thrust -- for instance, making the ASSERTIONS debug level enable checked iterators in Thrust could be useful.

The documentation for these macros should explicitly specify that they must be used consistently across all translation units and linked libraries that used CUB, otherwise results are undefined. This should be reasonable as these features shouldn't be needed in released production code.

Also, we may want to make the CUB_DEBUG_LEVEL an internal macro and use symbolic constants, in case we need to change the numeric values to add levels, etc.
Adding some convenience macros to simplify checks and make them more robust against typos would be useful as well:
/*
 * `CUB_DETAIL_DEBUG_LEVEL_*`: Implementation details, internal use only:
 */

#define CUB_DETAIL_DEBUG_LEVEL_NONE 0
#define CUB_DETAIL_DEBUG_LEVEL_LOG 1
#define CUB_DETAIL_DEBUG_LEVEL_SYNC 2
#define CUB_DETAIL_DEBUG_LEVEL_ASSERTIONS 3

/*
 * `CUB_DEBUG_*`: User interfaces:
 */

// Extra logging, no syncs
#ifdef CUB_DEBUG_LOG
#define CUB_DETAIL_DEBUG_LEVEL CUB_DETAIL_DEBUG_LEVEL_LOG
#endif

// Logging + syncs
#ifdef CUB_DEBUG_SYNC
#define CUB_DETAIL_DEBUG_LEVEL CUB_DETAIL_DEBUG_LEVEL_SYNC
#endif

// Logging + syncs + assertions
#ifdef CUB_DEBUG_ASSERTIONS
#define CUB_DETAIL_DEBUG_LEVEL CUB_DETAIL_DEBUG_LEVEL_ASSERTIONS
#endif

// Default case, no extra debugging:
#ifndef CUB_DETAIL_DEBUG_LEVEL
#define CUB_DETAIL_DEBUG_LEVEL CUB_DETAIL_DEBUG_LEVEL_NONE
#endif

/*
 * `CUB_DETAIL_DEBUG_ENABLE_*`:
 * Internal implementation details, used for testing enabled debug features:
 */

#if CUB_DETAIL_DEBUG_LEVEL >= CUB_DETAIL_DEBUG_LEVEL_LOG
#define CUB_DETAIL_DEBUG_ENABLE_LOG
#endif

#if CUB_DETAIL_DEBUG_LEVEL >= CUB_DETAIL_DEBUG_LEVEL_SYNC
#define CUB_DETAIL_DEBUG_ENABLE_SYNC
#endif

#if CUB_DETAIL_DEBUG_LEVEL >= CUB_DETAIL_DEBUG_LEVEL_ASSERTIONS
#define CUB_DETAIL_DEBUG_ENABLE_ASSERTIONS
#endif

/*
 * Usage pseudocode example:
 */

// Usage:
void some_algo()
{
#ifdef CUB_DETAIL_DEBUG_ENABLE_ASSERTIONS
  validate_inputs();
#endif

#ifdef CUB_DETAIL_DEBUG_ENABLE_LOG
  print_log();
#endif

  launch_kernel();

#ifdef CUB_DETAIL_DEBUG_ENABLE_SYNC
  sync();
#endif
}

separation of log and sync - this is a great idea, I agree
CUB_IGNORE_DEPRECATED_RUNTIME_DEBUG_SYNC also a good catch, if someone is using a third-party header only library, the'll be able to affect the error
THRUST_DEBUG_SYNC - I'd prefer to keep THRUST_DEBUG_SYNC and define a proper CUB macro based on it. If thrust assertions has to be checked, we have to introduce THRUST_DEBUG_ASSERTIONS and check them at thrust side.
symbolic constants - love the *_ENABLE part, will do this way

A few details that arose:

We'd like to introduce CUB_DEBUG_DEVICE_ASSERTIONS in compliment to CUB_DEBUG_{HOST_?}ASSERTIONS to distinguish between precondition checks on the host and device.
We'd like to select a default for CUB_DEBUG_ASSERTIONS based on NDEBUG but have a way to opt it out
We'll only provide a way to opt in CUB_DEBUG_DEVICE_ASSERTIONS. Device-side assertions are off by default.


Something gets lost when the browser redirects back to VS Code during auth flow

Type: Bug
When clicking on sign in , nothing happens
or  a browser will open then go to the background without completing the login process
I have uninstalled the ext and reinstalled it - no change
generated a token on github.com/settings/tokens and manually added to user settings - no change
Extension version: 0.54.0
VS Code version: Code 1.73.1<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 1805)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.73GB (15.25GB free)

Process Argv
--crash-reporter-id 11a13aa1-894f-45d3-91dd-3a68469b18a3

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1cf:30587006
fc301958:30595537
3biah626:30602489
gswce2:30605431
3d0df643:30608728
dbltrim-noruby:30604474
89544117:30607850

Ok let's try to wade through all of this because when we're talking about different platforms, it could very well be very distinct issues.
@detox3r how did you install VS Code? There have been some other issues reported around CentOS 7, but for those, they talk about VS Code actually crashing completely. Do you see that or do you see what others have described above.
@dr-travis can you share your logs? Do you get a notification that says "having trouble? try a different way" and have you tried that alternative way? If that alternative way fails have you tried the 3rd way?
@sknth something I'm thinking about is maybe it's redirecting to the wrong VS Code window which would for sure be a problem. When you did this, did you have multiple VS Code windows open? If you really wanna be helpful, you could grab my Open External extension and run the "Open an external uri" command and then choose "Trigger uri handler" to see if the round trip actually works (you should see a notification if it does)

@TylerLeonhardt Upgraded to vscode 1.74.0. In short, problem solved but logged in via github authentication code.
Long story short: normal login to ghes, failed -> asked me to try a different way, failed agained -> asked me to try another way, succeeded (popped up a one-time 6-digit code and redirected me to github page to enter the code).
Here are the logs for your reference:
2022-12-08 16:29:16.877 [info] Getting sessions for all scopes...
2022-12-08 16:29:16.877 [info] Got 0 sessions for ...
2022-12-08 16:29:18.265 [info] Logging in for the following scopes: read:user repo user:email
2022-12-08 16:29:18.266 [info] Trying without local server... (read:user repo user:email)
2022-12-08 16:29:38.664 [info] Getting sessions for all scopes...
2022-12-08 16:29:38.664 [info] Got 0 sessions for ...
2022-12-08 16:29:40.046 [info] Logging in for the following scopes: read:user repo user:email
2022-12-08 16:29:40.046 [info] Trying without local server... (read:user repo user:email)
2022-12-08 16:29:58.431 [info] Getting sessions for all scopes...
2022-12-08 16:29:58.431 [info] Got 0 sessions for ...
2022-12-08 16:29:59.819 [info] Logging in for the following scopes: read:user repo user:email
2022-12-08 16:29:59.819 [info] Trying without local server... (read:user repo user:email)
2022-12-08 16:30:12.231 [error] User Cancelled
2022-12-08 16:30:12.231 [error] Cancelled
2022-12-08 16:30:12.231 [error] Cancelled
2022-12-08 16:30:12.256 [error] Error: Cancelled
	at o (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1302922)
	at async t.GitHubServer.login (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1303347)
	at async t.GitHubAuthenticationProvider.createSession (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1299643)
2022-12-08 16:30:12.271 [error] Error: Cancelled
	at o (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1302922)
	at async t.GitHubServer.login (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1303347)
	at async t.GitHubAuthenticationProvider.createSession (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1299643)
2022-12-08 16:30:12.274 [error] Error: Cancelled
	at o (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1302922)
	at async t.GitHubServer.login (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1303453)
	at async t.GitHubAuthenticationProvider.createSession (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1299643)
2022-12-08 16:30:13.333 [error] Error: Cancelled
	at o (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1302922)
	at async t.GitHubServer.login (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1303347)
	at async t.GitHubAuthenticationProvider.createSession (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1299643)
2022-12-08 16:30:13.336 [error] Error: Cancelled
	at o (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1302922)
	at async t.GitHubServer.login (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1303453)
	at async t.GitHubAuthenticationProvider.createSession (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1299643)
2022-12-08 16:30:14.000 [error] Error: Cancelled
	at o (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1302922)
	at async t.GitHubServer.login (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1303453)
	at async t.GitHubAuthenticationProvider.createSession (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1299643)
2022-12-08 16:30:15.674 [info] Getting sessions for all scopes...
2022-12-08 16:30:15.674 [info] Got 0 sessions for ...
2022-12-08 16:30:17.350 [info] Logging in for the following scopes: read:user repo user:email
2022-12-08 16:30:17.351 [info] Trying without local server... (read:user repo user:email)
2022-12-08 16:30:28.223 [info] Exchanging code for token...
2022-12-08 16:31:32.083 [error] GitHubTokenExchangeError: <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><meta content='text/html; charset=utf-8' http-equiv='content-type'/><title>Service unavailable</title>

Our services aren't available right now

We're working to restore all services as soon as possible. Please check back soon.

0dHaRYwAAAACAd/zkN+pTQ50pknw9DTBCU1lEMDNFREdFMTgxNwA0YzRkOWNmMS03NmEzLTQ2NGEtOGE4OC01NWY3M2IwOTgzN2U=

	at t.GitHubServer.u (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1309015)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1304423
2022-12-08 16:31:45.262 [info] Trying with local server... (read:user repo user:email)
2022-12-08 16:31:46.141 [info] Exchanging code for token...
2022-12-08 16:32:47.028 [error] GitHubTokenExchangeError: <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><meta content='text/html; charset=utf-8' http-equiv='content-type'/><title>Service unavailable</title>

Our services aren't available right now

We're working to restore all services as soon as possible. Please check back soon.

0wnaRYwAAAAAoLuohCHO8Ra6h8DXXNAFZU1lEMDNFREdFMTIxOAA0YzRkOWNmMS03NmEzLTQ2NGEtOGE4OC01NWY3M2IwOTgzN2U=

	at t.GitHubServer.u (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1309015)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/github-authentication/dist/extension.js:2:1305597
2022-12-08 16:33:14.536 [info] Trying device code flow... (read:user repo user:email)
2022-12-08 16:33:41.913 [info] Getting user info...
2022-12-08 16:33:42.060 [info] Got account info!
2022-12-08 16:33:42.062 [info] Storing 1 sessions...
2022-12-08 16:33:42.142 [info] Reading sessions from keychain...
2022-12-08 16:33:42.142 [info] Stored 1 sessions!
2022-12-08 16:33:42.142 [info] Login success!
2022-12-08 16:33:42.147 [info] Getting sessions for read:user,repo,user:email,workflow...
2022-12-08 16:33:42.148 [info] Got stored sessions!
2022-12-08 16:33:42.148 [info] Got 1 verified sessions.
2022-12-08 16:33:42.148 [info] Got 0 sessions for read:user,repo,user:email,workflow...
2022-12-08 16:33:42.149 [info] Getting sessions for read:user,repo,user:email...
2022-12-08 16:33:42.149 [info] Got 1 sessions for read:user,repo,user:email...
2022-12-08 16:33:56.764 [info] Getting sessions for all scopes...
2022-12-08 16:33:56.764 [info] Got 1 sessions for ...

something I'm thinking about is maybe it's redirecting to the wrong VS Code window which would for sure be a problem. When you did this, did you have multiple VS Code windows open? If you really wanna be helpful, you could grab my Open External extension and run the "Open an external uri" command and then choose "Trigger uri handler" to see if the round trip actually works (you should see a notification if it does)

@TylerLeonhardt sometimes I had multiple windows open and other times I had only one window open. I'd tried both combinations while hitting the issue.
I installed your extension and tried trigger uri handler. I receive a notification as expected when I have a single vscode window or multiple windows open.

#169076 should improve things by no longer having you folks using Remote SSH go through that second flow with the port number.
However, the other question still remains: "Why doesn't the first flow work in the remote case?" Because it should.
So let me ask these clarifying questions:

Do you experience the same problem when logging in for a github.com repo?
What version of GitHub Enterprise Server is your company using?

let me know if you need any assistants finding that.
also cc'ing @notatallshaw-gts who opened a detailed issue I duped to this issue

Do you experience the same problem when logging in for a github.com repo?

For me it doesn't appear to work at all connecting to github.com, where as at least connecting to github enterprise it eventually works. I went through the whole flow but instead being provided a code to copy and paste at the end I get: "Error Signing in to Github - Try Again?".
I hadn't tried it before because:

PRs on github.com requires manual approvals internally
I am sitting behind the usual corporate proxies which require SSPI authentication from my Desktop (VS Code Client) and certain CAs to be set-up correctly on my Dev machine (VS Code Server) so I typically don't expect random tools that connecting to the internet to work unless they support flows and/or I have to configure them carefully.

What version of GitHub Enterprise Server is your company using?

3.4

I'd be happy to test again on VS Code 1.45.1 but I'm not sure how to clear the existing authentication to retest?

It's been a while since this issue and we've made a lot of code changes in this space... I'm going to close this. If you are still experiencing issues, please open a new issue and make sure you provide the:

GitHub Authentication Output channel
Window Output channel
Main Output channel

FYI, I've not been experiencing this issue in some time.


Differentiate between Sub-Tasks and Other Tasks

Make the Sub Task card to differ from the Custom and Request Tasks.

Done!!


fix(setup): add pydantic dependency

close https://github.com/jina-ai/docarray/issues/70

unnecessary

FastAPI includes pydantic
FastAPI is included in docarray[full]
for testing, refer to the dependence listed in .github/requirements-cicd.txt

Ok, I see.


Weather and Outfit Recommender

I've added a new project Weather and Outfit Recommender.
issue no. : #1723
https://github.com/user-attachments/assets/711de054-a107-4ce2-8946-8e283d562c44

@shriyadindi resolve the conflict

@iamrahulmahato Resolved the conflict!
Please do add the gssoc, hacktoberfest and the level badge.

@shriyadindi not solved

@iamrahulmahato Resolved the conflict!
Please do add the gssoc, hacktoberfest and the level badge.

@shriyadindi not solved

@iamrahulmahato Done!


Ref docs issue

Error:

##[error]  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001D82AA2C8D0>, 'Connection to gervsblobprodcus329.vsblob.vsassets.io timed out. (connect timeout=15)')': /b-326a30d5424c4481a215d061dcd6d23f/5B08B2E21ADE01B91E50D8C004A603D2BEE49F6954A91016A46D89D49F84967900.blob?sv=2019-07-07&sr=b&si=1&sig=UjWJmyYLVNe%2FTPXV654PdpcJxzhbXPdngvxEwBX9Zx0%3D&spr=https&se=2023-09-14T18%3A11%3A09Z&rscl=x-e2eid-b8a7e45c-2fe541b3-87c85fa2-1bc3dcb1-session-b8a7e45c-2fe541b3-87c85fa2-1bc3dcb1&rscd=attachment%3B%20filename%3D%22azure-mgmt-automation-1.1.0b3.zip%22&P1=1694643068&P2=1&P3=2&P4=YuD%2FBoIr8P%2Bk57kgMbWqdOUvr4WrVZasddOKHovn%2FCg%3D

https://apidrop.visualstudio.com/Content CI/_build/results?buildId=385406&view=results

@danieljurek for notification.

This is a transient issue and should be resolved. Thanks!

Now we have the same problem again，this is the link: https://apidrop.visualstudio.com/Content CI/_build/results?buildId=394031&view=results


Esicoo Wi-Fi Smart Plug Outlet..no success

Try with the Esicoo Wi-Fi Smart Plug Outlet  [https://www.amazon.com/dp/B07DYMS1L3?pldnSite=1] . Seems to me a standar Tuya Outlet but no luck for me...Anyone ?

Please be sure to include your device name, model, and firmware version as well as your logs!

Esicoo Wi-Fi Smart Plug Outlet [http://www.esicoo.com/index.php?route=product/product&path=60&product_id=94]
firmware version :1.0.2 [Last Version]
smarthack-web.log
smarthack-smartconfig.log
smarthack-wifi.log
smarthack-mqtt.log

Can you confirm that the device is in pairing mode before running the script?

Yes ...The pulg makes a Wifi network named SmartLife-XXXX

That's AP mode (blinking slowly), you need EZ config mode (blinking fast).

Also done that...Gonna done both modes and seend Logs.

No need to try AP mode, it won't work

smarthack-smartconfig.log
smarthack-web.log
smarthack-wifi.log
No luck...
-Android phone as "men in the middle"
-Pi3b+ [wifi and cable]
-Plug on EZ mode blinking like 2 times/sec
The same config worked with other plug [Diferent brand]

I see two devices in your WiFi log, is one of those the device you are trying to flash?

ec:fa:bc:22:5e:1a is the one  [Mac number match the app]
Found a model number under YX-WS01 for the Esicoo Wi-Fi Smart Plug Outlet

Given the fact that you've been able to flash a different plug, and that the pairing process completed successfully (device connected to wifi) it looks like this device firmware has been patched and unfortunately will not work with tuya-convert.

Ok...too bad, but at least we can and the YX-WS01 Esicoo Wi-Fi Smart Plug Outlet as not compatible Over the Air.

I'm having the same experience as @dachshund-digital and @jesusvalverde - this device seems to have a firmware that does not allow EZ Config mode. Commenting here in hopes of saving others some time.

Or... the IC has changed to RealTek not ESP based, which I have also seen.  Either way the PSK issue, or IC variant issues, have broken tuya-convert.

I have started work on support for AP config mode, please see #966 and feel free to leave feedback. @dachshund-digital @geoffoxholm

This is still specific to the ESP based devices right?  Or will it work on the none ESP based devices?  Will AP mode side setup the PSK issue?


No module named 'pioneer.leddar_utils_cpp'

I am trying to use the dasview tool to visualize one of the driving segments.
I installed it via pip3 install pioneer-das-view
and try to run it via: dasview ~/projects/leddartech/data/
But the following error appears:
Traceback (most recent call last):
  File "/home/jean/.local/bin/dasview", line 5, in <module>
    from pioneer.das.view.apps.dasview import main
  File "/home/jean/.local/lib/python3.8/site-packages/pioneer/das/view/__init__.py", line 5, in <module>
    from pioneer.das.view.apps import dasview
  File "/home/jean/.local/lib/python3.8/site-packages/pioneer/das/view/apps/dasview.py", line 17, in <module>
    from pioneer.das.view.viewer import Viewer
  File "/home/jean/.local/lib/python3.8/site-packages/pioneer/das/view/viewer.py", line 2, in <module>
    from pioneer.common.gui import interactive, CustomActors, utils
  File "/home/jean/.local/lib/python3.8/site-packages/pioneer/common/gui/__init__.py", line 2, in <module>
    from pioneer.leddar_utils_cpp import BVH, PointsBVH
ModuleNotFoundError: No module named 'pioneer.leddar_utils_cpp'

Any other packages I need to install?

Hi,
Could you send me the result of this command please: python3.8 -m pip list | grep pioneer
Thanks

pioneer-common                1.1.0
pioneer-common-gui            1.1.0
pioneer-das-api               1.1.0
pioneer-das-view              1.2.0

I see that the version 1.1.0 of pioneer.common.gui does not contain a version for python 3.8 something I fixed in the version 1.1.1. Could you try to uninstall pioneer.common.gui and reinstall pioneer.common.gui=1.1.1.

Thanks for the quick feedback. Seems like version 1.1.1 only supports python 3.9+, not 3.8.
jean@lua:~$ python3.8 -m pip install pioneer.common.gui==1.1.1
Defaulting to user installation because normal site-packages is not writeable
Collecting pioneer.common.gui==1.1.1
  Using cached pioneer_common_gui-1.1.1-cp38-cp38-manylinux2014_x86_64.whl (251 kB)
Requirement already satisfied: pycollada in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (0.7.1)
Requirement already satisfied: PyQtChart==5.14 in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (5.14.0)
Requirement already satisfied: opencv-python in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (<IP_ADDRESS>)
Requirement already satisfied: utm in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (0.7.0)
Requirement already satisfied: transforms3d in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (0.3.1)
Requirement already satisfied: PyQt5==5.14 in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (5.14.0)
Requirement already satisfied: matplotlib in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (3.3.4)
Requirement already satisfied: PyOpenGL in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (3.1.5)
Requirement already satisfied: numpy in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (1.20.1)
Requirement already satisfied: Shapely in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (1.7.1)
Requirement already satisfied: future in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (0.18.2)
Requirement already satisfied: tqdm in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (4.60.0)
Requirement already satisfied: pioneer-common in ./.local/lib/python3.8/site-packages (from pioneer.common.gui==1.1.1) (1.1.0)
ERROR: Package 'pioneer-common-gui' requires a different Python: 3.8.0 not in '>3.8.0'

Hi jean-lucas, I've uploaded a new version 1.2.0, could you update your pioneer.common.gui to 1.2.0 and let me know if it works?
Thanks

Yes this solved the problem. I can use the viewer now.
Thanks again!

I am trying to use the dasview tool to visualize one of the driving segments.
I installed it via pip3 install pioneer-das-view
and try to run it via: dasview ~/projects/leddartech/data/
But the following error appears:
Traceback (most recent call last):
  File "/home/jean/.local/bin/dasview", line 5, in <module>
    from pioneer.das.view.apps.dasview import main
  File "/home/jean/.local/lib/python3.8/site-packages/pioneer/das/view/__init__.py", line 5, in <module>
    from pioneer.das.view.apps import dasview
  File "/home/jean/.local/lib/python3.8/site-packages/pioneer/das/view/apps/dasview.py", line 17, in <module>
    from pioneer.das.view.viewer import Viewer
  File "/home/jean/.local/lib/python3.8/site-packages/pioneer/das/view/viewer.py", line 2, in <module>
    from pioneer.common.gui import interactive, CustomActors, utils
  File "/home/jean/.local/lib/python3.8/site-packages/pioneer/common/gui/__init__.py", line 2, in <module>
    from pioneer.leddar_utils_cpp import BVH, PointsBVH
ModuleNotFoundError: No module named 'pioneer.leddar_utils_cpp'

Any other packages I need to install?
Hey @jean-lucas I am doing this in google colab and as I am facing the same issue and followed the steps based on your comments above but still I am facing with Invalid syntax issue.
Can you help me out with this ??
Thanks!

I would make sure all packages are installed, and at the latest versions:
pioneer-common
pioneer-common-gui
pioneer-das-api
pioneer-das-view

If you have all the latest version and the error still shows up, maybe try switching to python3.8? I am really not sure, what else you can try. Working in the Google Colab environment can be tricky, since you don't have much control.

Could you please tell me the way to find out the annotation data set

I am using their API for this, the pioneer.das.api package. From there, you can fetch labelled 3D bboxes, or get the 2D objects for the cylindrical images.
Check out the method __update_bbox_3d in the pioneer.das.view on how to project the 3D boxes to any desired camera source using their API.

I would make sure all packages are installed, and at the latest versions:
pioneer-common
pioneer-common-gui
pioneer-das-api
pioneer-das-view

If you have all the latest version and the error still shows up, maybe try switching to python3.8? I am really not sure, what else you can try. Working in the Google Colab environment can be tricky, since you don't have much control.

Could you please tell me the way to find out the annotation data set

I am using their API for this, the pioneer.das.api package. From there, you can fetch labelled 3D bboxes, or get the 2D objects for the cylindrical images.
Check out the method __update_bbox_3d in the pioneer.das.view on how to project the 3D boxes to any desired camera source using their API.

Thank you so much. I will try it once and I am getting the rawdata and pointclouds from pioneer.das.api but labelled data I am having issues.
Do pioneer.das.api or pioneer.das.view is used for the labelled data ?


Building rockylinux 9 fails, with missing packages

When trying to build rockylinux on master, we're encountering the following error:
              common *failed* | No match for argument: grub2
              common *failed* | No match for argument: grub2-efi-x64
              common *failed* | No match for argument: grub2-efi-x64-modules
              common *failed* | No match for argument: grub2-pc
              common *failed* | Package less-590-2.el9_2.x86_64 is already installed.
              common *failed* | Package tar-2:1.34-6.el9_1.x86_64 is already installed.
              common *failed* | Error: Unable to find a match: grub2 grub2-efi-x64 grub2-efi-x64-modules grub2-pc

The issue comes from upstream and is being tracked here: https://bugs.rockylinux.org/view.php?id=6139

This has been fixed upstream, the image is building properly


chore: add internal deserialize proto tool

Description
We sometimes find ourselves needing to read serialized protobuf objects from the central database, particular when debugging CI issues.
These changes introduce a tool to deserialize such objects by reading the serialized object from stdin and using a user-provided storage type.
Checklist

Investigated and inspected CI test results
Unit test and regression tests added
Evaluated and added CHANGELOG entry if required
Determined and documented upgrade steps
Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

Checklist doesn't apply since this is an internal tool meant only for developers.
 # More integrations

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

If you'd like to see the original implementation that used reflection, that can (for the time being) be found here: https://github.com/stackrox/stackrox/blob/1987edb658d02cb57e33c38b5b3a785e49199d7c/tools/deserialize-proto/main.go


Mana indicator in the player profile menu is wrongly formatted

Let's say I have 12345 MANA
WebGL format: 12.34K
Desktop Format:<PHONE_NUMBER>1234.5M

Duplicated from decentraland/explorer-desktop#125


Method to get error when EventSet.is_error

With libc, one could call getsockopt with SO_ERROR to look up the actual error. Source: http://stackoverflow.com/questions/13150377/how-to-get-errno-when-epoll-wait-returns-epollerr
It would be convenient to provide a method to get this error easily.

+1
For TcpStream we used to be able to get the error with take_socket_error(). Guidance for how to get the underlying error in version 5 would be helpful for reporting.


Pod/node (anti)affinity settings for a job or task manager

Hi,
It looks like pod affinity, anti-affinity and node affinity could be very useful in many scenarios.
I found https://github.com/GoogleCloudPlatform/flink-on-k8s-operator/issues/380 original request on GCP operator flavour and also accompanying PR.
It is possible to incorporate this feature into this project?
BR.

Hi @czterocyty
Yeah totally! I've also been looking into this recently. Let me know if you wanna take a stab at it.


User can broadcast send transaction through GUI app

Description

User can broadcast send transaction through GUI app

Checklist

[ ] 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 change)
[x] My code follows the code style of this project.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[ ] CHANGELOG is updated.

@nagarajmanjunath Thanks


This is not an Issue, but more of a question or clarification

Hi, gotta say great tool!! Thank you for it.
My question is, when you type in the domain, example: s3.py example.com
How do you determine if this bucket actually belongs to the domain? it seems after bruteforcing, towards end, it kind of checks random bucket name.
I am a bug bounty hunter and I just want to make sure I am reporting to the correct bucket owner. As even though a bucket name may have a company name in it, it doesnt mean the company actually owns that bucket. I was wondering also if there is a way to do like a reverse cname lookup, to find the originating domain name from the cname, but thats unlikely I believe

Thank you!
There really is no way to determine S3 bucket ownership, at least in terms of determining whether a bucket named "example.com" actually belongs to the owners of the example.com domain.  The bucket names are arbitrary and on a first-come, first-served basis.
The multiple checks are attempts to find likely variants of the supplied name, since people don't always name their buckets obvious things.
In theory, the awscli s3api command "get-bucket-acl" should return the owner info, but it appears that's only accessible if you are, in fact, the bucket owner.
I've experimented with a few of the API commands, but haven't been successful (yet) in obtaining owner information.
If someone has a reliable method, I'd appreciate it if you shared it with us.


Creating a new Enterprise Profile/Cert instead of renewing

Question Checklist

[ x ] Updated fastlane to the latest version
[ x ] I read the Contribution Guidelines
[ x ] I read docs.fastlane.tools
[ x ] I searched for existing GitHub issues

Question Subject

Match

No

No
Question Description

I'm using enterprise distribution for managing certificates and profiles of one of my apps. Right now from what I can see the only option for creating a new profile and certificate for enterprise is to use the force option. However, this option is not viable for my use case because it will revoke the prior certificate/profile pair which will negatively impact our business. Apple used to limit the amount of enterprise distribution profiles you could create to two but I have not run into that limitation creating them manually. Is it possible to instead of nuking the prior cert/profile pair that it would just create a new one instead so we can use match to be proactive about updating this so we don't have downtime in production?

I have no personal experience with this, but from reading your description it seems that "the only option for creating a new profile and certificate for enterprise is to use the force option" was probably added because "Apple used to limit the amount of enterprise distribution profiles you could create to two", would that thinking be correct?
Can everybody with enterprise certificates now manually create an unlimited numbers of those?

Enterprise was a second-class citizen of match when it was first released because of security concerns so I don't think that's the reason. The property was just intended to forcibly create a new cert/profile or not. But there are no consequences when you use the force option for distributions other than enterprise.
I don't know the limit as Apple doesn't advertise it. I was able to create a few through the console with no problem though through testing.

Okay, then one step back:

Right now from what I can see the only option for creating a new profile and certificate for enterprise is to use the force option.

Why is that? I assume you are getting some error message without it?
What commands exactly were you using? sigh or match?

There’s no error message. Since one exists already and it’s valid match just pulls down the existing one. If I pass the force parameter it forces it to create a new one which is disastrous for enterprise.
I have not tried sigh yet. I’ve only used match. Match would be ideal because we are storing the rest of our certs/profiles there now and would like to keep them in one place.

Ok, so the problem is that match assumes 1 cert/profile per app.
This is fine for normal certificates, where revoking a current certificate doesn't matter, and you can just nuke everything that is currently there and start over. It is bad for enterprise certificates, where revoking means bricking apps.
All correct?
Then maybe one workaround would be to be able to tell match to ignore a specific enterprise cert/profile as if it didn't exist. Then using it would just create a new one and work with that. true?

Yes, that's correct.
Yes, that makes sense but sounds like it'd be a feature request more than anything. I was just hopeful this was already built.

match is historically very careful about enterprise certs and profiles.
I don't know if this is already possible, I haven't looked at the documentation or code here yet - just tried to understand the problem and see if that understanding was correct to what your situation.


Is there some way for integration AudioKit with DAWs?

subject

Not yet.  In theory, we should be able to create a VST/AU plugin written in AudioKit syntax, but we haven't attempted to do so yet.  Instead of posting here, you might get more eyeballs on the idea by joining the google group mailing list.  Perhaps if enough people are interested a team can be put together to make it happen sooner rather than later


I've Installed Ubuntu...Now What?

I've installed the version of Ubuntu that is required for this project but I'm not really sure how to do the next steps. How exactly do I clone the repositories? Am I supposed to download additional software, in addition to the OS? If so, what else do I need to install? Thank you so much in advance for any responses. I apologize for causing any inconvenience. I'm new to this sort of thing and want to understand it. Again, thank you to anyone who responds! I really appreciate it.

Hi, Sol-Rover,
You can find additional information at Usage instructions for non-NASA users