Memory usage keeps increasing on Raft Tcp implementation

Hi,
I have implemented Raft using the TCP transport following your examples and it works great except that when I opened Task Manager on my PC, I noticed that the memory usage one of the node (I presume is the leader node) keeps increasing. Other nodes are stable around 10-11mb. But the leader node keeps increasing and doesn't stop (120mb and still increasing). I have remove all codes leaving only the raft implementation and it's still the same Also tried running my code without Raft and memory usage is fine. It looks like a memory leak.
I use the following code to create and start up the cluster members
NodeConfig config = new NodeConfig // This is my configuration object
var cluster = SetupRaftCluster(config);
StartRaftEndpoint(cluster);
static RaftCluster SetupRaftCluster(NodeConfig config)
{
var configuration = new RaftCluster.TcpConfiguration(new IPEndPoint(IPAddress.Loopback, config.RaftPort))
{
RequestTimeout = TimeSpan.FromMilliseconds(140),
LowerElectionTimeout = 150,
UpperElectionTimeout = 300,
TransmissionBlockSize = 4096,
ColdStart = config.RaftColdStart,
SslOptions = config.RaftUseSsl ? CreateSslOptions() : null
};
configuration.UseInMemoryConfigurationStorage();
AddMembersToCluster(configuration.UseInMemoryConfigurationStorage(), config);
var loggerFactory = new LoggerFactory();
var loggerOptions = new ConsoleLoggerOptions
{
    LogToStandardErrorThreshold = LogLevel.Error
};
loggerFactory.AddProvider(new ConsoleLoggerProvider(new FakeOptionsMonitor<ConsoleLoggerOptions>(loggerOptions)));
configuration.LoggerFactory = loggerFactory;

var cluster = new RaftCluster(configuration);

return cluster;

}
static async Task StartRaftEndpoint(RaftCluster cluster)
{
cluster.LeaderChanged += ClusterConfigurator.LeaderChanged;
await cluster.StartAsync(CancellationToken.None);
using var handler = new CancelKeyPressHandler();
Console.CancelKeyPress += handler.Handler;
await handler.WaitAsync();
Console.CancelKeyPress -= handler.Handler;
await cluster.StopAsync(CancellationToken.None);
}
public sealed class ClusterConfigurator : IClusterMemberLifetime
{
public static void LeaderChanged(ICluster cluster, IClusterMember? leader)
{
Debug.Assert(cluster is IRaftCluster);
var term = ((IRaftCluster)cluster).Term;
var timeout = ((IRaftCluster)cluster).ElectionTimeout;
        Console.WriteLine(leader is null
            ? "Consensus cannot be reached"
            : $"New cluster leader is elected. Leader address is {leader.EndPoint}");
        Console.WriteLine($"Term of local cluster member is {term}. Election timeout {timeout}");

}

public void OnStart(IRaftCluster cluster, IDictionary<string, string> metadata)
{
    cluster.LeaderChanged += LeaderChanged;
}

public void OnStop(IRaftCluster cluster)
{
    cluster.LeaderChanged -= LeaderChanged;
}

}

@sakno yes I reproduced it using demo project from your repo. running tcp I used memory profiler in VS 2022 to take a snapshot (image attached) but I don't really see a problem by looking at snapshot. Not sure if the memory leak is in unmanaged memory. But its definitely showing in my Task Manager, the memory usage keeps rising when I just let the program run.

I started 3 nodes with TCP transport 14 hours ago:
dotnet run -f net6.0 -c Release -- tcp 3262 node1
dotnet run -f net6.0 -c Release -- tcp 3263 node2
dotnet run -f net6.0 -c Release -- tcp 3264 node3

dotnet-counters for the leader after start:
[System.Runtime]
    % Time in GC since last GC (%)                                 0
    Allocation Rate (B / 1 sec)                               57,064
    CPU Usage (%)                                                  1
    Exception Count (Count / 1 sec)                                0
    GC Committed Bytes (MB)                                       32
    GC Fragmentation (%)                                           0.889
    GC Heap Size (MB)                                              9
    Gen 0 GC Count (Count / 1 sec)                                 0
    Gen 0 Size (B)                                               192
    Gen 1 GC Count (Count / 1 sec)                                 0
    Gen 1 Size (B)                                           781,296
    Gen 2 GC Count (Count / 1 sec)                                 0
    Gen 2 Size (B)                                           513,464
    IL Bytes Jitted (B)                                      279,161
    LOH Size (B)                                                 192
    Monitor Lock Contention Count (Count / 1 sec)                  0
    Number of Active Timers                                        2
    Number of Assemblies Loaded                                   42
    Number of Methods Jitted                                   4,205
    POH (Pinned Object Heap) Size (B)                         40,144
    ThreadPool Completed Work Item Count (Count / 1 sec)         121
    ThreadPool Queue Length                                        0
    ThreadPool Thread Count                                       10
    Time spent in JIT (ms / 1 sec)                                 9.907
    Working Set (MB)                                              94

After 14 hours uptime:
[System.Runtime]
    % Time in GC since last GC (%)                                 0
    Allocation Rate (B / 1 sec)                               48,520
    CPU Usage (%)                                                  0
    Exception Count (Count / 1 sec)                                0
    GC Committed Bytes (MB)                                       33
    GC Fragmentation (%)                                           0.631
    GC Heap Size (MB)                                              4
    Gen 0 GC Count (Count / 1 sec)                                 0
    Gen 0 Size (B)                                               192
    Gen 1 GC Count (Count / 1 sec)                                 0
    Gen 1 Size (B)                                           867,280
    Gen 2 GC Count (Count / 1 sec)                                 0
    Gen 2 Size (B)                                         1,366,352
    IL Bytes Jitted (B)                                      283,668
    LOH Size (B)                                                 192
    Monitor Lock Contention Count (Count / 1 sec)                  0
    Number of Active Timers                                        2
    Number of Assemblies Loaded                                   42
    Number of Methods Jitted                                   4,272
    POH (Pinned Object Heap) Size (B)                         48,360
    ThreadPool Completed Work Item Count (Count / 1 sec)         127
    ThreadPool Queue Length                                        0
    ThreadPool Thread Count                                       10
    Time spent in JIT (ms / 1 sec)                                 0
    Working Set (MB)                                              95

I will try to increase frequency of new log entries to 10 entries per second. However, I don't see any evidence of memory leak.

@sakno Thanks for looking into this. Let me try to perform more tests to see it could be a problem on my setup.

Same story with increased workload (5 log entries per second):
[System.Runtime]
    % Time in GC since last GC (%)                                 0
    Allocation Rate (B / 1 sec)                               70,744
    CPU Usage (%)                                                  0
    Exception Count (Count / 1 sec)                                0
    GC Committed Bytes (MB)                                       32
    GC Fragmentation (%)                                           0.626
    GC Heap Size (MB)                                             23
    Gen 0 GC Count (Count / 1 sec)                                 0
    Gen 0 Size (B)                                               192
    Gen 1 GC Count (Count / 1 sec)                                 0
    Gen 1 Size (B)                                           443,392
    Gen 2 GC Count (Count / 1 sec)                                 0
    Gen 2 Size (B)                                           665,888
    IL Bytes Jitted (B)                                      280,248
    LOH Size (B)                                                 192
    Monitor Lock Contention Count (Count / 1 sec)                  0
    Number of Active Timers                                        2
    Number of Assemblies Loaded                                   42
    Number of Methods Jitted                                   4,221
    POH (Pinned Object Heap) Size (B)                         48,360
    ThreadPool Completed Work Item Count (Count / 1 sec)         186
    ThreadPool Queue Length                                        0
    ThreadPool Thread Count                                       16
    Time spent in JIT (ms / 1 sec)                                 0
    Working Set (MB)                                              94

After 10 hours:
[System.Runtime]
    % Time in GC since last GC (%)                                 0
    Allocation Rate (B / 1 sec)                               97,584
    CPU Usage (%)                                                  0
    Exception Count (Count / 1 sec)                                0
    GC Committed Bytes (MB)                                       33
    GC Fragmentation (%)                                           0.531
    GC Heap Size (MB)                                              9
    Gen 0 GC Count (Count / 1 sec)                                 0
    Gen 0 Size (B)                                               192
    Gen 1 GC Count (Count / 1 sec)                                 0
    Gen 1 Size (B)                                           518,600
    Gen 2 GC Count (Count / 1 sec)                                 0
    Gen 2 Size (B)                                           733,528
    IL Bytes Jitted (B)                                      333,856
    LOH Size (B)                                                 192
    Monitor Lock Contention Count (Count / 1 sec)                  1
    Number of Active Timers                                        2
    Number of Assemblies Loaded                                   46
    Number of Methods Jitted                                   4,988
    POH (Pinned Object Heap) Size (B)                         48,360
    ThreadPool Completed Work Item Count (Count / 1 sec)          62
    ThreadPool Queue Length                                        0
    ThreadPool Thread Count                                        9
    Time spent in JIT (ms / 1 sec)                                 0
    Working Set (MB)                                              97

I am closing this issue as the problem is with my setup.


Building project with Vs2017/2019 does not work

When cloning this repository from github as is and attempting to load the csproj file and build it, the build fails.
The cause of this is that the nuget packages do not get restored, moreover the location of the resources from nuget is set to be at a level above the repository,
i.e. if you clone this repository into c:\Dev\AnkiSharp it will look for the Dlls in c:\Dev\packages
I would suggest either including the proper project structure, or adding a configuration for setting the package location inside the project.

For anyone else that gets this, a workaround is Adding another project to the solution, and copying the packages.config content into it.
upon opening the "manage nuget packages" for the new project it gives the option to restore nuget which properly restores the packages.

finally, it seems the cause of the build issue is having
<ItemGroup>
   <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*" PrivateAssets="All" />
   <PackageReference Include="Newtonsoft.Json">
     <Version>11.0.2</Version>
   </PackageReference>
   <PackageReference Include="sqlite-net-pcl">
     <Version>1.5.231</Version>
   </PackageReference>
 </ItemGroup>

this block in the csproj file, removing this block and reloading the project enables nuget restore, and the build completes successfully.

I'm trying to restart this from the ground up, @Jiyuu if you are interested in helping me, contact me on my email address

i actually ended up re implementing parts of this on my own, but we can try cooperating on making something more public facing, sure

Ok nice, send me an email (you can find the address on my profile) and we’ll discuss about that

I'm presuming that this issue is resolved?

This is not solved, I'm not working on this anymore but would be glad to accept PR


The attr fall-through overrides the value of prop

Vue version
3.3.4
Link to minimal reproduction
https://play.vuejs.org/#__DEV__eNqNUk1PwkAQ/SuTvQCJoUHUAykkajjoQYkaT3tpygDF7e5md4skTf+7s1tKQZDIgXTeezvz5qNk91r3NwWyEYttajLtwKIr9ITLLNfKOCjB4AIqWBiVQ4eknT31qHK9w/uRD3wmorlMlbQOcruEsX/e7Qyuh51egy/RfSaCqO4mET0YT6DkEuhnqLSRQCiXFZdxVFsiMxQ4zLVIHFIUh8ojyj/mrM7WpaDHGUSejg607Io5S3UX2bK/tkpSp6EaZyklyQSaV+0y8sXZqPHBWSKE+n4OmDMFXjV4usL06wy+tluPcTYzaNFskLM95xJDHmt6+v6CW/rek7maF4LUF8g3tEoU3mMteyjknGwf6ILbp7CUTC4/7HTrUNqmKW/UK6ug54yW5Of3V+ut3WF/GN7RMmiKzYJPT8VcOpaW9AkGR/cyqA+GJCcHc3N7RwdDTHsEFASgXa6P6qy7W6D/+gbCwyPhroNQ8ncLIBLpnzuaRBDPcZFJnBmlbVx6wI+Gko/AOkMj9lA16f7HIEC8GkzKMjRXVXFE0Tl71Q8cWjJw
Steps to reproduce
open the link
What is expected?
show 456
What is actually happening?
show 123
System Info
No response
Any additional comments?
No response

I would say this is expected: the same happens with an attribute and one can disable it with inheritAttrs: false. It's also a breaking change but I really don't think it's worth since it's less flexible than the current behavior

you can also use the .attr modifier to prevent this /enforce the passed-through attr be be applied as an attribute, thereby not overriding the prop:
https://play.vuejs.org/#__DEV__eNqNUk1vwjAM/StWLoA0tWJsO6CCtE0ctsOGtmmnXKpioCxNoiRlSFX/+5yU8jEYGgdUP7/Yz/ar2L3W0bpENmSJzUyuHVh0pR5zmRdaGQcVGJxDDXOjCugQtbNLPapCb/Eo9oGvRGkuMyWtg8IuYOSfdzv960Gn1+ILdJ+poFR3nYoejMZQcQn0M9TaSCCUy5rLJG4kkRgKHBZapA4pSkLnIdWPUufMiLOmZJeQHmcQe0588IBdMWep+TxfRCurJI0bWnKWUaVcoHnVLidxnA1bMZylQqjv54A5U+JVi2dLzL7O4Cu78RhnU4MWzRo52+Vcakhjk568v+CGvnfJQs1KQewLyTe0SpReY0N7KOWMZB/wgtqncJlcLj7sZONQ2nYoL9Qz68DnjC7ll/jX6Hu5g2gQ3tFFaIvtlU/9Yi45Zp/0BfpHpuk3riHKiWtubu/INZTZO4GCAOyP66OmqjcEeYH+Gw+Eh0fE7QSh5e8RQKTSP3e0iUCe4TyXODVK26TygF8NFR+CdYZW7KF63P2PQIBk2R9XVRiurpOYonPy6h/DwjRZ

Please NOTE:

This behavior is inconsistent to vue2 see and we didn't documented in the docs.
This kind of overriding prop behavior is unstable. If the user modifies the template of Comp.vue in the future (e.g. adding a <div> in the root), it may cause the attr to no longer fall through to Comp1.vue, and the rendering result may be different. This is something that is difficult to foresee in advance. It is also not easy to track down the root cause of problems.

It still look more convenient to me for the points mentioned above

What about a feature flag?

Duplicate of #6325 ?

What about a feature flag?

something like inheritAttrs: 'avoid-props-override' ? (not attached to the specific name).
It seems to me it can't be a global flag (at least not exclusively)  as it would easily lead to weird bugs in 3rd party components relying on it.
So it would have to be a guard implemented in each receiving component. Could work but feels cumbersome as you would likely want to add it to practically all of your components once you use it, to be consistent.

Duplicate of #6325 ?

Seems to be, yes. We might want to close that old one as this one here already has a good chunk of discussion now.


bug: when you get a nuxt error then go back.

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, runtimeConfig
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Describe the bug
When you have a plugin defined that injects the authToken to nuxt-grapqhl-client and you get any 404 page then go back the hook doesn't re-inject the token and have to do a manual refresh.
Example Hook:
nuxtApp.hook('gql:auth:init', ({ token }) => {
    token.value = `${cookieToken.value}`
  })

Expected behaviour
When you get an error it should redirect back home and inject the token correctly using the hook properly.
Reproduction
No response
Additional context
I need to find a graphql endpoint that has auth to setup the reproduction for this as I don't know any of the top of my head.
Logs
No response

@Diizzayy Temporary solution:
nuxtApp.hook('gql:auth:init', async ({ token }) => {
    const ssrEvent = nuxtApp.ssrContext?.event
    if (ssrEvent) {
      token.value = ssrEvent.context.aiware.token
    }
    else {
      const cookieToken = await $fetch('/api/get-cookie')
      token.value = `${cookieToken}`
    }
  })

@cpreston321 The gql:auth hook is meant to declare custom logic for retrieving and applying an auth token when needed. This module provides a default mechanism for handling cookie auth that meets the needs of most applications.

you get any 404 page then go back the hook doesn't re-inject the token and have to do a manual refresh.

The gql:auth hook is triggered anytime a request made.
It sounds like the issue you encountered here is solely due to your cookie being inaccessible by the browser ( hence why you've created the /api/get-cookie route I assume )

That is correct, the cookie is a server side cookie with I set within context of the router. I still need a way to grab the token so I created a API endpoint for the client side of the app.
I also don't want to create another token with the same value -- I want to leverage what I already have to save from duplication.

That is correct, the cookie is a server side cookie with I set within context of the router. I still need a way to grab the token so I created a API endpoint for the client side of the app.

@cpreston321 Okay I understand, I'd suggest using a server plugin to check for the cookie's existence and pass along the token to your app. That would negate the need for the additional request to the get-cookie route.
You'd then be able to access the extracted cookie value within the gql:auth hook.
Feel free to reach out to me on discord, I'd be happy to have a closer look and help you find the best resolution here.

@Diizzayy what is your discord tag?

@cpreston321 you can reach me at Diizzayy#1964

@Diizzayy sent as officialcpzz


Improve the SQAaaS in Fuji runner

This should improve to Silver whwn the first release is made, provided it is tagged '1.0.0' (not 'v1.0.0' or similar)


About how to set timesFromStart parameter

When I initialized timesFromStart parameter, I add 4s, 8s, 12s in it. But with the result of vector view, All the ImageStream are the view of 4s. Please could someone help me to set the timesFromStart correctly, or is there a sample code? Thx!

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

ID: a9bf69aa-9f83-5806-4572-79bd12549822
Version Independent ID: 14fce80a-7ef0-2955-f196-36ff7e2b019b
Content: MediaComposition.GetThumbnailsAsync(IIterable, Int32, Int32, VideoFramePrecision) Method (Windows.Media.Editing) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.media.editing.mediacomposition.yml&version=GBlive&_a=contents
Service: unspecified
GitHub Login: @wdg-dev-content
Microsoft Alias: wdg-dev-content

Did you ever figure out the issue? What I found is if you set VideoFramePrecision.NearestKeyFrame you might get this behavior. Try VideoFramePrecision.NearestFrame

I'm getting the same problem with NearestFrame.  No matter how many TimeSpans are in the IIterable for the first parameter images returned are alternately the 1st image followed by a blank image.
Also, the heading of this page indicates that the first parameter is an IIterable while the code definition and parameter list declares it as IEnumerable.
I'm using a List<System.TimeSpan> for the first parameter which implements IEnumerable but according to the implement list for a List it does not directly implement IIterable.  There needs to be clarification on this and if the parameter does not implement the required interface then an exception should be thrown.

Thanks for taking the time to let us know about this and I sincerely apologize for the delayed response.
I created a quick sample app and I'm unable to reproduce your issue. The following code results in thumbnails from different times in the video:
composition = new MediaComposition();
await PickFileAndAddClip();

var streams = await composition.GetThumbnailsAsync(new List<TimeSpan>() { TimeSpan.FromSeconds(.5f), TimeSpan.FromSeconds(3.5f), TimeSpan.FromSeconds(7.5f) }, 320, 240, VideoFramePrecision.NearestFrame);
var idx = 0;
foreach(var s in streams)
{
    var img = new Windows.UI.Xaml.Controls.Image();
    img.Width = 320;
    img.Height = 240;
    var bmp = new BitmapImage();
    await bmp.SetSourceAsync(s);
    img.Source = bmp;
    Windows.UI.Xaml.Controls.TextBlock text = new TextBlock();
    text.Text = "IMG: " + idx;

    stackPanel.Children.Add(text);
    stackPanel.Children.Add(img);
    idx++;
}

private async Task PickFileAndAddClip()
{
    var picker = new Windows.Storage.Pickers.FileOpenPicker();
    picker.SuggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.VideosLibrary;
    picker.FileTypeFilter.Add(".mp4");
    Windows.Storage.StorageFile pickedFile = await picker.PickSingleFileAsync();
    if (pickedFile == null)
    {
        //ShowErrorMessage("File picking cancelled");
        return;
    }

    // These files could be picked from a location that we won't have access to later
    var storageItemAccessList = Windows.Storage.AccessCache.StorageApplicationPermissions.FutureAccessList;
    storageItemAccessList.Add(pickedFile);

    var clip = await MediaClip.CreateFromFileAsync(pickedFile);
    composition.Clips.Add(clip);

}

Since, for now, this doesn't appear to be a documentation issue, I can help redirect you to the right support channel to get an answer to your question. The community of experts and Microsoft Engineers over at Microsoft Q&A offer timely answers to a multitude of technical questions surrounding windows-uwp.
If you do create a thread over at Microsoft Q&A, it would be fantastic if you could share that link here so I can track the progress and potentially incorporate the technical details into our documentation. Though I'm marking this Issue as closed now, please treat this thread as an open thread for follow-ups. Thanks!


Restructuring SimBEV into OOP and cleaning up code

This rework is still ongoing, draft exists for testing purposes
Closes #41, closes #63, closes #64

I unassigned me due to vacation


added alternative database CouchDb

Like for the MONGODB, you can provide a COUCHDB url which overrides the MongoDB usage. It is prepared in the .ev.example file and explained in README.md. Tests are untouched and still work against MongoDb.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Jörg Riegel:x: codezorkJörg Riegel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

fixed deepscan issues - conflicts must be resolved
Jörg Riegel must be deleted from contributor list

@joerg-codecentric great, thanks. If you add the email address, which was used for the commits, to your github account, then cla status will also switch to green.

Had to force author change due to wrong commit history to get rid of Jörg Riegel

Closing this PR due to unresolved conflicts...
For further development on this feature, please create a PR for the cla-assistant/Daimler-master branch. We will keep this branch in sync with master.


[BUG] Import error: ColumnConcatenator

Describe the bug
Unable to import the ColumnConcatenator while trying to implement the multivariate classification example. The error shows as "no module named sktime.transformers.panel"
To Reproduce

from sktime.transformers.panel.compose import ColumnConcatenator

Expected behavior
Successful import of  the module
Additional context

Versions

System:
python: 3.7.4 (default, Aug  9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)]
executable: C:\ProgramData\Anaconda3\python.exe
machine: Windows-10-10.0.20270-SP0
Python dependencies:
pip: 20.1.1
setuptools: 49.6.0.post20201009
sklearn: 0.23.1
numpy: 1.19.4
scipy: 1.5.3
Cython: None
pandas: 1.1.3
matplotlib: 3.2.2
joblib: 0.17.0
numba: 0.51.2
pmdarima: None
tsfresh: 0.17.0

Hi @Pratyush1991 - thanks for raising the issue. This is related to https://github.com/alan-turing-institute/sktime/issues/481


Cardiac rehab fixes

Fixes:

[ ] LFS-901
[ ] LFS-912
[ ] LFS-913
[ ] LFS-915.

There seems to be a small bug where "Click this box if the patient is not taking the prescribed beta-blocker:" is showing up when Calcium Channel Blocker is selected from the list of medications, before the channel blocker section starts. Other than that all looks great!

Wrong condition for Click this box if the patient is not taking the prescribed beta-blocker:

should be C**ondition: bl_med_types = Beta-blocker**

tested


Question: Will The Official Website & NuGet Be Updated With 1.6.0

Just wondering, because it's been on 1.5.0 for a year now, but on GitHub it says you've entered version 1.6.0

Can't answer about the website, but NuGet is already set to 1.6.1. See here.

I guess @Pirajew refers to http://mahapps.com/news/

@thoemmi Yes, that is what I was referring to.

also the documentation there is very old very weak very basic

@Pirajew 1.6.0 and 1.6.1 release notes now added http://mahapps.com/news/
@ahmedflix25 I know and I'm working on it.


Bump mutation version to 1.1.0 and mutate to add Logging section

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Introduce mutation logic to add the Logging section to existing system definitions.
Why should this Pull Request be merged?
System definitions with an older version of the custom device fail to deploy if the Logging section is missing.
What testing has been done?
Loaded an existing system definition and confirmed it the Logging section was added and the custom device version was updated.

@buckd we currently will need to update the system definitions, as we otherwise fail when we attempt to read properties on the Logging section which doesn't exist.
I was conflicted on this, but unless we plan to guarantee deployment of un-mutated system definitions moving forward (and test it), I'd rather not put in any work to support this use case. It sets a bad precedent relative to other custom devices like SEECD which do require the system definition be re-saved.

@dbendele I thought you had previously mentioned all test system definitions were dynamically generated? Is that not true?

@dbendele I thought you had previously mentioned all test system definitions were dynamically generated? Is that not true?

There are a handful of system definition files in this repo.

FYI @dbendele, I only updated the sysdefs for the system tests. There are some sysdefs in the unit tests folder which should be updated at some point, but they're so old it's painful to do so and I didn't want to hold this PR up (e.g. the parameters file isn't even recognized as being valid anymore).


[Peek] Peek.UI persists as a media player

Microsoft PowerToys version
0.70.1
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Peek
Steps to reproduce

Start PowerToys with Peek enabled
Preview a video file that it is capable of playing (not audio)
Close the peek window through x on top right corner
Check media player status by clicking the bottom-right corner of taskbar, where the network/volume/battery icons are
Check volume mixer in settings, find PowerToys.Peek.UI

✔ Expected Behavior

Peek leaves the media player panel when the playback is stopped by the x button on the top-right corner of the window
Peek does not register itself in the volume mixer when it is not in playback of a media file

❌ Actual Behavior
After the steps provided above:

Note that in volume mixer, PowerToys.Peek.UI persists on the moment PowerToys starts up, regardless of whether you have previewed media files or not. I think it is not a good implementation, only apps that are actually outputting audio should appear there.
Other Software
No response

think this is an easy fix for when window is hidden.

I belive also another way how it is seen is that after opening a video it is an "active" player and system media controls try to control it instead of other player (in my case spotify).
Steps to reproduce:

Start audio playback (eg. on spotify)
Pause the playback (via system controls)
Preview a video file using peek powertoy and let it start playing audio.
Close the peek preview window (and video stops playing)
Try to start audio playback via system controls.
Expected: Spotify starts playback; Actual: Nothing happens - the system controls are in state shown on the screenshot bellow.

Windows 10, Powertoys v0.75

I can look at this one.

@nagolucky18
Feel free to investigate and fix the issue. Your contribution is welcome.

Video playback issue was resolved in 0.71. See 26160
As for the issue of Peek.UI appearing in volume mixer, this is because the app is always running if Peek is enabled. On window close, the window is hidden instead of the app being fully closed, meaning that the app stays in the volume mixer. I assume this is by design.
If removing the Peek.UI application from the sound mixer is desired, then the solution is to change Peek.UI so that it is only running when previewing media.

still relevant

The problem can not only be reproduced while using Peek to display a media file. The problem is there even if I use Peek to look at a text file.
Would it be possible to fix Peek so that it automatically de-register as a media player when the UI is closed? For example Firefox make it work:

Go to https://www.youtube.com to play a video in a new tab
Pause the video playing
The Firefox Youtube video is now integrated with the Windows media/volume control
Close the Firefox video tab
The Youtube video is no longer integrated with the Windows media/volume control.

I've been using Peek for a few days, and had no issues with it, but suddenly, for no apparent reason (hours after my last use of Peek, despite using media keys many times since then), this appears on my screen every time I press the play or pause media keys:


Add integration tests: run actual 'conan install' and 'build' in AppVeyor

Blocked in CI :/

@jgsogo conflicts

Closing as we've just released a new vs2022 compatible version that differs from this base, which will be the version we'll be supporting in the future, feel free to check it out in https://marketplace.visualstudio.com/items?itemName=conan-io.conan-vs-extension&ssr=false#overview


REQUEST: It would be great if the utility displayed more progress information

Hi.
For each stage, it would be nice if the utility displayed more information on what it was doing and how far it had got, e.g.
Processed XXX of YYY users (Started HH:MM:SS)
Processed N of S servers (Started HH:MM:SS)
Processed XXX of YYY users [on server N of S] (Started HH:MM:SS)
etc.
Yesterday the utility took ~3 hours to run, but I had no way of knowing (or predicting) whether it needed another 5 mins or an hour etc.
Thanks.
Simon

The Domino License Utility has a Scan Log, which is accessible once the scans are completed.
On the left navigator, click on "Scan Log" to see the details that you are requesting.

I am think more when the scans are running... Once I started it, I had no idea how far it had got or how long it might take for the scans to complete.

It is difficult to determine an approximate runtime for the scans for many reasons.

Network connectivity between the Notes Client and the Domino servers
Number of Domino Directories in the environment
Number of Person documents in the environment

We do provide approximate runtimes based on the number of person documents based on the Early Adopters of the Domino License Analysis Utility. Those approximate times can be found at this URL: https://opensource.hcltechsw.com/domino-license-analysis-utility-DLAU/


expected package, found import

can't load package: package .:
test.go:2:1: expected 'package', found 'import'
I tried running the go lthash program, so I created a test file (test.go), then copied and pasted the code provided on readme. But I was getting the above error

I omitted the package main declaration for brevity. The code won't compile anyway, since the oldSum and newSum variables are unused. I'll strip out some more surrounding boilerplate to make it more obvious that this isn't standalone code.

Please, can you make this code available in Python too? I'm not too
familiar with go as I am with python.
On Wed, Mar 13, 2019, 2:46 PM Luke Champine<EMAIL_ADDRESS>wrote:

I omitted the package main declaration for brevity. The code won't
compile anyway, since the oldSum and newSum variables are unused. I'll
strip out some more surrounding boilerplate to make it more obvious that
this isn't standalone code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lukechampine/lthash/issues/1#issuecomment-472555933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AScIiVf0zVibIwhQJDriIhQGidY9yWt9ks5vWUeggaJpZM4btmic
.

I am the opposite, so sadly I cannot help you. However, the code is conceptually very simple, and should be easy to port if you have a Python implementation of BLAKE2x. I googled around and couldn't find any, but then again, I don't really know where to look.

Thanks.
Using the program you provided, what is the syntax to verify if 'Banana' or
anything is contained in the hash?
Kind regards,
Francis Obiagwu.
215-767-4280
On Wed, Mar 13, 2019 at 4:58 PM Luke Champine<EMAIL_ADDRESS>wrote:

I am the opposite, so sadly I cannot help you. However, the code is
conceptually very simple, and should be easy to port if you have a Python
implementation of BLAKE2x. I googled around and couldn't find any, but then
again, I don't really know where to look.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lukechampine/lthash/issues/1#issuecomment-472602976,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AScIiR1uiWnyDQILuISg4t8Ln30qSY9Cks5vWWaNgaJpZM4btmic
.

LtHash does not support checking for the presence of an arbitrary element. You can only check whether the hash covers a given set.
For example, say you calculate the hash of the elements "Apple" + "Banana" + "Grape". You cannot check whether this hash contains "Apple". You can only check whether the hash is  "Apple" + "Banana" + "Grape" or something else.
If you want to check for the presence of an arbitrary element, a Merkle tree is probably your best bet. There is active research into accumulators (such as RSA accumulators) that may also be of interest.

I've done something similar, using shingles. Where I calculated the
resemblance and containment. But those are based on sets, and they are
highly Computational expensive. More so, the size increases linearly,
unlike hash functions that are of fixed size. But sure, I will read the
recommended research.
Thanks
On Sat, Mar 16, 2019, 2:38 PM Luke Champine<EMAIL_ADDRESS>wrote:

LtHash does not support checking for the presence of an arbitrary element.
You can only check whether the hash covers a given set.
For example, say you calculate the hash of the elements "Apple" +
"Banana" + "Grape". You cannot check whether this hash contains "Apple".
You can only check whether the hash is "Apple" + "Banana" + "Grape" or
something else.
If you want to check for the presence of an arbitrary element, a Merkle
tree is probably your best bet. There is active research into accumulators
https://en.wikipedia.org/wiki/Accumulator_(cryptography) (such as RSA
accumulators) that may also be of interest.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lukechampine/lthash/issues/1#issuecomment-473573431,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AScIiYuhsIYp59iOhnGpBfXHr8CnsQBZks5vXTotgaJpZM4btmic
.


Is there Set Api  NX option version?

hello.
Is there Set API  NX option version? or I need to use check first and set.

Plz set the when argument.
var redis = new RedisString<int>(...);
await redis.SetAsync(123, when: When.NotExists);


Fix #11799: support geojson name properties

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature

What does this PR do?

Add a Feature about series "map" :
Customrize geojson properties name tag, default is "name". Now, you can use "NAME", "nName" and so on.
Fixed issues
bug 11799
Details
Before: What was the problem?

In original version, geojson properties must have a tag: "name". Now you can customrize it.

After: How is it fixed in this PR?

Add a configuration.
Usage
It is used widely. Geojson standard doesn't clear and definite the tag "name".
Are there any API changes?

[x] The API has been changed.

{
                            name: 'USA PopEstimates',
                            type: 'map',
                            roam: true,
                            map: 'USA',
                            nameTag: 'NAME', // this is new option, default is 'name'
                            itemStyle: {
                                emphasis: {label: {show: true}}
                            }
}

Related test cases or examples to use the new APIs
https://github.com/yafengstark/incubator-echarts/blob/fix-11799/test/visualMap-fix-11799.html
Sorry, the test case is named as "map-fix-11799.html".
Others
Merging options

[ ] Please squash the commits into a single one when merge.

Other information

Thanks for the fix! @yafengstark .
I think using nameProperty instead of  nameTag is more intuitive since in GeoJSON it use properties.
And the name of test case can be map-nameProperty.html
Besides these, it looks good to me. Nice job!

Fixed in #12156.


Add note about role creation in README

Roles are not created during import (I suppose Keycloak doesn't support).
They need to exist in Keycloak prior to user login and can have names mapped between Keycloak names and legacy names.
This cost me some hours of debugging, so I suppose other can benefit from the explanation.

Ah, I think I understand the confusion.
Is what you mean to convey that a role defined in the legacy group conversion list will not be used if the corresponding Keycloak role doesn't exist? If, so, perhaps a better note to add would be something like:
Note that the Keycloak roles defined in the `legacy group conversion` list must already exist.
This way the message would be clearer and not in disagreement with the fact that roles can, indeed, be created during import when using Migrate unmapped roles.
What do you think?

Are you sure they are created if not preexistent? If so, I must be hitting something else.
My experience has been getting the user profile and groups migrated, but no rules. After trying changing : for _ (the legacy system has roles for each legacy client, but they can have the same name and I was trying a quick test for pulling all roles, so I gave them a namespace based on legacy client like "legacy_client_id:legacy_role") I decided to investigate the code and came to:
In https://github.com/daniel-frak/keycloak-user-migration/blob/09a3fed558d17b64bb5a8cc582174000839b9e81/src/main/java/com/danielfrak/code/keycloak/providers/rest/remote/UserModelFactory.java#L53
We have the role creation step:
https://github.com/daniel-frak/keycloak-user-migration/blob/09a3fed558d17b64bb5a8cc582174000839b9e81/src/main/java/com/danielfrak/code/keycloak/providers/rest/remote/UserModelFactory.java#L83-L84
The way I see, it will grant for the user all the roles returned by getRoleModels
https://github.com/daniel-frak/keycloak-user-migration/blob/09a3fed558d17b64bb5a8cc582174000839b9e81/src/main/java/com/danielfrak/code/keycloak/providers/rest/remote/UserModelFactory.java#L100-L131
But in getRoleModel we see that role must either:

exist in the conversion map AND exist in the realm or in any client
OR MIGRATE_UNMAPPED_ROLES_PROPERTY is True AND exist in the realm or in any client

So I believe that non-preexistent roles won't be found in the realm or client and thus roleModel is null and no role get created.
The implementation I found of the RoleModel is this:
https://github.com/keycloak/keycloak/blob/45202bd49a17b280e4469937bafbba6db099b24e/model/jpa/src/main/java/org/keycloak/models/jpa/RealmAdapter.java#L817-820
@Override
    public RoleModel getRole(String name) {
        return session.roles().getRealmRole(this, name);
    }

Which yields to this:
https://github.com/keycloak/keycloak/blob/45202bd49a17b280e4469937bafbba6db099b24e/model/jpa/src/main/java/org/keycloak/models/jpa/JpaRealmProvider.java#L226
    @Override
    public RoleModel getRealmRole(RealmModel realm, String name) {
        TypedQuery<String> query = em.createNamedQuery("getRealmRoleIdByName", String.class);
        query.setParameter("name", name);
        query.setParameter("realm", realm.getId());
        List<String> roles = query.getResultList();
        if (roles.isEmpty()) return null;
        return session.roles().getRoleById(realm, roles.get(0));
    }

Well, I'll be. It seems you're right!
It's been a while since I wrote this code and I must have forgotten how it works...
That's a very good find and an important addition to the readme!
Seems like a behavior that should be changed in the future but I'll merge your PR for now.


error

Traceback (most recent call last):
File "C:\Users\ms\Desktop\secp256k1-main\1.py", line 1, in
import secp256k1 as ice
File "C:\Users\ms\Desktop\secp256k1-main\secp256k1.py", line 22, in
ice = ctypes.CDLL(pathdll)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ms\AppData\Local\Programs\Python\Python312\Lib\ctypes_init_.py", line 379, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'C:\Users\ms\Desktop\secp256k1-main\ice_secp256k1.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Same with me. Waiting how to fix

Install the Visual C++ Redistributable and your problem will be solved

Try with new. If not working let me know

still not work at ARM device

ARM not supported. Only Windows and Linux


Feature/tsd dependency

@trevorsenior For your reviewing pleasure.

@tlegard was this change made to avoid a global tsd install?


Search Engine : bad number of results

The search scope include archived cards.
But as user of the board i'm not necessarily allowed to see the Archived list

Which version of Kansha are you using?

1.1.0dev8

Already fixed in #68.


Require exact maestral version

I recently accidentally updated the maestral package via pip but forgot to update the maestral-qt package. I was running maestral v1.7.1 with maestral-qt v1.6.5. I assume there is no guarantee of compatibility in a scenario like this? Or maybe there is currently a compatibility guarantee but not between a future maestral v2.x.x and maestral-qt v1.x.x?
Currently this package depends on any greater or equal version of maestral, but setting it to the exact version should cause pip to show a warning updating one and not the other.
https://github.com/samschott/maestral-qt/blob/9829be524d793581df8ebb9f14bda9b26946a5ea/setup.cfg#L31

There is indeed no guarantee that a future maestral version may be incompatible with maestral-qt, though the "gui" extra in maestral does specify the "reverse" dependency, i.e., which GUI version is required:
https://github.com/samschott/maestral/blob/eb47bd562e4a8345b13e59cba77ff8c1a0dec25f/pyproject.toml#L50-L54
[project.optional-dependencies]
gui = [
    "maestral-qt>=1.7.1;sys_platform=='linux'",
    "maestral-cocoa>=1.7.1;sys_platform=='darwin'",
]

Those versions should be enforced at runtime when running maestral gui.
Pinning is indeed an alternative, maybe even a more elegant than runtime checks, but it does preclude the possibility allowing an older GUI version to work with a newer daemon.


Compose Web: Missing enums for flex-basis

https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis
I see that there are flexBasis functions I can call on a StyleBuilder, but for completeness it seems like there should be an enum for values like "content", "unset", etc

Here's how I'm implementing it locally:
sealed class FlexBasis {
    companion object {
        val Fill get() = StringFlexBasis("fill")
        val MaxContent get() = StringFlexBasis("max-content")
        val MinContent get() = StringFlexBasis("min-content")
        val FitContent get() = StringFlexBasis("fit-content")

        val Content get() = StringFlexBasis("content")

        val Auto get() = StringFlexBasis("auto")
        val Inherit get() = StringFlexBasis("inherit")
        val Initial get() = StringFlexBasis("initial")
        val Revert get() = StringFlexBasis("revert")
        val Unset get() = StringFlexBasis("unset")
    }
}

class StringFlexBasis(val value: String) : FlexBasis()
class NumericFlexBasis(val value: CSSNumeric) : FlexBasis()

fun StyleBuilder.flexBasis(flexBasis: FlexBasis) {
    when (flexBasis) {
        is StringFlexBasis -> property("flex-basis", flexBasis.value)
        is NumericFlexBasis -> property("flex-basis", flexBasis.value)
    }
}

I'm relatively new to the world of html + css, so it's possible my solution is missing some corner cases

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Developer Experience / Codespaces

[x] helium-csharp

[ ] helium-java

[x] helium-typescrript

[x] webv

[x] imdb

target "local" dev (this includes VMs)

target Code Spaces dev

remove Dockerfile-Dev

don't target cloud shell

Host developer experience review for each language - local and code spaces

@jyotsnaravikumar, there are some missing extensions in the devcontainer.json file for Java.  As you're working on this it would be good to update the devontainer.json to include the extensions below:

davidanson.vscode-markdownlint-0.36.0
eamodio.gitlens-10.2.1
gabrielbb.vscode-lombok-1.0.1
redhat.java-0.62.0
redhat.vscode-xml-0.11.0
sonarsource.sonarlint-vscode-1.15.0
visualstudioexptteam.vscodeintellicode-1.2.7
vscjava.vscode-java-debug-0.26.0
vscjava.vscode-java-dependency-0.10.2
vscjava.vscode-java-pack-0.9.1
vscjava.vscode-java-test-0.22.4
vscjava.vscode-maven-0.21.4

Implemented this task as part of https://github.com/retaildevcrews/helium-java/issues/255 in PR - https://github.com/retaildevcrews/helium-java/pull/259

My observation on testing Helium-Java Codespaces

When I run F5 on a fresh Codespace

launch.json does not get invoked from docs/vscode-template folder. It always looks for them in .vscode folder.
The same behavior with tasks.json as well
Hence to test we would've have to copy the launch.json from docs/vscode-template to .vscode
Not sure if this is maven specific codespace behavior.
The "args" did not work for helium java . Hence I used the "env" variable.
https://stackoverflow.com/questions/59687712/how-to-set-java-environment-variable-in-vs-code
ERROR com.cse.helium.app.services.configuration.ConfigurationService. (45) - Max retries 3 times exceeded. Error Details: Tried AzureCliCredential but failed to acquire a token for any of them. Please verify the environment for either of them and see more details in the causes below.
Seems like it still does not pick environment variable.

When I run mvn clean package from bash

mvn clean package
export KEYVAULT_NAME={my_keyvault_name}
az login
Everything works smooth

Now Run F5 again

Now it picks environment variable here
Everything works smooth


AWS Stack only needs agent token, now

A while back we removed the need for an api access token from the elastic stack, but forgot to clean up the instructions in here. This simplifies the instructions and makes them look more like the others again.

🙇

🎉


Fix to code block sample 1

Submitted by David E. Craig, referenced in his blog: https://theofficecontext.com/2018/07/27/ews-expanddl-documentation-is-wrong/
Principal Premier Field Developer
US Public Sector
Office 365 Development Advisory Lead
Cell: +<IP_ADDRESS>12
<EMAIL_ADDRESS>

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/web-service-reference/expanddl-operation.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


New cop: Prefer each(&:destroy!) over destroy_all

To be consistent with the Rails/SaveBang cop
we should no use destroy_all because it use destroy internally.
Instead we should call each(&:destroy!)
There was a proposal to add destroy_all! in Rails, but there is no progress

https://github.com/rails/rails/pull/37782
https://discuss.rubyonrails.org/t/proposal-add-destroy-all-method-to-activerecord-relation/80959

# bad
User.deactivated.destroy_all

# good
User.deactivated.each(&:destroy!)

https://petalmd.atlassian.net/browse/HOS-1937


Modified csv_output and test_csv_output, Added dowelTest1 and dowelTest2

Summary on GitHub about understanding of the problem:
Dowel is a library developed with the intention of saving all logs generated via Reinforcement learning experiments performed by the Garage Team. Dowel can log datatypes such as strings, floats to CSV files, Tensorboard, Text files and consoles(stdout). Dowel can also generate histogram of raw data whenever required.
Issue #45: This issue is new data (in tabular format) is not getting logged into CSV output file after statistics like loss here get logged by calling logger.dump_all() for the very first time. Inconsistently logged data in between will not get record in CSV output file.
This issue is raised by difference in keys in to_csv and fieldnames which is responsible for creating header of CSV output file. Due to addition of only stale keys in CSV output file, it is not capturing newly added data.
What my suggested approach is:

Read the already created log file and save it in a variable.
Add the new keys to fieldnames.
Update the csv Dictwriter with the new keys using updated fieldnames.
Make the pointer points to start of the file to begin overwriting.
Start overwriting the same log file instance from the beginning with the updated_writer updated using  csvwriter

Even if the new header is larger than the output buffer or the old lines are older than the input buffer I believe it should work because it is reading from the current log file generated. Firstly it is reading the old file's data and storing it locally , then overwriting starts while actually reading each row from old data correspondingly.

Hi @krzentner
Thanks for your review. I have done 2 commits as per your suggestions.
Please have a look at it.


Indexed Foldable and Traversable

There seems to be a sensible notion of a traversable type-aligned sequence, for traversing what McBride calls a Path in the context of an Atkey-style indexed applicative functor. There's also a related notion of folding one up in the context of a Category. This notion of traversability generalizes your mapMR and makes traversability stronger than mappability and foldability, as we'd expect.

I'm no longer actively maintaining this library, but I will accept pull requests and upload them to Hackage.


What is "CalculateMatchCodeSynchronously " ?

Hello,
It's mentioned that there is an existing CalculateMatchCodeSynchronously  parameter but can't find any mention in the doc ?

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

ID: a48217ac-43b9-cefb-70bf-163c82175080
Version Independent ID: 70af49c3-2b41-bbde-235c-d348b2f47a2d
Content: Detect duplicate data using the Web API (Microsoft Dataverse) - Power Apps
Content Source: powerapps-docs/developer/data-platform/webapi/manage-duplicate-detection-create-update.md
Service: powerapps
Sub-service: dataverse-developer
GitHub Login: @divka78
Microsoft Alias: dikamath

Thanks for your comment, @allandecastro. This issue has been assigned to the doc author for review.

@allandecastro
Thanks for pointing this out.
This is an old optional parameter for Create and Update. This is the only place it is mentioned in the docs.
It used to be mentioned on older versions of the docs, as far back as CRM 2013 Use messages (request and response classes) with the Execute method > Pass optional parameters in messages, but even then the guidance was to not use it.
It is noise now, so I'll remove the note.


Can't edit "Short Description" without deleting all existing text.

Brief Description: The only way to edit the store short description is to completely delete all existing text which takes you back to the prompt you get when you first set up your openbazaar before you click "become a store" see pics
Operating System (OS and version): OS X Sierra 10.12.1
OpenBazaar version (shown on About OpenBazaar page in menu): v1.1.8
Hardware: iMac (27-inch, Late 2013)
Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce): always
Steps to reproduce:

open settings, click page
under short description, you can delete text but you cannot enter text until all text is deleted.
enter new text and click save

Observed Behavior:
Expected Behavior: should be able to make small corrections
Additional info (links, images, etc go here):

Are you trying to enter more than the limit of 160 characters in the short description? I'm not able to reproduce a bug with not being able to enter new text, but it does look like you may have hit the character limit in your short description.
The description in the become a store dialog is the about text, we should make that more clear.

Hi jjeffreys, absolutely correct, didn't realise I'd gone over 160 chars and openbazaar let me and accepted and published it, there needs to be a limiter built in and I agree, it should be labelled store description or not appear at all until you click" become a store".

sorry hit the wrong button, this is a classic case of stupid non-intuitive design.


"Learn about digital wallet" content

As a novice user who is curious but cautious of digital wallets, I want to be able to find more information about how to use the wallet, my credentials, learn more about the system and others, so that I can clarify away any fears I might have with the security and privacy of the system and learn how to properly use the app in a safe and secure way.
Blocked:

How this information will be relayed to users is yet to be defined. Will it be an external weblink accessible within the app? Will the information be within the app itself?

Lo-Fi wireframes
https://xd.adobe.com/view/dddddab2-f649-41d4-b2d8-d156d2ef1e1f-888e/

Done


How to train with v1.0-mini dataset?

Hi, thanks for your great work!
Because of equipment limitations, I can only train with 8GB GPU (Nivdia 4060 laptop) and v1.0-mini dataset. Metrics are not important, just want to run on my own computer.

I changed some hyperparameters, generated train.txt and val.txt of v1.0-mini (the first and last frames of each scene are excluded). It seem to train successfully:
input_channel: 64 -> 4
con_channel: 16 -> 1
encoder: 101 ->50
render_h: 180 ->45
render_w: 320 -> 80

Do you have some advice on training with v1.0-mini dataset?

I generate the train.txt, val.txt, and  depth of v1.0mini dataset by tools/export_gt_depth_nusc.py
Do I need to change ground truth occupancy labels in ./data/nuscenes/gts, 2D semantic labels in ./data/nuscenes/nuscenes_semantic and checkpoint in ./ckpts?

There are 700 training scene and 150 val scene in v1.0-full dataset, but why there are just 20096 sample tokens (about 500 scene) in your train.txt?

The ‘train.txt’ and ‘val.txt’ are from SurroundDepth and only contain frames that have ‘prev’ and ‘next’ info. For mini dataset, you should use nuscenes_devkit to remove invalid frames by yourself.
For ground truths, no preprocessed data is available for the mini dataset so you should also generate it by yourself.
You don’t need to change the checkpoints for pretrained models.
If you want to debug with the mini dataset, just make a dummy one to match the input format.

@LinShan-Bin  你好，感谢你卓越的工作，在运行minidata数据时，我遇到了以下错误
KeyError: 'a593a62aa9b54234ae666f3006b4d9f5'
请问如何解决他

@Terencedu 你好，我在运行mini data时遇到FileNotFoundError: [Errno 2] No such file or directory: './data/nuscenes/nuscenes_depth/samples/CAM_FRONT/n015-2018-07-24-11-22-45+0800__CAM_FRONT__1532402928112460.npy' 这一问题，请问您知道是什么原因导致吗，或许您能提供一下minidata的train，val.txt,以及对应的gt_depth吗


npm start fails on devJS

I've tried on ubuntu and osx with node 8 and 6. I get the below error and can not figure out what is wrong.
><EMAIL_ADDRESS>start /home/shayden/git/react-tooltip
> make dev

starting dev server...
make[1]: Entering directory '/home/shayden/git/react-tooltip'
Converting css...
css file has been transformed to JS successful
css file has been transformed successful
make[1]: Leaving directory '/home/shayden/git/react-tooltip'
[0] make[1]: Entering directory '/home/shayden/git/react-tooltip'
[1] make[1]: Entering directory '/home/shayden/git/react-tooltip'
[2] make[1]: Entering directory '/home/shayden/git/react-tooltip'
[2] Listening 8888...
[1] Rendering Complete, saving .css file...
[1] Wrote CSS to /home/shayden/git/react-tooltip/example/dist/index.css
[1] Rendering Complete, saving .css file...
[1] Wrote CSS to /home/shayden/git/react-tooltip/example/dist/style.css
[0] events.js:160
[0]       throw er; // Unhandled 'error' event
[0]       ^
[0]
[0] Error: watch /home/shayden/git/react-tooltip/src/decorators/staticMethods.js ENOSPC
[0]     at exports._errnoException (util.js:1018:11)
[0]     at FSWatcher.start (fs.js:1443:19)
[0]     at Object.fs.watch (fs.js:1470:11)
[0]     at createFsWatchInstance (/home/shayden/git/react-tooltip/node_modules/chokidar/lib/nodefs-handler.js:37:15)
[0]     at setFsWatchListener (/home/shayden/git/react-tooltip/node_modules/chokidar/lib/nodefs-handler.js:80:15)
[0]     at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/shayden/git/react-tooltip/node_modules/chokidar/lib/nodefs-handler.js:228:14)
[0]     at FSWatcher.NodeFsHandler._handleFile (/home/shayden/git/react-tooltip/node_modules/chokidar/lib/nodefs-handler.js:255:21)
[0]     at FSWatcher.<anonymous> (/home/shayden/git/react-tooltip/node_modules/chokidar/lib/nodefs-handler.js:473:21)
[0]     at FSReqWrap.oncomplete (fs.js:123:15)
[0] Makefile:29: recipe for target 'devJS' failed
[0] make[1]: Leaving directory '/home/shayden/git/react-tooltip'
[0] make[1]: *** [devJS] Error 1
[0] make devJS exited with code 2
--> Sending SIGTERM to other processes..

this worked on a mac with el capitan. not sure what the difference was. I'll close but would be nice if it worked in more environments.

@stefanhayden I'm getting the same issue - did you find a solution?

@yelled3 a newer version of OSX seem to fix whatever was wrong. It ended up working on el capitan on node 6. I didn't look in to why.


Tests should still run if style isn't just right

@flying-sheep
Running the tests locally should warn about formatting, and the tests should still run on travis even if formatting isn't quite right. We shouldn't prevent checking for correctness due to style.

Fixed in #221


Add experimental Mixin mechanism (WIP)

Mixin is a meta-plugin that wraps another plugin. A mixin enhances
functionality of a plugin, and/or provides API to a plugin.
Plugins with fields annotated by @PluginMixin can use mixin:
@PluginMixin
ParserErrorMixin error;

or
@PluginMixin
void setError(ParserErrorMixin error)

This field is filled by PluginManager. Plugins can call methods of the
mixin instance at transaction and run/open methods.
A mixin class (such as LineParserErrorMixin) implements T mixin(T)
method where T is an instance of the plugin. Typically, it returns a
wrapped plugin instance.
Mixin classes can use TaskReport mechanism. At transaction stage, mixin
class calls Exec.newMixinId() to get a MixinId. At task stage, mixin
sets TaskReport using Exec.reportMixinTask(MixinId, TaskReport method.
Then at transaction stage again, mixin gathers TaskReport of tasks using
Exec.getMixinReports(MixinId) method.

Mixi mechanism will be infrastructure to solve error handlers (#27 and #46).
This also could provide generic solution for #124.

I rethink that this mechanism is too large to support error handling. And having multiple error plugin instances makes it impossible to calculate max_error_records globally because calculation of number of error records are done by each error plugin, while error records from both input plugin and output plugin are error records.
Next idea is to initialize one additional output plugin for error handling. A config file will have in:, out:, and err:. err: accepts any kinds of output plugins. BulkLoader.doRun takes err: config and calls transaction. Then Executors.process (or an additional method) opens it. Then set the opened PageOutput to thread-local storage (maybe wrapper of ExecSession). New Exec.addRecord(Value) method adds a record to the PageOutput. Executors.process closes the PageOutput, and passes TaskReport to Executors.ProcessStateCallback.errorCommitted right before outputCommitted call. Implementation of errorCommitted method sets errorTaskReport to ProcessState.


Elasticsearch 2.0

Do you have a plan to provide a elasticsearch 2.0 version ?

I'm working on 2.0 support now :)
I'd like to release it on this week or next...

Thank you !


update VoID to have link to external data sets we have bdb:xxx links for

As requested by YummyData's "Links to Other DatasetList" items.
Data sets linked to with bdb:* links include Ensembl, UniProt, Wikidata, HMDB, ChEBI...

Duplicate of https://github.com/wikipathways/GPML2RDF/issues/65 (which has more info).


Any plan to migrate pnpm from 8.x to 9.x?

Clear and concise description of the problem
Since the latest version of pnpm has been updated to 9.x, and the pnpm-lock.yaml file is incompatible between these two different major version, which will make pnpm i broken of those who is using 9.x
Suggested solution
Update pnpm-lock.yaml by pnpm@9
Alternative
No response
Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Run corepack enable.
No plans to update pnpm. Low to no priority since corepack exist and this only impacts the core team, who all use corepack anyways

Thanks.

If you want to PR a v9 upgrade. We will not oppose it and I can have corepack poin to v9.


Use read by index and check for NaNs

Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible
Use read by index and check for NaNs
What does the code in this PR do / what does it improve?
Use read by index and check for NaNs see https://github.com/AxFoundation/strax/pull/529
Can you briefly describe how it works?
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:

[ x] Update the docstring(s)
[x ] Update the documentation
[x ] Tests to check the (new) code is working as desired.
[x ] Does it solve one of the open issues on github?

Notes on testing

Until the automated tests pass, please mark the PR as a draft.
On the XENONnT fork we test with database access, on private forks there is no database access for security considerations.

All italic comments can be removed from this template.

Same comment as in https://github.com/AxFoundation/strax/pull/529#pullrequestreview-746453238

As I said in previously in my opinion we need this for reprocessing, specially because the discussion regarding "to_pe" values modeling

Merging this now that AxFoundation/strax#529 is merged.


Leaderboard styling

Now you should improve the look and feel of the application, adding the styles of your choice. Done
Please keep the general layout of the wireframe, this is the only mandatory requirement. Done
You can use plain CSS or any CSS framework, it's up to you. Done

fixed.


Create batch import for Institutional Access for restricted items

The underlying table and ability to add institutional access exists for single records. This ticket is for creating a batch import process so that we can assign links to multiple records at once.
This is potentially a block for us before moving the tech stack to production as we have nearly 1000 licensed data records in the geoportal.

Once possible workaround is that I already have these formatted for Solr. This could be added to the Import form as is. For example a value for a record would be {"01":"https://iucat.iu.edu/catalog/17242241","02":"https://vufind.carli.illinois.edu/vf-uiu/Record/uiu_6502938","03":"https://search.lib.uiowa.edu/permalink/f/9i2ftm/01IOWA_ALMA51670211640002771","04":"https://www.lib.umd.edu/dbfinder/id/UMD09192","05":"https://primo.lib.umn.edu/permalink/f/1q7ssba/UMN_ALMA51579702380001701","06":"http://catalog.lib.msu.edu/record=b5326031~S39a","07":"https://search.lib.umich.edu/databases/record/10387","09":"https://libraries.psu.edu/databases/psu01568","10":"http://digital.library.wisc.edu/1711.web/socialexplorer","11":"https://library.ohio-state.edu/record=e1000847~S7","12":"https://catalog.lib.uchicago.edu/vufind/Record/6364355"}
We could just import this as a string.


MethodChainingIndentationFixer: nested params bugfix

Ref: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3063
Ping @julienfalque

could you propose a fix @Slamdunk ?

I don't get very well @julienfalque algorithm :\

@keradus @julienfalque I've pushed the fix, can you review it please?

ping @julienfalque
could you take a look please? this one is waiting too long

Rebased.
Only nightly is failing, I'll ignore it.
Ping @julienfalque :)

Ping @julienfalque :\

Thank you @Slamdunk.


opae-sdk: add range check to host exerciser cmd line input  interleave

specifies how many requests to interleave when TestMode = 3'b011
Ex. 3'b000 - Rd,Wr,Rd,Wr
Ex. 3'b001 - Rd, Rd, Wr, Wr
Ex. 3'b010 - Rd, Rd, Rd, Rd, Wr, Wr, Wr, Wr
Not used when TestMode != 3'b011
host exerciser interleave range from 0 to 2
Signed-off-by: anandaravuri<EMAIL_ADDRESS>

Coverage remained the same at 65.375% when pulling d9101e93214c14adb531296c91d4fced900b3c96 on aravuri/he_interleave into 15d52d16c5ab8d34a22c6d7e104d56d748420a09 on master.


How to stop observing connection state

I am observing connection during onResume and I can't figure out way to stopObserving this. Is there any way to do so?
centralManager.observeConnectionState { peripheral, state ->
Log.d("Connected Device",peripheral.address)
}

you could simply provide an 'empty' lambda to observeConnectionState


Support time data type in MsSql

Why make this change?

Closes #1401

What is this change?

time data type is detected as TimeSpan in C#. Add respective additional case for this type where ever types are handled.

Additional Fixes

In GraphQL, while parsing a values of datetime, datetime2, they should be treated as UTC, otherwise HotChocolate tries to convert into UTC and max values stored in the db then cause overflow exceptions.
Use InvariantInfo format provider while parsing

How was this tested? Work in progress

[X] Integration Tests - in SupportedType
[X] Unit Tests - StoredProcedureBuilderTests

Sample Request(s)

Some of the Tests are failing due to the following Assertion failure
as graphql is converting 1999-01-08T10:23:00 to 1999-01-08T10:23:00.000Z, due to which the value returned by graphQL and the value stored in the DB do not match.
Reason:
When a  DateTime  value is serialized in GraphQL, it is typically represented in the ISO 8601 format, which includes the date, time, and timezone information.
In the example provided above, the value "1999-01-08T10:23:00" is serialized as "1999-01-08T10:23:00.000Z". The ".000Z" represents the milliseconds and the "Z" indicates that the datetime is in UTC (Coordinated Universal Time) timezone.
This default behavior ensures consistency in representing datetime values across different systems and ensures that timezone information is not lost during serialization and deserialization.
If we want to customize the serialization format of the  DateTime  type in your GraphQL schema, we can define a custom scalar type and specify your desired serialization logic. However, it's important to note that changing the default serialization format may introduce compatibility issues with other systems consuming your GraphQL API.

So, the difference is in date_types, datetime_types, datetime2_types, smalldatetime_types and timespan_types

Here are a few examples of compatibility issues that could occur when customizing the serialization format of the  DateTime  type in GraphQL:

Client Expectations: If you have clients consuming your GraphQL API that rely on the default ISO 8601 format for  DateTime  values, changing the serialization format could break their expectations. Clients may have logic or parsers in place that assume the default format, and altering it could lead to parsing errors or incorrect handling of datetime values.

Third-Party Integrations: If your GraphQL API interacts with other systems or third-party integrations that expect datetime values in the default ISO 8601 format, changing the serialization format could cause compatibility issues. The receiving systems may not be able to parse or handle the modified format correctly, leading to data inconsistencies or errors.

Tooling and Libraries: Many GraphQL client libraries and tools are built with the assumption of the default serialization format for datetime values. If you deviate from the standard format, you may encounter issues with these tools. For example, client-side code generators or query builders may not be able to handle the modified format, resulting in code generation errors or runtime issues.

Data Exchange: If you share your GraphQL schema or data with other developers or organizations, they may expect datetime values to follow the default serialization format. Changing the format could lead to confusion or difficulties when exchanging data, as the receiving party may not be aware of the modification.

It's important to consider these compatibility issues and potential impacts before making changes to the default serialization format of  DateTime  values in your GraphQL schema. If customization is necessary, it's recommended to communicate the changes clearly to all relevant stakeholders and ensure compatibility with existing clients and integrations.

Notes after discussion:

rename timespan_type column to time_type.
find an equivalent C# type and hotchocolate for time.

NOTE:
In C#, starting from .NET 6.0, there is a TimeOnly structure available in the System.TimeOnly namespace. TimeOnly represents a time of day without a date component, similar to the SQL Server time data type.
TimeOnly provides properties like Hour, Minute, Second, and Millisecond to access the individual components of the time. It also supports various methods for comparing, formatting, and performing operations on time values.

Approved but since I authored it initially, can't represent it in github. Can consider @abhishekkumams approval on my behalf.


TR-1807

PR Template for new Detections
For Authors:

[ ] Make sure that CI/CD detection-testing and build-and-validate jobs passed ✔.

For Reviewers:

[ ] Verify CI/CD jobs have passed without errors.
[ ] Validate SPL logic.
[ ] Validate tags, description, and how to implement.
[ ] Validate name matches <platform>_<mitre att&ck technique>_<short description>
[ ] Verify references match analytic.
[ ] Is there an Atomic Test?

Validation now passes with the removal of the CVE tag. Validation failed previously as circl.lu has no record of CVE-2021-3422 yet (potentially as the NVD analysis is still ongoing).
Testing is failing as expected. Detection has a macro with a specified index, as not specifying the _internal index would cause the detection to fail in production as opposed to testing.

nice details. LGTM!!


Duplicate widget name not allowd within a frame

When re-using the same name for another widget some weird behavior comes up, like sliders affecting each other. I think this is common enough occurrence in general UIs that it should be supported (or documented as limitation).

It is (currently) indeed a limitation, sorry for not documenting this. Widgets are identified by doing a hash on their name. The proper solution (like Dear ImGui does) is to parse the name and check for ,say, a double hash symbol(##). Include the whole string for hashing but drop any characters after '##' when rendering the text.
So then you can have 2 buttons display "Click Me" but their actual names would be e.g. "Click Me##1", "Click Me##2".
Thanks for opening this, I will implemented it soon!

I worked around it by adding a widget-counter to hashed string, incremented inside the UpdateLayout.
Is there a reason why names should be unique on the user side? Or just internal handling?

Hmm, maybe your workaround is better and simpler. If you don't mind sharing it I could implement this instead.

The code I'm using is this:
https://github.com/immortalx74/lovr-ui/pull/13
Not necessary the best as I didn't go through the library design too carefully.


the powershell cmdlet Get-AzWebAppMetrics failed with bad request

When I use the cmdlet Get-AzWebAppMetrics, it failed to execute with error message: Get-AzWebAppMetrics : Operation returned an invalid status code 'BadRequest'.
I don't know what's wrong with it. can you please let me know how to correct the error? Thanks.

Hi @imeya - because this is not a docs.microsoft.com issue, we cannot address the feedback in this repository. Please open the issue in the Azure PowerShell repo: https://github.com/Azure/azure-powershell/.


ghidra: 9.2 -> 9.2.1

Motivation for this change

version update
enable on x86_64-darwin

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 108052 run on x86_64-darwin 1

1 package built:

ghidra-bin


Customize poweroff

This has gone unnoticed as what happens instead of poweroff is that the kernel oops and the device freezes. However, I am introducing reboot on panic configuration as part of the secure boot work, and with that configuration and without this patch the device reboots instead of powering down.

Hi @alexgg should this PR be used in conjunction with another PR?


[DNM] hub-statistic component

Just pushing the work I did to think through #5
So far I started only on <hub-statistic>, haven't looked at <hub-field-statistic> yet.
This code is far from mergable, and not meant to be reviewed as such.

@tomwayson should we move this to the new and more official Esri/Hub Components since this repo was moved to be for experiments?


Reading incorrect values on Mekanism Bins

Issue description:
Mekanism Bins are show to be over capacity when in fact they have still lots of room left
What happens:
Percentage shows way over 100% (see screenshot), items not routed to container
What you expected to happen:
Show correct percentage, route items to bin
Steps to reproduce:

Place Bin (fill it above 64 items, which seems that is the max it reads for them, any type works the same)
Hook RS with External Storage connector from the front
Check External storage connector values (see screenshot)

Version (make sure you are on the latest version before reporting):
Minecraft: 1.15.2
Forge: 31.1.14
Refined Storage: 1.8.1
Mekanism 9.9.11
Does this issue occur on a server? don't know using single player hardcore.
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

Fun fact I noticed, if all normal containers are full (chests), and there is a bin for a given item hooked to the network, and you try to enter items from the grid, it will successfully push them to the bin even when it wasn't doing it before regardless of priority.

The visual indicator is just that visual. It does not have any influence on whether or not items may be inserted or not. Please double-check if the external storage is working.
Make sure you are using the filter options correctly. If I'm seeing that correctly you are blacklisting iron ore from being inserted.

yeah that was my bad, items are coming in one I whitelist it, but the visual bug is still there, not sure why raoul is so angry at closing issues, while the bug is still there... ¯_(ツ)_/¯

The visual representation that you see is what the mekanism bin reports as it's inventory. There is no way for RS to fix that.

lest see, can I link the owner of mekanism in here @pupnewfster ?

First off, I am not the owner of Mekanism, that would be aidan, I am just one of the maintainers.
Also my guess is this has to do with the fact that Mekanism bins only have a singular slot that it allows to go way past the max stack size of stack, and in which we manually handle the extra syncing of size so that it gets sent to the client/saved of the "size override" so that the number does not get truncated when it goes past 127.
This "issue" would seem to be due to this line where it also caps the capacity of the slot at the max stack size of the stored stack. So in our case this is making refined storage display that our bins only have a max capacity of 64.

Not sure why people is so angry about this post I'm just trying to help.... So yeah know everyone knows about it... I'm out... Peace.