Spyder profiler uses wrong python when using virtualenv

I have cross posted this from https://code.google.com/p/spyderlib/issues/detail?id=2209&thanks=2209&ts=1429797280
Spyder Version:  2.2.5
Python Version:  2.7.6
Qt Version    :  4.8.6, PyQt4 (API v2) 4.10.4 on Linux
pyflakes >=0.5.0:  0.8.1 (OK)
pep8 >=0.6      :  1.4.6 (OK)
IPython >=0.13  :  1.2.1 (OK)
rope >=0.9.2    :  0.10.2 (OK)
sphinx >=0.6.6  :  1.2.2 (OK)
matplotlib >=1.0:  1.3.1 (OK)
sympy >=0.7.0   :  None (NOK)
pylint >=0.25   :  1.1.0 (OK)
What steps will reproduce the problem?
1.In preferences>console>advanced, set the python interpreter to a virtual environment interpreter e.g. /home/christopher/.virtualenvs/wormvision2/bin/python2.7

Run some code that uses a module only visible to the specified interpreter, but not to the /usr/lib/ interpreter.

What is the expected output? What do you see instead?
Expected it to work fine.
Instead got:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
..
from sklearn.cluster import KMeans
ImportError: No module named sklearn.cluster
As you can see, it's trying to find sklearn with /usr/lib interpreter, which is not possible because I have never installed that globally. However, it is installed locally in the virtual env, which works fine with f5.
Please provide any additional information below.
Merely running the script (F5) works fine. F10 produces the above error.

@dhoegh, could you take a look at this problem when you have some time?

I had a thought last night that it might have to do with whether --with-site-packages is allowed on the VirtualEnv or not. I haven't had a chance to dig into it though

I am on Spyder 4.0.0b3 running in a separate env (spyder) for dependency reasons. The code i develop runs in env (dev). The python interpreter is set to the (dev) in spyder preferences. However it seems the profiler is still using (spyder) env, which of course throws me errors.
Any news on this bug?

I am on Spyder 4.0.0b3 running in a separate env (spyder) for dependency reasons. The code i develop runs in env (dev). The python interpreter is set to the (dev) in spyder preferences. However it seems the profiler is still using (spyder) env, which of course throws me errors.
Any news on this bug?

Same behavior with Spyder 3.1.3

Same behaviour with Spyder 4.1.4.

I still experience this issue with Spyder 4.2.1

I still experience this issue with Spyder 4.2.1

Is there any update in regard to this issue?
I still experience it on with Spyder 4.2.3

This will be fixed in Spyder 6, to be released at the end of the year or the beginning of the next one.


jaxlibWithCuda11 fails to build

I've tried pinning nixpkgs to the revision in this repo, as well as to 2d10e73416ec1449ef74aeac7faf2cf8c556ff5a, which is the same revision as when jaxlib was no longer marked as "fails to build" on this repo. I'm currently building against the latest stable nixpkgs, but I doubt it's going to work, since I've tried building it without this overlay, and no luck. This may be an upstream issue.
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/0sd34630xb88aca480v5wr8920s5pgnc-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
patching script interpreter paths in ../output/external/org_tensorflow/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl
../output/external/org_tensorflow/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/zdba9frlxj2ba8ca095win3nphsiiqhb-python3-3.10.8/bin/python"
Extracting Bazel installation...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=0
INFO: Reading rc options for 'build' from /build/source/.bazelrc:
  Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /nix/store/xn6ql92hqwqh1yvvwnv6gmhi52hfpbnb-bazel-rc:
  'build' options: --distdir=/nix/store/hcn6rxvvzig59nh7k3rmng8j809lv3ap-bazel-deps --extra_toolchains=@bazel_tools//tools/jdk:nonprebuilt_toolchain_definition --tool_java_runtime_version=local_jdk_11 --java_runtime_version=local_jdk_11
INFO: Reading rc options for 'build' from /build/source/.bazelrc:
  'build' options: --apple_platform_type=macos --macos_minimum_os=10.14 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --experimental_cc_shared_library --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_n>
INFO: Reading rc options for 'build' from /build/source/.jax_configure.bazelrc:
  'build' options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/nix/store/zdba9frlxj2ba8ca095win3nphsiiqhb-python3-3.10.8/bin/python --action_env=PYENV_ROOT --python_path=/nix/store/zdba9frlxj2ba8ca095win3nphsiiqhb-python3-3.10.8/bin/python --distinct_host_configuration=false --define PROTOBUF_INCLUDE_PATH=/nix/store/3vm2ya1b52rdvjbansv39zdv0qwmhdcz-protobuf-3.20.>
INFO: Found applicable config definition build:short_logs in file /build/source/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:avx_posix in file /build/source/.bazelrc: --copt=-mavx --host_copt=-mavx
INFO: Found applicable config definition build:cuda in file /build/source/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --@org_tensorflow//tensorflow/compiler/xla/python:enable_gpu=true --define=xla_python_enable_gpu=true
INFO: Found applicable config definition build:cuda in file /build/source/.jax_configure.bazelrc: --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_50,sm_60,sm_70,sm_75,compute_80
INFO: Found applicable config definition build:mkl_open_source_only in file /build/source/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1
INFO: Found applicable config definition build:linux in file /build/source/.bazelrc: --config=posix --copt=-Wno-unknown-warning-option --copt=-Wno-stringop-truncation --copt=-Wno-array-parameter
INFO: Found applicable config definition build:posix in file /build/source/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
Loading:
Loading: 2 packages loaded
Analyzing: target //build:build_wheel (3 packages loaded, 0 targets configured)
Analyzing: target //build:build_wheel (46 packages loaded, 139 targets configured)
Analyzing: target //build:build_wheel (105 packages loaded, 855 targets configured)
Analyzing: target //build:build_wheel (215 packages loaded, 4629 targets configured)
Analyzing: target //build:build_wheel (235 packages loaded, 14022 targets configured)
INFO: Analyzed target //build:build_wheel (262 packages loaded, 15197 targets configured).
INFO: Found 1 target...
[0 / 60] [Prepa] Expanding template build/build_wheel ... (3 actions, 0 running)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.devtools.build.lib.unsafe.StringUnsafe (file:/build/tmp/install/3cacfc6805558968a677264b92eb71de/A-server.jar) to constructor java.lang.String(byte[],byte)
WARNING: Please consider reporting this to the maintainers of com.google.devtools.build.lib.unsafe.StringUnsafe
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[25 / 96] Compiling tensorflow/compiler/xla/service/custom_call_status.cc; 1s local ... (16 actions, 15 running)
[47 / 109] Compiling absl/strings/internal/str_format/arg.cc; 3s local ... (16 actions, 15 running)
[78 / 133] Compiling absl/time/internal/cctz/src/time_zone_info.cc; 3s local ... (16 actions, 15 running)
[103 / 153] Compiling absl/synchronization/mutex.cc; 2s local ... (16 actions, 15 running)
[144 / 181] Compiling absl/strings/cord.cc; 3s local ... (16 actions, 15 running)
[240 / 1,622] Compiling jaxlib/ducc_fft.cc; 6s local ... (16 actions, 15 running)
[255 / 1,622] Compiling jaxlib/ducc_fft.cc; 9s local ... (16 actions, 15 running)
[270 / 1,622] Compiling jaxlib/ducc_fft_kernels.cc; 13s local ... (16 actions running)
[296 / 1,642] Compiling jaxlib/ducc_fft_kernels.cc; 17s local ... (16 actions, 15 running)
[362 / 1,690] Compiling jaxlib/ducc_fft_kernels.cc; 22s local ... (16 actions, 15 running)
[428 / 1,744] Compiling jaxlib/ducc_fft_kernels.cc; 29s local ... (16 actions, 15 running)
[518 / 1,816] Compiling jaxlib/ducc_fft_kernels.cc; 36s local ... (16 actions, 15 running)
ERROR: /build/output/external/local_config_cuda/cuda/BUILD:238:8: Executing genrule @local_config_cuda//cuda:cuda-include failed: (Exit 1): bash failed: error executing command /nix/store/dsd5gz46hdbdk2rfdimqddhq6m8m8fqs-bash-5.1-p16/bin/bash -c ... (remaining 1 argument skipped)
cp: cannot stat '/nix/store/xzr4m07l1ix0820xbn6jzb5297l13w1v-cudatoolkit-11.8.0-merged/include/./include': No such file or directory
Target //build:build_wheel failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /build/output/external/local_config_cuda/cuda/BUILD:50:20 Middleman _middlemen/@local_Uconfig_Ucuda_S_Scuda_Ccuda_Uheaders-BazelCppSemantics_build_arch_k8-opt failed: (Exit 1): bash failed: error executing command /nix/store/dsd5gz46hdbdk2rfdimqddhq6m8m8fqs-bash-5.1-p16/bin/bash -c ... (remaining 1 argument skipped)
INFO: Elapsed time: 57.694s, Critical Path: 37.63s
INFO: 547 processes: 159 internal, 388 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

I have a very similar issue:
flake.nix
{
  description = "An awesome machine-learning project";
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
    utils.url = "github:numtide/flake-utils";
    ml-pkgs.url = "github:nixvital/ml-pkgs";
    ml-pkgs.inputs.nixpkgs.follows = "nixpkgs";
    ml-pkgs.inputs.utils.follows = "utils";
  };

  outputs = { self, nixpkgs, ... }@inputs: {
    overlays.dev = nixpkgs.lib.composeManyExtensions [
      inputs.ml-pkgs.overlays.jax-family
      # })
    ];
  } // inputs.utils.lib.eachSystem [
    "x86_64-linux"
  ] (system:
    let pkgs = import nixpkgs {
          inherit system;
          config.allowUnfree = true;
          overlays = [ self.overlays.dev ];
        };
    in {
      devShells.default = let
        python-env = pkgs.python3.withPackages (pyPkgs: with pyPkgs; [
          jaxlibWithCuda11
        ]);
        name = "torch-basics";
      in pkgs.mkShell {
        inherit name;

        packages = [
          python-env
        ];
        shellHooks = let pythonIcon = "f3e2"; in ''
          export PS1="$(echo -e '\u${pythonIcon}') {\[$(tput sgr0)\]\[\033[38;5;228m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]} (${name}) \\$ \[$(tput sgr0)\]"
        '';
      };
    });
}

Output
> nix develop
error: builder for '/nix/store/z3wdc351wfr4s6qpzkpnb58xh6whyzc5-bazel-build-jaxlib-0.3.22.drv' failed with exit code 1;
       last 10 log lines:
       > ERROR: /build/output/external/local_config_cuda/cuda/BUILD:238:8: Executing genrule @local_config_cuda//cuda:cuda-include failed: (Exit 1): bash failed: error executing command /nix/store/kga2r02rmyxl14sg96nxbdhifq3rb8lc-bash-5.1-p16/bin/bash -c ... (remaining 1 argument skipped)
       > cp: cannot stat '/nix/store/0wg6hbjd4qjrj879wp1dnx70z06bjp6g-cudatoolkit-11.8.0-merged/include/./include': No such file or directory
       > Target //build:build_wheel failed to build
       > Use --verbose_failures to see the command lines of failed build steps.
       > ERROR: /build/output/external/org_tensorflow/tensorflow/core/BUILD:1708:23 Middleman _middlemen/@org_Utensorflow_S_Stensorflow_Score_Cstream_Uexecutor_Uheaders_Ulib-BazelCppSemantics_build_arch_k8-opt failed: (Exit 1): bash failed: error executing command /nix/store/kga2r02rmyxl14sg96nxbdhifq3rb8lc-bash-5.1-p16/bin/bash -c ... (remaining 1 argument skipped)
       > INFO: Elapsed time: 13.125s, Critical Path: 1.54s
       > INFO: 674 processes: 607 internal, 67 local.
       > FAILED: Build did NOT complete successfully
       > FAILED: Build did NOT complete successfully
       >
       For full logs, run 'nix log /nix/store/z3wdc351wfr4s6qpzkpnb58xh6whyzc5-bazel-build-jaxlib-0.3.22.drv'.
error: 1 dependencies of derivation '/nix/store/xn10jw0ba5sfv04njzhahxriwz8i8m9h-python3.10-jaxlib-0.3.22.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8il99xqr7shb09jg8751mjjchlw7ahz9-python3-3.10.11-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/00vnm6q22mydhs4wf7lacd1a1plif6in-torch-basics-env.drv' failed to build

The problem is clearly the line
cp: cannot stat '/nix/store/0wg6hbjd4qjrj879wp1dnx70z06bjp6g-cudatoolkit-11.8.0-merged/include/./include'
include is concatenated twice and I verified that '/nix/store/0wg6hbjd4qjrj879wp1dnx70z06bjp6g-cudatoolkit-11.8.0-merged/include exists.
In Jax WORKSPACE file https://github.com/google/jax/blob/9a7f29a9fbb350dadbda42c89688f81ad4d59ab0/WORKSPACE#L8
Tensorflow is downloaded
http_archive(
    name = "org_tensorflow",
    sha256 = "9a7a7a87356bdeef5874fae135de380466482b593469035be3609a9cd2c153c4",
    strip_prefix = "tensorflow-cb946f223b9b3fa04efdbb7a0e6a9dabb22a7057",
    urls = [
        "https://github.com/tensorflow/tensorflow/archive/cb946f223b9b3fa04efdbb7a0e6a9dabb22a7057.tar.gz",
    ],
)

Tensorflow has the following file https://github.com/tensorflow/tensorflow/blob/58b37cf745c6c30d44878ddf5987c4283ed12c3c/third_party/gpus/cuda/BUILD.tpl
That define cuda_headers
cc_library(
    name = "cuda_headers",
    hdrs = glob([
        "**/*.h",
    ]),
    includes = [
        ".",
        "include",
    ],
    visibility = ["//visibility:public"],
)

Assuming that the includes list is what causing the extra "./include", I wonder if eliminating them would solve the issue.  This would require patching bazel to use a "local" copy of tensorflow.

Thanks for reporting the issue. I tried and verified that jax is not working with Cuda 11.8. @tartavull's analysis looks very reasonable. Perhaps a patch that removes the "include" line would work.

If 11.8 is not that important to you, I think you can downgrade to CUDA 11.7 and I verified that it works. This is basically equivalent to using the upstream jaxlibWithCuda from Nixpkgs.

The problem is clearly the line cp: cannot stat '/nix/store/0wg6hbjd4qjrj879wp1dnx70z06bjp6g-cudatoolkit-11.8.0-merged/include/./include'
include is concatenated twice and I verified that '/nix/store/0wg6hbjd4qjrj879wp1dnx70z06bjp6g-cudatoolkit-11.8.0-merged/include exists.

cudatoolkit-11.7.0-merged has the same structure. However, jaxlib can compile with it. I am not sure what has changed since 11.8.

My assessment was wrong :)
/nix/store/0wg6hbjd4qjrj879wp1dnx70z06bjp6g-cudatoolkit-11.8.0-merged/include/include existed but was a dangling symlink because nvidia changed the name of the architecture.

Closing this because the issue was resolved by nixpkgs

Closing this because the issue was resolved by nixpkgs

I am currently pinning to 23.05 and it seemed that the fix hasn't been backported yet. Currently in order to use the fixed version you probably need to pin nixpkgs to unstable.

Finally this is fixed in 23.11. See branch https://github.com/nixvital/ml-pkgs/tree/dev/23.11
Closing this now. Feel free re-open if it does not work.


Update dependencies

Update github.com/aws/aws-sdk-go to v1.42.9
Update github.com/dgraph-io/badger/v3 to v3.2103.2
Update github.com/google/go-containerregistry to v0.7.0

Can you please bump controller-runtime to v0.10.2 this should help us with https://github.com/fluxcd/flux2/issues/1479

Also here https://github.com/fluxcd/image-reflector-controller/blob/main/api/go.mod#L8


Any way to input / interact into websites on Chromecast?

I am successfully using CATT to display a private security camera web UI on a Chromecast device.
However I want to require authentication, otherwise it will be available without auth on the web.  Also may want to interact with the UI.
There must be many other websites played by CATT users that require input and/or interaction, right?
How do you do it?
Is there any remote / virtual keyboard, or a way to connect a keyboard to allow me to input a username / password into a site running in a Chromecast device?
I have searched like hell and tried chatting with Google support, to no avail.

Thank you for your feedback.
I will try that, but my understanding is Chromecast will only display URLs
that are officially signed CA certified domains using encryption with HTTPS.
I tried using the URL of the stream with the video player VLC, which is
Chromecast enabled, but found that program to be mostly unable to display
may IP camera's RTSP streams.
Thanks again and I will let the forum know how it goes.
On Tue, Feb 5, 2019 at 7:30 AM Stavros Korokithakis <
<EMAIL_ADDRESS>wrote:

The way I get my feed to the Chromecast is by getting the direct URL of
the stream. That usually uses basic auth, which can be included in the URL
like<EMAIL_ADDRESS>—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/skorokithakis/catt/issues/168#issuecomment-460681189,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtJry-CntT4rREB478lBUROZawOZdjOGks5vKaOdgaJpZM4aij0V
.

Thank you, that's great information..
On Mon, Feb 4, 2019 at 11:28 PM theychx<EMAIL_ADDRESS>wrote:

Dashcast https://github.com/madmod/dashcast, the project that underpins
the cast_site functionality of catt, does not support any kind of user
interaction.
For regular casting with cast, you can pass auth details to youtube-dl
with -y username=joe -y password=banana. But that of course only works
with sites that are supported by youtube-dl
http://rg3.github.io/youtube-dl/supportedsites.html.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/skorokithakis/catt/issues/168#issuecomment-460538682,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtJryxgTyZBdySRAQ64hbBWPs_DquD4Eks5vKTKEgaJpZM4aij0V
.

I am quite confused, as I learned that Chrome (therefore Chromecast) no
longer allows including the auth in the URL to comply with security
standards.
Are you saying that embedding the user:password in the URL is still working
for you today?
I changed my camera server (Blue Iris) to allow basic auth and tried catt
cast_site  to display web access by embedding the auth in the URL and got
very close.
It actually signs in and starts showing the page but then breaks down and
displays an error about the URL being illegal.
I can succeed by setting my Blue Iris to allow no auth on LAN-only
connections.
Then using catt cast_site will work and display the website.
But that doesn't work for me because even outside WAN connections appear as
LAN connections to my server, so the website would be open from anywhere.
I think this is due to the HTTPS proxy I have in front of the web server.
Incidentally, the reason for the HTTPS proxy (stunnel
https://www.stunnel.org/) with a CA-signed encryption certificate (
LetsEncrypt https://letsencrypt.org/) was to get Chromecast to work from
the Android app for Blue Iris.
This caused me to believe that Chromecast will only accept a website with a
recognized HTTPS domain, which I also learned is a recent change by Google
for security reasons.
You must have deep understanding of Chormecast -- is that true about only
accepting websites with certified HTTPS domains?
I have had no luck yet getting Chomecast to display any direct URL streams
(from cameras in my case) as you suggest, but I will keep thinking and
trying.
On Tue, Feb 5, 2019 at 7:30 AM Stavros Korokithakis <
<EMAIL_ADDRESS>wrote:

The way I get my feed to the Chromecast is by getting the direct URL of
the stream. That usually uses basic auth, which can be included in the URL
like<EMAIL_ADDRESS>—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/skorokithakis/catt/issues/168#issuecomment-460681189,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtJry-CntT4rREB478lBUROZawOZdjOGks5vKaOdgaJpZM4aij0V
.


Investigate Game Maker

Look into the viability of using Game Maker to make the game.

The answer to this is no.


Support monitor type for Radarr

Description
Mostly an extension of #191, and related to #325.
I'd like to browse and discover content that seems interesting on Jellyseerr and if it seems worthy to watch add it to my 'backlog' but not necessarily start monitoring. Having a selection if a movie should be monitored or not be presented to at least the approving user (admin) would be a nice addition to prevent the library filling up with content that wouldn't be watched for a long time.
Desired Behavior
Have the option as the admin user to select as which monitoring mode the movie should be added to Radarr.
Additional Context
No response
Code of Conduct

[X] I agree to follow Jellyseerr's Code of Conduct

Another use case (which feels almost like a bug for me):
I have some content automatically added (and monitored) in Radarr from imports lists. They are then shown as "requested" in Jellyseerr.
Sometimes I un-monitor some of those from Radarr, and (I guess) because I don't delete them from Radarr they can't be requested anymore from Jellyseerr - they are still shown as "requested".
Supporting the Monitor status from Radarr could give the option to any user (permissions could be nice) to "monitor/download now" a movie already present in radarr but not monitored.

Another use case (which feels almost like a bug to me): I have some content automatically added (and monitored) in Radarr from imports lists. They are then shown as "requested" in Jellyseerr. Sometimes I un-monitor some of those from Radarr, and (I guess) because I don't delete them from Radarr they can't be requested anymore from Jellyseerr - they are still shown as "requested".

if you have the movie available and its not showing as available, thats a configuration issue. If the movie is added to radarr and it shows as requested, whether you unmonitor or not movies still ADDED to radarr. Not a bug. What jellyseerr does is add the items to *arr. Its not for triggering searches After its added.

if you have the movie available and its not showing as available, thats a configuration issue. If the movie is added to radarr and it shows as requested, whether you unmonitor or not movies still ADDED to radarr.

Not sure I follow. The movie isn't available, it's only present in Radarr movie list, but not monitored.

Not a bug. What jellyseerr does is add the items to *arr. Its not for triggering searches After its added.

I just mean that supporting the Monitoring status in Jellyseerr would be coherent with Radarr's actual behaviour: a movie not monitored will never be available and always shown as "requested" in Jellyseerr, with no indication for the user that's it's not monitored.

@Fallenbagel I took a quick look at the code, an easy first implementation could be during the execution of radarr scanner:
Instead of skipping if !radarrMovie.monitored, we could just delete the movie from Jellyseerr (if present, and if its status was "UNKNOWN" to prevent removing available movies)
Or we could change its status? But that would mean adding a new one - although replacing "UNKNOWN" with something like "MONITORED" and "NOT_MONITORED" could be nice.
At least Jellyseerr users will be able to see when a movie won't be automatically downloaded (without adding much complexity), and should be able to request them again.
Does it make sense for you?


Is it possible to build from a private repository?

The excellent how-to describes how to use the azure-cli to execute the cloud native buildpack from a public repository. It would be nice if it could include how could this be achieved from a private git repository
[Enter feedback here]

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

ID: 73ff7047-440a-0262-6ea5-e06f0092f576
Version Independent ID: 4df6a6d2-ed03-5207-8a66-50db513c6363
Content: Build image with Cloud Native Buildpack - Azure Container Registry
Content Source: articles/container-registry/container-registry-tasks-pack-build.md
Service: container-registry
GitHub Login: @dlepow
Microsoft Alias: danlep

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@reinventit - Thanks for the feedback. Currently the cloud native buildback capability can't queue a build from a private GitHub repository. You could build from a local source context - for example, files cloned from a private repo. Would this help?
az acr pack build -r MyRegistry -t {{.Run.Registry}}/node-app:{{.Run.ID}} --builder cloudfoundry/cnb:bionic ./myfolder.

If you want to suggest a feature, please see the Azure Feedback Forum.

@dlepow - Thanks for your response. A solution like this would certainly help and I think other customers as welI. I think most use cases require a build from a non-public repository.
However, the command you suggested is failing for me with the following message:
ERROR: failed to fetch builder image 'index.docker.io/cloudfoundry/cnb:bionic': image index.docker.io/cloudfoundry/cnb:bionic does not exist on the daemon: not found

I have tried the heroku/buildpack as well, but seems to give the same problem.

@reinventit - The command failure is due to a known issue recently in the az pack build CLI command: https://github.com/Azure/azure-cli/issues/13694. I'll update the article when the issue is fixed. Thanks.

@dlepow I appreciate your effort, thanks for looking into this!

Thanks for providing feedback that helps improve our documentation. This issue has been resolved and we are closing the issue.
#please-close


[FEATURE REQUEST] Possibility to change ng-trim attribute of the inputs

Hi all!
Need to handle SPACE characters.
Angular trims it and does not call refresh in case SPACE entered, because ng-trim is true by default for inputs.
Is it possible to give control over this attribute somehow?
Thank you for the great tool!

Hi @VitaliyKim,
As described in the issue template we would like to have a full description with plunker and version.
In the case we can have a look at the issue and reproduce the issue much quicker.
At the moment I don't understand what the request is so please clarify?

Hello,
I believe I have the same issue. I guess what @VitaliyKim said is it would be nice to have the option to not trim the input.
For instance, with the candidates:
"foo"
"  bar"
"    baz"

I would like to search and display the white spaces. For the candidate list and for the selected candidate, it can be done with CSS. But for the input, we currently have to customize the template, adding an option to specify the ng-trim value would be better.
Here is a plunkr showing that, with version 0.19.8:

needed feature, thumb up


git-tfs checkintool doesn't work with VS2015

I debugged it and found it fails because the following library doesn't exist, however the error message doesn't show it
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.VersionControl.ControlAdapter.dll

Yes the same here. C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.VersionControl.ControlAdapter.dll is not found. I searched my computer and couldn't find this file anymore.

I think that the problem come from the fact that Microsoft decided to no more register some .net assemblies in the GAC.
Perhaps you could try to locate the path of the dll (I found it in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\yuqpv42o.j05 and C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\z2mkpedm.xaf) and add the path in your PATH environment variable.
Let us know if it solve your problem...

For me this path is different c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\agzabwin.q1f\Microsoft.TeamFoundation.VersionControl.ControlAdapter.dll

yeah! That was for the example... Put it in your PATH ;)

I found it in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\qli2oy2s.fyz
I added to PATH. However git tfs is still looking for C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.VersionControl.ControlAdapter.dll


Publish excerpt in content instead of summary

I am very new at the fediverse and even newer at WordPress, so please forgive me if I misunderstand something.
I understood from the description of the excerpt functionality that it is to replace the content in case of length-restricted formats like an RSS feed. Such a feed should show the excerpt + a link instead of the content; if no manual excerpt is provided the actual content may be automatically shortened by such a feed to provide an excerpt.
This plugin (version 0.1.0) places the manual excerpt in the summary field instead. A recent commit actually creates an automatic excerpt from the content, and places that in the summary field. If I understand it correctly, the summary field is used in systems like Mastodon to provide the content warning.
I therefor propose to put the manual excerpt, or possibly the automatic excerpt if applicable, in the content of the activity stream, rather than the summary.

Thanks for your feedback, I was not aware of the summary usage of mastodon.social... I will run some tests and think about your suggestions!

As far as I know it is only Mastodon that uses the summary field as content warning. Friendica e.g. is using the summary field in AP when a posting contains an abstract BBCode element typed in by the author of a posting.


support running on aarch64

Feature Request
Describe the feature you'd like:
As we try to run pegasus on aarch64 machine to our business, I see some problems from thirdparty that need to be solved. Finally I passed unit test on aarch64 machine.

Should I set it to bug is better?


Build, test and publish Python 3.13 wheels to PyPI

Python 3.13.0 is now in release candidate phase, which makes it ABI stable and Python 3.13 wheels can be build and uploaded to PyPI.
Since Fiona is a low-level dependency for many downstream projects, it would be beneficial to have Python 3.13 on PyPI as fast as possible, ideally in the 1.10 release.
cibuildwheel 2.20 now uses the latest Python 3.13.0rc1 and build Python 3.13 by default (https://github.com/pypa/cibuildwheel/pull/1950), which could help the process.
Edit: This is the issue to track

https://github.com/sgillies/fiona-wheels/issues/46

Leaving this open since not everyone might know where the Fiona wheels get build

Done!


Revert "bucket_Sort in c"

Reverts fnplus/interview-techdev-guide#244

Requesting the user to move the file to the appropriate folder location.


Draft Layout - SebnemDogru

Approved. Please update and add more designs before the final deadline. Thanks!


Return value for subscription

Subscription may have a return value. Let's support that.

interface EventSubscription<T> {
  /* ... */
  keepsake: T;
  cease(keepsake: T): void;
  cessation: Promise<T>
}

interface Contract<T> extends Promise<T> {
  cease(outcome: T); // This calls `.then()`
}


[Intel MKL] Fixing mkl-eager-op-rewrite-test

This PR fixes a test failure caused by changes made to the build file in this commit 7bf13f9aae6b0bbdfbe4e01cb503f7988b2e8ce6

@alextp @jaingaurav can you please review this PR?


parser: implement Restore for BinlogStmt, FlushStmt, KillStmt, DoStmt and AdminStmt

What problem does this PR solve?
Implement Restore for BinlogStmt, FlushStmt, KillStmt.
Issue: https://github.com/pingcap/tidb/issues/8532

LGTM


saved freeboard files not in the correct directory

With Node-Red 0.10.4, the user folder is located in HOME/.node-red
Would it be possible to save the freeboard files there (I assume there is a way to access the user folder programatically) instead of the root of the node-red installation ?

Should work now.

Thanks !


LittleFX [SUGGESTION] Trigger conditions

adding trigger conditions
for example
block: STONE
trigger: step               >  this will give you speed while walking over stone
effect: speed
block: CAMPFIRE
trigger: right_click              >  this will give you regeneration if you right click the campfire
effect: regeneration
block: SLIME_BLOCK
trigger: break             >  this will give you nausea when breaking the slime block
effect: nausea
block: SLIME_BLOCK
trigger: place             >  this will give you jump boost when you place a slime block
effect: jump_boost
block: BEACON
trigger: jump             >  this will give you glowing if you jump over a beacon
effect: glowing

Pretty good idea


set extents_per_memtable to 2 * memtable_capacity

Addresses #389.
Another way to address 389 would be to double the default memtable size.  I think that is probably the better way, since it gives users more accurate control over how much cache the memtable can consume.

It's not a straight line no matter what. There are 4 memtables, so the max memory consumption is 4 * max_num_extents already.
The other thing is that the max node size is based on max_num_extents I think, so we need to correct that to be relative to the logical data size of the memtable, i.e. it needs to be divided in half.


Inlining abstract classes

Hi, I have an inter-linked class structure, the essence of which can be captured as the following:
    public class SchemaTest {
       public List<Parent> parents;
    }

    @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "class")
    @JsonSubTypes({
       @JsonSubTypes.Type(value = Child1.class),
       @JsonSubTypes.Type(value = Child2.class)})
     public abstract class Parent {
      }

     public class Child1 extends Parent {
        public List<Parent> parents1;
     }

     public class Child2 extends Parent {
        public List<Parent> parents2;
     }

The module generates schema by essentially inlining the abstract class, as follows:
  {
    "$schema" : "http://json-schema.org/draft-04/schema#",
    "title" : "Schema Test",
    "type" : "object",
    "additionalProperties" : false,
    "properties" : {
      "parents" : {
        "type" : "array",
        "items" : {
          "oneOf" : [
            {
              "$ref" : "#/definitions/Child2"
            },
            {
              "$ref" : "#/definitions/Child1"
            }
          ]
        }
      }
    },
    "definitions" : {
      "Child2" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "class" : {
            "type" : "string",
            "enum" : [
              null
            ],
            "default" : null
          },
          "parents2" : {
            "type" : "array",
            "items" : {
              "oneOf" : [
                {
                  "$ref" : "#/definitions/Child2"
                },
                {
                  "$ref" : "#/definitions/Child1"
                }
              ]
            }
          }
        },
        "title" : null,
        "required" : [
          "class"
        ]
      },
      "Child1" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "class" : {
            "type" : "string",
            "enum" : [
              null
            ],
            "default" : null
          },
          "parents1" : {
            "type" : "array",
            "items" : {
              "oneOf" : [
                {
                  "$ref" : "#/definitions/Child2"
                },
                {
                  "$ref" : "#/definitions/Child1"
                }
              ]
            }
          }
        },
        "title" : null,
        "required" : [
          "class"
        ]
      }
    }
  }

The issue is that this representation is losing information that all of the oneOf's are of the same type (Parent). Would it be possible to generate something like the following?
   {
    "$schema" : "http://json-schema.org/draft-04/schema#",
    "title" : "Schema Test",
    "type" : "object",
    "additionalProperties" : false,
    "properties" : {
      "parents" : {
        "type" : "array",
        "items" : {
          "$ref" : "#/definitions/Parent"
        }
      }
    },
    "definitions" : {
      "Parent" : {
        "oneOf" : [
          {
            "$ref" : "#/definitions/Child2"
          },
          {
            "$ref" : "#/definitions/Child1"
          }
        ]
      },
      "Child2" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "class" : {
            "type" : "string",
            "enum" : [
              null
            ],
            "default" : null
          },
          "parents2" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/definitions/Parent"
            }
          }
        },
        "title" : null,
        "required" : [
          "class"
        ]
      },
      "Child1" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "class" : {
            "type" : "string",
            "enum" : [
              null
            ],
            "default" : null
          },
          "parents1" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/definitions/Parent"
            }
          }
        },
        "title" : null,
        "required" : [
          "class"
        ]
      }
    }
  }

For a real-world example, see http://intentionet.github.io/batfish/docson/#../datamodel.json. The relevant part is routingPolicies --> expand "Statement" --> expand "If" which nicely shows that If contains Statement.
I got this by modifying expectObjectFormat. The changes are committed to branch noAbstractInline of my fork. I didn't issue a pull requests because it breaks some tests, and I don't have the expertise to fix them easily.
Happy to help if you wanted to incorporate this change.
Thanks.

I'm not sure but I might think that what you suggests is an improvement :)
I'll look into it.


Fix(lazy-loader): Add check if google maps script was already loaded

Check in lazy loader if google maps script was loaded and maps are initialized in window.

It is also fixing #692. If you have lazy loaded ng modules than in each lazy loaded module LazyMapsApiLoader is called and then you get multiple script tags injected in head which leads to console warning from maps script, which contains sanity check.

@qfel13 Thx. Merged!


Allow "emoji" arg to be passed through to some constructors

tl;dr I found a few places where passing through emoji helps make the DSL a bit easier to use.
Hey, thanks for this great gem!  We have an internal implementation of the Slack BlockKit spec in our app and I'm looking at swapping in this great, open-source library instead.  I've spiked out a replacement for our view handler and hooked it up to this BlockKit implementation so we can use it with ActionView.  I've also built a prototype of an importer that will convert BlockKit JSON into this gem's DSL that's embedded in our new view layer.
As part of this conversion work, I've been using the somewhat full-featured Builder examples to import and the way I'm auto-generating the code assumes that it can pass emoji through this way to make sure the imported JSON and the JSON that's generated by the view match.  Are you interested in this change?
Additionally, once I've got it deployed, I hope to be able to open source and share some of this if you think it'd be useful!  Would you be interested in either the ActionView template handler or the JSON->DSL converter as part of this library?  Or if I release it separately, could I get a mention in the README?  I'd love to team up, let me know!

Hey @bmorton! Thanks for taking the time to contribute these changes -- they look great!

Would you be interested in either the ActionView template handler or the JSON->DSL converter as part of this library? Or if I release it separately, could I get a mention in the README? I'd love to team up, let me know!

This sounds really interesting/cool! Would you mind creating separate issues for these when time allows? Would be great to get more details on these!


Fix bug in scanner cache PR when running kprove

You should not need to review the first commit as it is identical to the one previously reviewed. This PR just fixes the issue where we were still trying to serialize the scanner when parsing rules in kprove.
Note that we do not need to fix the case where we are deserializing the scanner yet, because we do not yet use the serialized scanner while parsing anything other than search patterns. In a follow-up PR, once this is suitably working, we will need to ensure that we use the cached scanner during kprovex

@dwightguth can you remind me how is this supposed to work?
I tested this and it still generates extra scanners even when kompiling twice.
regression-new/map-symbolic-tests-haskell$ kompile --no-exc-wrap --backend haskell  map-tests.k -d . -v
Parse command line options                                   =  0.011s
Importing: Source(/home/radu/work/k/k-distribution/tests/regression-new/map-symbolic-tests-haskell/map-tests.k)
Outer parsing [67 modules]                                   =  0.772s
  New scanner: MAP-TESTS-CONFIG-CELLS                        =  0.142s
  New scanner: STDOUT-STREAM-CONFIG-CELLS                    =  0.196s
  New scanner: STDIN-STREAM-CONFIG-CELLS                     =  0.220s
Parse configurations [3/3 declarations]                      =  0.525s
  New scanner: MAP-TESTS-RULE-CELLS                          =  0.128s
  New scanner: STRING-KORE-RULE-CELLS                        =  0.176s
  New scanner: STRING-COMMON-RULE-CELLS                      =  0.199s
  New scanner: MAP-TESTS-RULE-CELLS                          =  0.215s
  New scanner: K-IO-RULE-CELLS                               =  0.314s
  New scanner: STDOUT-STREAM-RULE-CELLS                      =  0.294s
  New scanner: STDIN-STREAM-RULE-CELLS                       =  0.322s
Parse rules [120/120 rules]                                  =  0.635s
Validate definition                                          =  0.149s
Apply compile pipeline                                       =  0.298s
Kompile to kore                                              =  0.005s
Save to disk                                                 =  0.033s
Backend                                                      =  0.342s
Cleanup                                                      =  0.001s
Total                                                        =  2.771s
regression-new/map-symbolic-tests-haskell$ kompile --no-exc-wrap --backend haskell  map-tests.k -d . -v
Parse command line options                                   =  0.011s
Importing: Source(/home/radu/work/k/k-distribution/tests/regression-new/map-symbolic-tests-haskell/map-tests.k)
Outer parsing [67 modules]                                   =  0.725s
Parse configurations [0/3 declarations]                      =  0.287s
  New scanner: MAP-TESTS-RULE-CELLS                          =  0.133s
Parse rules [0/120 rules]                                    =  0.189s
Validate definition                                          =  0.132s
Apply compile pipeline                                       =  0.346s
Kompile to kore                                              =  0.006s
Save to disk                                                 =  0.033s
Backend                                                      =  0.388s
Cleanup                                                      =  0.001s
Total                                                        =  2.118s
regression-new/map-symbolic-tests-haskell$

The goal of this PR isn't to stop scanners from being created when you run kompile; that's because we don't have any logic for deciding if the cached scanner is out of date, nor would it be particularly easy to do this. It is merely to allow us to reuse scanners during krun and eventually kprovex that are identical to the one generated by kompile

Ok, fine for now.
But you can check that the grammar used to generate the scanner is equal.
It's a coarse solution because you check the entire grammar instead of only the lexical part but it should work.

Sure, in theory you can, but any substantive change to the definition's syntax will ultimately invalidate the scanner, whereas you have now introduced a new check for equality that is pretty massive that has to be run on every invocation of kompile. I'm not convinced it's really going to help much during day to day development. Besides, my primary goal with this change is to reduce time spent on the hot path, which doesn't include time spent in kompile. We can separately try to improve time spent in kompile, of course, but generating the scanner isn't generally where most of that time is being spent in large definitions right now. Regardless, I'm going to merge this and we can continue to iterate improvements

We do grammar comparison when we invalidate cached rules anyway.
Why are you saying this is 'massive'?

We do grammar comparison when we invalidate cached rules if we have rules in the module in question. However, if the definition consists of many modules each with a few pieces of syntax, all imported into one module with no rules, then we won't actually need to do the cache invalidation check on the entire grammar all at once. Thus, you would still end up doing additional work.


Create pt_BR in transifex

Hi! Could you please add pt_BR in transifex so that we can start translating to brazilian portuguese? Thanks!

In transifex, it's ok. But in the system, it is not working. There is some error recognizing routes pt_BR and pt_PT.

Thanks for the report @dtygel, and sorry for not seeing this for a long time. Is this still a problem for you?


Question: Is there a provision to import html code of the email template?

I really love your editor! It's very helpful in designing emails
But I wanted to reuse some of the older HTML templates. When I try to import it in the "Import MJML section", the template breaks. Is there any provision to import HTML code too?
Thanks in advance

Unfortunately MJML doesn't support compiling back from HTML so this won't be possible


Problem when using overlay_pdf with some PDFs that are edited in Acrobat Pro

Maybe just wrap in a try/except
Looks like the problem is when there are spaces in the field name.

I'm not able to reproduce this issue with the current version of Docassemble or the Weaver.
test pdf fields with_funky_characters.pdf


Create plugin-redmine-metrics-report.yml

permission added for redmine metrics report plugin

Please restore the pull request template and check off all applicable items. It makes it much easier to process pull requests.


Alpha

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/tmo-orb/semver?version=dev:10cfd086aa3a90e3d550ea2ee89e1805b507835f

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/tmo-orb/semver?version=dev:f4cb87c89cd6d7892414ab02d9dbb553d2130027

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/tmo-orb/semver?version=dev:f4cb87c89cd6d7892414ab02d9dbb553d2130027

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/tmo-orb/semver?version=1.4.0