Customize ("fixup") Lisp packages before building?

I am looking for a way to customize the set of Lisp package derivations before they are built. Is this supported in the API? Or else how might we support it?
For example I would like to add a failureHook so that broken packages will be "built" into debug information.
I tried to do it like this:
let pkgs = import nixpkgs {};
    baseLispPackages = pkgs.lispPackages_new.sbclPackages;
    updateDerivation = d: d.overrideAttrs (o: {
      failureHook = ''
          ...
        '';
    });
    lispPackages = builtins.mapAttrs (n: v: updateDerivation v) baseLispPackages;
    pkg = builtins.getAttr lispPackage lispPackages;
    in

but I don't think this works because the modified derivations will include references to old unmodified definitions of their dependencies. Somehow I need to have the updated derivations all refer to each other.
I have a few ideas of how to approach this...

Add an API function to return Lisp package definitions as attribute sets so that they can be modified before calling build-asdf-system.
Make Lisp package definitions into functions that are called with callPackage to resolve their dependencies before creating their derivation.
Stealing some clever ideas from other languages' packagings...

But I'm not sure which approach makes sense so I'd be glad for some advice.

There's no such API now,
I don't have any advice , but I will put it on my brain's to-do list :)
There is a similiar thing when overriding dependencies of Quicklisp imported packages with manually specified ones: https://github.com/Uthar/nix-cl/blob/60dbe8f643eced491762bca2cf2ff5b0f998fdb3/packages.nix#L50-L52

They have an example with Python packages on the wiki https://nixos.wiki/wiki/Overlays#Python_Packages_Overlay

@Uthar I suspect that we need to make some changes to the structure of the packages if we want to do python-style overlays. I wrote some thoughts at https://github.com/NixOS/nixpkgs/pull/193754#issuecomment-1272877277. Do you agree @Uthar or do I misunderstand?

It sounds good to make it callPackage friendly. It will also be more in-line with other code in nixpkgs, like the pythonPackages.
I don't know how to do this though and have no alternative idea for now.

Thanks for the sanity-check. I'll see if I can make a proof-of-concept to understand the topic better. I am still figuring out how the various nixpkgs overriding mechanisms really work.

hmm maybe changing the api a little bit, from sbclPackages -> sbcl.pkgs will make it easier, then one could just sbcl.overrideAttrs -> packageOverrides like the python example

maybe a mkLisp function that "adds"  pkgs attr set and withPackages function to sbcl

We should check out lib.makeScope:
Make a set of packages with a common scope. All packages called
with the provided `callPackage' will be evaluated with the same
arguments. Any package in the set may depend on any other. The
`overrideScope'` function allows subsequent modification of the package
set in a consistent way, i.e. all packages in the set will be
called with the overridden packages. The package sets may be
hierarchical: the packages in the set are called with the scope
provided by `newScope' and the set provides a `newScope' attribute
which can form the parent scope for later package sets.

@lukego Do you want to test your use case again on the scope branch?
Example from nix-cl git repo:
$ nix repl
Welcome to Nix 2.11.1. Type :? for help.

nix-repl> :lf .
Added 13 variables.

nix-repl> lib.sbclPackages.bordeaux-threads.lispLibs
[ «derivation /nix/store/sd4zrcywjca98v34r6p71i6lvd1r0i1m-alexandria-20220707-git.drv» ]

nix-repl> lib.sbclPackages.alexa
lib.sbclPackages.alexa                        lib.sbclPackages.alexandria_plus
lib.sbclPackages.alexa-tests                  lib.sbclPackages.alexandria_plus_slash_tests
lib.sbclPackages.alexandria                   lib.sbclPackages.alexandria_slash_tests
nix-repl> lib.sbclPackages.alexandria
«derivation /nix/store/sd4zrcywjca98v34r6p71i6lvd1r0i1m-alexandria-20220707-git.drv»

nix-repl> :lf nixpkgs
Added 14 variables.

nix-repl> pkgs = legacyPackages.x86_64-linux

nix-repl> :lf .
Added 13 variables.

nix-repl> new = lib.sbclPackages.overrideScope' (self: super: { alexandria = pkgs.hello; })

nix-repl> new.bordeaux-threads.lispLibs
[ «derivation /nix/store/qcvlk255x98i46cg9vphkdw5pghrizsh-hello-2.12.1.drv» ]

nix-repl>

BTW i have documented this new and experimental mechanism in the docs: https://github.com/Uthar/nix-cl/blob/f5290469cc32046617b8debc110efd8650bf8978/doc/api.md

yeah both are completely separate

So which one should I use and when? what's the idea?

Someday I'd love to read a blog entry or something about the evolution and relationship between ql2nix and lisp-modules and lisp-modules-new and nix-cl... :-) but thanks for the tip, I'll look into migrating onto nix-cl.

in general I would like something like:
nix build nixpkgs#sbcl.pkgs.alexandria

Just like there are:
nix build nixpkgs#python310.pkgs.pika
nix build nixpkgs#emacs.pkgs.magit

Of course it's all extremely experimental and can break day by day, until the lisp-modules itself in nixpkgs is replaced with a stable version

Of course

Ahem :-) Here on the outside I have no idea whatsoever what is experimental/working/stable/deprecated/obsolete/etc. Any guidance is greatly appreciated. I have been trying to contribute to lisp-modules-new on upstream nixpkgs and I thought this was The Way Forward and something that you were developing and maintaining.
Now it sounds like nix-cl is a better option for me but at the same time I'd like to get stuff done so an API that's silently changing from day to day doesn't necessarily sound like much fun for me...?

but really, i think I'll wait maybe a month and then ask the Lisp guy on nixpkgs to replace it all the way, because now there are overlays, it's fast, overrides etc

There is definitely a lot more of this brand of fun in my life since I started using Nix 😂

Sounds awesome! I'll take nix-cl for a spin soon.

I haven't done much with Haskell. Smalltalk is my usual benchmark for software being either "alpha" or "obsolete" with almost nothing in between :) "Burn the diskpacks and git repos!"

Question:
The README has instructions for "Build a lisp with packages" but it's based on running inside the nix-cl repo working directory. How would I do this from another repository?
Specifically I'd like to have an external repo with a nix expression that builds a custom Lisp development environment e.g. with all of the Kons-9 dependencies.
Today I'm doing this by referencing <nixpkgs> and using lispPackages_new from there in a shell.nix file: https://github.com/lukego/kons-9/blob/actions/shell.nix but what's the nix-cl way to solve this problem?

you can do something like this in Nix
let

  nix-cl = builtins.getFlake "github:uthar/nix-cl";

  sbcl = nix-cl.packages.${builtins.currentSystem}.sbcl;

in sbcl.withPackages (ps: [ ps.alexandria ])

Or with flakes, put it in inputs:
{
  description = "test";
  inputs.nix-cl.url = "github:uthar/nix-cl";
  outputs = { self, nixpkgs, nix-cl } : {
  };
}

Or with nix CLI
nix build github:uthar/nix-cl#sbcl.pkgs.alexandria

Oh, the readme example is broken, now I see (sbcl should be pakages.${builtins.currentSystem}.sbcl

For your case I would use the following flake, and run nix develop
{
  description = "Lisp development environment";

  inputs.nix-cl.url = "github:uthar/nix-cl";

  outputs = { self, nixpkgs, flake-utils, nix-cl }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = nixpkgs.legacyPackages.${system};
        lisps = nix-cl.packages.${system};
        sbcl = lisps.sbcl.withPackages (ps: with ps; [
          closer-mop
          trivial-main-thread
          trivial-backtrace
          cffi
          cl-opengl
          cl-glu
          cl-glfw3
          origin
        ]);
      in {

        devShells.default = pkgs.mkShell {
          buildInputs = [
            sbcl
          ];
        };

      });
}

You can also pass compile time and run time flags to the lisp:
...
        pkgs = nixpkgs.legacyPackages.${system};
        lisps = nix-cl.packages.${system};
        init = pkgs.writeText "init.lisp" ''
          (pushnew :foo *features*)
          (format t "hello world~%")
        '';
        sbcl = lisps.sbcl.override {
          spec = {
            pkg = lisps.sbcl;
            faslExt = "fasl";
            asdf = lisps.sbcl.pkgs.alexandria.asdf;
            flags = "--dynamic-space-size 8092 --load ${init}";
          };
        };
        sbcl' = sbcl.withPackages (ps: with ps; [
...


Change syntax for boxed array to support different length and allocated-length

Now the failing example in https://github.com/water111/jak-project/issues/563 should look like this, which will be accepted by the compiler.
    (new 'static 'boxed-array :type generic-dma-foreground-sink :length 0 :allocated-length 9)

Pull Request Test Coverage Report for Build 916680250

53 of 64 (82.81%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 69.501%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

decompiler/util/data_decompile.cpp
4
7
57.14%

goalc/compiler/compilation/Static.cpp
44
52
84.62%

Totals

Change from base Build 916475070:
0.004%

Covered Lines:
36205

Relevant Lines:
52093

💛  - Coveralls


OCPCLOUD-2511: manifests-gen: add InfraCluster ValidatingAdmissionPolicy

Adds creation of infracluster VAP for CAPI infra providers via manifests-generator
Tested at: https://github.com/openshift/cluster-api-provider-vsphere/pull/48

Changes look better, please make sure this is thoroughly tested prior to merging though

/test security

@JoelSpeed yes, I did test the CEL rule on the CEL playground here and I did manual testing for:

issuing deletion on an openshift-cluster-api's infracluster with the expected annotation k+v, deined deletion ✅[~] $ oc -n openshift-cluster-api get vspherecluster
NAME                        READY   SERVER                                       AGE
ci-ln-clr439t-c1627-r8zvc   true    vcenter-1.ci.ibmc.devcluster.openshift.com   132m

[~] $ oc -n openshift-cluster-api get vspherecluster ci-ln-clr439t-c1627-r8zvc -o yaml | grep managed-by
cluster.x-k8s.io/managed-by: cluster-capi-operator-infracluster-controller

[~] $ oc -n openshift-cluster-api delete vspherecluster ci-ln-clr439t-c1627-r8zvc
The vsphereclusters "ci-ln-clr439t-c1627-r8zvc" is invalid: : ValidatingAdmissionPolicy 'openshift-cluster-api-protect-vspherecluster' with binding 'openshift-cluster-api-protect-vspherecluster' denied request: InfraCluster resources with the 'cluster.x-k8s.io/managed-by : cluster-capi-operator-infracluster-controller' annotation cannot be edited or deleted.

issuing deletion on an openshift-cluster-api's infracluster with annotations but not the one we want, successfully deleted ✅[~] $ oc -n openshift-cluster-version scale deploy/cluster-version-operator --replicas 0
deployment.apps/cluster-version-operator scaled
[~] $ oc -n openshift-cluster-api scale deploy/cluster-capi-operator --replicas 0
deployment.apps/cluster-capi-operator scaled
[~] $ oc -n openshift-cluster-api get validatingadmissionpolicybinding openshift-cluster-api-protect-vspherecluster -o yaml > /tmp/vb.yaml
[~] $ oc -n openshift-cluster-api delete validatingadmissionpolicybinding openshift-cluster-api-protect-vspherecluster
Warning: deleting cluster-scoped resources, not scoped to the provided namespace
validatingadmissionpolicybinding.admissionregistration.k8s.io "openshift-cluster-api-protect-vspherecluster" deleted
[~] $ oc -n openshift-cluster-api edit vspherecluster ci-ln-clr439t-c1627-r8zvc # change managed-by annotation to value: a
vspherecluster.infrastructure.cluster.x-k8s.io/ci-ln-clr439t-c1627-r8zvc edited
[~] $ oc -n openshift-cluster-api apply -f /tmp/vb.yaml # restore the vapb
[~] $ oc -n openshift-cluster-api delete vspherecluster ci-ln-clr439t-c1627-r8zvc
vspherecluster.infrastructure.cluster.x-k8s.io "ci-ln-clr439t-c1627-r8zvc" deleted

issuing deletion on an  openshift-cluster-api's infracluster without annotations, successfully deleted ✅[~] $ oc -n openshift-cluster-version scale deploy/cluster-version-operator --replicas 0
deployment.apps/cluster-version-operator scaled
[~] $ oc -n openshift-cluster-api scale deploy/cluster-capi-operator --replicas 0
deployment.apps/cluster-capi-operator scaled
[~] $ oc -n openshift-cluster-api get validatingadmissionpolicybinding openshift-cluster-api-protect-vspherecluster -o yaml > /tmp/vb.yaml
[~] $ oc -n openshift-cluster-api delete validatingadmissionpolicybinding openshift-cluster-api-protect-vspherecluster
Warning: deleting cluster-scoped resources, not scoped to the provided namespace
validatingadmissionpolicybinding.admissionregistration.k8s.io "openshift-cluster-api-protect-vspherecluster" deleted
[~] $ oc -n openshift-cluster-api edit vspherecluster ci-ln-clr439t-c1627-r8zvc # completely remove annotations
vspherecluster.infrastructure.cluster.x-k8s.io/ci-ln-clr439t-c1627-r8zvc edited
[~] $ oc -n openshift-cluster-api apply -f /tmp/vb.yaml # restore the vapb
[~] $ oc -n openshift-cluster-api delete vspherecluster ci-ln-clr439t-c1627-r8zvc
vspherecluster.infrastructure.cluster.x-k8s.io "ci-ln-clr439t-c1627-r8zvc" deleted

Let me know if that sounds sensible. Thanks.

/retest

@JoelSpeed Thanks. Required parameterNotFoundAction added now. LMK

/lgtm
/approve

/skip

This change doesn't affect payload, it is only a tooling generation hence overriding e2e
/override ci/prow/e2e-aws-ovn-serial ci/prow/e2e-azure-capi-techpreview


Install vtxmenu files

This PR will install new vtxmenu files as well as change msposd's default out port to send data through the mavlink telemetry.
This PR needs: https://github.com/OpenIPC/msposd/pull/8

I've changed the the out port to not send over the default mavlink stream.
Possible mavlink listeners will probably not understand msp.


Option fields handling

I've noticed a different behavior between jsonx format and standard json format when dealing with Option fields. In the example below, the first fromJson conversion returns a JsError  while the second call returns JsSuccess. In my opinion the first behavior is the correct one since the JSON object is invalid.
This is relative to version 0.2. I know it is quite old, but if you could provide any clue on how to fix it I would really appreciate it :)
import org.cvogt.play.json.Jsonx
import play.api.libs.json._

case class C1(v: Option[String])
case class C2(v: Option[String])

implicit val c1JsonFormat = Json.format[C1]
implicit val c2JsonFormat = Jsonx.formatCaseClass[C2]

val json = Json.obj("v" -> 11)

Json.fromJson[C1](json)  // this returns JsError
Json.fromJson[C2](json)  // this returns JsSuccess

Thanks

@MrBan thx, will look into it.

haven't forgotten about this, trying to get to it very soon

Thanks a lot :)

So my investigations show that this magically got fixed in e95cd47, in the upgrade from play-json 2.3 to play-json 2.4. This was shortly before the 0.3.0 release. If I knew why this was broken and how to fix it, I would release a 0.2.1, but since the fix somehow came with play-json 2.4.1, I would suggest to upgrade to the latest play-json-extensions 0.6.0. Probably a good idea anyways :).

Since it works since 0.3.0 I am closing this


Is it possible to show all schedule without show more button ?

Version
version 1.8.1
Development Environment
browser chrome, window
Expected Behavior
Hi,
Is it possible show all schedule without show more button ?
I mean visibleScheduleCount = 100 not working, because it limited by grid height
Thanks and Regards

Hi, I'd like to hear the answer of this question. I already tried to set visibleScheduleCount, but it only shown 3 max

Since I'm using the react version, I don't know if it's the same for this version

Hi, I'd like to hear the answer of this question. I already tried to set visibleScheduleCount, but it only shown 3 max

Since I'm using the react version, I don't know if it's the same for this version

@itsfaqih This is the bug.
Sufficient height must be secured for the schedule to be displayed.
Otherwise, the grid will draw a schedule with the same height.

@itsfaqih This is the bug.
Sufficient height must be secured for the schedule to be displayed.
Otherwise, the grid will draw a schedule with the same height.

I see. Thanks for answering! It works 😄

I see. Thanks for answering! It works 😄

is this ever solved?  it's really limiting to not be able to show all the events in a box, the calendar should auto grow


Invalid GPIO pin specified  (39, GP77)

Hi. I want to use GPIO pin 39 (GP77) on Intel Edison
But when I Create:

mraa.Gpio(39)

I have python exception " Invalid GPIO pin specified"
Another pins initialized ok (for example 52, GP78)
strace:

stat64("/sys/class/gpio/gpio78/", 0xbf8e88b0) = -1 ENOENT (No such file or directory)
open("/sys/class/gpio/export", O_WRONLY) = 8
write(8, "78", 2)                       = 2
close(8)                                = 0
stat64("/sys/class/gpio/gpio78/", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/sys/class/gpio/gpio78/pinmux", O_WRONLY) = -1 ENOENT (No such file or directory)
open("/sys/kernel/debug/gpio_debug/gpio78/current_pinmux", O_WRONLY) = 8
write(8, "mode0", 5)                    = 5
close(8)                                = 0
open("/sys/class/gpio/gpio78/direction", O_RDWR) = 8
write(8, "out", 3)                      = 3
close(8)                                = 0
open("/sys/class/gpio/gpio78/value", O_RDWR) = 8
lseek(8, 0, SEEK_SET)                   = 0
write(8, "1", 1)                        = 1
stat64("/sys/class/gpio/gpio77/", 0xbf8e88b0) = -1 ENOENT (No such file or directory)
open("/sys/class/gpio/export", O_WRONLY) = 9
write(9, "77", 2)                       = -1 EBUSY (Device or resource busy)
time(NULL)                              =<PHONE_NUMBER>
send(5, "<139>Jun 22 23:55:16 libmraa[225"..., 103, MSG_NOSIGNAL) = 103
close(9)                                = 0
futex(0x42574d08, FUTEX_WAKE_PRIVATE,<PHONE_NUMBER>) = 0
clock_gettime(CLOCK_REALTIME, {1466639716, 448213798}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=127, ...}) = 0

I am not shure but seems like EBUSY (Device or resource busy) looks very odd.
I tried lsof but it shows some trash on edison:

lsof +D /sys/class/gpio/export
lsof 4.87
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s]
[-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.

Sorry if it is not related to MRAA, may be you can suggest something.

seems like answer is hear https://communities.intel.com/thread/77677


AboutLibrary showing a blank activity

I'm using this library in some of my apps, but now I'm experiencing a blank activity when the activity is shown.
public class LicenseActivity extends LibsActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        setIntent(new LibsBuilder()
                .withActivityTitle(getResources().getString(R.string.help_license))
                .withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
                .withLicenseShown(true)
                .intent(this));

        super.onCreate(savedInstanceState);
    }
}

The log shows Have you missed to call withFields(R.string.class.getFields())? - autoDetect won't work - but even adding the withFields method it still shows the same blank screen.

[ ] i k
I

@javiersantos what have you changed, as you write it was working already?
The
.withFields(R.string.class.getFields())

Part is really important.

I've been using the library without adding .withFields(R.string.class.getFields()) multiple times, as you can see in this examples::
https://github.com/javiersantos/MLManager/blob/master/app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fjaviersantos%2Fmlmanager%2Factivities%2FLicenseActivity.java
https://github.com/javiersantos/WhatsAppBetaUpdater/blob/master/app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fjaviersantos%2Fwhatsappbetaupdater%2Factivity%2FLicenseActivity.java
https://github.com/javiersantos/AppUpdater/blob/master/app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgithub%2Fjaviersantos%2Fappupdater%2Fdemo%2FAboutActivity.java
I will check today if adding .withFields(R.string.class.getFields()) solves the problem, but I think yesterday was showing the same result (even with the same log message).

@javiersantos perhaps those apps don't have proguard enabled? or they do not define an applicationId inside the build.gradle (which would both block the auto detecting of the R class)
Also you might need to update the current versioncode of the app as the AboutLibraries caches the auto detected libraries for each version, after the first launch

It's working now when adding .withFields(R.string.class.getFields()) and updating the versionCode.


CC-BY licence instead of Apache?

feels more appropriate for documentation, no?

[x] change licence in the root of the repo
[ ] add licence mention in the footer rather than copy pasting it manually in all pages

yes, good idea :)

updating the top message with things left to do

could not figure out how to control the footer easily yet

Happy to help. It seems the footer parses a couple of i18n strings as seen in the theme repo.
If you want to add stuff to the footer, it's easier to 1- copy the footer.html partial in layouts/partial/footer.html 2- modify or add stuff around the highlighted lines. With the copy in the layouts dir at the top of the look-up hierarchy, Hugo will build the footer with this page instead of the one in the themes/ dir (lower level in the hierarchy).
If you don't want to hard code the license link in there, you can at some params in the config file and we can pass them in the footer as they do with {{ with .Site.Params.copyright }} {{ . }} {{ end }}.
Hopefully my tired brain interpreted what you meant correctly :sweat_smile:.

Your tired brain can still function.
I would like to avoid hard coding as much as possible and be able to change everything from the "main control room" (the config file).
I started playing with the toml to get something to display but only got half way there.

In the config.toml, did you add a new param, eg, license_please = "All content is licensed under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/)."
Then in footer.html if you add this {{ .Site.Params.license_please | markdownify }}, it should appear anywhere.
(You may also want to copy over the themes/docsy/i18n/en.toml file to i18n/en.toml there to modify the strings you want.)
If you upload your branch, it would be easier for me to help instead of guessing what "got half way there" means.
Also: can we convert all the toml to yaml please or at least in the main config? I might open an issue for this. Unless you prefer toml?

Looks like it's all completed :) Great work everyone!!!


[Q]Watch the offline results remotely

My company does not allow us to upload data to wandb. Therefore, I need to run wandb on our ubuntu server in offline mode.
I know there is a command that we can sync the running results to wandb and check the result on wandb, but I cannot do the sync operation. May I know if there is possible to remotely visit the offline running results from our server?
Besides, does wandb support offline sweep now?

Hey @jiang-yuan, thanks for writing in! You could deploy W&B on your own managed infrastructure, see here for more information about this. Regarding offline sweeps, that's not possible at this moment as you need to connect to create the sweep agent. Please let me know if this is helpful!

Sorry, I am only a personal user and cannot affort to deploy W&B on your own managed infrastructure. I am looking for an way to use W&B offline.

Hello @jiang-yuan, you will always need to use the sync command to sync your runs and see those on the UI doesn't matter if you use our wandb.ai or a private instance (see here for personal users).

For personal use, even if I deploy a private instance on a single machine, I still need to purchase a license for long-term usage, correct?

You can generate a free license for personal use see here and our pricing page

Hi there! Since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


Select QoS reliability policy in DepthCloud Plugin

Select QoS reliability policy in DepthCloud Plugin

Linux
Linux-aarch64
Windows

https://github.com/Mergifyio backport humble iron


Proofread overview.rst

It has some things that could be cleaned up, typos and the like.

Resolved by:
de0d5f6afc
abadee277


href always prefixed even when localePrefix is never

Description
I'm creating a website and want to localize urls directly, therefore i dont need locale prefixing. i'm using the localePrefix: 'never' option but i can't get to generate internal links for another locale within the page because there is an added condition which forces prefixing if the locale of the link is not the current locale:
https://github.com/amannn/next-intl/blob/241c3ea2b0c7c8444b76518e0a3a2979aa208497/packages/next-intl/src/navigation/shared/BaseLink.tsx#L34-L49
with above code, having a localePrefix: 'never' but trying to generate a <Link locale="fr" /> when the current locale is en will result in the link href to be prefixed with /fr/, which defeats the localePrefix: 'never' strategy.
Verifications

[X] I've verified that the problem I'm experiencing isn't covered in the docs.
[X] I've searched for similar, existing issues on GitHub and Stack Overflow.
[X] I've compared my app to a working example to look for differences.

Mandatory reproduction URL
https://example.com
Reproduction description
I'm still working on a reproduction url, but i believe isChangingLocale should be removed from the code above.
Expected behaviour
When using localPrefix: 'never', urls should never be prefixed with locale.

 The cookie is the source of truth in this mode and therefore it's important to update it first before the final route you're intending to navigate to can be visited. You should see a redirect from /fr back to / once the link is clicked.
Does this affect your app in any negative way or is this just something you've noticed and it looked like a bug?

Yes, it has a slightly negative impact because the goal is to have urls matching exactly the urls i set for SEO purpose not the ones with the prefixes, especially that i do not have those prefixes in the pathnames that i generate which i also use for my sitemap (so i have a sitemap with /hello but the links in my page are /en/hello.
I still try to make a reproduction repo but it's a bit entangled with other libraries therefore it takes time to isolate.
whould that behavior be disabled when i use localeDetection: false ?

If SEO is important to you, how do you provide distinct pathnames per locale if you're using localePrefix: 'never'? Do you use domain-based routing? It would be helpful if you could share your routing config.

whould that behavior be disabled when i use localeDetection: false ?

Nope, that doesn't change this behavior.

i'm managing urls manually - the website is built with next and content-collections so i'm feeding slugs manually (similar to subdomain-based routing with a single domain)

If you're using a routing system that is external to next-intl, maybe you'd have an easier time if you'd set up your app without i18n routing. Using that approach, you don't have to use either the middleware or the navigation APIs from next-intl and also not the [locale] segment. Maybe that puts you in a better place where you can implement your custom routing requirements.
I'm going to move this to a discussion since this seems to be more a usage question than a bug report. As explained above, the prefix that is shown when changing a locale serves a concrete purpose and is working as intended.


Added html mapping for for &html; control codes.

Will replace characters such as ‘ and & with their plain text equivalent.

Before doing this, the code should probably check if htmlsupport is enabled, because when it is, the script will use htmlparse to parse all html escapes.

I've made the suggested change and a few others.


BC break in Google_Service_Drive_DriveFile

In version 1.1.7 there was a function Google_Service_Drive_DriveFile::setTitle.
In version 1.1.8 the function was removed.
The function (and possible others) was removed in this commit: https://github.com/google/google-api-php-client/commit/85309a3520bb5f53368d43e35fd24f43c9556323

v1.1.7 is on Drive v2: https://github.com/google/google-api-php-client/blob/1.1.7/src/Google/Service/Drive.php#L86
v1.1.8 is on Drive v3: https://github.com/google/google-api-php-client/blob/v1.1.8/src/Google/Service/Drive.php#L76
The versioning of this library does not reflect major version changes in the API, unfortunately (see https://github.com/google/google-api-php-client-services/issues/23), so this is WAD. Sorry for the inconvenience.

http://semver.org/
Would be very nice if you guys at google could read that, start caring about your users, and NOT break things because you release a new patch version!


Added conditional switch between udatetime and datetime for Windows.

Following the gitter discussion, simply added a conditional import "datetime as udatetime" for windows usage, tested with tutorial 1 and 5 on Windows 10 X64.

Fixed. How could I didn't see the import on top.... Should't have programmed on bed before sleep... :(

Happens to the best of us!

Do you want to keep the windows branch open?

For current situation I think this branch is no longer needed, hopefully it will run on windows happily...

Cool!


Add kubeconfig delete support to kubeform.

In order to review this, I'd like to test it myself, especially because I'd like to really understand the usage.

In order to review this, I'd like to test it myself, especially because I'd like to really understand the usage.

@errordeveloper Sure, please do give it a try and let me know what you think.

@errordeveloper Forgot to mention that there is a Makefile now. Building the code should be as simple as running make build. Also, here is a sample of how I am using it https://github.com/madhusudancs/kubernetes-anywhere/blob/federation/phase1/gce/gce.jsonnet#L201

Also, here is a sample of how I am using it...

Ok, great, that's what I need to see to see the most!

recomputing cla status...

@madhusudancs are planning to continue working on this?

[APPROVALNOTIFIER] The Following OWNERS Files Need Approval:

kubeform

We suggest the following people:
cc @lavalamp
You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancelin a comment


Optimize how files are stored or processed

Once the RDS is complete in Phase 1, we'd like to optimize the data storage and processing process if possible.  If you have ideas on how to do this, you can make a pull request to add support for it with examples to this repo so everyone can benefit.
One idea is to store each JSON file in a zip, thus reducing storage costs.
Use this issue as a place to discuss and collaborate.

Having done this before, LZ4 is pure magic, compressing fast, and decompressing really fast. We were able to lift the throughput out of S3 by almost an order of magnitude during batch processing by using LZ4 compressed CSVs in S3.


Microsoft GCC High cloud - has DDTC at State Dept said it's good for ITAR-controlled tech data?

Microsoft re: GCC High cloud;
We want to find, if it exists, any positive statement from DDTC in Dept of State that clearly says they regard Microsoft GCC High cloud as acceptable for storage of technical data that's subject to ITAR export control. It seems reasonable that MS would've gotten some definite validation from DDTC before offering the service for sale. May we please have a copy of that?
ref:  https://docs.microsoft.com/en-us/microsoftteams/plan-for-government-gcc-high.
If I'm asking the wrong part of MS, then would you please direct me to the person who can help us? Thank you.
Scott Bailey, Goleta, CA (for Kristine A. Fritz, Corporate Director of Security, Toyon Research Corporation, 6800 Cortona Dr., Goleta, CA 93117-3021)
please reply to<EMAIL_ADDRESS>cell<PHONE_NUMBER>

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

ID: 2eab6a21-5773-fdba-1cad-c282e66556d7
Version Independent ID: 9b19ed7d-85f1-9f5e-b320-1749b414cd1b
Content: Microsoft 365 Government - GCC High deployments - Microsoft Teams
Content Source: Teams/plan-for-government-gcc-high.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: heidip

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

Manuela,
Thank you for referring me to the right place in Microsoft to ask the question.  I appreciate your help.
Scott Bailey, Goleta, Calif


feat: custom css

I needed the ability to customize the CSS Config. In the future, it would certainly be useful to use other attributes, such as to adapt to "card fields names". Here a JSON configuration file would make sense. But the CSS config was my first acute problem ;-)

I'm happy to merge this with the caveat that I may change the --css option to use a more general configuration system in a future version


.import_ngs_data() HTTPError when filtering for year(s)

HTTPError: HTTP Error 404: Not Found
I receive a 404: not found error when I try to import ngs data from a specific year:
This works just fine and returns the dataframe:
ngs_data = nfl.import_ngs_data('passing')

ngs_data

When I add a specific year argument, this breaks:
ngs_data = nfl.import_ngs_data('passing', [2020])

ngs_data

Yes: I realize that  nfl.import_ngs_data('passing') is comprehensive of all seasons that are available and I can filter with that.
I don't know much about these different file formats, but when I look in nflverse-data/releases/nextgen_stats it looks like there are no .parquet files specific to a season (only .qs, .csv.gz, .rds), only the larger ones (sans season) called in the first block:

So I think something just needs to be changed around here?
Thanks for putting together this awesome library!! It's been a huge help as I get ready for the season.

Thanks for flagging this - the nflverse folks did a little rearranging of their data and it must've made that logic defunct. I'll get it sorted out this weekend.

Fixed in v0.2.8.


Send video playback to Zebrunner

If available , enabled and within the size restriction, post the video recording directly to Zebrunner

addressed in https://github.com/ryanrosello-og/zebrunner-playwright-agent/pull/15


Sonyliv Issue

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.06.29 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
India
Provide a description that is worded well enough to be understood
Sometimes It's Extracting Format Sometimes Error Occurred . Please Fix Format Selection Button For Sonyliv
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
2022-07-15T03:41:06.788016+00:00 app[worker.1]: }
2022-07-15T03:41:06.788022+00:00 app[worker.1]: https://www.sonyliv.com/shows/baalveer-returns-1700000071/baalveer-and-vivaan-1000011279
2022-07-15T03:41:06.788057+00:00 app[worker.1]: Uploader.echo - INFO - ['yt-dlp', '--no-warnings', '--skip-unavailable-fragments', '-j', 'https://www.sonyliv.com/shows/baalveer-returns-1700000071/baalveer-and-vivaan-1000011279']
2022-07-15T03:41:10.237857+00:00 app[worker.1]: Uploader.echo - INFO - ERROR: [SonyLIV]<PHONE_NUMBER>: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

2022-07-15T03:38:23.437833+00:00 app[worker.1]: pyrogram.session.auth - INFO - Done auth key exchange: DhGenOk
2022-07-15T03:38:23.437925+00:00 app[worker.1]: pyrogram.connection.connection - INFO - Disconnected
2022-07-15T03:38:23.465017+00:00 app[worker.1]: pyrogram.connection.connection - INFO - Connecting...
2022-07-15T03:38:23.490588+00:00 app[worker.1]: pyrogram.connection.connection - INFO - Connected! Production DC1 - IPv4 - TCPAbridgedO
2022-07-15T03:38:23.490860+00:00 app[worker.1]: pyrogram.session.session - INFO - NetworkTask started
2022-07-15T03:38:23.645454+00:00 app[worker.1]: pyrogram.session.session - INFO - Session initialized: Layer 143
2022-07-15T03:38:23.645493+00:00 app[worker.1]: pyrogram.session.session - INFO - Device: CPython 3.10.4 - Pyrogram 2.0.32
2022-07-15T03:38:23.645532+00:00 app[worker.1]: pyrogram.session.session - INFO - System: Linux 4.4.0-1104-aws (EN)
2022-07-15T03:38:23.645571+00:00 app[worker.1]: pyrogram.session.session - INFO - Session started
2022-07-15T03:38:23.645729+00:00 app[worker.1]: pyrogram.session.session - INFO - PingTask started
2022-07-15T03:41:06.787983+00:00 app[worker.1]: Uploader.echo - INFO - {
2022-07-15T03:41:06.788009+00:00 app[worker.1]:     "_": "User",
2022-07-15T03:41:06.788010+00:00 app[worker.1]:     "id":<PHONE_NUMBER>,
2022-07-15T03:41:06.788010+00:00 app[worker.1]:     "is_self": false,
2022-07-15T03:41:06.788010+00:00 app[worker.1]:     "is_contact": false,
2022-07-15T03:41:06.788011+00:00 app[worker.1]:     "is_mutual_contact": false,
2022-07-15T03:41:06.788011+00:00 app[worker.1]:     "is_deleted": false,
2022-07-15T03:41:06.788012+00:00 app[worker.1]:     "is_bot": false,
2022-07-15T03:41:06.788012+00:00 app[worker.1]:     "is_verified": false,
2022-07-15T03:41:06.788012+00:00 app[worker.1]:     "is_restricted": false,
2022-07-15T03:41:06.788013+00:00 app[worker.1]:     "is_scam": false,
2022-07-15T03:41:06.788013+00:00 app[worker.1]:     "is_fake": false,
2022-07-15T03:41:06.788013+00:00 app[worker.1]:     "is_support": false,
2022-07-15T03:41:06.788013+00:00 app[worker.1]:     "is_premium": false,
2022-07-15T03:41:06.788014+00:00 app[worker.1]:     "first_name": "ℕ𝕚𝕥𝕚𝕟",
2022-07-15T03:41:06.788015+00:00 app[worker.1]:     "last_name": "𝕊𝕒𝕙𝕒𝕪",
2022-07-15T03:41:06.788015+00:00 app[worker.1]:     "status": "UserStatus.RECENTLY",
2022-07-15T03:41:06.788015+00:00 app[worker.1]:     "username": "SahayNitin12",
2022-07-15T03:41:06.788015+00:00 app[worker.1]:     "language_code": "en"
2022-07-15T03:41:06.788016+00:00 app[worker.1]: }
2022-07-15T03:41:06.788022+00:00 app[worker.1]: https://www.sonyliv.com/shows/baalveer-returns-1700000071/baalveer-and-vivaan-1000011279
2022-07-15T03:41:06.788057+00:00 app[worker.1]: Uploader.echo - INFO - ['yt-dlp', '--no-warnings', '--skip-unavailable-fragments', '-j', 'https://www.sonyliv.com/shows/baalveer-returns-1700000071/baalveer-and-vivaan-1000011279']
2022-07-15T03:41:10.237857+00:00 app[worker.1]: Uploader.echo - INFO - ERROR: [SonyLIV]<PHONE_NUMBER>: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

That is not log from yt-dlp
❯ yt-dlp "https://www.sonyliv.com/shows/baalveer-returns-1700000071/baalveer-and-vivaan-1000011279?watch=true"
[SonyLIV] Downloading JSON metadata
[SonyLIV]<PHONE_NUMBER>: Downloading JSON metadata
[SonyLIV]<PHONE_NUMBER>: Downloading MPD manifest
[SonyLIV]<PHONE_NUMBER>: Downloading m3u8 information
[SonyLIV]<PHONE_NUMBER>: Downloading JSON metadata
[info]<PHONE_NUMBER>: Downloading 1 format(s): hls-3715
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 385
[download] Destination: Baalveer And Vivaan [1000011279].mp4
[download]   0.8% of ~514.39MiB at    2.10MiB/s ETA 03:16 (frag 3/385)
ERROR: Interrupted by user

Possibly, the issue is that you are using a VPN

Possibly, the issue is that you are using a VPN which SonyLiv has blocked

I am Not Using Vpn

Possibly, the issue is that you are using a VPN which SonyLiv has blocked

Sorry That I Have Added Logs From Heroku

Possibly, the issue is that you are using a VPN which SonyLiv has blocked

Please Try To Fix If Possible. sometimes Formats is Downloading sometimes Not

From Heroku

Well, that explains the issue!

[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details

If the IP is blocked, we can't "fix" it

From Heroku

Well, that explains the issue!

[x]  I've checked that all provided URLs are playable in a browser with the same IP and same login details

If the IP is blocked, we can't "fix" it

Please Fix It...Only Formats Sometimes Coming or Sometimes Not


Switch internal stereochemistry representation to CW/CCW and Cis/Trans

I think there is a problem with supporting CIP stereochemistry definitions (R/S stereocenters, cis/trans double bonds). CIP stereochemistry relies on the ranking of the "priority" of connected substituents. As long as we expose the "add_atom" and "add_bond" functions of Molecule, the "priority" of substituents of stereocenters could change.
I see a few ways to move forward:
One thought is that we could continue to use CIP stereo, however this would mean that any time a new atom/bond is added, all CIP tags for the molecule would have to be invalidated. A typical use case for our toolkit might be that someone methylates (or even just protonates) an existing ligand. In this case, our toolkit would have to remove all stereochemistry tags and expect the user to put it back, which is clearly undesired.
Another idea is that add_atom and add_bond could convert the molecule to RDKit/OE, then add the bond/atom, recompute CIP tags, and then convert back to an OFF mol. However this would be very cumbersome. I'd consider this a last resort.
I'm thinking that the best long-run solution is that:

Stereocenter Atoms will have an ordered Bond list, and then remember "clockwise"/"counterclockwise" for their stereo (invalidated if further bonds are added/removed to/from this atom).
Double bonds will store stereo as a tuple of (neighbor1_index, neighbor2_index, "CIS"/"TRANS"). This would be invalidated if the bond's atom1 or atom2 had a new bond added.

We still have the problem of "what if the user makes something that wasn't imported as a stereocenter into a stereocenter?". For example, they import a molecule that's symmetric about a double bond, and then add atoms to make it non-symmetric. I'll need to keep thinking about this, but for now I'll implement checks in to_rdkit and to_openeye to raise assertions if there's undefined stereo.

Happy to take input on this, but I'm mostly filing this as an issue so the design decision will be searchable later.

Ah, OK. This is interesting.
It seems like this is only a (potential) problem which will get triggered when add_bond and add_atom are exposed. Should we avoid this for the initial implementation by simply not exposing these, then deal with it as you propose in the "long term solution"?
Might also benefit from input from @bannanc .

Yes, the mutability presents a problem. We currently have most of our internal molecule representation in the "FrozenMolecule" class, which has private _add_atom and _add_bond functions. There's a more public "Molecule" class that inherits FrozenMolecule and exposes public add_atom and add_bond functions. These different levels let us distinguish between "trusted" vs. "dangerous" molecule modification operations. I'm on the fence about whether we'll expose the public Molecule add_X functions in the initial release.
However, it's important that we switch to the CW/CCW and cis/trans stereo specs now, since these tags will be used in molecule serialization, and changing this after the initial release will break compatibility.

Agreed.

Hah. Looks like we have headaches in either case. Now I'm thinking it wouldn't be so bad to run all mutable molecule operations through toolkits 😛
I think (think!) Chem.CHI_TETRAHEDRAL_{CW,CCW} and oechem.OEAtomStereo_{Right,Left}Handed are one-to-one mappings of each other, as long as the neighboring atoms list is ordered the same way in each case.
Chem.BondStereo.STEREOCIS and oechem.OEBondStereo_Cis should be easy to line up.
I'm still thinking that non-CIP stereo is the way to go, but I do see the drawbacks.
The common interchange format is a good idea. The to-do list for SMIRNOFF 1.0 is getting sort of long, so it might be in range for a subsequent SMIRNOFF version. I'll start an issue for it.

To me, it sounds like the obvious answer for now is that we should keep add_X protected for now. Then open it up later if we need to. However, I'm confused about:

the CW/CCW and cis/trans stereo specs now, since these tags will be used in molecule serialization, and changing this after the initial release will break compatibility.

I don't quite understand how changing something internally, even extending the publicly accessible methods would break compatibility. But, if it would then yes I guess we need to decide now.
I think I agree with John on using the R/S and E/Z since if we do open up the add_atom or add_bond the users will most likely expect to set the stereochemistry using those terms. @j-wags I'm happy to chat more tomorrow if you want to.

It'd be good to chat tomorrow, @bannanc. I'll post the notes on here for everyone.
To clarify, the compatibility issue comes from two conflicting design goals:

We shouldn't get so deep in the weeds that we implement our own CIP substituent-priority algorithm
OFFMol serialization/deserialization should be independent of cheminformatics toolkits.

These two conflict if we initially use CIP stereochemistry, then our first users create files containing serialzied OFFMols with CIP style stereocenters, and then later we switch to CW/CCW style stereochem. If that happened, the CIP-style serialized files wouldn't be deserializeable into CW/CCW-style OFFMols (well, not without using a toolkit, which violates 2), or writing our own CIP priority algorithm, which violates 1) )

It seems like the main argument to deal with this now is a worry about breaking backwards/forwards compatibility of serialized OFFMols, which I'm not convinced is a compelling argument as most of our users are MAINLY going to be interested in whether they can assign FF parameters to their molecules and systems of choice, and much less worried about whether our OFFMol serialization/deserialization is going to be stable over years.
BTW @j-wags you should be sure to post the image you put on Slack here for the record. Perhaps also porting in other relevant discussion from there too.

The common interchange format is a good idea. The to-do list for SMIRNOFF 1.0 is getting sort of long, so it might be in range for a subsequent SMIRNOFF version. I'll start an issue for it.

Also I think we probably need a definitive target timeline for this; it was already long overdue before we got you on board, and we really need to wrap it soon. Definitely this should not be in 1.0 in my opinion.

(Reposted from Slack, there's also some discussion about this topic there)
Alright, in the interest of time I'm happy to move forward with a CIP implementation. However, this will mean that molecule mutability (when we get there) will require a cheminformatics toolkit.
Just to make completely sure we're on the same page, here's a figure of what might happen if we rely internally on CIP stereochemistry when we get to the mutability stage. The molecule on the left is E (the five membered ring is trans to the Cl). If the user adds a 6 membered ring, and we only know that the double bond is "E" we get the molecule on the bottom right. This molecule is chemically valid (will pass stereochemistry checks and everything), however the 5-membered ring is now cis to the Cl (because the 6 membered ring has the higher CIP priority). The user almost certainly intended to make the molecule on the top right.


Add CP gain buttons with limit to once per round

Needs a broadcast to explain why the CP isn't going up when you click "increment" a second time, but I'll sort that. Thanks very much!


pub build fails with Exhausted heap space, trying to allocate 8224 bytes.

Clone this repo:
https://github.com/dartlangfr/ng-darrrt-codelab
git@github.com:dartlangfr/ng-darrrt-codelab.git
run pub build.
Error:
[Info from Dart2JS]:
Took 0:00:15.878859 to compile ng_darrrt_codelab|web/9-cloak/piratebadge.dart.
Exhausted heap space, trying to allocate 8224 bytes.
Exhausted heap space, trying to allocate 8224 bytes.
Out of Memory
../../../../Volumes/data/b/build/slave/dart-editor-mac-dev/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart 108  BuildCommand.onRun.<fn>
dart:isolate                                                                                _RawReceivePortImpl._handleMessage
This is an unexpected error. Please run
    pub --trace 'build'
and include the results in a bug report on http://dartbug.com/new.

This issue has been moved to dart-lang/pub#834.

Android Studio->Tools->Flutter-> Flutter clean
then will work....


feat(model-ad): add API docs site

Changelog

Create API docs site project model-ad-api-docs (adapted from openchallenges-api-docs)
Update the Docker Compose files to deploy the API docs site
Update Caddy config to forward traffic to the API docs site

Preview
Start the stack with Docker Compose, then navigate to localhost:8000/api-docs to view the API docs site.

@hallieswan Adding the API docs site to the stack requires to update the apps/model-ad/app/.env based on the example file.


layer() fails to group more then 2 plots

using Vega
layer(layer(scatterplot(x=[1],y=[1]), scatterplot(x=[2],y=[2])), scatterplot(x=[3],y=[3]))

returns a not rendering vega plot :(

To be quite honest, it barely works for two plots! That's why I've left it undocumented (though I probably shouldn't have exported it)
The only question is whether someone can fix it before I have time to, which is probably several months away

On Mar 11, 2016, at 10:42 AM, Alex<EMAIL_ADDRESS>wrote:
using Vega
layer(layer(scatterplot(x=[1],y=[1]), scatterplot(x=[2],y=[2])), scatterplot(x=[3],y=[3]))
returns a not rendering vega plot :(
—
Reply to this email directly or view it on GitHub.


Add Laravel 5.7 Support

Please check previous pull requests before creating a new one. This is the 4th PR for 5.7 support.

Yeah i saw this, but why no one of this 4 PR got merged ?
it's tested with L5.7 and it's working fine

Well the tests will fail with 5.7 as the Illuminate Auth Logout Event has changed its constructors signature.

I already made a clone package using it just i changed the laravel support versions to add 5.7 and i tested it and it's working fine

Never version has been tagged. https://github.com/Crinsane/LaravelShoppingcart/releases/tag/2.6.0 Sorry for the delay, but life got in the way.


noise-repellent: init at unstable-29-12-2018

Motivation for this change
Things done

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

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

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

Notify maintainers
cc @

@GrahamcOfBorg build noise-repellent

looks like arch doesn't like some of the compiler flags (architecture extensions), if arch is not a supported architecture, then I would change meta.platforms to reflect just the x86_64 variants
/nix/store/nalgbdpjmhizap3sp1q3lqinisifldl9-gcc-wrapper-8.3.0/bin/cc -Inrepel@sha -I. -I.. -I/nix/store/mwjc8kdg97nbl07bwsr96arkqmiz2v1w-fftw-single-3.3.8-dev/include -I/nix/store/6n1ib7m8axh6k75n6v9nkhbxp7s89ym6-lv2-1.16.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c99 -fPIC -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -fno-finite-math-only -MD -MQ<EMAIL_ADDRESS>-MF<EMAIL_ADDRESS>-o<EMAIL_ADDRESS>-c ../src/nrepel.c
gcc: error: unrecognized command line option '-msse'; did you mean '-fdse'?
gcc: error: unrecognized command line option '-msse2'
gcc: error: unrecognized command line option '-mfpmath=sse'
ninja: build stopped: subcommand failed.
builder for '/nix/store/7zy3w7g3mpk39zyr1ag7w8iwg364clg2-noise-repellent-unstable-2018-12-29.drv' failed with exit code 1
error: build of '/nix/store/7zy3w7g3mpk39zyr1ag7w8iwg364clg2-noise-repellent-unstable-2018-12-29.drv' failed

OK, platforms are updated.


Why are functions like BatchEncoder::encode or Evaluator::add not const?

I was surprised to see that functions like BatchEncoder::encode/decode  or Evaluator::add aren't declared const. Do some of them actually modify the Encoder/Evaluator object?
If not, I'd be happy to submit a PR where they are all set as const, since the lack of const-ness makes it a bit of a pain to write "nice" code against SEAL that needs to create new ctxts/ptxts.

Thanks, Alex! It will appear in the next release soon.


Fix valgrind warning and errors

Fixed two issues, which were detected from valgrind: One in Sellp::write() and one in Csr::automatical::process().
Sellp::write()
It was only a warning, and it should have no effect on the runtime behavior. The issue was that val was read and tested against zero before it was tested if it is a part of the matrix, or just padding after the matrix. This memory is always allocated and present, so we would not have read any invalid memory area, it was just skipped when initializing the values.
The fix was basically to add a test if we are at a row which is still in the matrix before reading / testing the value.
Csr::automatical::process()
Here, it was actually an error. We were doing something similar to this:
Array<index_type> host_row_ptrs(mtx_row_ptrs.get_executor()->get_master());
host_row_ptrs = mtx_row_ptrs;
auto error_access = host_row_ptrs->get_const_data()[host_row_ptrs->get_num_elems()];

Where the last line leads to memory access which is out of bound.
The fix was basically to read only the size - 1 element, which should also be the one which stores the number of non-zeros in the CSR format.
Closes #273

@yhmtsai Can you check if the fix for Csr::automatical::process() actually does the right thing? There is a change that I misunderstood the actual intention of the if clause, so it would be best if you could double check that.

@tcojean Thanks for noticing, I also changed it in the commit message (I don't really know why I thought it was in read).


Minor documentation issue

In Reactive.Logger.Hub readme the module is named typeof(Xpand.XAF.Modules.Reactive.Logger.HubModule) but actually it is typeof(Xpand.XAF.Modules.Reactive.Logger.Hub.ReactiveLoggerHubModule)

The DevExpress.XAF repository includes commits that relate to this task:

Minor documentation issue #568

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use the Xpand.XAF.Modules directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.

One reference is fixed, but there is still RequiredModuleTypes.Add(typeof(Xpand.XAF.Modules.Reactive.Logger.HubModule)); in the docu

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


Internal work array size computation failed

Hello,
I was trying to run python code from Matlab 2017(a/b) and I am not able to use linear algebra routines (everything else works fine). The following code is matlab code that call numpy/scipy routines.
Do you have any idea why I am getting these errors ?
In some environment matlab just crash with a segfault and in some other environment I get the following errors.
Thank you for your help
Reproducing code example:
matrix = py.numpy.ones(int32([3 3]))
py.scipy.linalg.eig(matrix)

Error message:
Error using lapack>_compute_lwork (line 528)
Python Error: ValueError: Internal work array size computation failed: -13

Error in decomp>eig (line 201)
                           compute_vr=compute_vr)

Scipy/Numpy/Python version information:
('0.19.1', '1.13.1', sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0))

I have the same error with python 3.6 on another machine

Can you please type
version -blas
version -lapack

in matlab and also sp.linalg.lapack.ilaver() in Python? It looks like it is picking up the wrong lapack lib. On my quite standard laptop I get
ans =

  Python tuple with no properties.

    (array([  3.00000000e+00+0.j,   6.16297582e-33+0.j,  -7.50963641e-17+0.j]),
     array([[  5.77350269e-01,  -6.51147040e-17,   6.09781659e-01],
            [  5.77350269e-01,  -7.07106781e-01,  -7.75129861e-01],
            [  5.77350269e-01,   7.07106781e-01,   1.65348202e-01]]))

I will check tonight. I also found that it works on windows machine. Are
you running windows by any chance ?
On Tue, Sep 26, 2017 at 11:04 AM, Ilhan Polat<EMAIL_ADDRESS>wrote:

Can you please type
version -blas
version -lapack
in matlab and also sp.linalg.lapack.ilaver() in Python? It looks like it
is picking up the wrong lapack lib. On my quite standard laptop I get
ans =
Python tuple with no properties.
(array([  3.00000000e+00+0.j,   6.16297582e-33+0.j,  -7.50963641e-17+0.j]),
 array([[  5.77350269e-01,  -6.51147040e-17,   6.09781659e-01],
        [  5.77350269e-01,  -7.07106781e-01,  -7.75129861e-01],
        [  5.77350269e-01,   7.07106781e-01,   1.65348202e-01]]))

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/issues/7930#issuecomment-332135014, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB7HGz01ePAe_f1UTOfpAiaISYn3PbdHks5smL41gaJpZM4PjK5h
.

Yes it's Win 10 machine and also works on my Win 7 machine.

Matlab
>> version -blas

ans =

    'Intel(R) Math Kernel Library Version 11.3.1 Product Build 20151021 for Intel(R) 64 architecture applications, CNR branch AVX2
     '

>> version -lapack

ans =

    'Intel(R) Math Kernel Library Version 11.3.1 Product Build 20151021 for Intel(R) 64 architecture applications, CNR branch AVX2
     Linear Algebra PACKage Version 3.5.0
     '

Python
In [4]: sp.linalg.lapack.ilaver()
Out[4]: (3, 7, 0)

Scipy inside matlab
>> py.scipy.linalg.lapack.ilaver()
Python Error: SystemError: <fortran object> returned NULL without setting an error

It seems you are right they do not seem to be the same. Is there a way to force it somehow ?
Thank you very much for your help. You are thousands of time more helpful than the Matlab support team.

They shouldn't be necessarily the same but they should be accessible and up to date. These version numbers are the same on my Windows machines. Somehow, your matlab cannot translate the data types back and forth as far as I understand but I am out of ideas why this should be the case.
Maybe it is an MKL vs. OpenBLAS installation of NumPy that is causing the problem.

I tried with the normal python and a conda environment. Is there a way I can switch between MKL and OpenBLAS as you suggest. Isn't strange that matlab is not able to display the version number ? Is there anyone able to make this work on linux ?
Thank you

Problem was solved through that thread if anyone needs helps in the future:
https://www.mathworks.com/matlabcentral/answers/358233-matlab-python-interface-broken?s_tid=email_ans_new_ans_ans_h#answer_283353


Install jq in new Alpine-Linux based Azure/CLI image.

Related command
azure/CLI@V2
Is your feature request related to a problem? Please describe.
The previous 2.63 container image based on Alpine had the jq package installed by default, 2.64 based on Azure Linux does not - needing to parse json during CI/CD tasks is fairly common and including this helps save some time/reduce script size. It would be helpful to my use cases if this could be included again.
Describe the solution you'd like
Install jq by default.
Describe alternatives you've considered
Can install myself, but as each azure/CLI@v2 task runs in a fresh container image it's not super ergonomic to have to chuck the apt-get install command everywhere - + it adds to runtime.

Thank you for opening this issue, we will look into it.

Added in https://github.com/Azure/azure-cli/pull/29867


Add Prometheus Self exporter for API mode

This is a rather hacky solution due to functions framework, but it works and removes the not-so-ideal dependency of pushgateway when running in an API mode. If needed, I can explain the motivation/use case a bit more.

The tests failing seem to be unrelated, as I haven't touched Elasticsearch part at all


Needle can not be found

When I run the ipynb in lecture 4 in colab, I can not import needle successfully. I have followed the steps in ipynb, but I could not see any files in needle directory. How can I solve it?

Have solved


Create a minimal UI or at least a .mov that shows drag and drop example(s) happening on screen

Our dev team is using Flutter with the expectation that UI team will understand and specify existing Flutter widgets.
However, for drag and drop, there is no UI example to visibly evaluate how the widget works, what it has as a native behavior and what it doesn't, and whether or not it can be used to solve a particular UI problem. Our product team delivers specific requirements, but we can't tell how much the drag and drop will solve out of the box, or how much customizing it will need if we use it, because there is no visible working example we can look at.
This makes costing and evaluating a drag and drop solution, which we would like to use, difficult.
For example, does the area show a visual cue over where something user is dragging can be dropped? What kind of animation is it using? Is there a long tap option to activate drag or only a tap? Is there a shadow that has to be removed for our flat design? Etc.
There is a code example at https://github.com/flutter/flutter/blob/master/dev/manual_tests/lib/drag_and_drop.dart but this does not help us very much.
We need to see it work in a UI, even a super minimal UI, even a .mov example showing the options we can specify, in order to know what to ask for from our dev team or if we'll need to look for a different UI instead of drag and drop for our use case.

drag_and_drop.dart isn't just a code sample, it's an application you can run and show your UI team.

How???

On Aug 7, 2017, at 2:00 PM, Ian Hickson<EMAIL_ADDRESS>wrote:
drag_and_drop.dart isn't just a code sample, it's an application you can run and show your UI team.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/flutter/flutter/issues/11538#issuecomment-320779157, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXG5zGR1KFL9dvKqdKNKQ3BN_o33ZFyks5sV3rlgaJpZM4Ov8Mj.

@deborah-ufw hi! thanks for the feedback, we'd love to chat with you (and/or your dev team) to learn more about how you're using Flutter. If you're interested, please email me at sethladd at google dot com. Looking forward to learning more, thanks!

How shall we chat?
I would like to see a visual example of the drag and drop, even if it’s a .mov. I am not sure how to use the .dart. It seems like I would have to build a UI myself to plug it into to evaluate.
Thank you,
Deborah

On Aug 7, 2017, at 2:06 PM, Seth Ladd<EMAIL_ADDRESS>wrote:
@deborah-ufw https://github.com/deborah-ufw hi! thanks for the feedback, we'd love to chat with you (and/or your dev team) to learn more about how you're using Flutter. If you're interested, please email me at sethladd at google dot com. Looking forward to learning more, thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/flutter/flutter/issues/11538#issuecomment-320780584, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXG5y_BwmjcVARxFyhF2A9bfeyFOqZhks5sV3xRgaJpZM4Ov8Mj.

How shall we chat?

Send me an email (I can't seem to find your email) and we'll find a time to either Hangout or chat in person. It appears you are in Mountain View? So are we :)

Hi !!
I’m actually with Carnivore Studios in SF, but my GitHub email always goes to this address :). Mt. View is awesome !!!  I used to work at a startup right next door to Evernote’s original offices.
Hangout sounds like a great solution.  When works for you? I’m pretty crushed with deadline for today, but this eve or tomorrow between about 11 (after all our meets) and 7pm is wide open.
Thanks Seth!
Deborah

On Aug 7, 2017, at 2:17 PM, Seth Ladd<EMAIL_ADDRESS>wrote:
How shall we chat?
Send me an email (I can't seem to find your email) and we'll find a time to either Hangout or chat in person. It appears you are in Mountain View? So are we :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/flutter/flutter/issues/11538#issuecomment-320783156, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXG5x2frJiF0i65svgoPeT95zWXCUBzks5sV37NgaJpZM4Ov8Mj.

Oh, Carnivore! Right on... ok, makes sense :)
Please email me directly (sethladd at google dot com) and we'll work it out. Thanks!

To run the drag-and-drop example, you just use flutter run in that directory (or copy and paste the contents of the relevant file into the 'main.dart' of a flutter create app). Specifically for this one you'd run flutter run -t drag_and_drop.dart in the dev/manual_tests directory of the flutter repo.

Ok. I will give this a shot.
This seems like it would be good to reference on the widget page, and to comment in the code of the linked .dart.
Thanks!

On Aug 7, 2017, at 4:59 PM, Ian Hickson<EMAIL_ADDRESS>wrote:
To run the drag-and-drop example, you just use flutter run in that directory (or copy and paste the contents of the relevant file into the 'main.dart' of a flutter create app). Specifically for this one you'd run flutter run -t drag_and_drop.dart in the dev/manual_tests directory of the flutter repo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/flutter/flutter/issues/11538#issuecomment-320812262, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXG5_pMHjBXeCY9vQP_KIvHAeEiMGBpks5sV6TQgaJpZM4Ov8Mj.

Closing since Draggable video clearly demonstrates this.


better use of void

What does this PR do?
this shall fix all mypy in deprecated metrics
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

it doesn't seem intuitive for new readers.

what do you mean?


Examples do not close properly - required a ^Z to pause and then be killed.

I think that this is related to 'class LiveviewStreamThread()' running it it's own thread and then in a tight loop. Maybe we need some 'stop()' or 'de-init()' call for it?
$ python2 src/example/sony_camera_liveview.py
('Supported liveview size:', {'result': ['M'], 'id': 1})
[i] LiveviewStreamThread started.
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
<IP_ADDRESS> - - [03/Nov/2017 16:15:25] "GET / HTTP/1.1" 200 -
<IP_ADDRESS> - - [03/Nov/2017 16:15:25] "GET /video_feed HTTP/1.1" 200 -
^C----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 55232)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 652, in __init__
    self.handle()
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 203, in handle
    rv = BaseHTTPRequestHandler.handle(self)
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 238, in handle_one_request
    return self.run_wsgi()
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 180, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 170, in execute
    for data in application_iter:
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 693, in __next__
    return self._next()
  File "/usr/lib/python2.7/dist-packages/werkzeug/wrappers.py", line 81, in _iter_encoded
    for item in iterable:
  File "src/example/sony_camera_liveview.py", line 35, in gen
    frame = flask_app.get_frame_handle()
  File "build/bdist.linux-x86_64/egg/pysony.py", line 354, in get_latest_view
    data_img = self._lilo_jpeg_pool.get()
  File "/usr/lib/python2.7/Queue.py", line 168, in get
    self.not_empty.wait()
  File "/usr/lib/python2.7/threading.py", line 340, in wait
    waiter.acquire()
KeyboardInterrupt
----------------------------------------
^C^C^C^C^Z
[1]+  Stopped                 python2 src/example/sony_camera_liveview.py
$ killall -9 python2

I think it because sleep and while. I think I know how to fix it. thanks for reporting


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Sun Mar 27 2016 14:29:56 GMT 0300 (RTZ 2 (зима))
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\c01nd01r\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\c01nd01r\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #470


Add support for showing shortcuts and hidden files in network drives

Describe the bug
When using the Files app, I noticed that shortcuts were only shown in local drives, not in mapped network drives.
To Reproduce
Steps to reproduce the behavior:

Open the Files app.
Navigate to a network drive location containing shortcuts (to files or folders).

Expected behavior
I'd expect to see the shortcuts, but unfortunately, only 'regular' files and folders are shown.
Screenshots

Desktop (please complete the following information):

OS Version: device 1: Windows 10 2004 19041.630, device 2: Windows 10 20H2 19042.630
App version: v<IP_ADDRESS>

Additional context
I tried it in a number of different settings:

both in a domain network and a home workgroup,
both using UNC paths and mapped network drive names
starting the Files app as a regulare user and as an Administrator
In all these cases, I didn't see any shortcuts in network locations.

Log file
debug_fulltrust.txt

@gave92 do you know if this is resolved in main?

Nope

For reference: https://github.com/microsoft/WindowsAppSDK/discussions/83?sort=old

Hello,
Do you have enough elements to resolve this issue.

@JGomsss do you want to work on this?

Sorry I can't work on this but I can do tests as needed to upload logs.


Fishing: Missing highlight during Swan Song

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 11
Bug description
The Fishing spot in the Piscatoris Fishing Colony during Swan Song is not highlighted.
Screenshots or videos

RuneLite version
RuneLite version: 1.9.3
Oldschool version: Rev 209
Launcher version: 2.5.0
Logs
No response

If I recall correctly, this fishing spot behaves differently from most of the others in the game (it might be an object rather than an NPC) so it may not be feasible to rework the plugin to highlight it in the same way.


Include renderer extension output during build steps

For #1423 , #3936
Corresponding PR is here https://github.com/microsoft/vscode-notebook-renderers/pull/31
Workflow:

Download the Renderer extension VSIX from blob store
Extract into jupyter extension (during install & build)

Codecov Report

Merging #4303 (f7d840e) into main (4805e7e) will increase coverage by 3%.
The diff coverage is n/a.

@@          Coverage Diff           @@
##            main   #4303    +/-   ##
======================================
+ Coverage     71%     74%    +3%
======================================
  Files        389     389
  Lines      25456   25456
  Branches    3639    3639
======================================
+ Hits       18074   18978   +904
+ Misses      5984    4992   -992
- Partials    1398    1486    +88

Impacted Files
Coverage Δ

...t/common/application/webviewPanels/webviewPanel.ts
10% <0%> (-58%)
:arrow_down:

src/client/common/application/webviews/webview.ts
13% <0%> (-53%)
:arrow_down:

.../application/webviewPanels/webviewPanelProvider.ts
43% <0%> (-50%)
:arrow_down:

...nt/datascience/interactive-common/debugListener.ts
34% <0%> (-40%)
:arrow_down:

...datascience/interactive-common/showPlotListener.ts
33% <0%> (-39%)
:arrow_down:

...c/client/common/application/customEditorService.ts
25% <0%> (-33%)
:arrow_down:

...c/client/common/application/invalidCustomEditor.ts
8% <0%> (-23%)
:arrow_down:

src/client/datascience/dataScienceSurveyBanner.ts
69% <0%> (-20%)
:arrow_down:

...ent/datascience/interactive-common/linkProvider.ts
16% <0%> (-19%)
:arrow_down:

src/client/datascience/themeFinder.ts
61% <0%> (-17%)
:arrow_down:

... and 88 more

Codecov Report

Merging #4303 (f7d840e) into main (4805e7e) will increase coverage by 3%.
The diff coverage is n/a.

@@          Coverage Diff           @@
##            main   #4303    +/-   ##
======================================
+ Coverage     71%     74%    +3%
======================================
  Files        389     389
  Lines      25456   25456
  Branches    3639    3639
======================================
+ Hits       18074   18978   +904
+ Misses      5984    4992   -992
- Partials    1398    1486    +88

Impacted Files
Coverage Δ

...t/common/application/webviewPanels/webviewPanel.ts
10% <0%> (-58%)
:arrow_down:

src/client/common/application/webviews/webview.ts
13% <0%> (-53%)
:arrow_down:

.../application/webviewPanels/webviewPanelProvider.ts
43% <0%> (-50%)
:arrow_down:

...nt/datascience/interactive-common/debugListener.ts
34% <0%> (-40%)
:arrow_down:

...datascience/interactive-common/showPlotListener.ts
33% <0%> (-39%)
:arrow_down:

...c/client/common/application/customEditorService.ts
25% <0%> (-33%)
:arrow_down:

...c/client/common/application/invalidCustomEditor.ts
8% <0%> (-23%)
:arrow_down:

src/client/datascience/dataScienceSurveyBanner.ts
69% <0%> (-20%)
:arrow_down:

...ent/datascience/interactive-common/linkProvider.ts
16% <0%> (-19%)
:arrow_down:

src/client/datascience/themeFinder.ts
61% <0%> (-17%)
:arrow_down:

... and 88 more


Add the event only if the controller is not closed

fixes https://github.com/sarbagyastha/youtube_player_flutter/issues/300
fixes https://github.com/sarbagyastha/youtube_player_flutter/issues/782

@sarbagyastha Can you please check and merge this?

@sarbagyastha please :'(

@sarbagyastha this needs to be fixed ASAP.

yes please merge this pull request i am also facing the same error in Amdroid.

it is now since almost 1 year why is not merged please merge this. I am getting the same error.

@sarbagyastha any news on this?

any update opn this pull requst?

+1

+1

+1

Any update on this @sarbagyastha ? Same issue I am facing.

Could we get this merged and released? This bug is plaguing my Sentry. It's a year and a half old.

can we please merge this? the issue is still there

@sarbagyastha Bumping this. If possible could you please review and merge?

Fixed with youtube_player_iframe: ^5.1.4

Fixed with youtube_player_iframe: ^5.1.4

Woo! Thank you!


Sidekick doesn't load in Firefox on json preview urls

Description
When trying to load the sidekick in Firefox on a json preview page of (e.g. /redirects.json), the following error is thrown:
Content Security Policy: The page’s settings blocked the loading of a resource at https://www.hlx.live/tools/sidekick/app.js (“script-src”).

To Reproduce
Steps to reproduce the behavior:

Open Firefox
Go to 'redirects.xlsx'
Click on 'Preview' in the sidekick
On the preview page /redirects.json click the sidekick bookmarklet
See error in the js console

Expected behavior
Sidekick should load.
Additional context
Sidekick loads fine when previewing html pages. I've noticed there's no Content-Security-Policy header (docs) in general, so it looks like Firefox is more restrictive on json pages.

Could not find any docs about the default (implicit) policy in Firefox.

I doubt that we can do much about it since Firefox controls this default the CSP for its JSON view.


WebStorm!!!!!!!

WebStorm!!!!!!!WebStorm!!!!!!!WebStorm!!!!!!!

I can only agree with this man on the urge to make this available on Webstorm.
With his basic language he do express beautifully how badly web, Webstorm users, need this.

WebStorm isn't free. Also, is it web based (created using HTML/CSS/JS)? If not, this is an unrealistic request.

please make this available on Webstorm!

please make this available on Webstorm! [2]

it will be awesome

webstorm and as a general plugin for intellij idea!!

Webstorm!!!!!!!!!

check out https://github.com/codeinthedark/awesome-power-mode for ports to other editors


[GSK-1700] Issue when df has single column (version 2)

A better alternative to the solution https://github.com/Giskard-AI/giskard/pull/1385 (reverted from main in https://github.com/Giskard-AI/giskard/commit/aad7800846745f6a7c56134d16c84b320a5ff3a0).
The issue was that if the dataset contains only one column, this code breaks:
def prediction_function(df: pd.DataFrame) -> np.ndarray:
    return model.predict_proba(df)

even if the feature is indicated in the feature_names of the model. This is due to the fact that an sklearn model expects 1D data to be a pd.Series instead of pd.DataFrame.
In this PR, the attribute accepts_only_pd_series was introduced to wrapper.py, which is False by default, and gets modified inside validate_model if needed to become True after testing the model evaluation both on a pd.DataFrame and pd.Series in case the dataset is made out of 1 column.
The shortcoming: what if the user bypass the scan (thus, validate_model)?

It‘s good for me. Maybe add a little comment in the code to explain for posterity, it’s a quite special case.

comment added. Thanks


Postcss-cssnext and precss breaking all plugins

I'm currently experiencing this weird bug that seems to only occur with the Postcss-cssnext and precss plugins.
Forgot to mention my versions:
Webpack: 2.1.0-beta.25
Postcss-Loader:  1.1.1
Precss: 1.4.0
Postcss-cssnext: 2.8.0
Here is my current webpack config:
module.exports = {
...
module: {
    rules: [
      ...
      {
        test: /\.css$/,
        loaders: [
          'style-loader',
          {
            loader: 'css-loader',
            options: {
              importLoaders: 1,
              modules: true,
              localIdentName: '[path]___[name]__[local]___[hash:base64:5]',
            },
          },
          'postcss-loader',
        ],
      },
    ],
  },

Then my postcss.config.js:
module.exports = {
  plugins: [
    require('postcss-smart-import')({}),
    require('postcss-simple-vars')({}),
    // require('postcss-cssnext')({}),
    // required('precss)({}),
  ],
};

With both postcss-cssnext and precss commented out, this works perfectly fine. If I allow even one of these two plugins then all of my plugins stop working and I get errors from webpack: TypeError: [object Object] must be a function, did you require() it ?

👋
The missing ' is in the example I assume :)
// required('precss // <= ')({}),

Could be a bug because those two a packages, there was are PR handling that better, but not released yet since I hadn't found the time to test it out, maybe @Konvensky can elaborate on this :)

@michael-ciniawsky Yes, sorry about that - I added precss in while working in the Github editor as it wasn't still in my code, but I had tried it earlier.

@Skilgarriff few minutes please, out of the gut you can try to hotfix at least postcss-cssnext with
require('cssnext')({}).plugins

But not sure if it works tbh :)

@michael-ciniawsky No worries! hahaha I'll try and report back

@Skilgarriff what errors exactly? We need stacktrace too.

@ai @Skilgarriff  Still on it, will take a day longer, this is 👎, any new info on this, errors, detail config etc ? :)

TypeError: [object Object] must be a function, did you require() it ?
    at /Users/Sean/Sites/Sean Kilgarriff/www/node_modules/postcss-load-plugins/lib/plugins.js:23:17
    at Array.forEach (native)
    at plugins (/Users/Sean/Sites/Sean Kilgarriff/www/node_modules/postcss-load-plugins/lib/plugins.js:21:15)
    at /Users/Sean/Sites/Sean Kilgarriff/www/node_modules/postcss-load-config/index.js:67:18

@ai
Here is a stack trace for when I include postcss-cssnext as a plugin.
@michael-ciniawsky No worries, I appreciate you working on it! No new information - I have basically recreated all of the functionality that I needed from these two plugins with other smaller plugins and not one of them has throw an error yet. Only getting broken Postcss/errors when I include one of those two.

I have the same error with the same trace while trying to upgrade to webpack 2:
I am using:
"webpack": "2.1.0-beta.27",
"postcss-cssnext": "^2.8.0",
"postcss-loader": "1.1.0",
"precss": "^1.4.0",
"doiuse": "^2.5.0",
My postcss.config.js
module.exports = {
    plugins: [
        require('precss'),
        require('postcss-cssnext')(),
        require('doiuse')({
            browsers: ['ie >= 11', '> 1%'],
            ignore: [
                'flexbox',
                'border-radius'
            ]
        })
    ]
}

When I remove the parenthesis for the options like this,
plugins: [
        require('precss'),
        require('postcss-cssnext'),
        require('doiuse')
    ]

It work.
Thank you for all your awesome contribution.

@michael-ciniawsky I have the same issue with array form of config, although object form works fine.
I've searched for differences between them and it looks like that the bug could be hidden here: postcss-load-plugins. It won't work probably because plugin isn't really replaced by plugin.postcss in array. However, I haven't time to check it yet.

Thanks @michael-ciniawsky, indeed this work for me
module.exports = {
    plugins: {
        'precss': {},
        'postcss-cssnext': {},
        'doiuse': {
            browsers: ['ie >= 11', '> 1%'],
            ignore: [
                'flexbox',
                'border-radius'
            ]
        }
    }
}

Any reason why now some plugin called with () are crashing postcss-loader?
https://gitter.im/MoOx/postcss-cssnext?at=582eccc42291180a7a6637d8

Actually it work just fine with https://github.com/michael-ciniawsky/postcss-load-plugins/pull/17.
So all we need is to publish latest version postcss-load-plugins as patch or minor version
@michael-ciniawsky Could you please do it?

@Skilgarriff  @princed  @YasserKaddour  Sry for the delay you guys, I do it today/tomorrow with other small fixes already on the list , I'm always busy with social work, there is no 'doing later' 😛 . Use {Object} style in your ``postcss.config.js``` plugins section meanwhile.

Confirmed: postcss-load-plugins does the job. But I'm still a bit confused - I ended up with 3 very similar modules:

postcss-load-plugins
postcss-load-options
postcss-load-config

Any reason now to keep last two?

I have the same issue with css-mqpacker:
I'm using:

webpack v2.2.0-rc.2
postcss-loader v1.2.1
css-mqpacker v5.0.1

Here is a part of my  webpack.config.babel.js:
export default {
    entry: './components/App/index.jsx',
    output: {
        path: path.join(process.cwd(), './public'),
        filename: 'main.[hash].js',
    },

    plugins: [
        new webpack.LoaderOptionsPlugin({
            options: {
                context: __dirname,
                postcss: [
                    cssnext({
                        browsers: ['last 2 versions', 'IE > 10'],
                    }),
                    cssMqpacker(),
                ],
            },
        }),

        new ExtractTextPlugin({
            filename: 'style.[hash].css',
            disable: false,
            allChanks: true,
        }),
    ],

    module: {
        loaders: [{
            test: /\.css$/,
            loader: ExtractTextPlugin.extract({
                fallbackLoader: 'style-loader',
                loader: 'css-loader?modules&localIdentName=[local]--[hash:base64:5]!postcss-loader',
            }),
        }],
    },
}

And postcss-cssnext and other plugins works good. But not css-mqpacker. When I'm building app I see the following CSS code:
.title--Njw1N {
    color: red
}
@media (max-width: 800px) {
    .title--Njw1N {
        color: darkred
    }
}
.title--13b4T {
    color: yellow
}
@media (max-width: 800px) {
    .title--13b4T {
        color: orange
    }
}
.title--FYL1K {
    color: green
}
@media (max-width: 800px) {
    .title--FYL1K {
        color: darkgreen
    }
}

Please see the example here: https://github.com/azat-io/webpack2-css-modules-demo

@azat-io css-mqpacker doesn't seem to support sorting separate .css files together. Is it suppose to?
It worked fine when I added the example to just one of your .css files.
Might you have to run it on the Webpack CSS output afterwards?

@anandthakker Oh, you are right. It looks like I need to concatenate all files before using CSS Mqpacker

fixed in #161 via postcss-load-config update + watching config file for changes is supported now


[carry 25174] 409 status code result to create service

Added example 409 status code result to the create service endpoint.
carries https://github.com/docker/docker/pull/25174
closes https://github.com/docker/docker/pull/25174

LGTM

LGTM


Additional synonyms from Uniprot

when the GOA data is loaded into chado
we should report in the logs any synonyms which UniProt include that we don't.
Curators can check/add these.
Original comment by: ValWood

duplicate
https://github.com/pombase/pombase-chado/issues/52


fix: Simplify team member list view and state management

Summary
Improve team member list component by simplifying state management and component re-rendering logic. This change makes the component behavior more predictable and maintainable.
Related Issue
N/A
Changes

Replace currentUserRoleState tuple with direct currentUserRole prop
Remove isUpdatingSelf from action responses
Move role update logic to parent component for better state management
Use key prop with multiple variables for fine-grained control of component re-rendering

Testing

Verified team member list updates correctly when switching teams
Confirmed role updates work properly
Checked component re-rendering behavior with key changes
Tested member deletion functionality

Other Information
This refactoring aligns with React's best practices by:

Simplifying state management
Making component updates more predictable
Improving code maintainability

@satococoa review, please :pray:

@shige @toyamarinyon review, please 🙏

Thanks for reviewers 🚀


Should it say workspace?

[Enter feedback here]

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

ID: e3ea4120-abc4-10d8-826b-5d8e8acd8727
Version Independent ID: d323c49a-77bd-46c1-4ab3-a95555dfe5a9
Content: Model Builder Azure Training Resources - ML.NET
Content Source: docs/machine-learning/resources/azure-training-concepts-model-builder.md
Product: dotnet-ml
GitHub Login: @luisquintanilla
Microsoft Alias: luquinta

Good catch @zewditu! Would you be interested in making the change to "compute"?


Generate UUID for Component

Component UUID is empty[1], so generate UUID for Component.
[1]https://github.com/cloudfoundry/loggregatorlib/blob/master/cfcomponent/component.go#L75

Nothing change for loggregatorlib/store in this PR, not sure about the Travis CI  failure. Can anyone help to tell How to fix this failure.Thanks.
[1427984986] Store Suite - 13/13 specs ••••••••••••
------------------------------
• Failure in Spec Teardown (AfterEach) [5.055 seconds]
AppServiceStoreWatcher [AfterEach] Loading watcher state on startup when the store has AppServices in it should send all the AppServices on the output add channel
/home/travis/gopath/src/github.com/cloudfoundry/loggregatorlib/store/app_service_store_watcher_test.go:99
  Timed out after 5.000s.
  Expected
      <<-chan appservice.AppService | len:0, cap:0>: 0xc20808d860
  to be closed
  /home/travis/gopath/src/github.com/cloudfoundry/loggregatorlib/store/app_service_store_watcher_test.go:56
------------------------------
Summarizing 1 Failure:
[Fail] AppServiceStoreWatcher [AfterEach] Loading watcher state on startup when the store has AppServices in it should send all the AppServices on the output add channel
/home/travis/gopath/src/github.com/cloudfoundry/loggregatorlib/store/app_service_store_watcher_test.go:56

@WuLonghui,
Thanks for the pull request.
What's your use case for it? How does generating a random UUID at application start meet that use case?
The only place that loggregatorlib makes use of this UUID are (here and here), and in messages during collector registration (here and here).
None of the importers of loggregatorlib reference this UUID.
We are trying to figure out the benefit of implementing this and if it outweighs the cost; alternatively, if the UUID isn't being used effectively, perhaps it should be removed.

@WuLonghui I don't think the Travis failure is a result of your code. We'll look into it.

@jmtuley Thanks for your reply.
My use case is component discovery by using this UUID as key, in other components, both have UUID, but empty in loggregator.
[1]https://github.com/cloudfoundry/vcap-common/blob/master/lib/vcap/component.rb#L160
[2]https://github.com/cloudfoundry/gorouter/blob/master/common/component.go#L96

Coverage decreased (-0.14%) to 75.0% when pulling 08487473cf89e385d2cfc33198ac846228739958 on WuLonghui:master into 7b3048c6b67562cdf198c3ecbfae3f4db80412a6 on cloudfoundry:master.

Coverage decreased (-0.14%) to 75.0% when pulling 08487473cf89e385d2cfc33198ac846228739958 on WuLonghui:master into 7b3048c6b67562cdf198c3ecbfae3f4db80412a6 on cloudfoundry:master.

@WuLonghui it looks like we got the underlying issues with the loggregatorlib Travis build fixed – it wasn't your fault all along.

@jmtuley Thanks very much