[BUG] Error creating conda environment

Describe the bug
A clear and concise description of what the bug is.
If you have an error message or report that you can include, please do!
A user was running scpca-nf and everything ran successfully until they reached the export_anndata process. Here it appears that the workflow is trying to set up the conda environment for Zellkonverter, but can't. I do think part of this may be permissions.
To reproduce
If possible, please provide example code to reproduce the problem, including any information about the dataset where the problem occurred, if possible.
What command did you use to invoke the scpca-nf workflow?
What type of system are you using to run the workflow (local, slurm, AWS, etc.)?
If you are using a custom profile or config file, please include the file and settings you used.
Azure node
Version information
What version of scpca-nf are you using, and what version of Nextflow?
scpca-nf 0.5.2
Additional context
Add any other context about the problem here.
ERROR ~ Error executing process > 'sce_to_anndata:export_anndata (SCPCL000980)'

Caused by:

  Process `sce_to_anndata:export_anndata (SCPCL000980)` terminated with an error exit status (1)

Command executed:

  sce_to_anndata.R         --input_sce_file SCPCL000980_filtered.rds         --output_rna_h5 SCPCL000980_filtered_rna.hdf5         --output_feature_h5 SCPCL000980_filtered_null.hdf5

Command exit status:

  1

Command output:

  Collecting package metadata (current_repodata.json): ...working... done

  Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.

  Collecting package metadata (repodata.json): ...working... failed

Command error:
                            2/0/bin:/shared/home/ipushel/.cache/R/basilisk/1.10.2/0/bin:/shared/ho
                            me/ipushel/.cache/R/basilisk/1.10.2/0/condabin:/usr/local/sbin:/usr/lo
                            cal/bin:/usr/sbin:/usr/bin:/sbin:/bin:/mnt/scratch/assets/AlexsLemonad
                            e/scpca-nf/bin
           PYTHONNOUSERSITE=1
         REQUESTS_CA_BUNDLE=<not set>
              SSL_CERT_FILE=<not set>
                  USER_PATH=/software/python/conda3/bin:/software/java/java11/bin:/sched/sge/sge-2
                            011-11j/bin/linux-x64:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbi
                            n:/opt/cycle/jetpack/bin:/opt/mssql-tools18/bin:/shared/home/ipushel/.
                            local/bin:/shared/home/ipushel/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/
                            local/bin:/usr/local/sbin

       active environment : base
      active env location : /shared/home/ipushel/.cache/R/basilisk/1.10.2/0
              shell level : 1
         user config file : /shared/home/ipushel/.condarc
   populated config files :
            conda version : 4.12.0
      conda-build version : not installed
           python version : 3.8.13.final.0
         virtual packages : __linux=3.10.0=0
                            __glibc=2.35=0
                            __unix=0=0
                            __archspec=1=x86_64
         base environment : /shared/home/ipushel/.cache/R/basilisk/1.10.2/0  (writable)
        conda av data dir : /shared/home/ipushel/.cache/R/basilisk/1.10.2/0/etc/conda
    conda av metadata url : None
             channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                            https://conda.anaconda.org/conda-forge/noarch
                            https://repo.anaconda.com/pkgs/main/linux-64
                            https://repo.anaconda.com/pkgs/main/noarch
                            https://repo.anaconda.com/pkgs/r/linux-64
                            https://repo.anaconda.com/pkgs/r/noarch
            package cache : /shared/home/ipushel/.cache/R/basilisk/1.10.2/0/pkgs
                            /shared/home/ipushel/.conda/pkgs
         envs directories : /shared/home/ipushel/.cache/R/basilisk/1.10.2/0/envs
                            /shared/home/ipushel/.conda/envs
                 platform : linux-64
               user-agent : conda/4.12.0 requests/2.27.1 CPython/3.8.13 Linux/3.10.0-1160.83.1.el7.x86_64 ubuntu/22.04.2 glibc/2.35
                  UID:GID : 3095:10000
               netrc file : None
             offline mode : False

  An unexpected error has occurred. Conda has prepared the above report.

  Upload successful.
  Error: Error creating conda environment '/shared/home/ipushel/.cache/R/basilisk/1.10.2/zellkonverter/1.8.0/zellkonverterAnnDataEnv-0.8.0' [exit code 1]
  Execution halted

Work dir:
  /mnt/scratch/work/41/2383ce85763b40edbaf4b010bee2bb

 Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

-- Check '.nextflow.log' file for details

I think it would be helpful if irina could send us her /shared/home/ipushel/.condarc file. I have a sense that may be where the issue lies. Looking briefly at the channel urls, I don't see one for bioconda, so my guess is that is what is missing. Not sure why basilisk doesn't handle that internally as I would expect it to, but as I said, this is a guess.

While Irina was able to run at least one sample successfully after setting up fresh, I do have a potential solution in https://github.com/AlexsLemonade/scpcaTools/pull/202

I believe this bug has been solved with the way that conda environments are now handled within scpcaTools docker images. I am closing this with the expectation that any new instances of a similar bug would create a new issue.


Feign Retryer is not configurable and overlaps with the ribbon retry.

I have a consumer service calling an provider service which is running with 2 instances.
The provider interface
  @FeignClient("example")
  public interface ExampleService {
     @RequestMapping(
        method = {RequestMethod.POST},
        value = {"/greeting/{nameToGreat}"}
      )
     String greeting(@PathVariable(value = "nameToGreat") String nameToGreat);

The ribbon configuration within the consumer service is as follows:
example.ribbon.OkToRetryOnAllOperations=false
example.ribbon.ReadTimeout=3999
example.ribbon.MaxAutoRetries=0
example.ribbon.MaxAutoRetriesNextServer=3

If there is a SocketTimeoutException during a call to the example service, I would not expect that there a retry to the next instance occurs, because POST requests are not idempotent.
But the real behavior is that there retries to the next instance occurs which causes creation of duplicate accounts aso.
In a debugging session I could see that a correct RequestSpecificRetryHandler with the ribbon config values from above will be created and as far I could see the method isRetriableException(...) of that handler returns false.
What can I do to find a solution?
Thanx
Lutz

Now I found that the FeignClient uses the default retryer which retries the failed requests on its own.
I think this is not desired, because it overrules the configuration for the ribbon loadbalancer.
Maybe this is not a feature, is it?
Lutz

Perhaps the default should be an empty Retryer.
As a workaround, you can create a Retryer bean in a Feign Client Configuration.

Workaround works like a charm:
  @Bean
  public Retryer retryer() {
    return new Retryer() {

      @Override
      public void continueOrPropagate(RetryableException e) {
        throw e;
      }

      @Override
      public Retryer clone() {
        return this;
      }
    };
  }

There's a NEVER_RETRY implementation so you can do
@Bean public Retryer retryer() { return Retryer.NEVER_RETRY; }

We can close this issue because all this retry logic was simplified in the latest Camden SRs and and Dalston snapshots and there is only one level of retry now.

Can you explain what you mean by 'there is only one level of retry now'?

We've eliminated the feign retry with our ribbon retry


POL-616 Run the DB cleaning job from a CronJob - Phase 2

Based on #351.
⚠ This PR must not be merged before policies-ui-backend has been deployed on prod with Clowder ⚠

The CronJob was successfully deployed and tested on ephemeral:
INFO:  2021-12-16 16:00:03.644574+00 Policies history purge starting. Entries older than 14 days will be deleted.
INFO:  2021-12-16 16:00:03.644574+00 Policies history purge ended. 0 entries were deleted from the database.

https://gitlab.cee.redhat.com/service/app-interface/-/merge_requests/30576 has been merged, everything's ready for a merge and a stage/prod deployment.


[Plugin] Let me charge my iPhone

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Fastlane should be able to charge my iPhone for me, maybe as a Plug In?
\c @hectormatos2011, @KrauseFx
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

N/A
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.3

Ruby
2.4.0

Bundler?
false

Git
git version 2.11.0

Installation Source
~/.gem/ruby/2.4.0/bin/fastlane

Host
Mac OS X 10.12.3 (16D32)

Ruby Lib Dir
~/.rubies/2.4.0/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Is homebrew
false

Xcode Path
/Applications/Xcode-8.2.app/Contents/Developer/

Xcode Version
8.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.18.3
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

claide
1.0.1

colored
1.2

nanaimo
0.2.3

xcodeproj
1.4.2

xcpretty
0.2.4

terminal-notifier
1.7.1

terminal-table
1.6.0

plist
3.2.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

highline
1.7.8

commander
4.4.2

excon
0.54.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

uber
0.0.15

representable
2.3.0

retriable
2.1.0

hurley
0.2

little-plugger
1.1.4

logging
2.1.0

jwt
1.5.6

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.20

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.0

security
0.1.3

xcpretty-travis-formatter
0.0.4

thread_safe
0.3.5

minitest
5.10.1

tzinfo
1.2.2

json
1.8.6

i18n
0.8.0

activesupport
<IP_ADDRESS>

CFPropertyList
2.3.5

rouge
1.11.1

public_suffix
2.0.5

addressable
2.5.0

faraday
0.11.0

fastimage
2.0.1

gh_inspector
1.0.3

mime-types-data
3.2016.0521

mime-types
3.1

multi_json
1.12.1

memoist
0.15.0

dotenv
2.1.2

bundler
1.14.3

faraday_middleware
0.11.0

io-console
0.4.6

openssl
2.0.2

generated on: 2017-02-24

Please include complete output when running fastlane :+1:

@segiddins
Disable Charging
cd /System/Library/Extensions/
sudo kextunload IOUSBMassStorageClass.kext

Enable Charging
cd /System/Library/Extensions/
sudo kextload IOUSBMassStorageClass.kext

but this should be done as a plugin tbh 🦀

❤


cmake: introduction of Zephyr Build Configuration package

Re-opening of: https://github.com/zephyrproject-rtos/zephyr/pull/25399
Please check for old comments in that PR.

The ZephyrBuildConfiguration package allow downstream users to control
the Zephyr build system using a cmake package.
A Zephyr Build Configuration package allows for setting of additional
DTS_ROOT, BOARD_ROOT, and similar variables without having to patch
Zephyr repo, but it also allows for inclusion of additional boilerplate
code for more advanced use cases.
The repository or folder containing the Zephyr Build Configuration
package must be on toplevel in the Zephyr workspace.
Signed-off-by: Torsten Rasmussen<EMAIL_ADDRESS>

Based on TSC feedback: What is Zephyr Extension ?
I would like to get input on best naming here.
Seen from Zephyr CMake package, this is a hook providing the user with the ability to extend the Zephyr CMake package, but seen from Zephyr perspective, extension may not be the optimal wording here.
User can provide anything, additional BOARD_ROOTs, TOOLCHAIN_ROOT, override Python, and so on.
So it's very generic, so some other names to consider for this:

Zephyr Settings Package --> ZephyrSettingsConfig.cmake as file
Zephyr User Package --> ZephyrUserConfig.cmake
Zephyr Customization Package --> ZephyrCustomizationConfig.cmake

More suggestions are welcome.

I welcome such a feature (being able to "extend" or "configure" the Zephyr build environment from modules), but I think the suggested solution is too restricted.
It only allows one module in a given setup to provide extensions/configurations, which rules out using this approach for e.g. having one module providing Zephyr, a couple of others providing a BSPs (with DTS_ROOT and BOARD_ROOT variables), ...
I am not that familiar with CMake packages. Would it be possible to somehow allow for the above scenario without changing too much of this PR?

I welcome such a feature (being able to "extend" or "configure" the Zephyr build environment from modules), but I think the suggested solution is too restricted.

This early in the build system, we are in a very restricted mode, cause we know nothing about:

Python
Zephyr modules
west
anything else

The reason for this to be so early in the build system, is to allow practically anything downstream.
So in this regard, it can be compared to .zephyrrc although being able to placed directly in the project, and thus not relying on users adding anything to .zephyrrc or remember to source it.

It only allows one module in a given setup to provide extensions/configurations, which rules out using this approach for e.g. having one module providing Zephyr, a couple of others providing a BSPs (with DTS_ROOT and BOARD_ROOT variables), ...

This was more intended as an early hook into Zephyr build system, but I do see the value of being able to allow modules to provide DTS or Board root, similar to what is provided for Kconfig and cmake files.
A feature, such as DTS into modules would be a specific use case, whereas this package feature is more open, it's basically up to users what to place inside the package.
But it does allow for downstream to implement a fancy board / dts detection mechanism, based on local conditions.
If we need modules in Zephyr project itself to support DTS or Board files in existing modules, we should also look into the possibility of achieving this using the current Zephyr module approach.
This PR does not rule out such a additional enhancement.

I am not that familiar with CMake packages. Would it be possible to somehow allow for the above scenario without changing too much of this PR?

There can only be included one package, but what that package does, or how it decides what else to include, or setup, would be for the implementer of that package to decide.
An example of such approach can be seen here:
https://github.com/zephyrproject-rtos/zephyr/issues/25215#issuecomment-631649070
As we are not using any fancy features of CMake package, such as versioning, user package registry, and so, it can be regarded as simply including a CMake file which conforms to a specific name.

As we are not using any fancy features of CMake package, such as versioning, user package registry, and so, it can be regarded as simply including a CMake file which conforms to a specific name.

Then why not do just that? Attempt to include a CMake file of a given name from each module early in the build process in order for each module to be able to customise the CMake environment? As I understand, your use-case is a subset of this functionality. How far "into the build process" are we before we know the path of every module?
I find the limitations of the suggested solution quite odd to explain to a user: "You can customise the Zephyr CMake build environment in any way you want, but only from one module - and only if that module is placed at a specific directory level. If two modules provide it, the result is undefined." The logical question - at least for me - would be why these limitations?

As we are not using any fancy features of CMake package, such as versioning, user package registry, and so, it can be regarded as simply including a CMake file which conforms to a specific name.

Then why not do just that? Attempt to include a CMake file of a given name from each module early in the build process in order for each module to be able to customise the CMake environment?

because we don't know what a module is at this stage.
Also, CMake already provides a nice way of providing a generic way to include packages, and even allow search functionality.
Regarding modules, then we cannot use west list this early, and just looping all folders will have unintended side effects.
As example, I know people using same zephyr workspace for both upstream Zephyr work, and downstream work, and simply updates .west/config file in the [manifest] path = <project> part and then do a west update.
When switching between two (or more) projects, modules present in one manifest but not the other are not pruned, so wildcard including CMake files from any folder could include files not part of the current project.
Of course, users not having such workflow could easily do wildcard inclusion of multiple folders, and they can decide to do so in the custom Build Config package.
You should compare this feature to an advanced CMake version of .zephyrrc, that are part of a project and can be shared through git.
This is intended purely as a hook for downstream users, and how they decide to use that hook, is up to them.
They can do additional inclusion, or decide to auto include all packages with same name.
The following is an example of how a single package file can discover any other packages of same name and include them:
if(NOT NO_REINCLUDE)
  set(NO_REINCLUDE TRUE)
  # Find all ZephyrBuildConfig, but do not include any of them.
  find_package(ZephyrBuild 0.0.0 PATHS ${ZEPHYR_BASE}/../* QUIET NO_DEFAULT_PATH)

  # Remove ourself.
  list(REMOVE_ITEM ZephyrBuild_CONSIDERED_CONFIGS ${CMAKE_CURRENT_LIST_FILE})

  # Include the rest manually
  foreach(item ${ZephyrBuild_CONSIDERED_CONFIGS})
    include(${item})
  endforeach()
else()
  # Other package file is already handling the inclusion process.
endif()

so as you see, this is really up to downstream users, how they want to utilize this feature, which is the real strength, cause it removes the need for: Can I have A included, Can I have B included, Can I have ....
Of course, in upstream Zephyr, we might find it useful to extend the modules to support DTS or Board roots, as part of the general restructure and extension of modules. And we should do so if it makes sense for Zephyr project.
But Zephyr itself should not use the mechanism proposed in this PR.
Instead we should provide the exact implementation of what we need inside Zephyr.
See this feature is an open box, allowing users to hook in anything they like.

and only if that module is placed at a specific directory level.

The suggested path for the ZephyrBuildConfig.cmake is because it follows the same path as the Zephyr CMake package:
https://github.com/zephyrproject-rtos/zephyr/blob/master/share/zephyr-package/cmake/ZephyrConfig.cmake
and this path was discussed here:
https://github.com/zephyrproject-rtos/zephyr/pull/23054#discussion_r389091984
but in fact users can place the file in other folders, as long as they honor:
https://cmake.org/cmake/help/v3.17/command/find_package.html?highlight=find_package#search-procedure
but I tried to keep things simple, and just suggest same structure as is used for Zephyr CMake package, but if you think it is valuable to describe other folders I will update the docs.

How far "into the build process" are we before we know the path of every module?

For the CMake inclusion of modules, we are AFTER dts and Kconfig, cause the CMake file specified in the module.yml may depend on Kconfig symbol being defined.
Hence it is necessary that Kconfig processing has completed before we include module CMake files.
This is also a reason I prefer to keep this right after Zephyr base, to avoid user A would like this to be loaded at line 50, user B at line 52, cause then X have been processed, and so on.
We already have Zephyr modules, that are processed after Kconfig.


OOP school library: unit tests

OOP school library: unit tests
Howdy! :cowboy_hat_face:
In this PR We :

Write unit tests using Rspec for the following classes :

Book
Person
Student
Teacher
Classroom
Rental

Follow GitFlow.

Fix Linter errors.

Cheers! :rose:

Thank you @addod19.


Added folder locker and hider tool made in python

This python tool can help you hide and lock your folders with password protection
Pull Request Template
script name -
What have you Changed
what you changed in the codebase.write here
Issue no.(must) -
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me.
[x] One Change in one Pull Request
[x] My file is in proper folder
[x] I am following clean code and Documentation and my code is well linted with flake8.
[x] I have added README.md and requirements.txt with my script

If issue was not assigned to you Please don't make a PR. It will marked as invalid.
Join Us on Discord:- https://discord.gg/JfbK3bS
acknowledgement

[x] I have tested the script and distributing it under MIT license.

The issues detetcted here are because i am using cmd commands to hide the folders. Kindly review and merge it

@pyGuru123 your code has some linting error, please check it. Use flake8 guidelines and please use capital letters in folders name.


the SMART dataset now contains a proper time variable

This is the second piece of the 🐔 and the 🥚

I think that the problem will be solved when both PRs (#23 and this) are merged. But this is currently masked by the fact that Aeris is offline, so we won't have a green test result anyways.

Yes, so we wait 🤷♀


Refactor reader/writer inheritance hierarchy

This PR refactors the reader and writer format API into clear base
classes.

Good points. I addressed them with the latest commits.


AssetPath ignores source and label when parsing Path and PathBuf

Bevy version
0.13
What you did
use bevy::asset::AssetPath;

fn main() {
    let path = std::path::Path::new("custom://some/custom/path#with_label");
    let asset_path = AssetPath::from_path(path);
    println!(
        "source: {:?}, path: {:?}, label: {:?}",
        asset_path.source(),
        asset_path.path(),
        asset_path.label()
    );
    let asset_path = AssetPath::parse("custom:://some/custom/path#with_label");
    println!(
        "source: {:?}, path: {:?}, label: {:?}",
        asset_path.source(),
        asset_path.path(),
        asset_path.label()
    );
}

What went wrong
First println:
source: Default, path: "custom://some/custom/path#with_label", label: None

Second println:
source: Name("custom:"), path: "some/custom/path", label: Some("with_label")

Additional information
Path and PathBuf are useful to deal with paths due to extensions and components management without having to deal with Windows vs Unix separator, but when converting to AssetPath it just ignores source and label and ends up with an invalid path.

The problem is because it is implemented in AssetPath::from_path, From<Path> and From<PathBuf> to just ignore source and label assuming that user would never want use those when dealing with Path or PathBuf.
https://github.com/bevyengine/bevy/blob/961d49f90651bb0a6fe4a75db9d42df928ba3b26/crates/bevy_asset/src/path.rs#L227-L233
https://github.com/bevyengine/bevy/blob/961d49f90651bb0a6fe4a75db9d42df928ba3b26/crates/bevy_asset/src/path.rs#L520-L540
This can easily be fixed of course, but I don't know if there is an underlying reason to not fully parse Path and PathBuf

I think it is incorrect to use the std Path as a full URL. A Path represents a file path, not an URL.
Also note that Path methods don't handle fragments such as #Scene0 or protocol such as custom://. So while Path may have a convenient API to manipulate file paths, those same methods may interfere with the URL parts of the Path, resulting in unexpected results.


raycast: 1.51.1 -> 1.52.0

Description of changes
upgrade raycast to 1.52.0
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 233926 run on aarch64-darwin 1

1 package built:

raycast


Please help me to enable my external monitor - Envycontrol installed

Hi,
I'm on a new laptop, here are some basic info:
██   OS: Manjaro Linux x86_64
██████████████████  ████████   Host: HP ZBook Power 15.6 inch G9 Mobile Worksta
████████            ████████   Kernel: 5.15.60-1-MANJARO
████████  ████████  ████████   Uptime: 8 mins
████████  ████████  ████████   Packages: 1266 (pacman)
████████  ████████  ████████   Shell: zsh 5.9
████████  ████████  ████████   Resolution: 1920x1080
████████  ████████  ████████   DE: GNOME 42.4
████████  ████████  ████████   WM: Mutter
████████  ████████  ████████   WM Theme: Adwaita
████████  ████████  ████████   Theme: Adw-dark [GTK2/3]
████████  ████████  ████████   Icons: Papirus-Dark [GTK2/3]
Terminal: gnome-terminal
CPU: 12th Gen Intel i5-12500H (16) @ 4.500GHz
GPU: NVIDIA GeForce RTX 3050 Ti Mobile
GPU: Intel Alder Lake-P
Memory: 1828MiB / 15631MiB
I installed envycontol.
Problems I have:

The external monitor connected with HDMI won't work (no signal dectected)
If I use hybrid/nvidia MODE, I can't login to GNOME Wayland  session (only Xorg)

Questoin:

Which nvidia driver should I install. I see there are at least two options:
(1) install video-nvidia, seems a driver dedicated to nvidia
(2) install video-hybrid-intel-nvidia-prime / video-hybrid-intel-nvidia-470xx-prime

P.S. I tried the above two drivers already, neither can enable my external monitor, so I try envycontrol, still no luck.
I see envycontrol is able to not only switching GPU modes, but also to enable the external monitor, could you guide me on how to
do it?
Thanks in advance.

Hi @cronyakatsuki ,
No, I got no signal, the external monitor is not detected at all (but I'm sure it's not broken since it's working fine with my other laptops).
Then I purchased a new monitor, plugin, everything goes on fine. I'm guessing if it's hardware compatibility issue.

Just use Xorg on Nvidia mode, Wayland is broken on Optimus + external
monitor (on Fedora and Ubuntu it works but it's slow since it's not
actually HW accelerated but CPU copy).
El dom, 18 de sep. de 2022 01:46, Jack @.***> escribió:

Hi @cronyakatsuki https://github.com/cronyakatsuki ,
No, I got no signal, the external monitor is not detected at all (but I'm
sure it's not broken since it's working fine with my other laptops).
Then I purchased a new monitor, plugin, everything goes on fine. I'm
guessing if it's hardware compatibility issue.
—
Reply to this email directly, view it on GitHub
https://github.com/geminis3/envycontrol/issues/62#issuecomment-1250204693,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALY7IYJ5GKG2X2NEPPQBF3TV623ETANCNFSM57EJHYMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Enable Kotlin assignment by default

Relates to https://github.com/gradle/gradle/issues/23503

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle clean

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle clean

So IntelliJ 2023.1 has still issues with two fixes (2022.3.3 works fine), so we should probably wait on resolution of that.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.


Add support for extra fragment key inside createViewModelScope

Currently ComponentActivity.createViewModelScope does not support adding an extra key. This will need to be explored and implemented in a different PR I think.
Also due to the fact that the functions are declared inline it's not possible for them to call any code that is declared private or internal as this would essentially mean the call site was calling private/internal code which would not be allowed by the compiler. This is an issue with inline as it kind of infects everything. I separated the code into separate functions for clarity, but this now means there are publicly exposed functions that should really be marked internal. I moved all such code to a new file called CommonViewModelLazy. Another approach would be to duplicate the code and just copy it directly into the inline function bodies, but i thought this was a bit better. Everything that shouldn't be called by the outside world should be documented as such at least.

Two change requests:

createViewModelScope is returning a Lazy while doing some work. Can we either move the code to be called lazily or not return Lazy?
At the moment a Fragment is created for each VM. Can we not create new Fragemnts if there is no key?


Disabling Floating Feature

Hi, is there a way to disable the floating feature? I want to display it as like an embedded widget with a fixed size in a fixed part of a scrollable screen. Is there a way to do this? If there is, can you provide an example?

The word "floating" doesn't mean it shows on another window.
You can just give it a try, use it as a normal flutter widget. It will work as your wish (embedded).
The word "floating" just hint the developers that all the other flutter widget cannot show on top of the webview.
The webview just like "floating" on all the other flutter widget.
Hmm... maybe the name will make developers misunderstanding... orz

Yes, you got the problem and edited your answer. The problem is just as you mentioned. It can not be put in a scrollable widget. Which package you are indicating?

I moved to the following  package:
webview_windows
It doesn't have a problem like this one.

If fps is not a concern (ex. play video, animation), the webview_windows is a better solution indeed :)
If ~200MB dll file added into your app is not a concern, webview_cef may be the best solution.


Multithreaded Rendering

Hi,
first of all I just want to say thank you for this amazing lib! I replaced my OpenGL backend by bgfx within days and nearly everything is working fine. On Windows I am using the OpenGL renderer and on OSX I am using Metal.
But there is one thing I can‘t figure out how to achive.
In my application I am doing some realtime rendering at 60 FPS. Now I want to do some Image processing in the background on the GPU as well. The processing time is much longer (1 min).
Before switching to bgfx I hab a second OpenGL context living on an other thread doing the image processing while updating the realtime rendering on the main thread. How can something like this be done in bgfx?
Thanks a lot!
Gabriel

I am using external processes now. It works perfectly, thanks!


Document torch.compile, characters per second conditioning, the available model sizes and their performance

for torch.compile, my understanding to show the performance improvement is to basically prefer to use the decorator, then show a side by side comparison of performance, much like in the documentation.
i dont fully grasp what you mean with the other two : char/s conditioning, the "available model sizes and their performance"


Add a ThrowsAsync overload that takes a Type parameter

Hello,
In our xUnit tests, we have the following assertions:
        var ex = typeof(MyException);
        await Assert.ThrowsAsync(ex, () => SomeFunction());

The use-case is mostly matrix tests, with different exception types.
From what I've seen, TUnit only supports generics, not runtime Type?

Should be in 0.2.195


SQLite stopped working

Describe the bug
I upgraded from a previous  version (I don't remember which one exactly) and SQLite doesn't work anymore.
2022-09-07T00:25:24.736313+01:00 [WARN ] with sqlite, only a single connection is supported
2022-09-07T00:25:24.7368331+01:00 [ERROR] Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
2022-09-07T00:25:24.7368331+01:00 [ERROR] could not open database
panic: could not open database

goroutine 1 [running]:
github.com/emvi/logbuch.(*StandardFormatter).Pnc(0xc0000da000?, {0xde9718?, 0xde9718?}, {0x0?, 0x0?, 0x0?})
        /home/runner/go/pkg/mod/github.com/emvi/logbuch@v1.2.0/standard_formatter.go:57 +0x3f
github.com/emvi/logbuch.(*Logger).Fatal(0xc0000da000, {0xde9718, 0x17}, {0x0, 0x0, 0x0})
        /home/runner/go/pkg/mod/github.com/emvi/logbuch@v1.2.0/logger.go:132 +0x77
github.com/emvi/logbuch.Fatal(...)
        /home/runner/go/pkg/mod/github.com/emvi/logbuch@v1.2.0/funcs.go:55
main.main()
        /home/runner/work/wakapi/wakapi/main.go:126 +0x379

System information
Please provide information on:

Wakapi version 2.3.8 (amd64)
Operating system Windows 11
Database (SQLite, MySQL, ... ?) SQLite

Sorry for the inconveniences! May I ask how you are running Wakapi? From a GitHub release binary / self-compiled / with go install / in Docker?

Sorry for the inconveniences! May I ask how you are running Wakapi? From a GitHub release binary / self-compiled / with go install / in Docker?

@muety sorry for not mentioning it, I downloaded it directly from the 2.3.8 release here on GitHub

Thanks, I could reproduce the issue on my Windows machine. Even worse, Windows defender kicks in and just deletes the EXE for me.
This error is due to the latest changes in #402. Before, Windows binaries were compiled on Windows, now we attempted to do cross-compilation from Linux. Apparently, cross-compilation for Win is a bit harder when your program depends on cgo, see https://stackoverflow.com/a/41572593. You'll need MinGW, which kind of makes sense.
We'll have to revisit the release workflow again. I see two options. First option is trying to get cross-compilation with MinGW to work (as described in that post above). Second option is to compile for Mac and Linux on Linux and use Windows runners (as before) to compile the Windows binary. The second approach is probably easier, but comes with the downside that we can't compile arm64 EXEs then (see #401). But I think that would be acceptable, since ARM-based computers with Windows are probably anyway a very rare combination. Plus, I'm not sure if you can compile arm64 with MinGW on amd64. So I'd probably go for option 2, unless there is a third, even better option. Could you have another look at this, @YC? No rush though!
@NickAcPT I'll upload a fixed Windows EXE that I manually compiled on my local machine (using tdm-gcc, as escribed here) as a quick fix, so you can keep going. ll

Apologies, didn't anticipate this.
I'll look into https://github.com/mattn/go-sqlite3/blob/master/README.md#compilation and perform a few tests.

@muety Can you please delete all the arm64 releases?
$ file wakapi
wakapi: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=rt5oL3Dg5LrG_4H9LbSO/CxS-DGdQvYTZEM2fJCLz/V5xQ_5TmTdAMoYrAvcJP/nGHL8WvqdH8dWuQO0NE2, with debug_info, not stripped

$ ./wakapi
2022-09-07T07:45:50.005705269Z [WARN ] with sqlite, only a single connection is supported
2022-09-07T07:45:50.008835599Z [ERROR] Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
2022-09-07T07:45:50.008855279Z [ERROR] could not open database

Can you please delete all the arm64 releases?

Also the ones for Mac and Linux?

I've deleted the arm64 zips.
It's likely that darwin amd64 is also broken.


Change init and build to use bazel

@vsavkin if I could recommend a few things to get you working faster in the future:

we use the same script for commits titles as Angular, so you can just use refactor: as a prefix, or disable the test entirely on travis (it's an npm script).
a merge commit would probably be better than rebasing on top of master and using the bazel branch as base.
we can try to figure out a way where you have PRs but you don't need to wait for our approval. That would speed you up considerably.

Let me know what you think.


Error when creating a blog post with no link rewrite specified

Failing to enter a link rewrite causes an error when saving, and even though the blog post is saved, neither the title or content is saved.
If no link rewrite has been manually entered, the module should create a link rewrite from the post title.

Thanks for the tip. It's added to 1.0.1

I think you should also address this issue when editing a blog post and clearing the link rewrite field.
It should keep the previous saved link if its empty

This looks to be fixed now as well.


Use libutil provided functions in zdev

Looks good. We're losing some debug output but those calls can be replaced by using strace for debugging.
Acked-by: Peter Oberparleiter<EMAIL_ADDRESS>

s390-tools $ make
  CC      zdev/src/devtype.o
devnode.c: In function ‘add_block_cb’:
devnode.c:233:2: warning: implicit declaration of function ‘util_path_is_dir’ [-Wimplicit-function-declaration]
  if (util_path_is_dir(path))
  CC      zdev/src/lcs.o
ctc_auto.c: In function ‘read_sorted_ctc_devinfos’:
ctc_auto.c:128:2: warning: implicit declaration of function ‘util_path_is_dir’ [-Wimplicit-function-declaration]
  if (util_path_is_dir(path))

@r4f4 Come on ... at least a compile test should be mandatory, no? Or am I missing something?

@michael-holzheu my bad, when doing the rebase I skipped one of my commits.

@michael-holzheu my bad, when doing the rebase I skipped one of my commits.

Looks better now. Applied, thanks!


ssh access denied - swarm should allow for the definition of the ssh key on the command line

my ssh keys are in /.ssh directory.  When I run swarm, it cannot connect to the remote IP because there is no option to provide the specific key to use for the loadgens on the command line.
How do keys get associated with loadgens, especially if the keys are different as they would be in different AWS regions?
what happens
<EMAIL_ADDRESS>Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
2020-06-15:11:38:08,873 ERROR [swarm:85] Error ssh:ing to loadgen (<IP_ADDRESS>). Maybe you dont have permission to log on to them? Or your ssh key requires a password? (in that case, use ssh-agent)
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/bin/swarm", line 83, in <module>
    subprocess.check_output(f"ssh -o LogLevel=error -o BatchMode=yes {ssh_test_server} true", shell=True)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/gevent/subprocess.py", line 389, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command 'ssh -o LogLevel=error -o BatchMode=yes <IP_ADDRESS> true' returned non-zero exit status 255.

what should happen
swarm <options> -k ssh-key.pem file

This would be especially useful on AWS where there is a key used for a group of machines.  Of course, if your loadgens are in different AWS regions, different AWS keys will be needed per region.

I think you can work around it using ssh-agent
If you want something like a -k parameter to support specifying a key, feel free to build it and PR!


Fix problem with missing annotations generated by merge-imports goal …

…in OV Toolkit
Signed-off-by: Rafał Trójczak<EMAIL_ADDRESS>

The following test (assuming that onto-viewer-toolkit.jar is in the current directory) for fibo/BP/Process/FinancialContextAndProcess.rdf
wget https://github.com/ontodev/robot/releases/download/v1.9.0/robot.jar &>/dev/null
git clone https://github.com/edmcouncil/fibo &>/dev/null
java -jar robot.jar merge --include-annotations false --input fibo/BP/Process/FinancialContextAndProcess.rdf --catalog fibo/catalog-v001.xml annotate --ontology-iri https://spec.edmcouncil.org/fibo/ontology/BP/Process/FinancialContextAndProcess-Merged/ --version-iri https://spec.edmcouncil.org/fibo/ontology/master/latest/BP/Process/FinancialContextAndProcess-Merged/ --output FinancialContextAndProcess.owl &>/dev/null
java -jar onto-viewer-toolkit.jar --goal merge-imports --data fibo/BP/Process/FinancialContextAndProcess.rdf --ontology-iri https://spec.edmcouncil.org/fibo/ontology/BP/Process/FinancialContextAndProcess-Merged/ --ontology-version-iri https://spec.edmcouncil.org/fibo/ontology/master/latest/BP/Process/FinancialContextAndProcess-Merged/ --ontology-mapping fibo/catalog-v001.xml --output FinancialContextAndProcess.rdf &>/dev/null
java -jar robot.jar diff --left FinancialContextAndProcess.rdf --right FinancialContextAndProcess.owl

generates the result:

3 axioms in left ontology but not in right ontology:

Declaration(AnnotationProperty(http://purl.org/dc/terms/abstract))
Declaration(AnnotationProperty(http://www.omg.org/techprocess/ab/SpecificationMetadata/fileAbbreviation))
Declaration(AnnotationProperty(https://spec.edmcouncil.org/fibo/ontology/FND/Utilities/AnnotationVocabulary/hasMaturityLevel))

0 axioms in right ontology but not in left ontology:

Similarly executed commands for fibo/BP/SecuritiesIssuance/DebtIssuance.rdf:
java -jar robot.jar merge --include-annotations false --input fibo/BP/SecuritiesIssuance/DebtIssuance.rdf --catalog fibo/catalog-v001.xml annotate --ontology-iri https://spec.edmcouncil.org/fibo/ontology/BP/SecuritiesIssuance/DebtIssuance-Merged/ --version-iri https://spec.edmcouncil.org/fibo/ontology/master/latest/BP/SecuritiesIssuance/DebtIssuance-Merged/ --output DebtIssuance.owl &>/dev/null
java -jar onto-viewer-toolkit.jar --goal merge-imports --data fibo/BP/SecuritiesIssuance/DebtIssuance.rdf --ontology-iri https://spec.edmcouncil.org/fibo/ontology/BP/SecuritiesIssuance/DebtIssuance-Merged/ --ontology-version-iri https://spec.edmcouncil.org/fibo/ontology/master/latest/BP/SecuritiesIssuance/DebtIssuance-Merged/ --ontology-mapping fibo/catalog-v001.xml --output DebtIssuance.rdf &>/dev/null
java -jar robot.jar diff --left DebtIssuance.rdf --right DebtIssuance.owl

generates the result:

Ontologies are identical

despite the fact that both files have the same line:
<fibo-fnd-utl-av:hasMaturityLevel rdf:resource="&fibo-fnd-utl-av;Provisional"/>

see:

fibo/BP/Process/FinancialContextAndProcess.rdf
fibo/BP/SecuritiesIssuance/DebtIssuance.rdf

Hi @przemekgradzki! I've checked it and the difference is caused by the OWL API implementation that adds not declared properties that are used in the ontology. I talked with @mereolog and it seems that we can't do much about it.


[Slide + Autocomplete] "Cannot read property 'getBoundingClientRect' of null" error + Slide transition does not work with 's

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
The Slide transition was working fine when I applied it to a vanilla TextField without autocomplete, but when I did the same thing to an Autocomplete component (SearchBar.jsx in my sandbox), it gave a "Cannot read property 'getBoundingClientRect' of null" error. I searched for this issue here, and one user recommended wrapping the child component in a pair of 's, which I did. The error went away; however, as you can see in my Sandbox, the Autocomplete doesn't slide smoothly into place but it does so in a jagged motion, unlike the TextField did on my computer. Furthermore, on my computer, the component did not slide at all—it just appeared and disappeared as if without any transition being applied.
Expected Behavior 🤔
The Autocomplete should glide smoothly into its absolute position.
Steps to Reproduce 🕹
https://codesandbox.io/s/pensive-waterfall-sj7t0?fontsize=14&hidenavigation=1&theme=dark
Here is my code for the Menu button I wanted to implement on my app. I wanted to have my search bar (Autocomplete component) appear at the same time as the Speed Dial Action buttons, which is why I gave it the same open value as the Speed Dial. There is a lot of code but most of it is just styling, and I plan to clean it up once I have the structure down.
Steps:

Wrap an Autocomplete component within  tags, which are in turn inside the Slide component (MenuButton.jsx:68).
If you delete the 's on lines 69 and 71, you should get the "Cannot read property 'getBoundingClientRect' of null" error.

Context 🔦
I am making a web app with a Node.js backend where users can review courses at an institution. This is a Menu Button that I plan on having on all pages besides the Home page (which explains the "home" property passed to MenuButton).
Your Environment 🌎

Tech
Version

Material-UI
v4.11.0

React
v.1613.1

Browser
Google Chrome v.84.0.4147.135

Material-UI lab
v.4.0.0-alpha.56

I actually wrote div tags in actual diamond operators in the 3 places in the post where it abruptly goes to a new line. I apologize about that.


Feature Request: Add user name when creating a device or IP

Feature Request:
Here, some people have access to Netbox to update the IP's we are using, or to register new devices in each rack. But some of them forget to update when a device is removed or when an IP is free again/deprecated.
It would be nice to see after the date and time of the creation/update of that item who made that modification (e.g. Created Jan. 19, 2017 · Updated 3 days, 19 hours ago · John Smith).
And/or maybe a new field (like "Description") to keep the name of the person responsible for that device/IP, so, if necessary, we can ask that person directly about it, instead of asking each person of our workgroup. :)

The second part (essentially an "owner" field) would be a separate feature. Let's limit this issue to the addition of an "updated_by" field to all CreatedUpdatedModels.

Great!

Yeah, this would be great and is an addition to my earlier issue regarding searchable history for auditing purposes: #683

Would help to know who added the record, and who last edited it. This way one can track the original source of information and any incremental changes that were made to the original record.
Maybe an easier way would be to display last edit, but allow a click through to search all changes on that record (currently held within the event table) and displaying the original author of the record.

There's a lot of overlap between this extension and #1127, which calls for revamping the UserAction logging mechanism. If that works out well, associating the "last modified by" user with objects directly should be redundant.
I had originally tagged this for v2.3 but I'm going to hold off until #1127 has been completed and re-evaluate.

Would this allow a change that rather then showing under the Device name
"Created Feb. 28, 2018 · Updated 8 minutes ago"
it could instead show
"Created Feb. 28, 2018 by John Smith · Last updated by DevilWAH on March 12th 2018"
With these being searchable so it is easy to find any device not updated for X number of days?
This would be extremaly helpfor for complience where we need to be able to show auditors we are keeping assest up to date. Espicaly if this is exported when you export a list of devices.

While I'm leaving the last_created and last_updated times on individual models, ownership of each change has been established via the new ObjectChange model introduced under #1898. A new "change log" tab will appear under each applicable object, which will display its entire change history.


include(TbArray.php): failed to open stream: No such file or directory

This is the error you receive when trying to use the TbHtml helper anywhere in your application. There's a line at the top of TbHtml.php that is missing:
Yii::import('bootstrap.helpers.TbArray');
Without this the TbArray helper fails to load.
To fix this you can either
a) include this at the top of the TbHtml.php page or
b) include the following line in your 'import' section in config/main.php:
'bootstrap.helpers.TbArray'
Hope this helps :)
Andrew

'import' => array(
'application.models.',
'application.components.',
'bootstrap.helpers.TbHtml',
'bootstrap.helpers.TbArray',
'bootstrap.behaviors.TbWidget',
),
see import and solve


Adds Line2, Line3, SignalStats, Temperature python interface

🎉 New feature
Goes on top of #216.
Related to #101 #210
Summary
Adds Python interface for three math classes: Line2, SignalStats, Temperature.  For each class a python test has been created.
Related issues and notes
Line2

Collinear() and Parallel() in ign-math was not working properly as the call to equal() was receiving (double, int, double) argument types, having a 0 with static cast passed as second argument, but always having doubles for the first and third arguments.. For this, a 0. is now being passed.
Instead of copying using the assignment operator = in python for the tests, the copy constructor was used.
To offer the operator[] functionality in python, the class had to be extended in the interface file (.i file) adding __getitem__(), calling the operator[] inside.
To offer the serialization functionality in python, the class had to be extended in the interface file (.i file) adding __str__(), calling the operator<< inside.

Temperature

To offer the serialization functionality in python, the class had to be extended in the interface file (.i file) adding __str__(), calling the operator<< inside.
Setting a new temperature value with the assignment operator isn't possible in python, so the constructor is being called in the test where that was being used.
The stream extraction operator hasn't been implemented in python to deserialize a string into an object.
The friend Temperature operator+(double _t, const Temperature &_temp) and similar operators haven't been implemented in SWIG because no simple implementation was found. So it won't be possible to do temp1 = 20.0 + temp2.

SignalStats
This contains various classes defined in the same interface file.
SignalStats class

A template for the map had to be created for it to be used as dictionaries in python.
The copy constructor was used instead of the assignment operator in python tests.

SignalStatistic class and its inherited classes

The copy functionality couldn't be done for the inherited classes, as the copy constructor was defined in the parent class, and in python it isn't assigning properly the class. A useful workaround in SWIG is yet to be found.

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

It was necessary to add the -Wno-class-memaccess flag to suppress the -Wclass-memaccess warning for the python target as when the std_map from SWIG is used with SWIG 3.0.12 in the SignalStats file, we were getting the following:

Click to see output
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx: In instantiation of 'static Type swig::traits_as<Type, swig::pointer_category>::as(PyObject*, bool) [with Type = std::pair<std::__cxx11::basic_string<char>, double>; PyObject = _object]':
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:4153:64:   required from 'Type swig::as(PyObject*, bool) [with Type = std::pair<std::__cxx11::basic_string<char>, double>; PyObject = _object]'
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:4720:20:   required from 'swig::SwigPySequence_Ref<T>::operator T() const [with T = std::pair<std::__cxx11::basic_string<char>, double>]'
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:4780:14:   required from 'swig::SwigPySequence_ArrowProxy<T> swig::SwigPySequence_InputIterator<T, Reference>::operator->() const [with T = std::pair<std::__cxx11::basic_string<char>, double>; Reference = const swig::SwigPySequence_Ref<std::pair<std::__cxx11::basic_string<char>, double> >]'
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:5464:25:   required from 'void swig::assign(const SwigPySeq&, std::map<K, T, Compare, Alloc>*) [with SwigPySeq = swig::SwigPySequence_Cont<std::pair<std::__cxx11::basic_string<char>, double> >; K = std::__cxx11::basic_string<char>; T = double; Compare = std::less<std::__cxx11::basic_string<char> >; Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >]'
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:5337:12:   required from 'static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, swig::traits_asptr_stdseq<Seq, T>::sequence**) [with Seq = std::map<std::__cxx11::basic_string<char>, double>; T = std::pair<std::__cxx11::basic_string<char>, double>; PyObject = _object; swig::traits_asptr_stdseq<Seq, T>::sequence = std::map<std::__cxx11::basic_string<char>, double>]'
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:5480:64:   required from 'static int swig::traits_asptr<std::map<_Key, _Tp, _Compare, _Allocator> >::asptr(PyObject*, swig::traits_asptr<std::map<_Key, _Tp, _Compare, _Allocator> >::map_type**) [with K = std::__cxx11::basic_string<char>; T = double; Compare = std::less<std::__cxx11::basic_string<char> >; Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, double> >; PyObject = _object; swig::traits_asptr<std::map<_Key, _Tp, _Compare, _Allocator> >::map_type = std::map<std::__cxx11::basic_string<char>, double>]'
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:4045:37:   required from 'int swig::asptr(PyObject*, Type**) [with Type = std::map<std::__cxx11::basic_string<char>, double>; PyObject = _object]'
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:34234:154:   required from here
/ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:4128:8: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct std::pair<std::__cxx11::basic_string<char>, double>' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess]
  memset(v_def,0,sizeof(Type));
  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/bits/stl_algobase.h:64,
                 from /usr/include/c++/8/bits/specfun.h:45,
                 from /usr/include/c++/8/cmath:1892,
                 from /usr/include/c++/8/math.h:36,
                 from /usr/include/python3.6m/pyport.h:194,
                 from /usr/include/python3.6m/Python.h:53,
                 from /ws/build/ignition-math6/lib/python/pythonPYTHON_wrap.cxx:173:
/usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair<std::__cxx11::basic_string<char>, double>' declared here
     struct pair
            ^~~~

This issue is not happening when compiling with SWIG 4.0, but in order to support SWIG 3.0, and as we couldn't find a fix for this at the moment, we decided to suppress it.


Updated the name of Twitter to X

Description
With everything evolving so rapidly, wouldn't it be best to stay updated with the latest?
Everyone must be well aware by now that the legal name of Twitter has been formally changed to X.
I have updated the name of Twitter to X (Text as well as Links) in all the document files of this repo.
@saurabhdaware
Kindly review my PR and merge it please.
Added unit tests?

[x] No
[ ] Yes

[optional] Random GIF to +1 someone's day
https://github.com/abelljs/abell/assets/96707067/a81371be-83b6-4f39-a064-07eee769a4f2

@saurabhdaware
It's fine but I would like to add that currently there is a transition and adaptation process from Twitter to X.
So I would like to give this suggestion to change it to X (Twitter) wherever Twitter is written. I would agree, in this it wouldn't make much sense even after making it X (Twitter) -"Share Abell with your X Friends"
Therefore, should I make X (Twitter) to other places where it would make more sense. As I said, there is this transition and adaptation process, so it will help to be a part of it.
You must also be aware of this famous quotation - "Be the change you wish see in the world"

I think it should be fine to change it all later together rather than having Twitter at some places and X in other.


How to store dynamically created list items?

Hello:
Thank you for making this useful package. Is there any way to store the sort order when list items have been added dynamically, as in your example using the Ply.dialog box to add entries? I have successfully replicated your editable list example and added the Ply.dialog box, but nothing I add dynamically is saved using the "store" example on the GitHub page. If you can tell me how to store/load dynamically entered list items I would very much appreciate it.
Thank you,
Travis

@mooretm When the user adds an item, call sortableInstance.save()


Add documentation to instruct users on how to remove human reads and provide links within the Qiita GUI and help document to these instructions

Link should point them here: https://www.hmpdacc.org/hmp/doc/HumanSequenceRemoval_SOP.pdf
Later can consider whether we want to be able to do this and the data storage implications of doing so (likely not)

This issue seems like a duplicate of https://github.com/biocore/qiita/issues/2763; should we add this info in the upload page and the documentation? Either way, I think first we need to decide if "Now, this points to the HMP SOP, which is fine but not what we will be doing for our own sequences so should we add one/both?" as asked in https://github.com/biocore/qiita/issues/2763.

Should provide both as options, noting the HMP method was selected
previously, but we do ours (with links to explanation and benchmarks
discussed elsewhere)
On Thu, Dec 27, 2018, 10:02 AM Antonio Gonzalez<EMAIL_ADDRESS>wrote:

This issue seems like a duplicate of #2763
https://github.com/biocore/qiita/issues/2763; should we add this info
in the upload page and the documentation? Either way, I think first we need
to decide if "Now, this points to the HMP SOP, which is fine but not what
we will be doing for our own sequences so should we add one/both?" as asked
in #2763 https://github.com/biocore/qiita/issues/2763.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/biocore/qiita/issues/2764#issuecomment-450166553, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AZxBhhXRGlKm5MUSnz2-S4W2fUlg0Prmks5u9OD5gaJpZM4ZQLNl
.


jwt_authn: stats by provider or stats_prefix

It would be great o have stats that distinguish allows/denies for each provider.
This could be done with a single filter or with multiple filters and a stats_prefix attribute which is kind of normal for filters already.
I can probably take this, what seems like the best approach?

@qiwzhang there are a ton of Verifier impls and they are sort of nested which means we would have to propagate the filters stats_prefix and scope to all Verifiers so the can then pass them to their children.
Does this seem right? or is there another way?

Yes, that is correct.  Instead of passing two parameters, you can pass a StatFactory object to hide them
class StatFactory {
public:
    Stat& create(absl::string_view provider) PURE;
};

@qiwzhang i was thinking, if we add provider stats in ProviderVerifierImpl when using allow_missing or allow_missing_or_failed then we would actually generate denied stats which maybe are not actually denied because we allow failed or missing.
Whereas if we add a simple stats_prefix to the filter, we could get real allowed, denied stats.
Just a thought.

Definitely, it is easy and simple to add provider prefixed stats in filter level.  But it doesn't have provider info when its code is called.  When it is called, it will be an aggregated result, e.g. for RequireAll case,  multiple providers may have verified.
You raised a good point of allowed and denied for provider prefixed stats may not be accurate if allow_missing or allow_missing_or_failed is used.   How about named the stats as PROVIDER_verification_passed and PROVIDER_verification_failed` counters.

Definitely, it is easy and simple to add provider prefixed stats in filter level. But it doesn't have provider info when its code is called. When it is called, it will be an aggregated result, e.g. for RequireAll case, multiple providers may have verified.

For our use case it would probably be OK and simpler to just add a prefixed stat at a filter level and just two filters one for each provider. But if anyone think it's worth pursuing the second option I could ahead and do that too.

You raised a good point of allowed and denied for provider prefixed stats may not be accurate if allow_missing or allow_missing_or_failed is used. How about named the stats as PROVIDER_verification_passed and PROVIDER_verification_failed` counters.

Sure, seems more logical, do you think we should pursue this option or the filter prefixed stats?

Let us go with the latter.  Thanks

@qiwzhang one more thing, regarding what i raised last week, couldn't there be issues if a provider is specified more than once in the requirements? That would mean we have several ProviderVerifierImpl each one with it's own struct of stats but having the same stat names.
Not sure how envoy stats handle this cases.

That is a good point.  Then, provider prefixed stat should not be constructed at ProviderVerifierImpl, it should be at filter_config.  here
then how do we pass it to authenticator to update it?
maybe pass it as callback interface like setPayload

@qiwzhang should we then store the stats in a map or is there another way to the identify the fields in the struct?

Yes,  it will be faster if we use map.
We can define a new Stats struct just like this for each provider prefixed stat and loop through all providers to create the map


No way for users to delete their draft proposals

Draft proposals aren't turning into "active" or "failed" automatically

Should get auto deleted.


Smartsearch is not honoring wildcards in search

e.g.,
regret
vs
regret*
produces the same result.  When submitted in a field search, e.g., "article", this works.

Fixed in 2021.0419.1.Beta


Return uncached taxonomy terms in Gutenberg to allow new terms to be added

Was referred to submit a potential issue from Pantheon's Slack.
Plugin Stack

Gutenberg Editor Enabled for Custom Post Type with Custom Taxonomy/Taxonomies
ACF Pro
Yoast SEO (and PRO, but errors for both with/without)
Pantheon (mu-plugin)

(I listed ACF Pro because I know it has some integrations with Yoast SEO, but the problem does not occur when ACF Pro is active.  Its only with this specific combination of plugins.)
Background
We upgraded our "stack" in January with the following changes:

Upgraded to WordPress 6.x, ACF Pro 6.x, and Yoast 19.1+ (moved to 20.1, but tested 19.1 and above in case it was Yoast 20.x).
Upgraded from "Pantheon" 1.0.0 to the mu-plugin Composer-based version (including the recommended 'loader' file).

I did note a change in Aug '22 where the term caching was "deprecated" and to use the CDN. Unsure if related.

Once all updates were applied, we noticed an issue where the "Add New " button "appears" non-functional.  Appears is in quotes because the terms will (randomly) save to the custom taxonomy (though not actually be seen on the page).
Note: After initial cache clear, it sometimes "works right", but then will not for other pages and/or after a refresh.
Testing
Occurs both on a "Pantheon" configured Lando environment and/or any given Pantheon environment, including LIVE.

Enable listed plugins.
Create the CPT and custom Taxonomy
Navigate to create/edit a page in FireFox (for the tools / next-steps).
Before making changes, open the inspector, navigate to the "Network" tab, and clear it.
Try to add a new term.
When it fails, note that api-fetch-min.js is pinged twice.  Both times the "returned" content is listed as cached under the Transferred tab.  (If not, give a refresh and/or edit a different page.)

"Fixing" the issue
Any of these solutions seems to "fix" the issue, though clearly none of them are valid solutions.

Disable Yoast SEO.
Remove the Pantheon mu-plugin and loader file(s) from the mu-plugins/ folder.
Add the define('WP_CACHE', FALSE);
Check the Disable Cache checkbox on the "Network" tab of FireFox tools.
Using the Pantheon Adv. Page Cache plugin, set the TTL to 0.

Running wp cache flush via the CLI also sometimes fixes the issue for a single pageload.
Example (Screenshot)
I attempted to add the term "Another Test".  You can see in the screenshot both that the "Transferred" items are cached and that the term "Another Test" is not present.
Please forgive creative term names. It kept working for a minute, then failing, due to code-changes. :D

Feel free to ping me via Pantheon Slack, if needed, to see two environments where this issue is occurring. 👍

This issue was solved in the WordPress upstream but the fix was never carried over when we split the mu-plugin into its own repository.
See: https://github.com/pantheon-systems/WordPress/pull/337/files

@jazzsequence
I can confirm that https://github.com/pantheon-systems/pantheon-mu-plugin/releases/tag/1.0.4 appears to have fixed the issue and have successfully tested the fix both on Lando and Pantheon  (with and without the Adv Page Cache plugin).

That's great to know. Thanks for confirming.
I'm going ahead and closing this issue. Please feel free to reopen (or open a new one) if something else arises

@cleverington Thanks again for the report and for confirming!


Shared Services HTTPD proxy Work (CS)

Create, deploy and configure the Apache HTTPD proxy on shared services Unity-Prod account.  Note, this is separate from the venue account HTTPD proxy.  This proxy should front the UIs on the shared services.  This httpd instance should also be configured with the cognito auth module.
To be specific, this is referring to the shared services account seen at this top of this diagram:

Note, this HTTPD is a dependency for accessing things in the Venue account (not shown for prod in the diagram, but the same concept as the bottom of the diagram).

@rtapella and/or @mike-gangl :  What are the UIs that will be part of this release, that need to exist on the Shared Services account?
Note: in the past we have only talked about having httpd exist on the venue account, which is pointed to from the shared services CloudFront.  However, in creating this ticket, I got to thinking that we also need httpd on the shared services to proxy to UIs like (Algorithm Catalog?).  Please help me understand what these interfaces are.

I believe all the home-grown UIs will be in venues. The Algorithm Catalog (Dockstore) is one thing that may be common across venues, and possibly the Data Catalog (STAC Browser), depending on how we can control authorization for each of those.

@rtapella , thanks.  Based on your response, it does seem like we will have a few UIs in the shared services (e.g. dockstore, and STAC Browser).   So I do think we need the shared services httpd.  @ramesh-maddegoda and @buggtb do you agree?

If its a simple website then you could pipe it through API Gateway
potentially, or we can just chuck a HTTPD in there and proxy it all through.
On Tue, Jan 23, 2024 at 4:41 PM Galen Hollins @.***>
wrote:

@rtapella https://github.com/rtapella , thanks. Based on your response,
it does seem like we will have a few UIs in the shared services (e.g.
dockstore, and STAC Browser). So I do think we need the shared services
httpd. @ramesh-maddegoda https://github.com/ramesh-maddegoda and @buggtb
https://github.com/buggtb do you agree?
—
Reply to this email directly, view it on GitHub
https://github.com/unity-sds/unity-cs/issues/315#issuecomment-1906475095,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAZI6APBTU3W6EWWAFHSNDYP7R3RAVCNFSM6AAAAABCCVFA32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBWGQ3TKMBZGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

It sounds like we probably want to go the direction of this ticket, which is to install/configure httpd on the shared services, and use it for things like Dockstore.

@galenatjpl is this "the" issue that is gating httpd/reference app/etc. stuff? If so can we mark it as a depedency please

@galenatjpl and @ramesh-maddegoda ping for status.

@galenatjpl and @ramesh-maddegoda ping for status.

@GodwinShen (CC: @galenatjpl ),
I have deployed a new version of httpd in Unity Shared Services Dev account and proxied few https URLs through it. Howver, according to our design diagrams, we need https servers in venue accounts too.
I will share the same comment I posted in Slack and also in https://github.com/unity-sds/unity-project-management/issues/170, for easy reference:
I think the httpd proxy was assumed as an already existing service even before implementing and deploying it on shared service account. We had it in design "diagrams", but in fact it was deployed in Unity Dev (shared services) last week. Currently I am troubleshooting some issues related with it, when I try to write URL rewriting rules with it.
Proxying a website behind httpd is as simple as follows:
ProxyPass "/"  "http://www.example.com/"
ProxyPassReverse "/"  "http://www.example.com/"

There is a  user guide on that: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
However, when we proxy a website, in many cases usually it will have many missing links due to absolute paths used etc.
So we have to use URL rewriting. URL rewriting needs some understanding of the syntax and standards.
https://httpd.apache.org/docs/2.4/rewrite/intro.html
While the developers are waiting to use Unity Dev httpd server, they can try this locally using httpd docker image located at https://hub.docker.com/_/httpd
Then, they can use the local httpd to write the proxy rules and  URL rewrite rules (because the URL re-writing rules can be  application specific). When they are ready to deploy the app, we can slightly modify reuse the same rules in Unity Dev httpd.

@anilnatha do we need to plan anything re: URL re-writes vs. React routes?

The following list of related tickets were completed in Unity Shared Services Dev and Unity Venue Dev.
https://github.com/unity-sds/unity-cs/issues/404
https://github.com/unity-sds/unity-cs/issues/405
https://github.com/unity-sds/unity-cs/issues/406
The same setup can be deployed in Unity Prod too.

@ramesh-maddegoda , I think we want to prove that we can connect to the STAC browser in shared services, as well as authenticate via Cognito, to be able to close this ticket off.  So probably the next steps is to configure that, and demo it in an upcoming Unity meeting.  Maybe @mike-gangl or @ngachung can help provide some details about what is currently deployed on Unity-Dev in terms of the STAC browser.  I'm not familiar with this myself.

@ramesh-maddegoda Can this be closed now?  Any final testing that's needed?

This is now complete.  Ramesh tested access to the stac browser on unity-prod. The ALB & HTTPD EC2 is now installed.


Sonic the Inclusive Hedgehog: Watch advicelocal.com

Sonic the Inclusive Hedgehog requests the watch of the watch_keyword advicelocal\.com. See the MS search here and the Stack Exchange search here.

advicelocal\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

already watched


TitleMunger could provide directory path information

The TitleMunger class manipulates title strings to provide alternate representations of the data.

Film Title
Sort Title
Unique ID Title
Catalog Title

V. I. Warshawski
vi_warshawski
vi_warshawski-1991-1
V.I. Warshawski (1991)

The Whole Nine Yards
whole_nine_yards_+the
whole_nine_yards_+the-2000-1
The Whole Nine Yards (2000)

3:10 To Yuma
three_ten_to_yuma
three_ten_to_yuma-1957-1
3:10 To Yuma (1957)

One variant that was created (but not documented) was a filename suitable string, which would be suitable if the data needed to be written out into a file.

Film Title
Sort Title
Unique ID Title
Catalog Title
Filename

V. I. Warshawski
vi_warshawski
vi_warshawski-1991-1
V.I. Warshawski (1991)
v_i_warshawski

The Whole Nine Yards
whole_nine_yards_+the
whole_nine_yards_+the-2000-1
The Whole Nine Yards (2000)
the_whole_nine_yards

3:10 To Yuma
three_ten_to_yuma
three_ten_to_yuma-1957-1
3:10 To Yuma (1957)
310_to_yuma

If an operation generates a large number of files (one file per content title), it would be beneficial to have a tree  structure to prevent a single directory having all of the files.   For building repositories, we already recommend a tree structure based on the title, so we could add a method to TitleMunger that figures out the path.

Film Title
Sort Title
Unique ID Title
Catalog Title
Filename
Directory Path

V. I. Warshawski
vi_warshawski
vi_warshawski-1991-1
V.I. Warshawski (1991)
vi_warshawski
v/vii

The Whole Nine Yards
whole_nine_yards_+the
whole_nine_yards_+the-2000-1
The Whole Nine Yards (2000)
the_whole_nine_yards
w/whs

3:10 To Yuma
three_ten_to_yuma
three_ten_to_yuma-1957-1
3:10 To Yuma (1957)
310_to_yuma
3/31a

The path expression is based on the first letter of the first word in the title (unless that word is an article like 'the' or 'a'), followed by the first two letters and then the last letter of the title.
Create a method in the TitleMunger class to generate the path information and return it as a string.

Commit:
https://github.com/cjcodeproj/medialibrary/commit/47ad91d8b9797555a7c6d25ee34bd14061d94e9c

Closing Notes
Unit tests have been added for the TitleMunger() class.


add a sweeptoken function to the vesting contract

to recover tokens that are sent to the contract by mistake

Function signature: sweepToken(address _token)
Sends all _tokens held by address(this) to the token owner (or to the beneficiiary if there is no owner)
Can only be called by the owner (or by the beneficiary if there is no owner)
Requires that the _token address is not equal to the tokens being vested in the vesting contract

tokens go the owner, or to beneficiary if owner is 0
calleable only by the owner

Where should that be? TokenLock.sol?


Roll Engine from ced58ef9c13e to 4754a23d1640 (4 revisions)

https://github.com/flutter/engine/compare/ced58ef9c13e...4754a23d1640
2021-06-17<EMAIL_ADDRESS>Roll Skia from 33da72d168d7 to 491282486e34 (1 revision) (flutter/engine#26793)
2021-06-17<EMAIL_ADDRESS>Roll Dart SDK from 2084c5eeef79 to 914b1c6d1c88 (4 revisions) (flutter/engine#26792)
2021-06-17<EMAIL_ADDRESS>Fix windows keyboard: Extended key, delegate order (flutter/engine#26757)
2021-06-17<EMAIL_ADDRESS>Roll Skia from fab6ede2ec1d to 33da72d168d7 (24 revisions) (flutter/engine#26790)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


[Question] Do you think this can be made into something like Scrimba?

It would be a great tool to build and can change the video creation part. Scrimbas is a proprietary tool, and i think it would be great to have alternatives.
Mix codehike and the interactive video tutorial, you have a completely new tech to build amazing tutorials

I haven't used Scrimba in a while, but I think it also lets you edit code. That's not possible with Code Hike.
But it could be made into something in the same space, mixing video and interactive code.


Tab completion in bash doesn't add /

nt.

Terminallity is not aims to be terminal emulator so this feature will not be implemented.


Problem with images

I am trying to use this for detecting cracks on metal surfaces. I am getting this error (copied in the end). I have attached the code and images to reproduce this error. Can you please help out?
Error:

Traceback (most recent call last):
File "/Users/pallavidubey/Documents/MultiTemplateMatching-Python/tutorials/SampleError.py", line 41, in
Hits = matchTemplates(listTemplate, im1, score_threshold=0.9, method=5, maxOverlap=0)
File "/Users/pallavidubey/Documents/MultiTemplateMatching-Python/MTM/init.py", line 271, in matchTemplates
tableHit = findMatches(listTemplates, image, method, N_object, score_threshold, searchBox)
File "/Users/pallavidubey/Documents/MultiTemplateMatching-Python/MTM/init.py", line 149, in findMatches
_ = future.result()
File "/Users/pallavidubey/mambaforge/envs/mtm/lib/python3.9/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/Users/pallavidubey/mambaforge/envs/mtm/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/Users/pallavidubey/mambaforge/envs/mtm/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/pallavidubey/Documents/MultiTemplateMatching-Python/MTM/init.py", line 201, in _multi_compute
corrMap = computeScoreMap(template, image, method, mask=mask)
File "/Users/pallavidubey/Documents/MultiTemplateMatching-Python/MTM/init.py", line 87, in computeScoreMap
return cv2.matchTemplate(image, template, method, mask=mask)
cv2.error: OpenCV(4.7.0) /Users/xperience/GHA-OCV-Python/_work/opencv-python/opencv-python/opencv/modules/imgproc/src/templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'crossCorr'
SampleError.zip

Hi there,
The coordinates you give for slicing give templates of width and/or height 0.
Slicing in python is [start, stop] not [start, width] (for horizontal for instance) contrary to ex : imageJ.
But you could do [start, start+width-1] something like that.
I could add a check in the code to assert that the size of the images is >0 though.

Thank you, Laurent,
Silly mistake on my end. I will correct that and hopefully it should go smoothly from here, I will connect with you, if I get stuck someplace. I will be referencing your paper for my journal paper to benchmark my method against yours for defect detection.
Thank you,
With kind regards,
Pallavi Dubey (pronounced - Pul-Love-E, Do-Bay)
Ph.D. Candidate
Department of Industrial Manufacturing and Systems Engineering
Iowa State University
<EMAIL_ADDRESS>
From: Laurent Thomas @.>
Sent: Tuesday, May 30, 2023 4:53 AM
To: multi-template-matching/MultiTemplateMatching-Python @.>
Cc: Dubey, Pallavi [IMSE] @.>; Author @.>
Subject: Re: [multi-template-matching/MultiTemplateMatching-Python] Problem with images (Issue #18)
Hi there,
The coordinates you give for slicing give templates of width and/or height 0.
Slicing in python is [start, stop] not [start, width] (for horizontal for instance) contrary to ex : imageJ.
But you could do [start, start+width-1] something like that.
I could add a check in the code to assert that the size of the images is >0 though.
—
Reply to this email directly, view it on GitHubhttps://github.com/multi-template-matching/MultiTemplateMatching-Python/issues/18#issuecomment-1568140019, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATECS6TZUOUTTAZRCHKV2O3XIW7R7ANCNFSM6AAAAAAYRN353I.
You are receiving this because you authored the thread.Message ID: @.***>


@conda-forge-admin, please add user @fjlanasa

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I tried to added user @fjlanasa as requested, but the recipe already has maintainer @fjlanasa so no changes were made.


Problems migrating from TFS with branches to GIT - Merged changeset not initialized

Hello,
I am using git-tf-<IP_ADDRESS>31219 version.
I am facing a problem when trying to get a TFS repository and creating a GIT repo using the git tfs clone command.
First of all, this is the branch strcuture on my TFS repo:

Head ==> Initial branch (development)
Pre ==> Branch created from Head - All changesets migrate from Head when ready for testing
Pro ==> Branch created from Pre - All changesets migrate from Pre when ready for production

The merge way is forward for new developments and backwards for hotfixes.
Now, I clone my repo using:

git tfs clone http://server/tfs/Collection $/Source/Head . --branches=all

Now, taking a look to the branches I see the following:

Changesets that have been merged from branch A to branch B arent visilbe on branch B. It's like if changeset that are a result of merge arent being applied

For example, I will post the following situation:

Made a new feature on Head
Checkin the new feautre. Changeset is 100
Merge changeset 100 to Pre. New Changeset 101
Merge changeset 101 to Pre. New Changeset 102

When I do the clone as explained above and go to Pro branch (on git) I am not seeing the changes of changeset 102 (merge)
Am I doing something wrong?
Is the git-tfs tool prepared for this?
PD: sorry about my english if any error.
Regards,
Luciano

We are trying to clean up old/stale issues. As this issue hasn't seen any updates (or progress with pull requests) in quite a while, the issue will be closed. In case further information is provided, we can revisit that and reopen the issue again.


[security] Download mechanism compromiseable.

Hi,
for one, your download mechanism doesn't use maven mechanisms. This means: No https, no checking of checksums or digital signatures. After download, the file could have been altered before execution. You don't do any checking, as far as I can tell.
On the other hand I'd like to be able to use my local proxying / mirroring repository.
With a hardcoded URL this is just not possible:
https://github.com/os72/protoc-jar/blob/master/src/main/java/com/github/os72/protocjar/Protoc.java#L271
I think it would be a wise idea to use the maven API to download artifacts. Can this be done?

I guess it could be done, not sure how much effort. Could you prototype it?

Re proxying, it's built-in:
https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html#Proxies
Re local mirror, we could add an override (cmd line or property, downloadUrl or something)
Would that work for your environment?

Well, part of the question was about proxy. I guess download URL override could be an enhancement
Note that protoc-jar is independent of maven APIs. Which doesn't mean it cannot be improved as suggested (as an option)

@bmhm, are you using maven mirror or proxy? settings.xml would be useful
https://maven.apache.org/guides/mini/guide-mirror-settings.html
(See issue #57)
Could you try building this branch
https://github.com/os72/protoc-jar/tree/support_mirror
And run
java -jar protoc-jar-<IP_ADDRESS>-SNAPSHOT.jar --version -v351
Thanks

Closing, see #57


Why using 4 GPUs is slower than 1 GPU

Hello, I would like to ask why using 4 GPUs is slower than 1 GPU.
Please see the attached pictures(Time).
4GPUs

1GPU

Thank you

What batch size are you using for 4GPUs and 1 GPU?

I set IMS_PER_BATCH=4 for 4GPUs, and IMS_PER_BATCH=16 for 1 GPU.
Thank you

IMS_PER_BATCH=4 for 4GPUs or IMS_PER_BATCH=16 for 4GPUs?
IMS_PER_BATCH is not the per GPU batchsize.
if you set IMS_PER_BATCH=4 for 4GPUs, and IMS_PER_BATCH=16 for 1 GPU, then the batchsize are different.
Are you using PCIe or NVLink to connect GPUs? Have you tested the communication speed between GPUs?

Sorry, I set the wrong IMS_PER_BATCH=4 for 4 GPUs, thank you for your reminder.
No, I didn't use PCle or NVLind.
If needed, I will install it and try again.
Thank you


PMD mesh instructions for deployment guide

@schaarj Review pls :)

Alles resolved, lgtm. :)

imho, the part about the IPv4 Subnet (--subnet=<IP_ADDRESS>/16) is not fully clear, but this can be revisited at a later point I suppose


fix(serializer): JSON is already translated in some cases so pass through

Using the CLI would show this problem but tests never caught it. deis config and deis tags

looks like you need to import the json library for tests to pass

I have made a recent change to how we handle cpu units and hitting this issue
 deis limits:set  -m web=200mb
Applying limits... Error:
400 Bad Request
memory: Value must be valid JSON.

Relates to #250


Log URL redirections

Currently, there is no log user requests to track service usage statistics.
As a data analyst, I want to log all the url redirect requests, with city code and timestamp, in order to understand which city those redirections are coming from and how many redirection the service has to process every hour.

https://cloud.google.com/logging/docs/

https://martinfowler.com/articles/domain-oriented-observability.html#IncludingExecutionContext

Done.


Investigating pandas and memory useage

Hey, check out tutorial 3 now - I played around a bit with reading tables into pandas dataframes, and measuring memory usage. Looks like pandas is the way to go, it seems to be doing something very clever with memory allocation!

Interesting! The only comment I have is that conclusions may change depending on the size of data. Perhaps we should make a note of that?
The other option is to try out with few different sizes and compare performance parameters.

Yeah, I was thinking of making a plot. Right now I am seeing how big an array I can deal with, in a separate notebook called "Extreme Averaging" :-) I'll push it once I have managed to take the mean of 1e8 numbers...

OK, I was able to do 10 million rows, but not 100 million (the notebook kernel keeps dying). Check it out.  In the process of making the test database I learned how to do fast ingests with SQLAlchemy - it's not pretty but it might well be useful in future! This may address #16


Remove deprecated updateEntryToGetTopics one-time endpoint

Describe the bug
The following endpoint is deprecated and should be remove, along with its associated code. This endpoint was only meant to be run once when we first introduced topicAutomatic.
https://github.com/dockstore/dockstore/blob/b6984668f4a2249b06a59e355c1aad5d71e65867/dockstore-webservice/src/main/java/io/dockstore/webservice/resources/EntryResource.java#L683-L700
To Reproduce
n/a, code cleanup
Expected behavior
Deprecated and unused code related to the endpoint should be removed.
Screenshots
n/a
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.16
┆Issue Number: DOCK-2475
┆Sprint: Backlog
┆Issue Type: Story

FYI, introduced in 1.12


STORM-3302: Ensures we close streams to HDFS

I have squashed commits. This was a destructive to the branch's history; the old commit was
368b4fa.

@d2r  Thank you for the fix and squashing the commits.


Fix typos on install.md

Hey, great project! I was reading through your install instructions and these typos caught my eye.

Thanks a lot !


GDS scale error

Hi,
I believe that your GDS parser uses a fixed scale of 0.001 (1000):
https://github.com/vincentlv/DimmiLitho/blob/2d3d335bdab8ae628f328c264b655b180881e3a1/litho/mask.py#L110
However, the NanGate library uses a scale of 0.0001 (10000). Therefore, the dimensions of the mask are off by 10x.
If you look at the contact width (layer 10) in the NOR2_X2.gds example, they should have a width of 65nm but instead, we see 650nm if you print out the polygon data.
Matt

If you want a discussion of the scaling, it is described here:
https://boolean.klaasholwerda.nl/interface/bnf/gdsformat.html#rec_header

And here is the output of the NanGate library cells:
GDS II Version 3
Date Modified:110,12,27,19,6,9
Date Last Accessed:110,12,27,19,6,9
Library: NangateOpenCellLibrary
Units: 1 user unit=0.0001 database units, 1 database unit=1e-10 meters.
End of GDSII Header Found

A 0.065um contact is this in the GDS database units:

            BeginBoundary
            Drawing Layer: 10
            Purpose Layer: 0
                    XY Point: 850,950
                    XY Point: 1500,950
                    XY Point: 1500,1600
                    XY Point: 850,1600
                    XY Point: 850,950
            EndBoundary

Which is 650x650 database units.  To get this to 0.065nm, you need to divide by 10000, not 1000.

When you fix the scaling as above, the ILT then does not work. It produces blank results with this warning on NOR2_X2.gds:
Calculating ILT
/home/mrg/litho/DimmiLitho/litho/ilt.py:190: RuntimeWarning: divide by zero encountered in double_scalars
stepsize = self.stepSize / np.max(abs(deta))
/home/mrg/litho/DimmiLitho/litho/ilt.py:191: RuntimeWarning: invalid value encountered in multiply
newTheta = self.masktheta - stepsize * deta
Interation index: 0, Costfunction value: 0.123713.

Note, I also had to adjust the m.x_gridsize and m.y_gridsize to 0.25 or else the mask did not have enough resolution.

It seems that ILT works but RobustILT fails...

Note, I also had to adjust the m.x_gridsize and m.y_gridsize to 0.25 or else the mask did not have enough resolution.

Hi. Sorry for this issue. The unit of x_gridsize is nm, and 0.25 is too small. As a workaround, we can adjust the scaling manually when we parsing the GDS. We can plot mask image to double check. For example, if gridsize is set to 2 nm, and CD is 50 nm, then it will take almost 5 pixels.


The accounts script does not show the address balance

Describe the bug
The output of the accounts script always shows 0 for the account balance
To Reproduce
Steps to reproduce the behavior:

Generate a deployer account with yarn generate
Fund it
Run yarn accounts
Look at the output of the command, the balance shows 0

Expected behavior
The balance should reflect the actual balance of each network

@grothem  i have a fix for this!

Sweet, thanks!

fixed in 9d176d5910d8ffcc988bd5b4e589eeacc393b18c


CNCF Defender Tasks for devfile/registry-support

Which area/kind this issue is related to?

/area registry
Issue Description

As part of our effort to maintain best practices we have added all of our repositories to the CLO Monitor. This issue aims to resolve the checks needed for our repositories to reach 100% on the monitor.
A list of the checks for each check set can be found here: https://clomonitor.io/docs/topics/checks/
Remaining Items
Security

[ ] Dependencies Policy
[ ] Dependency Update Tool
[ ] Software Bill of Materials (SBOM)
[ ] Security Insights
[ ] Security Policy
[ ] Signed Releases
[ ] Token Permissions

Defender tasks with the same checklist items were sized as Major with 5 story points. Assigning this the same and moving to backlog.


faster equivariance (wip)

it isn't working 😣 may need help from someone who is not as geometrically challenged

working off main branch again


Issues installing GUI for SteamDeck via rEFInd

So I'm going to start this off by saying I'm not very experienced with Linux, coding or github at all, but my brother recently bought himself a SteamDeck (non OLED, but it is the 256gb version) and he asked me if i could put Windows on it so he can play CoD. I said sure ez. Not ez enough for me. i watched a video called "How to Dual Boot Steam Deck" by a channel called Deck Wizard. I was following all the steps until i realized that the github repository has changed since the video was made. So, I just tried to follow along as best as i could with the video, but im unsure how to move forward with the GUI installation. Do i still copy and paste things "line by line"? Do i do it all at once? I really don't want to mess this up, can somebody please help?

Yes, since that set of videos, and since the release of SteamOS 3.5 and the OLED Steam Deck, I have drastically improved the installation process of this GUI. THe one long string of chained commands is intended to be a one time copy and paste thing to do. You will be prompted for a sudo (your deck username) password and that's it. It just works after the installation. The rest of the steps in his video tutorials are still relevant. Please don't be afraid or hesitant to ask any other questions that you may have. Thanks.

Okay great, thanks for the response! I did have one last question/concern. So i ran the code before i installed windows, and i never got the Y/N prompt to make a rEFInd GUI shortcut, so i'm unsure if i actually did it right. So i just decided to load windows on it. So basically my question is once i load in all the windows drivers and go back to SteamOS do i run the code again to get the GUI shortcut?

You don't need to run it again. The installer just automatically adds the icon to desktop now too.

I only ran it the one time, and the only icon i got onto the desktop is SteamDeck_rEFInd, is the GUI in there or???

That is the GUI icon. I did a lot of updates and i just decided to make it match the repo name. I fixed some minor graphical issues with it this morning too. It should be good to go. Please let me know if you have any other questions.

yup you're right, after Windows was installed i went back to click on the icon and it worked! Thanks so much for taking the time to answer my questions!


Image swap and appropriate styling #538

False start -- this is ATF specific and implemented in 18F/atf-eregs#545


F-Droid

Is it okay to create a request for packaging at F-Droid? Link to issue will be posted here after okay.

I would like to use this app. I have an android phone but do not use Google Play Store


Resource template

Is your feature request related to a problem? Please describe.
The user should be able to modify the template of the resources deployed by the operator. Allowing the modification of these template would let user set the resource limit, pod affinity...
Describe the solution you'd like
TODO
Describe alternatives you've considered
Alternative 1:
Replace the resource requirement feature by this new feature. The full yaml templates (e.g. proxy) could be included in the configmap (which will be injected and updated every 30s in the operator) in this format:
template-a.lb-fe: |-
    ...
template-a.proxy: |-
    ...
template-b.lb-fe: |-
    ...
template-b.proxy: |-
    ...

In the CRD, annotation could be added to select the template (template-a, template-b). The operator will then select the corresponding template file with <annotation-value>.<resource>. If the template file doesn't exist or is invalid, an error can be printed in the operator logs.
The locked part of the template will be only defined in the (golang) code.
Alternative 2:
Replace the resource requirement feature by this new feature.
The templates have parameters in a specific format (e.g.: {{  }}) which will expose to the user some parts of the template.
The value of the parameters can be configured in a configmap and selected via the annotation in the CRDs.
This solution could be very generic. So, to add a new variable, the template will only need to be adapted with the new desired variable, and the operator could detect them in the template, and find the corresponding value based on the annotation when the user will deploy a CR.

Additional context
https://docs.google.com/presentation/d/19AF0LZwRg7WmIatmA373x0G0I7b-Emt9jAezRfbWzgA/edit?usp=sharing

hmm... I think somethings has gone wrong here, or am I complete lost...?
The alternative 2 so nicely described and depicted is almost completely identical to the solutions already implemented by Zoltan.  I have recently added a similar description for this in the nVIP userguide.
This approach should only be use for making settings which is "instance specific". For example a conduit with a little amount of traffic require fewer resources than one with a large amount.
There are also DR related settings that are pod type specific (such as all FE pod should have high priority to keep up BFD sessions) or even generic for the complete nVIP installation, that is all nVIP pod should have surden setting according to Ericsson DRs.
Some of these settings are fixed and not to be changed. These can just be put into the "burn-in" operand templates.
But for some setting the user should be able to change specific settings on the commands line as part of the helm installation.
Such setting needs to be exposed in the values file, (if I understand correctly)
For nVIP operands it would not make sense having to specify a template for this kind of setting on each an every CO.
Instead I think we should "externalize" the operand templates.
Either by including everything directly in the helm-chart, with values -files etc.
Or if possible only have the values-file exposed in the helm chart, so these setting can be overwritten by the helm command line.
I think I now prefer full helm chart exposure, as this will solve all problems we currently are facing. The user is not supposed to touch the helm charts and that is kind of the same for all ADP components.
I think it should be very simple to achieve this kind of setup as it mostly is a helm exercise, right?

Solved with https://github.com/Nordix/Meridio-Operator/pull/92


Missing Semi-Colon

Under the Querying the media libraries section, in the example it is missing a trailing semi-colon on:
queryOption.FolderDepth = FolderDepth.Deep

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

ID: 17de106b-3ff1-091d-568e-fe80e07469c6
Version Independent ID: be301fb5-d302-e06d-4bdd-5e857e02c3f2
Content: Files and folders in the Music, Pictures, and Videos libraries - UWP app developer
Content Source: windows-apps-src/files/quickstart-managing-folders-in-the-music-pictures-and-videos-libraries.md
Product: windows
GitHub Login: @laurenhughes
Microsoft Alias: lahugh

Thanks for the catch! I'll get this updated.


Fix story formatting and generation script

We were trying to use the generate-tracker-csv.go script to create the CSV and were getting errors from the Tracker import UI. We tried both https://github.com/dgodd/prolific and https://github.com/onsi/prolific and neither would generic a valid CSV.
We eventually narrowed it down to it to the whitespace before and after stories in the prolific files. We were also getting a random k story being created, which we narrowed down to the TrimLeft call not including the Task column.
Signed-off-by: Chhavi Kankaria<EMAIL_ADDRESS>

thanks!