[4.0] License check failed in CLI

Bug report
What happened:
I got an error when I was using artisan commands.
   ErrorException  : Undefined index: REMOTE_ADDR

  at /app/vendor/backpack/crud/src/LicenseCheck.php:16
    12|      */
    13|     private function checkLicenseCodeExists()
    14|     {
    15|         // don't show notice bubble on localhost
  > 16|         if (in_array($_SERVER['REMOTE_ADDR'], ['<IP_ADDRESS>', '::1'])) {
    17|             return;
    18|         }
    19|
    20|         if (! $this->validCode(config('backpack.base.license_code'))) {

What I've already tried to fix it:
I think it may need some checks like following.
Is that correct ?
$this->app->runningInConsole()
$this->app->runningUnitTests()

Backpack, Laravel, PHP, DB version:
Backpack/CRUD v4 branch
PHP 7.3.9
I am looking forward to using v4 soon.
Thanks,

Same here, I'm doing composer update from 3.6 to 4.0.
ErrorException  : Undefined index: REMOTE_ADDR

  at /var/www/vendor/backpack/crud/src/LicenseCheck.php:16
    12|      */
    13|     private function checkLicenseCodeExists()
    14|     {
    15|         // don't show notice bubble on localhost
  > 16|         if (in_array($_SERVER['REMOTE_ADDR'], ['<IP_ADDRESS>', '::1'])) {
    17|             return;
    18|         }
    19|
    20|         if (! $this->validCode(config('backpack.base.license_code'))) {

  Exception trace:

  1   Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Undefined index: REMOTE_ADDR", "/var/www/vendor/backpack/crud/src/LicenseCheck.php", [])
      /var/www/vendor/backpack/crud/src/LicenseCheck.php:16

  2   Backpack\CRUD\BackpackServiceProvider::checkLicenseCodeExists()
      /var/www/vendor/backpack/crud/src/BackpackServiceProvider.php:45

Same Here :(

As temporary solution I made next:
added a new line after line 14
return ;
and run composer install again

@babonka - in Which File ?
Sorry this is my first time installing Backpack at all

@Mu9tafa-Online an error tells you in what file there is a problem :)

@babonka / Aha, Thanks

I've followed installation instructions, but found the backpack still using AdminLTE !!😅 .. I don't know what I did wrong

@Mu9tafa-Online and what you expected? This issue is with licence checking. I fix it until official package will be fixed. There is nothing in this issue that related to AdminLTE. :)


Unable to run rest api tests - No such container:path: test_cvat_server_1:\tmp

My actions before raising this issue

[+] Read/searched the docs
[+] Searched past issues

Expected Behaviour
Running tests
Current Behaviour
When I run a specific test or all tests using "pytest ./tests/python" I'm getting an error msg:
No such container:path: test_cvat_server_1:\tmp
Possible Solution
It seems to me, Docker doesn't execute copying function properly
tests/python/shared/fixtures/init.py :196 - docker_restore_data_volumes
Context
Environment was installed in accordance with the instructions
Here is a problem with copying tarball or creating "tmp" directory
I also tried to add required directory in test-cvat_server-1 container manually but it didn't work out
If you know what can I do about it please let me know. Thank you

Your Environment

Python 3.9
Docker-compose v2.10.2
Docker version 20.10.17
Windows 10 21H2
Other diagnostic information / logs:

! _pytest.outcomes.Exit: Command failed: docker container cp C:\Users\Я\PycharmProjects\cvat\tests\python\shared\assets\cvat_db\cvat_data.tar.bz2 test_cvat_server_1:/tmp/cvat_data.tar.
bz2.
Error message: Error: No such container:path: test_cvat_server_1:\tmp

Hi!

The issue is the same since the very first attempt to run tests
Output - Error: No such container: test_cvat_server_1

But maybe it makes sense to use dash symbols instead (docker exec -it test-cvat_server-1 ls -lah)

I also tried to follow the advice from provided link, but didn't help
I'll see what else I can do, and will keep you updated!
If there is anything else I should try, please let me know. I only have a couple of days left to complete the test, and I I would greatly appreciate any assistance.

Hmm, in the develop branch containers use underscores in their names. Which CVAT version are you using? Did you modify files somehow?

I had to modify two files since I couldn't install the cvat_sdk.api_client module but I thought it was not the cause of this problem

No, this seems unrelated. Did you try to rename any containers?
The developer installation instructions for SDK and CLI are available here. You'll need to install both SDK and CLI like this: pip install -e cvat-sdk/, pip install -e cvat-cli/.

No, I didn't try to rename them, should I?

I'm not sure why in your case the containers have the test-, while they are supposed to have underscores (_) in their names. If you can, please try to rename them (or just sync your branch with the actual develop).

Renaming some of these containers manually has finally led to some kind of success
Thank you!

I will close the issue as resolved. Feel free to reopen, if needed.

https://stackoverflow.com/questions/69464001/docker-compose-container-name-use-dash-instead-of-underscore


Release up to date version

We should release an up to date version, at least with the parts we still need out of this.
The viz part now lives in https://github.com/quansight/ibis-vega-transform
So far, it seems like we at least need to also release the SQL editor widget.
I will break this up into a number of packages, so it's easier to keep each up to date. Please comment if there is other things you are currently using from this package.

Also this is old: https://anaconda.org/conda-forge/omnisci-pytools

@saulshanabrook the SQL Editor widget is probably the main one. i did like the magics we had too, if there's a way to resurrect these it would be terrific.


Missing container OS/Arch for version 0.7.8

I get the error no matching manifest for linux/amd64 in the manifest list entries when pulling the latest tag.
The OS/Arch linux/amd64 and linux/arm64 seem to be missing from the GitHub container registry.

Hi, this should be fixed in v0.7.9.


treesheets: 0-unstable-2024-12-11 -> 0-unstable-2024-12-22

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for treesheets is: Free Form Data Organizer
meta.homepage for treesheets is: https://strlen.com/treesheets/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0-unstable-2024-12-22 in filename of file in /nix/store/9s5sjnyky3ncqrbhrh4w4nfx05x0zrvv-treesheets-0-unstable-2024-12-22

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

treesheets

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/9s5sjnyky3ncqrbhrh4w4nfx05x0zrvv-treesheets-0-unstable-2024-12-22 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/57ed908d011454a845340df81cde77027fd02bf0#treesheets

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9s5sjnyky3ncqrbhrh4w4nfx05x0zrvv-treesheets-0-unstable-2024-12-22
ls -la /nix/store/9s5sjnyky3ncqrbhrh4w4nfx05x0zrvv-treesheets-0-unstable-2024-12-22/bin

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

x86_64-linux

:white_check_mark: 1 package built:

treesheets

Maintainer pings
cc @obadz for testing.

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

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 367662

aarch64-darwin

:white_check_mark: 1 package built:

treesheets


AdvancedNoise.Examples.RailIrregularities.TrainOnTrack has overdetermined initial system

Warning In AdvancedNoise.Examples.RailIrregularities.TrainOnTrack
The system of equations for the initial value computation is overdetermined.
Free some of the following fixations:
der(displacement.position.s)(start=displacement.position.v.start)
der(displacement.position.v)(start=displacement.position.a.start)

Message: InitialSystem.ToManyInitialEqns.Start

should be solved by https://github.com/DLR-SR/AdvancedNoise/commit/d291a5c2830aaa7bf96d0533b7c4a34423615751
@tbeu , could you verify? thanks!

Still gives warnings but different now.
Warning In AdvancedNoise.Examples.RailIrregularities.TrainOnTrack
The system of equations for the initial value computation is overdetermined.
Free some of the following fixations:
quarterRailwayCar.wheel.s(start=quarterRailwayCar.wheel.s.start)
quarterRailwayCar.body.s(start=quarterRailwayCar.body.s.start)
der(quarterRailwayCar.wheel.s)(start=quarterRailwayCar.wheel.v.start)
der(quarterRailwayCar.body.s)(start=quarterRailwayCar.body.v.start)

Message: InitialSystem.TooManyInitialEqns.Start

Another try. :-)

Confirmed. Thanks.


[rfc] Stat recording sender

Hey, is this something you'd be interested in me cleaning up for inclusion in your repo?
It's really only intended for use in tests so likely go-statsd-client/statsd/statsdtest or something in the vein of net/http/httptest would be a more reasonable home than the root package.

@falun Thanks. I will take a look.

I think the idea of a recording sender, and a related stat parser, seem reasonable to include in the repo.
As far as the presented implementation, it also seems like a fine start (thanks!).
I am not sure about some of the names. StatSent in particular kind of feels/sounds a bit awkward. Did you have any alternative ideas for naming that when you wrote it up?
I will try to see if I can think of any possibilities too -- in a few minutes thinking about it while looking at the code I failed to come up with anything other than StatRecord and RecordedStat. Not sure either of those are any better.

I hadn't paid much heed to actual naming -- this was a rough cut before any cleanup just to get some tests in place.  Since it sounds like a worthwhile addition I'll make a pass to make it presentable (docs and naming updates at minimum) and push updates to this branch.
ETA: handwave the nearish future

Just pushed an update; let me know how that feels.
Also, take a look at statsdtest/stat_test.go line 42 (stringStat). I'm currently not treating that case as "unparsed" despite the zero length stat name. I don't really want to get into the position of trying to validate stats so I'm marking it as "parsed" (note that's not "valid" just that I could pull data out).  What's your feeling on it?

Oh, I just ended up calling the parsed stat struct Stat since that's what it is and now that it lives in statsdtest it's well isolated enough that it doesn't suggest that it should be used as-is with any of the rest of the library.

I'm currently not treating that case as "unparsed" despite the zero length stat name. I don't really want to get into the position of trying to validate stats so I'm marking it as "parsed" (note that's not "valid" just that I could pull data out). What's your feeling on it?

I think that is fine.

Awesome. Thanks!


[Feature] Add Process Scheduling Calculator

Description
The Process Scheduling Calculator is used to analyze various CPU scheduling algorithms. This calculator will be useful for students studying Operating Systems. This will help to understand how different scheduling algorithms affect process execution and system performance.
The user Input will consist of a dropdown for selecting the algorithms (fcfs, sjf, roundrobin, priority, etc) and then selecting Arrival Time, Burst Time
Then after clicking on Calculate button it will calculate Finish Time, Wait time, and TurnoverTime.
Please assign this to me.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

Go ahead @MohiniMehta


MudNavGroup: Fix NavigationContext not updating on Expanded

Description
Fixes issue mentioned here: https://github.com/MudBlazor/MudBlazor/discussions/8976#discussioncomment-9640411
Regression PR: https://github.com/MudBlazor/MudBlazor/pull/8684
How Has This Been Tested?
Visually.
Do we need to add a test for this?
Type of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

Adding @igotinfected for review too.
Also let me know if we need test for this case.

Adding @igotinfected for review too.
Also let me know if we need test for this case.

Thanks for the fix, and sorry for the regression!
I suggest adding this as a test:
/// <summary>
/// NavGroup should expand and collapse via Expanded binding.
/// </summary>
[Test]
public async Task NavGroup_should_expand_via_Expanded_binding()
{
    var comp = Context.RenderComponent<NavGroupWithExpandedBindingTest>();
    GetExpandedState().Should().BeFalse();

    await comp.InvokeAsync(() => comp.Find("#navgroup-switch").Change(true));

    GetExpandedState().Should().BeTrue();

    await comp.InvokeAsync(() => comp.Find("#navgroup-switch").Change(false));

    GetExpandedState().Should().BeFalse();
    return;

    bool GetExpandedState() => comp.FindComponent<MudCollapse>().Instance.Expanded;
}

With this as test component (covering the user's test case):
<MudNavGroup<EMAIL_ADDRESS>             Title="Users"
             Expanded="@_expanded">
    <MudNavLink Href="profile"
                Match="NavLinkMatch.Prefix"
<EMAIL_ADDRESS>        Profile
    </MudNavLink>
</MudNavGroup>

<MudSwitch T="bool"
           id="navgroup-switch"
           @bind-Value="@_expanded"
           Label="Expand navigation group" />

@code {
    private bool _expanded;
}

Thx for the test.


ODIS Client Update

Description
Some updates for Komenci:

Custom auth header signer. This allows us to separate out the signing from the request management so that the onboarding service can manage the request while the relayers simply perform the auth header signing.
Separate public method for passing in pre-blinded phone number. This allows Valora to pass the blinded phone number and for Komenci to use this new public method instead which expects the pre-blinded phone number.

Other changes
ContractKit version bump.
Tested
New tests included
Backwards compatibility
Yes, no change to previous method interface.

Hey Cody! Could you also update the changelog in this PR?


Do you support behind proxy requests?

Do you deal with IPs hidden behind proxy?
e.g.
'x-forwarded-for'
'forwarded-for'
'x-cluster-ip'
See: extras.fixIP

I had to deal with this same problem. I was using Express and there was a setting called trust proxy which you can read up on at the bottom of the page i linked.
If you aren't using Express it goes on to say,

"The trust proxy setting is implemented using the proxy-addr package. For more information, see its documentation."

Trust proxy mode is absolutely the way to go. Nothing to add @ScheerMT mentioned everything I would have mentioned.


Remove holesky_dev

holesky_dev is outdated and has been replaced by dev-0, dev-1, dev-3. The PR removes the old name, code, and config associated with holesky_dev.

lgtm


Can we have a serverless mode ?

I would like to add crisp sdk in all my serverless function init and send when it worked or not, but i can't have a service all time up

Hey.You should use HTTP monitoring instead of this because serverless means there is a server, just it’s not running 100% of the time Sent from my iPhoneOn 16 Jan 2023, at 08:59, Martin DONADIEU @.***> wrote:
I would like to add crisp sdk in all my serverless function init and send when it worked or not, but i can't have a service all time up
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hey Martin! Glad to see you there :) This library is not designed for serverless, and serverless is unfortunately the kind of things that you cannot really monitor IMHO / don't need to monitor for uptime (as your fn are ran on-demand and there is no active runtime).


OSOE-545: Automatically assign GitHub issue corresponding to a pull requests based on Jira issue key in Lombiq.GitHub.Actions

OSOE-545
Fixes #189

Please don't forget to add "Fixes #no" to the description whenever you open a PR that fixes a GitHub issue.


CI system tests failing

I can't land my comments change only because the tests are failing: https://github.com/googleapis/nodejs-error-reporting/pull/259
1 failing
  1) error-reporting
       Should report unhandledRejections if enabled:
      AssertionError [ERR_ASSERTION]: Expected to find 1 error items but found 0: []
      + expected - actual
      -0
      +1
      at /tmpfs/src/github/nodejs-error-reporting/system-test/error-reporting.ts:17:34
      at Generator.next (<anonymous>)
      at fulfilled (build/system-test/error-reporting.js:15:50919)
      at <anonymous>

Please ping me when it's fixed and my PRs lands so I can update our documentation with the new tags.

ping @DominicKramer

I've been able to reproduce the system test errors that state that an error event was not published to the error reporting service.  However, I was able to confirm that the error reporting library did in fact send an error event, and the event is listed in the error reporting UI.  Thus, I think the issue is that we need to increase the timeout that the tests try to get the error from the error reporting service.


Managing import of duplicate experiments

Right now if you try to import two experiments that are identical, the UI doesn't handle this well -- just spins and does nothing. Instead we should either return an error upon import, e.g.
"ERROR: this experiment design has already been imported"
or prepend COPY OF... in the experiment name of the duplicate.

Okay. Do we require duplicate experiments? I would say let's go with first option, to show the error.

Good question. Let's go with the first option.

Handled this by verifying existing partitions in existing PR


Is Docker still in Mind (ProfilePictures not working)

in development everything is ok but in docker the folder are create like :
Files
--Images\ProfilePictures
--1412cb20-cd01-41f3-bf26-4909db61614a-182989ef-9030-44ac-95dd-9d14249a8cde.jpg
where on development using windows it will be:
Files
--Images
--ProfilePictures
-- 1412cb20-cd01-41f3-bf26-4909db61614a-182989ef-9030-44ac-95dd-9d14249a8cde.jpg
Is this bug or i have done some wrong?

@mikecasas you mentioning this (System.IO.Path.DirectorySeparatorChar) really helped me in digging deep.
anyways,this extension does the job:
` public static string NormalizePath(this string path)
{
if (string.IsNullOrEmpty(path))
return path;
        if (Path.DirectorySeparatorChar == WinSeparator)
            path = path.Replace(UnixSeparator, WinSeparator);
        if (Path.DirectorySeparatorChar == UnixSeparator)
            path = path.Replace(WinSeparator, UnixSeparator);

        return path.Replace(string.Concat(WinSeparator, WinSeparator), WinSeparator.ToString());
    }`

Thanks and Cheers!

Glad I can help. I'm not sure if you even need that logic. I think the framework knows what it is running on and "converts" the character.
https://docs.microsoft.com/en-us/dotnet/api/system.io.path.directoryseparatorchar?view=net-5.0

I think that logic is needed as seem below:
https://github.com/blazorhero/CleanArchitecture/blob/637517163f1e7f40b6be0952f8cf4ab690d759e0/src/Infrastructure/Services/UploadService.cs#L18
All this change the behavior based on platform u are running it.


Bugfix: Delete permissions for roles and rolebindings

Bugfix for Issue #2
Adds the missing permissions

@kehralexander thanks for this! We actually to update this in the operator code since those permissions are generated. I'll update that today and get this merged in.

@azlyth Ah! I see, sorry I didn't look into the source code too much yet and have no experience with golang k8s operators.
I tried to rectify it, I hope I did it correctly this time. While at it, I also increased the chart version to 0.4.1.

Just verified this, merging this in! Thanks @kehralexander!


Core order problems

An example of a core compilation failing.
> feature salary ~> let x = newest date ~> case  (x  >  now) | True -> x | False -> now end
- Core:
Program (source : Stream Int)
Precomputations:

Stream transformers:
conv$0 =
    source
conv$3 =
    smap    [(Int, DateTime)] [(DateTime, (Int, DateTime))] (
    \conv$2 : (Int, DateTime).  pair# [DateTime] [(Int, DateTime)] (snd# [Int] [DateTime] conv$2)
                                conv$2) conv$0
Reductions:
conv$4 =
    rlatest [(DateTime, (Int, DateTime))] (1 : Int) conv$3
Postcomputations with date as now$conv$1:
conv$5 =
    Array_fold# [(DateTime, (Int, DateTime))] [(Option DateTime, Unit)] (
    \conv$7 : (Option DateTime, Unit).
    \conv$8 : (DateTime, (Int, DateTime)).
    let s$conv$11 =
                    let conv$9 = fst# [Option DateTime] [Unit] conv$7
                     in Option_fold# [DateTime] [Option DateTime] (
                        \s$conv$10 : DateTime.  some# [DateTime] (fst# [DateTime] [(Int, DateTime)] conv$8))
                        (some# [DateTime] (fst# [DateTime] [(Int, DateTime)] conv$8)) conv$9
     in pair# [Option DateTime] [Unit] s$conv$11 (
        let conv$12 = snd# [Option DateTime] [Unit] conv$7
         in () : Unit)) (pair# [Option DateTime] [Unit] (None : Option DateTime) (() : Unit)) conv$4
conv$6 =

    let s$conv$11 =
                    let conv$9 = fst# [Option DateTime] [Unit] conv$5
                     in Option_fold# [DateTime] [DateTime] (
                        \s$conv$10 : DateTime.  s$conv$10) (ExceptFold1NoValue : DateTime) conv$9
     in
    let conv$12 = snd# [Option DateTime] [Unit] conv$5
     in s$conv$11
x$conv$14 =
    conv$6
conv$17 =
    if# [DateTime] x$conv$14 now$conv$1 conv$15
conv$15 =
    gt# [DateTime] x$conv$14 now$conv$1
Returning:
repl =
    conv$17

- Core type error:
Post error:
    Variable not bound: conv$15

- Avalanche type error:
Program error:
  ProgramErrorExp (ExpErrorVarNotInEnv (NameMod "conv" (Name "15")))

- Core error:
Runtime error:
  Postcomputation error:
    No such expression variable: conv$15

this needs some changes (not all!) from https://github.com/ambiata/icicle/pull/126

specifically, just these https://github.com/ambiata/icicle/pull/126/files#diff-21c4459ff4b11ce33f504c66a6288794L585

yes! this is actually fixed in possibly branch, but that doesn't help a lot does it.. doh

maybe just pull that cases bit out? my fault for not realising this in the beginning anyway...

oh, it's totally not obvious.
yeah - the cases bit in ToCore/ToCore, as well as the pullPosts function in ToCore/Base

This looks fixed.


No verification of user's email via OTP

When user signs up, there is no verification being done whether the email is their's or not.
We need to send a OTP to the user for this.
https://github.com/VaibhavArora314/StyleShare/assets/143820879/86e5b634-5069-4819-884c-2116dfb3f4b8
Obviously, no such email as the one entered here exists as the one entered above.

Pls assign me this issue

How are you planning to send a verification link to the user?

I will send an OTP using nodemailer.


Add a utility function to check if a graph is cyclic

Add a utility function to check if a graph is cyclic

Well, to be honest i thought the utils were already exported for the client to use, which was my motivation for adding this functionality.
I was using your library in a project where i needed the cyclic check, and figured other people might need it for something as well, so it would be nice if it was available as part of the library already.


Set different timestamps in test cases for live stats

...in order to make sure we don't expect to receive the exact same timestamp on multiple series

Thanks!


Fix typo in --body-font-familly

While working on Wallace's custom property inspector I found there's a typo in --body-font-familly. The inspector shows there is a custom prop called --body-font-family so I changed the typo to that one.

There are more custom properties that are highlighted there but for some it's not obvious why they are flagged. For example, I see --color-sheet flagged as undefined and I suspect that it should be --fg-sheet instead (based on what I've heard in episode 690: How to Dark Mode and Beyond). I'm not sure about it, so I'll stick to the typos for now 😉

thanks!


Get-AzComputeResourceSku -PS cmdlet, better explanation of output

For the Get-AzComputeResourceSku output, we might get the NotAvailableForSubscription output even though the VM SKU is available for Subscription but unavailable in Zone. You should specify in the documentation how the output should be interpreted. Also, for a better output below command should be used with the FC parameter at the end:
Get-AzComputeResourceSku | where {$.Locations.Contains("westus") -and $.ResourceType.Contains("virtualMachines")} | fc
In PS, this is declared by using Restrictions as an array. If the type of restriction is “Zone”, it means that the Subscription has restrictions, to that size, only if a customer tries to deploy to any of the listed restricted Zones:
Restrictions[0]   :
Type            : Zone
Values[0]       : westeurope
RestrictionInfo :
Locations[0]  : westeurope
Zones[0]      : 1
Zones[1]      : 2
Zones[2]      : 3
ReasonCode      : NotAvailableForSubscription
Otherwise, if the restriction applies to both Location and Zone, they would have something like the below.
Below you can see that the Restrictions array is now counting 2 items. One for the Location type and one for the Zone type.
The ReasonCode is saying that that specific “type” (Location/Zone/etc) is restricted to the subscription and hence “NotAvailableForSubscription”.
Restrictions[0]   :
Type            : Location
Values[0]       : westeurope
RestrictionInfo :
Locations[0]  : westeurope
ReasonCode      : NotAvailableForSubscription
Restrictions[1]   :
Type            : Zone
Values[0]       : westeurope
RestrictionInfo :
Locations[0]  : westeurope
Zones[0]      : 1
Zones[1]      : 2
Zones[2]      : 3
ReasonCode      : NotAvailableForSubscription

@cadumi it's valid feedback however it is hard to tell the difference between not available for the subscription vs region. This is really a great ask for the PowerShell team though to improve the output instead.
Can you add feedback here: https://github.com/Azure/azure-powershell/issues
Feel free to CC me as well.

Hello, in case someone finds this useful:
Powershell comands and operators can be case sensiteve or not.
For example this one is not case sensitive: Get-AzComputeResourceSku "germanywestcentral"
But the operator Contains is case sensitive:
Get-AzComputeResourceSku | where {$.Locations.Contains("germanywestcentral")}_  will not show the same outcome than Get-AzComputeResourceSku | where {$.Locations.Contains("GermanyWestCentral")}_
PowerShell has other operators that are case insensitive that we can use:
Get-AzComputeResourceSku | where {$.Locations -eq "germanywestcentral"}_
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.2#common-features


Wordpress - Unable to establish secure connection

After the installation of Wordpress, I got the warning message while entering the wp-Admin:
...
Unable to establish secure connection with *wordpress.org*...
...

Please help...

Bind(9.10.3-)
PHP(7.1.9)
nginx(1.12.1)
MariaDB(10.2.8)

I am on the 'DVL-013-fix-dns' branch.

It seems like this issue is related to my laptop or ISP I use. Or... I don't know... I have noticed when less tabs in the browser are opened - it works fine for me, no issues.
Anyway, I don't think it is related to devilbox.

@mrpsiho ok I will close this issue then. FYI: You should give the new PHP container a try (will be merged once I have enough feedback): https://github.com/cytopia/devilbox/pull/203

The issue still persists on my env (Windows 10, Docker 18.03.1-ce-win65 (17513)).

The same for me, there is no any plugins, just pure Wordpress and the issue is reproduced


All using setting values inside tasks.json

VSCode Version: 1.4.0
OS Version: Windows 10

Hello,
I'm developing an extension to an own language.
To make the build I need different information that's in the "properties" of the extension.
However if I try to access by "{$ myextesion.myproperties}" I can't get the information.
Is there any way to do this?
I tried to build another way, using the command from contribution points.  The build worked, however I can't catch errors.
What I understood, only Tasks can send problemMatcher to User Interface, or I can do this from within a Command?

@killerall can you provide and example what you want to achieve. Or a git repository I can clone that shows it. From your descriptions it is very hard to me to understand what you try to achieve.

@dbaeumer thanks for the reply
I don't have an git. Sorry.
Basically I would like to use all variables that i can use in lauch.json,
inside of tasks.json. Because I need different parameters of workspace going  to my compiler.
However, I did do by commands, notify the vscode of compilation errors.
With the following code:
// Values is string arrays with compile return.
var source = values [0];
var lineIndex = Number (values [1]) - 1;
var col = Number (values [2]);
var message = values [3];

var range = new vscode.Range (lineIndex 0, lineIndex, 10);
let diagnosis = new vscode.Diagnostic (range, message, vscode.DiagnosticSeverity.Error);
this.diagnosticCollection.set (vscode.Uri.file (source) [diagnosis]);

So,
It's only a suggestion for improvement to allow use of all workspace variables inside task.json
Sorry, my English is not good
Thanks a lot.

Updated title.

We now allow commands in in tasks.json 😊 https://code.visualstudio.com/docs/editor/variables-reference#_settings-command-variables-and-input-variables

Great!
I will be implementing soon.
Thank a lot!


Error for site owner: Invalid domain for site key

Description
A Box with red text indicating an error appears in the bottom right of the screen. Error is in English on French screen.
Steps to reproduce

Go to /fr/form-builder page with "Create a form"
Click on GC Forms logo
Scroll down to bottom of the page
See error

Details

Browser: Edge
Operating system: Windows
Environment: QA testing PR
Language: French
Viewport: Tablet

Expected behaviour
No error? Or a useful error message in the language of the interface?
Screenshots or videos

Closing as this is expected behaviour in the preview environment - same issue raised in 3348 :)

It’s because recaptcha is only supported on our production and staging domains.

Now checking to see if the flag is on --- this removes the error given we're not using recaptcha on staging.
https://github.com/cds-snc/platform-forms-client/pull/3407


Helios Horizon support

Can you perhaps create support for an efb app called Helios Horizon. It natively supports UDP and X-plane Data input format.

Fs2ff already uses the X-Plane udp protocol. Does it not work?  If you want to try using GDL90 you can try out this version https://github.com/jeffdamp-wave/fs2ff

Hi Jeff,
Thanks for your reply, very speedy.
Firstly a disclaimer, I know very little about programming.
The app I am trying to use it with is called Helios Horizon..
It works super well with X-Plane, with the update rate being 25Hz. This
gives smooth attitude indications and "GPS" position updates are smooth.
I have used the GDL90 on FS2020 with slow and laggy update rate and because
it doesn't support attitude or other data it is not usable compared to
using it on X-Plane.
The UDP port indicated to be used is either 1991 or 49000. Unfortunately it
doesn't seem to connect or use the broadcast at all.
I am assuming the way FS2020 presents variables in data output is
completely different to xplane, and thus does not understand the data.
The developer of Helios Horizon doesn't see a need to change it to include
support for FS2020 natively.
Would be appreciated to know if it is possible to convert FS data to be
exactly like xplanes in the output there of.
Regards
Albert Schoonraad
On Tue, 11 Apr 2023, 16:56 Jeff D., @.***> wrote:

Fs2ff already uses the X-Plane udp protocol. Does it not work? If you want
to try using GDL90 you can try out this version
https://github.com/jeffdamp-wave/fs2ff
—
Reply to this email directly, view it on GitHub
https://github.com/astenlund/fs2ff/issues/92#issuecomment-1503530902,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVAOZN4NCCMK2UE2V74FV5LXAVWI5ANCNFSM6AAAAAAW2CIOAA
.
You are receiving this because you authored the thread.Message ID:
@.***>

The X-Plane UDP port is actually 49002.  I'm currently traveling and can't test with the Helios app.  Have you tried one of the other EFBs out there (ForeFlight, Garmin Pilot, SkyVector, etc).  FS2FF takes MSFS data via SimConnect and converts it to the X-Plane UDP protocol.  Not sure what you mean by you have used GDL90 and it was laggy.  The GDL90 (Stratux) option that is settable in the version I linked above, is an emulation of a Stratux and should work as if the EFB is connected to a Stratux. I also emulate a Stratus but that is a huge pain to setup since it requires a specific IP be assigned to the EFB.  How beefy is your PC? Maybe it is running so bad it isn't sending updates to the EFB fast enough.
Which version of X-Plane is this working for you on?

Thanks for the info.
So I tried your GDL90 FS2FF and it works. Connected with no issues using
Helios Horizon app. The position updates on X-plane is just higher (25HZ)
and thus slightly smoother compared to FS2020, But the attitude is perfect
with no laggy reception.
The previous GDL90 app that I used only gave position and no other data
sent although it indicated that it does.
I am assuming once again that it did not present the data in the correct
format to Helios Horizon. Don't know if the protocol was correctly done.
Thank you for your help, much appreciated. Now I can at least use it again
in FS2020.
On Wed, 12 Apr 2023 at 03:13, Jeff D. @.***> wrote:

The X-Plane UDP port is actually 49002. I'm currently traveling and can't
test with the Helios app. Have you tried one of the other EFBs out there
(ForeFlight, Garmin Pilot, SkyVector, etc). FS2FF takes MSFS data via
SimConnect and converts it to the X-Plane UDP protocol. Not sure what you
mean by you have used GDL90 and it was laggy. The GDL90 (Stratux) option
that is settable in the version I linked above, is an emulation of a
Stratux and should work as if the EFB is connected to a Stratux. I also
emulate a Stratus but that is a huge pain to setup since it requires a
specific IP be assigned to the EFB. How beefy is your PC? Maybe it is
running so bad it isn't sending updates to the EFB fast enough.
Which version of X-Plane is this working for you on?
—
Reply to this email directly, view it on GitHub
https://github.com/astenlund/fs2ff/issues/92#issuecomment-1504373901,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVAOZNZ56GVSG4V7TGX3YW3XAX6SVANCNFSM6AAAAAAW2CIOAA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kind Regards
Albert Schoonraad+27736777985

If I recall correctly the Self GPS position for GDL90 is spec'ed at 1 per second.  I recall trying to increase the rate but most EFBs didn't do anything more with it.

I installed Hellios and tried setting the port to 49000 but the EFB would not connect using X-PLANE UDP protocol.  I'm not sure what is different because the X-Plane protocol used in FS2FF works on just about every other EFB that I have tested (GP, FF, FltPlnGo,SkyDemon, etc). I didn't do any work on the X-Plane protocol in this app. I just did a branch to mess around with GDL90, which Hellios works with. What I see is the standard GDL90 slower position updates but attitude is very responsive. I'm acutaly sending the GDL90 position updates at 5hz but looks like Hellios is only updating at 1hz.
If you want to provide a wire shark capture between X-Plane and Hellios or dig up the actual X-Plane specs for the UDP protocol to EFB, I might find some time to update FS2FF to get it to work. I assume you are using X-Plane 12? I haven't purchased that and they might have made some changes to the EFB UDP protocol that I'm not aware of.


Add step generator support

Add support for steps in the request generator.
Example
  "qps": {
    "Steps": [
      {
        "start": 0,
        "end": 10,
        "qps": 5
      },
      {
        "start": 11,
        "end": 20,
        "qps": 10
      }
    ]
  }```

Fixed by #25


Set sites according to user permissions

Coverage decreased (-0.6%) to 96.135% when pulling 80fb25dbd5b99d7065f866ddf14b61678f1b69dc on feature/filter_sites into 74fbf071df75fd7cec7cc4477082a9a3ab96bf5e on develop.

Coverage increased (+0.01%) to 96.795% when pulling 12611fd82b745655cb9f5c6a94400e6aa4ce1951 on feature/filter_sites into 74fbf071df75fd7cec7cc4477082a9a3ab96bf5e on develop.

Coverage decreased (-0.2%) to 96.549% when pulling 47fb24b878f560cbb1a59520dc8aaad427c38d02 on feature/filter_sites into 74fbf071df75fd7cec7cc4477082a9a3ab96bf5e on develop.

Coverage increased (+0.01%) to 96.795% when pulling 2de4ba3778e0fb1e4981b1d13b1f8707a145748a on feature/filter_sites into 74fbf071df75fd7cec7cc4477082a9a3ab96bf5e on develop.


[Site-Support-Request] MrDeepFakes.com (NSFW)

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running youtube-dl version 2020.01.01
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that none of provided URLs violate any copyrights
[X] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Single video: https://mrdeepfakes.com/video/5939/salma-hayek-lesbian-short-clip

Description
The generic extractor unfortunately fails to extract the video.

https://github.com/ytdl-org/youtube-dl/issues/30764

Continued in #30764.


feat: support sub role

@notdu what issue does this resolve?
Fix linter:

@notdu what issue does this resolve?
Fix linter:

@hsluoyz this PR for supporting sub-role, when update a role, all the related permission (contain roles which contain the role updated) will be updated too


Added an option to include some visual feedback for scanned qr codes.

Rebased and squashed. See #2


Add connectivity label to Individuals that have connectivity data

We have multiple use cases here and need to decide if/how to split:

label on individuals where we have connectivity assertions with weights to other individuals.  There are 2 types:  neuron: region; neuron:neuron.
label on classes where we have non-weighted connectivity assertions to other classes

(edits on branch: https://github.com/VirtualFlyBrain/vfb-pipeline-dumps/edit/connectivity_label/)
Test sparql queries here first: http://ts.p2.virtualflybrain.org/rdf4j-workbench/repositories/vfb/query
instructions for adding new queries here: https://github.com/VirtualFlyBrain/vfb-pipeline-dumps/blob/connectivity_label/dumps.Makefile#L63

Queries we need to drive:

neuron - neuron connectivity query (Individuals)
neuron - region connectivity query (Individuals)
neuron - neuron connectomics browser query (Classes & Individuals)

Maybe separate labels on Inds are best if we don't know whether region and neuron connectivity will always go together.

Probably need three labels even though they may overlap as will ensure actual results improving user experience considerably.

Maybe two would be OK as we can distinguish Individuals from Classes separately?

Example SPARQL:
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

CONSTRUCT {
	?x <http://n2o.neo/property/nodeLabel> "neuron_neuron_connectivity" .
}
WHERE {
  ?x <http://purl.obolibrary.org/obo/RO_0002120> ?y . # synapsed_to
  ?x rdf:type owl:NamedIndividual .
}


Drop location issue

In the above picture,  Jsprit solution suggests to deliver job3 shipment only at 14:28:06 and Job1 shipment is delivered only with subsequent pickup at 14:39:36 . Is there a way to deliver Job1 shipment together with Job 3 shipment at 14:28:06 hours.
Can any one help on this.
Thanks
Srinivas

Would you mind to ask these questions here: https://discuss.graphhopper.com/c/jsprit


Improved automated testing

Hello everyone.,I asked in Zuplip and someone mentioned it doesn't exist and would be useful so I figured I'd open a ticket.
I think it'd be nice if there were some sort of way to setup tests where an Application can be fed input and the state of the Application could be introspected and compared against an expected state.
I think the primary issue with implementing this is the fact Application::run takes control of the current thread. I'm not sure what communicating to the application from a different thread would look like but if there is a clean work around what about an interface that might work like changing the result of Application::run from Result<(), Error> to Result<Application, Error>. Assuming the startup went well, we'll have access to Application and from there we could use update and make assertions based off State?
This might be a little naive, since I'm beginner and my app is currently only a single widget :sweat_smile: but it'd be a big benefit for automated cross-platform testing.

The current method would be decoupling "pure" data from "GUI state". This was also recently covered on Zulip.
Just copying and pasting that chat over here
From Hecrj:
> I think decoupling pure data from GUI state is a good idea. However, that does not mean your GUI cannot contain data. You can write a mapping from pure data to GUI state and viceversa.
> Say you have a User but you are building a profile edit form. You can turn that User into an EditForm screen and once the form is saved, return a User again.
> The important part is to avoid duplicating the sources of truth.
> In other words, don't store both the User and the EditForm in your application state because that means you will have to synchronize them. Instead, only have one representation of a set of data at any given time.
> This is less convenient, but generally will lead you to better code.
> Say your application is listening to some User attribute that can change, if you only have one source of truth for the User data, then your update logic will have to be able to update both a User and an EditForm.
> Because your current user won't always be in User form. Not sure if I'm making any sense.
> Avoiding duplication of sources of truth is not always possible or practical, so it's a tradeoff really.
> You have to consider your use cases before modelling your data.
> If synchronization is not a concern, then duplication may be okay.

From me:
> Why is decoupling generally better code, is it for performance, read-ability, code flexibility, all 3, something else?

From Hecrj about the use case for testing:
> Generally I like to solve problems as isolated as possible without having to think about presentation first.
> Then presentation is like a layer on top of that.
> This boundary helps with unit testing.
> Some call it "business logic" or "domain logic" but I find most of the patterns related to these concepts overly complicated.
> I think it's all reduced to using the proper data model for every use case.
> Your core logic has different use cases than your presentation logic.
> Therefore, you probably need different types for each.
> And then some kind of mapping between them.
> If you try to reuse types everywhere, you will end up with a blurry boundary and types that do too much without any cohesion.

I do agree though, long term it would be fantastic to have am iced feature that would launch the application in testing mode. Something like iced = { ~~~, features = ["tests"]} that would after compiling run user written tests on the app.


Cannot Run GO as Sudo

Hello! I am having an issue where I cannot run GO as sudo. I am working on a project using bluetooth low energy (which requires running code with root access) and when I run "sudo go run ..." to execute my bluetooth code I get an error:
go: cannot find GOROOT directory: /usr/src/go
When I extracted the arm64 tarball I put it in /usr/local/go.

What about setting GOROOT explicitly with GOROOT=/usr/local sudo go run ... or just in your shell or .bashrc with export GOROOT=/usr/local?

That does not work either. Trying to do anything with go as sudo results in the same error. My test is to run "sudo go version" and that returns the same error.

Strange. And when you just compile your GO code first with go build . And then running the binary with sudo?

That does not work either. I have also tried installing go to the directory that sudo is expecting. When I do that, I can execute go commands, but I cannot build or run anything because sudo does not see GOPATH.

Can you please give a little be more details about your device? Device type, OS, etc. You can also try to compile the latest Go 1.6.3 from source on this device, just following my tutorial at http://blog.hypriot.com/post/how-to-compile-go-on-arm/. Or looking for help at the GOLANG team, they do have now GO tarballs available at least for ARMv6 and then compile GO 1.6.3 from source again.

I am actually going to rebuild the OS on this machine and start fresh. I will report my status after that and if I am still having issues I will post more specifics.

As sudo opens up a new subshell with root privileges:
 sudo GOROOT=/usr/local/go go version should work ;-) (pay attention to the position of sudo)

OK. I have an update. I completely rebuilt the board I am using. I flashed the OS, downloaded the 1.6.2 arm64 build from your releases, extracted to /usr/local/go.
When I try to execute "go version" as any user I get "go: cannot find GOROOT directory: /usr/src/go".
I have not made any changes other than what I typed here. I have never attempted to set GOROOT. I exported the PATH and that is all.
Here is what I am working on:
Qualcomm Dragonboard 410c running the supported version of Linaro Linux.

Please post the output of printenv and sudo printenv
By the way have you extended your PATH variable as described https://golang.org/doc/install

@firecyberice your solution from 3 hours ago seems to work for sudo. Kind of a pain but it is what it is. Thank you both for your help!

Some updates to /etc/sudoers should work around this nicely.

sudo overrides PATH with the "secure_path" when it execute the command. Include your path in secure_path, if it's not already there:

Defaults secure_path="$YOUR_GO_BIN_DIR:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

Keep your GOPATH with the env_keep option:

Defaults env_keep += "GOPATH"

If anybody is interested, you can automate this with a script (for CI) using the following syntax (note the tee command -- it's important):
echo 'Defaults    env_keep += "GOPATH"' | sudo tee --append /etc/sudoers.d/env_keep

Seems to be solved. So I close this issue.


Macro update message in openthread-core-config-check.h misleading

For instance we have message:
#error "OPENTHREAD_CONFIG_ENABLE_ATTACH_BACKOFF was replaced by OPENTHREAD_CONFIG_MLE_ATTACH_BACKOFF_JITTER_INTERVAL."

However we are in fact using OPENTHREAD_CONFIG_MLE_ATTACH_BACKOFF_ENABLE to replace it. Such misleading messages make it hard and dangerous to update the product configs using OpenThread.
Another weird message is:
#error "OPENTHREAD_CONFIG_NUM_SLAAC_ADDRESSES was replaced by NRF_802154_PENDING_EXTENDED_ADDRESSES.

NRF_XXX macros should definitely not appear here.
I've not gone through the whole file to check which macro replacement messages are questionable so the above macros are just examples.

@gjc13, thanks for catching this issue. Submitted #4062.

@gjc13 we decided to add the check macros after the main config change was done by Jonathan.
I argued for it (and added it) since I knew it would make the task of changing the config on internal projects easier.
Wrote a script to try to search and match the old config name to the new one. The script tried to match as many words as possible. Obviously there would be cases like above which the script would make a mistake.
The key point for this was to make sure the old names are not being used and give an error if any of old the names were still defined. The error message is intended to give a hint to what the new name may be.


Enable CodeQL workflow and security results

🗒 Summary
Updates to enable CodeQL analysis, security queries, and archival of results.
♻ Related Issues

https://github.com/NASA-PDS/software-issues-repo/issues/42

Please review cron schedule and analysis language selection to ensure they are appropriate.


Zaggino/update extension manager deps

Replacement for https://github.com/adobe/brackets/pull/10372 to keep from commiting node_modules to git as we should really abandon that practice where possible.
Related https://github.com/adobe/brackets/issues/12898
cc @ficristo
Note: the webpack approach for semver is taken from brackets-electron, where it's implemented and works well if dependencies (in this case semver) don't provide amd build that we need to use in the browser code
Note2: sorry the diff is quite hard to read because of all the deletes, reading through commits might be easier

I would prefer if someone more familiar with webpack could take a look.
Maybe someone at Adobe?

@ficristo this is now up to date with master after https://github.com/adobe/brackets/pull/12972 merge. Not sure if anyone from Adobe will have time to look at this anytime soon.

I'm sorry, but I am really not confident in reviewing this.
Maybe @petetnt or @MiguelCastillo can?

src/extensibility/node is exported as a zip for the registry (see brackets-registry/deps), so it seems to me it needs to be a standalone project or at least we need some way to export the zip: from what I can tell this breaks it.
@zaggino do you know how the zip is created? Or maybe @ingorichter or @redmunds.

I believe that src/extensibility is used by both Brackets and the Brackets Extension Registry, but I don't know the process from getting code onto the registry. @ingorichter Do you know?

we need to tar/gzip all the js files in brackets/src/extensibility/node/ to create the archive for the registry. Then someone with permissions needs to update the registry. I don't have permissions anymore to the server. Before that update, we need to make sure that the changes work locally before updating the live system. I once ran into issues on that system, since the node version might be pretty outdated again and therefore required node_modules might not like it.

@swmitra can someone at @adobe take care of the update for https://github.com/adobe/brackets-registry or can I get access to that machine and work on it? we need to work on getting this merged so we can fix bugs related to brackets not working properly behind a proxy server

updated this PR to be merge-able

@zaggino We are looking into the registry server node upgrade request. Should be able to give you some concrete data by end of this week.

@zaggino Since the server has upgraded node version, Could you resolve conflicts in this PR?

@saurabh95 Conflicts resolved.

@zaggino Not yet 😄 . Probably becuase I have merged @ficristo PR for write config grunt task. Can you please merge that one more.

@swmitra Done again :-)

Merging this PR. Build failure is because of cla check pull failure.

Thank a ton @zaggino for bringing this change. It makes dependency management a lot more trivial. Great work as always 👍


Deploy LookML to projects via advanced deploy mode

Suggested enhancement to deploy lookml to projects via adv deploy mode.

logged


Issue about the negative data and label

Hi, julian,
I am trying to build a nodule detector based on you job, and thanks very much for your sharing.
May I ask some questions:

You use several types of training set:
labels from lidc, v2 from luna16, luna16 false positive, ndsb and non-lung tissue edge.
So, on the train stage, except the non-lung tissue edge, the others are all positive sample? and the label for the positive sample is YES(to say if the cube contains a nodule) for positive samples, and NO for non-lung tissue edge, right?

Another question is: When predicting, a 646464 cube is  get to the net, the result is if the cub contains a nodule and the probability?
Any information will be welcomed!

Hello.. candidatesv2 are also negative examples. (there are around 400.000 negatives there)
Basically that is the most important source of negatives. The edge examples only let the network know that non-lung-tissue is also not a lung nodule.
Another (small) source of negatives are the false positives that were predicted after one round of training on LUNA16.
The networks learns 2 things at once
1: Lung nodule y/n.. (non lung tissue should always be n)
2: Malignancy (0 if not a lung nodule, 0.1-25 if lung nodule).
I train/predict 32x32x32 cubes. The prediction is nodule Y/N.
If Yes then I also look at the malignancy..
Malignancy is the only thing I work with for the final prediction.
I hope that makes things clearer.
It's quite a complex solution with all the different label sources.

Quite clear and really a complicated and refined work..
But the question is where is candidate v2 from?
In step1_preprocess_luna16.py, seems that you generate your negative samples from two files: lidc.xml and annotation_excluded.csv（it's candidate.csv?）.
So, where they are from?
If I don't have such files in my case, I should cut lung-tissue cubes randomly (does not contain a nodule) manually as negative samples?

In the resources.rar there is a folder "luna16_annotations".
In that folder there is candidatesv2.csv.
This file is directly taken from the LUNA16 competition.
Look here for more:
LUNA16 data

Got it.
I am in Tianchi (a competition held by Alibaba, China). In my case, only nodules information were given.
Seems that I need train a 3d unet to generate false positive samples firstly.

Hi I looked at the competition..
My chinese is not too good :S
I do think this approach can be translated to that competition since the #6 team of the datascience bowl is #1 now at your competition.
Good luck!

Tianchi's english version lacks important information-_-||
4th place in kaggle is now the first place in Tianchi.
So we need to do more.
Thanks.


Disable language support & download

Suggestion
Purpose
I really like when ASF only was a few files. Now it growed up to 40mb and has hundreds of hundreds of files in the directory. Guess that is just like it is now.
However what I want to suggest and I think it's useful not only for myself is an option in the config to disable language support and download.
I want ASF in English and I delete all the +400 language folders ASF creates on every update. But that turns out to be annoying as they are always downloaded and extracted/created on every new update.
Is it possible to make all the language things optional as separate download for those who really need them?
How can ASF users benefit from this suggestion?

Less download size
Less annoying files
If a language file is REALLY needed, people can dowload THIS specific language theirselves (NOBODY needs +400 language files, especially as only 1 language can be active)

Why currently available solutions are not sufficient?
There is no "current solution". And a half-wokring solution that you just add a line in config to allow defining the language is less work for you, but still does not answer why everyone needs +400 language files to download and extract.
(Also i dont know why there has to be translation files at all. The config is E nglish only, the wiki is English only and without both, you cannot get ASF to run. So people who not speak/understand English cannot use your tool at all. But that might be a different discussion..)

Compressed size of all the language files is around 560 KB, which doesn't come even close to the overall size of 30 MB in OS-specific variant, and around 2.80 MB in generic variant, where localization is less than 20% of entire archive.
Making your solution possible would also mean making it even more complicated to install and use ASF, as now user would also need to explicitly download his native language files instead of just running a binary. +400 folders argument is invalid as this has no implications neither to performance nor actual usage, as it's the standard pattern that all localized programs are following, with Steam, .NET Core and Windows being prime examples.
In short, you didn't provide any counter-argument for cauing extra hassle not only for me to develop such feature (as that can be often skipped when discussing enhancement), but also for people to manually download your locale on each update, only because you don't want to see them. Like it's impossible to create shortcuts to ASF binary and config directory in some folder above.
I'm firmly denying this suggestion.

(Also i dont know why there has to be translation files at all. The config is English only, the wiki is English only and without both, you cannot get ASF to run. So people who not speak/understand English cannot use your tool at all. But that might be a different discussion..)
However your reaction was expected. I'm just turning auto update off and stick to one version as all updates the past months are only minor changes, the core farming still works.


compile error with annealed attention

torch._dynamo hit config.cache_size_limit (8)

74f78799b0e50680e985b041b9afc16751a9c171: removing the --compile flag from the training scripts for now until I can figure out what might be causing the torch.compile issues.


Recorder: Unchecking the "Enable Filters" checkbox has no effect

Gatling: 3.9.5 (gatling-charts-highcharts-bundle-3.9.5)
OS: Windows 10 Pro
JDK: jdk-17.0.4
When try to use HAR Converter and have configured it as below (Added to section AllowList any value e.g. AllowList):

and "unticked" Enable Filters recorder does not disable filters and show error after Start !:

Thanks for reporting @gemiusz


Fixing a performance bug in effect promotion and non-informative types

@R1kM  reported an issue where F* would seemingly loop while trying to lax typecheck the following piece of code:
https://github.com/project-everest/hacl-star/blob/afromher_sn_integration/code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.Poly.fst#L228-L229
The issue is that at every bind, F* tries to decide if it should promote a GTot t computation to Tot t computation, in case t is non-informative.
To decide if t is non-informative, it normalizes t  in Normalize.ghost_to_pure and ghost_to_pure_lcomp. In this case, it ends up normalizing the spec functions in the refinement formula and these turn out to be extremely expensive. It appeared as though F* entered a tight infinite loop, with full CPU usage and memory usage flat, but I wasn't able to actually find an infinite loop, though I wasn't able to rule it out either.It appears that F* is just processing the tail-recursive norm call and perhaps consuming memory very very slowly.
My fix is a bit of a emergency band-aid. In this case, to decide if a type is non-informative, the refinement formula (and other information, like type ascriptions) is irrelevant. So, I changed the call to the normalizer here to just erase the refinement and ascriptions. So, this is now more efficient and doesn't fall into this normalization trap.
However, the trap still exists in case a very expensive normalization is triggered in a part of term that is not within a refinement formula.
In general, normalizing types at every bind to decide whether or not they are non-informative is ridiculously expensive. It would be great if we could find a way to avoid that. E.g., can we memoize with every free variable an attribute that tells us if it defines a non-informative type? If so, instead of computing a full normalization at each bind, we could just compute a head normal form without unfolding any definitions and check if the head symbol is marked with the non-informative attribute.
I have an everest green with this patch. And since this behavior is blocking, I am merging this band-aid patch anyway. But, would be happy to discuss this further with @aseemr @mtzguido  et al.

In case this branch changes in the future, the exact version of this file on which F* failed was:
https://github.com/project-everest/hacl-star/blob/90789097cccb4506af0c6e60d6d2c4117b442fc9/code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.Poly.fst
Thanks for fixing!


Html safe

Brings gem up to date with Rails 3 and fixes html_safe issues.

Definitely abandon-ware


symbolic shapetracker part 1

Part of #1259. Added type notations, some arithmetic support to make the stride work.

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/shape/shapetracker.py             9               7
tinygrad/shape/symbolic.py                23              14
------------------------------------------------------------
total                                     32              21
------------------------------------------------------------
lines added in the tinygrad folder: 11

Nice, looks good!
I'm a little worried about the edge cases of Symbolic*Symbolic, but I'm fine with merging this.


tour: example /basics/1 rand function always return 1

Context: http://<IP_ADDRESS>:3999/basics/1
Pretty much explained in the title, no matter how many times I run the example I always get the result My favorite number is 1.

Please read the text on the right of the screen/page:

Note: The environment in which these programs are executed is deterministic, so each time you run the example program rand.Intn will return the same number. (To see a different number, seed the number generator; see rand.Seed. Time is constant in the playground, so you will need to use something else as the seed.)

It is a on-purpose limitation of the tour.golang which the devs do not want to change, even if it produces a lot of confusion among the new users.
You can close this issue if you understand now.

thank you for the response

Yes


CSS is a bit off on iPad

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[x ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
A clear and concise description of what the bug is:
Good morning. I was checking out Dendron's published site on my iPad, and I notice that the right hand content often overlaps the left hand content. I'll attach a screenshot. Apologies if this is the wrong place for that.
To Reproduce
Steps to reproduce the behavior:

go to https://wiki.dendron.so on iPad
select some links from the left hand Side
observe that the right hand side content incorrectly covers the left hand side content

Screenshots
see screenshot:

If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
iPadOS 15

thanks for the update. will prioritize work on this

We should re-open the linked issue since this won't be released until next week, and follow [[After Release|dendron://dendron.handbook/templates.weekly-planning.user#after-release]] after v80 ships.


2.0 Broke a previously working chart implementation

Checklist

[x] I updated the card to the latest version available
[x] I cleared the cache of my browser
[x] I verified that I'm really running the lastest version in my browser console
[x] I checked if there is another issue opened with the same problem

Describe the bug
/// apexcharts-card version 2.0.1 /// value.series[1] is not a ChartCardSeriesExternalConfig
    value.series[1].extend_to_end is extraneous
    value.series[1].extend_to_end is extraneous```

**Version of the card**
Version: 2.0.1

**To Reproduce**
This is the configuration I used:

type: custom:apexcharts-card
header:
show: true
show_states: true
colorize_states: true
apex_config:
chart:
height: 150px
xaxis:
labels:
show: false
crosshairs:
show: false
axisBorder:
show: false
axisTicks:
show: false
legend:
show: false
showForNullSeries: false
showForZeroSeries: false
yaxis:

id: temperature
show: false
min: '|-1|'
max: '|+1|'
apex_config:
labels:
show: true
forceNiceScale: true
id: heating
min: 0
max: 1
show: false
apex_config:
labels:
show: false
forceNiceScale: false
showForNullSeries: false
showForZeroSeries: false
series:
entity: sensor.office_temperature
yaxis_id: temperature
type: area
fill_raw: last
show:
name_in_header: false
entity: binary_sensor.office_heating
yaxis_id: heating
transform: 'return x === ''on'' ? 1 : 0;'
type: area
curve: stepline
color: red
extend_to_end: true
stroke_width: 0
show:
in_header: raw
legend_value: false
name_in_header: false

**Expected behavior**
Previously, this worked. The chart rendered. Though, as mentioned in #234 (which seems to have staled out) there was a slight issue with the final output.

**Desktop (please complete the following information):**
 - Browser: Chrome
 - Version: A handful of the latest versions. Assume latest available.

Read the release notes and you'll see that this option is deprecated and replaced by another one.

Ah, that solved it. Apologies, I read extraneous as "not needed" not as "will break". And I did miss the breaking change alert in the release notes somehow.


fix: Migrate to use ruby/setup-ruby

actions/setup-ruby@v1 is deprecated: https://github.com/actions/setup-ruby

Thanks!


Show off your Wired config here!

It's about time we had something like this.
Uploading your wired.ron file alongside a screenshot is encouraged but not mandatory.
Note: you can format your config like the following to make the code block collapsible:
Config

```rust
<!-- your config here -->
```

Here's the default Wired config -- pretty simple!:

Config
    layout_blocks: [
        // Layout 1, when an image is present.
        (
            name: "root",
            parent: "",
            hook: Hook(parent_anchor: TL, self_anchor: TL),
            offset: Vec2(x: 7.0, y: 7.0),
            //render_criteria: [HintImage],
            // https://github.com/Toqozz/wired-notify/wiki/NotificationBlock
            params: NotificationBlock((
                monitor: 0,
                border_width: 3.0,
                border_rounding: 3.0,
                //background_color: Color(r: 0.15686, g: 0.15686, b: 0.15686, a: 1.0),
                background_color: Color(hex: "#282828"),
                border_color: Color(hex: "#ebdbb2"),
                border_color_low: Color(hex: "#282828"),
                border_color_critical: Color(hex: "#fb4934"),
                border_color_paused: Color(hex: "#fabd2f"),

                gap: Vec2(x: 0.0, y: 8.0),
                notification_hook: Hook(parent_anchor: BL, self_anchor: TL),
            )),
        ),

        (
            name: "image",
            parent: "root",
            hook: Hook(parent_anchor: TL, self_anchor: TL),
            offset: Vec2(x: 0.0, y: 0.0),
            // https://github.com/Toqozz/wired-notify/wiki/ImageBlock
            params: ImageBlock((
                image_type: Hint,
                // We actually want 4px padding, but the border is 3px.
                padding: Padding(left: 7.0, right: 0.0, top: 7.0, bottom: 7.0),
                rounding: 3.0,
                scale_width: 48,
                scale_height: 48,
                filter_mode: Lanczos3,
            )),
        ),

        (
            name: "summary",
            parent: "image",
            hook: Hook(parent_anchor: MR, self_anchor: BL),
            offset: Vec2(x: 0.0, y: 0.0),
            // https://github.com/Toqozz/wired-notify/wiki/TextBlock
            params: TextBlock((
                text: "%s",
                font: "Arial Bold 11",
                ellipsize: Middle,
                color: Color(hex: "#ebdbb2"),
                color_hovered: Color(hex: "#fbf1c7"),
                padding: Padding(left: 7.0, right: 7.0, top: 7.0, bottom: 0.0),
                dimensions: (width: (min: 50, max: 150), height: (min: 0, max: 0)),
            )),
        ),

        (
            name: "body",
            parent: "summary",
            hook: Hook(parent_anchor: BL, self_anchor: TL),
            offset: Vec2(x: 0.0, y: -3.0),
            // https://github.com/Toqozz/wired-notify/wiki/ScrollingTextBlock
            params: ScrollingTextBlock((
                text: "%b",
                font: "Arial 11",
                color: Color(hex: "#ebdbb2"),
                color_hovered: Color(hex: "#fbf1c7"),
                padding: Padding(left: 7.0, right: 7.0, top: 3.0, bottom: 7.0),
                width: (min: 150, max: 250),
                scroll_speed: 0.1,
                lhs_dist: 35.0,
                rhs_dist: 35.0,
                scroll_t: 1.0,
            )),
        ),
    ],

Config
(
    max_notifications: 5,
    timeout: 4000,
    poll_interval: 16, // 16ms ~= 60hz / 7ms ~= 144hz.
    history_length: 20,
    replacing_enabled: true,
    replacing_resets_timeout: true,
    min_window_width: 300,
    min_window_height: 100,

    debug: false,
    debug_color: Color(r: 0.0, g: 1.0, b: 0.0, a: 1.0),
    debug_color_alt: Color(r: 1.0, g: 0.0, b: 0.0, a: 1.0),

    layout_blocks: [
        (
            name: "app_root",
            parent: "",
            hook: Hook(parent_anchor: MM, self_anchor: MM),
            offset: Vec2(x: 0, y: 0),
            render_criteria: [AppImage],
            params: NotificationBlock((
                    monitor: 0,
                    border_width: 0,
                    border_rounding: 8,
                    background_color: Color(hex: "#F5F5F5"),
                    border_color: Color(hex: "#00000000"),
                    border_color_low: Color(hex: "#00000000"),
                    border_color_critical: Color(hex: "#FF0000"),
                    border_color_paused: Color(hex: "#00000000"),
                    gap: Vec2(x: 0.0, y: 8.0),
                    notification_hook: Hook(parent_anchor: BM, self_anchor: TM),
            )),
        ),

        (
            name: "app_notification",
            parent: "app_root",
            hook: Hook(parent_anchor: TM, self_anchor: TM),
            offset: Vec2(x: 0, y: 0),
            params: ImageBlock((
                    image_type: App,
                    padding: Padding(left: 40, right: 40, top: 40, bottom: 8),
                    rounding: 4.0,
                    scale_width: 152,
                    scale_height: 152,
                    filter_mode: Lanczos3,
            )),
        ),

        (
            name: "app_summary",
            parent: "app_notification",
            hook: Hook(parent_anchor: BM, self_anchor: TM),
            offset: Vec2(x: 0, y: 12),
            params: TextBlock((
                    text: "%s",
                    font: "Arial Bold 16",
                    ellipsize: End,
                    color: Color(hex: "#000000"),
                    padding: Padding(left: 0, right: 0, top: 0, bottom: 0),
                    dimensions: (width: (min: -1, max: 185), height: (min: 0, max: 0)),
            )),
        ),

        (
            name: "app_body",
            parent: "app_summary",
            hook: Hook(parent_anchor: BM, self_anchor: TM),
            offset: Vec2(x: 0, y: 0),
            params: TextBlock((
                    text: "%b",
                    font: "Arial Bold 16",
                    ellipsize: End,
                    color: Color(hex: "#000000"),
                    padding: Padding(left: 0, right: 0, top: 0, bottom: 24),
                    dimensions: (width: (min: -1, max: 250), height: (min: 0, max: 0)),
            )),
        ),

        (
            name: "app_progress",
            parent: "app_notification",
            hook: Hook(parent_anchor: BM, self_anchor: TM),
            offset: Vec2(x: 0, y: 50),
            render_criteria: [Progress],
            params: ProgressBlock((
                    padding: Padding(left: 0, right: 0, top: 0, bottom: 32),
                    border_width: 2,
                    border_rounding: 2,
                    border_color: Color(hex: "#000000"),
                    fill_rounding: 1,
                    background_color: Color(hex: "#00000000"),
                    fill_color: Color(hex: "#000000"),
                    width: -1.0,
                    height: 30.0,
            )),
        ),

        (
            name: "status_root",
            parent: "",
            hook: Hook(parent_anchor: TM, self_anchor: TM),
            offset: Vec2(x: 0.0, y: 60),
            // render_anti_criteria: [AppImage],
            render_criteria: [HintImage],
            params: NotificationBlock((
                    monitor: 0,
                    border_width: 0,
                    border_rounding: 8,
                    background_color: Color(hex: "#F5F5F5"),
                    border_color: Color(hex: "#00000000"),
                    border_color_low: Color(hex: "#00000000"),
                    border_color_critical: Color(hex: "#FF0000"),
                    border_color_paused: Color(hex: "#00000000"),
                    gap: Vec2(x: 0.0, y: 8.0),
                    notification_hook: Hook(parent_anchor: BM, self_anchor: TM),
            )),
        ),

        (
            name: "status_notification",
            parent: "status_root",
            hook: Hook(parent_anchor: TL, self_anchor: TL),
            offset: Vec2(x: 0, y: 0),
            params: TextBlock((
                    text: "%s",
                    font: "Arial Bold 16",
                    ellipsize: End,
                    color: Color(hex: "#000000"),
                    padding: Padding(left: 8, right: 8, top: 8, bottom: 8),
                    dimensions: (width: (min: 400, max: 400), height: (min: 84, max: 0)),
            )),
        ),

        (
            name: "status_body",
            parent: "status_notification",
            hook: Hook(parent_anchor: ML, self_anchor: TL),
            offset: Vec2(x: 0, y: -24),
            params: TextBlock((
                    text: "%b",
                    font: "Arial 14",
                    ellipsize: End,
                    color: Color(hex: "#000000"),
                    padding: Padding(left: 8, right: 8, top: 8, bottom: 8),
                    dimensions: (width: (min: 400, max: 400), height: (min: 0, max: 84)),
            )),
        ),

        (
            name: "status_image",
            parent: "status_notification",
            hook: Hook(parent_anchor: TL, self_anchor: TR),
            offset: Vec2(x: 0, y: 0),
            params: ImageBlock((
                    image_type: Hint,
                    padding: Padding(left: 8, right: 0, top: 8, bottom: 8),
                    rounding: 4.0,
                    scale_width: 84,
                    scale_height: 84,
                    filter_mode: Lanczos3,
            )),
        ),
    ],

    // https://github.com/Toqozz/wired-notify/wiki/Shortcuts
    shortcuts: ShortcutsConfig (
        notification_interact: 1,
        notification_close: 2,
        notification_action1: 3,
    ),
)

Nothing special.
Config:

(
    max_notifications: 0,
    timeout: 10000,
    poll_interval: 32,
    replace_enabled: false,
    replacing_resets_timeout: true,
    closing_enabled: true,
    history_length: 10,
    focus_follows: Mouse,
    print_to_file: None,
    min_windows_width: 100,
    min_window_height: 10,

    layout_blocks: [
        (
            name: "root",
            parent: "",
            hook: Hook(parent_anchor: TR, self_anchor: TR),
            offset: Vec2(x: -7.0, y: 7.0),
            params: NotificationBlock((
                monitor: 0,
                border_width: 3.0,
                border_rounding: 3.0,
                //background_color: Color(r: 0.15686, g: 0.15686, b: 0.15686, a: 1.0),
                background_color: Color(hex: "#EDE9D8"),
                border_color: Color(hex: "#887588"),
                border_color_low: Color(hex: "#82937D"),
                border_color_critical: Color(hex: "#D1866B"),
                border_color_paused: Color(hex: "#B2A8A7"),

                gap: Vec2(x: 0.0, y: 8.0),
                notification_hook: Hook(parent_anchor: BR, self_anchor: TR),
            )),
        ),

        (
            name: "image",
            parent: "root",
            hook: Hook(parent_anchor: TL, self_anchor: TL),
            offset: Vec2(x: 0.0, y: 0.0),
            // https://github.com/Toqozz/wired-notify/wiki/ImageBlock
            params: ImageBlock((
                image_type: Hint,
                // We actually want 4px padding, but the border is 3px.
                padding: Padding(left: 7.0, right: 0.0, top: 7.0, bottom: 7.0),
                rounding: 1.0,
                scale_width: 100,
                scale_height: 100,
                filter_mode: Lanczos3,
            )),
        ),

        (
            name: "summary",
            parent: "image",
            hook: Hook(parent_anchor: TR, self_anchor: TL),
            offset: Vec2(x: 0.0, y: 0.0),
            // https://github.com/Toqozz/wired-notify/wiki/TextBlock
            params: TextBlock((
                text: "%s",
                font: "Liberation Sans Bold 15",
                ellipsize: Middle,
                color: Color(hex: "#9AB9C0"),
                color_hovered: Color(hex: "#00A7FF"),
                padding: Padding(left: 7.0, right: 7.0, top: 7.0, bottom: 0.0),
                dimensions: (width: (min: 300, max: 300), height: (min: 0, max: 0)),
            )),
        ),

        (
            name: "body",
            parent: "summary",
            hook: Hook(parent_anchor: BL, self_anchor: LM),
            offset: Vec2(x: 0.0, y: 20.0),
            // https://github.com/Toqozz/wired-notify/wiki/ScrollingTextBlock
            params: ScrollingTextBlock((
                text: "%b",
                font: "Liberation Sans Bold 13",
                color: Color(hex: "#9AB9C0"),
                color_hovered: Color(hex: "#00A7FF"),
                padding: Padding(left: 7.0, right: 7.0, top: 3.0, bottom: 7.0),
                width: (min: 0, max: 300),
                scroll_speed: 0.25,
                lhs_dist: 35.0,
                rhs_dist: 35.0,
                scroll_t: 1.0,
            )),
        ),

        //(
        //    name: "progress",
        //    parent: "body",
        //    hook: Hook(parent_anchor: BL, self_anchor: LM),
        //    offset: Vec2(x: 0.0, y: 3.0),
        //    params: ProgressBlock((
        //        padding: Padding(left: 7.0, right: 7.0, top: 7.0, bottom: 7.0),
        //        border_width: 3.0,
        //        border_rounding: 5.0,
        //        fill_rounding: 3.0,
        //        border_color: Color(hex: "#D7CE9B"),
        //        background_color: Color(hex: "#DFD1B8"),
        //        fill_color: Color(hex: "#B1C9B1"),
        //        width: -1.0,
        //        height: -1.0,
        //    )),
        //),
    ],

    shortcuts: ShortcutsConfig (
        notification_interact: 1,
        notification_close: 2,
        // notification_closeall: 99,
        notification_pause: 3,

        //notification_action1: 3,
        // notification_action2: 99,
        // notification_action3: 99,
        // notification_action4: 99,
    ),
)

(Color of volume bar is muted because volume is muted)

Config:
(
	max_notifications: 10,
	timeout: 20000,
	poll_interval: 16,
	shortcuts: (
		notification_interact: 2,
		notification_close: 1,
		notification_closeall: 3,
	),
	history_length: 100,
	replacing_resets_timeout: true,
	min_window_width: 768,
	layout_blocks: [
		(
			name: "root",
			parent: "",
			hook: (parent_anchor: TR, self_anchor: TR),
			offset: (x: -48, y: 48),
			params: NotificationBlock((
				monitor: 0,
				border_width: 3.0,
				border_rounding: 0.0,
				gap: (x: 0.0, y: 24.0),
				background_color: (hex: "#1D1F21"),
				border_color: (hex: "#66D9EF"),
				border_color_low: (hex: "#403D3D"),
				border_color_critical: (hex: "#661512"),
				notification_hook: (parent_anchor: BL, self_anchor: TL),
			)),
		),
		(
			name: "image",
			parent: "summary",
			hook: (parent_anchor: TL, self_anchor: TR),
			offset: (x: 0, y: 0),
			render_criteria: [ HintImage ],
			params: ImageBlock((
				image_type: Hint,
				padding: (left: 0.0, right: 24.0, top: 24.0, bottom: 24.0),
				rounding: 0.0,
				scale_width: 144,
				scale_height: 144,
				filter_mode: Lanczos3,
			)),
		),
		(
			name: "summary",
			parent: "root",
			offset: (x: 0, y: 0),
			hook: (parent_anchor: TR, self_anchor: TR),
			params: TextBlock((
				text: "%s",
				padding: (left: 18.0, right: 18.0, top: 18.0, bottom: 12.0),
				font: "Dejavu Sans 36",
				color: Color(hex: "#f8f8f2"),
				dimensions: (
					width: (min: 768, max: 768),
					height: (min: 0, max: 300),
				),
				dimensions_image_hint: (
					width: (min: 600, max: 600),
					height: (min: 0, max: 300),
				),
			)),
		),
		(
			name: "body",
			parent: "summary",
			offset: (x: 0, y: 0),
			hook: (parent_anchor: BL, self_anchor: TL),
			render_criteria: [ Body ],
			render_anti_criteria: [ AppName("progress") ],
			params: ScrollingTextBlock((
				text: "%b",
				padding: (left: 18.0, right: 18.0, top: 0.0, bottom: 24.0),
				font: "DejaVu Sans 36",
				color: (hex: "#f8f8f2"),
				scroll_speed: 0.1,
				lhs_dist: 24.0,
				rhs_dist: 24.0,
				scroll_t: 1.0,
				width: (min: 768, max: 768),
				width_image_hint: (min: 544, max: 544),
			)),
		),
		(
			name: "progress",
			parent: "body",
			offset: (x: 0, y: 0),
			hook: (parent_anchor: BL, self_anchor: TL),
			render_criteria: [ Progress ],
			render_anti_criteria: [ Body ],
			params: ProgressBlock((
				padding: (left: 18.0, right: 18.0, top: 15.0, bottom: 42.0),
				border_width: 0.0,
				border_rounding: 0.0,
				fill_rounding: 0.0,
				border_color: (hex: "#1D1F21"),
				background_color: (hex: "#403D3D"),
				fill_color: (hex: "#66D9EF"),
				width: 705.0,
				height: 24.0,
			)),
		),
		(
			name: "progress_muted",
			parent: "body",
			offset: (x: 0, y: 0),
			hook: (parent_anchor: BL, self_anchor: TL),
			render_criteria: [ And([Progress, Body]) ],
			params: ProgressBlock((
				padding: (left: 18.0, right: 18.0, top: 15.0, bottom: 42.0),
				border_width: 0.0,
				border_rounding: 0.0,
				fill_rounding: 0.0,
				border_color: (hex: "#1D1F21"),
				background_color: (hex: "#403D3D"),
				fill_color: (hex: "#64888F"),
				width: 705.0,
				height: 24.0,
			)),
		),
	],
)

@GoldsteinE where do you put the script ?

@Haxeil It doesn’t really matter, you just need to run it when you want to change volume/brightness/send command to media player. In my case it’s in ~/.local/bin and mapped to keyboard shortcuts:
{XF86AudioRaiseVolume,XF86AudioLowerVolume,XF86AudioMute,XF86AudioPlay,XF86AudioPrev,XF86AudioNext,XF86MonBrightnessDown,XF86MonBrightnessUp}
	~/.local/bin/vctl {up,down,mutetoggle,play_pause,previous,next,light_down,light_up}

super + {Up,Left,Right}
	~/.local/bin/vctl {play_pause,previous,next}

@lukelex how did you do to display volume icon?

@lukelex how did you do to display volume icon?

I use Font Awesome but you can use your font pack of choice.
notify-send -a System \
                -i "$YOUR_ICON_PACK_PATH/volume.svg" \
                -h string:wired-tag:system \
                -h int:value:69 \
                "Volume"

https://github.com/lukelex/dotfiles/blob/master/linux/scripts/audio

Colors are based on Catppuccin color scheme. You can find my config  here :)

@Itsnexn thanks for sharing! Can you also share the test cases you use to display notifications on your screenshot? Thanks

@welcoMattic Yes of course. I don't usually keep scripts like this. However, rewriting it wasn't that difficult :^)
here you go:
Script
notify-send.py "Notification" "Normal urgency"

notify-send.py -u low "Notification" "Low urgency"

notify-send.py -u critical "Notification" "Critical urgency"

notify-send.py -i /usr/share/icons/breeze-dark/status/22/audio-volume-high.svg \
    "Notification" "Appimage / Hintimage"

notify-send.py "Progress" \
    -i /usr/share/icons/breeze-dark/status/22/audio-volume-high.svg \
    --hint int:value:90

notify-send.py "Yes or no?" \
    -i /usr/share/icons/breeze-dark/status/22/audio-volume-high.svg \
    --action Cancel:cancel OK:ok Idk:idk &

notify-send.py "Yes or no?" --action Idk:idk Cancel:cancel OK:ok &

the tool I use to send notifications is notify-send.py. and I also used this icon pack as an example.

@faynopi do you still have the dotfiles for the wired-notify config? I like the way it looks very much and would love to use it on my machine

My own configuration, made to be used compatible with any base16 colorscheme.

wired.ron (the specific configuration from the screenshot)
My nix config that generated this wired.ron
Colorscheme used: decay-dark
Requires #119

The colors and details are all baked in, since there is no variable support in wired. If you are familiar with nix, you can use my nix configuration for wired if you want to customize it more easily (supports base16 colors via stylix and a scaling factor).

Colors are based on Catppuccin color scheme. You can find my config here :)

I like your config, but it's 404 now I want to use it

I have created a simple mockup of Faynopi's config, for future readers. However, it is extremely feature-lacking; it's difficult to make it more useful without adding a ton of blocks; this is due to the limitation of a static parent. Thus, to do more complicated things, you would have to use render_criteria and duplicate a bunch of blocks. While I prefer the aesthetic of Catppuccin, oddlama's config both looks more functional and is also catppuccin compatible.
Config
```
(
    // Maximum number of notifications to show at any one time.
    // A value of 0 means that there is no limit.
    max_notifications: 0,
// The default timeout, in miliseconds, for notifications that don't have an initial timeout set.
// 1000ms = 1s.
timeout: 10000,

// How should we handle `expire_timeout` values of zero?
// `UseDefault`: use `timeout`.
// `NeverExpire`: show this notification forever.
// The latter is technically correct according to the notification spec: https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html
zero_timeout_behavior: NeverExpire,

// `poll_interval` decides decides how often (in milliseconds) Wired checks events,
// draws notifications (if necessary) -- the update loop while any notification is present.
// Note that when no notifications are present, Wired polls at `idle_poll_interval` instead.
// 16ms ~= 60hz / 7ms ~= 144hz.
poll_interval: 16,

// The interval at which wired updates when no notifications/windows are present.
//idle_poll_interval: 500,

// Wired will pause notifications if you are idle (no mouse or keyboard input) for longer than
// `idle_threshold` seconds.
// Note that notifications will not be automatically unpaused on wake, and will need to be manually
// cleared, unless `unpause_on_input` is set to true.
// Also note that no distinction is made between manually paused and idle paused notifications.
// If `idle_threshold` is not specified, the behavior will be disabled entirely.
//idle_threshold: 3600,

// Notifications will spawn paused, and have to be manually unpaused or cleared by the user,
// unless `unpause_on_input` is also set.
//notifications_spawn_paused: false,

// Unpause notifications when we receive any input after being idle for longer than 1 second.
// Note that no distinction is made between manually paused notifications and idle paused/spawned notifications.
//unpause_on_input: false,

// Enable/disable replacement functionality.
// If this is disabled, replacement requests will just send a new notification.
// E.g., with replacing_enabled: true, Pidgin will only show the latest message from each contact,
// instead of sending a new one for each message.
// Default: true
//replacing_enabled: true,

// Whether a notification should reset its timeout when it is replaced.
// No effect if replacing_enabled is set to false.
// Default: false
//replacing_resets_timeout: false,

// Some apps/programs close notifications on their own by sending a request to dbus.
// Sometimes this is not desired.
// Default: true
//closing_enabled: true,

// How many notifications are kept in history.
// Each notification is roughly 256 bytes (excluding buffers!), so there's some math to do here.
// Default: 100
//history_length: 100,

// When a `NotificationBlock` has monitorr: -1 (i.e. should follow active monitor), then what input
// should we use to determine the active monitor?
// Options: Mouse, Window
// Default: Mouse
//focus_follows: Mouse,

// Enable printing notification data to a file.
// Useful for scripting purposes.
// The data is written as JSON.
// Default: None
//print_to_file: "/tmp/wired.log",

// Minimum window width and height.  This is used to create the base rect that the notification
// grows within.
// The notification window will never be smaller than this.
// A value of 1 means that the window will generally always resize with notification, unless
// you have a 1x1 pixel notification...
// Generally, you shouldn't need to set this.
min_window_width: 325,
//min_window_height: 1,

// Trim whitespace in received notification text, since some clients like to send whitespace, which we usually don't actually want.
//trim_whitespace: true,

// Enable/disable debug rendering.
debug: false,
debug_color: Color(r: 0.0, g: 1.0, b: 0.0, a: 1.0), // Primary color for debug rectangles.
debug_color_alt: Color(r: 1.0, g: 0.0, b: 0.0, a: 1.0), // Secondary color for debug rectangles.

layout_blocks: [

    // Layout 1, when an image is present.
    (
        name: "root",
        parent: "",
        hook: Hook(parent_anchor: TR, self_anchor: TR),
        offset: Vec2(x: -15, y: 15),
        //render_criteria: [HintImage],
		// https://github.com/Toqozz/wired-notify/wiki/NotificationBlock
        params: NotificationBlock((
            monitor: 0,
            border_width: 2.0,
            border_rounding: 0.0,
            background_color: Color(hex: "#11111b"),
            border_color: Color(hex: "#cba6f7"),
            border_color_low: Color(hex: "#89b4fa"),
            border_color_critical: Color(hex: "#f38ba8"),
            border_color_paused: Color(hex: "#f9e2af"),

            gap: Vec2(x: 0.0, y: 10),
            notification_hook: Hook(parent_anchor: BR, self_anchor: TR),
        )),
    ),

    (
        name: "image",
        parent: "root",
        hook: Hook(parent_anchor: ML, self_anchor: ML),
        offset: Vec2(x: 0.0, y: 0.0),
        // https://github.com/Toqozz/wired-notify/wiki/ImageBlock
        params: ImageBlock((
            image_type: HintThenApp,
            padding: Padding(left: 13.0, right: 6.0, top: 0.0, bottom: 10.0),
            rounding: 3.0,
            scale_width: 48,
            scale_height: 48,
            filter_mode: Lanczos3,
        )),
    ),

    (
        name: "summary",
        parent: "image",
        hook: Hook(parent_anchor: MR, self_anchor: BL),
        offset: Vec2(x: 0.0, y: 0.0),
        // https://github.com/Toqozz/wired-notify/wiki/TextBlock
        params: TextBlock((
            text: "%s",
            font: "JetBrains Mono 11",
            color: Color(hex: "#ffffff"),
            padding: Padding(left: 12.0, right: 11.0, top: 12.0, bottom: 12.0),
            dimensions: (width: (min: 50, max: 250), height: (min: 0, max: 0)),
        )),
    ),

    (
        name: "body",
        parent: "summary",
        hook: Hook(parent_anchor: BL, self_anchor: TL),
        offset: Vec2(x: 0.0, y: 0.0),
        render_criteria: [Body],
        // https://github.com/Toqozz/wired-notify/wiki/ScrollingTextBlock
        params: ScrollingTextBlock((
            text: "%b",
            font: "JetBrains Mono 10",
            color: Color(hex: "#a6adc8"),
            padding: Padding(left: 11.0, right: 11.0, top: 0.0, bottom: 11.0),
            width: (min: 150, max: 300),
            scroll_speed: 0.1,
            lhs_dist: 35.0,
            rhs_dist: 35.0,
            scroll_t: 1.0,
        )),
    ),

    (
        name: "progress",
        parent: "summary",
        hook: Hook(parent_anchor: BL, self_anchor: TL),
        offset: Vec2(x: 0.0, y: -3.0),
        render_criteria: [Progress],
        // https://github.com/Toqozz/wired-notify/wiki/ProgressBlock
        params: ProgressBlock((
            padding: Padding(left: 12.0, right: 11.0, top: 6.0, bottom: 11.0),
            border_width: 2.0,
            border_rounding: 5.0,
            fill_rounding: 5.0,
            border_color: Color(hex: "#313244"),
            background_color: Color(hex: "#1e1e2e"),
            fill_color: Color(hex: "#cba6f7"),
            width: 230,
            height: 15,
        )),
    ),

    (
        name: "button_0",
        parent: "summary",
        hook: Hook(parent_anchor: BL, self_anchor: TL),
        offset: Vec2(x: 12.0, y: 0.0),
        render_criteria: [ActionOther(0)],
        // https://github.com/Toqozz/wired-notify/wiki/ButtonBlock
        params: ButtonBlock((
            padding: Padding(left: 8.0, right: 11.0, top: 6.0, bottom: 5.0),
            action: OtherAction(0),
            text: "%a",
            font: "JetBrains Mono 9",
            border_width: 2.0,
            border_rounding: 0.0,
            text_color: Color(hex: "#a6adc8"),
            border_color: Color(hex: "#313244"),
            background_color: Color(hex: "#1e1e2e"),
            dimensions: (width: (min: 0, max: 150), height: (min: 0, max: 0)),
        )),
    ),

    (
        name: "button_1",
        parent: "button_0",
        hook: Hook(parent_anchor: TR, self_anchor: TL),
        offset: Vec2(x: 12.0, y: 0.0),
        render_criteria: [ActionOther(1)],
        // https://github.com/Toqozz/wired-notify/wiki/ButtonBlock
        params: ButtonBlock((
            padding: Padding(left: 8.0, right: 11.0, top: 6.0, bottom: 5.0),
            action: OtherAction(1),
            text: "%a",
            font: "JetBrains Mono 9",
            border_width: 2.0,
            border_rounding: 0.0,
            text_color: Color(hex: "#a6adc8"),
            border_color: Color(hex: "#313244"),
            background_color: Color(hex: "#1e1e2e"),
            dimensions: (width: (min: 0, max: 150), height: (min: 0, max: 0)),
        )),
    ),

    (
        name: "button_2",
        parent: "button_1",
        hook: Hook(parent_anchor: TR, self_anchor: TL),
        offset: Vec2(x: 12.0, y: 0.0),
        render_criteria: [ActionOther(2)],
        // https://github.com/Toqozz/wired-notify/wiki/ButtonBlock
        params: ButtonBlock((
            padding: Padding(left: 8.0, right: 11.0, top: 6.0, bottom: 5.0),
            action: OtherAction(2),
            text: "%a",
            font: "JetBrains Mono 9",
            border_width: 2.0,
            border_rounding: 0.0,
            text_color: Color(hex: "#a6adc8"),
            border_color: Color(hex: "#313244"),
            background_color: Color(hex: "#1e1e2e"),
            dimensions: (width: (min: 0, max: 150), height: (min: 0, max: 0)),
        )),
    ),

    (
        name: "button_3",
        parent: "button_2",
        hook: Hook(parent_anchor: TR, self_anchor: TL),
        offset: Vec2(x: 12.0, y: 0.0),
        render_criteria: [ActionOther(3)],
        // https://github.com/Toqozz/wired-notify/wiki/ButtonBlock
        params: ButtonBlock((
            padding: Padding(left: 8.0, right: 11.0, top: 6.0, bottom: 5.0),
            action: OtherAction(3),
            text: "%a",
            font: "JetBrains Mono 9",
            border_width: 2.0,
            border_rounding: 0.0,
            text_color: Color(hex: "#a6adc8"),
            border_color: Color(hex: "#313244"),
            background_color: Color(hex: "#1e1e2e"),
            dimensions: (width: (min: 0, max: 150), height: (min: 0, max: 0)),
        )),
    ),

    (
        name: "padding",
        parent: "button_0",
        hook: Hook(parent_anchor: BR, self_anchor: TL),
        offset: Vec2(x: 0.0, y: 0.0),
        render_criteria: [ActionOther(0)],
        // https://github.com/Toqozz/wired-notify/wiki/ScrollingTextBlock
        params: TextBlock((
            text: "",
            font: "JetBrains Mono 1",
            color: Color(hex: "#ffffff"),
            padding: Padding(left: 12.0, right: 0.0, top: 12.0, bottom: 0.0),
            dimensions: (width: (min: 0, max: 0), height: (min: 0, max: 0)),
        )),
    ),

],

// https://github.com/Toqozz/wired-notify/wiki/Shortcuts
shortcuts: ShortcutsConfig (
    notification_interact: 1,
    notification_close: 2,
    // notification_closeall: 99,
    // notification_pause: 99,

    notification_action1: 3,
    // notification_action2: 99,
    // notification_action3: 99,
    // notification_action4: 99,
),

)