Allow process callback to be a c function

Old discussions: https://github.com/amstan/jackclient-python/commit/6a9b75d6a3b64e6184ffe0a5f4ee7dbcabfe84b9

Abandoning this, I changed my code to not need this and to just do cffi directly:
https://github.com/amstan/guitar/commit/d55fbf8c885a50b4786e526ea00d76cb785f3923#diff-7607b77999779e616acb8412424510deL59


OAuth2 Device Flow + Testing Coverage

Add support for the OAuth2 Device Flow

Adds tests for the Device Flow

Adds helpers and tests for persisting and restoring tokens

Adds support for manual "bring-your-own-tokens" in ServicePrincipalToken

Add tests for manual token and certificate based ServicePrincipalToken

Updates the example with support for device auth, and persisting and restoring the token between executions

The code coverage in autorest/azure is now:

azure.go: 96.2%
devicetoken.go: 100%
persist.go: 92.0%
token.go: 96.2%

coverage.html in a zip for those that are curious and/or lazy.

@colemickens Any reason for not taking it to 100%

I can add a test for the Azure Error stuff that Ahmet added which will boost it a bit more. Otherwise the other error conditions seemed to me like things that would only occur due to transient IO errors. If you have suggestions on how I can hit those branches, I will implement them.

Awesome PR! I will review today.

@colemickens Mocks, I use Mocks. And fake up error situations through them. Good testing covers error cases as well as normal path.

@brendandixon I've used mocks to cover a large number of error conditions. I'll stop by and we can chat about the few that remain.
@ahmetalpbalkan Azure will timeout after the ExpiresIn interval returned in the DeviceCode. I'll add code that ensures we stop after that time even if Azure doesn't time out.

@colemickens in that case that's not very necessary.

I feel like we should move devicetoken into a separate package. Mostly because it's an isolated feature. I'm not sure if it's technically possible as I'm not sure if it is relying on something from ./autorest/azure.

I've now either replied to, or fixed all issues that have been brought up until now.
Code coverage is higher (still a few branches that I can't see an easy way to test)
RE: Body Closing: I added some defer resp.Body.Close() and then added tests for devicetoken that ensures the response is always closed. I also added another in token_test.go as an extra check that ensures that after spt.Refresh() is complete, we've closed the body.
Errors and test errors are prefixed now in accordance with how other packages are doing so.
Only outstanding issues:

Is it okay to leave xplat client id in example?

Do we split this into a separate package as @ahmetalpbalkan suggested? I think it's fine in here. There's basically no way to use it without the autorest package. While it's not explicitly tied to the autorest/azure package, I can't imagine any time it would ever be used without it.

Removed the defers and made the union struct private.
I was going to add one more commit - adding v3.1.0 to the Changelog... but I noticed that autorest/version.go still says v1.1.1. Should I go ahead and update version.go to 3.1.0 or is version.go for something else?

@colemickens Yes, please update it. Thank you.

Version updated. (And fixed a small break that I'd introduced to a public api).

LGTM.

LGMT too, we can iterate later. I still couldn't find time to integrate this, I will today.

I've added one more commit: https://github.com/colemickens/go-autorest/commit/86b3e80284bc12881a55facbbf65d837496b97b7
We back off with waitDuration += waitDuration. If the service tells us to slow down more than 2 times, we will fail and return an error.
@ahmetalpbalkan, @brendandixon, we okay with this?

LGTM


remove members who have left VMware

Bob G and Lora B were contractors with the VMware TAS group, and they both left when Broadcom took over.

According to our Revoking Reviewer or Approver Role @bobbygeeze and @blora1 have two weeks to refute the revocation.

@anita-flegg this can be merged.

Hi @ameowlia, would you approve this when you get a chance? Thanks!


i18n(ko-KR): create astro-actions.mdx

Description (required)

create astro-actions.mdx

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ko
reference/modules/astro-actions.mdx
Localization added, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Code generated in C# for abstract type is invalid

[Newtonsoft.Json.JsonProperty("Constraint", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public TagConstraint Constraint { get; set; } = new TagConstraint();
TagConstraint is an abstract class. I don't understand why the generated code is initializing the property to a default abstract value. I have set "generateDefaultValues": false, and it does not make any difference.

Same problem here.

Its creating a new instance because null is not allowed. We need to avoid this in case the class is abstract.

I am experiencing the exact same issue


apache-commons-beanutils: Add package version 1.9.4

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Add package version 1.9.4
Change Log

convert the 'Release' tag to the '[number].[distribution]' format
update source url to https
lint spec
add package in licenses and cgmanifest

Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology

Pipeline build id: Buddy Build https://dev.azure.com/mariner-org/mariner/_build/results?buildId=270268&view=results

Can someone review the PR, the apache-commons-* packages have a total of 8 PR's which have dependency on one another. 6 have already been approved.


Somatic variant call with GATK4 mutect2

Hi
I turned on the gatk4 switch, and use mutect2 for cancer-dream-syn3 dataset.  The pipeline stopped at BaseRecalibrator step.  The error is as follows:
[2017-08-09T09:53Z] Running:
[2017-08-09T09:53Z]     java -Dsamjdk.use_async_io_read_samtools=false -Dsamjdk.use_async_io_write_samtools=true -Dsamjdk.use_async_io_write_tribble=false -Dsamjdk.compression_level=1 -Dsnappy.disable=true -Xms454m -Xmx3181m -XX:+UseSerialGC -Djava.io.t
mpdir=/mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/bcbiotx/tmpOBs3zG -jar /usr/local/share/bcbio/anaconda/share/gatk4-4.0b3-0/gatk-package-4.beta.3-local.jar BaseRecalibratorSpark -I /mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/ali
gn/syn3-tumor/syn3-tumor-sort.bam --sparkMaster local[16] --output /mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/bcbiotx/tmpOBs3zG/syn3-tumor-sort-recal.grp --reference None --knownSites /usr/local/share/bcbio/genomes/Hsapiens/GRCh37/variation
/dbsnp-150.vcf.gz -L /mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/bedprep/NGv3.bed --interval_set_rule INTERSECTION
[2017-08-09T09:53Z] 09:53:51.710 INFO  NativeLibraryLoader - Loading libgkl_compression.so from jar:file:/usr/local/share/bcbio/anaconda/share/gatk4-4.0b3-0/gatk-package-4.beta.3-local.jar!/com/intel/gkl/native/libgkl_compression.so
[2017-08-09T09:53Z] [August 9, 2017 9:53:51 AM UTC] BaseRecalibratorSpark  --knownSites /usr/local/share/bcbio/genomes/Hsapiens/GRCh37/variation/dbsnp-150.vcf.gz --output /mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/bcbiotx/tmpOBs3zG/syn3-tum
or-sort-recal.grp --reference None --input /mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/align/syn3-tumor/syn3-tumor-sort.bam --intervals /mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/bedprep/NGv3.bed --interval_set_rule INTERSECTION
 --sparkMaster local[16]  --joinStrategy BROADCAST --mismatches_context_size 2 --indels_context_size 3 --maximum_cycle_value 500 --mismatches_default_quality -1 --insertions_default_quality 45 --deletions_default_quality 45 --low_quality_tail 2 --quanti
zing_levels 16 --bqsrBAQGapOpenPenalty 40.0 --preserve_qscores_less_than 6 --enableBAQ false --computeIndelBQSRTables false --useOriginalQualities false --defaultBaseQualities -1 --readShardSize 10000 --readShardPadding 1000 --readValidationStringency S
ILENT --interval_padding 0 --interval_exclusion_padding 0 --bamPartitionSize 0 --disableSequenceDictionaryValidation false --shardedOutput false --numReducers 0 --help false --version false --showHidden false --verbosity INFO --QUIET false --use_jdk_def
later false --use_jdk_inflater false --disableToolDefaultReadFilters false
[2017-08-09T09:53Z] [August 9, 2017 9:53:51 AM UTC] Executing as root@cpuserver on Linux 4.4.0-81-generic amd64; OpenJDK 64-Bit Server VM 1.8.0_121-b15; Version: 4.beta.3
[2017-08-09T09:53Z] 09:53:51.838 INFO  BaseRecalibratorSpark - HTSJDK Defaults.COMPRESSION_LEVEL : 1
[2017-08-09T09:53Z] 09:53:51.838 INFO  BaseRecalibratorSpark - HTSJDK Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS : false
[2017-08-09T09:53Z] 09:53:51.839 INFO  BaseRecalibratorSpark - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_SAMTOOLS : true
[2017-08-09T09:53Z] 09:53:51.839 INFO  BaseRecalibratorSpark - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_TRIBBLE : false
[2017-08-09T09:53Z] 09:53:51.839 INFO  BaseRecalibratorSpark - Deflater: IntelDeflater
[2017-08-09T09:53Z] 09:53:51.839 INFO  BaseRecalibratorSpark - Inflater: IntelInflater
[2017-08-09T09:53Z] 09:53:51.839 INFO  BaseRecalibratorSpark - GCS max retries/reopens: 20
[2017-08-09T09:53Z] 09:53:51.839 INFO  BaseRecalibratorSpark - Using google-cloud-java patch 317951be3c2e898e3916a4b1abf5a9c220d84df8
[2017-08-09T09:53Z] 09:53:51.839 INFO  BaseRecalibratorSpark - Initializing engine
[2017-08-09T09:53Z] 09:53:51.839 INFO  BaseRecalibratorSpark - Done initializing engine
[2017-08-09T09:53Z] Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SparkContext: Running Spark version 2.0.2
[2017-08-09T09:53Z] 17/08/09 09:53:52 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[2017-08-09T09:53Z] 17/08/09 09:53:52 WARN Utils: Your hostname, cpuserver resolves to a loopback address: <IP_ADDRESS>; using <IP_ADDRESS> instead (on interface eno1)
[2017-08-09T09:53Z] 17/08/09 09:53:52 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SecurityManager: Changing view acls to: root
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SecurityManager: Changing modify acls to: root
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SecurityManager: Changing view acls groups to:
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SecurityManager: Changing modify acls groups to:
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with
modify permissions: Set()
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO Utils: Successfully started service 'sparkDriver' on port 34259.
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SparkEnv: Registering MapOutputTracker
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SparkEnv: Registering BlockManagerMaster
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO DiskBlockManager: Created local directory at /mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/bcbiotx/tmpOBs3zG/root/blockmgr-d08e9d96-65d5-475d-8cde-bd39da57a501
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO MemoryStore: MemoryStore started with capacity 1665.6 MB
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SparkEnv: Registering OutputCommitCoordinator
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO Utils: Successfully started service 'SparkUI' on port 4040.
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO SparkUI: Bound SparkUI to <IP_ADDRESS>, and started at http://<IP_ADDRESS>:4040
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO Executor: Starting executor ID driver on host localhost
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO Utils: Successfully started service 'org.apache.spark.network.netty.NettyBlockTransferService' on port 43091.
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO NettyBlockTransferService: Server created on <IP_ADDRESS>:43091
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO BlockManagerMaster: Registering BlockManager BlockManagerId(driver, <IP_ADDRESS>, 43091)
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO BlockManagerMasterEndpoint: Registering block manager <IP_ADDRESS>:43091 with 1665.6 MB RAM, BlockManagerId(driver, <IP_ADDRESS>, 43091)
[2017-08-09T09:53Z] 17/08/09 09:53:52 INFO BlockManagerMaster: Registered BlockManager BlockManagerId(driver, <IP_ADDRESS>, 43091)
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO SparkUI: Stopped Spark web UI at http://<IP_ADDRESS>:4040
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO MapOutputTrackerMasterEndpoint: MapOutputTrackerMasterEndpoint stopped!
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO MemoryStore: MemoryStore cleared
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO BlockManager: BlockManager stopped
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO BlockManagerMaster: BlockManagerMaster stopped
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO OutputCommitCoordinator$OutputCommitCoordinatorEndpoint: OutputCommitCoordinator stopped!
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO SparkContext: Successfully stopped SparkContext
[2017-08-09T09:53Z] 09:53:53.159 INFO  BaseRecalibratorSpark - Shutting down engine
[2017-08-09T09:53Z] [August 9, 2017 9:53:53 AM UTC] org.broadinstitute.hellbender.tools.spark.BaseRecalibratorSpark done. Elapsed time: 0.02 minutes.
[2017-08-09T09:53Z] Runtime.totalMemory()=460259328
[2017-08-09T09:53Z] java.lang.IllegalArgumentException: Null object is not allowed here.
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.utils.Utils.nonNull(Utils.java:554)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.utils.Utils.nonNull(Utils.java:542)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.engine.datasources.ReferenceAPISource.<init>(ReferenceAPISource.java:73)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.engine.datasources.ReferenceMultiSource.<init>(ReferenceMultiSource.java:52)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.engine.spark.GATKSparkTool.initializeReference(GATKSparkTool.java:393)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.engine.spark.GATKSparkTool.initializeToolInputs(GATKSparkTool.java:360)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.engine.spark.GATKSparkTool.runPipeline(GATKSparkTool.java:351)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.engine.spark.SparkCommandLineProgram.doWork(SparkCommandLineProgram.java:38)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.cmdline.CommandLineProgram.runTool(CommandLineProgram.java:116)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.cmdline.CommandLineProgram.instanceMainPostParseArgs(CommandLineProgram.java:173)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:192)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.Main.runCommandLineProgram(Main.java:131)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.Main.mainEntry(Main.java:152)
[2017-08-09T09:53Z]     at org.broadinstitute.hellbender.Main.main(Main.java:233)
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO ShutdownHookManager: Shutdown hook called
[2017-08-09T09:53Z] 17/08/09 09:53:53 INFO ShutdownHookManager: Deleting directory /mnt/data/Datasets/benchmarking/cancer-dream-syn3/work2/bcbiotx/tmpOBs3zG/root/spark-98ecbaa6-d225-495f-b997-f68d42ed9f43
[2017-08-09T09:53Z] Uncaught exception occurred
Traceback (most recent call last):
  File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 22, in run
    _do_run(cmd, checks, log_stdout, env=env)
  File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 102, in _do_run
    raise subprocess.CalledProcessError(exitcode, error_msg)

I use bcbio_nextgen inside a docker container to keep the environment clean.  The host server is behind firewall which requires VPN to access. Not sure if this has anything to do with the firewall. It would be nice if I can use the local version of GATK4 directly...

Thanks for the detailed report and apologies for the problem. It looks like the failure is due to not finding ucsc 2bit references in your install (see the --reference None argument in your command line).
GATK4 BQSR requires a 2bit indexed genome which was only added to bcbio installs in the past couple of weeks. If you do:
bcbio_nextgen.py upgrade --data

it should hopefully pull them in so things will work on a retry. Hope this helps.

@chapmanb By upgrading the data, the GATK4 BaseRecalibrator step was successfully finished.  Thanks a lot!
During the test, I found two more issues:

When I set -n as 8, each job was assigned 31g memory.   However, our server only has 128G memory in total. This caused the ApplyBQSR step to fail.  When I set -n to 4, each job was assigned 16g memory. After that, the ApplyBQSR step can be finished.
RealignerTargetCreator do not exist in GATK4.  The pipeline failed in this step.  My understanding is that indel realignment is no longer necessary for pipeline with mutect2 and haplotypcaller.  I can turn off the realign switch in yaml file.  But this also means tools like vardict and freebayes cannot benefit from realignment step.  A possible workaround is to skip the realignment step for GATK4 even when the realign switch is on.

Thanks much for following up. I'm happy that BQSR finished sucessfully. For your issues:

How much memory did you want bcbio to allocate? It sounds like your machine has 4Gb/core and bcbio allocated just under this for an 8 core job. Were there other processes running causing the memory problems?
Realignment is not supported in GATK4 and is generally not needed. I've added in a linting check and useful error message if specified with GATK4. I'd rather folks know that it's not running instead of silently skipping it. FreeBayes and VarDict both do local realignment so don't require a separate step and in general realignment does not contribute a lot to most modern callers.

Thanks again for the feedback and testing.

@chapmanb Thanks a lot! That's really very helpful!

Now I understand the allocation way.  That makes sense. The error I received was page allocation error. It sounds like a Spark thing. Is it possible to use the local version of gatk4 directly instead of single-machine Spark?
Thanks a lot for the quick update and information of indel realignment.

I successfully finished the whole pipeline after a few rerunning.  There was once a Java core dump error in the snpeff step, but the error seems not reproducible.  I will try more clean run of the pipeline later.

It sounds like you're hitting inconsistent Java memory errors. Unfortunately openjdk seems to intermittently run into these on some systems, but I don't have a good idea about how best to debug/improve them other than restarting the pipeline.
For BQSR, the reason we use Spark here is that it provides a multicore implementation. We could use the local version but that uses a single thread so will be quite slow. If you can't make BQSR work at all with multiple threads happy to explore less memory usage or falling back to the single thread approach. If it's all intermittent java memory and core dump errors though, that probably won't help too much.
Thanks again for helping with debugging.

@chapmanb Thanks for the explanation!  There's uncertainty here... When I set up environment and tools, I usually install Java-based tools manually instead of using bioconda to avoid potential instability problem.  Is it possible to configure the JAVA version in bcbio-nextgen?  I remember that GATK only officially supports oracle java.

We don't have a way to override the Java version right now. We did but it caused all kinds of issues with accidentally using the system Java (which is often Java 7) instead of the bcbio installed one, so we backed it out and now ensure use of the bcbio installed one. You're right that GATK does not officially support openjdk but that has always been the case and we've gotten by using openjdk for quite a long time. The snpEff issues you saw also indicate it might be something related to the system and openjdk rather than GATK itself. If you're able to identify what is going on I'm happy to think about ways to fix the java we ship or otherwise improve behavior. Thanks again.

Thanks for the thoughts and apologies for being slow in implementing a work around. The latest development version (bcbio_nextgen.py upgrade -u development) now allows setting BCBIO_JAVA_HOME (docs here: http://bcbio-nextgen.readthedocs.io/en/latest/contents/installation.html#automated) with a specific java version to use. bcbio will then use this in place of the local version (for GATK and snpEff right now).
Hopefully this will let you test with the system installed Oracle Java 8 to see if it improves stability. Thanks again for all the discussion.

@chapmanb Thank you so much!


Support osx-arm64

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
I tried installing this on my macbook and was sad that it wasn't found.  I suspect that this was due to there not being an osx-arm64 build (but I don't know much about packaging for the M1).
Installed packages
This was done from a fresh environment

Environment info
active environment : coiled-docs
    active env location : /Users/mrocklin/mambaforge/envs/coiled-docs
            shell level : 2
       user config file : /Users/mrocklin/.condarc
 populated config files : /Users/mrocklin/mambaforge/.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.9.16.final.0
       virtual packages : __archspec=1=arm64
                          __osx=13.6.2=0
                          __unix=0=0
       base environment : /Users/mrocklin/mambaforge  (writable)
      conda av data dir : /Users/mrocklin/mambaforge/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/mrocklin/mambaforge/pkgs
                          /Users/mrocklin/.conda/pkgs
       envs directories : /Users/mrocklin/mambaforge/envs
                          /Users/mrocklin/.conda/envs
               platform : osx-arm64
             user-agent : conda/23.3.1 requests/2.29.0 CPython/3.9.16 Darwin/22.6.0 OSX/13.6.2
                UID:GID : 502:20
             netrc file : /Users/mrocklin/.netrc
           offline mode : False

Please submit a PR adding it to this list
For an example, please see this PR: https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/5473

@jakirkham is there a similar procedure for linux-aarch64?  Also, if you have time to put on your PyData hat, are there other targets that one should also think about generally for projects like this?

There is the arch migration list
Same procedure as before
Nothing else that I can think of

Cool.  Maybe this is it then: https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/5582


Update refined, refined-cats, ... to 0.9.27

Updates

eu.timepit:refined
eu.timepit:refined-cats
eu.timepit:refined-scalacheck

from 0.9.17 to 0.9.27.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "eu.timepit" } ]

labels: library-update, semver-patch

Superseded by #1424.


fix: Change Helm library to CNFInstall module

Description

affect CNFs that installing method is HelmDirectory
CNFs are correctly install into cnf-default namespace (if helm_install_namespace variable is not set)
change Helm::InstallMethod::HelmDirectory to CNFInstall::InstallMethod::HelmDirectory

Issues:
Refs: #2039
How has this been tested:

[ ] Covered by existing integration testing
[ ] Added integration testing to cover
[ ] Verified all A/C passes

[ ] develop
[ ] master
[ ] tag/other branch

[ ] Test environment

[ ] Shared Packet K8s cluster
[ ] New Packet K8s cluster
[X] Kind cluster

[ ] Have not tested

Types of changes:

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

Checklist:
Documentation

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] No updates required.

Code Review

[ ] Does the test handle fatal exceptions, ie. rescue block

Issue

[ ] Tasks in issue are checked off

needs rebasing

oran spec tests pass, but they don't work correctly. In fact they should fail, because waiting for CNFs to be deployed does not finish:

lgtm also now after fixing all issues. Great that all that those tests dependent on default namespaces were identified and fixed.


Broken  in Vue SFC

The readme lacks an example on how to use <docs> section in Vue SFC files.
So I've found it in sources:
https://github.com/tuchk4/storybook-readme/blob/e2793069d0770fbca3c8fd5c759ce72fa4b21b67/packages/example-vue/stories/index.js#L44
And even in that case it doesn't work with the following code:
  // eslint-disable-next-line no-underscore-dangle
  .addDecorator(withDocs(MyComponent.__docs))

I get this error in preview area:

webpack config contains the blockType=docs rule
Any ideas what may be the cause?

@tuchk4 Having the same issue now :(
When we run storybook in the watch/serve mode it works fine e.g.
storiesOf('Testing', module)
.addDecorator(withDocs(MyButton.__docs))

with a webpack.config.js of
module.exports = storybookBaseConfig => {
    storybookBaseConfig.module.rules.push({
        resourceQuery: /blockType=docs/,
        use: [
            'storybook-readme/env/vue/docs-loader',
            'html-loader',
            'markdown-loader',
        ],
    })

    return storybookBaseConfig
}

--
Everything is well and good!
However.......................
When you run the build process the MyButton.__docs is undefined causing the error
storybook-readme: wrong arguments

@owenmelbz MyButton.options.__docs Should be useful

MyButton.options is also always empty

FYI @tuchk4 @yoyoys @OwenMelbz
My solution, just extend options definition of component with typescript:
https://github.com/vuejs/vue-class-component/issues/50#issuecomment-464508801

@b0g3r and if your not using typescript?

Do you have reproduced example? Do you use vue-property-decorator?

Yes, we use vue-property-decorator in every component

Going to make new release https://github.com/tuchk4/storybook-readme/issues/118
Hope will be possible to fix.
@OwenMelbz Errors only during build?  There are no errors when run storybook?

Nope, when storybook is running in server mode it’s auto-reloading and everything is working as expected.
Only when we run build does it throw the error

Hope it is fixed in 5.0.0
Made test for dev and pro builds.

module.exports = storybookBaseConfig => {
  storybookBaseConfig.module.rules.push({
    resourceQuery: /blockType=docs/,
    use: ['storybook-readme/vue/docs-loader', 'html-loader', 'markdown-loader'],
  });
};

Define <docs> tag inside vue module:
<docs>
Docs inside vue module
</docs>

<template>
  <button class="button">
    <slot></slot>
  </button>
</template>

Use it to defone docs at story:
import MyButton from '../components/MyButton/MyButton.vue';

storiesOf('Vue <docs>', module).addParameters({
  readme: {
    content: MyButton.__docs,
  },
});


files directory is missing from pypi distribution.

Pypi distributed version of django-tenants is missing files directory. People installing from Pypi cannot use TenantFileSystemStorage custom storage.
Thanks for your awesome work.
Cheers.
Version 1.3.3 uploaded on 2017-06-09
https://pypi.python.org/pypi/django-tenants

The issue was that djang_tenant.files was missing from setup.py packages. Here is the PR with fix.
https://github.com/tomturner/django-tenants/pull/135

Merged


fix: fix string literal rule

Currently this program will parse correctly, but it shouldn't.
package main

import "fmt"

func main() {
    fmt.Println("hello world
    ")
}

Checklist:

[x] All tests pass in CI.
[x] There are sufficient tests for the new fix/feature.
[x] Grammar rules have not been renamed unless absolutely necessary.
[x] The conflicts section hasn't grown too much.
[x] The parser size hasn't grown too much (check the value of STATE_COUNT in src/parser.c).

@SuperBo would you please rebase your PR? 🙏 Would be lovely it if could get merged.

thx!


Add ability to specify PHANTOMJS2_VERSION via env variable

The PHANTOMJS2_DOWNLOAD_URL wasn't quite useful because you couldn't override the value in helper.version. This PR adds PHANTOMJS2_VERSION, which gives you what you need.

For some reason, npmjs.com is not showing 0.0.7 published -- did you mean to publish it?

Not to nag, but it would be really great if 0.0.7 got published to npmjs.com so that we could change our package.json and speed up our npm install...

Something going wrong during publish 0.0.7. I've republished with version 0.1.0. Please take a look if everything is ok.

Works perfectly! Thank you.


Implement Video Quality changing feature

How can we acheive quality change option in this

i have solution for get all quality contact with me :+971557474526

I already solve this:+918848093685


NPE appears after closing SQL Editor with ResultSet

System information:

Operating system (distribution) and version Win10
DBeaver version <IP_ADDRESS>101122029

Steps to reproduce, if exist:

Open SQL Editor - SQL Editor field is grey and the text is not visible
Press Output tab - SQL Editor field becomes white and the text appears
Execute a Select query
Close SQL Editor - NPE appears

https://user-images.githubusercontent.com/51405061/104414126-c2f5de00-5580-11eb-9421-34c786a3c2b1.mp4
.log

Fixed

Fixed

verified

verified


Performance Test Boiler

-Created a file to host a fake Network Event for testing.
-Removed console.logs in a few files.
-renamed the performance tabs for clarity... FYI the first version of the performance tab is called old_Performance.tsx

@mdigel  Let's also add another test command to the package.json for the purposes of dev test iterations where we can totally remove the --silent flag while the main test script should retain the --silent flag.


Capture frames at 30FPS

Currently we are able to capture devices only at 10FPS. We need to capture at 30FPS for our application. Is it possible to capture at 30FPS?

Which mode are you currently using - MP or QMP?

Hi Andre,
This issue is fixed with the help of @dNechita . You can mark it closed. Thank you.


Installation fails on Windows 11

Hi.
I've tried to install using autohotkey latest stable. But the installation fails with this exception

Like the file says, I borrowed that code from the AutoHotkey installer itself. Other user reported an issue with W11 but on the uninstallation (meaning he got past this point).
So far I haven't tested any preview of Windows 11 but this seems more of a W11 backwards compatibility as this has been for like a decade in the AutoHotkey installer.
If MS doesn't fix the issue I guess I have to sign the executables via PowerShell which is fairly easy to do and in order to change the manifest I'll use direct binary write.
I'll get all of the pending stuff done this weekend, by Monday noon (CST) this and everything in develop branch plus more will be ready).


Modern Ubuntu

Any with 18.04/18.10?
When I do this for 18.10, it adds repo no problem.  But still doesn't find the pkgs
like blobfuse for example...

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

ID: 1e7ed059-d77f-6ce0-8501-fc3afd1c8048
Version Independent ID: f2d249ee-50e4-52b4-4187-954a84a48ec1
Content: Linux Software Repository for Microsoft Products
Content Source: WindowsServerDocs/administration/Linux-Package-Repository-for-Microsoft-Software.md
Service: na
Product: windows-server-threshold
GitHub Login: @szarkos
Microsoft Alias: szark

TLDR;  https://packages.microsoft.com/ubuntu/16.04/prod
sometimes is really (for 2019 CTPs for example)
https://packages.microsoft.com/ubuntu/16.04/mssql-server-preview/
so browse to the 16.04 or the 18.04 root and make sure you find the folder you need with dist and pool in it...
I wanted to add polybase to a 16.04 container today for a quick and dirty POC.  Linux repos are browse-able so hit the webpage (because what I'm about to tell you will change when things get out of preview).  For me to add the polybase repo to a docker container running in k8s I had to do the following...
download the .asc file so I can copy it to the container
kubectl cp microsoft.asc :
kubectl exec  -i -t -- bash -il
now you're in bash so cd to wherever you copied the asc to
apt-key add microsoft.asc
apt-get update
apt-get install software-properties-common
apt-add-repository https://packages.microsoft.com/ubuntu/16.04/mssql-server-preview
apt-get update
apt-get install mssql-server-polybase
In retro if you're working on a container you probably shouldn't follow my exact steps... just download the .deb and copy it there and install that (you don't want to bloat the container with the things my steps will do).
HTH


Custom useCookie composable is not reactive between components

Environment

Operating System: Windows_NT
Node Version:     v18.19.0
Nuxt Version:     3.10.0
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      app, nitro, build, modules, css, vueuse, typescript, devServer, runtimeConfig, vite, elementPlus, headlessui, swiper, experimental
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-mbsb9n?file=composables%2Fuse-a.ts,components%2FcompA.vue,components%2FcompB.vue,app.vue

click button in CompA
CompB text disappears

Describe the bug
It used to work in v3.9.3, two components should have same value.
Now, after clicking the button in CompA, value in CompB becomes undefined.
If you call refreshCookie('a') in click event and click button frequently, you'll notice that text flashes in CompB then disappears.
Additional context
No response
Logs
No response

resolved in https://github.com/nuxt/nuxt/pull/25598


Selection over automapper dto

When using Hotchocolate and Automapper, unnecessary database queries occur in the selection process.
Here is my dtos
public class GetSchoolResponse
{
        public string Name { get; set; }
        public string Address { get; set; }
        public ICollection<GetClassroom> Classrooms { get; set; }
}

public class GetClassroom
{
        public string Name { get; set; }
        public int? Floor { get; set; }
        public ICollection<GetStudent> Students { get; set; }
}

public class GetStudent
{
        public string Name { get; set; }
        public string Surname { get; set; }
}

And here is my mappings
CreateMap<GetSchoolResponse, SchoolEntity>().ReverseMap();
CreateMap<GetClassroom, ClassroomEntity>().ReverseMap();
CreateMap<GetStudent, StudentEntity>().ReverseMap();

And here is my query
[UseSelection]
public  IQueryable<GetSchoolResponse> GetSchoolById(int id, [Service] ISchoolRepository repository)
{
        return repository
                .Include(dr => dr.Classrooms)
                .ThenInclude(dr => dr.Students)
                .Where(dr => dr.Id == id)
                .OrderBy(dr => dr.Id)
                .ProjectTo<GetSchoolResponse>(Mapper.ConfigurationProvider);
}

And finally my graphql query
query
{
  schoolById(id:2)
  {
    classrooms{
      floor, students{
        name
      }
    }
  }
}

This query return me this db queries

Db query for school

SELECT Id]
FROM [EDUCATION].[School]
WHERE ([Id] = @__request_Id_0)
ORDER BY [Id]

Db query for classroom

SELECT [Floor], [Name], [Id]
FROM [EDUCATION].[Classroom]
WHERE  (@_outer_Id = [SchoolId])

Db queries for students

SELECT [Name], [Surname]
FROM [EDUCATION].[Student]
WHERE  (@_outer_Id1 = [ClassroomId])

SELECT [Name], [Surname]
FROM [EDUCATION].[Student]
WHERE  (@_outer_Id1 = [ClassroomId])

Select query for school is normal. Only id return me but selection over classroom and student dtos is not acting as desired i think. Because i want only floor and name fields in my graphql query but db return me name and surname field for student table and floor and name for classroom table.

with use seclection you can get rid of these:

                .Include(dr => dr.Classrooms)
                .ThenInclude(dr => dr.Students)

regarding your problem, i am not aware of the internals of Automapper.
How does the proejction look like?
Can you add a middleware before UseSelection and validate what is in context.Result after you called next?

I did similar think without problems.. I posted this on Slack channel maybe it will help you..
The thing what i tried to solve was elimination of Join (middle) tables of many-to-many relation of EF-Core and projection to my custom DTO for graphql server..
Some picture what im talking about: https://excalidraw.com/#json=5532829123346432,9UuB9AkYRqZDtTW4TGTLGQ
I will write what i did to get what i have and why:

First i started with schema generation from Hotchocolate IQueryable but i realised, that this is not the way to provide ef-core data model to graphql directly.... good maybe for small Data sets but my model have about 50 separate data tables and they are nested to each other with a lot "many-to-many" relations and the way how graph models looks after was not good for me..
Then i create my custom dto model and i use resolvers to get data... This was working but this was not efficient and after short time i start to implement data loaders and the code become big and hard to understand.. The bigest problem was solving N+1 and optimization of Query to SQL.. The fetching was working but the how SQL select looks like was terrible.. (how i implemented)
Solution: I start to search for something what will help me to map my custom Graphql DTO model to DB model using IQueryable to reduce all join tables and to have ability to select and query data what i need.. I found Automapper IQueryable projection extension and after some time stuff works !

So now i have 3 blocks:    HotchocolateGraphQL > IQueryable Mapper > EF Core
Good thing is that graphql server have no idea there is some mapper he is performing all operations on DTO model and mapper transform it to EF-core model and all is IQueryable
I will add small example:
Startup:
```
var mappingConfig = new MapperConfiguration(mc => {
mc.AddProfile(new MappingProfile());
});
IMapper mapper = mappingConfig.CreateMapper();
services.AddSingleton(mapper);
services.AddGraphQL(
SchemaBuilder.New()
.AddQueryType()
.Create(), new QueryExecutionOptions { ForceSerialExecution = true }).AddErrorFilter(error => {
Console.WriteLine(error.Exception);
return error;
});
Querry:

public class UserQuerry {
[UseSelection]
public IQueryable<User_DTO> GetGraphUsers([Service] IAppDbContext context, [Service] IMapper mapper) =>
mapper.ProjectTo<User_DTO>(context.Users.AsNoTracking());
}
Mapping:

namespace Aplication.GraphQL.Mapping {
public class MappingProfile : Profile {
public MappingProfile() {
// ------------------------------
//  Mapping configuration
// ------------------------------
CreateMap<User, User_DTO>()
.ForMember(dest => dest.Code, opt => opt.MapFrom(src => src.Code))
.ForMember(dest => dest.FirstName, opt => opt.MapFrom(src => src.FirstName))
.ForMember(dest => dest.ID, opt => opt.MapFrom(src => src.ID))
.ForMember(dest => dest.LastName, opt => opt.MapFrom(src => src.LastName))
.ForMember(dest => dest.UserName, opt => opt.MapFrom(src => src.UserName))
.ForMember(dest => dest.Roles, opt => opt.MapFrom(src => src.Roles.Select(e => e.Role)))
.ForMember(dest => dest.Groups, opt => opt.MapFrom(src => src.Groups.Select(e => e.Group)))
.ForMember(dest => dest.Premissions, opt => opt.MapFrom(src => src.Claims.Select(e => e.Permission)));
CreateMap<Role_DTO, Role>()
.ForMember(dest => dest.Code, opt => opt.MapFrom(src => src.Code))
.ForMember(dest => dest.Description, opt => opt.MapFrom(src => src.Description))
.ForMember(dest => dest.ID, opt => opt.MapFrom(src => src.ID))
.ForMember(dest => dest.Name, opt => opt.MapFrom(src => src.Name))
.ReverseMap();
CreateMap<Group, Group_DTO>()
.ForMember(dest => dest.Code, opt => opt.MapFrom(src => src.Code))
.ForMember(dest => dest.ColorCode, opt => opt.MapFrom(src => src.ColorCode))
.ForMember(dest => dest.Description, opt => opt.MapFrom(src => src.Description))
.ForMember(dest => dest.ID, opt => opt.MapFrom(src => src.ID))
.ForMember(dest => dest.Name, opt => opt.MapFrom(src => src.Name))
.ForMember(dest => dest.Premissions, opt => opt.MapFrom(src => src.Claims.Select(e => e.Permission)))
.ReverseMap();
CreateMap<Permission, Premission_DTO>()
.ForMember(dest => dest.ID, opt => opt.MapFrom(src => src.ID))
.ForMember(dest => dest.Key, opt => opt.MapFrom(src => src.Key))
.ForMember(dest => dest.Value, opt => opt.MapFrom(src => src.Value))
.ReverseMap();
}
}
}

Querry only user name:

{
graphUsers{
firstName
}
}

info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
Entity Framework Core 3.1.2 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite' with options: None
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT "u"."FirstName"
FROM "Users" AS "u"
info: Aplication.Services.MetricHandler[0]

Querry more data example:

{
graphUsers{
firstName
groups{
iD
}
}
}

info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT "u"."FirstName", "u"."ID", "t"."ID", "t"."GroupID", "t"."UserID"
FROM "Users" AS "u"
LEFT JOIN (
SELECT "g0"."ID", "g"."GroupID", "g"."UserID"
FROM "GroupUsers" AS "g"
INNER JOIN "Groups" AS "g0" ON "g"."GroupID" = "g0"."ID"
) AS "t" ON "u"."ID" = "t"."UserID"
ORDER BY "u"."ID", "t"."GroupID", "t"."UserID", "t"."ID"

Some deeper DTO querry example projected to EFcore model select..

info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT "u"."ID", "u"."Deactivated", "u"."Email", "u"."FirstName", "u"."LastName", "t0"."Code", "t0"."ColorCode", "t0"."Description", "t0"."ID", "t0"."Name", "t0"."GroupID", "t0"."UserID", "t0"."ID0", "t0"."Key", "t0"."Value", "t0"."GroupID0", "t0"."PermissionID", "t1"."ID", "t1"."Key", "t1"."Value", "t1"."UserID", "t1"."PermissionID", "t2"."Code", "t2"."Description", "t2"."ID", "t2"."Name", "t2"."UserID", "t2"."RoleID"
FROM "Users" AS "u"
LEFT JOIN (
SELECT "g0"."Code", "g0"."ColorCode", "g0"."Description", "g0"."ID", "g0"."Name", "g"."GroupID", "g"."UserID", "t"."ID" AS "ID0", "t"."Key", "t"."Value", "t"."GroupID" AS "GroupID0", "t"."PermissionID"
FROM "GroupUsers" AS "g"
INNER JOIN "Groups" AS "g0" ON "g"."GroupID" = "g0"."ID"
LEFT JOIN (
SELECT "p"."ID", "p"."Key", "p"."Value", "g1"."GroupID", "g1"."PermissionID"
FROM "GroupPermissions" AS "g1"
INNER JOIN "Permissions" AS "p" ON "g1"."PermissionID" = "p"."ID"
) AS "t" ON "g0"."ID" = "t"."GroupID"
) AS "t0" ON "u"."ID" = "t0"."UserID"
LEFT JOIN (
SELECT "p0"."ID", "p0"."Key", "p0"."Value", "u0"."UserID", "u0"."PermissionID"
FROM "UserPermissions" AS "u0"
INNER JOIN "Permissions" AS "p0" ON "u0"."PermissionID" = "p0"."ID"
) AS "t1" ON "u"."ID" = "t1"."UserID"
LEFT JOIN (
SELECT "r"."Code", "r"."Description", "r"."ID", "r"."Name", "u1"."UserID", "u1"."RoleID"
FROM "UserRoles" AS "u1"
INNER JOIN "Roles" AS "r" ON "u1"."RoleID" = "r"."ID"
) AS "t2" ON "u"."ID" = "t2"."UserID"
ORDER BY "u"."ID", "t0"."GroupID", "t0"."UserID", "t0"."ID", "t0"."GroupID0", "t0"."PermissionID", "t0"."ID0", "t1"."UserID",
"t1"."PermissionID", "t1"."ID", "t2"."UserID", "t2"."RoleID", "t2"."ID"

Just for info.. if you use [UseSelection] you dont need to specified this:
                .Include(dr => dr.Classrooms)
                .ThenInclude(dr => dr.Students)
                .Where(dr => dr.Id == id)
                .OrderBy(dr => dr.Id)

Just IQuriable of ProjectTo ...

@damikun What version of HotChocolate and Automapper are you using? I tried the same and Automapper always expands my whole NavigationProperty tree

I'm not using any UseSelection (old-naming in v10) or UseProjections (current naming in V11+) so i cannot fully say what is the aspect of your problems.. Dont forget you must use ProjectTo and not Map and lazyloaded property must be marked as virtual... Nasted object in that time didnt get loaded but all basic fields of root object was loaded as (string/int/enum)...

But your example has the [UseSelection] attribute.
I am using the Mapper.ProjectTo method and according to the AutoMapper documentation https://docs.automapper.org/en/stable/Queryable-Extensions.html#explicit-expansion this behavior is be design. It should not matter if I am using EF lazy loading or not because Automapper will actively request the navigation properties.
My Query method is just about the same as yours:
	[UsePaging]
	[UseProjection]
	[UseFiltering]
	[UseSorting]
	public IQueryable<AddressModel> GetAddresses([Service] CacheDbContext db, [Service]IMapperService mapperService)
	{
		return db.Addresses
			.AsSingleQuery()
			.AsNoTracking()
			.ProjectTo<AddressModel>(mapperService.ViewModelMapper.ConfigurationProvider);
	}

But as ProjectTo will expand all my mappings in that step, the query method does provide an IQuerable where everything is already expandend.

Example is one year old... On that time i was on V10... This example is totally isolation of HC and automapper so they do not know about each other and are not connected only interface is ProjectTo abstraction... So it should work also in V11...
Try to just call your automapper ProjectTo directly for test if your mapping configuration does not muss some settings.. Normally only selected fields should be queried from DB.. This was real example from application i posted hire in that time..

Can you try once #4563 is merged if it works with the new extension method?

This will only work when you use HotChocolate.Data
dotnet add package HotChocolate.Data.AutoMapper
Rewrite the mapping to:

        [UseProjection]
        public IQueryable<PostDto> GetPosts(BloggingContext dbContext, IResolverContext context)
            => dbContext.Posts.ProjectTo<Post, PostDto>(context);

@PascalSenn #4563 looks like exactly what is required to get Automapper working with EF and HotChocolate. Unfortunately I am currently not in any project that plans to use HotChocolate but if i got the time, I will try to test it with one of my OpenSource projects.

Hi
i tried AutoMapper 13.0.1 and HotChocolate 13.9.5. It works fine but there is difference in Queries. Without AutoMapper i feel the query is more optimized. See below
(With Automapper)
public class GetShippersResponseMapping : Profile
{
    public GetShippersResponseMapping()
    {
        CreateMap<Shipper, GetShippersResponse>()
            .ForMember(dest => dest.Id, opt => opt.MapFrom(src => src.Id.ToString()))
            .ForMember(dest => dest.LegalName, opt => opt.MapFrom(src => src.LegalName))
            .ForMember(dest => dest.Admin, opt => opt.MapFrom(src => src.Users.FirstOrDefault(x => x.UserRoles.Any(ur => ur.Role == Role.ShipperAdmin))))
            .ReverseMap();
    }
}

SELECT CONVERT(varchar(20), [s].[Id]), [s].[LegalName], CASE
    WHEN EXISTS (
        SELECT 1
        FROM [AspNetUsers] AS [a]
        WHERE [s].[Id] = [a].[ShipperId] AND EXISTS (
            SELECT 1
            FROM [AppUserRoles] AS [a0]
            WHERE [a].[Id] = [a0].[UserId] AND [a0].[Role] = N'ShipperAdmin')) THEN CAST(1 AS bit)
    ELSE CAST(0 AS bit)
END, (
    SELECT TOP(1) [a1].[Id]
    FROM [AspNetUsers] AS [a1]
    WHERE [s].[Id] = [a1].[ShipperId] AND EXISTS (
        SELECT 1
        FROM [AppUserRoles] AS [a2]
        WHERE [a1].[Id] = [a2].[UserId] AND [a2].[Role] = N'ShipperAdmin')), (
    SELECT TOP(1) [a3].[UserName]
    FROM [AspNetUsers] AS [a3]
    WHERE [s].[Id] = [a3].[ShipperId] AND EXISTS (
        SELECT 1
        FROM [AppUserRoles] AS [a4]
        WHERE [a3].[Id] = [a4].[UserId] AND [a4].[Role] = N'ShipperAdmin'))
FROM [Shippers] AS [s]
WHERE [s].[IsDeleted] = CAST(0 AS bit)

No Automapper direct select

await _dbContext.Shippers.AsNoTracking()
            .Where(x => !x.IsDeleted)
            .Select(x => new
            {
                x.Id,
                x.LegalName,
                Admin = x.Users.FirstOrDefault(u => u.UserRoles.Any(ur => ur.Role == Role.ShipperAdmin))
            })
            .ToListAsync(cancellationToken);

SELECT [s].[Id], [s].[LegalName], [t0].[Id], [t0].[AccessFailedCount], [t0].[ConcurrencyStamp], [t0].[CreatedAt], [t0].[CreatedByUserId], [t0].[Email], [t0].[EmailConfirmed], [t0].[IsDeleted], [t0].[IsSuspended], [t0].[LockoutEnabled], [t0].[LockoutEnd], [t0].[NormalizedEmail], [t0].[NormalizedUserName], [t0].[PasswordHash], [t0].[PhoneNumber], [t0].[PhoneNumberConfirmed], [t0].[SecurityStamp], [t0].[ShipperId], [t0].[TwoFactorEnabled], [t0].[UpdatedAt], [t0].[UpdatedByUserId], [t0].[UserName]
FROM [Shippers] AS [s]
LEFT JOIN (
    SELECT [t].[Id], [t].[AccessFailedCount], [t].[ConcurrencyStamp], [t].[CreatedAt], [t].[CreatedByUserId], [t].[Email], [t].[EmailConfirmed], [t].[IsDeleted], [t].[IsSuspended], [t].[LockoutEnabled], [t].[LockoutEnd], [t].[NormalizedEmail], [t].[NormalizedUserName], [t].[PasswordHash], [t].[PhoneNumber], [t].[PhoneNumberConfirmed], [t].[SecurityStamp], [t].[ShipperId], [t].[TwoFactorEnabled], [t].[UpdatedAt], [t].[UpdatedByUserId], [t].[UserName]
    FROM (
        SELECT [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedAt], [a].[CreatedByUserId], [a].[Email], [a].[EmailConfirmed], [a].[IsDeleted], [a].[IsSuspended], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[ShipperId], [a].[TwoFactorEnabled], [a].[UpdatedAt], [a].[UpdatedByUserId], [a].[UserName], ROW_NUMBER() OVER(PARTITION BY [a].[ShipperId] ORDER BY [a].[Id]) AS [row]
        FROM [AspNetUsers] AS [a]
        WHERE EXISTS (
            SELECT 1
            FROM [AppUserRoles] AS [a0]
            WHERE [a].[Id] = [a0].[UserId] AND [a0].[Role] = N'ShipperAdmin')
    ) AS [t]
    WHERE [t].[row] <= 1
) AS [t0] ON [s].[Id] = [t0].[ShipperId]
WHERE [s].[IsDeleted] = CAST(0 AS bit)

This could most probably create a problem in future, with more data. With Automapper, query has cases and other one has not. I'm not sure why is this the case as of now
@damikun @PascalSenn

An update, after some testing, i don't think its an Automapper issue, even when i return IQueriable and do manual mapping without Automapper, it is still generating same query as of when using Automapper. This has something to do with [UseProjection]
[UseProjection]
    [UseFiltering]
    public async Task<IQueryable<GetShippersResponse>> GetShippers(
        [Service] IAppDbContext dbContext,
        [Service] ISender sender,
        IResolverContext context)
    {
        await Task.CompletedTask;
        var shippers = dbContext.Shippers.AsNoTracking()
            .Where(x => !x.IsDeleted)
            .Select(x => new GetShippersResponse
            {
                Id = x.Id.ToString(),
                Address = x.Address,
                DisplayName = x.DisplayName,
                LegalName = x.LegalName,
                EmailAddress = "dymmy",
                PhoneNumber = x.PhoneNumber,
                IsLinkedWithTFM = true,
                Admin = x.Users
                    .Select(user => new AppUserDto
                    {
                        Id = user.Id.ToString(),
                        UserName = user.UserName,
                        Roles = user.UserRoles.Select(r => r.Role).ToArray()
                    })
                    .FirstOrDefault(userDto => userDto.Roles.Any(ur => ur == Role.ShipperAdmin))
            })
            ;
        return shippers;
    }


[nrf fromtree] Bluetooth: controller: Fix latency cancel on LLCP initiation

Fix controller implementation to cancel peripheral latency
when initiating new control procedures.
Fixes #28699.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

@cvinayak I'm wondering if CI run needs to be restarted?

close and reopen to trigger CI...

DNM until the regression fix in PR https://github.com/zephyrproject-rtos/zephyr/pull/28932 is included here.


Cannot connect to postgresql embedded because postgres password failed

Checks

[X] I have checked for existing issues.
[X] This report is about the User-Community Airflow Helm Chart.

Chart Version
8.8.0
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"27+", GitVersion:"v1.27.9-dispatcher", GitCommit:"8b508a33aafcd3ba51641b6b2ef203adbdd9de1e", GitTreeState:"clean", BuildDate:"2023-12-21T23:22:51Z", GoVersion:"go1.20.12", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.7-gke.1121000", GitCommit:"4daab1fd78c0b9aba478a19b363ab4a25bdadd79", GitTreeState:"clean", BuildDate:"2023-11-06T09:24:38Z", GoVersion:"go1.20.10 X:boringcrypto", Compiler:"gc", Platform:"linux/amd64"}

Helm Version
version.BuildInfo{Version:"v3.14.0", GitCommit:"3fc9f4b2638e76f26739cd77c7017139be81d0ea", GitTreeState:"clean", GoVersion:"go1.21.6"}

Description
i was trying to deploy into GKE but just only pod postgresql and redis-master is running well and other is Init:CrashLoopBackOff,
when i chek in log the message is
[2409] FATAL:  password authentication failed for user "postgres"
the status of pods like in picture

Relevant Logs
No response
Custom Helm Values
No response

@docodeid perhaps just delete the Postgres deployment and its PVC to clear it out (assuming you don't need the data on it). It probably has some kind of corruption.

@thesuperzapper resolved by default password of postgres user is 'postgres'


Consider slice async logic to its own classes

This continues a discussion from #377.
We ended on waiting for @kevinkjt2000's mind.

All of this to save typing async_ for some methods? In favor of typing Async once? Hardly seems worth it to me. What do we gain by moving stuff around like this? Will the user experience improve in some way or will they be irritated at having to change their code for seemingly no gain? Will developer experience improve in some way?
Regardless of the method, there are going to still be two implementations because of how Python is designed and because mcstatus is not going to force async-only usage. From what few libraries I've interacted with that have async functions, I see that most of them get around this issue by only having a single implementation. In other words, they are forcing users to learn how to handle asynchronous programming in Python. I would like to hold off for now on enforcing that in mcstatus.


Running Cracklord on NVIDIA DGX-1 super computer

Hello All,
Sorry for my question, it is not related with issues in Cracklord.
I am researching the possibility for buying NVDIA DGX-1 super computer. I am interesting if someone from Cracklord's community is used NVIDIA DGX-1 super computer.
Would it be possible to share with me more practical information about NVIDIA DGX-1 system or other GPU super computers?
Could you provide me an example of using DES crypto algorithm in Cracklord with super computer application?
Thanks in advance!
Best regards,

So I think you should focus on if Hashcat or John The Ripper would work on this cluster. Cracklord is only a Queue and job distribution system for those tools. It will run on any Linux/UNIX/Windows system if you can build Go binaries on it. My guess would be there are probably better job scheduling systems for super computing workloads. Please email me if you have other questions or any information to share about your usage on the super computer.


Main UI doesn't see the full CSV file

What is the difference in logic between the main chat textbox and agent processing? I loaded a ten line csv. When I ask both, the main box says the file has four rows. The agent (correctly) says ten. The main UI text box gets every query wrong. Why does it not see the full file contents?

Hey, just look at the read-me, good day

Thanks. Still studying the code and saw the readme - just can't see where that limitation is coded. I see that create_csv_agent has a max of 4 iterations, but I don't see where the main chat limits itself to four rows. Seems that given any real world csv file, the general chat has no value and that only the agent would provide any insights into the data.

This is due to the nature of the chain used, here I have improved the chain
for the chatbot, you can now see in the console what the chatbot does when
it searches for an answer, In fact, when using a vectorstore as a
retriever, it searches the vectorstore for the chunker parts of the file
that can most closely match the user's question, but it's limited because
it can't give all the info from the vectorstore otherwise it exceeds the
token limit, so we can define the number of indexes it can search as a
parameter to as_retriever (max 9).
Honestly I don't know yet how exactly the csv agent works, how it parses
the whole file without going through a vectorstore but what is for sure is
that it is limited to python interactions like it won't give you developed
answers with a custom prompt that kind of thing it's not very modular
Le sam. 6 mai 2023 à 14:10, chazhenry @.***> a écrit :

Thanks. Still studying the code and saw the readme - just can't see where
that limitation is coded. I see that create_csv_agent has a max of 4
iterations, but I don't see where the main chat limits itself to four rows.
Seems that given any real world csv file, the general chat has no value and
that only the agent would provide any insights into the data.
—
Reply to this email directly, view it on GitHub
https://github.com/yvann-hub/Robby-chatbot/issues/27#issuecomment-1537128827,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXF22QXKCLG4ZYT7C6QOR5LXEY5UNANCNFSM6AAAAAAXXOZYJA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Border, Navigation

Sorry to bother you again but I’m a bit overwhelmed which CSS files I should work on to change some basic looks of my page. For Instance I’ve got a really light border around all elements:

Another thing I’d like to do is hiding the top navigation bar – is that possible?
Thanks for your help!

To hide top navbar, remove from <header class="page-header page-header-sitebrand-topbar"> to </header><!--.page-header--> in header.php
To override style, use inspector in your browser to get how css selector was called.
Create your css file and enqueue into the theme.
Add those copied css selector into new css file, make change and save.

perfect, thanks!

I'm sorry that I can't write an example code for you because I'm currently don't have WordPress with Bootstrap Basic 4 installed.


Fix Psalm Crash by Removing Equals Sign in @param Annotations

The pull request addresses an issue where the @param annotation for a callable parameter in the src classes causes Psalm to crash in downstream projects. The problem is due to the presence of an equals sign (=) in the annotation. The pull request removes the equals sign to prevent the crash.
Summary of changes:

Fixed the @param annotation for the $filter parameter in the classes to remove the equals sign (=).

Details:

Updated the @param annotation for the $filter parameter in all affetcted methods to remove the equals sign (=) after int|string|null $key.

This change ensures compatibility with Psalm and prevents it from crashing in downstream projects.

Thank you @nynka


Extract integration and stress tests according to responsibilities

What this PR does / why we need it:
Extract integration and stress tests according to responsibilities

Unit test: Test the implemented source code. Write in the package that
implements the source code.
Integration test: Test the interface exposed to the user. Usability
can be checked. Write it in test/integration.
Stress test: Test performance. Write it in test/stress.

This commit introduce build constraints as a way to run integration
tests and unit tests separately.
Which issue(s) this PR fixes:

Fixes #118
Special notes for your reviewer:

I reorganized the structure of the /test by referring to Standard Go Project Layout.
The test separation was implemented by referring to Go In Production.

Does this PR introduce a user-facing change?:

Additional documentation:

Checklist:

[x] Added relevant tests or not required
[x] Didn't break anything

Thanks for the wonderful work! 👍  I will review it soon.


[Feature]: 6v6 ladder exclusively for GAP

Is your feature request related to a problem?
This is a suggestion to simplify match balancing for GAP addicts.
Describe the solution you'd like
Add a ladder option exclusively for GAP so that games can fill with roughly equivalently balanced teams - takes the hassle out of balancing a custom gap.
With GAP being clearly a preferred map for much of the player base, a dedicated means of getting a balanced match might speed up the lobby sim a bit?
Describe alternatives you've considered
Other map specific dedicated ladders for Astro, Canis and Setons perhaps... but that could quickly get cluttered.

Let's put aside the question whether or not we want a dualgap or astro matchmaker at all.
Just because FAF supports 6v6 technically, doesn't mean we recommend on using.
6v6 is inherently unstable with our current connectivity. Adding it as an "official" would require it to be mostly stable though. The custom lobby has the advantage that it can filter out some portions of connection problems before the game starts. The matchmaker logic cannot do this. The majority of games would probably be stuck in the game launching screen forever.


Add labels to service to make them distinguishable

This makes it possible to use a label selector to get the component
specific service. This is e.g. needed for a ServiceMonitor.

Test name
Status

storage
passed

haproxy
failed

recreate
passed

scheduled-backup
passed

upgrade-haproxy
passed

big-data
passed

scaling
passed

self-healing
passed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

init-deploy
failed

self-healing-chaos
failed

self-healing-advanced
passed

demand-backup
passed

smart-update
passed

self-healing-advanced-chaos
failed

operator-self-healing
passed

operator-self-healing-chaos
failed

limits
passed

monitoring-2-0
passed

pitr
passed

affinity
passed

one-pod
passed

auto-tuning
passed

upgrade-consistency
passed

proxysql-sidecar-res-limits
failed

demand-backup-encrypted-with-tls
failed

users
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/888/commits/fe16d3f622a622589c92d3e6b77bf2b35cb864ea
image: perconalab/percona-xtradb-cluster-operator:PR-888-fe16d3f6

Test name
Status

upgrade-haproxy
passed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/888/commits/4d24e06405f65cc6cc92d6cf7f422ee5d65fa90a
image: perconalab/percona-xtradb-cluster-operator:PR-888-4d24e064

@baurmatt can you please fix upgrade-consistency test?

@delgod Thanks for approving! :) To be honest, I've pushed the changes without getting a working test locally. I've tried for hours but for one reason or another the test failed. It's really hard running the upgrade-consistency because it requires a lot of different image tags which I don't have in my repository and thus the tests fail.

Test name
Status

scheduled-backup
passed

scaling
passed

haproxy
failed

upgrade-haproxy
passed

recreate
passed

storage
passed

big-data
passed

self-healing
passed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

init-deploy
failed

self-healing-chaos
failed

self-healing-advanced
passed

demand-backup
passed

smart-update
passed

self-healing-advanced-chaos
failed

operator-self-healing
passed

limits
passed

operator-self-healing-chaos
failed

monitoring-2-0
failed

pitr
passed

affinity
passed

upgrade-consistency
failed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
failed

users
failed

demand-backup-encrypted-with-tls
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/888/commits/70059a5662a912f8fa97d4ed2960fccbfd945399
image: perconalab/percona-xtradb-cluster-operator:PR-888-70059a56

Test name
Status

scaling
passed

scaling-proxysql
passed

security-context
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/888/commits/70059a5662a912f8fa97d4ed2960fccbfd945399
image: perconalab/percona-xtradb-cluster-operator:PR-888-70059a56

Test name
Status

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

pitr
passed

demand-backup-encrypted-with-tls
passed

haproxy
failed

scheduled-backup
passed

big-data
passed

upgrade-haproxy
passed

storage
passed

scaling
passed

self-healing
passed

scaling-proxysql
passed

self-healing-chaos
failed

security-context
passed

self-healing-advanced
passed

self-healing-advanced-chaos
failed

operator-self-healing
passed

operator-self-healing-chaos
failed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
failed

init-deploy
failed

limits
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
failed

users
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/888/commits/70059a5662a912f8fa97d4ed2960fccbfd945399
image: perconalab/percona-xtradb-cluster-operator:PR-888-70059a56

@baurmatt could you please add new labels to the following files:

e2e-tests/haproxy/compare/service_haproxy-proxysql.yml
e2e-tests/init-deploy/compare/service_no-proxysql-pxc.yml
e2e-tests/proxysql-sidecar-res-limits/compare/service_side-car-proxysql.yml

Thanks @egegunes for taking the time and pointing me on the missing things! :) I added all suggested changes.

Test name
Status

scheduled-backup
passed

big-data
passed

scaling
passed

storage
passed

upgrade-haproxy
passed

recreate
passed

haproxy
passed

scaling-proxysql
passed

self-healing
passed

init-deploy
passed

security-context
passed

limits
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

self-healing-chaos
passed

monitoring-2-0
passed

self-healing-advanced
passed

demand-backup
passed

smart-update
passed

affinity
passed

one-pod
passed

self-healing-advanced-chaos
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

operator-self-healing
passed

pitr
passed

users
failed

operator-self-healing-chaos
passed

demand-backup-encrypted-with-tls
passed

upgrade-consistency
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/888/commits/907fd5e19353db0f3126de854020f5e336e9ca85
image: perconalab/percona-xtradb-cluster-operator:PR-888-907fd5e1

Test name
Status

upgrade-haproxy
passed

haproxy
passed

scaling
passed

init-deploy
passed

scaling-proxysql
passed

limits
passed

security-context
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

big-data
passed

proxysql-sidecar-res-limits
passed

users
passed

storage
passed

scheduled-backup
passed

self-healing
passed

self-healing-chaos
passed

self-healing-advanced
passed

self-healing-advanced-chaos
passed

operator-self-healing
passed

operator-self-healing-chaos
passed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

pitr
passed

demand-backup-encrypted-with-tls
passed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/888/commits/907fd5e19353db0f3126de854020f5e336e9ca85
image: perconalab/percona-xtradb-cluster-operator:PR-888-907fd5e1


Unable to load Quantized mistral

I am able to load quantised_mistral
For the model_id and revision I have chosen this
let model_id = "mistralai/Mistral-7B-v0.1".to_string();
let revision = "26bca36bde8333b5d7f72e9ed20ccda6a618af24".to_string();

let filenames = hub_load_safetensors(&api_repo, safetensors_file_name)?;
where filenames is of Vec
What should I choose for the Varbuilder?
When I choose the Varbuilder form the quantised_mistral file?
QuantizedMistralVarBuilder::from_gguf(&filenames, &device);
I am getting this error
error[E0277]: the trait bound `Vec<PathBuf>: AsRef<std::path::Path>` is not satisfied
  --> src/model/backends/candle/text_generation.rs:39:57
   |
39 |                  QuantizedMistralVarBuilder::from_gguf(&filenames, &device);
   |                  -------------------------------------  ^^^^^^^^^ the trait `AsRef<std::path::Path>` is not implemented for `Vec<PathBuf>`, which is required by `&Vec<PathBuf>: AsRef<std::path::Path>`
   |                  |
   |                  required by a bound introduced by this call
   |
   = help: the following other types implement trait `AsRef<T>`:
             <Vec<T, A> as AsRef<Vec<T, A>>>
             <Vec<T, A> as AsRef<[T]>>
   = note: required for `&Vec<PathBuf>` to implement `AsRef<std::path::Path>`

And If I use
candle_nn::VarBuilder;
let vb = unsafe { VarBuilder::from_mmaped_safetensors(&filenames, dtype, &device)? };
QuantizedMistral::new(&config, vb)?
I get

error[E0308]: mismatched types
   --> src/model/backends/candle/text_generation.rs:41:44
    |
41  |             QuantizedMistral::new(&config, vb)?
    |             ---------------------          ^^ expected `VarBuilder`, found `VarBuilderArgs<'_, Box<...>>`
    |             |
    |             arguments to this function are incorrect
    |
    = note: expected struct `VarBuilder`
               found struct `VarBuilderArgs<'_, Box<dyn SimpleBackend>>`

What am I doing wrong here?

If you are using Quantized model then you can load varbuilder like:
let vb =candle_transformers::quantized_var_builder::VarBuilder::from_gguf(filename, &device)?;
let model = QMistral::new(&config, vb)?;
You can load safetensors like:
let vb = unsafe { VarBuilder::from_mmaped_safetensors(&filenames, dtype, &device)? };
let model = Mistral::new(&config, vb)?;


xSQLServerSetup: Now uses same identifier for InstallSharedDir

Pull Request (PR) description

Changes to xSQLServerSetup

Now all major version uses the same identifier to evaluate InstallSharedDir and InstallSharedWOWDir (issue #420).

This Pull Request (PR) fixes the following issues:
Fixes #420
Fixes #639
Task list:

[x] Change details added to Unreleased section of CHANGELOG.md?
[x] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[x] Examples appropriately updated?
[x] New/changed code adheres to Style Guidelines?
[x] Unit and (optional) Integration tests created/updated where possible?

This change is

Codecov Report

Merging #599 into dev will decrease coverage by <1%.
The diff coverage is 100%.

@@         Coverage Diff         @@
##            dev   #599   +/-   ##
===================================
- Coverage    92%    92%   -1%
===================================
  Files        28     28
  Lines      2891   2874   -17
===================================
- Hits       2682   2665   -17
  Misses      209    209

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

DSCResources/MSFT_xSQLServerSetup/MSFT_xSQLServerSetup.psm1, line 1214 at r1 (raw file):

        {
            # If the argument contains a value, then add the argument to the setup argument list
            if (Get-Variable -Name $argument -ValueOnly)

This change is not listed in the change log.

Comments from Reviewable

Review status: 1 of 3 files reviewed at latest revision, 1 unresolved discussion.

DSCResources/MSFT_xSQLServerSetup/MSFT_xSQLServerSetup.psm1, line 1214 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
This change is not listed in the change log.

Done.

Comments from Reviewable

Reviewed 1 of 2 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Authorization code grant in Lumen 5.2

I went through the documentation for implementing Authorization code grant but it seems it's not suited for Lumen 5.2.
How can I implement Authorization code grant with Lumen 5.2? Is there any future plans on making it possible with Lumen 5.2?
Thanks

see #662

The discussion there focused on issues related to AuthServiceProvider when using Password Grant in Lumen.

We currently have issues with Lumen 5.2, please see #662.


stop using make file?

Hi!
I think we should stop using make files and use npm scripts or gulp instead.
This way the test process will be accessible for windows users (me :sweat_smile:).
What do you say?

That's fine with me! (Sorry, I wasn't watching the repo!)


E-Hentai page duplication

Steps to reproduce
Read any chapter on E-Hentai
Expected behavior
No page was duplicated
Actual behavior
The number of pages shown on the summary and the preview is still correct. But when get into the chapter, all pages got duplicated.

Crash logs
No response
TachiyomiSY version
1.11.0
Android version
Android 14
Device
Samsung Galaxy S21 FE 5G
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.11.0.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Looks like E-Hentai swapped to the new website changes, does this still happen? Test with a new gallery since your chapter cache may still have the older page-list

Yeah it's back to normal now, thanks.


Bootstrap dropdown closed in Chrome after scrolling perfectScroll

When scrolling perfectScroll bootstrap dropdown closed in Chrome. In Firefox work fine. How to fix?
http://jsfiddle.net/rd2d2/aqvfx6j6/

You mean scrolling with mouse click, right? I think calling stopPropagation on the scrollbar rail click event may work, but not sure. Can you please try it?

Enjoy. Click here if you want a PR of it. It's not complete at all, but it's most of the hard work. Definitely needs to go behind a flag.

I tried , but stopPropagation not working. http://jsfiddle.net/rd2d2/aqvfx6j6/2/

worked, thanks!
http://jsfiddle.net/rd2d2/aqvfx6j6/3/

Good to hear it works. :+1:


Feed back on NSG section

Please give an example (with screenshot) of all the rules in an NSG as using verbiages cannot fully explain all the details needed to be performed for the rules.

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

ID: 8759537d-dc4e-4a19-afe9-94b3a9fcbf63
Version Independent ID: 2d15a9e2-0f39-c792-57b4-65d33095074f
Content: Azure Application Gateway infrastructure configuration
Content Source: articles/application-gateway/configuration-infrastructure.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: surmb

@midway500 , thank you for the feedback. We have assigned this to the content owner/author for review.
@vhorne , for your review.

I am closing issues that have not been updated in over a year. I will cross reference and research them individually. I am recording each issue and compiling a list of articles to review. If you feel there is an urgent need to address something related to this GitHub issue, please open a new issue and I will reply in the new thread. Please also reference this GitHub issue number in the new issue. Thanks. #please-close


Update 21w17a

onStartedTracking was removed from ServerPlayerEntity so I added it to Entity instead. Not sure if this does the same thing but it fixed the crash.

I ended up fixing it with an inject in another place, but thank you for the contribution and sorry for the delay 😅


Implement Async for native Spark Operators

Implement async versions for the following operators(Aligned on descending order of priority):

[ ] SparkSubmitOperator - @bharanidharan14
[ ] SparkSqlOperator - @sunank200
[ ] SparkJDBCOperator

[ ] SparkKubernetesOperator

Acceptance Criteria:

[ ] Unit Tests coverage in the PR (90% Code Coverage -- We will need to add CodeCov separately to measure code cov) with all of them passing
[ ] Example DAG using the async Operator that can be used to run Integration tests that are parametrized via Environment variables. Example - https://github.com/apache/airflow/blob/8a03a505e1df0f9de276038c5509135ac569a667/airflow/providers/google/cloud/example_dags/example_bigquery_to_gcs.py#L33-L35
[ ] Add proper docstrings for each of the methods and functions including Example DAG on how it should be used (populate
[ ] Exception Handling in case of errors
[ ] Improve the OSS Docs to make sure it covers the following:

[ ] Has an example DAG for the sync version
[ ] How to add a connection via Environment Variable & explain each of the fields. Example - https://airflow.apache.org/docs/apache-airflow-providers-postgres/stable/connections/postgres.html
[ ] How to use Guide for the Operator - example: https://airflow.apache.org/docs/apache-airflow-providers-postgres/stable/operators/postgres_operator_howto_guide.html

If we have too many issues with it, we can park it for now, or use LivyOperator as an alternative to submit Spark jobs

We've got the local connection working for the SparkSubmitOperator yesterday post further analysis. I think this is story is unblocked for now @sunank200 , @bharanidharan14 - please comment.

Yes, spark-submit works for the deploy-mode local. So SparkSubmitOperator example dag works with local spark setup. For SparkSqlOperator i am setting up the hive along spark to create a table to test the example DAG.

on 7-03-2022 and 21-03-2022 Successfully Installed spark in the airflow worker to run the spark-submit job and Created the spark cluster container tried running the sample spark job via airflow worker, I was facing some issues with container resource allocation issue.
22-03-2022 Tried creating separate docker image, created spark master, worker cluster container and tried submitting the job via airflow worker it was able to pick up the job but there is python version mismatch

Working on implementing Spark submit operator async

SparkSqlOperator requires the spark-sql to work when it's installed along in the docker. Right now, for deployment mode as local, the SparkSqlOperator fails as spark-sql  fails with the following error:

22/03/24 05:12:55 ERROR Utils: Uncaught exception in thread shutdown-hook-0 java.lang.InterruptedException         at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1039)         at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)         at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)         at org.sparkproject.jetty.server.AbstractConnector.doStop(AbstractConnector.java:371)         at org.sparkproject.jetty.server.AbstractNetworkConnector.doStop(AbstractNetworkConnector.java:88)         at org.sparkproject.jetty.server.ServerConnector.doStop(ServerConnector.java:246)         at org.sparkproject.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:94)         at org.sparkproject.jetty.server.Server.doStop(Server.java:459)         at org.sparkproject.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:94)         at org.apache.spark.ui.ServerInfo.stop(JettyUtils.scala:525)         at org.apache.spark.ui.WebUI.$anonfun$stop$2(WebUI.scala:174)         at org.apache.spark.ui.WebUI.$anonfun$stop$2$adapted(WebUI.scala:174)         at scala.Option.foreach(Option.scala:407)         at org.apache.spark.ui.WebUI.stop(WebUI.scala:174)         at org.apache.spark.ui.SparkUI.stop(SparkUI.scala:101)         at org.apache.spark.SparkContext.$anonfun$stop$6(SparkContext.scala:2071)         at org.apache.spark.SparkContext.$anonfun$stop$6$adapted(SparkContext.scala:2071)         at scala.Option.foreach(Option.scala:407)         at org.apache.spark.SparkContext.$anonfun$stop$5(SparkContext.scala:2071)         at org.apache.spark.util.Utils$.tryLogNonFatalError(Utils.scala:1442)         at org.apache.spark.SparkContext.stop(SparkContext.scala:2071)         at org.apache.spark.sql.hive.thriftserver.SparkSQLEnv$.stop(SparkSQLEnv.scala:77)         at org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver$.$anonfun$main$2(SparkSQLCLIDriver.scala:143)         at org.apache.spark.util.SparkShutdownHook.run(ShutdownHookManager.scala:214)         at org.apache.spark.util.SparkShutdownHookManager.$anonfun$runAll$2(ShutdownHookManager.scala:188)         at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)         at org.apache.spark.util.Utils$.logUncaughtExceptions(Utils.scala:2019)         at org.apache.spark.util.SparkShutdownHookManager.$anonfun$runAll$1(ShutdownHookManager.scala:188)         at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)         at scala.util.Try$.apply(Try.scala:213)         at org.apache.spark.util.SparkShutdownHookManager.runAll(ShutdownHookManager.scala:188)         at org.apache.spark.util.SparkShutdownHookManager$$anon$2.run(ShutdownHookManager.scala:178)         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)         at java.util.concurrent.FutureTask.run(FutureTask.java:266)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)         at java.lang.Thread.run(Thread.java:748)

Trying to debug the issue right now and blocked on this.

@sunank200  lets stop further effort on SparkSQLOperator and you can start on LivyOperator

Added Spark submit async Operator, Trigger, Hooks
Added Test case, Mypy, doc string

Added the changes to submit the spark submit job in execute method and getting the status from trigger

Below operators are on hold due to connectivity issue between airflow worker container and EMR Spark

SparkSubmitOperator
SparkSqlOperator
SparkJDBCOperator
SparkKubernetesOperator


Infinity option not working: -n inf

Did the latest commit break support for "-n inf" ?  Specifying an iteration still works fine, e.g. -n 100, but -n inf doesn't produce any output.

It did. Thanks. Should be fixed now.


excalidraw lost my data

Hi,
I was working on an important documentation project with a colleague. I saved a backup of the file, then we started working, documenting a complex project.
After 1 hour of work and a lot of note taking, I switched browser windows and came back to the excalidraw canvas, only to find out that my 1h of work was gone and had been replaced with the version I had backed up.
I imagine there is nothing that can be done in my case, but I wanted to document the issue so that other users and the developers of excalidraw are aware of this problem.
I am using a Mac M1 with Google Chrome 130.0.6723.117.
Thank you.

Same Issue My file was Just LOST , I saved my .excalidraw file in desktop once i loaded it just returned a blank page

Issue Description:
There seems to be a problem where changes made in Excalidraw are saved to a file, but upon reopening the file, the content does not load into the scene. Interestingly, this works fine on Chrome(v128.0.6613.137) but does not load anything when using Brave. I am looking into this issue and trying to understand how it can be resolved.
Temporary Solution:
To retrieve your changes, open the saved file, copy its content as plain text, and paste it directly into Excalidraw.

Temporary Solution: To retrieve your changes, open the saved file, copy its content as plain text, and paste it directly into Excalidraw.

I suspect the issue I experienced was a bit different, though the cases may be related. In my case, it wasn't saving the changes I was making, and it suddenly loaded the previous file version. They could be consequences of the same bug, so I appreciate that you're looking into it @Lakshmanshankar !


add forcibly_disable_pmu option

Which feature do you think can be improved?
Allow the guest to disable pmu
How can it be improved?
The user sometimes doesn't care about pmu usage(e.g. perf tool profiling).
But pmu will cost significant overhead on boot time and virtualization
context switch. E.g. on arm64, if guest pmu is enabled, kvm should save
and restore all PMU registers when guest/host switching.
Additional Information
Before raising this feature request
Have you looked at the limitations document? Yes

new issue was opened to track the followup https://github.com/kata-containers/runtime/issues/2576

@hejianet is this still relevant? do we know what the actual performance impact is?

I'm going to close this since, as shown on the commits referenced by #2576, we removed the hard-coded pmu=off. You can now specify pmu options in the configuration.toml config file in the cpu_features= option (the comments even show a pmu example).


AWS: Add support for Vivid Vervet & Debian Jessie

Particularly interesting because this is the first non-Redhat systemd system, so we need to fix a few systemd/salt problems and we also can't assume that redhat <=> systemd.
This did let me test btrfs.  Still doesn't support devicemapper though (we need a custom Docker build, it seems) :-(
This depends on the wheezy support, so will need a rebase when that merges.  Please ignore the wheezy commit / stuff!

Generally looks good. Please ping when you rebase for final review.

Poke -- needs a rebase.

@roberthbailey - this is dependent on 9371 anyway.  Should I rebase before that merges?

Probably not. I just hadn't seen any movement in a few days and thought this might be ready for review (trying to clear out my queue).

@roberthbailey #9371 merged, so I rebased and hopefully we can get it out of your queue now!

LGTM.

@k8s-bot ok to test

I'm guessing this is because of my Salt change, but I need to figure it out.  I think this might be fairly important because it ties in to #9675, in particular if we want to run an OS that includes a more modern kernel on AWS, which typically implies systemd.
Hoping I will get to this today or tomorrow.

I think the problem is #9837 (although that shouldn't be affecting GCE, but I can't exactly figure out my Salt change while Debian is now broken).  Going to mark this as WIP for now.  I'm going to look at targeting the latest Ubuntu, which has a newer kernel and uses systemd.
My goals is to find a maintained image on AWS that has a sufficiently modern kernel that works without a reboot (I've tried doing a reboot as part of bringup; it is OK but not great).

Unblocked this by taking systemd service management out of Salt, into our own script, in the face of apparently insurmountable Salt bugs (#9675): https://github.com/justinsb/kubernetes/commit/5bcbcecc604fcd33d6913f7279e0211a85091f47
Also added support for Ubuntu Vivid Vervet on AWS, which seems to be the only AWS AMI which both had a modern enough kernel to run Docker and didn't require a reboot (#9892)
I'm going to remove the lgtm tag, because the linked commit above is non-trivial, and I don't want to "sneak this one in".  I think the changes to salt are systemd only, so will only affect AWS & vagrant:  cc @derekwaynecarr

Please hold this until tomorrow when I have a chance to review and test.
Sent from my iPhone

On Jun 16, 2015, at 6:41 PM, Justin Santa Barbara<EMAIL_ADDRESS>wrote:
Unblocked this by taking systemd service management out of Salt, into our own script, in the face of apparently insurmountable Salt bugs (#9675): justinsb@5bcbcec
Also added support for Ubuntu Vivid Vervet on AWS, which seems to be the only AWS AMI which both had a modern enough kernel to run Docker and didn't require a reboot (#9892)
I'm going to remove the lgtm tag, because the linked commit above is non-trivial, and I don't want to "sneak this one in". I think the changes to salt are systemd only, so will only affect AWS & vagrant: cc @derekwaynecarr
—
Reply to this email directly or view it on GitHub.

Grr... I thought I had tested this on a non-systemd system, but I obviously hadn't.  Or GCE's wheezy is odd in some way.  I debugged and (on GCE) the systemd pillar variables appeared to be set; I'm trying out using a grain which is apparently more salty and will definitely be easier to debug in #9935.

Fixed the problem - I made a stupid mistake: https://github.com/justinsb/kubernetes/commit/0feb0687bf86a0082361665a173dfe695f6b2c87
(and this also explains the testing mystery; I obviously hadn't tested where docker_opts was not set).
@zmerlynn suggests that grains is indeed more salty (https://github.com/GoogleCloudPlatform/kubernetes/pull/9935#issuecomment-112811947).
So I'm going to force-push the grainy version into this PR.
For reference, the SHA with pillar was f7bd060492bc0ef2408d6b9df71ff9a9c0898167

The test status here is a bit confusing.  34a (passed on GCE) is the latest.  Shippable has failed with a flake, I believe.  The most recent GCE failure as on an earlier commit, but it took longer to run than the passing test run which started after it.
In short, this passes GCE & I think the Shippable fail is a flake (but I can't see it to be sure)

Rebased to double-check that it does pass testing (it does!)

@derekwaynecarr Have you had a chance to take a look?

The salt changes look good, I like the systemd abstraction.  If this can hold to Monday, I can test spinning up a cluster that morning.
Sent from my iPhone

On Jun 19, 2015, at 7:28 PM, Robert Bailey<EMAIL_ADDRESS>wrote:
@derekwaynecarr Have you had a chance to take a look?
—
Reply to this email directly or view it on GitHub.

I'm not going to merge it on a friday night. Let me know how the testing goes monday.

I tried this out this morning, and it appears that the Kubelet is not configuring properly for me.  Right now, it appears to try and put the stuff for the Kubelet in /etc/init.d/* so I need to review this more to see why things are messed up for me.

I am seeing the following behavior.
On an initial kube-up, we are writing the is_systemd grain properly, but the grains that are written are not reloaded or used unless I do a subsequent kube-push.  I think if we are dynamically writing grains during provisioning process, we need to sync grains, and according to this document:
http://docs.saltstack.com/en/latest/topics/targeting/grains.html
It only happens when you call sync to high state which explains the behavior I am seeing.
I think this may work more consistently if we output the grain information outside of salt, and instead just add a new grain to our grains.conf files as part of initial provisioning.  In this way, kube-up will work on the initial provision of the cluster.

@derekwaynecarr sorry about the problem.  How did you hit this - was it simply by trying to kube-up with vagrant?  Let me know and I can make sure it is fixed.
In any case, I moved from grains to pillars (back to pillars, actually).  The problem with pre-setting it in grains is that all the scripts would have to set it correctly.  I tried adding (redhat or is_systemd) to maximize compatibility, but there would still have been a problem on the systemd_system_path.
If you're able to test it out or let me know how you hit a problem before, that would be great appreciated!

I rebased your PR and then did kube-up with vagrant provider.  It fails because kubelet is misconfigured, and then a kube-push things get better (the whole systemd stuff works again).
Sent from my iPhone

On Jun 24, 2015, at 10:59 PM, Justin Santa Barbara<EMAIL_ADDRESS>wrote:
@derekwaynecarr sorry about the problem.  How did you hit this - was it simply by trying to kube-up with vagrant? Let me know and I can make sure it is fixed.
In any case, I moved from grains to pillars (back to pillars, actually). The problem with pre-setting it in grains is that all the scripts would have to set it correctly. I tried adding (redhat or is_systemd) to maximize compatibility, but there would still have been a problem on the systemd_system_path.
If you're able to test it out or let me know how you hit a problem before, that would be great appreciated!
—
Reply to this email directly or view it on GitHub.

@derekwaynecarr I take you're referring to the situation when I used grains.  I pushed an updated version using pillar, and the cluster comes up now on vagrant (with #10347, but that is a separate issue I think)

@k8s-bot ok to test

Persuaded shippable to pass, but I don't think we have a recent e2e run.  Anyone know how to persuade k8sbot to test it?

@k8s-bot Test this please.

@justinsb this needs a rebase.

@k8s-bot retest this please

If it would be helpful, I can split this into two PRs - the (higher risk) systemd fixes and the (more contained) AWS changes.  The AWS work relies on the systemd salt fixes, but splitting would make it easier to focus on the high-risk work.

@justinsb i think splitting the systemd parts out would help.

I split the systemd work out into #10488

Rebasing this one now

Rebased.  This is now AWS-only, except for the the change to cluster/saltbase/salt/kubelet/default, which is gated on Ubuntu Vivid Vervet (which I don't think anyone but AWS uses).

I'm curious why both Jessie and Vivid? Would it be easier to support only Vivid or are there people that have asked for Jessie?

@benmccann I originally thought Jessie was the safer bet, but it turned out to require a reboot (to enable the memory controller, as I recall).  Vivid was the best image I could find: no reboot needed, modern kernel that supports docker & good filesystem choices.
I don't know whether it is worth dropping Jessie support; I'm hoping they default the memory controller on in another release.  If we drop Jessie we should probably also drop trusty & wheezy; I'd rather keep them in there for now and see how people use it!

Weird error in GCE build log: Unable to query GitHub for status of PullRequestjava.io.IOException: Server returned HTTP response code: 401 for URL: https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/9381
@k8s-bot test this please

@justinsb cool. i just didn't want people getting confused by using a non-optimal config, but i missed that it's setting the default to vivid and you have good docs around it, so i think it's great the way you have it setup now

Bouncing to @brendandburns since he's been looking at AWS lately.

@brendanburns: to bring you up to speed: this is my last "feature" PR for v1.  (There may be bugfix PRs, but I don't know of any, so fingers crossed!)  It switches the default OS from Ubuntu 14.04 to Ubuntu 15.04, which is the OS I've been testing primarily with AWS recently.  It is the only image that I have found that includes a sufficiently modern kernel to keep Docker happy, that doesn't require a reboot (which rules out Debians).  It also supports different filesystems, including btrfs which I have found to be more reliable than aufs on more recent kernels.  The systemd work we merged earlier today was all to support this, because 15.04 uses systemd.
With this, I have one known-failing e2e test (Services should be able to change the type and nodeport settings of a service), and some flakes/semi-random failures.  That failing test is one I wrote myself to cover a known-problem with AWS recreating the ELB whenever you change a port, fixed in PR #8366 but (rightly) deferred to post-v1.  (GCE does not have the problem because it reuses the same IP)
I think it's a good PR!  I've been testing the end-result pretty heavily, and it solves a lot of real problems.  Also low-risk: almost entirely in cluster/aws, one small change in salt that is conditional on detecting 15.04.

LGTM.  ok-to-merge


Tracking issue: Create a documentation for all implemented predicates

Origial issue: https://github.com/RedHatInsights/insights-data-schemas/issues/23

Documentation for all validators is available here: https://redhatinsights.github.io/insights-data-schemas/validators.html

Documentation for all validators is available here: https://redhatinsights.github.io/insights-data-schemas/validators.html