Add option to change window icon

This PR implements setting the window icon with an optional feature.

Hi, eagle. I managed to set a windows icon in flutter-app-demo by using a icon source named GLFW_ICON on windows. See build.rs. On mac, this method does nothing, it's using mac bundle's icon.

If the executable has an icon resource named GLFW_ICON, it will be set as the initial icon for the window

This solution looks fine as another way to set icon, but a little more complex.

Hi, I've seen the method you're using in the build.rs, but that doesn't work on Linux at all. Using the glfw method to set the icon works on all platforms except macOS. There you have to create an app bundle to set the icon, but that can't be done inside a build.rs anyway.

Fair enough! Merged


runtime error: invalid memory address or nil pointer dereference

this happens when i try to reload channels from a new m3u

| don't have access to a TV now, does it fail when you try. to run it on a different computer?

not tried yet. before I try that, my playlist link does not end with .m3u or .m3u8 though, could that be a thing?
it's like ...&type=m3u_plus&output=ts

not tried yet. before I try that, my playlist link does not end with .m3u or .m3u8 though, could that be a thing?
it's like ...&type=m3u_plus&output=ts

Hmm 🤔 could be, you can try to debug internal/m3u/m3u.go


about test dataset

Hi,when run 'python test.py -c APBSN_SIDD -g 0 --pretrained APBSN_SIDD.pth --test_img ./00001.png',occur error 'FileNotFoundError: [Errno 2] No such file or directory: './dataset/SIDD/BenchmarkNoisyBlocksSrgb.mat'.What's the reason?Can test data only be SSID data sets?

Hi, sunyclj.
Thanks for reporting problems while you run the code.
It was a bug while you test a single image without the dataset.
And I fixed that bug and further implemented testing code for entire image folder for convenience.
I pushed the updated code, and thanks you again for reporting bug:)


Potential FPs due to clustering

We have some cases where the attack detector alerted in the execution phase although having a funding alert and a malicious contract creation alert. For these cases at least one hop was executed by the attacker. The goal of this issue is to investigate if clustering is not working properly
e.g1:
Onix attack

Attacker used this address to fund vía TC. We have alerts for TC funding.
Attacker executed two hops and ended in this address (the one that eventually deployed the malicious smart contract)
The ml bot flagged the contract here
The attack detector did not include in the metadata the funding base bot alert. Alert here

e.g2:
LinkDAO

Attacker used this address to fund vía TC. We have an alert here
Attacker executed one hop and ended in this (the one that eventually deployed the malicious smart contract)
The ml bot flagged the contract here
The attack detector did not include in the metadata the funding base bot alert. Alert here

@Vxatz plz let me know if you have too many P0's on your plate.

In both cases, there had been an issue with the Entity Clustering bot, which has been fixed since its last update.


Repo sync for protected CLA branch

The pull request is created from privateToPublic-push-CLA-signedCommits637607002852394029 to privateToPublic-push-CLA-signedCommits to fix git push error for protected CLA branch

Docs Build status updates of commit 15573c8:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch privateToPublic-push-CLA-signedCommits637607002852394029 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix unilateral contact model issues

We gather in this Epic the issues recently identified on the implemented model handling the unilateral contacts (ground reaction forces).

CC @VenusPasandi @CarlottaSartore


Added subscription_map tests.

The tests forcused on using it on the broker.

@redboltz To build the unit test with MSVC with boost dynamic linkage, i need to define BOOST_TEST_SOURCE to be able to compile the tests: http://boost.2283326.n4.nabble.com/Boost-unit-test-cpp-problem-when-try-to-compile-simple-program-td2596687.html

Please don't push, because I am editing also.

Now #687 is unstable. Several  hours ago , the Linux CI failure is caused by environmental issue. It seems that the issue is fixed by github actions side. And then, new hash_value issue is reported. I need to fix it.

I will ask you to rebase #688 from sub_map_test after I fixed the problem.


extra space appended

if a word is broken while showing less text an extra space gets added after that character when full text is shown.
out t ... Read more on expand becomes t  hese collection. An extra space gets added after t

yes have also noticed this, space in between a full word.  it will fail our QA. Any solution to this/tips on how to get round it with css or something?

@ismarslomic Any updates regarding this issue?

@raviteja83 @BexAstley @omarsafwany : sorry for late response! Reason why the extra whitespace is added between last character and "..." is because we are using multiple spans, and default behaviour in HTML is to add an extra whitespace between spans. You might override this by using CSS for span element. Im closing this issue for now.

Actually I got this fixed in 4660d51725099dbc6bca7b5103f5128fa9ae9c5d


Inconsistent dependency resolution results with Microsoft.Unity

I got the following code for registering all implementations of an interface, and registering Mediator stuff with the unity container.
public static class IUnityContainerExtensions
{
    public static IUnityContainer RegisterMediator(this IUnityContainer container, LifetimeManager lifetimeManager)
    {
        container.RegisterType<IMediator, Mediator>(lifetimeManager);
        container.RegisterInstance<SingleInstanceFactory>(t => container.Resolve(t));
        container.RegisterInstance<MultiInstanceFactory>(t => container.ResolveAll(t));
        return container;
    }

    public static IUnityContainer RegisterMediatorHandlers(this IUnityContainer container, Assembly assembly)
    {
        container.RegisterTypesImplementingType(assembly, typeof(IRequestHandler<>));
        container.RegisterTypesImplementingType(assembly, typeof(IRequestHandler<,>));
        container.RegisterTypesImplementingType(assembly, typeof(IAsyncRequestHandler<>));
        container.RegisterTypesImplementingType(assembly, typeof(IAsyncRequestHandler<,>));
        return container;
    }

    public static IUnityContainer RegisterTypesImplementingType(this IUnityContainer container, Assembly assembly, Type type)
    {
        foreach (var implementation in assembly.GetTypes().Where(t => t.GetInterfaces().Any(implementation => IsSubclassOfRawGeneric(type, implementation))))
        {
            var interfaces = implementation.GetInterfaces();
            foreach (var @interface in interfaces)
                container.RegisterType(@interface, implementation);
        }
        return container;
    }

    private static bool IsSubclassOfRawGeneric(Type generic, Type toCheck)
    {
        while (toCheck != null && toCheck != typeof(object))
        {
            var currentType = toCheck.IsGenericType ? toCheck.GetGenericTypeDefinition() : toCheck;
            if (generic == currentType)
                return true;
            toCheck = toCheck.BaseType;
        }
        return false;
    }
}

Mediator resources
public class RequestModel : IRequest<string> { }

public class RequestModelHandler : IAsyncRequestHandler<RequestModel, string>
{
    public async Task<string> Handle(RequestModel message)
    {
        return ...;
    }
}

Unity container registration example
container
    .RegisterType<..., ...>()
    ...
    .RegisterMediator(new HierarchicalLifetimeManager())
    .RegisterMediatorHandlers(Assembly.GetExecutingAssembly());

If I check everything registered with the unity container the RequestModelHandler is registered fine with the IAsyncRequestHandler interface.
Keep in mind I have a mix of IAsyncRequestHandlers and IRequestHandlers

Mediator usage example
public async Task<IHttpActionResult> HelloWorld()
{
    return OK(await Mediator.Send(new RequestModel()));
}

When calling HelloWorld() mediator tries to first resolve IRequestHandler<RequestModel, string> and gets a dependency resolution failed exception, which should be fine as none are registered.
Sometimes mediator goes on to try and resolve IAsyncRequestHandler<RequestModel, string> after failing with the sync request handler, succeeds and everything works just fine.
However other times the first exception bubbles all the way to the top and mediator never tries to resolve the async request handler, and I'm out of ideas.
Have tried to look at the source code but much code to digest so I haven't figured out whats going on yet...
Any help please? :)

I dropped the Unity sample because i couldn't get it to work. 🤷♂
On Thu, Jun 29, 2017 at 4:01 AM Sander Struijk<EMAIL_ADDRESS>wrote:

I got the following code for registering all implementations of an
interface, and registering Mediator stuff with the unity container.
public static class IUnityContainerExtensions
{
public static IUnityContainer RegisterMediator(this IUnityContainer container, LifetimeManager lifetimeManager)
{
container.RegisterType<IMediator, Mediator>(lifetimeManager);
container.RegisterInstance(t => container.Resolve(t));
container.RegisterInstance(t => container.ResolveAll(t));
return container;
}
public static IUnityContainer RegisterMediatorHandlers(this IUnityContainer container, Assembly assembly)
{
    container.RegisterTypesImplementingType(assembly, typeof(IRequestHandler<>));
    container.RegisterTypesImplementingType(assembly, typeof(IRequestHandler<,>));
    container.RegisterTypesImplementingType(assembly, typeof(IAsyncRequestHandler<>));
    container.RegisterTypesImplementingType(assembly, typeof(IAsyncRequestHandler<,>));
    return container;
}

public static IUnityContainer RegisterTypesImplementingType(this IUnityContainer container, Assembly assembly, Type type)
{
    foreach (var implementation in assembly.GetTypes().Where(t => t.GetInterfaces().Any(implementation => IsSubclassOfRawGeneric(type, implementation))))
    {
        var interfaces = implementation.GetInterfaces();
        foreach (var @interface in interfaces)
            container.RegisterType(@interface, implementation);
    }
    return container;
}

private static bool IsSubclassOfRawGeneric(Type generic, Type toCheck)
{
    while (toCheck != null && toCheck != typeof(object))
    {
        var currentType = toCheck.IsGenericType ? toCheck.GetGenericTypeDefinition() : toCheck;
        if (generic == currentType)
            return true;
        toCheck = toCheck.BaseType;
    }
    return false;
}

}
Mediator resources
public class RequestModel : IRequest { }
public class RequestModelHandler : IAsyncRequestHandler<RequestModel, string>
{
public async Task Handle(RequestModel message)
{
return "Hello World"!
}
}
Unity container registration example
container
.RegisterType<..., ...>()
...
.RegisterMediator(new HierarchicalLifetimeManager())
.RegisterMediatorHandlers(Assembly.GetExecutingAssembly());
If I check everything registered with the unity container the
RequestModelHandler is registered fine with the IAsyncRequestHandler
interface.
Keep in mind I have a mix of IAsyncRequestHandlers and IRequestHandlers
Mediator usage example
public async Task HelloWorld()
{
return OK(await Mediator.Send(new RequestModel()));
}
When calling HelloWorld() mediator tries to first resolve IRequestHandler<RequestModel,
string> and gets a dependency resolution failed exception, which should
be fine as none are registered.
Sometimes mediator goes on to try and resolve IAsyncRequestHandler<RequestModel,
string> after failing with the sync request handler, succeeds and
everything works just fine.
However sometimes the first exception bubbles all the way to the top and
mediator never tries to resolve the async request handler, and im out of
ideas.
Have tried to look at the source code but much code to digest so I havnt
figured out whats going on yet...
Any help please? :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jbogard/MediatR/issues/180, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGYMq0ozhlPDSt4QFd-YZKNj5kYw2j5ks5sI2ftgaJpZM4OJA9N
.

@jbogard I created a stackoverflow  question and tried with structure map and got the same issue...

seems like #181 is the same issue I am having.

@jbogard I have found the problem and resolved it.
The error message received from MediatR is not exactly describing to the underlying error.
System.InvalidOperationException : Handler was not found for request of type IN.ServiceLayer.DocumentGeneratorV2.JsReport.MediatR.Requests.CreatePayoutPerformedDocumentRequest.
Container or service locator not configured properly or handlers not registered with your container.
   at MediatR.Internal.RequestHandlerImpl`2.GetHandler(TRequest request, CancellationToken cancellationToken, SingleInstanceFactory factory)
   at MediatR.Internal.RequestHandlerImpl`2.Handle(IRequest`1 request, CancellationToken cancellationToken, SingleInstanceFactory singleFactory, MultiInstanceFactory multiFactory)
   at MediatR.Mediator.Send[TResponse](IRequest`1 request, CancellationToken cancellationToken)
   at IN.ServiceLayer.DocumentGeneratorV2.JsReport.Controllers.JsReportController.<CreateDocumentV2>d__3.MoveNext() in C:\dev\projects\innovasjon-norge\Develop\IN\IN.ServiceLayer.DocumentGeneratorV2\JsReport\Controllers\JsReportController.cs:line 54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at IN.ServiceLayer.DocumentGeneratorV2.Tests.Integration.Controllers.JsReportControllerTests.<CreatePayoutPerformedDocumentAsync>d__8.MoveNext() in C:\dev\projects\innovasjon-norge\Develop\IN\IN.ServiceLayer.DocumentGeneratorV2.Tests.Integration\Controllers\JsReportControllerTests.cs:line 52
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NUnit.Framework.Internal.AsyncInvocationRegion.AsyncTaskInvocationRegion.WaitForPendingOperationsToComplete(Object invocationResult)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunAsyncTestMethod(TestExecutionContext context)

This error occurred due to Unity not being able to resolve something deep in the dependency graph, and the error just being "swallowed". Fixing the issue, making Unity able to resolve all dependencies made MediatR able to get the Handler.
Why is the inner exception not populates with the actual error?

Not sure?


the Issuer has not made this pass available to you ?

Im getting this after using the proper JWT setup  any Idea what probably missing

https://pay.google.com/gp/v/save/eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ0bi1hYmMtdGVzdEB2aWJyYW50LXJldGluYS0yODAzMTQuaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJhdWQiOiJnb29nbGUiLCJ0eXAiOiJzYXZldG93YWxsZXQiLCJpYXQiOjE2NjE1MzY5MTMsInBheWxvYWQiOnsiZ2VuZXJpY09iamVjdHMiOlt7ImlkIjoiMzM4ODAwMDAwMDAyMjEyODY0OC5QRVJTRVItTUFDLTIxMDAwMjAifV19LCJvcmlnaW5zIjpbXX0.nrtVK_cjRNXSs4bckw1U1b8A1YtccxTV5oF25fop-YnJBMItWxUSy5mW1hKX6ywyJvl3BT9UV7GiIa16LcLDQWfPc6UlxCHBzNe4WR_uNpofqLD0Z71vv3-nrDMc1WOAMZFAhqWAzvCu-i_HI_wVHIQ41dANnsIZ1Oqz5lYLq4lhxhCpfnyDlrh7ZDTTpKx2zsiiKdA7J2Ixhm6bZ9qxAP-TyOvAIMBYaW_Jv8O0WAJdrX9DKh53gonEWXo-GQUZmWl3gVJk8zqLnJdpyZH7uEnSUq0mG1cVAj0HyyAxdDaEuZrgnL414e04hCqXcHAuByRpFLUS5-eCAkzysbEqkA

Hello,
Apologies for the delay getting back to you on this. My initial thought was that the issue could be related to invalid time intervals for the pass object. In testing, however, I was unable to reproduce the issue.
Would you be able to provide the pass object definition (removing any sensitive data)?

Hello again,
After doing some further research, this may be your issuer account being in developer mode. The best course of action would be to contact Google Wallet support to assist.

hi @ncalteen  all good now , you 're the issuer account was not properly setup, but once google approved the account all went fine

I'll reopen this issue and test it out. I'll send another response soon!

I did some testing and came to the following results:
If I create a temporary issuer account using my regular email, I get a "something went wrong" error when using the JWT creation methods in this repository (testing with the Python create_jwt_save_url method). This is because the JWT is signed by the service account key used in the auth method, which does not have permissions to the temporary issuer account.
However, if I create the temporary issuer account using my service account email, I get the same error as you. This is because the temporary issuer accounts are in developer mode (the same issue you faced originally). They are intentionally set up this way, so only email addresses that have permissions to the issuer account are able to save the passes.

One solution that could work in your case would be to create another issuer account that is a "child" of your main issuer account. This way you do not need to populate your main issuer account with test passes. When you create a new issuer account using one that is already approved, it will also be approved automatically. The steps below outline how to do this:

Using your service account credentials and your existing issuer account, call create_issuer_account to create a new issuer account. Make sure to give it a name and email that identify it as used for testing.
new_issuer_id = demo.create_issuer_account(issuer_name="MyCompany - TEST",
<EMAIL_ADDRESS>

Next, update the permissions of the issuer account to include any email addresses that need access to create/edit passes.
demo.update_issuer_account_permissions(issuer_id=new_issuer_id,
                                       permissions:[
                                           {
                                               "emailAddress"<EMAIL_ADDRESS>                                               "role": "OWNER"
                                           }, # repeat for each email/role
                                       ])

After that, you should be able to use this issuer ID for testing purposes.
Please let me know if this helps, and if you have any other questions!

How long ago did you create the temporary issuer account? They are only valid for 7 days.
Also, the create_issuer_account call must be made with a service account associated with a non-temporary issuer account (one you created in the Google Pay and Wallet Console).

Hello,
If the calling issuer account is in developer mode, then any accounts it creates will also be in developer mode. In order to create production issuer accounts, you would first need a production account. To get the first one, you would need to reach out to Google Support. If you go into the Google Pay & Wallet Console, the Contact support option should get you in contact with someone who can help you with getting the main account approved.
I hope this helps!


fix: regex flags

Summary
Close #4767
Test Plan
Created a test case under packages/rspack/tests/configCases/module/test
Require Documentation?

[x] No
[ ] Yes, the corresponding rspack-website PR is __

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks


kineticscroll - Fix appRect handling

This should fix #3389.

Tried it on my watch and it seems to run fine. Thanks!


[Fix] setup.py install_requires dependencies housekeeping

Same as storehouse PR #6, of_core didn't have extra runtime dependencies, but with the install_requires in place it's normalized now like the other NApps.
I'll regenerate and upgrade the requirements/dev.txt in a next opportunity on issue #43

LGTM

Thanks for reviewing, Antonio


Add print_report() method to Timer hook

Added print_summary() method to Timer hook so that we can do time profile similarly with the memory profiler of https://github.com/chainer/chainer/pull/2925
An example code:
from chainer.function_hooks import TimerHook

hook = TimerHook()
with hook:
    trainer.run()
hook.print_report()

Outputs from mnist example become as followings:
FunctionName    ElapsedTime     Occurrence
LinearFunction  1.17sec 3900
ReLU    547.88ms        2600
SoftmaxCrossEntropy     968.39ms        1300
Accuracy        155.53ms        700
``` #

fixed for review

fixed for reviews

Tests are failing due to an unused import. Please fix it.

oh, fixed

Do we need end argument in print_report?
Output is always multi-line.
Also, file.write is preferable over six.print_.

I thought windows users may like \r\n, but I am not sure.

Such difference should be handled by file. If file is created with open(..., 'w'), '\n' is automatically converted to '\r\n'.

Okay, fixed to use file.write

jenkins, test this please

LGTM!


python3Packages.orange3: init at 3.34.0

Description of changes
Adds the "Orange Data Mining" application and all its dependencies as Python modules.
This closes issue #208574. More information about the application can be found in the issue's description.

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)
[x] 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

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I'll echo that adding 7 new packages without tests enabled doesn't make for happy maintenance.

Sure, makes sense. I'm working on getting the tests working :v:

I cannot get the tests to work for qasync. Do I need some additional checkInputs besides pyqt5?
Check whether the following modules can be imported: qasync
pytestcachePhase
pytestRemoveBytecodePhase
pytestCheckPhase
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.10.9, pytest-7.1.3, pluggy-1.0.0
rootdir: /build/source
collected 44 items

tests/test_qeventloop.py Fatal Python error: Aborted

Current thread 0x00007ffff7e7f740 (most recent call first):
  File "/build/source/tests/conftest.py", line 26 in application
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/fixtures.py", line 900 in call_fixture_func
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/fixtures.py", line 1121 in pytest_fixture_setup
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/fixtures.py", line 1067 in execute
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/fixtures.py", line 669 in _compute_fixture_value
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/fixtures.py", line 583 in _get_active_fixturedef
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/fixtures.py", line 564 in getfixturevalue
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/fixtures.py", line 551 in _fillfixtures
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/python.py", line 1764 in setup
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/runner.py", line 491 in setup
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/runner.py", line 154 in pytest_runtest_setup
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/runner.py", line 259 in <lambda>
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/runner.py", line 338 in from_call
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/runner.py", line 258 in call_runtest_hook
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/runner.py", line 219 in call_and_report
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/runner.py", line 124 in runtestprotocol
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/main.py", line 322 in _main
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/main.py", line 268 in wrap_session
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 164 in main
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 187 in console_main
  File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/pytest/__main__.py", line 5 in <module>
  File "/nix/store/al6g1zbk8li6p8mcyp0h60d08jaahf8c-python3-3.10.9/lib/python3.10/runpy.py", line 86 in _run_code
  File "/nix/store/al6g1zbk8li6p8mcyp0h60d08jaahf8c-python3-3.10.9/lib/python3.10/runpy.py", line 196 in _run_module_as_main

Extension modules: PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets (total: 3)
/nix/store/ppxrfnv4b3pvcxpncipdj6z5v6rsd72n-pytest-check-hook/nix-support/setup-hook: line 53:   127 Aborted                 (core dumped) /nix/store/al6g1zbk8li6p8mcyp0h60d08jaahf8c-python3-3.10.9/bin/python3.10 -m pytest
error: builder for '/nix/store/bsrxjsawzkbcccwp60yb1c86vhj6rxly-python3.10-qasync-0.19.0.drv' failed with exit code 134;
       last 10 log lines:
       >   File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80 in _hookexec
       >   File "/nix/store/2xmrdwg8q9yfryq1297pv6kqx9h0wgya-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265 in __call__
       >   File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 164 in main
       >   File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 187 in console_main
       >   File "/nix/store/96mm3zbb0f3gdxd2fv7ml4xsskxw90q8-python3.10-pytest-7.1.3/lib/python3.10/site-packages/pytest/__main__.py", line 5 in <module>
       >   File "/nix/store/al6g1zbk8li6p8mcyp0h60d08jaahf8c-python3-3.10.9/lib/python3.10/runpy.py", line 86 in _run_code
       >   File "/nix/store/al6g1zbk8li6p8mcyp0h60d08jaahf8c-python3-3.10.9/lib/python3.10/runpy.py", line 196 in _run_module_as_main
       >
       > Extension modules: PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets (total: 3)
       > /nix/store/ppxrfnv4b3pvcxpncipdj6z5v6rsd72n-pytest-check-hook/nix-support/setup-hook: line 53:   127 Aborted                 (core dumped) /nix/store/al6g1zbk8li6p8mcyp0h60d08jaahf8c-python3-3.10.9/bin/python3.10 -m pytest
       For full logs, run 'nix log /nix/store/bsrxjsawzkbcccwp60yb1c86vhj6rxly-python3.10-qasync-0.19.0.drv'.

Thank you very much, @fabaff and @risicle! :pray:
I feel like I've already learned a lot from your reviews.
I tried fixing the issues according to your feedback and have resolved the comments, that I've dealt with.
Tests are still not enabled for all added packages
I've enabled checks/tests for baycomp and serverfiles without problems.
The checks for anyqt and qasync fail due to some issues with pyqt5 modules and the tests for opentsne seem to require some archive that  I do not know how to pass.

According to this section in the nixpkgs manual I should be able to get rid of the following error by correctly managing the wrapping of the application.
However, the tests for orange3 still fail:
 > qt.plugin: Could not find the Qt platform plugin "xcb" in ""
 > This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
 >
 > Available platform plugins are: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx.
 >
 > /nix/store/dvgjig1ny83n264fgdkrc3y1hiw55cq7-setuptools-check-hook/nix-support/setup-hook: line 4:  2190 Aborted                 (core dumped) /nix/store/al6g1zbk8li6p8mcyp0h60d08jaahf8c-python3-3.10.9/bin/python3.10 nix_run_setup test

It's not always possible to get all test suites running, especially if they use gui functionality.

On macos 10.15 orange3 fails with:
test_transformation (test_transformation.TestTransformEquality) ... ok
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

/nix/store/5yv43761qa1mffcx7n30167n1q9917my-setuptools-check-hook/nix-support/setup-hook: line 4: 11886 Abort trap: 6           /nix/store/fbll01zhyfffmshwrrzphmbscmnimn3f-python3-3.10.9/bin/python3.10 nix_run_setup test

I cannot get the tests to work. I have to give this another shot in a few days.

New Release 3.35.0. Anyone still working on this?

Closing this in favour of #241537, which supersedes this PR.


Laravel npm run production fails

With Laravel 5.4 & Laravel mix 1.0 the npm run production fails. npm run dev works fine.
Error:
/js/app.js from UglifyJs
Unexpected token: punc ()) [./node_modules/vue-bulma-datepicker/src/BasicInput.js:9,0][/js/app.js:49307,16]

Same here. Also, duplicate of #45


Gender Dictionary Update

Can we please update the Field Name Dictionary with the following fields:
(1) GenderMaleTickYes
(2) GenderFemaleTickYes
Currently, "Gender" is the variable, and it is described as Male or Female (M or F). However, we are seeing applications that have a check box.

Do some applications only allow male or female? What's our take on that?

Thanks for your note. All applications I have worked on only allow for male/female responses. I have not heard an "official" take on this.
Following the code for dc conduct and the space we all honor there: in an ideal world, we would leave gender as a text box and not a dropbox, tick box, etc. because we recognize a gender spectrum and want to ensure that people feel comfortable.
That being said, the housing applications do not have a gender free-text box, and we have to map the pdfs we are given if we want to make applying to Section 8 housing less burdensome in the current system. Your thoughts to improve this are welcomed and appreciated.

No problem. I don't have any particular knowledge about this issue. I was just curious and thought it an interesting question re: what happens when Code for DC's official policy interfaces with less welcoming systems. Maybe a worthwhile conversation to have with the Code for DC leadership and others in the affordable housing project group. @mlouie @mattbailey0 @justgrimes @leahbannon

In practice the forms all only have male/female. We've raised the issue with Stacey before for non-binary, and her response was while it might be good to do it, if you can't translate that into the answers format in the form, then that's ground for not accepting the application.

Interesting. Thanks, Sarah. I wonder if it's legal to reject applications for that reason. I've heard of some weird gender issues when it comes to admission to homeless shelters. Have we encountered any similar concerns with regard to this project?

They don't reject applications for not filling out the gender fields in a certain way, but they do if applications have empty fields (which would be the case if the gender field on the application is not an open text field, e.g. male/female check mark, tickbox or whatnot).

Got it.

FWIW I 100% love that this conversation happened.
On Sat, Feb 7, 2015 at 9:28 PM, Jeff Runningen<EMAIL_ADDRESS>wrote:

Closed #187 https://github.com/codefordc/districthousing/issues/187 via
48456a9
https://github.com/codefordc/districthousing/commit/48456a937ab1fda3e8e852ccde48e2c6de1c570c
.
—
Reply to this email directly or view it on GitHub
https://github.com/codefordc/districthousing/issues/187#event-232036432.

@mattbailey0 is there any guideline on such conflicts with official Code for DC/America policy?

Short answer: no.  The idea would be to consult with leadership and figure
out how to proceed.  In this case, although I completely share your concern
around gender binaries, I'm not sure I see a conflict per se.  Exploring
options with the client for a more appropriate approach and then delivering
within larger systemic constraints (exactly what was done here) is probably
the only viable approach.  That then puts us in a stronger position to
continue to advocate for change moving forward.
On Mon, Feb 9, 2015 at 2:32 PM, Emanuel Feld<EMAIL_ADDRESS>wrote:

@mattbailey0 https://github.com/mattbailey0 is there any guideline on
such conflicts with official Code for DC/America policy?
—
Reply to this email directly or view it on GitHub
https://github.com/codefordc/districthousing/issues/187#issuecomment-73573809
.


"Cannot extract a password from this type of keychain item"

Got the following response, when I expected to simply get a password back:
1pass --fuzzy facebook
Master password:
1pass: Error: Cannot extract a password from this type of keychain item (system.folder.Regular)
The match to this fuzzy search is located in a folder.
Please let me know what further info I can provide to help diagnose this.

I get this same error. It doesn't seem to want to get passwords for anything but "Login" items... which means it'll exclude server passwords.


Custom viewPulse Gate not working

Pulse Version
1.0.0-beta1
Laravel Version
10.34.2
PHP Version
8.2.12
Description
When I define the following Gate in the boot method of  app\Providers\AuthServiceProvider.php
Gate::define('viewPulse', function (User $user) {
    return true;
});

I still get a 403 error. This is ofcourse happening in production.
Steps To Reproduce

Set up a new laravel app (using sail).

Change the composer minimum stability

composer require laravel/pulse

Migrate db

Change .env to production

Clear cache

Define Gate as described in my issue above

Browse to /pulse

Did you remember to authenticate as a user? I did the same thing.

Did you remember to authenticate as a user? I did the same thing.

I did not know that Gate requires to be authenticated. I thought if I returned true the Gate will accept it.
Thanks!

The default Gate that ships with Pulse allows access to non-logged-in users when the APP_ENV is set to "local".
Make sure you have updated to the latest version of Pulse.
@MarcelWeidum a gate supports unauthenticated users if the $user object is nullable.
- Gate::define('viewPulse', function (User $user) {
+ Gate::define('viewPulse', function (?User $user = null) {
    return true;
});


feat: adding spacing & sizing page

Adding Spacing & Sizing page. Using the existing cads table component. Moved and renamed already existing css from the styleguide to the docs (i.e _spacing-block.scss and _sizing-border.scss)

🚀


Unable to load gene.iobio.io tool

I can see this was a previous issue that was closed but I am having a problem loading gene.iobio.io for many weeks now and it just won't work. It worked in the past and I haven't changed the method for upload and my internet connection is fast.
The problem is this:
When selected from my computer the vcf.gz and vcf.gz.tbi  it looks like it's loading but the bottom where you click 'load' is greyed out and not able to load the files. I wait and wait and it never loads. No error comes up.
Anyone else having this issue? I would like to be able to sort it out but I have tried everything I can think of...
Any advise would be great. thanks!

@LimGal I am able to recreate this problem, so we can look into this problem. This problem only occurs for local files (which is typically not the method most people use gene.iobio). While we look into resolving this issue, if you're able to put your files in an http accessible location and provide a url to the files, things should work immediately.

@AlistairNWard thank you so much for your helpful reply, and also thank you for looking into this. It worked previously (many months ago) although it was always a little temperamental.
I will of course try the http accessible location to bypass this issue for now. Sorry for having to ask this but how would I go about creative a url for my files please?
Thanks I really appreciate your help :)

@LimGal Actually no need. It looks like the team was able to fix this quickly. I just tested myself and is seems to be working again. Give it another try and hopefully you don't need to worry about dealing with urls!

@AlistairNWard Fantastic it now works! Thank you so much for your help.

same error here again.... :(

I am also having the problem with gene.iobio not loading local files and also not recognizing when I try to load from a URL.  I've tried chrome/Firefox/Edge and cleared cache and cookies.
Thanks!

Please try again. We made some fixes


Incorrect volumeMounts path in "Configuring Redis using a ConfigMap" tutorial

To complete this tutorial I had to change:
volumeMounts:
- mountPath: /redis-master-data
  name: data
- mountPath: /redis-master
  name: config

To:
volumeMounts:
- mountPath: /redis-master-data
  name: data
- mountPath: /data/redis-master
  name: config

Page reported in issue (based on the initial title): https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/

/retitle Incorrect volumeMounts path in "Configuring Redis using a ConfigMap" tutorial
/language en

There is no issue in the example.
The mount path is the destination inside the Pod where the volume gets mounted.
you can set any mount point as you wish.

+1
The example is correct, I tested it and it worked a moment ago.

Ok. Thanks for testing and confirming. I was testing it in Killercoda so there must be something in that environment that is inserting /data in the path. On Aug 6, 2024, at 8:21 AM, Mengjiao Liu @.***> wrote:
+1
The example is correct, I tested it and it worked a moment ago.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Closing the issue as there is nothing to fix in this.
/close


Fix single-line config bug

Previously, there was a bug wherein building out a config starting
from an empty ConfigDocument would cause the entire config to
exist on a single line. Fix this bug by modifying the addition
of new maps along a path to add multi-line maps instead of
single-line maps if the object is an empty root or if the
object being added to is a multi-line map.

Thanks!


Add xrpRoundToZero logging for FlowCross compareSandboxes

This adds a case to the FlowCross debug logging that identifies differences in behavior between Taker and FlowCross.  The logging is only enabled if the CompareTakerFlowCross feature is enabled in the config file.  So you needn't be concerned about a flood of new warning-level log messages.
When it is generated, a typical message looks like:
FlowCross: Both Taker and Flow fully crossed different; Taker XRP rounded to zero.  tx: ...

Reviewers: @ximinez, @mellery451.  Thanks.

Jenkins Build Summary
Built from this commit
Built at 20180511 - 16:13:24
Test Results

Build Type
Log
Result
Status

docs
logfile
1 cases, 0 failed, t: 2s
PASS :white_check_mark:

clang.debug.unity
logfile
1021 cases, 0 failed, t: 251s
PASS :white_check_mark:

msvc.debug
logfile
1017 cases, 0 failed, t: 564s
PASS :white_check_mark:

coverage
logfile
1021 cases, 0 failed, t: 624s
PASS :white_check_mark:

clang.debug.unity, PARALLEL_TESTS=false
logfile
1021 cases, 0 failed, t: 484s
PASS :white_check_mark:

clang.debug.nounity
logfile
1019 cases, 0 failed, t: 147s
PASS :white_check_mark:

gcc.debug.nounity
logfile
1019 cases, 0 failed, t: 101s
PASS :white_check_mark:

gcc.debug.unity
logfile
1021 cases, 0 failed, t: 242s
PASS :white_check_mark:

clang.release.unity
logfile
1020 cases, 0 failed, t: 327s
PASS :white_check_mark:

gcc.release.unity
logfile
1020 cases, 0 failed, t: 350s
PASS :white_check_mark:

gcc.debug.unity -Dstatic=true
logfile
1021 cases, 0 failed, t: 241s
PASS :white_check_mark:

msvc.debug, PROJECT_NAME=rippled_classic
logfile
1017 cases, 0 failed, t: 1168s
PASS :white_check_mark:

msvc.release
logfile
1016 cases, 0 failed, t: 506s
PASS :white_check_mark:

@ximinez, I moved that comment and made a couple of other minor drive-by tweaks.  If you're good with it I'll squash and mark as passed.  Thanks.

in 5097656c8


Fixed three typos

Found them with git grep ammends
Related to #234 and #233

ah yeah, of course! didnt check the spec folder... i should move that into src/ someday!


SROS partial config doesn't load

After updating containerlab to latest version I'm getting issue when starting SROS node
    edge2-xd1-dev1:
      kind: vr-sros
      mgmt-ipv4: <IP_ADDRESS>
      image: registry.srlinux.dev/pub/vr-sros:22.10.R2
      type: >-
        cp: uuid=dc7808cc-8161-4af3-bdba-2837153c3ab3 cpu=4 min_ram=6 chassis=sr-7s slot=A sfm=sfm-s card=cpm2-s ___
        lc: cpu=4 min_ram=6 chassis=sr-7s slot=1 max_nics=36 sfm=sfm-s card=xcm-7s mda/1=s36-400gb-qsfpdd level cr4800g
      license: ../licenses/sros-license.txt
      startup-config: ../startup-cfgs/vr-sros-base.partial.txt
      binds:
        - ../startup-cfgs/vr-sros-bof.txt:/tftpboot/vr-sros-bof.txt

This is what I can see in the clab command output
DEBU[0086]    DEBUG channel read "INFO: CLI #2060: Entering exclusive configuration mode"
DEBU[0086]    DEBUG channel read "\nINFO: CLI #2061: Uncommitted changes are discarded on configuration mode exit"
DEBU[0086]    DEBUG channel read "\n\n(ex)[/]\nA:admin@edge2-xd1-dev1# "
DEBU[0086]    DEBUG channel GetPrompt requested
DEBU[0086]    DEBUG channel write "\n"
DEBU[0086]    DEBUG channel read "\n"
DEBU[0086]    DEBUG channel read "\n(ex)[/]\nA:admin@edge2-xd1-dev1# "
DEBU[0086]    DEBUG AcquirePriv determined no privilege action necessary
  commit /admin save /exit all quit-config]' w"]cE9DIIW7/nb.gfc.SXXMdq96Sp6D8kqAXsAihbv2V0ex6Pi"
' BU[0086]     INFO SendCommand requested, sending 'configure {
' BU[0086]    DEBUG channel SendInput requested, sending input 'configure {
DEBU[0086]    DEBUG channel write "configure {\r"
DEBU[0086]    DEBUG channel read "c"
DEBU[0086]    DEBUG channel read "onf"
DEBU[0086]    DEBUG channel read "igure {"
DEBU[0086]    DEBUG channel read "\n"
DEBU[0086]    DEBUG channel read "\n(ex)[/configure]\nA:admin@edge2-xd1-dev1# "
DEBU[0091] CRITICAL channel timeout sending input to device
ERRO[0091] failed to run postdeploy task for node edge2-xd1-dev1: failed to apply config; error: errTimeoutError: channel timeout sending input to device
DEBU[0091] StateChange: Done -> edge2-xd1-dev1 - configure
DEBU[0091] Worker 5 terminating...

This seems to be specific to partial config loading. If I take sros node with default config and I manually apply our partial config to it, then when using the result config as "full" config in clab the node starts fine.
When trying different versions of containerlab, the last working version was 0.47.2 and versions >=0.48.0 are failing.
Also in docker logs I can see following failure, I don't if that's related.
2024-07-09 14:31:49,240: vrnetlab   TRACE    read from serial console:  /bof save
Writing configuration to cf3:/bof.cfg ... OK
Completed.
*A:edge2-xd1-dev1#
2024-07-09 14:31:49,240: vrnetlab   DEBUG    writing to serial console: /admin save
2024-07-09 14:31:49,240: vrnetlab   TRACE    waiting for '#' on serial console
2024-07-09 14:31:49,464: vrnetlab   TRACE    read from serial console:  /admin save
Writing configuration to tftp://<IP_ADDRESS>/config.txt
Saving configuration .

MINOR: CLI Unable to close configuration file.
*A:edge2-xd1-dev1#

I've found those issues which look similar:
https://github.com/srl-labs/containerlab/issues/1829
https://github.com/carlmontanari/scrapli/issues/23
but the workarounds used in those issues doesn't work for me.

vr-sros-base.partial.txt
This is the partial cfg we use (passwords removed), regarding using different images that is sth we'll consider but the same SR-OS 22.10 image worked when using with clab < 0.48 so we wanted to investigate as well if there is a regression in clab.

@omron93 @jk2lx
I created this topology and tested with clab 0.56.0
name: linx

topology:
  nodes:
    sros:
      kind: nokia_sros
      image: registry.srlinux.dev/pub/vr-sros:22.10.R2
      type: >-
        cp: uuid=dc7808cc-8161-4af3-bdba-2837153c3ab3 cpu=4 min_ram=6 chassis=sr-7s slot=A sfm=sfm-s card=cpm2-s ___
        lc: cpu=4 min_ram=6 chassis=sr-7s slot=1 max_nics=36 sfm=sfm-s card=xcm-7s mda/1=s36-400gb-qsfpdd level cr4800g
      binds:
        - ~/hellt/vrnetlab/sros/docker/launch.py:/launch.py
        - ~/hellt/vrnetlab/common/vrnetlab.py:/vrnetlab.py
      startup-config: sros.partial.cfg
      license: lic.txt

took 22.10.R2 qcow2 and built an image using latest the master branch of hellt/vrnetlab (commit d8cffab2699bb2e69b3d350e9a34a65ee4452ea1)
Your partial config that you attached did not work for me, maybe because of the removed parts. The error during commit was:
DEBU[0120]    DEBUG channel read "MINOR: MGMT_CORE #236: configure system security user-params local-user user \"adm\" password - Missing mandatory fields\nMINOR: MGMT_CORE #236: configure system security aaa remote-servers tacplus server 1 secret - Missing mandatory fields\n\n*(ex)[/]\nA:admin@sros# "

So I had to remove the local user part and the tacacs part. The resulting startup config became:
configure {
    card 1 {
        card-type xcm-7s
        mda 1 {
            mda-type s36-400gb-qsfpdd
            level cr4800g
        }
        fp 1 {
        }
        fp 2 {
        }
        fp 3 {
        }
        fp 4 {
        }
    }
    chassis router chassis-number 1 {
        power-shelf 1 {
            power-shelf-type ps-a10-shelf-dc
            power-module 1 {
                power-module-type ps-a-dc-6000
            }
            power-module 2 {
                power-module-type ps-a-dc-6000
            }
            power-module 3 {
                power-module-type ps-a-dc-6000
            }
            power-module 4 {
                power-module-type ps-a-dc-6000
            }
            power-module 5 {
                power-module-type ps-a-dc-6000
            }
            power-module 6 {
                power-module-type ps-a-dc-6000
            }
            power-module 7 {
                power-module-type ps-a-dc-6000
            }
        }
        power-shelf 2 {
            power-shelf-type ps-a10-shelf-dc
            power-module 1 {
                power-module-type ps-a-dc-6000
            }
            power-module 2 {
                power-module-type ps-a-dc-6000
            }
            power-module 3 {
                power-module-type ps-a-dc-6000
            }
            power-module 4 {
                power-module-type ps-a-dc-6000
            }
        }
    }
    sfm 1 {
        sfm-type sfm-s
    }
    sfm 2 {
        sfm-type sfm-s
    }
    sfm 3 {
        sfm-type sfm-s
    }
    sfm 4 {
        sfm-type sfm-s
    }
    system {
        # boot-good-exec "tftp://<IP_ADDRESS>/vr-sros-bof.txt"
        management-interface {
            configuration-mode model-driven
            netconf {
                admin-state enable
                auto-config-save true
                capabilities {
                    writable-running true
                }
            }
        }
        security {
            aaa {
                local-profiles {
                    profile "admin-ro" {
                        default-action deny-all
                        entry 10 {
                            match "admin show"
                            action permit
                        }
                        entry 20 {
                            match "admin tech-support"
                            action permit
                        }
                        entry 30 {
                            match "show"
                            action permit
                        }
                        entry 40 {
                            match "telnet"
                            action permit
                        }
                        entry 50 {
                            match "ping"
                            action permit
                        }
                        entry 60 {
                            match "traceroute"
                            action permit
                        }
                        entry 70 {
                            match "ssh"
                            action permit
                        }
                        entry 80 {
                            match "back"
                            action permit
                        }
                        entry 90 {
                            match "top"
                            action permit
                        }
                        entry 100 {
                            match "exit"
                            action permit
                        }
                        entry 110 {
                            match "file list"
                            action permit
                        }
                        entry 120 {
                            match "file show"
                            action permit
                        }
                        entry 130 {
                            match "file copy"
                            action permit
                        }
                        netconf {
                            base-op-authorization {
                                kill-session true
                                lock true
                            }
                        }
                    }
                    profile "admin-rw" {
                        default-action permit-all
                        netconf {
                            base-op-authorization {
                                action true
                                cancel-commit true
                                close-session true
                                commit true
                                copy-config true
                                create-subscription true
                                delete-config true
                                discard-changes true
                                edit-config true
                                get true
                                get-config true
                                get-data true
                                get-schema true
                                kill-session true
                                lock true
                                validate true
                            }
                        }
                    }
                }
                user-template tacplus-default {
                    profile "admin-rw"
                    access {
                        netconf true
                    }
                }
            }
            user-params {
                attempts {
                    count 5
                    lockout 1
                }
                authentication-order {
                    order [tacplus local]
                }
            }
        }
    }
}

This topology and startup config worked just fine.
DEBU[0120]     INFO SendCommand requested, sending 'quit-config'
DEBU[0120]    DEBUG channel SendInput requested, sending input 'quit-config'
DEBU[0120]    DEBUG channel write "quit-config"
DEBU[0120]    DEBUG channel read "qu"
DEBU[0120]    DEBUG channel read "i"
DEBU[0120]    DEBUG channel read "t-"
DEBU[0120]    DEBUG channel read "config"
DEBU[0120]    DEBUG channel write "\n"
DEBU[0120]    DEBUG channel read "\n"
DEBU[0120]    DEBUG channel read "INFO: CLI #2064: Exiting exclusive configuration mode"
DEBU[0120]    DEBUG channel read "\n\n[/]\nA:admin@sros# "
DEBU[0120] StateChange: Done -> sros - configure
DEBU[0120] Worker 0 terminating...
DEBU[0120] Exported topology data using /etc/containerlab/templates/export/auto.tmpl template
DEBU[0120] Filter key: name, filter value: ^clab-linx-sros$
INFO[0120] Adding containerlab host entries to /etc/hosts file
DEBU[0120] Filter key: name, filter value: ^clab-linx-sros$
INFO[0120] Adding ssh config for containerlab nodes
+---+----------------+--------------+-------------------------------------------+------------+---------+-----------------+----------------------+
| # |      Name      | Container ID |                   Image                   |    Kind    |  State  |  IPv4 Address   |     IPv6 Address     |
+---+----------------+--------------+-------------------------------------------+------------+---------+-----------------+----------------------+
| 1 | clab-linx-sros | 81e2ec5e5142 | registry.srlinux.dev/pub/vr-sros:22.10.R2 | nokia_sros | running | <IP_ADDRESS>/24 | 2001:172:20:20::a/64 |
+---+----------------+--------------+-------------------------------------------+------------+---------+-----------------+----------------------+


Code issue

Hi, Cheng!
Thanks for your great work!
Our work is based on XMem framework and now wish to try to use your new vos_dataset.py, only to find a problem:
In the original XMem, transforms.Normalize is written directly inside vos_dataset.py, but in Cutie it is written in the model.
Is there any difference between the two? If they are the same, would it be better to write it back into vos_dataset.py to make it easier for people who use the XMem framework to migrate your new vos_dataset.py?
Best wish.
https://github.com/hkchengrex/XMem/blob/9ea04795564dcff06b6570132aed7eedba94d9b8/dataset/vos_dataset.py#L92-L95
https://github.com/hkchengrex/Cutie/blob/e812cf3efbb1e856ba63994a93aea97b8c1ecce2/cutie/dataset/vos_dataset.py#L128
https://github.com/hkchengrex/Cutie/blob/e812cf3efbb1e856ba63994a93aea97b8c1ecce2/cutie/model/cutie.py#L58

Hello!
This is intentional. We have reimplemented a large portion of the code moving from XMem -> Cutie, with the intent of making the code easier to use and more modular. This is one of the changes that we make. We find that users (me included) often forget to normalize the input when implementing a new custom script using a different data loading logic. Moving the burden of data normalization inside the model makes the user's job easier (not having to obtain the precise mean/std and not having to import torchvision.transform etc.)

Got it, but i think it should be better to write a note in vos_dataset.py to remind users that the framework puts Normalize inside the model to prevent users whose work based on the XMem framework from forgetting it (like me hahaha :bow:)

Thank you for the input. Added a line in the datasets.


geocoded.us offline or moved

The Service geocoded.us is offline (or maybe moved to https://geocoding.geo.census.gov/)
and a call by MultiGeocoder ist now getting a TimeOut
Geokit::Geocoders::MultiGeocoder.geocode("111.222.333.444")

E, [2018-02-19T10:50:31.381201 #94399] ERROR -- : Caught an error during Us geocoding call: Failed to open TCP connection to geocoder.us:80 (getaddrinfo: nodename nor servname provided, or not known)

@marcometz - If you're able to do a Pull Request (PR) to fix this and you're willing to also assist with reviewing other PRs I'm happy to add you as a maintainer to this repo.
I don't currently use this repository so I no longer actively maintain it.


Ingest DO, ORDO, OMIM, NCIT mappings

[ ] Have separate goals for obtaining the sources, which may eventually be extended to contain preprocessing (e.g. mirror/do.owl:)
[ ] Using sssom-py extract all mappings from DO, ORDO, OMIM and NCIT.
[ ] Manually review a dozen or so in the source ontology whether they don't contain extract curation information (ORDO ntbt for example)

[ ] Can you double-check that ncit.owl contains the ICD 10 mappings mentioned here:
https://ncit.nci.nih.gov/ncitbrowser/pages/mapping_search.jsf?nav_type=mappings

You mean NCIt_Maps_To_ICD10_2016 (22.01e) and NCIt_Maps_To_ICD10CM_2017 (22.01e) ?

Yeah, maybe.. Not sure. I guess I am wondering whether ncit.owl contains the mappings mentioned on this page, and if the page is mentioning these two, then yes.
I would love these mappings, especially the newest one, to be included here!

So ncit.owl has just the mention of ICD10 2017 in them. Does not seem to have the actual ICD10 code. Although the mapping tables linked above have the mapping: 800 (ICD10 2017), 15 (ICD10 2016) and have the corresponding NCIT code.

Perfect, thank you for checking. In this case, let's build an ingest into SSSOM for these!

So do you mean having a new method in sssom-py that accommodates for external mapping files?

Big sure where to draw the line. Maybe for now a simple python script that imports SSSOM mapping and mapping sets and just do it externally? I told @joeflack4 to add the ICD10-snomed mapping parser to SSSOM py but I am not sure. Maybe yes, adding it to parsers would be an option. For now the answer is: python, in whatever way you like. But perhaps having a method from_ncit() in parsers.py would be awesome.

Alright, for the time being I'll just do an external JOIN so to speak to include it in the SSSOM mappings as a quick-n-dirty solution. We can discuss a generic solution down the road after having experience with the different scenarios.

Sounds good!

ICD mapping column:
RELATIONSHIP_TO_TARGET
Broader Than
Related To
Has Synonym
Narrower Than
Which one would be appropriate?
"Broader Than": "skos:broader",
"Related To": "skos:relatedMatch",
"Has Synonym": "skos:altLabel",
"Narrower Than": "skos:related",

or
"Broader Than": "oboInOwl:hasBroadSynonym",
"Related To": "oboInOwl:hasRelatedSynonym",
"Has Synonym": "oboInOwl:hasExactSynonym",
"Narrower Than": "oboInOwl:hasNarrowSynonym",

It's confusing but bare with me:

Broader than: skos:narrowMatch
Narrower than skos:broadMatch

Related to : skos:relatedMatch
We don't need synonym unless the object of synonym is a code and not a label. What about "equivalent"?

Maybe synonym is equivalent

skos:closeMatch, skos:exactMatch, owl:sameAs, owl:equivalentClass, owl:equivalentProperty from https://www.w3.org/TR/skos-reference/#L4858

Use skos:exactMatch in these cases

https://thesaurus.cancer.gov/ncitbrowser/pages/mapping_search.jsf?nav_type=mappings&b=0&m=0


does longhorn supports ReadOnlyMany Volumes

i need to create a volume that will contain time zone files
where pods will read the custom time from this directory all the time
does LongHorn supports this type of volumes?
and how it can be  done since there is no info about this type in the documentation.
Thanks alot

We currently support Read Write Many (RWX) via a NFS provisioner which is currently the easiest to accomplish Read Only Many (ROX).
It doesn't sound like your timezone files will be changing much?
So a different setup, could be to prep a regular volume, then take a backup of the volume.
Now you can use the fromBackup parameter in a custom storage class, to create new volumes based on that backup.
In the next release we implement the csi snapshot support #304  so you don't need to go via a custom storage class anymore.
Lastly you could also use an init container to pull the timezone files from object storage or a server.
example: wget timezones.tar.gz with a following tar xvzf timezones.tar.gz should do the trick.

@Nemer-Naamneh Not sure if you saw my reply?

@Nemer-Naamneh Not sure if you saw my reply?

i have a question. used NFS provisioner it just set alone longhorn-nfs-provisioner. if this pod dead. need some time to recover. it's less than high availability.
Is there any solution for this ?

@u2bo it should take around 90s for the failover with the current nfs-provisioner, we are working on a HA setup in https://github.com/longhorn/longhorn/issues/1470

@u2bo it should take around 90s for the failover with the current nfs-provisioner, we are working on a HA setup. #1470

ok thx. this feature release on v1.1.0 ?

it doesnt work error:
MountVolume.SetUp failed for volume "pvc-5f7e11e8-c7c4-4cdb-8836-a5e6eb748263" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs -o noresvport,vers=4.1 <IP_ADDRESS>:/export/pvc-5f7e11e8-c7c4-4cdb-8836-a5e6eb748263 /var/lib/kubelet/pods/8c95f1cf-42c0-4a8c-ba4e-661d003e469d/volumes/kubernetes.io~nfs/pvc-5f7e11e8-c7c4-4cdb-8836-a5e6eb748263 Output: mount: /var/lib/kubelet/pods/8c95f1cf-42c0-4a8c-ba4e-661d003e469d/volumes/kubernetes.io~nfs/pvc-5f7e11e8-c7c4-4cdb-8836-a5e6eb748263: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program.


Fix prepending multiple gutters at once

There's a bug when multiple gutters are prepended at once where their order is not correctly preserved in the dom. The issue is that we do not update indexInOldGutters even though we inserted a dom node in the old gutters dom.
Honestly, I'm unconvinced that this entire logic is correct, but this fixes the use case we have in Nuclide so it's more correct than before :)
Released under CC0

Hey @vjeux,
Is there a way I can repro the issue in Nuclide?  I wanted to test the fix if possible.
I'm not sure why AppVeyor is failing.  looking at the logs, I didn't find anything.

I'm not sure why AppVeyor is failing. looking at the logs, I didn't find anything.

It timed out for whatever reason.  I restarted the build.

If you open a file that has both diagnostics and breakpoint gutter, you can see that the diagnostics is left of the breakpoint even though diagnostic has priority -1000 ( https://github.com/facebook/nuclide/blob/master/pkg/nuclide-diagnostics-ui/lib/gutter.js#L79 ) and breakpoint -1100 ( https://github.com/facebook/nuclide/blob/master/pkg/nuclide-debugger/lib/BreakpointDisplayController.js#L63 )

Verified your change fixes the issue.

Will merge change today unless any one has any feedback on the change @atom/core.

Thanks!

🎳 thanks, @vjeux!


[CARBONDATA-1279] Push down for queries like "%xxx" , ends with are not working as expected in Spark 2.1

Summary: Push down for some select queries not working as expected in Spark 2.1
Key: CARBONDATA-1279
URL: https://issues.apache.org/jira/browse/CARBONDATA-1279
Project: CarbonData
Issue Type: Bug
Reporter: Pannerselvam Velmyl
Adding push down filter for select queries with like option. Push down for some select queries with like were not working as expected in Spark 2.1 similar to Spark 1.5
No new test cases are required.

SDV Build Success with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/284/

retest this please

LGTM


Crypto (JCE) native support

Fixes #1593

Good PR @jamesnetherton . Just a note that I have spotted this guy, I wonder if it's covered.

Just a note that I have spotted this guy, I wonder if it's covered.

Good spot! Kind of a weird way to clear headers :smiley:. Unsurprisingly, getFields returns an empty array in native mode.
I can follow up with a workaround and then fix properly on the Camel side.

I raised https://github.com/apache/camel-quarkus/issues/1881.

It would be nice to have a README with the info how the pgp and jks files were created for the case that we need to alter them in the future

I stole them from the Camel tests :-). But I can see if I can put something together.


Using the Save Button Concept

https://www.froala.com/wysiwyg-editor/docs/concepts/save-button
I am unable to run the save.save on a button outside of the editor
Perhaps you can add:
{{#froala-editor}}
custom html inside to access editor
{{/froala-editor}}

Figured out how to use the save concept
actions: {
saveStuff: function(){
console.log("Content Saved");
//using the the component name directly gives me access to the editor function but you should add ClassName 'froalaEditor' to the component to make it easier to access
$('div#ember632').froalaEditor('save.save');
},
contentChanged: function(event, editor) {
console.log("Content Changed");
//console.log(event);
//console.log(editor);
},
focus: function(event, editor) {
//console.log("Focus");
//console.log(event);
//console.log(editor);
},
},

:+1:


Add price precision setting

Can you please add precision settings for currencies? I'm now using Ribble and I still see just 0.18/0.17..
Thank you! And thank you for your great work 👍

The BTC market ("isBtcMarket is true" in coins.plist file, likes poloniex) calculate price using BTC price.
For example, ETH price calculated ETH-BTC (0.90000000 BTC) pair * BTC-USDT pair(300 USDT).
0.9 * 300 = 270 USDT.
So It was different between ETH-USDT pair price and iCoinTicker price.
I know this issue, but I can't find good solution yet.
Because iCoinTicker designed get market price by all market API using same algorithm.


MM-17495 - Adding spinner instead of loading bars

Summary
MM-17495 - Adding spinner instead of loading bars
Ticket Link
https://mattermost.atlassian.net/browse/MM-17495

QA is fine with testing this after it is merged. Removing QA Review label.

@jespino Done.


Add Vuelancer & Recoding youtube channels

I have started doing development stuffs in my youtube channel called "Vuelancer"!

please fix conflict @selvakumardhivakar

@ErikCH I have fixed the conflict dude!


Automate nighttime exposure length

I am using the RPiHQ and overall, I'm happy with it. However, during a full moon, the image looks way too bright like daytime, but during a moonless night, the images look great. Is it possible to modify the nighttime exposure length based on the illumination percentage of the moon, or some way to measure the brightness of the previous image to determine a good exposure length based on that?

You could use the Auto-exposure function:
"Set to 0 to disable auto-exposure at night. Auto-exposure delivers properly exposed images throughout the night even if the overall brightness of the sky changes (cloud cover, moon, aurora, etc). When set to 1, maxexposure value will be used as the delay between timelapse frames."

@hubivo, Autoeposure on the RPiHQ camera doesn't work at night as far as I can tell, or if it does, it's not very good.  The statement you quoted is only for ZWO cameras.
I think it will be very difficult to have AllSky do nighttime auto exposure for the RPiHQ since we get no feedback from the camera, unlike the ZWO cameras where we get feedback (actual exposure, gain, etc., and can adjust for the next exposure).
I believe most people simply use fixed exposures at night.  We may attempt to improve this in the future (I just put it on our possible "to do" list), but it'll be a while, hence I'm closing this issue.


Create semgrep.yml

What was changed
Add Github workflow to scan PRs with Semgrep.
Why?
This will eventually be an org-wide required workflow, but Github won't let us have access to it yet, so this PR manually adds scanning.
Checklist
How was this tested:
Added manually in this way to many other repos with no issue.

Codecov Report

Merging #230 (7e60750) into main (2df426a) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #230   +/-   ##
=======================================
  Coverage   64.22%   64.22%
=======================================
  Files          13       13
  Lines         995      995
=======================================
  Hits          639      639
  Misses        315      315
  Partials       41       41


Model error on Dowel Rod Holder

The 2x4 3-4in Dowel Rod Hangers show a problem on the hook in Ultimaker Cura and ultimately dont print the hook. Not sure if this can be fixed in the slicer or if there's something up with the model. I may be doing something wrong here but the U-Brackets printed with no problem.
https://github.com/aderusha/DDD-Printable-Wall-Control-System/blob/main/Sidepieces/Dowel_rod_hanger/2x4 3-4in Dowel Rod Hanger Right.stl

It looks like Cura has some problem with the small radius on that part.  Maybe try PrusaSlicer? https://i.imgur.com/2Px77hI.png
The part is for sure manifold, so the issue here is the slicer.

Thanks!. PrusaSlicer is working though I think it's still odd that some of the models work in Cura while others have the manifold issue. I assume the radius is == in all the models where the hook meets the rest of the model.


schedulers: add role config to shuffleRegionScheduler (#2219)

What problem does this PR solve?
cherry-pick #2219 to fix https://github.com/pingcap/pd/issues/2177
What is changed and how it works?
Add role configuration to shuffle-region-scheduler.
Use it to balance learners:
1. add shuffle-region-scheduler
pd-ctl scheduler add shuffle-region-scheduler

or
curl -XPOST -d '{"name": "shuffle-region-scheduler"}' http://pd:2379/pd/api/v1/schedulers

2. config roles
pd-ctl scheduler config shuffle-region-scheduler set-roles learner

or
curl -XPOST -d '["learner"]'  http://pd:2379/pd/api/v1/scheduler-config/shuffle-region-scheduler/roles

Check List
Tests

Unit test
Manual test

Code changes

Has HTTP API interfaces change (Don't forget to update API document)

Related changes

Need to cherry-pick to the release branch
Need to update the documentation

/run-all-test

/run-all-tests


[Apiview] Handle custom exception types better in Java

Upgrade APIView processor for Java to better support exception types that are thrown by public API that are defined in the same library, so that they may be properly linked.

// cc @pakrym for merge and release - thanks.


[BUG]: no such image library/redis:5.0-alpine

Docker compose is unable to fetch an image

Hello @AdamHavlicek 👋
Can you provide steps to reproduce? What did you do? What is your environment? At what point did you see this error?
Thanks!


Unwanted content in the footer which exposes the commit in the URL

URL of the docs page

https://docs.dapr.io/developing-applications/building-blocks/pubsub/pubsub-deadletter/
How is it currently worded?

Last modified July 6, 2022: add demo videos (#2612) (940dd4ed)
How should it be worded?

Last modified July 6, 2022
Screenshots

Additional context

/asign

/assign

@shivanisinghnitp friendly bump

closing for now. feel free to reopen when you start working on this.


TypeError: Cannot read property 'md' of undefined

Hello ...
Thank you for your great work!!!
just finished install homebrdidge and config ui x plugin.
Then all is at the last release
I have the follow message, but nothing found in the net.
Please can you help me?
Thank you

Can you provide details of your environment?
**Environment:**

* **Node.js Version**: <!-- node -v -->
* **NPM Version**: <!-- npm -v -->
* **Homebridge Version**: <!-- homebridge -V -->
* **Homebridge Config UI X Version**:
* **Operating System**: Raspbian / Ubuntu / Debian / Windows / macOS / Docker

Same here!
Node.js Version: 10.16.3
NPM Version: 6.9.0
Homebridge Version: 0.4.50
Homebridge Config UI X Version: homebridge-config-ui-x v4.6.0
Operating System: Raspbian
Thanks in advance!

Node.js Version: 10.15.2

NPM Version: 5.8.0
Homebridge Version: 4.5.0
Homebridge Config UI X Version: 4.6.0
Operating System: Raspbian

Thank you for your help

This should be fixed in 4.6.1... if you want to try the beta release:
sudo npm install -g --unsafe-perm homebridge-config-ui-x@next

thank you

updated to beta release ... but same problem!

Maybe the problem is bonded to accessories tab ? Message appear when I tap the accesory tab.
I have a camera and ffmpeg plugin.

Sorry @GPL71,
Try that again.
sudo npm install -g --unsafe-perm homebridge-config-ui-x@next

Sorry @GPL71,
Try that again.
sudo npm install -g --unsafe-perm homebridge-config-ui-x@next

At last!, this seems work flawlessly
Thank you

Thanks for confirming. 4.6.1 has now been published.


Add: invitations in poke with ability to copy invitation link

Description
Some users are stuck with an invitation that "never reach" the recipient for some reason (even if sendgrid says otherwise).
This PR add the ability to see the invitations and grab the invitation link within Poke.
It refactored a bit the code so the invitation link is part of the MembershipInvitationType to make it simpler (and potentially exposing the same feature in the product itself).

Risk
I don't see any security risk but there might one that I overlooked.
Deploy Plan
Deploy front

I'm not a strong fan of editing MembershipInvitationType and having to access the owner to construct it just because we want to display the invite link on a Poké table, but not strongly held

I'm not a fan either, feels hacky.
Let's revisit later but it's important to unblock @nchinot

LGTM

Thanks everyone, shared invite link with the user, still TBD on whether it worked 🤞


feat(dashboard): match Table component behaviours to current version

Overview

by default, Table will have 3 columns Property Latest Value and Unit only. So it matches current experiences on SWM.
enable sorting by default

Legal
This project is available under the Apache 2.0 License.

replaced by another PR https://github.com/awslabs/iot-app-kit/pull/695


Latest transactions spinner spinning forever

Issue description
Latest transactions stuck in infinite loop. Recent transactions not being displayed in the overview.
Wallet version
0.3.1
System specification
Win 10x64
Version 20H2
Build 19042.867
Is it a repeatable issue?
N
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.

User is about to receive a transaction to his address
User starts the firefly wallet
Firefly is up and running. Latest transactions overview stuck in infinite loop (transaction/s received while Firefly being off)

Test: https://youtu.be/RenAaHGaPOU (didn't reproduce the issue)
Expected behaviour
Latest transactions loading icon won't stuck and transactions are up-to date
Actual behaviour
Latest transactions loading icon will get stuck and transactions are not up-to date
Errors
Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

Do you mean the transaction loading spinner span forever?

yes. exactly

Should not be present in 0.4.0. Please reopen if you experience this again.


wait for downloads?

Hi, I'm trying to download multiple items from the web and after everything is finished, want to notify user. Here's the snippet code from it:
...
then(function() {
  links.forEach(function (link, index) {
    var downloadWorker = new Horseman(horsemanConfig);
    downloadWorker.download(link, config.download_path + index + '.ext', true).close();
  });
}).then(function() {
  console.log('all downloads finished'); // this get's called immediately, of course.
});

Any thoughts?

You need to use Promises. Always use Promises, and almost always return them.
...
.then(function() {
  return links;
}).each(function (link, index) {
  var downloadWorker = new Horseman(horsemanConfig);
  return downloadWorker.download(link, config.download_path + index + '.ext', true).close();
}).then(function() {
  console.log('all downloads finished'); // this get's called immediately, of course.
});


Several samples contain a deprecated method and other warnings

Environment Information
Browser: Google Chrome v58.0.3029.96 (64-bit)
Sample: https://github.com/auth0-samples/auth0-ios-objc-sample/tree/master/03-User-Sessions
and https://github.com/auth0-samples/auth0-ios-objc-sample/tree/master/05-Authorization and https://github.com/auth0-samples/auth0-ios-objc-sample/tree/master/07-Linking-Accounts
Xcode: 8.3.2
Description
After building the 03-user-session sample / 05-authorization / 07-linking-accounts, a warning about a not found parameter and a deprecated method shows up.
Screenshot

This was cleaned up.


Set default working dir for the whole justfile

Frequently I need to place justfile in a different location from where the default working dir should be. Would it be possible to have some global set command to modify the working directory, either for the current justfile, or possibly for all of the included ones as well (unless they override it?). The multiple justfiles could in theory be solved with modules, so this is a lower priority.

I think this would be pretty useful, and pretty low impact. Currently, settings are not shared between modules, so adding some kind of setting sharing would be something for another PR. set working-directory := … would be pretty easy to add. Marking as good first issue in case someone wants to take a crack at it.

I hacked together an implementation  in #2283, but it is still missing the actual workdir setting. May need some guidance here.

Implemented in #2283.


Distribute as multiple plugins? Or just make one button?

Right now the plugin provides 3 buttons, for overture, source coop, and 'custom' sources. They all just open the same panel, but pre-set to the relevant area. I had thought that it'd be easy for users to customize which buttons they want to show in qgis, but it seems like it's more 'all or nothing'. We could go back to just one button, but another option could be to distribute 3 plugins - one for source, one for overture, and one for 'custom'. We'd probably keep a 'custom' tab for each of those, to at least help debug. But it can then make it easier for users to find just what they want, the number of users who really want all three is likely small.
Not sure how distribution would work - ideally we just have one core code base and then customization of the URL's that go in it.

I think it's best to keep it as one plugin for sure. One button makes sense though.
The user can jump to different sources by using the tabs.


Massive performance hit - DCSFlightpanels_x64_4.6.8086.4

Why is just a basic profile using over 13% of my CPU and 0.2% of my GPU when nothing is happening and no game is loaded?
At times - when nothing is happening on the PC it peaks at over 17%!

It is the loop where the UDP socket checks for/gets DCS-BIOS data. Also the HID library takes CPU when idle.

Does it need to poll so much? It’s not like a joystick with continuous movements needing latency free tracking. It’s an infrequently used keyboard emulator at the end of the day. Perhaps a manual setting to set the polling rate? I’m in vr on a 1080ti & 8700k cpu; I need all the cycles I can get.

Sure, the system will have been built to handle and schedule hid polling. That’s not the concern. That will have been significantly optimised. I think doing this asynchronously is the way to go, but I know from experience that it’s complicated, a PITA to debug and not a quick job.

I've added a millisecond sleep to the poll which halfed the CPU hit. It may be that it needs some async tasking to get rid of that busy-waiting. Have to check that at some point. The HID library though I can't do anything with, there too it is polling for USB reports I'm guessing.

When will this be pushed to mainline?

Today maybe.

Check 4.6.8186.


Printing the raw data, no matter what happens, seams to be strange. L…

… Left over debug code, or a purpose I missed?

Great catch, that is some debug code left over. Very embarrassing for me, thanks for reporting! I will get this merged.


updateOrCreate feature concept

So, I found myself doing a lot queries that resulted in me rather doing some sort of 'update or create' type of functionality similar to the wonderful findOrCreate.  I've found that this functionality is sought for often on sites like Stackoverflow.  Currently, I just add this in an installable hook,  but I figure that it would make more sense to add it directly into waterline.  I'm not sure where to get started to add it in, so I figured I would drop it here and see if it get's any traction before attempting a PR. Thoughts?
/**
         * [updateOrCreate description]
         * @param  {[type]}   criteria [description]
         * @param  {[type]}   values   [description]
         * @param  {Function} cb       [description]
         * @return {[type]}            [description]
        */
        updateOrCreate: function (criteria, values, cb) {

          var normalize = require('sails/node_modules/waterline/lib/waterline/utils/normalize');
          var _hasOwnProperty = require('sails/node_modules/waterline/lib/waterline/utils/helpers').object.hasOwnProperty;
          var defer = require('sails/node_modules/waterline/lib/waterline/utils/defer');

          var self = this;
          var deferred;

          // Normalize Arguments
          if(typeof cb !== 'function') {
             deferred = defer();
          }
          cb = cb || noop;

          criteria = normalize.criteria(criteria);

          if (criteria === false) {
            if(deferred) {
                deferred.resolve(null);
            }
            return cb(null, []);
          }
          else if(!criteria) {
            if(deferred) {
                deferred.reject(new Error('No criteria or id specified!'));
            }
            return cb(new Error('No criteria or id specified!'));
          }

          // Build Default Error Message
          var errFind = 'No find() method defined in adapter!';
          var errUpdate = 'No update() method defined in adapter!';
          var errCreate = 'No create() method defined in adapter!';

          // Find the connection to run this on
          if(!_hasOwnProperty(self.adapter.dictionary, 'find')){
            if(deferred) {
                deferred.reject(errFind);
              }
            return cb(new Error(errFind));
          }
          if(!_hasOwnProperty(self.adapter.dictionary, 'update')){
            if(deferred) {
                deferred.reject(errUpdate);
              }
            return cb(new Error(errUpdate));
          }
          if(!_hasOwnProperty(self.adapter.dictionary, 'create')) {
            if(deferred) {
                  deferred.reject(errCreate);
              }
            return cb(new Error(errCreate));
          }

          var connNameFind = self.adapter.dictionary.find;
          var adapterFind = self.adapter.connections[connNameFind]._adapter;

          var connNameUpdate = self.adapter.dictionary.update;
          var adapterUpdate = self.adapter.connections[connNameUpdate]._adapter;

          var connNameCreate = self.adapter.dictionary.create;
          var adapterCreate = self.adapter.connections[connNameCreate]._adapter;

          adapterFind.find(connNameFind, self.adapter.collection, criteria, normalize.callback(function before (err, results){

            if (err) {
              if(deferred) {
                deferred.reject(err);
              }
              return cb(err);
            }

            if(results && results.length > 0){
              adapterUpdate.update(connNameUpdate, self.adapter.collection, criteria, values, normalize.callback(function afterwards (err, updatedRecords) {
                if (err) {
                  if(deferred) {
                      deferred.reject(err);
                  }
                  return cb(err);
                }
                deferred.resolve(updatedRecords[0]);
                return cb(null, updatedRecords[0]);
              }));
            }else{
              adapterCreate.create(connNameCreate, self.adapter.collection, values, normalize.callback(function afterwards (err, createdRecord) {
                if (err) {
                  if(deferred) {
                      deferred.reject(err);
                  }
                  return cb(err);
                }
                deferred.resolve(createdRecord);
                return cb(null, createdRecord);
              }));
            }
          }));

          if(deferred) {
            return deferred.promise;
          }
        }

This is vulnerable to a race...

if the object gets deleted between the .find and the .update call, the update will fail and you'll resolve with undefined.

if this function gets called twice (or more) in short succession (e.g. so both functions call .find() before one calls .update()), you'll attempt to create the item twice. dependending on what constraints you have set up you can get in a bad situation

Best would be to use the database's default UPSERT behavior (ON DUPLICATE KEY UPDATE in MySQL, ON CONFLICT DO UPDATE in Postgres 9.5+). Better would be to remove the .find(), try and create the item, catch a duplicate key error thrown by the database, and then try the update. You're still not safe against the item being deleted between the attempted create and the update, but the window for races is much shorter and it's impossible to end up creating two instances of the same record.

@kevinburkeshyp very good points! I've currently been using this during a bootstrap so the race concept never occurred to me.  I'll take another wack at it.


x/text: internal/TestParents and language/TestCompactIndex are failing

go 1.5
linux amd64
Also it would be nice it the golang/text repo's readme.md could provide a link to where it wants its issues reported, please.

Thanks for the report. A fix is under review.
Sent out a fix. Note that all go repos, including this one, describe the contribution  guidelines in CONTRIBUTING.md.

Fixed by CL 16011

--- FAIL: TestLinking-8 (1.56s)
currency_test.go:151: size(symbols)-size(base) was 0; want > 2K

Seems not all tests are stable.

That one is unrelated. The remaining failures seem to be various issues
with the build environment. (Missing GOPATH and missing test files).
On Tuesday, October 20, 2015, Walter Schulze<EMAIL_ADDRESS>wrote:

Seems not all tests are stable.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/12987#issuecomment-149462098.

--
Marcel van Lohuizen -- Google Switzerland GmbH -- Identifikationsnummer:
CH-<IP_ADDRESS>-1

That is the only test that is failing.
Could you please fix it?

I don't see it failing on the build dashboard and it passing for me
locally. Could you please file another bug with more context?
The test builds a couple of binaries to verify the linker is dropping
tables properly. Such tests are a bit finicky to get right.
On Tuesday, October 20, 2015, Walter Schulze<EMAIL_ADDRESS>wrote:

That is the only test that is failing.
Could you please fix it?
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/12987#issuecomment-149491305.

Ok weird I can't reproduce it now either.
I guess thats my bad. Sorry.


App Restriction Issue

Hi Nick McSpadden,
I am working on App restriction have gone through the apple documentation But did not find appId as key. When I am not using appId whiteList does not work.
https://github.com/nmcspadden/Profiles/blob/master/TesterAccount.mobileconfig
whiteList

appID
+t4MAAAAADAAAAABAAAABgAAAAIAAAASY29tLmFwcGxlLlRleHRFZGl0AAAAAAAD
appStore

bundleID
com.apple.TextEdit
displayName
TextEdit
subApps

This is working fine if I am using your reference profile. I have gone through the apple documentation I have not seen appID any where documented.
So can you please guide me how can i get this appID ?
Thanks

This is not an issue


setIn with empty array causes stack overflow

Description
Calling Immutable().setIn with an empty path as the first argument causes a stack overflow.
Steps to reproduce
Execute something like Immutable({foo: 'bar'}).setIn([], {foo: 'baz'})
Expected vs actual behavior
A descriptive error should be thrown, but a stack overflow occurs instead.
Suggested fix
function objectSetIn(path, value) {
    if (path.length === 0) {
        throw new ImmutableError("You called Immutable().setIn with an empty array." +
            " At least one property path key must be provided in the array." );
    }

This definitely isn't a major issue, I just think it would be nice to cover this potential situation.
Thanks!

I would consider an empty path to mean "set the given value instead of this object" and simply return Immutable(value)


Strongly typed optsWithGlobals

Pull Request
Problem
.optsWithGlobals() and .getOptionValueSourceWithGlobals() are weakly typed and not using globals.
Solution
Add Command<> generic for GlobalOpts.

.optsWithGlobals() is strongly typed
.getOptionValueSourceWithGlobals() is weakly typed. Get autocompletion for known options, but can enter anything, like with the other ...Source... routines.

On the way I upgraded eslint because I noticed @typescript-eslint/ban-types was changing to @typescript-eslint/no-empty-object-type. And simplified eslint.config.js to avoid bogus TypeScript errors from .js files. (Apologies for the extra changes. I did make them separate commits.)
ChangeLog

strongly type .optsWithGlobals() to include inferred globals
weakly type .getOptionValueSourceWithGlobals() to include inferred globals

@shadowspawn @abetomo do you know when this will be released?

We don't have a date planned, but I expect by mid-January 2026.
Would a pre-release build be useful to you?
I have just one more issue I want to look at for a major version of Commander:

https://github.com/tj/commander.js/issues/2263

Yes please. Would be useful to test it out
On Fri, 29 Nov 2024, 18:33 John Gee, @.***> wrote:

We don't have a date planned, but I expect by mid-January 2026.
Would a pre-release build be useful to you?
I have just one more issue I want to look at for a major version of
Commander:

tj/commander.js#2263 https://github.com/tj/commander.js/issues/2263

—
Reply to this email directly, view it on GitHub
https://github.com/commander-js/extra-typings/pull/78#issuecomment-2508291518,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMBRIXBLSTMPFHEN7ADBSD2DCXPPAVCNFSM6AAAAABQVHVRJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBYGI4TCNJRHA
.
You are receiving this because you commented.Message ID:
@.***>

A prerelease is available for v13. The release is tagged as next and can be installed with:
npm install @commander-js/extra-typings@next

Released in v13.0.0


Workspace tree query api

Finished and tested Workspace-tree-API package to extract data from Jacobs Workspace tree Object
Closes #93

Currently reviewing why the checks didn't pass


Font Size

Hi, since I am using a 4k Monitor and want the chat to be really small can you add more fonz sizes (maybe down to 6)?

Damn, 6 is smol like an 🐜. I'll add it, no biggie.
But you'll have to wait, I'll return to working on glass in a week or so because I currently work on my other projects.

Thanks for your answer.

Will look into your other projects aswell.

Greetings from germany!

Gesendet: Dienstag, 15. November 2022 um 03:37 Uhr
Von: "Val Voronov" @.>
An: "ls-/ls_Glass" @.>
Cc: "Geekfoxxx" @.>, "Author" @.>
Betreff: Re: [ls-/ls_Glass] Font Size (Issue #15)

Damn, 6 is smol like an 🐜. I'll add it, no biggie.
But you'll have to wait, I'll return to working on glass in a week or so because I currently work on my other projects.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


[ Feature ] isLocal

Could you add new feature function "isLocal" to check if the ip is local IPV6/IPV4

Use .range().


Need to structure parallel builds on Semaphore better

@dagar The build errors we keep getting with Semaphore seem to be a race condition inherent to Docker:
https://github.com/docker/docker/issues/21215
Either the 2016-12-26 image is bad (its the one it was trying to fetch) or we run into a race condition here.

It looks like semaphore parallel jobs must be on the same machine. I'll try centralizing the pull in the setup section.

Nope, it's the actually docker run. This really limits semaphore's usefulness for us.

I've recombined firmware/bootloaders and tests/astyle.

I think I'm at an impasse for getting this working on semaphore. I haven't found a way to work around parallel threads with any docker layer overlap, and all of our images now share base layers. This also means no splitting nuttx builds across multiple threads.
I'll try contacting semaphore support, but I'm not expecting much.

Nuttx builds currently split into qgc_firmware and alt_firmware and they're 12-15 minutes each.
https://github.com/PX4/Firmware/blob/master/Makefile#L204
We could try splitting them further.