PHP 8.1 - TypeError Cannot assign stdClass to reference held by property ...

In PHP 8.1 when trying dump an variable i get the error: TypeError: Cannot assign stdClass to reference held by property GPFramework\Libraries\Menus\MenuCollection::$items of type array at kint-php\kint\src\Parser\Parser.php at line 527
my code is:
Kint::$mode_default        = Kint::MODE_RICH;
Kint::$display_called_from = false;

$kint = @Kint::dump($menus);

the content of $menus is:
Array
(
    [ci4-framework] => GPFramework\Libraries\Menus\MenuCollection Object
        (
            [name:protected] => ci4-framework
            [title:protected] => CI4 Framework
            [url:protected] =>
            [altText:protected] =>
            [order:protected] => 0
            [permission:protected] => Array
                (
                )

            [faIcon:protected] =>
            [iconUrl:protected] =>
            [isActive:protected] =>
            [activeUrl:protected] =>
            [visible:protected] => 1
            [collapsible:protected] =>
            [items:protected] => Array
                (
                    [components] => GPFramework\Libraries\Menus\MenuItem Object
                        (
                            [name:protected] => components
                            [title:protected] => Components
                            [url:protected] => https://projects.local/gp-base-ci4-framework/sources/public_html/admin/pt
                            [altText:protected] =>
                            [order:protected] => 0
                            [permission:protected] => Array
                                (
                                )

                            [faIcon:protected] =>
                            [iconUrl:protected] =>
                            [isActive:protected] =>
                            [activeUrl:protected] =>
                            [visible:protected] => 1
                        )

                    [menus] => GPFramework\Libraries\Menus\MenuItem Object
                        (
                            [name:protected] => menus
                            [title:protected] => Menus
                            [url:protected] => https://projects.local/gp-base-ci4-framework/sources/public_html/admin/pt
                            [altText:protected] =>
                            [order:protected] => 0
                            [permission:protected] => Array
                                (
                                )

                            [faIcon:protected] =>
                            [iconUrl:protected] =>
                            [isActive:protected] =>
                            [activeUrl:protected] =>
                            [visible:protected] => 1
                        )

                )

        )

)

Is this a bug or am i doing something wrong?

Should be fixed in 055630e77a9ae625968ade09addb0bd57ce1f4b3

Thanks @jnvsor,
we're using 5.0.6 and the issue still appears. I guess it should be fixed there?
For us it happens in Drupal.
The partial backtrace is:
TypeError: Cannot assign stdClass to reference held by property Symfony\Component\HttpFoundation\Session\Flash\FlashBag::$flashes of type array in Kint\Parser\Parser->parseArray() (line 377 of /vendor/kint-php/kint/src/Parser/Parser.php).

Kint\Parser\Parser->parse() (Line: 565)
Kint\Parser\Parser->parseObject() (Line: 138)
Kint\Parser\Parser->parse() (Line: 565)
Kint\Parser\Parser->parseObject() (Line: 138)
Kint\Parser\Parser->parse() (Line: 565)
Kint\Parser\Parser->parseObject() (Line: 138)
Kint\Parser\Parser->parse() (Line: 565)
Kint\Parser\Parser->parseObject() (Line: 138)
Kint\Parser\Parser->parse() (Line: 285)
Kint\Kint->dumpVar() (Line: 268)
Kint\Kint->dumpAll() (Line: 575)
Kint\Kint::dump() (Line: 64)
Drupal\devel\Plugin\Devel\Dumper\Kint->export() (Line: 105)
Drupal\devel\DevelDumperManager->export() (Line: 115)
Drupal\devel\DevelDumperManager->message() (Line: 183)
Drupal\devel\Twig\Extension\Debug->message() (Line: 44)
__TwigTemplate_1bb3a20a3f4847fc1af463271334acbf->doDisplay() (Line: 394)
Twig\Template->displayWithErrorHandling() (Line: 367)
Twig\Template->display() (Line: 379)
Twig\Template->render() (Line: 40)
Twig\TemplateWrapper->render() (Line: 53)
twig_render_template() (Line: 372)

Does that help?
Seems like it appeared with the Drupal 10 Upgrade which uses Symfony 6.2. With Drupal 9 we never had that issue before. Should this be reopened?

While it seems obvious, you can't assign a value to a reference of a typed property of the wrong type. Since copying arrays and assigning instances to each member was how we detected references all I had to do was throw a try catch around it to stop it failing on every object with a typed property.
I didn't realize someone could throw a reference to a typed property into an array and pass that into kint (Even though that's basically what kint is doing itself...) so we basically had to do the same thing for arrays too.
Please confirm that this works @JPustkuchen
<?php

class test {
    public int $v;
}

$t = new test();
$t->v = 4;

$a['val'] = &$t->v;

$a['val'] = 'test';

@jnvsor WHAO, you're Speedy Gonzales! Fastest mouse in Mexico 🚀
(No idea if that cartoon has the same name anywhere in the world, like in Germany xD)
Yes, perfect! Working just fine, thanks for the lightning fast fix!


Does this plugin support embedded native views?

I'd like to have a scanning window top half of the screen, and the results of the scanning on the lower half. Its not clear in the documentation- Does this library support embedded views? Thanks

according to this discussion, this doesn't seem possible.
my thumbs up, too, as this would be a great addition to the plugin.


Add Quiz Section [FrontEnd]

Description

How about adding a dedicated quizzes page to the website where students can take different quizzes posted by tutors
The page will be only accessible to the authenticated users

@jinwoo1225 What do you think? If we can add this feature, I would love to work on this.

@NikhilSharma03 can I get reference of it? I'm imaging it like LinkedIn skill quiz.

@jinwoo1225 I implement it on the current website and this is the current behavior.
https://user-images.githubusercontent.com/58226527/127737675-8194af7f-7a99-4b34-b07d-33235d36bd7f.mp4
What do you think :thinking: ?

The Quiz Data will be fetched from servers

Sorry but I'm unable to watch video 😥

Flow Images

@jinwoo1225 Can you please check if the images are visible. Thank you.

Sorry but I'm unable to watch video

No problem. Please check the pinned images. If that's not working, let me know I will mail the video.

Great presentation!! I will queue on new quiz API. Any idea? @NikhilSharma03

Thank you :smile: @jinwoo1225
Yeah Sure. If possible, Can I work on API since the frontend for the quiz is completed?

@NikhilSharma03 Great!

@jinwoo1225 I was thinking we should add a form where users can create a new quiz. What do you think?

@NikhilSharma03 Great, for now Questionbox.js is having only one element in hard coded way.. isn't it? I think we should fix that first!

Yes, actually it is for testing purposes. Once we add the quiz adding form, the quizzes will be dynamically fetched from the backend API.
Is this approach ok. What do you think @jinwoo1225

@NikhilSharma03 Sounds great! what can I help for you?

@NikhilSharma03 Sounds great! what can I help for you?

Don't worry I got this. I will let you know if I ran into any problems. :rocket:


Feature/uberenv env

This PR is demonstration of how Uberenv can use spack environments.
This changes nothing to Umpire workflow, the only changes are in Uberenv itself, and in spack-configs which is now a submodule.

LGTM

LGTM

LGTM

Hey @adrienbernede - is this something we should clean up and get merged?

@davidbeckingsale I used Umpire as a pilot project to test using Uberenv with spack environment.
The corresponding branch in uberenv have been waiting for review for a long time, and then it was decided to maintain also the old spack-patching mechanism.
Since then, I haven't had much time to clean and test this on Uberenv side.
Also, you can see this branch has only a few changes outside of the uberenv.py script. This script would now be provided by submodule, so updating this branch would mean basically emptying it.
I will close it, and we could recreate one from the appropriate branch in Uberenv when we are ready to dedicate some time to it.

Thanks for the explanation!


Add new config param to draftToMarkdown

As discussed on https://github.com/jpuri/draftjs-to-markdown/issues/3
I found the markdown was being rendered differently for two reasons: 1) dash rather than asterisk for unordered list items and 2) single line break before blocks rather than the two expected by renderer.
This PR allows both things to be configurable.
Config param can have a blockTypesMapping to override default blockTypesMapping
Config param can have emptyLineBeforeBlock to add two line breaks rather than one
Update docs

@jpuri what do you reckon about this PR?

@daniel-sim:
Apologies for the delay in merge and thanks a lot for the nice work. I will soon release it 👍

No problem! Looking forward to it
ᐧ
On 30 March 2017 at 16:48, Jyoti Puri<EMAIL_ADDRESS>wrote:

@daniel-sim https://github.com/daniel-sim:
Apologies for the delay in merge and thanks a lot for the nice work. I
will soon release it 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jpuri/draftjs-to-markdown/pull/4#issuecomment-290434714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzf5JDCotoONyPkPNTam5Tgxj6Std66ks5rq8DZgaJpZM4MfFfU
.

Just released<EMAIL_ADDRESS>with the change.


[News] location info is cached and cannot be refreshed

What project is affected?
News skill
What language is this in?
en-us
What happens?
user: "what's the news in Beiing"
bot: "what country or region are you in"
user: "beiing"
bot: "what topic are you interested in"
user: "music"
bot: shows news in French

user: "what's the news in Beijing"
bot: "what topic are you interested in"
user: "music"
bot: show news in French
What are the steps to reproduce this issue?
What were you expecting to happen?
Can you share any logs, error output, etc.?
Any screenshots or additional context?

Close this for now as this is not a high priority issue.


simpler, saner cross-compilation

This is a long-term goal; none of this can happen overnight.  This is also an incomplete work-in-progress.
TL;DR: Short Example
{ pkgsOnHost          # simple dependencies
, pkgsOnBuild         # build tools that don't emit code (`grep`, `jq`...)
, pkgsOnBuildForHost  # build tools that emit code for the hostPlatform
}:

{

  # setup.sh will put this stuff in the $PATH at compile time
  depsInPATH = with pkgsOnBuild; [
    cmake
    makeWrapper
    pkgsOnBuildForHost.gfortran     # to compile fortran code for use at run time
  ];

  # setup.sh will not put any of this stuff into the $PATH
  deps = with pkgsOnHost; [
    openssl
  ];

}

Wishlist
Eliminate splicing

I made splicing (nativeDrv and crossDrv are older, but were done differently). Splicing is bad. I never wanted it. I causes major headaches when getting anywhere near bootstrapping. It is gross. It is probably slow. It should be removed. -- https://github.com/NixOS/nixpkgs/issues/204303#issuecomment-1383282367

Splicing is too magical.  Probably three people really understand it.  Dozens of people think they understand it but really don't, and get pissed off when it breaks in weird ways.  This is a major part of why people hate on cross compilation.
Eliminating splicing likely means that package expressions will need to take package sets explicitly as top-level arguments.  See next section.
Eliminate special exceptions to depsFooBar naming
The buildInputs (alias for depsHostTarget) and nativeBuildInputs (alias for depsBuildHost) aliases were created to minimize disruption but instead they maximize misunderstanding.  Most nixpkgers know what these two attributes do (or what they think they do), but by not using the systematic naming scheme people become afraid of the other depsXY attribtues.  If we had a single naming scheme people would see the big picture.
We also deprecate buildPackages and targetPackages, renaming them to the already-existing pkgsOnBuild and pkgsOnTarget.  The old names are kept around as an alias for one more release but emit a warning if used.
targetPlatform==null for packages that do not emit code
The vast majority of packages in nixpkgs don't emit code.  Instead of setting their targetPlatform equal to their hostPlatform, we should set it to null.
Using targetPlatform==hostPlatform erases the distinction between packages that emit code for their hostPlatform and packages that don't emit code.  It also creates ambiguity: these packages can be moved freely between (say) depsBuildHost and depsBuildTarget with no change in behavior, so the difference between depsBuildHost and depsBuildTarget is harder for people to learn.
Prefix all binaries that have a targetPlatform
AKA resurrect this PR:

https://github.com/NixOS/nixpkgs/pull/44583

Right now we have an artificial distinction between:

pkgsBuildTarget for build=X target=Y
pkgsHostTarget for host=X target=Y

The first kind won't have a aarch64-linux- prefix on their code-emitting binaries (like gcc).  The latter kind will.  This is silly.  Prefix all the binaries, eliminate the distinction.
For compilers (clang, rust) that have a single binary entry point for all platforms and use some kind of --target= flag, we simply wrap that entry point with a wrapper for each targetPlatform which adds the --target= flag.
Use the pythonPackages onBuildForHost naming
pkgsFooBar is extremely unergonomic.  Nobody can remember what Foo is for and what Bar is for.  These should be changed to pkgsOnBuildForHost like pythonPackages does; with pkgsOnFooForBar least that way there is a reminder of what Foo and Bar are: pkgsOnFooForBar runs on Foo and emits code for Bar.
Packages with no target (see previous heading) get shorter names: pkgsOnBuild and pkgsOnHost.
No more depsOnXForY, only pkgsOnXForY
The distinction between the various depsFooBar attributes of a derivation serves two purposes:

"Desplicing" the correct derivation from the spliced package
Ensuring that only depsBuildX stuff goes in the $PATH at build time

Instead of (six? more?) different derivation attributes we only need two:
depsInPATH  = [ ... ]  # stuff that is put into $PATH
deps        = [ ... ]  # stuff that is not put into $PATH

Long Example
This example might look complicated, but it exercises all possible arguments and attributes.  Think about that.  This is the most complicated attrset you'll ever see.
Non-code-emitting packages will only have, at most, the first five attributes (one of which is never used in practice).  In practice most packages will have only three arguments: pkgsOnHost, pkgsOnBuild, and pkgsOnBuildForHost.
{ pkgsOnHost          # simple dependencies
, pkgsOnBuild         # build tools that don't emit code (`grep`, `jq`...)
, pkgsOnBuildForHost  # build tools that emit code for the hostPlatform
# the three arguments above are enough for nearly all packages in nixpkgs

, pkgsOnHostForHost   # theoretical possibility only: zero uses in nixpkgs
, pkgsOnBuildForBuild # build tools that emit code for the buildPlatform

# **only code-emitting packages** (compilers) will have the following:
, pkgsOnHostForTarget   # theoretical posibility only: canadian cross
, pkgsOnBuildForTarget  # e.g. the bintools used to link the libraries bundled with gcc
, pkgsOnTarget          # target libraries bundled with the compiler (eg libstdc++)
, pkgsOnTargetForTarget # code-emitting target libraries (JITs), like libgccjit
}:

{

  # setup.sh will put this stuff in the $PATH at compile time
  depsInPATH = with pkgsOnBuild; [
    cmake
    makeWrapper
    pkgsOnBuildForHost.gfortran     # to compile fortran code for use at run time
    pkgsOnBuildForBuild.stdenv.cc   # to compile+run a C program at build time
  ];

  # setup.sh will not put any of this stuff into the $PATH
  deps = with pkgsOnHost; [
    openssl
    pkgsOnTarget.libstdc++
  ];

}

Problems

This needs to be harmonized with callPackage.  It is really unfortunate   that the Nix language does not let functions declare deep attributes as   arguments, like {foo.bar, ...}: ....

In its current form this makes .override very painful to use, since it   don't cope well with overriding a sub-attribute of an argument.  It should be   extended to provide an ergonomic way to override sub-attributes of an   argument.

Questions

Should deps and depsInPATH be combined into a single attribute?   mkDerivation could decide whether or not to put each dependency into the   $PATH based on whether stdenv.buildPlatform.canExecute that dependency's   hostPlatform.
In practice there are very very very few situations where you don't want all   the possibly-executable dependencies put into the path; we could provide an   "escape hatch" to mark specific dependencies as "don't belong in the $PATH   even if we could execute them".

with is a footgun, and this scheme encourages with pkgsOnBuild.  We could   make deps and depsOnBuild be attrsets (whose attrnames are ignored); this   would allow the use of the much-safer inherit syntax.  A better long-term solution would be RFC 110.

Should pkgsOnBuildForHost be an attribute within the pkgsOnBuild attrset?  For example, pkgsOnBuild.forHost.  This would mean only two arguments for non-compiler-like packages.

Possible solution to the .override problem proposed in https://github.com/NixOS/nixpkgs/issues/204303#issuecomment-1403662186

Ensuring that only depsBuildX stuff goes in the $PATH at build time

Note that the dependency attributes are used for more than that
https://github.com/search?q=repo%3ANixOS%2Fnixpkgs targetOffset&type=code
https://github.com/NixOS/nixpkgs/blob/4f322852fdaf6009f53ae1256ef5b48572b50c4f/pkgs/build-support/setup-hooks/role.bash
https://github.com/NixOS/nixpkgs/blob/4f322852fdaf6009f53ae1256ef5b48572b50c4f/pkgs/stdenv/generic/setup.sh#L518

From the peanut gallery I've only been using nix for about a year and a half now and have been continuously confused by the naming around cross-compiling so I think this is a good direction to go in.
One thing that continuously trips me up is the name Host. I always have to pause and think "is this the build host or the target host?". When cross-compiling an app I never think of the word "host", it is always "build" (on what building occurs) and "target" (on what the artifact is executed). Basically: Is there a better word than Host (what is being hosted here)? My head always reaches for "target" but that seems to be taken. Maybe if host is to be used we could still use the word but make it clear what is being hosted: pkgsOnBuildHost, pkgsOnTargetHost.

@kjeremy We're following the autoconf definitions gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Specifying-Target-Triplets.html while you're thinking of something else

Eliminate special exceptions to depsFooBar naming

initial work https://github.com/NixOS/nixpkgs/pull/227502

We're following the autoconf definitions

Yeah, autoconf made some less-than-ideal choices there (mainly "host") but we are sort of stuck with them.  Trying to change the terminology creates even more confusion (cough llvm cough).

@Artturin thanks for pointing out activatePackage().

https://github.com/search?q=repo%3ANixOS%2Fnixpkgs targetOffset&type=code

Ugh.  I sort of wish hooks didn't exist, at least as bash scripts...  I wish they were managed at the level of Nix code and stitched together by mkDerivation.  But getting to that point is an even bigger job than eliminating splicing, so I should stop hoping.
My initial instinct is that we could stash these offsets in a __offset attribute of the packages.  So for a build==host situation pkgsOnBuild.bash != pkgsOnHost.bash but only because of this attribute -- (pkgsOnBuild.bash // {__offset=null;}) == (pkgsOnHost.bash // {__offset=null;}).  And the attribute should probably warn people that it exists only to implement setup hooks and shouldn't be used for anything else since it could go away in some far-future world where we assemble and sort the hook list in nix instead of in bash.

initial work #227502

Awesome, will review.

Another solution to the .override problem, which is a bit more radical but fits really well with this change, is @roberth's idea of always using mkDerivation(finalAttrs: style and making deps a passed-through attribute of every derivation.  Then .override goes away, because you can do what it does using .overrideAttrs (I see this as a massive benefit).
The example below is copied from this issue below the text "instead it could look like" since I can't seem to link directly to that example:
pkgs:

pkgs.stdenv.mkDerivation (self: {
  # deps here is a "local" variable, not passed to builtins.mkDerivation
  deps = {
    inherit (pkgs) pkg1 pkg2;
  };
  buildInputs = [ self.deps.pkg1 self.deps.pkg2 ];
})

In the context of getting rid of splicing, this would mean pkgs being an attrset-of-packagesets (pkgs.onBuild, pkgs.onHostForTarget, etc), and what I call deps in the first comment of this issue being renamed to something like inputs (there is still only one such attribute -- no more buildInputs/nativeBuildInputs/etc).
The "let .overrideAttrs subsume .override" idea seems to have undergone further development but the above was the most recent version that didn't require modules.

Eliminate special exceptions to depsFooBar naming

@Ericson2314's issue https://github.com/NixOS/nixpkgs/issues/28327

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/is-this-the-current-state-of-things/45944/13

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/frustrations-about-splicing/49607/1

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/frustrations-about-splicing/49607/16

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/is-it-possible-for-us-to-remove-builtins-functionargs/51960/5

pkgs:

pkgs.stdenv.mkDerivation (self: {
  # deps here is a "local" variable, not passed to builtins.mkDerivation
  deps = {
    inherit (pkgs.onBuild) cmake makeWrapper;
    inherit (pkgs.onBuildForHost) gfortran;
    inherit (pkgs.onHost) openssl;
  };
  inputs = with self.deps; [ cmake makeWrapper gfortran openssl ];
})

This looks pretty good to me.
Possible limitation, but don't know how bad it is:
Some derivation may currently depend on a package x that has a tool and a library:
strictDeps = true;
nativeBuildInputs = [ x ];
buildInputs = [ x ];

and this would work, because the attributes like nativeBuildInputs accurately describe the role of the package.
I don't know if this would be good enough:
deps = {
  x_build = pkgs.onBuild.x;
  x_host = pkgs.onHost.x;
};
inputs = with deps; [ x_build x_host ];

when non-cross, we don't have the info to infer the intended role, because x_build.stdenv == x_host.stdenv.
Simply put, having only inputs, we lose strictDeps.
That's a significant regression, because it removes a little "forcing function" that makes non-cross package authors do the right thing.
So we'd have to bring back the buildInputs, nativeBuildInputs etc attributes, largely duplicating the same info in deps.
It seems that we have to choose two of {strictDeps, low boilerplate, no splicing}, but I hope I'm wrong.
It does make me wonder if splicing could be done right. The documentation is lacking and it seems underdeveloped. The other day I've tried to implement a newScope helper and failed. It seems that the splicing code is quite ad hoc, and we're actually missing some of the primitives that would make implementing a nicer newScope helper easy. Either that, or maybe I'm just overly optimistic.

I think it'd be best to separate deps between those that should be in executable PATH and deps that should be in library discovery paths.
I've actually been cooking a design for a "mkDerivation v2" over the past few weeks where I've addressed pain points like this and many others in a complete re-design. I've been adding bits as I come across bad APIs or UX in our current derivation wrappers and I need to think about a few things some more, so it's not quite done yet but stay tuned for that.
That is very much a "vision wishlist" rather than something we could practically implement today with any efficiency.


Code will not import lobster font

Challenge Import a Google Font has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

On Jan 3, 2017 3:26 PM, "Kenneth Harris"<EMAIL_ADDRESS>wrote:

Challenge Import a Google Font
https://www.freecodecamp.com/challenges/import-a-google-font has an
issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36.
Please describe how to reproduce this issue, and include links to
screenshots if possible.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/12343, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ATDbVuDG5B3Qd2TQoQvWFe5mrkgexmUOks5rOq8QgaJpZM4LZ_ej
.

@DevSealTeam

snippet code provided didn't work
https://www.freecodecamp.com/challenges/import-a-google-font
@DevSealTeam

@Kennneth your code works for me. Maybe try copying your code and then refreshing the browser. Also if you're on a mobile device, chrome sometimes has a non-breaking space issue so it may have to remove new lines.

@Kennneth if you are still facing the issue, please let us know. Closing for now.

h was missing h2
although it's late I hope it can help someone else in the future


fix(connect): update literal object values correctly for non-literal object values

This fixes an issue where the signal would not be updated correctly when a non-literal object value is used to update a literal object value.
For example, attempting to update {} with null would result in the value still being {}

I updated the PR to also handle the situation where a value is being updated from an object to a non-literal object via a reducer


[SYS TEST] Resource and Common HTX keywords

[x] Create syslib/resource.txt file and have all those common variables in one place
[x] Move the Start, stop HTX exerciser to syslib/utils_os.robot

https://gerrit.openbmc-project.xyz/#/c/4248/


How can I print plot a different color for some of edges and how can I listen to the edge onTag event?

How can I print plot a different color for some of edges and how can I listen to the edge onTag event?

Can you explain what you mean by edge onTag event


fix: Allow users to use kubernetes secret flag for tls

With regard to https://github.com/argoproj/argo-workflows/pull/7884

This cannot be merged yet. Can you revert the go.sum/go.mod changes please?


[Python docs feedback]

Problem description

While doing the "Build your Python image" language specific tutorial,  I do not see two images as the tutorial suggests in the "View Local Images" section of the page.

You should see at least two images listed. One for the base image 3.8-slim-buster and the other for the image we just built python-docker:latest.

Problem location

I saw a problem at the following URL: https://docs.docker.com/language/python/build-images/
2/3 of the way down in the "View Local Images" section.

I couldn't find the information I wanted. I expected to find it near the following URL

Other:

I am running Docker Desktop 4.11.1 (84025) and using the CLI under WSL2 on Windows 10 Version 21H2 (OS Build 19044,1899)
Here is my Dockerfile and my shell commands.  As you can see I used my own tag name and also ensured build kit was working.   Docker Desktop has build kit enabled in the .json, but I just wanted to make sure under WSL2.

CMD [ "python3" "-c" "flask", "run", "--host=<IP_ADDRESS>" ]

kurt@BlackRock:docker-python-app-doc$ DOCKER_BUILDKIT=1 docker build -t kurtu5/docker-python-app-doc .

kurt@BlackRock:docker-python-app-doc$ docker images
REPOSITORY                        TAG                                        IMAGE ID       CREATED          SIZE
kurtu5/docker-python-app-doc      latest                                     3587894ba5d4   22 minutes ago   128MB
kurtu5/jupyter-augmented          latest                                     0b70fc4e57cc   2 hours ago      4.83GB
compose-dev-env_proxy             latest                                     ddae7ee04ddd   22 hours ago     236MB
compose-dev-env_backend           latest                                     d6f060640d92   22 hours ago     12.7MB
kurtu5/fastai                     latest                                     6568a7d07ebd   40 hours ago     14.7GB
jupyter/minimal-notebook          latest                                     b02cdf6f4060   3 days ago       1.59GB
mariadb                           latest                                     40b966d7252f   2 weeks ago      383MB
docker/desktop-git-helper         6d03332b2f0c03ace31c9bca98de4830908e5bcc   cf20a5cdae3b   9 months ago     43.7MB
docker/dev-environments-go        stable-1                                   23b78684a282   12 months ago    1.38GB
docker/dev-environments-default   stable-1                                   7c85b0303242   12 months ago    607MB
docker/desktop-git-helper         5a4fca126aadcd3f6cc3a011aa991de982ae7000   efe2d67c403b   12 months ago    44.2MB

Project version(s) affected

Suggestions for a fix

I see that I have a syntax error in my Dockerfile.  While that doesn't change anything related to the image creation, it only breaks a running container.  I did fix it and re-ran everything for the sake of completion.
kurt@BlackRock:docker-python-app-doc$ cat Dockerfile
# syntax=docker/dockerfile:1

FROM python:3.8-slim-buster

WORKDIR /app

COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt

COPY . .

CMD [ "python3", "-m" , "flask", "run", "--host=<IP_ADDRESS>"]

kurt@BlackRock:docker-python-app-doc$ docker build -t python-docker .^C
kurt@BlackRock:docker-python-app-doc$ docker images
REPOSITORY                        TAG                                        IMAGE ID       CREATED          SIZE
python-docker                     latest                                     b1123208cd75   15 seconds ago   128MB
kurtu5/jupyter-augmented          latest                                     0b70fc4e57cc   3 hours ago      4.83GB
compose-dev-env_proxy             latest                                     ddae7ee04ddd   23 hours ago     236MB
compose-dev-env_backend           latest                                     d6f060640d92   23 hours ago     12.7MB
kurtu5/fastai                     latest                                     6568a7d07ebd   41 hours ago     14.7GB
jupyter/minimal-notebook          latest                                     b02cdf6f4060   3 days ago       1.59GB
mariadb                           latest                                     40b966d7252f   2 weeks ago      383MB
docker/desktop-git-helper         6d03332b2f0c03ace31c9bca98de4830908e5bcc   cf20a5cdae3b   9 months ago     43.7MB
docker/dev-environments-go        stable-1                                   23b78684a282   12 months ago    1.38GB
docker/dev-environments-default   stable-1                                   7c85b0303242   12 months ago    607MB
docker/desktop-git-helper         5a4fca126aadcd3f6cc3a011aa991de982ae7000   efe2d67c403b   12 months ago    44.2MB

Thanks for sharing the issue. The base image will not show when building with buildkit enabled. If you disable buildkit and build again, you'll see the python image.


Update authorization client error search and handle 500 errors

This updates the authorization client to use the same approach that api client uses to search for the error class. This adds a new ErrorParser class that is in charge to verify which error class should be returned. Also this adds a status code validation to raise a EasyMeli exception in server side errors.

@enortham changes addressed and I've added some new error classes for server side errors, I found that some  500 responses are sent without body, I think is better if EasyMeli handles these responses and raises an exception.

Updated @enortham what do you think?


redis28 does NOT install redis28.conf

Thanks for creating redis28 - this allows me to test against the version of Redis used by AWS Elasticache.
However, there is a bug in redis28 - it claims that it installs the conf file as /usr/local/etc/redis28.conf however it does not.  In fact, there is no redis28.conf or redis.conf anywhere on my mac.
I have verified this twice on two different Macs both running the latest version of Yosemite (10.10.3 with all the updates).
This DOES not happen with the plain redis brew that I've installed other times.  Only with redis28.
There seems to be a bug in the install.  Can somebody please look into this?
Thanks!
See also https://github.com/Homebrew/homebrew-versions/pull/746

Aye. Confirmed. This is usually just a simple bottle error - To test that I've opened #788. If the error reproduces, we can try more drastic things.

Was a bottle error. Fixed now. brew reinstall redis28 should solve the problem. Thanks for the report!

My pleasure to report, thanks for all of your hard work.
Thanks for looking into this.
I just did a brew reinstall redis28 and there is still no file /usr/local/etc/redis28.conf  😔
Any ideas why?
Thanks again.

:scream: Are you sure? It's definitely there in the bottle, I checked all three bottles personally.
Can you do brew update && brew upgrade && brew reinstall redis28 && brew test --verbose redis28? Thanks!

OOPS, sorry, I didn't realize I had to do brew update first.  I just did brew update; brew reinstall redis28 and now it's there.
Thanks for fixing this.
Good to close the issue.

Phew. Great news. Glad all is working!


ENG-2486 Announcement Banner to announce new releases

Describe your changes and why you are making these changes
This PR adds a small UI at the top of the screen to alert users that there is a new release of Aqueduct.
It also has logic to check local storage to see if the user has dismissed the banner, or if the banner being shown is for a newer version than the user has last seen on their browser.
Related issue number (if any)
ENG-2486
Loom demo (if any)
https://www.loom.com/share/761c534ad6804b90a2c8c1f5d8a9e2f6
Checklist before requesting a review

[x] I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
[x] I have performed a self-review of my code.
[x] I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
[x] If this is a new feature, I have added unit tests and integration tests.
[x] I have run the integration tests locally and they are passing.
[x] I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
[x] All features on the UI continue to work correctly.
[x] Added one of the following CI labels:

run_integration_test: Runs integration tests
skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

@agiron123, nice work! A few things:

The banner looks quite large to me. Could we make it smaller?
The color of the banner looks a little out of place to me. We're not really using that seafoam green anywhere else in the UI. Can we try either a light blue like the logo light blue or light grey (my preference)?
Can we add a flag to not always show the banner? I find it kinda distracting on the DAGs page, so I'd prefer to only show it on the home, workflows list, integrations list, and data list pages.

@agiron123, nice work! A few things:

The banner looks quite large to me. Could we make it smaller?
The color of the banner looks a little out of place to me. We're not really using that seafoam green anywhere else in the UI. Can we try either a light blue like the logo light blue or light grey (my preference)?
Can we add a flag to not always show the banner? I find it kinda distracting on the DAGs page, so I'd prefer to only show it on the home, workflows list, integrations list, and data list pages.

@vsreekanti

I think the banner is a bit large as well, I made it 64px so that it matches the size of the logo. Originally, I was hoping to put the banner over both the sidebar and navbar, but I was having some issues where the bottom footer of the Sidebar didn't render correctly. I'll post a screenshot here of a smaller banner.
Light grey sounds good with me.
Sure, I can add flags on which pages to show the banner.

@vsreekanti here is a screenshot of the banner smaller and with gay background. I also took the text size down as well:

@vsreekanti Updated demo can be found here:
https://www.loom.com/share/1d038acc86234b7bb9b989272799d342

Yep, this it awesome — thanks Andre!
Can we update the text to say:

Aqueduct v{version_number} is out! See release notes →

Yep, this it awesome — thanks Andre!
Can we update the text to say:

Aqueduct v{version_number} is out! See release notes →

@vsreekanti sure thing!


Print column constraints based on layout predicate

The layout predicate is the one that reflects the guarantees provided
by the TableScan node, not the "current constraint", which is just a
holder for temporary state during optimization.

looks good


I use a model o but only the wired version is supported.

message (1).txt
Here's the details, hope you can do something. I attempted to add a .device file but that didn't work, I probably did something wrong.

Model O and Model O Wireless are two completely different mice under the hood.
libratbag doesn't support the latter (yet), but you can use another tool in the mean time: mow (or it's fork mxw).
Closing as duplicate: #1172.


no kind "Pod" is registered for version "v1" in scheme

Hi,
I executed command $kubectl logs [pod name] [container_name], but I got a error message.
"no kind "Pod" is registered for version "v1" in scheme "vendor/k8s.io/client-go/tools/clientcmd/api/latest/latest.go:50"
How to solve it. Please give me answer genius bros~.
"Pod" is capital. It is the first part of "~/.kube/config"
apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubernetes.io/psp: eks.privileged
  creationTimestamp: "2022-05-06T01:51:35Z"

It is my kubectl version.
$ kubectl version --client --output=yaml
clientVersion:
  buildDate: "2022-05-03T13:46:05Z"
  compiler: gc
  gitCommit: 4ce5a8954017644c5420bae81d72b09b735c21f0
  gitTreeState: clean
  gitVersion: v1.24.0
  goVersion: go1.18.1
  major: "1"
  minor: "24"
  platform: darwin/amd64
kustomizeVersion: v4.5.4

/kind support

Answered by @mpuckett159
/close

Hi , I am still facing this issue, can someone help, Here is the yaml file:
Simple Kubernetes Pod to deploy the app contained in nigelpoulton/getting-started-k8s:1.0
apiVersion: v1
kind: Pod
metadata:
name: hello-pod
labels:
app: web
spec:
containers:
- name: web-ctr
image: n33ti/getting-started-k8s:1.0
ports:
- containerPort: 8080
I am facing this error:
error: error loading config file "/root/.kube/config": no kind "Pod" is registered for version "v1" in scheme "vendor/k8s.io/client-go/tools/clientcmd/api/latest/latest.go:50"


simplify conditional logic

prefer present? over !blank?

@miq-bot add_label refactoring, provisioning

@gmcculloug Please review


chore(napi/transform): support wasm build

#3933  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite


Getting Set-VMProcessor -VMName  -ExposeVirtualizationExtensions $true  enable disable status from Guest OS

Hi Team,
We are using EFLOW on a nested virtualization environment. So as part of this first by using below command
Set-VMProcessor -VMName  -ExposeVirtualizationExtensions $true
enabled nested virtualization. This enables/allows me to install "Hyper-V" on Guest Operating System machine (windows server 2019).
What we are looking is :
Is there any way from Guest OS, to fetch the information of Nested Virtualization enable / disable status.
I have navigated to below path on Guest OS and able to find "HostName". Similarly, any way / anywhere can i get nested virtualization information.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters

Thanks,
Vishwa

Hi @post2vishwa,
Thanks for your question. I'm not familiar with a way to determine that.  Maybe you could do the following:

Check that you're actually running on a VM
PS C:\Windows\system32> Get-CimInstance Win32_BaseBoard

 Manufacturer : Microsoft Corporation
Model        :
Name         : Base Board
SerialNumber : 4814-1269-8840-1470-5731-0676-20
SKU          :
Product      : Virtual Machine

Enable Hyper-V

hvhost service fails to come up when nested virtualization is not enabled or when virtualization was not enabled in firmware. Check that his service is running. If stopped, you must enable nested virtualization.
PS C:\Windows\system32> Get-Service -Name "hvhost"

Status   Name               DisplayName
------   ----               -----------
Stopped  hvhost             HV Host Service

Hope that helps.
Thanks,
Francisco

Hi @fcabrera23 , Thanks much for help.


[Feature Request] Improving Data Validation Output

Is your feature request related to a problem? Please describe.
The dbt-expectations library offers a comprehensive suite of data validation tests, but it consistently follows a rigid template for presenting results. The core issue lies in the absence of detailed context when a test fails. For instance, in tests like expect_column_values_not_to_be_null, the output simply states expression-false.To address this limitation, I propose an enhancement that allows users to specify a database column (for example, the unique identifier, such as 'id') as an input parameter for data validation. This addition would substantially improve our ability to identify the specific rows causing the issues, facilitating more effective troubleshooting.
Describe the solution you'd like
The solution I seek involves extending the capabilities of the dbt-expectations library. Specifically, I recommend introducing a parameter that enables users to specify a database column as part of the validation process. When applied, this feature would result in output that includes the designated column's values for rows with failed tests. This enriched output would provide essential context, making it significantly easier to pinpoint the exact rows causing data discrepancies.
Since the main request is generated in the file  expression_is_true.sq  it will look something like this:
{% macro expression_is_true(model, expression, test_condition="= true", group_by_columns=None, row_condition=None, **select_columns=None**) %}
  with grouped_expression as (
    select
      {% if group_by_columns is not none %}
        {% for group_by_column in group_by_columns %}
          {{ group_by_column }} as col_{{ loop.index }},
        {% endfor %}
      {% endif %}
      {{ dbt_expectations.truth_expression(expression)  ~ ", " ~ **select_columns**}}
...

Describe alternatives you've considered
One potential alternative would involve manual post-processing of the dbt-expectations output to associate failed tests with the corresponding data. However, this manual approach is not only time-consuming but also prone to errors. The optimal solution is to incorporate this feature directly into the library, ensuring a streamlined validation process and providing a more accurate identification of data issues.
Additional context
Furthermore, it would be highly beneficial to enhance the customization capabilities of the validation reports even further. This could include the ability to dynamically add fields from other related tables to the output. Such advanced customization would enable us to create more informative and context-rich reports, facilitating in-depth data analysis and troubleshooting in complex data projects. This level of flexibility and detail in report generation would significantly elevate the utility of the dbt-expectations library and contribute to comprehensive data quality assurance in our project.

Yep - one of the super useful features of GX itself is that you can get really useful context as to what is wrong with your data.  I'm surprised this hasn't been raised more ... this is needed if you are using the tool for data reconciliation and not just as a guarding test for generating new models. dbt allows persistence of failures, so would be great if we could try to customise what a failure looks like. In some cases, returning the raw columns is not desirable, however, as they could contain PII data, so customisation features would be handy.


Added the FAB per Tab demo

Demonstrates that when the Scaffold's Floating Action Button is changed, the new one (if any) fades and turns in.
Similar to the "Lateral Screens" demo here https://www.google.com/design/spec/components/buttons-floating-action-button.html#buttons-floating-action-button-behavior
There are more tabs and different tab views to demo more kinds of FAB changes.

lgtm


Python vs VimL

Right now I am aiming for most of the code base being in Python for the following reasons:

Need to interface with APIs for Google/StackExchange already.
Python is popular

Code base becomes accessible to more people, inviting collaboration
Quicker development (more existing libraries, more stack overflow answers, etc.)

The only reason I know of so far as to why writing a pure-VimL plugin is better is: compatibility.
I am not sure if it is faster to stay in pure VimL, but that could be the case.

This is an idea, so moving it to "icebox"


Link to new docs and grab logo from there aswell

Changes the docs link in the header to the new docs site and grabs the logo from there aswell. Fetching the logo from the docs site still isn't an ideal solution, but hey, at least it loads the icon now :P

meh, I guess good enough for now, long term we wanna establish one central place for all assets
thanks!


Patched in options to disabled RTOS handeling of main client and addons

Added option with Kconfig flags to disable RTOS. Also moved work_functions declarations to respective header files and renamed them to routines. Name work function didn't really fit with idea of them being not handled by RTOS.
Verified functionality on esp32c6 and all runned as it should.

Thanks for sharing this @havrak, I checked and thinking to this topic, I will go a bit more further but I have a clear overview of the expectation and what is great is that you can continue development of your project with this :-)
One question maybe: you separated the DISABLE CONFIG for each add-on. Is a global config also suitable for you ?

I choose to separate configs as I think there really isn't much of a need to ever control troubleshoot add-on directly. When one is changing some info in inventory/configuration more frequent polling could be needed. On the other hand troubleshoot is more or less a keep alive signal + remote shell off course, neither of which needs to be controlled, I would think.
When it comes to client RTOS functions I haven't separated them as I didn't want to implement more complex macro logic (one activates another). Not to mention even if user wanted just to control regularity of polling for updates they would have to have information whether initialization/authentication succeeded, which he currently doesn't. Thus It seemed to me that it is all or nothing. Though maybe making more of functions and information publicly accessible wouldn't be a bad thing. I can see a need on some low bandwidth devices to for example pause propagation of inventory not to waste data.
If you wish to carry on development on you own you probably can close this PR. Otherwise I can fix the issues concerning formatting and troubleshoot addon and push again.

I keep it opened for the moment because the topic is interesting to have.
I have already changed a few things merged into master, particularly regarding to the management of authentication. Will simplify the job.
Troubleshoot addon is a good point and actually this means we keep all the scheduler part in the firmware just for the keep alive. Need to think about this.
I will keep updated.

Confirmed the other Pull Request and covers this one, closing.


C6001 Incorrect when analyzing test of Pointer && Pointer[x] in VS2022

This is a follow-on to the earlier from VS2017 described here C6011 Incorrect when analyzing double-pointer for dereference of NULL where in that case a logic issue generated a proper warning on the line:
   for (size_t i = 0; tokens[i]; i++) {  /* loop until sentinel NULL */

The logic issue was corrected by first including a check of the pointer tokens and only continuing to dereference the pointer (tokens[i]) if tokens is non-NULL., e.g.
   for (size_t i = 0; tokens && tokens[i]; i++) {  /* loop until sentinel NULL */

Despite the logic correction, VS2022 continues to display a Yellow Triangle warning at this point. The warning being:
Warning	C6001	Using uninitialized memory '*tmp'.	PathTokens	C:\Users\david\source\repos\PathTokens\PathTokens\PathTokens.c	67

The VS2022 version information is:
Microsoft Visual Studio Community 2022
Version 17.4.4
VisualStudio.17.Release/17.4.4+33213.308
Microsoft .NET Framework

The warning is incorrect. The code is the same as in the prior issue with the logic corrected and is a simple program that displays the path from the environment on either Linux or Windows. The full code is included below:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>

#ifndef PATH_MAX
#define PATH_MAX 4096
#endif

#if defined (_WIN64) || defined (_WIN32)
#define PREFIX "Path="  /* constants for PREFIX and DELIM on windows */
#define DELIM ";\r\n"
#else
#define PREFIX "PATH="  /* constants for PREFIX and DELIM on Linux */
#define DELIM ":\n"
#endif

int main(int argc, char** argv, char** env)
{
    char path[PATH_MAX] = "",               /* storage for copy of environment string */
        *p = path,                          /* pointer - general use */
        **tokens = NULL;                    /* pointer to pointer for path components */

    size_t  prefixlen = strlen (PREFIX),    /* prefix length */
            ndx = 0;                        /* path tokens index */

    for (int i = 0; env[i]; i++) {          /* find PREFIX in environment */
#ifdef DEBUG
        puts (env[i]);
#endif
        if (strncmp (env[i], PREFIX, prefixlen) == 0) {
            strcpy (p, env[i] + prefixlen); /* copy path from env to path */
            break;
        }
    }

    if (!*p) {  /* if PREFIX not found */
        fprintf(stderr, "error: '%s' not found in environment.\n", PREFIX);
        return 1;
    }

    puts ("\nfull path:\n");    /* show full path to create tokens from */
    puts (p);

    /* loop moving ep (end-pointer) to next DELIM in p or last token */
    for (p = strtok(p, DELIM); p; p = strtok(NULL, DELIM)) {
        size_t  len = strlen(p);            /* length of token */
        /* realloc pointers using temporary pointer
         * adding two more than index to set sentinel NULL as last pointer
         * (sentinel NULL is optional, just add 1 if not wanted)
         */
        void *tmp = realloc(tokens, (ndx + 2) * sizeof * tokens);
        if (!tmp) {                                 /* validate realloc */
            perror("realloc-tokens");
            break;
        }
        tokens = tmp;                               /* assign new block to tokens */
        tokens[ndx + 1] = NULL;                     /* set sentinel NULL */
        if (!(tokens[ndx] = malloc (len + 1))) {    /* allocate/validate string storage */
            perror("malloc-tokens[ndx]");
            break;
        }
        memcpy (tokens[ndx++], p, len + 1);         /* copy path component */
    }

    puts ("\npath components:\n");                  /* output separated tokens */
    for (size_t i = 0; tokens && tokens[i]; i++) {  /* loop until sentinel NULL */
        puts (tokens[i]);
        free (tokens[i]);                           /* free string storage */
    }
    free (tokens);                                  /* free pointers */

    (void)argc;     /* cast to prevent -Wunused warnings */
    (void)argv;
}

Specifically, tokens is initialized NULL when defined, then in the tokenization loop, tokens is reallocated with realloc() which will either succeed or return NULL, and if it succeeds, storage for the path component is created with malloc() which will either succeed or fail returning NULL. Regardless of which occurs, tokens is validly initialized either NULL or with a valid memory address.
Worth noting the C6001 warning refers to the variable tmp used to ensure the existing pointer address is not overwritten in the event realloc() fails returning NULL -- and which went out of scope upon exit of the tokenization block.
The crux of the issue is the test tokens && tokens[i] ensures tokens is not NULL prior to the test of tokens[i]. If tokens is NULL, there is no access of tokens[i].  tokens[i] itself is a pointer that either holds a valid memory address or NULL in the case malloc() fails. In either case it does not represent a C6001 uninitialized variable. The intellisense warning should not be present.
Let me know if you need any additional information.

@drankinatty
Thanks for the report. From your description, this appears to be a product issue in code analysis, rather than a documentation issue, so I'm closing it. I recommend raising the issue instead in the C++ Developer Community forum. That's where the development team looks for issues. We here on the docs team also find product issues from time to time (since we're often the first to try out new features), and the dev team wants us to report them the same way. For more info on reporting issues, see How to report a problem. If I'm wrong, and this is something to be fixed in the documentation, then let me know, and I'll reopen the issue.

Thank you -- I'll take it there.


Only transition to new experiment once session collection is created

This depends on https://github.com/CenterForOpenScience/exp-addons/pull/44, correct?

LGTM, only final though is that callback could be moved outside of the callback. Follow your :heart:

Yes to the dependency on https://github.com/CenterForOpenScience/exp-addons/pull/44


better settings interface

Make aSettingBuilder struct, have the settings function use it and allow a user to pass settings
Maybe allow reloading the settings file?

Donezo


Garbage project and article not running or working

What is this garbage why would you upload when it's not broken.
This article is all wrong. I tried it in my own project and the thymleaf framework is broken:
Caused by: org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fragments/footer], template might not exist or might not be accessible by any of the configured Template Resolvers (template: "greeting" - line 19, col 13)

<link rel="stylesheet"<EMAIL_ADDRESS>/>
<link rel="stylesheet"<EMAIL_ADDRESS>/>

........

 Analysis

Getting Started

https://www.thymeleaf.org/doc/articles/layouts.html

I found your issue. No where do you specify that the fragments folder needs to be inside the templates folder. Please update the article immidietly explaining the correct file paths.

Your project still doesnt run. You'll have to fix that

I'm glad you found the issue in your code. I'm closing this and locking the conversation due to your inacceptable language. Please keep from using this tone in Thymeleaf's support infrastructure in the future.


Backdrop disable  the entire screen instead of just the div

Hi,
The backdrop and the indicator  are displaying on the entire screen instead of the just the div that include the [ngBusy] property.  The div display a table and I want that the indicator apply just on this table - like the  demo .  But the backdrop and the indicator are displaying on the entire screen.
The div:

Thanks,
David

Here is the div for the table :
![image](https://cloud.githubusercontent.com/assets/20335174/24200474/d9754478-0f15-11e7-947c-7fb396d55952.png)

Hi! I'm also facing this issue.
I'd like to block just part of my screen and not it entirely. How can I achieve that?
Thanks,
Gustavo.

Hi, @DavidOs55 , @gustavofrancoporto , have you tried this https://github.com/devyumao/angular2-busy#the-indicators-position-is-not-inside-the-ngbusy-container ?

Hi @devyumao. Yes I tried this but it didn`t work.

I have same issue.
And found following:
Below working:

		....

Following is not working:

	--

I am having same issue, and found following:
Following working (i.e. adding style to parent div tag work):
<div style="position: relative; left: 10px; top: 10px;">
	<div [ngBusy]="busy">
		....
	</div>
</div>
Following not working:
<div [ngBusy]="busy" style="position: relative; left: 10px; top: 10px;">
	--
</div>

Sorry, I might have done something wrong. It's working when there is a parent div with position relative.


[SP] UX with polymer

First version to leverage Polymer in SP sample.

@leonhsl @halton Please help to review. Thanks!

@DonnaWuDongxia please fix the style check errors.

@halton updated, thanks!

Other than the 2 comments above, lgtm.
Will merge now and you can address the comments with a follow up PR. Thanks~

Merged


fix: handle rounding errors for acos

Rounds values x which are slightly greater than 1.0 or less than -1.0 back to 1.0 and -1.0, respectively, before calling acos(x).

I only found one call to acos in Snowflurry.


Airspy is off, but required

Although I have not compiled it with Airspy support, Airspy is needed anyway.
I fear, there is an if missing somewhere.
$ cmake ..
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- The CXX compiler identification is GNU 11.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type not specified: defaulting to release.
-- libdabsdr found: /home/andreas/apps/AbracaDABra/lib/linux_x86_64/libdabsdr.so
-- Checking for one of the modules 'rtlsdr'
-- Checking for one of the modules 'usb-1.0'
-- Checking for one of the modules 'faad'
-- Checking for one of the modules 'mpg123'
-- Checking for one of the modules 'portaudio-2.0'
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/andreas/apps/AbracaDABra/build
andreas@andreas-HP-EliteDesk-800-G2-SFF:~/apps/AbracaDABra/build$ LANG=C make
[  2%] Automatic MOC and UIC for target AbracaDABra
[  2%] Built target AbracaDABra_autogen
[  5%] Generating qrc_resources.cpp
[  8%] Building CXX object gui/CMakeFiles/AbracaDABra.dir/AbracaDABra_autogen/mocs_compilation.cpp.o
In file included from /home/andreas/apps/AbracaDABra/build/gui/AbracaDABra_autogen/EWIEGA46WW/../../../../gui/setupdialog.h:11,
                 from /home/andreas/apps/AbracaDABra/build/gui/AbracaDABra_autogen/EWIEGA46WW/../../../../gui/mainwindow.h:18,
                 from /home/andreas/apps/AbracaDABra/build/gui/AbracaDABra_autogen/EWIEGA46WW/moc_mainwindow.cpp:10,
                 from /home/andreas/apps/AbracaDABra/build/gui/AbracaDABra_autogen/mocs_compilation.cpp:11:
/home/andreas/apps/AbracaDABra/build/gui/AbracaDABra_autogen/EWIEGA46WW/../../../../gui/airspyinput.h:7:10: fatal error: libairspy/airspy.h: No such file or directory
    7 | #include <libairspy/airspy.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [gui/CMakeFiles/AbracaDABra.dir/build.make:129: gui/CMakeFiles/AbracaDABra.dir/AbracaDABra_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:99: gui/CMakeFiles/AbracaDABra.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

My version is:
$ git show
commit 08923171f745a1cb79ec7d4a6f38b060a08012a2 (HEAD -> main, origin/main, origin/HEAD)
Merge: 154eaaa 97e9da3
Author: KejPi<EMAIL_ADDRESS>Date:   Fri Jan 13 14:21:14 2023 +0100

    Merge branch 'main' of https://github.com/KejPi/AbracaDABra

Please do "cmake .." from empty folder or at least delete cmake cache. Options are cached by cmake and they are not overwritten subsequent calls.

I did of course

Thanks!

Thank you!


Disable functionality does not work as one would expect

:beetle: Bug Report
Affected Feature
disabled
Description
In the first example you can see that by disabling the first element of the tree, all its children are disabled.

In the second example it can be seen that disabling only the second tree element happens that:

the first element is enabled as expected
the second element is disabled as expected
children of the second element are not enabled as expected

Perhaps the disabled feature was designed just as it is working right now, so it is actually not a bug but an architectural choice.
However what I would have expected is to be able to choose element by element enabled/disabled without having the influence from the parent element.
I thank you in advance for reading my problem and thank you for what you are doing for the plugin.
(I don't think it's my best English but I hope you can understand it, in case ask me for clarification and I will try to explain myself better).
:earth_africa: Your Environment
Current Version
v1.4.2

Thank you for reporting this issue and providing detailed examples. It appears that the disabled feature of the "MUI X Tree View" component is currently working as intended, with the parent element influencing the state of its children. However, you have raised a valid point about the potential for more flexibility in choosing the enabled/disabled state of individual elements without being influenced by the parent element.
We appreciate your feedback and will investigate if it's possible to add more flexibility.

@ShikaruAriki, we have explored the possibility of adding more flexibility to the disable functionality. However, at the moment, the 'MUI X Tree View' component does not provide this option. We are open to revisiting this if the situation changes in the future.


AzureFunctionApp does not work with storage account key vault reference and linux consumption plan

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureFunctionApp
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/AzureFunctionAppV1
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/AzureFunctionAppV2
Interestingly, v2 does not seem to be published to the market place?
Environment

Azure Pipelines

If using Azure Pipelines, provide the account name, team project name, build definition name/build number: I can disclose this information through private channels

Issue Description
When deploying a function app to a linux consumption plan hosted function app service with a key vault reference in the property AzureWebJobsStorage, the task will fail with the error message: Unable to find the storage account associated with the function app.
Value I am using: @Microsoft.KeyVault(VaultName=myvault;SecretName=mystorageaccount-ConnectionString)
Interestingly deploying through Visual Studio 2022 (17.2) works fine.
func cli fails; version 4.0.4590 with the error Error creating a Blob container reference. Please make sure your connection string in "AzureWebJobsStorage" is valid. For this it appears there is already an issue opened: https://github.com/Azure/azure-functions-core-tools/issues/2564
Task logs
I can disclose this through private channels

I have the same issue. For now, I resorted to setting the connection string directly for the AzureWebJobsStorage key, instead of using a key vault reference. However, this feels less secure, so it would be great if this could be fixed.
@nadesu , this issue has been auto-assigned to you, would you play a role in addressing this issue and if so, do you have any idea if this will be fixed somewhere in the (near or distant) future?

Hi, I will test this soon and come back to this work item and update you.

Any update on this issue? It seems like it's still a problem...

Hi, still thinking about how best to implement this. Would you be happy to add the Service Principal directly and manually to the Key Vault to enable this functionality?

Which service principal?

ideally we should be leveraging managed identity. The function app MI should have the appropriate azure rbac permissions onto the storage account
when using connectionstring stored in a key vault secret as a fallback, the function app MI should have appropriate rbac permissions on the key vault secret. Like the other settings work.

In both cases this should be done upfront before running the azure pipelines task.

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

I don't think this issue should be closed, this should be fixed.

This is still a problem for me, not stale.

Has there be any progress? We moved all access to Storage Sccounts to RBAC, for the deployments we still have to have the Storage Connectionstring in the portal settings under AzureWebJobsStorage :(

Same issue. I found this SO answer that claims to have gotten it to work by setting appSettings in the pipeline yaml. I haven't been able to reproduce though.

I have had the same issue and after a lot of digging found this post. I'm experiencing the same, actually the same issue for both

Function App - Linux - Consumption plan
Function App - Windows - Consumption plan

The;

WEBSITE_CONTENTAZUREFILECONNECTIONSTRING resolves correctly to keyvault
AzureWebJobsStorage does not resolve to keyvault and fails. Setting the connection string to the same value as the keyvault secret using ARM makes it work (no keyvault..)

I have tested det SO answer @reubano for both cases Linux and Windows  but couldn't get it working so I'm not sure but have my doubts, it says nothing about which app plan is been used as far as I can tell, so might not be consumption based.


GCIntranet: Breadcrumbs default

Move from GCCode: https://gccode.ssc-spc.gc.ca/iitb-dgiit/nw-ws/sgdc-cdts/issues/127
@shawnthompson created the issue
Should the breadcrumbs have a default home like GCWeb?
https://ssl-templates.services.gc.ca/app/cls/WET/gcintranet/v4_0_32/cdts/appTop/appname-fr.shtml
GCIntranet doesn't

@MaximMartel Could you confirm this issue is still valid for version 4.0.39 ? Thanks.

This is speculation at this point as no requirement has been received. This issue can be shelved for now.


Fix get_real_path, broken by previous patch

My previous patch accidentally broke get_real_path because the <<
operator for std::filesystem::path uses std::quoted to protect the path
from getting split if it contains spaces, meaning it doesn't work to
build a path.  I've modified it to use fs::path construction instead of
string-based construction, which fixes the issue for me.  Apologies
for the broken build :/

Thank you.

No worries, you fixed it the next day, which is cool ;-)


sys/linux: Additional Descriptions for Mali GPU Driver

I noticed that the syscall description for Mali GPU Driver fuzzing was missing the KBASE_IOCTL_KINSTR_PRFCNT_* related ioctls, so I added them.

Oh, I forgot to remove "amd64:" before submitting the pull request.
PRFCNT_CONTROL_CMD_DISCARD = amd64:5
PRFCNT_CONTROL_CMD_SAMPLE_SYNC = amd64:3
PRFCNT_CONTROL_CMD_START = amd64:1
PRFCNT_CONTROL_CMD_STOP = amd64:2


As an extension provide a bind directive for two way data binding to a property

As I convert my elements over from Polymer 3 to lit element I am having to implement a lot of boiler plate handling of change events. I originally raised a suggestion on lit-html but it was pointed out there that a directive might be a better solution.
https://github.com/Polymer/lit-html/issues/573
Maybe lit-element could provide an extensions directory with this sort of directive for lit element (and any other appropriate ones related web components)

Sorry for the delay. We're disinclined to add this to LitElement since we don't want to encourage use of 2-way bindings at this point because although they can make simple things easier, they become an impediment to understanding at a moderate level of complexity.
 Here's an example of how you could write a directive to automatically wire up an event-based 2-way binding system, similar to Polymer's. This example should also be compatible with the data events Polymer sends.
https://glitch.com/edit/#!/fantasy-desk?path=bind.js:6:0

Thanks for the example.  Ironically I have now completed my Polymer 3 to LitElement migration and much of the earlier boiler plate that I wrote got changed into more specific management of the situation.  In the most complex part of my application - an appointment management system - one top level management element handles all the data (storage, distribution, keeping a backend database in sync etc), but user interactions to change that data are more conveniently handled by pairs of elements working together.  One sits down the hierarchy of elements and is responsible for displaying a field value in its appropriate form.  There may be many instances of this element. The other is a (singleton) dialog management box which allows the user to change the field value.  Because these fields types are not only handled in appointments but in other parts of the application, the dialog box sits at the subsystem selection (I call page selection) level of the app and the two communicate via events.  When the ui finds out the dialog changed its value it has to communicate this fact back up to the data manager.  So with LitElement this ends up being an event, but one which bubbles all the way up the hierarchy to the data manager.
So as I slowly remove Polymer 3 elements from this heirarchy, there is less and less two way databinding going on and more longer distance events.
I am now in the process of slowly removing my dependance on <paper-*> elements.  I am more sceptical about whether I can remove the two way data binding dependance here.  We shall see.


Added an S3 BucketHolder

s3.py currently does two bad things:

Access settings in the top level, which isn't really allowed and caused me enough problems to motivate this change.
Attempts to connect to S3 immediately, which is a needless overhead when running ./manage.py test and also causes some other problems.

The solution presented here is a singleton which is initialised the first time that S3 is accessed. The changes also includes the fixes needed for Python 2.7.11.

Looks good, other than that slightly surprising check.


for lm in results.pose_landmarks.landmark:

Hi! I wrote a script that monitors the position of the landmarkers and determines the topmost point for the Y.
INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Traceback (most recent call last):   File "body-tracking-videofile.py", line 28, in <module>     for lm in results.pose_landmarks.landmark: AttributeError: 'NoneType' object has no attribute 'landmark'

Fix my problem:
send_coordinate = [int(highest.x*1000), int(highest.y*1000)]


Fixed formatting in H2s

@lindalu-MSFT Thanks for this contribution! No idea why it hadn't been merged earlier.


[!] Nuitka magic header mismatch

C:\User\ToolBin>nuitka-extractor.exe App.exe
[+] Processing App.exe
[+] File type: PE
[+] Payload size: -6899338464066494456 bytes
[!] Nuitka magic header mismatch

Did you find a solution to the error?

Nope
Le mar. 9 janv. 2024 à 23:48, Enes @.***> a écrit :

Did you find a solution to the error?
—
Reply to this email directly, view it on GitHub
https://github.com/extremecoders-re/nuitka-extractor/issues/4#issuecomment-1883920907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4ZOO7LJAFCSZAHSBCYB66LYNXCLBAVCNFSM6AAAAAA27AXFBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTHEZDAOJQG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I found a solution but I don't understand what to do. you should try.
https://giters.com/extremecoders-re/nuitka-extractor/issues/2

Thanks, I'll check it out.
Le mer. 10 janv. 2024 à 12:19, Enes @.***> a écrit :

I found a solution but I don't understand what to do. you should try.
https://giters.com/extremecoders-re/nuitka-extractor/issues/2
—
Reply to this email directly, view it on GitHub
https://github.com/extremecoders-re/nuitka-extractor/issues/4#issuecomment-1884657450,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4ZOO7PSQXIYJTQ7D26I2BDYNZ2N5AVCNFSM6AAAAAA27AXFBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUGY2TONBVGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

waiting for your feedback after checking

Your need to make it automated remove the mismatch issue and decompile, if it’s manually use hex editor there are many more issue.

Please upload the file somewhere if you want me to take a look.

Please try with the latest release. Should successfully extract both of your files.


VSAS species list

Emma provided the following by email 15/11/2023:

Please find attached an updated spreadsheet with all of the options for the app, include a new tab called ‘species dropdowns’ which details the groupings we would like on the observation form. For example, user selects ‘gulls’ from first drop down and the corresponding list of gull species appears in the second dropdown.
I have provided the ESAS codes for each species (where possible, a few don’t have one) and it would be great if the app could record the ESAS codes in the background so that the data which the app spits out is in ESAS codes, rather than species name.

New form layout_FOR IDOX.xlsx

I wonder whether we need to revisit this, in the light of earlier discussion. Aside from having a single searchable list favoured by two volunteers, should we consider pulling all unidentified spp into the relevant group?
I think it would also be good to decide how to approach the single searchable list thing, as it seemed to divide opinion - by gender, strangely, though sample size was too small to draw conclusions! Claire's wondering whether we can present the full searchable list if no group is selected, which would give the best of both worlds but will be challenging to configure.

NB: if we go down the species code route, using BTO codes, we will need a list of codes for the species covered by VSAS.

Tim mentioned that lists were prioritised by how common they were so need to display as listed.

I can add BTO codes to the end of species common name so that both are searchable e.g. 'Gannet (GX)' and update the spreadsheet to show this.
Sorry, I am aware that there are now several versions of this spreadsheet within GitHub. Once I've updated it again with BTO codes,  I will try to go around and remove the old versions to avoid confusion!

I found most of the BTO codes so have included them but there are a couple of species that don't have a code. Anthony mentioned that there are BTO codes for generic spp. but I couldn't find them.

I'm just waiting on Anthony sending me these and I will then upload the updated spreadsheet!


Expressions in DEFAULT clause work for postgresql driver, but not mysql driver

Version
1.14.0
What happened?
Running sqlc generate with the "mysql" driver against a DDL with expressions in a column DEFAULT clause fails with an SQL syntax error message.
Changing the "engine" from "mysql" to "postgresql" in the playground link below results in successful code generation.
Relevant log output
sqlc generate failed.
# package db
query.sql:5:43: syntax error near "BIO_FUNC()"

Database schema
-- Example queries for sqlc
CREATE TABLE authors (
  id   INT PRIMARY KEY,
  name text      NOT NULL,
  bio  text      NOT NULL DEFAULT BIO_FUNC()
);

SQL queries
No response
Configuration
{
  "version": "1",
  "packages": [
    {
      "path": "db",
      "engine": "mysql",
      "schema": "query.sql",
      "queries": "query.sql"
    }
  ]
}

Playground URL
https://play.sqlc.dev/p/abfc94a7837eec5ceee75e58e7db6dcd6654f4055bbf241bb72ef2306deacd44
What operating system are you using?
No response
What database engines are you using?
MySQL
What type of code are you generating?
Go

We've upgraded to the latest version of the MySQL parser which should fix this issue.


Adding toBeBoolean

Adding toBeBoolean matcher

closed in favour of #88 feel free to send another pull request @subinoy7 :smile:


Upgrade expo example app

Hi, Thanks for your amazing library :)
This PR updates the Expo version to 51 for the example app.

Thanks @betomoedano! Also in a future PR, I'm likely going to remove the ios folder so that users can just prebuild to generate it themselves.

I was about to suggest that!
I can create a PR for that :)

@betomoedano Thats okay I already merged it in #47. Thank you tho!


Add a DashboardURL row to svcat describe instances

#2257

/assign @carolynvs

/ok-to-test

/cc @jberkhahn
/assign @jberkhahn

/lgtm

/approve

Thanks for adding this @robertscherbarth! 💯 And let me know if you are interested in more good first PRs, I'm going to make a bunch more issues this week and can add more detail to them so that new contributors can tackle them.


how to solve the nesting problem ../../../../ for jest

Not sure if this is really a bug, but I just spent a good amount of time pulling my hair out on this issue. Wanted to post something in case anyone else has run into this problem and is trying to solve it.
Problem: Using require('../../../../some/module') gets unwieldy when folder structure gets out of hand. especially when writing tests. When it comes time to refactor, it's a serious pain.
Solution: N.B. this does not work in Windows. Reading https://github.com/focusaurus/express_code_structure#the-app-symlink-trick also referenced in Solution 1 of https://gist.github.com/branneman/8048520 works great.
New Problem: For some reason (that wasn't obvious to me) Jest has trouble mocking and overriding modules with the symlink hack. Tests that had worked before were now breaking because modules were not mocked as expected when implementing symlinks.
New Solution: After hacking around, I finally figured out that you need to do the following:

Create a package.json inside your JS code root folder and name your module. I had a package.json already, to manage build scripts, and modules for developing my app. But all my JS code was in a folder client/js two levels below where my package.json actually lived. (My app also has a bunch of server side code in PHP).

Create a symlink from the directory in which you're going to run jest-cli into node_modules using the name of your package. For me, this is in the root directory of my project. Ergo: ln -s client/js node_modules <name of module>. Instructions referenced in above two sources all had ln -s executed from within the node_modules folder. You could also create a symlink from the root of your machine into node_modules.

Check the symlink into source control just to keep track of it git add -f node_modules/<name of module>

After this, my tests started working again and Jest was able to properly mock the modules. Feedback is appreciated because I'm not sure if this has other negative ramifications.

+1 this worked for me. Added a package.json file with the same name attr as the symlink. Thanks.

:+1:

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

Thanks for the description! There is nothing actionable here so I'm closing the issue. If there is anything you'd like to be changed in jest, please feel free to reopen.

In case you want to extend the documentation please feel free to send a pull request!

+1 Thank you for sharing this solution!


update the aggregation func of the recording rule

The related issue: https://issues.redhat.com/browse/ACM-11971

/test images

/test images

/test images

/lgtm

/test images

/test images


[bug] test_statistics calculates for the last epoch

https://github.com/uber/ludwig/blob/d70bc4aff35e6ac3c4a17a828e080e703e33bce6/ludwig/experiment.py#L388
The issue here that I see test/validation statistics for the last epoch,  not last improved.
Is that a bug or the feature?

Let me look inot it. Also, that part of the code will undergo quite some substantial reworking before v0.3 exits the alpha stage anyway, so this it is great that if this is an error we are catching it now.

Can you please check the commit above? it should solve the issue.
If the model was saved during training, i.e. we have a way to recover the model saved at the epoch where max performance on validation is reached, we load it before runnign the prediction.
If the model was not saved during training, we can only use the model at the last epoch, which is what the training process returns.
Please confirm if this is ok for you.

@ifokeev did you have time to check this out?


Add LS_COLOR support

It would be nice to have LS_COLOR support, or any of the same kind to have color depending on the file type.

Sorry, wrong project


Lucascontreras/typescript v2

Overview
typescript-v2

[ ] Bug
[x] Feature
[ ] Tech Debt

Description
Started migrating to typescript, currently working on index.tsx
Previous behavior
N/A
Expected behavior
N/A
Screenshots & Videos
N/A
Additional context
N/A

Looks good to me!


Not JS merge compliant

https://github.com/Flagbit/Magento-FACTFinder/blob/73061d7e6dbb1935b9e288bda513b125c042dd87/src/js/factfinder/suggest.js#L183
Hello,
This part of code :
function($super, form, field, emptyText, i18n, defaultChannel) {         $super(form, field, emptyText);
provocke a JS crash after our automatic JS merging. It is compressed as :
function(t, f, e, x, i, d) { t(f, e, x);
Which throw the error :

t is not a function

How this code can be modified to be mergeable compliant ?
Thanks

Which minify/compressor tool do you use and which tool merges the scripts? Maybe the scripts are merged in wrong order.
If the plain javascript is running fine the problem is the compressor in most cases or the order while merging. The magento standard merge functionality will merge correctly if you do not touch the creation process.
The problem is not in this line of code. The problem is caused before the call of this function, because the parameter "t" does not contain a callable. "t" is coming from outside this function.
If you want to find the root cause, you should have a look in your js debuggers stack trace to see where the given parameters come from and why they are broken.

Yes you are right. I excluded this file from my merging tool and now all is ok.
Thanks


Configure Hibernation via boolean in Shoot spec

What this PR does / why we need it:
The current behavior of triggering Gardener to hibernate or wake-up a shoot uses implicit logic. Furthermore, the fact that losing min and max values for the worker pools after hibernating a Shoot is unfortunate. This PR introduces a new field in the Shoot spec allowing to set true/false in order to trigger the hibernation/wake-up. The old behavior does still work but we have to remove this in a future version because we don't to maintain two different approaches.
Which issue(s) this PR fixes:
Fixes #191
Special notes for your reviewer:
none
Release note:
Gardener does now support the `.spec.hibernation.enabled` field in the Shoot specification for triggering hibernation/wake-up. The current behavior (setting `min=max=0` for all worker groups) is still supported but deprecated and will be removed in a future version.

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

LGTM

@Adracus @zanetworker We have rebased our branch, addressed and adressed your feedback. Kindly do another review.

LGTM


Disconnected molecule

Jira: https://issues.redhat.com/browse/OSPRH-11630

Looks like the edpm-ansible-molecule-edpm_podman failure is related to the change. We should not override rdoproject.org/github-check ignoring that.
`
TASK [Test podman network ls] **************************************************
Thursday 14 November 2024  02:22:49 -0500 (0:00:00.101)       0:00:06.785 *****
changed: [instance]
TASK [Assert registries.conf matches] ******************************************
Thursday 14 November 2024  02:22:50 -0500 (0:00:00.629)       0:00:07.414 *****
fatal: [instance]: FAILED! => changed=true
backup: ''
failed_when_result: true
msg: line added
`

Yeah, this one was a legitimate failure. Sorry, that's what I was trying to say on the meeting last night. But the other one:
https://github.com/openstack-k8s-operators/edpm-ansible/pull/808
That one is failing in adoption jobs, and I believe the failure to be unrelated.
https://github.com/openstack-k8s-operators/edpm-ansible/pull/808#issuecomment-2475447823

recheck


Why not _.consume ?

Hi,
I saw in the docs and even in a few issues here, that if I want to do asynchronous actions, I better use .flatMap.
Now, I am using .consume for asynchronous actions, and it's working great.
Am I missing something ? Maybe causing memory leaks along the way ?
Thanks.

consume is a lower-level API than flatMap is, so it's naturally more powerful, but harder to use. With consume, you have to deal with nil and next and errors, and in general more bookkeeping/boilerplate to do.
That's why we recommend that you use flatMap if it meets your needs. One thing that flatMap does for you is catch exceptions thrown from your mapper function and re-emit them as errors in the stream. consume won't do that.
So there's nothing wrong with using consume. Sometimes you'll need to use it, but flatMap is easier to use, and most of the time, it's good enough.

Ok Thanks !


fix: issue on dependencies auro--select for matchWidth for the value to much long

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: Demo for flexible width containers #101
Summary:

Set the triggerContentWrapper css to have truncated ui
set  label css have white-space: nowrap (handle when the label have more text)

I attached the screenshot in my local base the modified:

Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 2.10.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Need for Dynamic EagerLoading

Laravel Version: 5.5
PHP Version: 7+
Database Driver & Version: mysql 5.7+

###Scenario:
I have a SaaS application that has flexible database structure, so its fields are bound to change, especially given it has a Json field (for any extra database structure to be created from client side of the application), including relationship based fields. so Account Table can have dynamically created employee_id field, and thus the need to access relationships dynamically
###Problem:
I need to EagerLoad models based on this dynamic relationship. If I had something like this:
// Account Model
public function employee(){
	return $this->belongsTo(App\Employee);
}

it would be easy. But what I have is this:
public function modelBelongsTo(){
	return $this->belongsTo($dynamicClassName, $dynamicForeignKey);
}

Now if I eager load this, I'll get Account Model instance with related Employee on key modelBelongsTo. This is how Eloquent Names based on the function of eagerload. But after this I cannot use this function again to eagerload a second model because it'll just overwrite results on modelBelongsTo key.
Possible Solution Directions:

Can I Somehow change laravel's process to use a name I provide?
or
Can I write functions on the fly to overcome this so I'll write employee function on the fly?
or
Worst Case Scenario: I iterate over all records to rename their keys individually because I am using a pagination, it wouldn't that big of a deal to loop over 10 records.

Hi there,
Welcome to Laravel and we are glad to have you as part of the community.
Unfortunately this github area is not a support area for general application issues. This is only for issues/bugs with the framework code itself.
Can I please suggestion closing your issue ticket here. Instead trying asking your question on one of the many great community support areas that will likely give you a better answer more quickly:

Laravel Slack (https://larachat.co/)
Laravel.io Forum (https://laravel.io/forum)
Laracasts Forum (https://laracasts.com/discuss)
StackOverflow (http://stackoverflow.com/questions/tagged/laravel)

Thanks in advance.

What a great response to redirect people to support pages, great work @laurencei!
/cc @Dylan-DPC

@rosDNsf can you stop mentioning me everywhere? :stuck_out_tongue: If you want to reply to people with links to support, feel free to do so


Incorrect cursor in case of input in legend of disabled fieldset

By spec, the disabled attribute, when specified, causes all the form control descendants of the fieldset element, excluding those that are descendants of the fieldset element's first legend element child, if any, to be disabled.
https://html.spec.whatwg.org/multipage/forms.html#the-fieldset-element
HTML:
<fieldset disabled="disabled">
<legend>
<input type="checkbox"> Not disabled
</legend>

<input type="checkbox"> Disabled

</fieldset>

Expected behaviour: Disabled label should has not-allowed cursor, but Not disabled shouldn't.
Observed behaiour: Not disabled label also has not-allowed cursor.
Bootstrap version: v3.3.7
CSS causing error:
.checkbox.disabled label,
.radio.disabled label,
fieldset[disabled] .checkbox label,
fieldset[disabled] .radio label {
    cursor: not-allowed;
}

Suggested solution:
.checkbox.disabled label,
.radio.disabled label,
fieldset[disabled] > .checkbox label,
fieldset[disabled] > .radio label,
fieldset[disabled] > :not(legend) .checkbox label,
fieldset[disabled] > :not(legend) .radio label {
    cursor: not-allowed;
}

Notice: it's possible that there are other selectors affected with same problem.

Bootstrap 3 is essentially in maintenance mode as we focus on working towards a stable v4. As such, we're only accepting changes to v3's code on a case-by-case basis, usually only for critical bug fixes or docs improvements.

This is a saved reply.


Quickfix for issue #126

Issue #126
It was just a typo

I think that was my fault? well oops, my bad!


Do not require Kerberos preauthentication

The first row in the Remediation table should list "Remove Do not require Kerberos preauthentication" under "Recommended Action". The phrase "Remove Use Kerberos DES encryption types for this account" is for the last row.

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

ID: cade1b68-cd1e-0772-f0ed-f639cbc6bbce
Version Independent ID: c43b2bee-dce5-4337-3618-5224aa13597e
Content: Microsoft Defender for Identity unsecure account attributes assessments
Content Source: ATPDocs/cas-isp-unsecure-account-attributes.md
Service: microsoft-defender-for-identity
GitHub Login: @shsagir
Microsoft Alias: shsagir

@stephanwaelde Thanks for contacting Microsoft with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

@stephanwaelde Thanks for contacting Microsoft with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

@stephanwaelde Thanks for your feedback. Please can you provide a little more detail on the issue you raised?

@stephanwaelde Thanks for your feedback. Please can you provide a little more detail on the issue you raised?

Hi Shlomo,
sure. The table in https://docs.microsoft.com/en-us/defender-for-identity/cas-isp-unsecure-account-attributes#remediation has six rows.
[https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png]https://docs.microsoft.com/en-us/defender-for-identity/cas-isp-unsecure-account-attributes#remediation
Microsoft Defender for Identity unsecure account attributes assessments | Microsoft Docshttps://docs.microsoft.com/en-us/defender-for-identity/cas-isp-unsecure-account-attributes#remediation
Security assessment: Unsecure account attributes. 10/26/2020; 2 minutes to read; s; m; In this article What are unsecure account attributes? Microsoft Defender for Identity continuously monitors your environment to identify accounts with attribute values that expose a security risk, and reports on these accounts to assist you in protecting your environment.
docs.microsoft.com
[cid:2eba9c4f-7409-479f-aba1-1eb0e26ca14a]
The wording "Remove Use Kerberos DES encryption types for this account" occurs in row 1 and in row 6. It is correct in row 6.
But in row 1 it should be "Remove Do not require Kerberos preauthentication" instead. "Remove Do not require Kerberos preauthentication" is an Unsecured account attributes recommended action, and it fits to the reason given in row 1.
Regards,
Stephan

From: Shlomo Sagir<EMAIL_ADDRESS>Sent: Thursday, January 14, 2021 3:41 PM
To: MicrosoftDocs/ATADocs<EMAIL_ADDRESS>Cc: Stephan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/ATADocs] Do not require Kerberos preauthentication (#458)
@stephanwaeldehttps://github.com/stephanwaelde Thanks for your feedback. Please can you provide a little more detail on the issue you raised?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/ATADocs/issues/458#issuecomment-760238857, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP6QOOZGO6L2F7V4GGEWQMDSZ37BHANCNFSM4WBAGYKA.

Hi Shlomo,
sure. The table in https://docs.microsoft.com/en-us/defender-for-identity/cas-isp-unsecure-account-attributes#remediation has six rows.
[https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png]https://docs.microsoft.com/en-us/defender-for-identity/cas-isp-unsecure-account-attributes#remediation
Microsoft Defender for Identity unsecure account attributes assessments | Microsoft Docshttps://docs.microsoft.com/en-us/defender-for-identity/cas-isp-unsecure-account-attributes#remediation
Security assessment: Unsecure account attributes. 10/26/2020; 2 minutes to read; s; m; In this article What are unsecure account attributes? Microsoft Defender for Identity continuously monitors your environment to identify accounts with attribute values that expose a security risk, and reports on these accounts to assist you in protecting your environment.
docs.microsoft.com
[cid:2eba9c4f-7409-479f-aba1-1eb0e26ca14a]
The wording "Remove Use Kerberos DES encryption types for this account" occurs in row 1 and in row 6. It is correct in row 6.
But in row 1 it should be "Remove Do not require Kerberos preauthentication" instead. "Remove Do not require Kerberos preauthentication" is an Unsecured account attributes recommended action, and it fits to the reason given in row 1.
Regards,
Stephan

From: Shlomo Sagir<EMAIL_ADDRESS>Sent: Thursday, January 14, 2021 3:41 PM
To: MicrosoftDocs/ATADocs<EMAIL_ADDRESS>Cc: Stephan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/ATADocs] Do not require Kerberos preauthentication (#458)
@stephanwaeldehttps://github.com/stephanwaelde Thanks for your feedback. Please can you provide a little more detail on the issue you raised?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/ATADocs/issues/458#issuecomment-760238857, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP6QOOZGO6L2F7V4GGEWQMDSZ37BHANCNFSM4WBAGYKA.

@stephanwaelde Thanks for your feedback. We've submitted a documentation change based on your suggestion, and the updated article should be live by tomorrow. Please let us know if there's anything more we can do for you. To follow up on this issue, leave us a comment with an @mention.

@stephanwaelde Thanks for your feedback. We've submitted a documentation change based on your suggestion, and the updated article should be live by tomorrow. Please let us know if there's anything more we can do for you. To follow up on this issue, leave us a comment with an @mention.


Replace MapQuest tiles with standard OSM tiles

I like this plugin and this makes me a sad panda:

So the two basic examples now work with standard OSM tiles.
Bisou.

Hehe, I thought I had changed it for all my plugins when Mapquest pulled the plug, but apparently I forgot this one. I should also give it some time to update it with modern bells and whistles, but that's another topic.
Thanks @nerik, and bisou too :)