fix: use float for amount

What has changed
Change AMOUNT fields to convert to float instead of int, to support decimal amounts (ören).
Note: VIVA accepts double-precision, meaning values can be very precise (e.g. 123.456789) and will be automatically rounded by VIVA (e.g. to 123.46).
How to test

Checkout this branch and setup adapter
Send a request as usual but specify some amounts in decimals (e.g. 1000.00, 123.4567 etc.)
Verify nothing crashes and the amounts are correctly submitted to VIVA

Task linked: CU-1fentzh Bugg: Summor med ören fastnar i adaptern och ansökan kommer inte till Viva


[5.6] Updating Travis CI config file

Run tests with PHP 7.1.3 instead of the latest version of PHP 7.1

I'm not sure this is necessary?

This PR make sure that the min PHP version is tested and maintained.
Question: Why in the composer.json file the php version is ^7.1.3 and not ^7.1 ?

@arcanedev-maroc It's ^7.1.3 because that is the minimal version that Symfony 4 requires. As to why that specific version, it's because of this bug (https://bugs.php.net/bug.php?id=73989) which was causing segfaults.

OK i see now, thanks @X-Coder264 👍


wheel package format

It would be nice if partd could be published as a wheel on pypi

I'm curious why this came up.  partd is a relatively simple project.
I don't have experience building wheels.  If you provide the exact commands or config file necessary to build and upload a wheel then I'd be happy to do it.  I will note that there is already a conda package.

hi Matthew,
The benefit of wheel package is that:

there is no 'package' code execution during install,
it's hopefully brings 'pypi' clother to a 'conda' logic:
. non pythonic things apart,
. for non-binary wheels at least.

Just do:
python setup.py sdist bdist_wheel  --universal
twine upload dist/*

Wheel or not, I do agree with @stonebig that it would be nice if this found its way onto PyPI. It would give it greater visibility, if nothing else.

Oh, I mistakenly assumed that this was a dask issue.  My bad.
Partd is on PyPI.  https://pypi.python.org/pypi/partd
I've had odd response from PyPI's searching capabilities recently.  Can you verify that this is publicly visible?

No worries.
You're right. It is indeed there.
I tried to search on PyPI and Google and somehow missed it. Weird. Did you report it?
Maybe it is worth adding a badge or link or something to point to it on PyPI.

I haven't reported it.
Added badge in https://github.com/blaze/partd/commit/0bba429fde163850156441c03981849b7a41ee08
I'm curious how you both use partd.  This is used internally within dask and I'd be thrilled to learn that it was useful in other applications as well.

I take it in winpython because it's written in the extra_requiresof dask: no direct usage.

Not currently using. Only discovered it today.

Partd is now available on pypi as a wheel (https://pypi.python.org/pypi/partd/). Closing.


Utils update

Minor refactoring and additions of new util functions spread across several areas:

[x] basic utils imports/implementations
- provenance
- stuff from synapseutils
- other
[x] batch provenance
[x] annotation for nextflow RNA-seq results
[x] annotation for nextflow exome-seq results
[x] converted annotation gist to more coherent vignette
[x] minor refactoring of new-project related for greater utility and potentially easier testing (this was a thematic departure)

For reviewers, especially looking for:

Any unexpected bugs encountered
Ideas for additional checks or where need more warnings and documentations
For the annotations workflow (see vignette), can this be made more ergonomic? What seems really annoying or confusing (too many steps)?

To resolve (did not come up in local check?):
❯ checking package dependencies ... WARNING
  Requires (indirectly) orphaned package: ‘gtools’

Note: 83ba6f7 check failures still gtools related.

Moving back to draft to resolve small conflicts with recent concurrent PR merge and update a few other things.

So I am testing the RNA-seq part of the markdown and it is working well for generating the manifests and provenance! However, for some reason the annotate_with_manifest function is not actually pushing the annotations to synapse. I do not get an error message, so I am not exactly sure why this is happening.
Example manifest:

entityId
age
ageUnit
aliquotID
assay
cellType
Component
diagnosis
individualID
isCellLine
isPrimaryCell
modelSystemName
nf1Genotype
nf2Genotype
organ
parentSpecimenID
platform
readDepth
resourceType
sex
species
specimenID
specimenPreparationMethod
tissue
tumorType
Filename
workflow
dataSubtype
fileFormat
averageInsertSize
averageReadLength
averageBaseQuality
pairsOnDifferentChr
readsDuplicatedPercent
readsMappedPercent
totalReads
dataType
genomicReference
workflowLink

syn29531719
62
years
s8_rna.tgcactaggc-accagaagta.hc5gydsx3_tgcactaggc-accagaagta_l002
rnaSeq
schwann
GenomicsAssayTemplate
Neurofibromatosis type 1
UF470
Yes
No
icNF97.2b
-/-
Unknown

UF470 T2
Illumina NovaSeq 6000

experimentalData
Female
Homo sapiens
icNF97.2b
Fresh collected
primary tumor
Cutaneous Neurofibroma
icNF97.2b.markdup.sorted.bam
STAR and Salmon
processed
bam
1283.4
139
35.8
0
27.2625200305517
100
57840394
AlignedReads
GRCh38
https://nf-co.re/rnaseq/3.7/output#star-and-salmon

syn29532086
62
years
s16_rna.ccgcagtatc-tacctggcaa.hc5gydsx3_ccgcagtatc-tacctggcaa_l002
rnaSeq
schwann
GenomicsAssayTemplate
Neurofibromatosis type 1
UF470
Yes
Yes
cNF97.2b
-/-
Unknown

UF470 T2
Illumina NovaSeq 6000

experimentalData
Female
Homo sapiens
cNF97.2b
Fresh collected
primary tumor
Cutaneous Neurofibroma
cNF97.2b.markdup.sorted.bam
STAR and Salmon
processed
bam
1324.4
139
35.9
0
30.2195769584251
100
62635215
AlignedReads
GRCh38
https://nf-co.re/rnaseq/3.7/output#star-and-salmon

example file after using annotate_with_manifest:
https://www.synapse.org/#!Synapse:syn29531719

In the case of the sarek pipeline, it doesn't seem to create a post-workflow samplesheet. I'm assuming in this case it is the input samplesheet?

So I am testing the RNA-seq part of the markdown and it is working well for generating the manifests and provenance! However, for some reason the annotate_with_manifest function is not actually pushing the annotations to synapse. I do not get an error message, so I am not exactly sure why this is happening.
Example manifest:
entityId 	age 	ageUnit 	aliquotID 	assay 	cellType 	Component 	diagnosis 	individualID 	isCellLine 	isPrimaryCell 	modelSystemName 	nf1Genotype 	nf2Genotype 	organ 	parentSpecimenID 	platform 	readDepth 	resourceType 	sex 	species 	specimenID 	specimenPreparationMethod 	tissue 	tumorType 	Filename 	workflow 	dataSubtype 	fileFormat 	averageInsertSize 	averageReadLength 	averageBaseQuality 	pairsOnDifferentChr 	readsDuplicatedPercent 	readsMappedPercent 	totalReads 	dataType 	genomicReference 	workflowLink
syn29531719 	62 	years 	s8_rna.tgcactaggc-accagaagta.hc5gydsx3_tgcactaggc-accagaagta_l002 	rnaSeq 	schwann 	GenomicsAssayTemplate 	Neurofibromatosis type 1 	UF470 	Yes 	No 	icNF97.2b 	-/- 	Unknown 	  	UF470 T2 	Illumina NovaSeq 6000 	  	experimentalData 	Female 	Homo sapiens 	icNF97.2b 	Fresh collected 	primary tumor 	Cutaneous Neurofibroma 	icNF97.2b.markdup.sorted.bam 	STAR and Salmon 	processed 	bam 	1283.4 	139 	35.8 	0 	27.2625200305517 	100 	57840394 	AlignedReads 	GRCh38 	https://nf-co.re/rnaseq/3.7/output#star-and-salmon
syn29532086 	62 	years 	s16_rna.ccgcagtatc-tacctggcaa.hc5gydsx3_ccgcagtatc-tacctggcaa_l002 	rnaSeq 	schwann 	GenomicsAssayTemplate 	Neurofibromatosis type 1 	UF470 	Yes 	Yes 	cNF97.2b 	-/- 	Unknown 	  	UF470 T2 	Illumina NovaSeq 6000 	  	experimentalData 	Female 	Homo sapiens 	cNF97.2b 	Fresh collected 	primary tumor 	Cutaneous Neurofibroma 	cNF97.2b.markdup.sorted.bam 	STAR and Salmon 	processed 	bam 	1324.4 	139 	35.9 	0 	30.2195769584251 	100 	62635215 	AlignedReads 	GRCh38 	https://nf-co.re/rnaseq/3.7/output#star-and-salmon
example file after using annotate_with_manifest: https://www.synapse.org/#!Synapse:syn29531719

So, hmm, the bam.bai files are annotated but not the bams: https://www.synapse.org/#!Synapse:syn29530156

I think it may have to do changing from reticulate::r_to_py in reticulate::dict in one of the last few commits (I think the conversion between py and r objects is still a little weird sometimes). But I don't know how it could run with the manifest and end up annotating bai files...

I am not sure about the bai files, I actually think that is a remnant of a previous annotation attempt and not related to me testing this :)
I spent some time testing annotate_with_manifest line by line and found this change to fix it:
        .syn$setAnnotations(entity = entity, annotations = as.list(annotations[[entity]]))


Debug Adapter Server / Client update

This updates to the latest version of the Debug Adapter Protocol bringing in some of the missing pieces, cancellation, progress and a few other things.
Also adds support for a Server / Client pair exactly like Language Server Protocol has, these are super awesome in testing scenarios.

The initialization process is handled.
Progress can be sent from the server to the client.
Cancellation is now supported

This required some gymnastics to get right
The cancel handler (implemented by IServerProgressManager will get essentially empty requests for request cancellation, as they get re-routed down the normal cancellation path as provided by the rest of the json rpc bits.

The data sent from the server to the client includes the LSP error codes, which are used to re-hydrate the proper exception types on the client side.

Minor change to some types (though they are really only used on the the internals) to include a method, this was to properly fix serialization of DAP responses.

cc @TylerLeonhardt @rjmholt

Some things I wanna make sure are addressed are:

How do we extend the launch and attach messages? Currently, we redefine our own type.https://github.com/PowerShell/PowerShellEditorServices/blob/master/src/PowerShellEditorServices/Services/DebugAdapter/Handlers/LaunchAndAttachHandler.cs#L30-L95
How could I disconnect and then later connect to a debug adapter server? Currently, we do this horrible event stuff where we:

Trigger this event In the "disconnect" message
That Disposes of the old server and restarts it (YUCK)

I knew there were pieces I need to make sure got updated, thanks I'll look at this tonight.

@TylerLeonhardt have any thoughts on how to make it so those requests are more flexible?
I can make it a Dictionary or add a [JsonExtensionData] property... however none of those will be "strongly" typed.  Re-defining it honestly seems like the better approach.  Perhaps if you derived from the requests themselves and added the properties you want....  I'm not sure.
I didn't get to the second point today, I'll look at that tomorrow.

👀👀👀👀👀👀


YARN-11075. Explicitly declare serialVersionUID in LogMutation class.…

… Contributed by Benjamin Teke

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
10m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.3 Compile Tests _

+1 :green_heart:
mvninstall
31m 27s

branch-3.3 passed

+1 :green_heart:
compile
0m 48s

branch-3.3 passed

+1 :green_heart:
checkstyle
0m 37s

branch-3.3 passed

+1 :green_heart:
mvnsite
0m 55s

branch-3.3 passed

+1 :green_heart:
javadoc
0m 42s

branch-3.3 passed

+1 :green_heart:
spotbugs
1m 53s

branch-3.3 passed

+1 :green_heart:
shadedclient
24m 24s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 52s

the patch passed

+1 :green_heart:
compile
0m 44s

the patch passed

+1 :green_heart:
javac
0m 44s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 29s

the patch passed

+1 :green_heart:
mvnsite
0m 48s

the patch passed

+1 :green_heart:
javadoc
0m 30s

the patch passed

+1 :green_heart:
spotbugs
1m 57s

the patch passed

+1 :green_heart:
shadedclient
23m 48s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
106m 42s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 31s

The patch does not generate ASF License warnings.

207m 13s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4012/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4012

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 1a0e887e5003 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / ae9ae5adc9789543330276f12a544daf70921d7b

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4012/1/testReport/

Max. process+thread count
876 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4012/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thanks @bteke ,
Merged your patch.


Error message seems to be unescaped somewhere ("++" missing)

See https://github.com/OpenCobolIDE/OpenCobolIDE/issues/359.
The original error message was:
RuntimeError: wrapped C/C++ object of type CobolCodeEdit has been deleted"
The error message copied to mail body was
RuntimeError: wrapped C/C   object of type CobolCodeEdit has been deleted
Not sure where the "++" where replaced by spaces.

Not sure where this come from. Works fine for me: https://github.com/ColinDuquesnoy/QCrash-Test/issues/133

I think this issue occured when the message was copied to the body field (not when typing manually in the body field).

I've tried many things: typing, copying and raising an exception with the example message, everything works fine for me: https://github.com/ColinDuquesnoy/QCrash-Test/issues/139 (here I typed the title, pasted the description and did not change the traceback).


AnimationGroup height visual issue

I am trying to create a cool effect where the text is getting written and zoom in at the same time.
I tried to use the AnimationGroup object for that but this is how it renders :
https://user-images.githubusercontent.com/2827383/115975871-e9a4b700-a568-11eb-8194-fed4927fcfd2.mp4
First, the letters appear really distant from each other, small and also the height animation is being cut off, the letters come back to the original size.
The code is very simple :
class KoreanWord(Scene):
  def construct(self):
    t = Text('실망')
    group = []
    group.append(Write(t))
    group.append(t.animate.set_height(2))

    self.play(AnimationGroup(*group, run_time=10))

Am I doing something wrong, or is it an issue?
Thanks in advance for your help.

Try this:
class Code1498(Scene):
    def construct(self):
        t = Text('text')
        origin_height = t.get_height()
        target_height = 2
        tot_time = 2
        def anim(mob, dt):
            mob.set_height(
                mob.get_height() + \
                (target_height - origin_height) / (tot_time * self.camera.frame_rate)
            )
        t.add_updater(anim)
        self.add(t)
        turn_animation_into_updater(Write(t, run_time=tot_time))
        self.wait(tot_time)
        t.clear_updaters()
        self.wait()

https://user-images.githubusercontent.com/44120331/122313057-1a411580-cf48-11eb-906c-b19757f8fbf4.mp4


Initial steps to use Vivado 2022.1

Codecov Report

Merging #1339 (8d3b204) into image_v2.8 (8eb7096) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           image_v2.8    #1339   +/-   ##
===========================================
  Coverage       46.47%   46.47%
===========================================
  Files              28       28
  Lines            4953     4953
  Branches          971      971
===========================================
  Hits             2302     2302
  Misses           2594     2594
  Partials           57       57

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8eb7096...8d3b204. Read the comment docs.


Multi tenant direct line chat?

Hi all,
I have a directline chat up and running good.
Is there any support for multiple customers on the same bot? I want any customer to install on their website, add a custom id which we provide them and have all the messages come through our bot. We would then sort out where to send the message server side.

The simplest way to do this is via the user id, e.g. user: { id: 'Contoso/Fred', name: 'Fred' }. Then on each message your bot could extract the customer id from the user id.
You could also send such a customer id at the beginning of a session via the backchannel.
One idea for a more robust solution would be for Direct Line to allow you to provide a string when requesting a token, then include that string with every activity sent to the bot. That way your service could provide an API to each customer to provide a token. Your API would pass the customer id to Direct Line when requesting the token, and your bot would read it from the activity when handling the message.

Ok thanks for that. I was looking at the user id so am on the right track. We do generate our own tokens which the customer can use so we'll take a look at sending these via the backchannel and see how it works.
thanks for the help


Request for transfer of Environment Dashboard Plugin's ownership

Hi @vipinsthename ,
Hope you are well.
There are some PRs for the environment dashboard plugin which are pending for a long time.
If you are not actively maintaining this plugin, could you please provide your consent to get the ownership transferred to someone in the community. This consent is required by the Jenkins Developers Group to take the necessary actions.
Best Regards,
Momin

Is there some kind of transfer protocol for when a user goes dark?  I've also tried to get in contact with him a few months ago.

Request for putting up this plugin for adoption has been raised here with Jenkins Dev team.
Link: https://groups.google.com/forum/?nomobile=true#!topic/jenkinsci-dev/v-BqyE4F9RM
If somebody is interested in adopting this plugin, then they can track and respond to the request raised with the Jenkisn Dev team in google groups.
Thanks.
Regards,
Momin

I've been added as a contributor by @vipinsthename and I'm starting to triage issues, and clean up the plugin. Please see #150
We have plans to get this moved in to the jenkinsci github group, please see: https://issues.jenkins-ci.org/browse/HOSTING-808


cudaPackages: mark source-based releases as broken if cudaSupport is false

For source-available packages like CUDA samples, NCCL, NCCL-Tests, and Saxpy, we should mark them as broken if cudaSupport is false. My reasoning is this: when source-based packages generate code for GPUs, we should make certain cudaSupport is enabled.
However, binary-based packages should not be marked as broken if cudaSupport is false (not explicitly anyway -- it's fine if they're broken due to a dependency on a package marked as broken) because they do not generate (or perhaps even contain!) GPU device code. As an example, cuobjdump doesn't require a GPU to run and should be usable even if cudaSupport is false (assuming allowUnfree is true).
@NixOS/cuda-maintainers @SomeoneSerge @samuela thoughts?

Add a :+1: reaction to issues you find important.

Why would these packages take a cudaSupport argument if they only exist as cuda variants?

IIRC there are some packages that try using CUDA at runtime and fall back on CPU. Admittedly I don't remember who's doing this (maybe blender or something like that?), or if they're source builds.
But I'm not opposed to marking a source-built package broken if there's no reasonable way the build would succeed without cudaSupport. In that case I guess @SomeoneSerge 's question stands: "why accept a cudaSupport argument if they have no other reasonable configuration?"

IIRC there are some packages that try using CUDA at runtime and fall back on CPU. Admittedly I don't remember who's doing this (maybe blender or something like that?), or if they're source builds.

Not in the cudaPackages namespace though?

Oh true! None in the cudaPackages namespace thankfully


Infinite Notifies

Hi =) I've tried out ouroboros on my docker stack (single-node for now) and encontered an issue...: I've done a setting where all containers should do updates at 2am, only if they have the enable label. I then get a notification via telegram (which works perfectly). At 2am today i got over 50 notifications that the labeled container was updated (always the same one, always with the same codes, appearing every minute). The container is not replicated, and it is only one running container....so I assume i've some config error here, or it's a bug...can someone help?
version: '3.3'
services:
  ouroboros:
    image: pyouroboros/ouroboros:latest
    environment:
      CLEANUP: 'true'
      CRON: '"* 2 * * *"'
      LABELS_ONLY: 'true'
      NOTIFIERS: '"tgram://someapikey/chatid"'
      SELF_UPDATE: 'true'
      SWARM: 'true'
      TZ: Europe/Vienna
    volumes:
     - /var/run/docker.sock:/var/run/docker.sock
    networks:
     - default
    logging:
      driver: json-file
networks:
  default:
    driver: overlay

Further investigation shows, that the container is updated inifinitly, but never gets new version. This is the container:
nextcloud:
image: nextcloud:18
logging:
driver: json-file
deploy:
labels:
com.ouroboros.enable: 'true'


ITM Master and ETM Master

Validation

[X] Game has been updated to the latest RE4HD release (v1.1: https://www.re4hd.com/?p=9552)
[X] Data has been validated with SFV (a guide to using QuickSFV is available at that link, use that with this 1.1 SFV: BIO4-HDProject1.1-SFV.zip)

Describe your issue here (drag+drop ZIP to attach it)
I have a problem with the itm and etm master, the game closes when I load a new game if both are activated
https://www.mediafire.com/file/idv0p135yjgkcrp/bio4.exe.20230914164235.zip/file

These files have nothing to do with RE4Tweaks at all. You shouldn't be asking for help with that here.


Import settings won't open a finder window on MacOS using firefox

Hello,
I recently switched to Firefox and I'm trying to import Gumbo settings from the other browser and the import button isn't working.  The export button works fine.  I tried creating another profile in Firefox just in case it was a profile issue, but it doesn't work.  I have an M1 MBP on the latest version of MacOS (12.6).
Let me know if there is anything you'd like me to do to diagnose.

Thanks for the report, a fix has been committed (https://github.com/Seldszar/Gumbo/commit/b39cc3fc0b14b7ef07878c432011642897f44ca4) & an update (1.15.3) will be published soon. Because it's a Firefox-specific issue, the new update should be released in the next minutes/hour.


feat: bump esbuild version to v0.8.x

🆒 Your use case
Currently, siroc uses<EMAIL_ADDRESS>which is compatible with Apple M1 chips and causes installing failures. The M1 support for esbuild starts from 0.8.47.
🆕 The solution you'd like
bump esbuild version to v0.8.x, and migrate the API changes.
🔍 Alternatives you've considered
Have you considered any alternative solutions or features?
ℹ Additional info
Is there any other context you think would be helpful to know?
Installing:

Force resolutions with:
  "resolutions": {
    "esbuild": "0.8.52"
  },

The installing works, but siroc build failed:

Thanks for the prompt!


New openssl subject parser hard to debug

-subj 'subject=C = US, ST = A, L = root, O = Hewlett Packard Enterprise Company, OU = Remote Device Access, CN = Hewlett Packard Enterprise Remote Device Access Test Local CA, emailAddress =<EMAIL_ADDRESS>was a valid subject in openssl 1.0. Error received in 1.1 is:
problems making Certificate Request
Not very informative, I only figured this out because I compiled the
code and added logging.

The difference I have found beween 1.0 is:
1.0:
openssl x509 -in /tmp/rda-mkcert-010/etc/rda/certs/rda-ca.crt -noout -subject
subject= /C=US/ST=A/L=root/O=Hewlett Packard Enterprise Company/OU=Remote Device Access/CN=Hewlett Packard Enterprise Remote Device Access Test Local<EMAIL_ADDRESS>
1.1:
openssl x509 -in /tmp/rda-mkcert-010/etc/rda/certs/rda-ca.crt -noout -subject
subject=C = US, ST = A, L = root, O = Hewlett Packard Enterprise Company, OU = Remote Device Access, CN = Hewlett Packard Enterprise Remote Device Access Test Local CA, emailAddress =<EMAIL_ADDRESS>
Changing the delimiters I assume is intentional?

I have sent CLA via email

Close/reopen to kick the CLA bot.

Merged to 1.1.0 and master.  Thanks for the contribution.


rancher-wins-upgrader app is available on Linux clusters

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy any linux downstream cluster on rancher:2.5.7
Change rancher v2 helm chart repo from release-v2.5 to dev-v2.5 branch and refresh the repo
Go to Apps & Marketplace and click + Chart - refresh the apps list

Result:

App rancher-wins-upgrader is present in the list of Rancher apps - it shouldn't be there for Linux clusters - should be  available only for Windows clusters
the application couldn't be installed on linux cluster - nothing happens if I click on it

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher:2.5.7
Installation option (single install/HA): HA/any

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): any
Machine type (cloud/VM/metal) and specifications (CPU/memory): any
Kubernetes version (use kubectl version): any

Sorry, now it works correctly - hopefully just an issue with my cluster. Closing


readNdef function doesn't contains NDEF Message.

Hello,
im calling the readNdef() function successful and detect a Tag but the Tag contains a strange NDEF message.
What do I need to do to get from the tag.ndefMessage the raw text value?
Which encryption does this tag.ndefMessage has and how can I decrypt it to raw text?
  async function readNdef() {
    try {
      // register for the NFC tag with NDEF in it
      await NfcManager.requestTechnology(NfcTech.Ndef);
      // the resolved tag object will contain `ndefMessage` property
      const tag = await NfcManager.getTag();
      console.warn('Tag found', tag);
      const payload = tag.ndefMessage;
      console.log(payload);

    } catch (ex) {
      console.warn('Oops!', ex);
    } finally {
      // stop the nfc scanning
      NfcManager.cancelTechnologyRequest();
    }
  }

Tag:
{"canMakeReadOnly": true, "id": "04EA5002F06E80", "isWritable": true, "maxSize": 492, "ndefMessage": [{"id": "", "payload": [Array], "tnf": 1, "type": [Array]}], "techTypes": ["android.nfc.tech.NfcA", "android.nfc.tech.MifareUltralight", "android.nfc.tech.Ndef"], "type": "NFC Forum Type 2"}
Tag.ndefMessage:
[{"id": "", "payload": [2, 101, 110, 73, 116, 194, 180, 115, 32, 119, 111, 114, 107, 105, 110, 103, 32, 77, 111, 116, 104, 101, 114, 102, 117, 99, 107, 101, 114, 115, 33, 33, 33, 32, 89, 101, 115, 115, 115, 115, 115, 115, 115, 59, 41, 32, 66, 97, 109, 109, 109, 109, 109], "tnf": 1, "type": [84]}]
What type is the Tag.ndefMessage?
Thanks for Help;)

I figured out that the tag.ndefMessage encryption is ASSCI.

I figured out that the tag.ndefMessage encryption is ASSCI.

Hi. Have you solved? I'm trying to get the real message but I can't.

Hey, you just need to decrypt the ASSCI encrypted payload.
You can use decryption libraries/ packages for that.


Problem automatically loss the client from the server

Hi, I have Watson server installed on a real server
But when the client connects, everything is fine, but after 1 second, the client is automatically disconnected from the server
While in LAN and IP <IP_ADDRESS> these problems do not exist and everything is fine
How can this problem be solved?

I see you are using Forms. Are you instantiating the client or server within a form?  Please post code to reproduce the problem. Thanks

Closing, no code/steps to reproduce provided.

Closing, no code/steps to reproduce provided.


Dev

Checklist
Please put "X" in the below checkboxes that apply:

[ ] If committing a change of production code, I have tested it in different browsers (Chrome, Firefox, Safari).
[ ] If committing a new feature, I have first submitted an issue (Please note: you are free to open PRs for non-issued features, but opening an issue increases your chance of a successful PR).
[ ] If committing a new feature, I have also written the appropriate tests for it.
[ ] I have tried to build the feature in a way, that it does not cause any breaking changes for others (unless
agreed upon in an issue).

Premium

[ ] I'm a Schedule-X premium user

This PR solves the following problem**.
Insert your description or reference to the issue here.
How to test this PR**.
For example:

Feed X and Y in the events-Prop.
Click Z or A.
Confirm that B is displayed.

Hi @astowny. Was This PR intended? Looks like your fork isn't in sync with the current main branch of this repo

Hello Tom,
This PR is not intended, I want to sync my fork with your repo, this is an error


[AutoDiff] factor derivative typechecking helper out of AttributeChecker

In order to allow a @derivative in one file to define the derivative of a function in another file, we nned to calculate the derivative configurations of all the @derivative attributes in the module, not just those in the primary file (see https://github.com/apple/swift/pull/28790 for a work in progress of this).
AttributeChecker::visitDerivativeAttr is the function that does the necessary calculation, so this PR factors it into a separate function that others can call to do the calculation. This PR makes a few changes to the logic:

ASTContext::DerivativeAttrs now stores a set of all attributes per configuration, because otherwise you get buggy order-dependent behavior in the duplicate attr check when you call typeCheckDerivativeAttr multiple times per attribute.
typeCheckDerivativeAttr returns a boolean indicating error instead of calling attr->setInvalid() so that non-AttributeChecker callers can leave attr->setInvalid() to the AttributeChecker.

Note: This PR makes the AttributeChecker no longer use diagnoseAndRemoveAttr(), so you don't get a "fixItRemove" on the diagnostics any more. Keeping it would make the refactoring a bit more complicated, and I don't think it's that valuable to keep, because in many of the error cases removing the attribute isn't really the right way to fix things.

@swift-ci please test and merge

@swift-ci please test and merge

@swift-ci please test and merge

@swift-ci please test and merge


[Docs] jsx-no-target-blank: adjust options description

Fixes #3123.
Additionally:

I added the missing warnOnSpreadAttributes option to the code block with a rule configuration.
Rearranged items on the enumeration list so that they match the order of options in the mentioned code block.
Adjusted formatting of those items so that all of them have the same style. (I chose the colon over the hyphen, as that's how most other rules have their options described.)

Codecov Report

Merging #3124 (e672316) into master (7b3d728) will decrease coverage by 3.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3124      +/-   ##
==========================================
- Coverage   97.46%   94.30%   -3.16%
==========================================
  Files         119      119
  Lines        8076     8076
  Branches     2876     2876
==========================================
- Hits         7871     7616     -255
- Misses        205      460     +255

Impacted Files
Coverage Δ

lib/util/propTypes.js
68.18% <0.00%> (-29.21%)
:arrow_down:

lib/util/ast.js
75.00% <0.00%> (-21.16%)
:arrow_down:

lib/rules/jsx-no-comment-textnodes.js
88.88% <0.00%> (-11.12%)
:arrow_down:

lib/rules/boolean-prop-naming.js
91.97% <0.00%> (-7.30%)
:arrow_down:

lib/rules/jsx-props-no-multi-spaces.js
94.11% <0.00%> (-5.89%)
:arrow_down:

lib/rules/jsx-no-literals.js
95.65% <0.00%> (-4.35%)
:arrow_down:

lib/rules/no-unused-prop-types.js
90.00% <0.00%> (-4.00%)
:arrow_down:

lib/rules/no-invalid-html-attribute.js
90.76% <0.00%> (-3.08%)
:arrow_down:

lib/rules/no-unused-state.js
94.80% <0.00%> (-3.04%)
:arrow_down:

lib/rules/require-default-props.js
96.96% <0.00%> (-3.04%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b3d728...e672316. Read the comment docs.


When not specifying port for Postgres DB port is defaulting to 0

Summary
It looks like since the changes in https://github.com/argoproj/argo/pull/4307 if you do not specify a port for your PG configuration it will now default to 0 since the port type has changed to an integer and the concatenation logic will append :0 to the connection string.

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Please can you test :fix-4756

Thanks @alexec for the speedy fix, that LGTM.

Fix for this is out on https://github.com/argoproj/argo/releases/tag/v2.12.3

Fix for this is out on https://github.com/argoproj/argo/releases/tag/v2.12.3


hg38 to hg19 performance

Hi!

I would like to ask for your opinion. Do you think it is better to map to hg38_T2T_masked and then use leviosam2 to convert to hg19 or is it better to just map to hg19 from the beginning? I saw the improvements mapping from chm13v2 to hg19 but I am not so sure how well is the transition from hg38 to hg19.

What is the leviosam2 behavior on non primary and secondary alignments? Do you think I should remove them from the BAM file before lifting to another assembly?

KK

Could you elaborate how you generate the hg38_T2T_masked reference? We tested the conversion from standard hg38 to hg19. The results were good but the improvements were not as substantial as chm13->hg19.
LevioSAM2 removes secondary and supplementary alignments during lift-over, so you don't need to filtering them prior to running the workflow.

I am considering an approace like this:
BWA --> indel realignment --> Leviosam2 --> Indel realignment. Do you thing the second indel realignment will help?

If you're interested in running an indel realigner (I assume something like ABRA2), it should be fine to just run it after levioSAM2. In this way, the pipeline looks like
BWA --> Leviosam2 --> Indel realignment

The following approach should also work, but I'd expect the above to perform slightly better.
BWA --> Indel realignment --> Leviosam2

In our experiments, we didn't specifically run an indel realigner after levioSAM2 (our pipeline looks like: BWA --> LevioSAM2). When calling variants, GATK HaplotypeCaller and DeepVariant both perform indel realignment.

Sounds great. I hope you get great results!


Minor improvements to 'Differences with Java' documentation page

LGTM

Merged, thanks! I did some very minor additional tweaks.

Results can be seen here:
https://docs.groovy-lang.org/docs/groovy-5.0.0-SNAPSHOT/html/documentation/#_differences_with_java


data-background-image not loading?

Hi there,
Expected Behavior
I'm having problems getting a use-case of the data-background-image to work successfully. I've got an inline image to load and fade in when it appears within the viewport but the data-background-image is loading but then not appearing? I would like the background-image to lazy load and fade-in once it is  within the viewport.
Current Behavior
I have applied the same class of "lozad" to all elements including the div element which has data-background-image applied top it. The attribute "data-loaded=true" appears correctly but the following does not happen:

Background image is not applied
Class of "fade" not applied to div
Opacity does not change as a result

Even when I force the opacity via DevTools the background-image is not applied.
Steps to Reproduce (for bugs)
Please refer to the following example:
https://codepen.io/Shoxt3r/pen/pXZBoa
Tested on:
Google Chrome Version 75.0.3770.100
Please let me know if any further information would be helpful to look into this.
Thanks!

I had similar issue and while debugging JS I found out that the image string is coming with line feed character at the end resulting in no setting the background. I have my image path generated with blade template so I have provided a trim directive to have the proper result.
Summarizing: trimming image path for background did the trick.

I had similar issue and while debugging JS I found out that the image string is coming with line feed character at the end resulting in no setting the background. I have my image path generated with blade template so I have provided a trim directive to have the proper result.
Summarizing: trimming image path for background did the trick.

 I was tearing my hair out with this issue, thank you for posting ⭐


Split bam

Progress in oxbow file parsing:
The full file can be read in using RiboMetric. Here are the memory profiler plots for the full transcriptome sample file:

5mil batchsize 4 cores
5mil batchsize 8 cores

10mil batchsize 8 cores
10mil batchsize 8 cores + annotation

The memory usage for bam without annotation peaks at around 14GB.
If we Include the annotation, it causes a large increase up to 25GB. The time for a full file depends on the batchsize and the amount of cores used. In this comparison, we can see that a batchssize of 5mil reads at 4 cores takes almost 11 minutes, while running at 8 cores almost halves the time (6min) for the full program to finish. Using larger batchsizes (10mil in this case) also gives a slight reduction in processing time (around 5min runtime).
When using an annotation file, the time required for the program increases substantially, taking more than 8 minutes, even on 8 cores. The amount of cores currently won't change the annotated run time beyond the file parsing as the processing time is happening in the linear modules. One method to change this could be running the modules in parallel, but this will likely result in an even higher memory peak (as the modules are running simultaneously). The better change would be changing the program so that every batch is (i.e. 10mil reads) is fully processed and output as a batch_results_dict along with a batch_read_count. These would then be merged with the other batches' batch_results_dicts using the batch_read_count to weight them according to how many reads these results represent into the final result_dict used for output.
As last note, the metagene profile 3' end contained more reads this time, lending credence to the fact that we might've been missing crucial data taking only the first n reads instead:

Due to the way bams are split, the set number of reads (set by the user through config or '-S') is a max instead of the actual number of reads. The bam splitter will get as close as it can without including a reference name in the bed file that would cause the bam split to contain more than the number of reads. In the tests case, this means that the parse_bam with a number of reads set to 10,000 results in a read_df with 9,997 reads, as the next reference name would've caused the number of reads to go above 10,000.


err when train with multiprocessing

info
RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method

I believe ComfyUI disabled multiprocessing.


✨ Place highlighted text into brackets

Put highlighted text in brackets.

Hightlight text
Press the character you wish to wrap around the text, for example (

Preview (YouTube)
Put into following:
''
""
()
[]
{}

keep


jsdom is breaking when running this plugin

I'm running postcss as part of a Gulp workflow, and when I add this plugin, I get the following error:
Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
    at module.exports (/Users/jf065530/_repos/scouting247/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
    at HTMLCanvasElementImpl.getContext (/Users/jf065530/_repos/scouting247/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
    at HTMLCanvasElement.getContext (/Users/jf065530/_repos/scouting247/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:50:45)
    at Object.M.canvas (https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js:1:3612)
    at https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js:1:8079
    at https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js:1:11064
    at ContextifyScript.Script.runInContext (vm.js:59:29)
    at Object.runInContext (vm.js:120:6)
    at processJavaScript (/Users/jf065530/_repos/scouting247/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js:190:10)
    at HTMLScriptElementImpl._innerEval (/Users/jf065530/_repos/scouting247/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js:122:5) undefined

When I comment the uncss plugin out, the workflow runs just fine.
My options follow:
uncss({       html: [paths.build + '*.html'],       ignore: ['.on']     })
paths.build is defined. There are HTML files in that directory.

JSDom unfortunately doesn't support canvas yet. See https://github.com/uncss/uncss/issues/364.


Add delete option button to folder and links

hi @vk20july , you can work on this

If this issue not completed then I would like to work on this.

If this issue not completed then I would like to work on this.

already created a pr


[SMALLFIX] Change source code

Use static imports for standard test utilities in /alluxio/core/common/src/test/java/alluxio/security/LoginUserTest.java.
Change 'import org.junit.Assert' to 'import static org.junit.Assert.assertNotNull' and 'import static org.junit.Assert.assertEquals'.
AND update relative methods.
AND Put the static imports before non-static imports.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2870/
Test PASSed.

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2887/
Test FAILed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2893/
Test PASSed.

LGTM

alluxio-bot, merge this please.


Matcher needs chunked implementation

As solving part of #94 a low-memory (chunked) implementation of Matcher is required.

Matcher chunking merged by @vellamike in #131


Keyword fails on type conversion with complex types

Keywords with subscripted generics type hints fails with the following error
TypeError: Subscripted generics cannot be used with class and instance checks

This seems to be related to the breaking changes in version 4.0.1
Example:
Library file defining the keyword
from typing import Union, Dict, List
_type1 = Dict[str, Union[str, Number]]
def failing_function(arg: Union[_type1, List[_type1]] = None):
    doSomething()

Robot file defining the test case:
Test case
    &{test_dict} =     Create Dictionary    a=1   b=2 c=test
    Failing function    a=&{test_dict}

The whole traceback is not visible in the log:
Traceback (most recent call last):
  File "/usr/lib/python3.8/typing.py", line 769, in __instancecheck__
    return self.__subclasscheck__(type(obj))
  File "/usr/lib/python3.8/typing.py", line 777, in __subclasscheck__
    raise TypeError("Subscripted generics cannot be used with"

Version info:
python3 -m robot --version
Robot Framework 4.0.1 (Python 3.8.5 on linux)

This is already reported as #3931 and will be fixed in RF 4.0.2. Annoying regression caused by the fix for #3897.

Sorry. I didn't find that issue.

No worries. :smile:


Icon updates

Overview
Updates Icons to new Duo Icons
Added

New Icons

Removed

Large Search w/ Icons
Old Icons

Changed

Fixed a bug where Danger/Tertiary buttons w/ Icon did not display properly
Fixed a bug where Overflow Menu Danger Button used black text instead of white

Testing / Reviewing
Check components that have icons and ensure they look correct

@alisonjoseph I was unsure what to do there as well. I do like using only css to display the checkmark, I wonder if we could tweak that at all to achieve a thinner icon

@tw15egan We definitely can, might be able to re-use the work @joshblack did on the checkboxes in the duo repo to display them thinner.

Going to merge this in for now, as we will do a major visual review with the designers at a later date. This will also allow us to use the new icons and see if there any issues in our local development cycles


Collect acceptance tests coverage data

Codecov Report

Merging #3530 into master will increase coverage by 18.61%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #3530       +/-   ##
===========================================
+ Coverage   73.63%   92.24%   +18.61%
===========================================
  Files         199      204        +5
  Lines       16115    17438     +1323
  Branches     2642     2704       +62
===========================================
+ Hits        11865    16084     +4219
+ Misses       3817     1076     -2741
+ Partials      433      278      -155

Impacted Files
Coverage Δ

src/robot/utils/unic.py
63.50% <0.00%> (-33.33%)
:arrow_down:

src/robot/utils/compat.py
50.00% <0.00%> (-25.00%)
:arrow_down:

src/robot/utils/robottypes.py
81.25% <0.00%> (-18.75%)
:arrow_down:

src/robot/utils/etreewrapper.py
66.22% <0.00%> (-16.21%)
:arrow_down:

src/robot/utils/encodingsniffer.py
72.31% <0.00%> (-12.30%)
:arrow_down:

src/robot/utils/misc.py
86.21% <0.00%> (-12.06%)
:arrow_down:

src/robot/version.py
55.56% <0.00%> (-11.11%)
:arrow_down:

src/robot/utils/encoding.py
74.51% <0.00%> (-9.80%)
:arrow_down:

src/robot/utils/filereader.py
86.45% <0.00%> (-6.77%)
:arrow_down:

src/robot/utils/dotdict.py
94.88% <0.00%> (-5.12%)
:arrow_down:

... and 111 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2f2fe7...01436e6. Read the comment docs.

Coverage information for unit tests wasn't really used for anything and I removed collecting it some time ago. I don't think it makes sense to try collect coverage info for acceptance tests either.


Exec shell and "view logs" for pods are not functional  in a hardened setup

Version: v2.4.0-rc8
K8s version: V1.17.4-rancher1-2
Steps:

Create a hardened custom cluster setup using the guidelines in the below docs:
https://rancher.com/docs/rancher/v2.x/en/security/hardening-2.3.5/

Create pods and exec shell into the pods:
Exec shell fails with Close code 1006 as below:

View logs for the pods are also not functional

Not able to reproduce on 1.17.4 cluster.

On a CIS 1.4 hardened cluster (latest master-head commit id: 371ec137f) - k8s version - 1.17.4-rancher1-2 - Exec Shells shows Closed Code: 1006 issue. View Logs works.

Tested with v2.4.0-rc8 .

Followed the steps of hardening guide.
Created a custom cluster specifying both public ip and internal ip in the "docker run" command as specified in the docs below.
https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements
3.The cluster was active and exec shell and view logs were functional.

On master-head commit id: 4aa97c7be - verified with CIS 1.4 hardened cluster the following scenarios have been verified:

with "DenyEscalatingExec" plugin, nodes registered using both public and private ips the workloads deployed have exec shell and view logs working.
with "DenyEscalatingExec" plugin, nodes registered using only public ip the workloads deployed have exec shell and view logs working.

Verified on latest master-head, With a CIS 1.5 hardened cluster

In a custom cluster, nodes registered with public IP address, the exec shell and view logs do not work in the cluster for workloads.

@paraglade Can this be documented as known issue ? - Exec shell and "view logs" for pods are not functional in a cis 1.5 hardened setup when only public ip is provided when registering custom nodes

PR created: https://github.com/rancher/docs/pull/2391

Verified the docs
Known Issues
Rancher exec shell and view logs for pods are not functional in a cis 1.5 hardened setup when only public ip is provided when registering custom nodes.

https://rancher.com/docs/rancher/v2.x/en/security/hardening-2.3.5/#known-issues
Closing the issue.

In the hardening guide the kubelet is configured with generate_serving_certificate = true to create certs for the kublet. If the docker run registration command is run with only the public ip of the node the certs are generated with the provided public address . In the case of AWS EC2 nodes the hostname maps to the private ip of the instance. As a result the cert is not valid for internal cluster communication which effectively breaks the ability to view logs or exec shell in the rancher UI.
further reading:
https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-options
https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements


ECS Lights

[x] Add drawing arrows and cones shapes to DebugDraw
[x] Add Light Component that will store stuff like color, strength, direction (for Spotlight and Directional lights) and etc.
[x] Add Light Component to Inspector
[x] Visualize Light Component with DebugDraw
[x] Hook that up with rendering (just point lights for now)

[ ] Enable/Disable light debug drawing using cvar


Provides dynamic setters type to XamlX

What does the pull request do?

Updates XamlX to https://github.com/kekekeks/XamlX/pull/70 (see this PR for details)
Creates a XamlDynamicSetters type and pass it to XamlX when compiling

What is the current behavior?
The XAML dynamic setters are generated per type/closure, leading to duplication.
What is the updated/expected behavior with this PR?
The XAML dynamic setters are shared between all compiled types in an assembly.

You can test this PR using the following package version. 0.10.999-cibuild0023331-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0023541-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

Closing this PR temporarily due to inactivity. Please ping me if this needs to be reopened.


Disable local storage option

Fixes issue #137

this needs to be merged asap, this package is unusable without this. It's even broken in vercel/platforms!

Agreed!
I have this use case where upon clicking a button i wanna add some text to the editor.
Replacing localstorage with useState seems to be the only fix imo.

Why its still not merged? How can i apply this if i want to use npm i novel?

Why its still not merged? How can i apply this if i want to use npm i novel?

probably the only way to achieve that would be by using one of the "hacks", such as https://github.com/steven-tey/novel/issues/137#issuecomment-1728353624

No, i managed to do it the way it was shown in the commit i linked. Why
wont u merge this?
Dawid Michota
wt., 26 wrz 2023, 16:37 użytkownik Patrik Krehák @.***>
napisał:

Why its still not merged? How can i apply this if i want to use npm i
novel?
probably the only way to achieve that would be by using one of the
"hacks", such as #137 (comment)
https://github.com/steven-tey/novel/issues/137#issuecomment-1728353624
—
Reply to this email directly, view it on GitHub
https://github.com/steven-tey/novel/pull/139#issuecomment-1735679448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2BIATR5NGOFZMV7HCQXL5TX4LSELANCNFSM6AAAAAA4L5DRQI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Why its still not merged? How can i apply this if i want to use npm i novel?

probably the only way to achieve that would be by using one of the "hacks", such as #137 (comment)

I edited package and used patch-package. It works thanks to commit you pulled @krehak. Many thanks!

Why its still not merged? How can i apply this if i want to use npm i novel?

probably the only way to achieve that would be by using one of the "hacks", such as #137 (comment)

I edited package and used patch-package. It works thanks to commit you pulled @krehak. Many thanks!

You are welcome :)

Apologies for the delay here – merging this PR now!
<EMAIL_ADDRESS>now has a disableLocalStorage prop that allows you to disable reading / writing content from local storage!
Thank you again @krehak for the fix + the patch as well to get folks through the last 2 weeks 😅 🙏


bug: problem in contact me page.

Problem: form is not validated before submitting.
Name should not contain digits.
contact should not contain letters.
I will validate form for data integrity.

@Artemiskgg1 kindly assign me under hactoberfest and hacktober-accepted label.

@Artemiskgg1 please assign hactober-accepted label

@Artemiskgg1 i have requested for merge.


Posting messages to default exchange (named '')

These changes enables posting messages to the default exchange name ''

Merged with a few minor changes.  Thanks!


download-sections is not accurate, can we use the more accurate mode(00:00:00,xxx)?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
download-sections is not accurate, can we use the more accurate mode(00:00:00,xxx)?
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
download-sections is not accurate, can we use the more accurate mode(00:00:00,xxx)?

sorry. got it. It's 00:00:00.xxx


Minor documentation fixes

@all-contributors please add @spestana  for his documentation improvements, but also his ideas, data, testing, financial support and I'm sure lots of other things.


keeps old root-level pagination and retrieved count but adds meta pag…

What's this PR do?
Adds meta.pagination property to the /campaigns response while keeping the old root-level pagination and retrieved_count included for Android compatibility.
How should this be manually tested?
visit /campaigns and response should look like:
{
  pagination: {
    total: 85,
    per_page: 25,
    current_page: 1,
    total_pages: 4,
    links: {
      prev_uri: null,
      next_uri: "http://dev.dosomething.org:8888/api/v1/campaigns?type=campaign&count=25&page=2"
    }
  },
  retrieved_count: 25,
  meta: {
    pagination: {
      total: 85,
      per_page: 25,
      current_page: 1,
      total_pages: 4,
      links: {
        prev_uri: null,
        next_uri: "http://dev.dosomething.org:8888/api/v1/campaigns?type=campaign&count=25&page=2"
      }
    }
  },
  data: [
  {

Any background context you want to provide?
We'll want to update this in the future to eventually get rid of the root-level pagination and retrieved count fields.
What are the relevant tickets?
Fixes #6314
…ination wrapper below as well

:+1:

Cc: @aaronschachter


Add clusterId and checks for KubernetesOperators registration

What
Describe what the change is solving
During k8sop registration we try to match the k8sop in ngrok API with the configured KubernetesOperator in ngrok-operator.
Currently we're matching on:

operator name
operator namespace
operator namespace UID
operator binding name (if exists)

But, the operator name and namespace may be the same (likely) in different clusters, however we do not have a field to check for cluster name/id.
So this PR tentatively adds that feature (but doesn't implement the ngrok API side of things just yet).
How
Describe the solution
Breaking Changes
Are there any breaking changes in this PR?
Yes, .Values.clusterId is now a required field.

#474  👈
main

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

Join @hjkatz and the rest of your teammates on  Graphite


How to setup iptables with homebridge

Hi,
I'm running homebridge alongside with some other services on a linux machine. Basically this machine is secured by iptables, which only opens specific ports for in and out. I'm dropping everything except what I especially need. In short, I do whitelisting.
I opened the ports homebridge is listening on (8283 and 51826  for both ipv4 and ipv6). And initially I'm able to connect with my iPhone. Everything works, I can get all my devices and control them. I'm using FHEM only btw. no other plugins are active. In the homebridge logs I see basically what happens. But after some time the homebridge device can not be accessed anymore without any further error message, neither on the iphone nor in the homebridge log (which I set to debug). If I restart homebridge everything works fine again for some time till the issue arrises again.
If I do not setup iptables the connection does not break.
Do I need something special with iptables? Maybe a range of ports like it is necessary for FTP?
Best,
farion

Homebridge uses mdns/bonjour for device discovery which I believe is on udp port 5353.  You would need this configured as well.  If you watch the iptables logging doesn't it show the dropped packets?


Overload initializeDevicesAndFunctions() to initialize special BLAS functions

This gets called at initialization time from Java, see deeplearning4j/nd4j#2275. We can then call the functions normally from native code. When a symbol isn't found, we simply get NULL.

So, i can see kind of agreement here: if we have NULL - we use fallback impl. Otherwise - we use provided ptr. Should work nice.

We need few more optional hooks there then. Hgemm/SgemmEx for CUDA.

And *gemv, sorry :)

So, these functions?

cublasHgemm
cublasSgemm
cublasDgemm
cublasHgemmBatched
cublasSgemmBatched
cublasDgemmBatched

I don't see any "gemvBatched" ones...

there's no gemv batched ops, i'm asking for regular blas *gemv methods.

plus, cublasSgemmEx

Ok, done! Works for now, but I guess we'll need to figure how something else if we start needing a lot more of those...

<3 :)

Can we merge this now then?

Yes, just make sure you're not having issues compiling :) Only tested on Linux here for now

I know ultra-fast way to find that out.

Also please merge https://github.com/deeplearning4j/nd4j/pull/2275 if it's alright.


Fix typos in integration tests README

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[x] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Hi @dgn. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@dgn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-tests_istio
528be3c4bcf4d9c1ea5aaf69d429741b3914bddb
link
/test integ-new-install-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


missing import of variables

Hi Niklas,
seems, there's an import of variables missing, while running jekyll serve on the latest version...
  Conversion error: Jekyll::Converters::Sass encountered an error while converting 'assets/css/classes.sass':
                    Undefined variable: "$light". on line 2
jekyll 3.8.5 | Error:  Undefined variable: "$light". on line 2

Thanks, this is fixed now.


(docs)(GH-1802) Rework modules pages

Move modules to a new section
Change page title: "Directory structure" to "Module structure"
Renamed file "directory_structure.md to "Module structure"

I'll add a redirect for this to the web repo

Change page title: "Modules" to "Installing modules"
Updated Installing modules instructions

Closes #1802
!no-release-note

CLA signed by all contributors.


Baselines on ClueWeb09b

Let's implement baselines for ClueWeb09b, and then push it to all of ClueWeb09.

@iorixxx Would you be willing to contribute a ClueWeb09b baseline?

basic document processing
use the existing Lucene similarity base, BM25
don't do spam filtering

I want to get the document ingestion correctly first before we implement different scoring models, etc.

Total 50220189 documents indexed (15 threads) in 02:53:11. CW09B index size is 90G.
No spam filtering, no anchor text, no stop word removal.
Will generate runs shortly.

Can you please fork the repo and check in the code?
I assume you're okay with everything going in Apache License?

I am okey with the Licence. Sure i will add it.

Thanks!

Here  are the initial results for Web Track (WT) from 2009 to 2012.
Effectiveness measures are calculated from the category A qrels/prels.
clueweb09/qrels/statAP_MQ_eval_v4.pl topics-and-qrels/prels.web.1-50.txt wt09.txt  > map_wt09.txt
clueweb09/qrels/trec_eval -M1000 topics-and-qrels/qrels.web.51-100.txt wt10.txt > map_wt10.txt
clueweb09/qrels/trec_eval -M1000 topics-and-qrels/qrels.web.101-150.txt wt11.txt > map_wt11.txt
clueweb09/qrels/trec_eval -M1000 topics-and-qrels/qrels.web.151-200.txt wt12.txt > map_wt12.txt

valid_topics=49
statMAP_on_valid_topics=0.159679738669649
runid                   =     WT10_BM25_Krovetz_contents_AND
num_q                   =     48
num_ret                 =     47355
num_rel                 =     5233
num_rel_ret             =     2164
map                     =     0.0859
runid                   =     WT11_BM25_Krovetz_contents_AND
num_q                   =     50
num_ret                 =     46839
num_rel                 =     3157
num_rel_ret             =     1257
map                     =     0.1096
runid                   =     WT12_BM25_Krovetz_contents_AND
num_q                   =     50
num_ret                 =     48339
num_rel                 =     3523
num_rel_ret             =     1360
map                     =     0.0808

Here are some of my concerns:

BM25 return negative scores for common terms ( and, of, the, etc), and we are not removing stop words. This may decrease performance of BM25.
Should be report best values of free-paremeters (b,k1,k3) of BM25?
What should be the default search operator? OR AND?
WT09 does not have qrels so we cannot use trec_eval or gdeval.pl to calculate measures. What should be done to utilize these tools? Is it okey to use statAP for WT09 only?
Using catA qrels to evaluate catB runs is unfair. MAP, ERR values are affected by this. For instance if we re-evaluate WT11 using catB-only-qrels, num_rel decreases from 3157 to 1662. Map increases from 0.1096 to 0.2177.

runid                 	all	WT11_CATB_BM25_Krovetz_contents_AND
num_q                 	all	50
num_ret               	all	46839
num_rel               	all	1662
num_rel_ret           	all	1257
map                   	all	0.2177

Here is my first cut : 430fccf
Any comment/review/feedback appreciated.

Okay, here's what I have:
Total 50220189 documents indexed in 02:02:04

Effectiveness results as follows:
topics 51-100: MAP 0.0859 (vs. ATIRE 0.1137)
topics 101-150: MAP 0.1096 (vs. ATIRE 0.1082)
topics 151-200: MAP 0.0808 (vs. ATIRE 0.0982)
@iorixxx I have replicated your results. However, the effectiveness remains quite a bit lower than ATIRE, from https://github.com/lintool/IR-Reproducibility/blob/master/CW09.md
Any idea what's going on? Is it the AND? Maybe try simple bag of words?
Re:

Using catA qrels to evaluate catB runs is unfair.

That's true, but the runs are still comparable with other runs evaluated with the same qrels, which is the most important issue. This was the decision made in the IR reproducibility challenge - IIRC the rationale was that we should stay as close to NIST data as possible (and not need to post-process, which is a source for errors, etc.). IMO consistency is the most important thing.

Any idea what's going on? Is it the AND? Maybe try simple bag of words?

Do yo remove stopwords in ATIRE? We do here. Please note that BM25 produces negative numbers for stopwords.
What are the values of  b and k1? Lucene Defaults are: k1 = 1.2; b  = 0.75;
Here I used AND search operator. All terms must exists in a document to be returned.

Maybe try simple bag of words?

Here are the OR results:
 valid_topics=49
 statMAP_on_valid_topics=0.162169753776265    VAR_MAP=0.000176343119280119

runid                   all     WT10_BM25_Krovetz_contents_OR
num_q                   all     48
num_ret                 all     48000
num_rel                 all     5233
num_rel_ret             all     2181
map                     all     0.0864

runid                   all     WT11_BM25_Krovetz_contents_OR
num_q                   all     50
num_ret                 all     50000
num_rel                 all     3157
num_rel_ret             all     1337
map                     all     0.1106

runid                   all     WT12_BM25_Krovetz_contents_OR
num_q                   all     50
num_ret                 all     49408
num_rel                 all     3523
num_rel_ret             all     1419
map                     all     0.0817

Recent updates to README show exactly how one can replicate ClueWeb09b results. Closing issue.


Choose MP3 bitrate when writing

Now that mp3 support has been added, it would be great to be able to choose the bitrate when writing to mp3. What is the default btw? 128?

is bitrate now supported?

Does libsndfile provide an API for it? If so, we can support it.

Couldn't find an API so I asked here:
https://github.com/libsndfile/libsndfile/issues/1008

I don't really understand the syntax but over in that libsndfile thread 1008 evpobr linked to this documentation:
https://github.com/libsndfile/libsndfile/blob/c81375f070f3c6764969a738eacded64f53a076e/docs/command.md#sfc_set_bitrate_mode

I think that's just a flag on how the bitrate is to be interpreted. But how do we set the bitrate itself?

Hm, I don't know in that case

@bastibe more details provided by arthurt now https://github.com/libsndfile/libsndfile/issues/1008#issuecomment-2135784810
it seems like exposing the SFC_SET_COMPRESSION_LEVEL in the python-soundfile API would be useful. The argument takes values 0-1.

For VBR, it translates to lame_set_VBR_qaulity(). 0.0 -> 0.0 (highest quality), 1.0 -> 10.0 (lowest quality)

behavior is different for average and constant bitrate methods, see aurthurt's comment for details

That sounds great! Would anyone want to prepare a pull request?

I gave it a try, but did not see any effect. I first added the constant defining SFC_SET_COMPRESSION_LEVEL to soundfile_build.py:
SFC_SET_COMPRESSION_LEVEL		= 0x1301,

then running pythin setup.py install, which made this constant visible in the soundfile._snd.SFC_SET_COMPRESSION_LEVEL API.
However, with the following code, the value assigned to pointer_compression_level has no effect on the file size produced:
pointer_compression_level = _ffi.new('float *')
pointer_compression_level[0] = 0.0
with soundfile.SoundFile('./compressed.mp3','w', 44100, 1, format='MP3') as sfc:
    _snd.sf_command(sfc._file, _snd.SFC_SET_COMPRESSION_LEVEL, pointer_compression_level, _ffi.sizeof(pointer_compression_level))
    sfc.write(data) # data is numpy array of audio samples

I don't have any grasp on how ffi really works so I'm not sure how to proceed. I feel it would be easiest for someone more familiar with the python-soundfile library to take it from here.
Documentation: https://github.com/libsndfile/libsndfile/blob/c81375f070f3c6764969a738eacded64f53a076e/docs/command.md#sfc_set_compression_level

Thank you for looking into this. I think the pointer_compression_level should be a double, not float. What do you get as return value from _snd.sf_command? It should equal SF_TRUE or SF_FALSE.
Also, check if your version of libsndfile is new enough to support the SFC_SET_COMPRESSION_LEVEL API.

I tried 'double', no change. The returned value is 0 (not SF_TRUE or SF_FALSE). I also updated libsndfile to 1.2.2 with brew install libsndfile, no difference.

If you installed the wheel, you'll need to remove _soundfile_data from your site-packages before it'll pick up the system libsndfile. Or uninstall the wheel and install the source distribution, which does not come with _soundfile_data.

What's the status on this? When reading a 256kbs mp3 file with pysoundfile and writing it again it ends up as 32kb/s.

I personally had no success, not familiar with the development environment here and don't have time to pursue it

Cool! You got it working!
I'd be happy to merge a pull request that adds this to the rest of the command interface features.


Do not expand full DynamicMap cartesian product

I previously removed code that computed the cartesian product of DynamicMap dimension values which is completely infeasible for large parameter spaces. It seems this was still being done for layout plots, I'll have to have another look but afaik I already ensured that the fact that these keys aren't expanded doesn't cause any issues.

Had to remove existing unit tests but since this behavior was already the default behavior for non-layout plots I don't think there's much to worry about.

Given layout plots were the remaining exception, this looks fine. I'll merge once the tests are green.

Oddly, the pr build for python 2.7 seems to have this error:

I think the environment simply got messed up here. We still want to update to scipy 1.1 but that seems unrelated to this PR. So this should be ready to merge now.

All the Travis tests are green now. Merging.


Deprecate (and eventually remove) toEither

Now that we expose the V constructor and provide a Newtype instance, I don't think it makes a lot of sense to provide toEither too.

I'm not sure we should deprecate toEither; I've used this function a number of times when I want to switch from applicative-style to monadic validation where I need a step to depend on a prior step. I could pattern match or use unwrap, but toEither is a little clearer (to me, at least). I'm not sure I'd recommend that users of this library change all their uses of toEither to be unwrap instead.
I don't see any harm in preserving the function in the library for the semantic advantage I see in the name toEither, though I agree that in general there's no reason for a library to provide a function like this when unwrap will do.

I don't know whether this breakage is worth it. A few thoughts:

toEither is more readable than un V
we don't have a similar toX pattern elsewhere AFAIK for newtype Y = Y X like situations

I think you have to be really careful with “X is more readable than Y” style statements, because these things are highly personal and contextual. I think if this function is being used in a situation where it’s obvious that an Either is being returned but it’s not obvious what type of thing is being converted to Either, then un V is more helpful. If the reader doesn’t know what V is, that does at least let them know what they need to look up.

I’m happy to drop this though, on reflection I agree that it’s probably not quite a good enough reason to break things.

these things are highly personal and contextual.

Good point. un V definitely could be more readable in some contexts.

on reflection I agree that it’s probably not quite a good enough reason to break things.

Yeah... It's somewhat ironic that I don't think this change is worth breaking over but I think Effect.Class is worth breaking because it annoys me to have to use another import that should basically be from Effect. I'm not being consistent.

If you're not against this, how about we close the issue?

@kl0tl as the person who created the PR, do you have any thoughts?

I’m fine with keeping toEither, let’s close this!


Invalid POSTed UTF-8 is accepted and stored, causing JSON GET endpoints to fail

Trifecta does not generally check that the string values it receives in POST requests are valid UTF-8, instead passing along the bytes as-is. SQLite will for the most part do the same. However, nlohmann's json will not, and cannot per JSON spec; instead, it will throw on invalid sequences, causing any GET endpoints that try to include bad UTF-8 in their JSON responses to fail.
For robustness, it may be better to already refuse POST requests that have these invalid values, before storing the values in the database. Actual browsers will not make these kinds of requests.
An example that does not require authentication, but which does need direct access to Trifecta (so without nginx), would be the following:
curl -H "X-Real-IP: $(printf '\xc3\x28')" -F user=@<(printf admin) http://localhost:3456/get-signin-email

After this request, the admin panel's sessions table would now include the attacker-provided X-Real-Ip value, but this is invalid. The app logs:
/all-sessions: exception for An error occurred: [json.exception.type_error.316] invalid UTF-8 byte at index 1: 0x28

And the UI appears broken:

Other examples would be e.g. putting invalid UTF-8 into post titles, image captions, user-agent headers, email addresses, and so on, but those would require authentication.

Note that if exceptions are thrown with messages that contain invalid UTF-8, this will cause the process to abort: the exception handler tries to turn the exception into JSON, which then throws.
For instance, if you have an admin session, you can do:
curl -H "Cookie: session=..." -F $'user=\xc3\x28' -F $'password=x' http://localhost:3456/change-password

which will log as follows:
Attemping to set password for user �(
/change-password: exception for An error occurred: Tried to change password for user '�(', but does not exist
terminate called after throwing an instance of 'nlohmann::json_abi_v3_11_2::detail::type_error'
  what():  [json.exception.type_error.316] invalid UTF-8 byte at index 55: 0x28
zsh: IOT instruction (core dumped)  ./build/trifecta --rnd-admin-password=continue

Of course, admin users can POST to /stop anyway which has roughly the same effect, so as far as I can tell this does not really let users do anything they couldn't do before.

The crash in the exception handler has been addressed in 60448c70c2b58eaad0cbfb174457f056f3771fdc - thanks for spotting this!


Could not un-tar (exit code -1073741819). Error:  , path = '' pub get failed (66; , path = '')

[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.18363.1198], locale zh-CN)
    • Flutter version 1.22.4 at C:\work\flutter
    • Framework revision 1aafb3a8b9 (11 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:/Users/Jian/AppData/Local/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:/Users/Jian/AppData/Local/Android/Sdk
    • ANDROID_SDK_ROOT = C:\Users\Jian\AppData\Local\Android\Sdk
    • Java binary at: C:\work\Android\AS\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\work\Android\AS3.5
    • Flutter plugin version 44.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[!] Android Studio (version 4.1.0)
    • Android Studio at C:\work\Android\AS
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[☠] Connected device (the doctor check crashed)
    X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    X Exception: Unable to run "adb", check your Android SDK installation and ANDROID_SDK_ROOT environment variable: C:/Users/Jian/AppData/Local/Android/Sdk\platform-tools\adb.exe
    • #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
      #1      AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device_discovery.dart:71:7)
      <asynchronous suspension>
      #2      PollingDeviceDiscovery._populateDevices (package:flutter_tools/src/device.dart:467:60)
      #3      PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:457:12)
      #4      DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:171:20)
      #5      DeviceValidator.validate (package:flutter_tools/src/doctor.dart:975:55)
      #6      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #7      _rootRun (dart:async/zone.dart:1190:13)
      #8      _CustomZone.run (dart:async/zone.dart:1093:19)
      #9      _runZoned (dart:async/zone.dart:1630:10)
      #10     runZonedGuarded (dart:async/zone.dart:1618:12)
      #11     runZoned (dart:async/zone.dart:1547:12)
      #12     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #13     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:191:9)
      #14     Doctor.diagnose (package:flutter_tools/src/doctor.dart:290:47)
      #15     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:59:47)
      #16     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:977:18)
      #17     _rootRunUnary (dart:async/zone.dart:1198:47)
      #18     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
      #19     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
      #20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
      #21     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
      #22     Future._completeWithValue (dart:async/future_impl.dart:529:5)
      #23     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
      #24     _rootRun (dart:async/zone.dart:1190:13)
      #25     _CustomZone.run (dart:async/zone.dart:1093:19)
      #26     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
      #27     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
      #28     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
      #29     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
      #30     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
      #31     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

! Doctor found issues in 2 categories.

im already set the envirment value,dont let me try this

possible duplicate of https://github.com/flutter/flutter/issues/70924

Hello @GOGJIAN  ,
Could you please run echo $ANDROID_SDK_ROOT and check if the output is a valid path to the Android SDK?
Provide the output of adb devices as well.
Thanks

I have no idea to solved this bug ， I try every way every thing，finally ， I must reinstall my windows

Hello @GOGJIAN ,
Could you please run echo $ANDROID_SDK_ROOT and check if the output is a valid path to the Android SDK?
Provide the output of adb devices as well.
Can you share more about the issue title as well? it does not match with the issue description provided.
Thanks

I try to install the “grep console” plugin，then ，become this


Multi-Voice/Multi-Speaker?

Hi, is it possible to use this for multi-voice/multi-speaker TTS or voice cloning? Thanks in advance!

yes, if trained

Hi @lucidrains, what would be the best approach to train this for cross-lingual voice cloning?


Upgrades IM Dashboard plugin to OpenSearch Dashboards 2.0

Signed-off-by: Drew Baugher<EMAIL_ADDRESS>Description
Bumps IM Dashboards to 2.0
Main changes had to make:

Bumped versions
Bump nodejs version supported
Fixed some dependency conflicts w/ OpenSearch Dashboards
Update .github workflows to use 2.0 (main as of now) and switched java-version to 11 instead of 14
Fixed some snapshots that changed from new Eui version
Fixed some assertions that were failing relating to modals and the # of elements at root/document level

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #169 (f679f6f) into main (8155501) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   63.32%   63.32%
=======================================
  Files         155      155
  Lines        4447     4447
  Branches      738      738
=======================================
  Hits         2816     2816
  Misses       1415     1415
  Partials      216      216

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8155501...f679f6f. Read the comment docs.


Add pydantic-jsonapi to python implementations

@DeanWay I'm sorry for taking so long to merge this. Thanks for sharing your library!


Added convert_tcb2tdb=False to all parameters

To allow us to import in the notebooks using the latest versions of PINT, this adds convert_tcb2tdb=False to all parameters.
As an aside, I have also replaced all use of "LABMDA" with "LAMBDA"

We had an extensive discussion about this, and whether this relatively simple patch is the best way to fix it, on today's git-flowers call. The underlying issue here is that the add_parameter() function in PINT that PINT Pal uses for its F-tests is intended to be used by developers of new models and model components, and not in the way it is being used here, to add parameters that PINT already knows about.
The way it is being used here, users have to specify many things that PINT should already know, such as the type of the parameter, its units, and so forth. This includes the convert_tcb2tdb and tcb2tdb_scale_factor parameters at issue here. However, several PINT users have independently arrived at the conclusion that this is the correct way to do things based on the PINT documentation.
In my opinion, the best solution would be to add a new function to PINT that would facilitate adding parameters in the sense that end users want, allowing them to avoid the internal machinery designed for model development. @scottransom disagreed with this, suggesting that, rather than attempting to manipulate model objects, we should instead be using par files represented as StringIO objects. By doing so, we would avoid adding complexity to PINT's already "baroque" model builder code, which in the longer term should be rewritten. But @mlam also pointed out that moving away from the need to manipulate par files was always one of PINT's development goals.
In any case, as a more complete solution to the problem of adding parameters is likely to take some time, and this is keeping the notebooks from being usable right now, I am going to go ahead and merge this PR as a temporary fix. (Nothing is more permanent, I know, but I do intended to work on a PINT PR with my proposed fix as well).

I know I said I would merge this above, but I just noticed one thing: @mtlam, should this MR target the NG20 branch instead of main?

Crud, you're right, I just changed that to NG20.

OK, great! Merging it now...


Why, Explanation?

I just stumbled upon this package and was wondering why I should use this package and not the one from flutter itself, which is also used here.
What are the advantages of this package.
An explanation would be good and probably also to write this in the README.

I guess in my experience, it's because everything's taken care of ... you just insert the widget and that's it.


Analytical table group drop down list button can not be located correctly by using the selector in  test recorder for Wdi5

Describe the bug
When implement the wdi5 tests for our cap java based Fiori Element V4 app, there is an analytical table in Analytical List Page. Want to achieve the press operation to open the first group in the analytical table by using the wdi5 code in the test recorder. However, the control can not be located correctly.
To Reproduce
Steps to reproduce the behavior:
Running wdi5 locally:

Go to GitHub: *** and check out the code from master.
cd app/der_devicealert_monitor_data
npm i(need node version 18)
Change wdiBaseUrl to *** in .env file under *** folder to test on the remote service
Add code at the end to file ***

it('should navigate to the Display Device Data app object page', async function () {
await AnalyticalListPage.iClickAnalyticTableDropDownBtn();
});

For saving the time, three test functions are enough 'should open the app', 'should filter by Period' and the one we added above. You could comment out the rest.
In the level app/der_devicealert_monitor_data, run 'npm run wdi5:local'
After the page pop up, you will be asked to enter the two factor code to access to the app. (I will grant the access temporally to the person who is assigned to this issue)

Expected behavior
Expect to press on 'Alert Type: Manipulation' group in the analytical table by using the code snippet in test recorder for wdi5:
iClickAnalyticTableDropDownBtn: async () => {
await browser.asControl({
selector: {
id: "com.sap.utilities.c4u.edom.der.der_devicealert_monitor_data::AnalyticalDeviceAlertsList--fe::table::AnalyticalListDeviceAlerts::LineItem-innerTable",
interaction: {
idSuffix: "rows-row0-groupHeader"
}
}}).press();
}
However, this does not happen. It seems that press always happens on the blank under 'Serial Number' and not the right place.
Logs/Console Output
There is no error in the log.
Screenshots

Runtime Env (please complete the following information):

wdi5/wdio-ui5-service-version: [^1.3.2]
UI5 version: [1.121.0]
wdio-version (output of wdio --version): [not install locally]
node-version (output of node --version): [v18.12.0]
OS: [macOS Sequoia Version 15.0]
Browser + Version [chrome Version 130.0.6723.92 (Official Build) (arm64)]

The other versions may related can be found in app/der_devicealert_monitor_data/package.json.

Hi @SharonChi123,
I have removed some internal information from your issue description as this is visible for everyone. We are also no SAP Employees so we nevertheless couldn't access your resources.
Regarding your issue:
Please have a look at the generated idSuffix. Probably this is not correct and has to be adapted manually

Hi Siolto,
Thank you for the response. Do you know where I can get more accurate idSuffix? I tries a bunch of but still did not working.
BR,
Sharon


Cannot remove parameters

In my case I remove all arguments accepted in parent class in child's class method. It seems there is no way to also remove them from a docstring and it is automatically copied over? So I would like to remove the whole section. It seems I have to define an otherwise empty "Parameters" section.
(Working in numpy style.)

Hi mitar. Yes, the numpy docstring style does not try to parse individual arguments separately. It only works on a section-by-section basis.
Thus if you want to use a different Pameters section in you child class' method than in the parent's docstring, you need to explicitly write that portion of the docstring.
Alternatively you can write a custom docstring style that permits you to remove individual sections of an numpy docstring

@mitar I may be able to find time to implement a per-parameter inheritance style. Would this be of significant use for you still?

Yes. It is not a biggy, but it would make it cleaner. Thanks!

@mitar any chance you could point me to your code where this is taking into place? I want to have a better idea of what a suitable solution might be.

Here is an example. Inheriting from here.
We are on purpose not adhering to Liskov substitution principle because we inspect at runtime.


push for sequences

allow push on sequences, to be able to build incrementally.

I don't see an issue with this, but I will leave the final word to @vgel or @benwr