Bump Dependencies #4406379509

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/4406379509

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


add si and biz info section to request to omit, update page width, up…

…date colouring and pull info from si biz section to completing party section
*Issue:*https://github.com/bcgov/entity/issues/22107
https://github.com/bcgov/entity/issues/22108
https://github.com/bcgov/entity/issues/22695
Description of changes:
Added SI Biz Info section
Per request on 22108 added 200 pixels of width to form
Removed Canada (Citizen) tooltip as thats not information we have
Fixed colour of placeholder text in reasons text area
Completing Party section now updates some text based on selections in SI Biz info area
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun

Temporary Url for review: https://bcregistry-btr-dev--pr-210-wc1268kn.web.app

/gcbrun

Temporary Url for review: https://bcregistry-btr-dev--pr-210-wc1268kn.web.app


printer that print out all code at the repo

it is super maybe, i think there is no program that print all code at the specific repo at github. if this skill is in this, this will be masterpiece better than now

Probably not something that we'd do. We'd need to be opinionated about the orderings of files, how to represent directories, skipping files... It'd also be a lot of paper.
I think this is mostly used for printing out small homework assignments. Anything more complex, you're likely looking at tools like LaTeX.

alright. thanks your super program and have a nice day!


TST: A test to cover fault in issue #5291

The mentioned issue faulted under similar conditions as issue #13703, and was also fixed by PR #13788. This PR just adds a test to replicate the fault, as discussed in the issue's thread.

[x] closes #5291
[x] tests added / passed
[x] passes git diff upstream/master | flake8 --diff
[x] whatsnew entry

This PR also corrects accidental use of float("nan") instead of np.nan in test_parse_trim_buffers.

I think this PR and PR #13788 also close the issue #11793.

Current coverage is 85.25% (diff: 100%)

Merging #13833 into master will increase coverage by <.01%

@@             master     #13833   diff @@
==========================================
  Files           140        140
  Lines         50455      50455
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          43014      43015     +1
+ Misses         7441       7440     -1
  Partials          0          0

Powered by Codecov. Last update 59f2557...4a74d50


Initial cleanup pass. Swig compatiblitity fixed.

@gleblebedev rebase on to master so builds pass 👍🏻
@eugeneko networking stuff is for you to review
If build succeeds im OK with changes to SWIG stuff. Ill clean them up later


E: Unable to locate package wsl

Windows Build Number
Microsoft Windows [Version 10.0.19041.985]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Invalid command line option: --status
Distro Version
Ubuntu 20.04 LTS
Other Software
No response
Repro Steps
sudo apt install wsl
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package wsl
Expected Behavior
Install WSL, I did update and upgrade
Actual Behavior
WSL not working properly
Diagnostic Logs
No response

A. did you sudo apt update first?
B. Are you looking for the right thing? wsl the apt package is WSMan Shell not Windows Subsystem for Linux
Apt is not managed by Microsoft. If you're looking for help with WSMan Shell, this is not that.


stop using _USE_32BIT_TIME_T and autodetect PlatformToolset on VS2015

Two changes in generated vsxproj files:
-- Stop using _USE_32BIT_TIME_T on Windows.
-- Automatically sets PlatformToolset to v140 if project is used from VS2015 (we already have similar logic for VS2010 and VS2013).
Last commit is the regenerated project files.

LGTM; will merge when #4313 is merged.

Both changes already LGTMd, waiting for green.

Based on test results, some adjustments might still be needed on the C# side (p/Invoke needs to know that time_t has changed in size).

Let's get #4397 merged first, then C# shouldn't have trouble.

Rebased and running the tests again.

unit tests were already green here https://grpc-testing.appspot.com/job/gRPC_pull_requests/4686/,
but I needed to rebase again to resolve the sanity test error caused by adding more vcxproj files in upstream.

Once sanity tests pass, this should be ready for merging.

The only test failure (csharp on linux) is unrelated: https://github.com/grpc/grpc/issues/4427.
Changes in this PR have been already LGTM'd, so merging.


Option to manually add channel(s) to farm Twitch Points

I have a couple channels that I want to farm points. This tool would be perfect for it, so I can free resources from my system :)

#70

Yes, unfortunately I'm not willing to add any way to setup specific channels for watching, since the entire rest of the application is drops-oriented and wasn't made with that in mind. If someone would still like this feature, they're welcome to submit an issue stating they'd like to work on it, I can give some pointers on where to look for in the code and how it could work, and they'd need to implement it. PRs adding more than just translation files are welcome.
Fow now, this is a no-deal feature, at least from my side. There are more important features I'd like to add first.


Save an embedded pdf file

Hallo,
I am trying to save an embedded pdf file (the url that appears is the same as the opener tab). There is a link that opens a new tab where the pdf file appears. Although the whole process is fine when it comes to saving the pdf  it seems to be quite hard.
thanks in advance,
Dimitrios

I am facing the same issue.

Me too

Did you guys fix this?

No not at all
Στις Παρ, 21 Φεβ 2020 στις 12:45 μ.μ., ο/η ogomez92 <
<EMAIL_ADDRESS>έγραψε:

Did you guys fix this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/puppeteer/puppeteer/issues/4544?email_source=notifications&email_token=AETEID45HZUOS4OJ4RB4XITRD6WF7A5CNFSM4HVZZ6Z2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMSJRAA#issuecomment-589600896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AETEID22POA5QL5OU2QGLQLRD6WF7ANCNFSM4HVZZ6ZQ
.

Could someone provide a repro script for this? Could you intercept the target URL and use it to download the file using Node?


Redesign of kge model classes and train methods

All kge model classes were redesigned such that they explicitly state the required attributes while the previously used dictionaries can still be passed to the class/method calls via the ** operator. Furthermore, the previous model training function was changed to a class method that can be directly called from a defined model with .fit(). All pipeline methods are adjusted to these changes and two example notebook are provided.

Codecov Report

Merging #62 into master will decrease coverage by 1.15%.
The diff coverage is 81.02%.

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
- Coverage   47.24%   46.09%   -1.16%
==========================================
  Files          53       53
  Lines        2906     2881      -25
  Branches      128      127       -1
==========================================
- Hits         1373     1328      -45
- Misses       1520     1537      +17
- Partials       13       16       +3

Impacted Files
Coverage Δ

src/pykeen/kge_models/trans_h_adapted_loss.py
0% <0%> (ø)
:arrow_up:

src/pykeen/kge_models/structured_embedding.py
100% <100%> (ø)
:arrow_up:

src/pykeen/kge_models/utils.py
84.61% <100%> (ø)
:arrow_up:

src/pykeen/kge_models/trans_d.py
100% <100%> (ø)
:arrow_up:

src/pykeen/kge_models/unstructured_model.py
100% <100%> (ø)
:arrow_up:

src/pykeen/kge_models/trans_h.py
100% <100%> (ø)
:arrow_up:

src/pykeen/kge_models/trans_e.py
100% <100%> (ø)
:arrow_up:

src/pykeen/kge_models/conv_e.py
96.8% <100%> (-0.07%)
:arrow_down:

src/pykeen/kge_models/distmult.py
100% <100%> (ø)
:arrow_up:

src/pykeen/kge_models/trans_r.py
100% <100%> (ø)
:arrow_up:

... and 7 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 ee5f038...b0199de. Read the comment docs.


Empty yaml file types (and incorrect formatting)

Empty yaml file types
Found 785 yamls with empty file types - GCSTs listed in attached .txt file:
yamls-with-empty-filetypes.txt
(Unfortunately these are not all GWAS-SSF so file headers would need to be checked to determine correct file type.)
Incorrect file_type formatting
Also found several yamls with file_type ' GWAS-SSFv1.0' or ' GWAS-SSF v1.0' (with single quotation marks and beginning whitespace (eg. GCST90319314). These should be removed so it reads eg. file_type: GWAS-SSFv1.0.
(There is some variability about usage of 'GWAS-SSFv1.0' and 'GWAS-SSF v1.0' with added space. Could this also be cleaned up?)

@karatugo could this please be worked on along with the other yaml issues, thanks

@jiyue1214 will check how many of these have been resolved already and also deal with the quotation marks.

Based on the studies status on 27th September 2024:

Number of Studies
Study Type in YAML File

803
''

912
'GWAS-SSFv1.0'

35,823
GWAS-SSFv1.0

16,042
non-GWAS-SSF

1
'Non-GWAS-SSF'

890
Non-GWAS-SSF

56,677
pre-GWAS-SSF

Noticeably, we have not set any limitation on the value of the file_type field.
Harmonisation queue script detects the field type by if the value of the file_type starts with GWAS-SSF or pre-GWAS-SSF. if none of them, the file_type will be set as "not_harm" automatically.

Hi @earlEBI, I extracted the first two rows from each sumstat reformat them into "header: value" and identified their file type based on it. Here are the results. Could you please help me to check if they are correct?
Hi, @karatugo. Since there are more than 800 studies, could you please suggest any best practices for updating both the DB and meta-yaml files?
Thank you for your support and help,

@jiyue1214 file types look good to me!
Just checking, did you pick up file types starting with quotation mark and space, eg. GCST90319314 ?
Also, for the note column re:reformatting, I would check A1 is effect allele from readme etc. (you might have already done so!)

@jiyue1214 I can update the DB by writing a new script.

@earlEBI, Thank you so much for checking the format. for the data need to be reformatted, GCST90012644, GCST90012743, GCST90012778, GCST90012648, GCST90012784 seems pre-publication data that I cannot find the publication information. It will be super helpful if you can to let me know if A1 is the effect allele.
By the way, could I ask for non-GWAS-SSF format, there are two ways representing it, could I know which one is the correct? non-GWAS-SSF or Non-GWAS-SSF?

@karatugo Thank you sooo much for your help. Here are two issues:

missing the file_type: I list the correct file_type and GCST in the result file.
file types starting with quotation mark and space, like 'GWAS-SSFv1.0', which the quotation need to be removed. For correcting it, could I ask if you need GCST_ids for them or your database can capture it? Thanks again!

@jiyue1214 Re: 2 - I'll update them according to https://github.com/EBISPOT/goci/issues/1424#issuecomment-2379809020, i.e.,

{''} -> empty string without quotation marks
{'GWAS-SSFv1.0',' GWAS-SSFv1.0', ' GWAS-SSF v1.0'} -> GWAS-SSFv1.0
{'Non-GWAS-SSF', 'Non GWAS-SSF', Non-GWAS-SSF} -> non-GWAS-SSF

Yue may need to change the gwas-sumstat-tools schema as well.
Current validate value for file_type: GWAS-SSF v1.0, pre-GWAS-SSF and non-GWAS-SSF (or Non-GWAS-SSF)?

@earlEBI, Thank you so much for checking the format. for the data need to be reformatted, GCST90012644, GCST90012743, GCST90012778, GCST90012648, GCST90012784 seems pre-publication data that I cannot find the publication information. It will be super helpful if you can to let me know if A1 is the effect allele.
By the way, could I ask for non-GWAS-SSF format, there are two ways representing it, could I know which one is the correct? non-GWAS-SSF or Non-GWAS-SSF? I found this website, i am still unclear which should be.

I agree, it's not consistently used in documentation! I think I would go with 'non-GWAS-SSF' as it matches the case of 'pre-GWAS-SSF'

Thank you @earlEBI  for the explanation. @karatugo, let's keep using GWAS-SSF v1.0, pre-GWAS-SSF and non-GWAS-SSF. I will add them as a part of meta schema as well.

@karatugo
For item 1.

[ ] Run update script again because the script failed due to Hinxton sw update
[ ] Mark GCSTs as pending

@karatugo
For item 2.

[ ] Make file types consistent for all documents in the collection as agreed above

[ ] Fix the cases pushed through validation - they are missing GCST IDs in the meta collection, and need a more complex script

Fixed the cases pushed through validation - they are missing GCST IDs in the meta collection, and need a more complex script. Find the script at cron scripts dir for prod.

Marked GCSTs as pending. They should be generated in 2 days.

All file types are in the set {``, GWAS-SSF v1.0, non-GWAS-SSF, pre-GWAS-SSF}.

@earlEBI Do you want me to generate all yaml files to make sure that the file types are consistent?

All file types are in the set
``
`GWAS-SSF v1.0`
`non-GWAS-SSF`
`pre-GWAS-SSF`

@karatugo Does this mean there are some file_types which are empty? I don't think that should be allowed?

@earlEBI, Thank you so much for checking the format. for the data need to be reformatted, GCST90012644, GCST90012743, GCST90012778, GCST90012648, GCST90012784 seems pre-publication data that I cannot find the publication information. It will be super helpful if you can to let me know if A1 is the effect allele.
By the way, could I ask for non-GWAS-SSF format, there are two ways representing it, could I know which one is the correct? non-GWAS-SSF or Non-GWAS-SSF? I found this website, i am still unclear which should be.

@jiyue1214 Hi again! These GCSTs are all from PMID 33441150 but were permanently unpublished from the Catalog by user request due to unclear traits. I guess those folders should be deleted from public ftp really. Can probably stay on staging but don't need reformatting now : )

Here's the list of GCST IDs with empty file type.
GCST90310293
GCST90315948
GCST90315948
GCST90319473
GCST90319474
GCST90319475
GCST90319476
GCST90319477
GCST90319478
GCST90319479
GCST90319480
GCST90319481
GCST90319482
GCST90319483
GCST90319484
GCST90319485
GCST90319486

Here's the list of GCST IDs with empty file type.
GCST90310293
GCST90315948
GCST90315948
GCST90319473
GCST90319474
GCST90319475
GCST90319476
GCST90319477
GCST90319478
GCST90319479
GCST90319480
GCST90319481
GCST90319482
GCST90319483
GCST90319484
GCST90319485
GCST90319486

@karatugo I checked the first 2 have file type 'GWAS-SSF v1.0' in their yaml currently. Could you read the file type from the yaml for all of these?

@earlEBI Do you want me to generate all yaml files to make sure that the file types are consistent?

Could you just regenerate yamls for those in Yue's list PLUS any with file type currently beginning "' " which I don't think are included (eg. GCST90319314)

Here's the list of GCST IDs with empty file type.
GCST90310293
GCST90315948
GCST90315948
GCST90319473
GCST90319474
GCST90319475
GCST90319476
GCST90319477
GCST90319478
GCST90319479
GCST90319480
GCST90319481
GCST90319482
GCST90319483
GCST90319484
GCST90319485
GCST90319486

@karatugo I checked the first 2 have file type 'GWAS-SSF v1.0' in their yaml currently. Could you read the file type from the yaml for all of these?

Sure, I'll fix them too.

GCST90310293 - GWAS-SSF v1.0
GCST90315948 - yaml not generated yet
GCST90319473 - GWAS-SSF v1.0
GCST90319474 - GWAS-SSF v1.0
GCST90319475 - GWAS-SSF v1.0
GCST90319476 - GWAS-SSF v1.0
GCST90319477 - GWAS-SSF v1.0
GCST90319478 - GWAS-SSF v1.0
GCST90319479 - GWAS-SSF v1.0
GCST90319480 - GWAS-SSF v1.0
GCST90319481 - GWAS-SSF v1.0
GCST90319482 - GWAS-SSF v1.0
GCST90319483 - GWAS-SSF v1.0
GCST90319484 - GWAS-SSF v1.0
GCST90319485 - GWAS-SSF v1.0
GCST90319486 - GWAS-SSF v1.0

@karatugo GCST90315948 should be GWAS-SSF

@karatugo
I think there are 2,482 GCSTs with yaml file_type: ' GWAS-SSF v1.0'
Listed in this .txt file:
' GWAS-SSF file_types.txt

fixed GCST90315948 file type as GWAS-SSF v1.0.

Yamls will be generated in 2 days for:

Yue's list as in https://github.com/EBISPOT/goci/issues/1424#issuecomment-2379917472
Any with file type currently beginning "' " according to https://github.com/EBISPOT/goci/issues/1424#issuecomment-2407655863
GCST90315948

@earlEBI @Santhi1901 please confirm

@karatugo I think these are all fixed except for 40 harmonised yamls still have the leading quotation mark and space:
yaml_harm_file_type_errors.txt

@karatugo Sorry, there are also 593 yamls with empty file type still. I think a lof of them are strange cases - harmonised yamls, old formatted yamls, etc...
Might need some more he
empty-yamls-28.10.24.txt
aders analysis run to determine file_types?

@karatugo I think these are all fixed except for 40 harmonised yamls still have the leading quotation mark and space: yaml_harm_file_type_errors.txt

They should be available in the public ftp in 2 days.

HI, @earlEBI. I found most of the files in the list are f.tsv.gz files in the harmonised folder, and their raw file name did not follow the pattern GCST*.tsv. For this situation, we decided to add a yaml file for h.tsv.gz file and keep the rest of them in the way they currently are.
Thanks for reminding me and I will gather them in the ticket (Old harmonised data missing yaml files)[https://app.zenhub.com/workspaces/gwas-59df823c4a6feb3786810391/issues/gh/ebispot/goci/1457]

@karatugo I created a new ticket for new studies @earlEBI reported. Feel free to close the ticket when those 40 studies are done.

They are not done yet, will check again on Monday.

@karatugo I think these are all fixed except for 40 harmonised yamls still have the leading quotation mark and space: yaml_harm_file_type_errors.txt

Checked a few of them and they are present in the public ftp.

@karatugo Looks good!


Configurations docs improvements

Quality and clarity improvements to https://www.pulumi.com/docs/concepts/config/
Resources

Config improvements doc

### Tasks
- [ ] https://github.com/pulumi/docs/issues/11282
- [ ] https://github.com/pulumi/docs/issues/11283
- [ ] https://github.com/pulumi/docs/issues/11403

Ran through these docs myself and collected a bunch of concrete suggestions for us to consider: https://docs.google.com/document/d/1wPc-JC9oA_BIGX3n18T2aJsD_EEO9azvurVTZbGCgR8/edit


fix namespace collisions

current post__[timestamp][random] system allows for "post__post" which causes potential collisions.

Fixed with text replacement


logo on bbc.com is not visible

logo on bbc.com is not visible

Fix here

This issue can be closed @synapse25


Corrupt package?

Installing 0.6.2 or 0.6.3 with Node 12.16.1 and yarn 1.22.1 on Debian 10.3 fails for me:
gibson@005ecf61e5fd:~$ rm -rf package.json yarn.lock node_modules .cache/yarn
gibson@005ecf61e5fd:~$ yarn add<EMAIL_ADDRESS>--verbose --ignore-engines --ignore-platform --ignore-scripts --non-interactive
yarn add v1.22.1
warning package.json: No license field
verbose 0.49609171 Checking for configuration file "/home/gibson/.npmrc".
verbose 0.49775136 Checking for configuration file "/home/gibson/.npmrc".
verbose 0.499464794 Checking for configuration file "/usr/etc/npmrc".
verbose 0.500345989 Checking for configuration file "/home/gibson/.npmrc".
verbose 0.502603712 Checking for configuration file "/home/.npmrc".
verbose 0.505613409 Checking for configuration file "/home/gibson/.yarnrc".
verbose 0.506379717 Found configuration file "/home/gibson/.yarnrc".
verbose 0.508807907 Checking for configuration file "/home/gibson/.yarnrc".
verbose 0.509391676 Found configuration file "/home/gibson/.yarnrc".
verbose 0.5114413 Checking for configuration file "/usr/etc/yarnrc".
verbose 0.511893477 Checking for configuration file "/home/gibson/.yarnrc".
verbose 0.512743238 Found configuration file "/home/gibson/.yarnrc".
verbose 0.513995108 Checking for configuration file "/home/.yarnrc".
verbose 0.524608072 current time: 2020-03-08T15:35:52.984Z
warning No license field
[1/4] Resolving packages...
verbose 0.749462112 Performing "GET" request to "https://registry.yarnpkg.com/lz4".
verbose 1.645821372 Request "https://registry.yarnpkg.com/lz4" finished with status code 200.
verbose 1.677114991 Performing "GET" request to "https://registry.yarnpkg.com/buffer".
verbose 1.691640084 Performing "GET" request to "https://registry.yarnpkg.com/cuint".
verbose 1.703458945 Performing "GET" request to "https://registry.yarnpkg.com/nan".
verbose 1.71214292 Performing "GET" request to "https://registry.yarnpkg.com/xxhashjs".
verbose 1.838952352 Request "https://registry.yarnpkg.com/buffer" finished with status code 200.
verbose 1.978722299 Performing "GET" request to "https://registry.yarnpkg.com/base64-js".
verbose 1.996443625 Performing "GET" request to "https://registry.yarnpkg.com/ieee754".
verbose 2.02724696 Request "https://registry.yarnpkg.com/cuint" finished with status code 200.
verbose 2.242323291 Request "https://registry.yarnpkg.com/xxhashjs" finished with status code 200.
verbose 2.380694416 Request "https://registry.yarnpkg.com/nan" finished with status code 200.
verbose 2.42079139 Request "https://registry.yarnpkg.com/base64-js" finished with status code 200.
verbose 2.478717951 Request "https://registry.yarnpkg.com/ieee754" finished with status code 200.
[2/4] Fetching packages...
verbose 2.672529197 Performing "GET" request to "https://registry.yarnpkg.com/lz4/-/lz4-0.6.3.tgz".
verbose 2.716723 Performing "GET" request to "https://registry.yarnpkg.com/buffer/-/buffer-5.5.0.tgz".
verbose 2.741553729 Performing "GET" request to "https://registry.yarnpkg.com/xxhashjs/-/xxhashjs-0.2.2.tgz".
verbose 2.778947676 Performing "GET" request to "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz".
verbose 2.843496736 Performing "GET" request to "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz".
verbose 4.625124132 Error: https://registry.yarnpkg.com/lz4/-/lz4-0.6.3.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, link '/home/gibson/.cache/yarn/v6/npm-lz4-0.6.3-78df6bb69a36d7db6c2e849494876ba6e38e66d6-integrity/node_modules/lz4/build/Release/obj.target/build/Release/lz4.node' -> '/home/gibson/.cache/yarn/v6/npm-lz4-0.6.3-78df6bb69a36d7db6c2e849494876ba6e38e66d6-integrity/node_modules/lz4/build/Release/obj.target/lz4.node'"
    at MessageError.ExtendableBuiltin (/usr/share/yarn/lib/cli.js:721:66)
    at new MessageError (/usr/share/yarn/lib/cli.js:750:123)
    at Extract.<anonymous> (/usr/share/yarn/lib/cli.js:63814:14)
    at Extract.emit (events.js:323:22)
    at Extract.module.exports.Extract.destroy (/usr/share/yarn/lib/cli.js:150826:17)
    at onunlock (/usr/share/yarn/lib/cli.js:150703:26)
    at stat (/usr/share/yarn/lib/cli.js:45789:23)
    at /usr/share/yarn/lib/cli.js:45815:11
    at FSReqCallback.oncomplete (fs.js:154:23)
error https://registry.yarnpkg.com/lz4/-/lz4-0.6.3.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, link '/home/gibson/.cache/yarn/v6/npm-lz4-0.6.3-78df6bb69a36d7db6c2e849494876ba6e38e66d6-integrity/node_modules/lz4/build/Release/obj.target/build/Release/lz4.node' -> '/home/gibson/.cache/yarn/v6/npm-lz4-0.6.3-78df6bb69a36d7db6c2e849494876ba6e38e66d6-integrity/node_modules/lz4/build/Release/obj.target/lz4.node'"
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Downloading the tgz and attempting to extract with tar produces a similar error. Installing version 0.6.0 works fine.

Nevermind, this is a yarn problem: https://github.com/yarnpkg/yarn/issues/7212.


tox vs python -m tox

I tried to make use of tox-poetry, but wasn't really able to make it work with the tox binary. If tox is installed within a venv, somehow tox still tries /usr/bin/python3 to set up the build environment:
$ which tox
~/Repos/testrepo/venv/bin/tox
$ tox --verbose -r -e py3
using tox.ini: /home/sebastian/Repos/testrepo/tox.ini (pid 2800758)
using tox-3.25.0 from /home/sebastian/.local/lib/python3.10/site-packages/tox/__init__.py (pid 2800758)
py3 cannot reuse: -r flag
py3 recreate: /home/sebastian/Repos/testrepo/.tox/py3
[2800765] /home/sebastian/Repos/testrepo/.tox$ /usr/bin/python3 -m virtualenv --no-download --python /usr/bin/python3 py3 >py3/log/py3-0.log
write config to /home/sebastian/Repos/testrepo/.tox/py3/.tox-config1 as '8604d1eca368d54325c0125e521cf211b653ad74a277821325ab35c97346c314 /usr/bin/python3\n3.25.0 0 0 0'
[2800773] /home/sebastian/Repos/testrepo$ /home/sebastian/Repos/testrepo/.tox/py3/bin/python -m pip freeze >.tox/py3/log/py3-1.log
py3 installed:
py3 run-test-pre: PYTHONHASHSEED='2244003987'

versus:
$ which python
~/Repos/testrepo/venv/bin/python
$ python -m tox --verbose -r py3 -e py3
using tox.ini: /home/sebastian/Repos/testrepo/tox.ini (pid 2800940)
using tox-3.25.0 from /home/sebastian/Repos/testrepo/venv/lib64/python3.10/site-packages/tox/__init__.py (pid 2800940)
py3 cannot reuse: -r flag
py3 recreate: /home/sebastian/Repos/testrepo/.tox/py3
[2800947] /home/sebastian/Repos/testrepo/.tox$ /home/sebastian/Repos/testrepo/venv/bin/python -m virtualenv --no-download --python /home/sebastian/Repos/testrepo/venv/bin/python py3 >py3/log/py3-0.log
py3 installdeps: /home/sebastian/Repos/testrepo/venv/bin/poetry install
[2800954] /home/sebastian/Repos/testrepo$ /home/sebastian/Repos/testrepo/venv/bin/poetry install >.tox/py3/log/py3-1.log
^CERROR: got KeyboardInterrupt signal
$

Maybe this is something to document somewhere?

Hi! Can you check if the problem persists without using the tox-poetry plugin? This plugin does not create a virtual environment, it is done by tox itself, so I do not even know how I can help.

Hi! Can you check if the problem persists without using the tox-poetry plugin? This plugin does not create a virtual environment, it is done by tox itself, so I do not even know how I can help.

Yeah, I think the issue is that tox_poetry.py is not even considered in my case. I don't think this something you can solve in the code. Just something you might want to document.

It just seems that the problem is specific to your environment, me and the developers in the company where I work have not had such problems, we all use tox directly, not through tox -m.


Website not responsive

It's responsive ability is limited to the desktop or big screen for now, I guess

You plan working on it?

Not at all. I created the issue in the hope that someone else will find time to do it ;)

We will get it done, once we are done with 0xHack

Fixed!


feat: Not  expr to string

Which issue does this PR close?
This PR adds support for Not expr in #9726
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?

Thanks @sebastian2296 -- if CI passes this PR looks great to me

Hi @alamb, clippy test is failing due to unused ´not´ import, but that's not true. I'm using it to perform the test. Any hints on what could be the issue here?

Hi @alamb, clippy test is failing due to unused ´not´ import, but that's not true. I'm using it to perform the test. Any hints on what could be the issue here?

Hey @sebastian2296 if you are using an import only for a test, you can import it within the mod tests {} block. E.g.
use regular_dependency;

fn some_code(){
  ()
}

mod tests{
    use test_dependency;
    ...

}

Thank you for the work on this PR! :pray:

🚀  -- thanks again @sebastian2296

Thanks @sebastian2296  -- this PR needs to be merged up from main to resolve a conflct. Can you do so so that I can merge it in?
Thanks again 🙏

Done! @alamb

Thanks @sebastian2296  -- a very nice addition indeed


How can I activate a function where you can navigate between tabs?

Ok, my question is: how can I activate a function where you can navigate between tabs in order to keep the same user and email, in this moment if you open  a new tab you automatically create a new instance of the chat; I edited your code to load the user and email of the person logged inside in my application successfully but when I tried to open a new tab I don't know how can I preserve the same information.
I know we need to change something in these lines but what? haha.
Thanks so much for your answer and for your plugin, excellent work!
r.sismember(users_key, recv.user, function(err, reply) {
if (reply) {
socket.emit('custom_error', { message: 'The user '+ recv.user +' is already logged' });
return;
}
});
// The user is already logged
if (users[recv.user]) {
socket.emit('custom_error', { message: 'The user '+ recv.user +' is already logged' });
return;
}

Hi, sorry buy I do not understand what you mean with "navigate between navs"
I think you can do this right now on the client side, but probably I'm not understanding what are you trying to do.
please be more specific.
Bye.

If I understand you have the same problem as I had.. the easiest way is to create a spa app with angular js or React. Elsewhere you have to check whether any window was opened and if so than reopen it.

if @devfernandogabs means what @ferenczAndras is saying, I think this won't be listed to doit, because the app have to be a spa one.
Maybe spa app should be documented in Readme as a requirement?

ok @lovelle let me explain better: when you enter for first time inside to the website, you'll see the chat and you can communicate without problems, but when you enter to another intern link in the website, the chat resets all information, included conversations, I wanted to know if there is a way to save that information and avoid to loose it, but reading what @ferenczAndras is explaining, all we need is to create a spa app, anyway, I'll study the code and check if there is another way to solve that problem . :)

ok @devfernandogabs, Maybe there is another halfway solution, but I think is better to have a spa, instead of starting to do "strange things" like these one.
Closing due there is not a bug nor a feature request approved.
Thanks,
Bye.


Rebuilt with latest compiler

To check whether the last successful build still works.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


doc: fix typos in /registry/spec/api/

The GitHub web interface doesn't allow me to sign off my commits easily. Feel free to close this pull request and apply the suggested typos in another way.


Enable limit on token cache size

This PR adds a static var cacheSize: Int to the TypeSafeFacebookToken protocol and provides a default implementation of 0 (unlimited cache size, which is the existing behaviour).
The user can choose to define a static var cacheSize = n on their type, to limit the cache to at most n entries. This may be desirable for situations where many distinct clients (ie. tokens) are encountered, to avoid unbounded memory growth, since this is an in-memory cache.

Codecov Report

Merging #44 into master will increase coverage by 1.09%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
+ Coverage   21.05%   22.14%   +1.09%
==========================================
  Files           5        5
  Lines         285      289       +4
==========================================
+ Hits           60       64       +4
  Misses        225      225

Flag
Coverage Δ

#CredentialsFacebook
22.14% <100%> (+1.09%)
:arrow_up:

Impacted Files
Coverage Δ

...es/CredentialsFacebook/TypeSafeFacebookToken.swift
68.96% <100%> (+2.29%)
:arrow_up:

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 541082b...c93ece5. Read the comment docs.


Cache reusable reflection computations

Utilize static caches for reflection computations that are specific to classes, which do not change between classloaders
This should improve CPU and memory usage of applications that repeatedly use MBeanBuilders, and should have tiny memory footprint for caches itself

This can result in memory leaks in the case of objects being exported dynamically (via MBeanExporter), as the caches will never be cleaned up and the classes referenced by the caches will never be garbage collected.

Then I don't see a way of creating such cache without introducing 'small' memory leak, that would have positive impact on CPU time / memory needed to go over those JMX annotated classes
other options could be:

Add some context object as param to all those static methods and pass it, so the cache could be local not static
Inject cache through ThreadLocal, this way its also not needed to be static

thoughts?

Closing as there are concerns about memory leaks.
Will proceed with alternative solution which is not using JMX exporting at all whenever it is not really needed


Very high perplexity values

Hi,
I am training 530K sequences of length less than 200 words, english -> english . My training configuration is
layers = 4  rnn_type = GRU  rnn_size = 600  max_batch_size = 10  residual = true  brnn = true  brnn_merge = concat  global_attention = concat  end_epoch = 30
I am getting really high perplexity values in the first epoch :

Is this normal? Or am I doing something wrong here?

Could you try with a lower learning rate (e.g. 0.1)?
If that does not help, you should then try without global_attention = concat as this layer is somewhat new and not extensively tested.

I have met the same problem when I use GRU with the SGD.
You can try the Adam and small learning rate with GRU. It may be OK.

@beichao1314 , @guillaumekln
Thanks for the suggestions! I am running it with a learning rate of 0.1 and SGD with GRU. It seems to work fine. I shall let you know the quality of the results once done.
@beichao1314 I tried using Adam with a smaller dataset, and faced some issues with very slow iterations in the epochs. After a few epochs, the program just crashed with out of memory exceptions. I wonder why this happened only when using Adam and not SGD on the same dataset. It would be nice if you can give me some insights into the relation between the optimization methods and memory usage (if any at all ).

Sorry, I always use sgd and lstm, using GRU with Adam is just in test. So, I have nothing to suggest.


Clarify 4.1.0 with Alex

Elegantt data. What's this?

➤ alex v commented:

depending when community funds gets approved, we can have it for 4.1.0 or wait till next version. c.fund implementations would be activated through a soft fork and currently those are only active on the testnet so 4.1.0 could still be released without rolling back cfund related changes. i personally think c.fund is pretty important for the future of nav and will allow to free our team to work on navchain, i would def try to accelerate the approval somehow.

any domain would be able to host open alias address as long as its domain servers support dnssec . wallet will opperate like this:
substitute @ in the email for . -><EMAIL_ADDRESS>to alex.navcoin.org
resolve the TXT entry of the subdomain.

TXT record format: oa1:nav recipient_address=
more details at https://openalias.org

internally we can register addresses by adding entries on the dns server. master server is hosted at <IP_ADDRESS>. we may need to build some interface to allow users to register addresses on @nav.community or any other domain. integration in navpay would be extremely desirable, ideally id try to create something similar to dash evolution, some kind of service similar to PayPal where funds could be easily sent to human readable addresses
depending on community fund and timeline for the NavAlias (possible name) interface
on 4.1.0 blocks the strdzeel field of the coin stake tx will have the following format:
vote;version
vote is a string, so we will allow to have multiple-choice votings . user will be able to set vote on the config file, using rpc commands and using the gui.
version will be the version from the node who mined the block. wallet will count the different versions from the last 1000 blocks. if >40% is newer than ours, it'll display a notification to the user on the gui, and will display a warning message enquiring to update on the getinfo rpc command so navpi can track it


RayCast2D will not collide with TileMap unless it overlaps with Area2D(Parent)

Godot version:
3.2.stable
OS/device including version:
elementary OS 5.1 Hera (Ubuntu 18.04.3 LTS)
Issue description:
I have a RayCast2D that is a child node of an Area2D. When RayCast2D does not overlap with its parent, is_colliding() is always false when the ray overlaps with a tile.
The ray is enabled and it does ignores its parent.

Steps to reproduce:
Crreate an Area2D scene with a RayCast2D element that does not overlap with its parent Area2D. The RayCast2D will not collide with tiles that have a collision shape
Minimal reproduction project:
https://gitlab.com/gforceg/raycast-problem

The rays are 32px in length which is half the TileMap cell size. I notice that if I increase them to 64 they collision works.

In the second case you linked in the project the raycast lies inside the tile, so no intersection is detected against the tile's geometry. I think it would be preferred that the raycast could return the intersection point if the origin lies inside the geometry. Related to #35845.

Still valid in 3.2.4 beta4


update various aspects to increase readability

Added link to the Notepad++ homepage.
Made the list of files a bullet-ed list.
Added full stops to the end of all lines for consistency.

Thank you for this
On 22 Oct 2015, at 11:22, Alfie Bowman<EMAIL_ADDRESS>wrote:

Added link to the Notepad++ homepage.
Made the list of files a bullet-ed list.
Added full stops to the end of all lines for consistency.
You can view, comment on, or merge this pull request online at:
https://github.com/geekcomputers/Python/pull/17
Commit Summary
update various aspects to increase readability
File Changes
M README.md (36)
Patch Links:
https://github.com/geekcomputers/Python/pull/17.patch
https://github.com/geekcomputers/Python/pull/17.diff
—
Reply to this email directly or view it on GitHub.


Playground: stuck waiting for unpkg.com

TypeScript Version:  not applicable

Search Terms: playground unpkg
Code

Expected behavior:
The playground loads immediately, then fetches 3rd party definitions
Actual behavior:
The playground is stuck waiting for unpkg.com.
Playground Link:
Not applicable. Open the playground with a very limited bandwidth.
Related Issues: none

unpkg has recently been slow as part of the Definitely Typed infrastructure as well.


Add pull request template

Closing this issue as I'm deprecating the project due to the fact that the upstream Cartographer project will not receive any new development and it's currently in a maintenance phase.


chore: update CITATION.cff

Add reference to the GeoAI publication

I think we could add a conference-paper citation now. See this example from HF repo https://github.com/huggingface/datasets/blob/main/CITATION.cff


Resurrect sanitizers without msan

Tried to resurrect msan on Linux + clang but even on Martin's machine with Linux and clang, pio still chose gcc. So maybe it's moot - let's just resurrect the basic sanitizers.

msan would be really useful for us, I hope we can figure this out eventually somehow.  Kind of nuts that nobody else who uses pio has tried this?

Yeah maybe we can force usage of clang on native, unfortunately I couldn't quickly figure out how to do it. Someone asks a similar question here https://community.platformio.org/t/compiler-and-build-environment-configuration/11925/3 but with unsatisfying answers.


Add ability to add custom authorisation headers?

I am working on an app where I would like to use github.js to access an internal api acting as a proxy to api.github.com.
I am doing this because I want to expose specific github features to non github members (the ability to log issues in private repositories for example).
the internal api simply forwards the api calls to api.github.com using a pre-configured token that has the appropriate scopes.
Unfortunately github uses token as a keyword in the token authorisation header, but my api uses the more standard bearer keyword. I did a trivial fix in my fork that lets me change this. However I would like to avoid using a fork of the library if at all possible.
Would you accept a PR adding support for passing additional headers that would allow users to add or override default values? This would be a more generic way to fix my issue and might be of interest to other users (it is mentionned in https://github.com/github-tools/github/issues/322 for example).
if so I am happy to take a stab at it.
I would probably do the following:

add a __customHeaders property initialised from a new optional parameter on Requestable
add something like

      if (this.__customHeaders) {
         headers = Object.assign(headers, this.__customHeaders);
      }

in __getRequestHeaders__

make sure __customHeaders gets passed to the various subclasses constructors across the library

I noticed that a new  AcceptHeader parameter was recently added, perhaps this could be consolidated with my proposed change (e.g. you could just passe {Accept: 'v3'} as custom headers.

This seems like a good addition to me. That way as the Github API evolves it will be easy to add whatever new headers we need

Note: The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

application/vnd.github.mercy-preview+json

I recommend switching to https://github.com/octokit/rest.js.  It's better-maintained, and can do what you're looking for


Delete unused properties file.

Signed-off-by: dblock<EMAIL_ADDRESS>Description
This file is misleading and is not used. The version of the plugin is derived from -Dopensearch.version. That mechanism prevents a conflict between the version in gradle.properties and the OpenSearch version passed in.
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 #85 (425ad4b) into main (af3d143) will increase coverage by 0.68%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main      #85      +/-   ##
============================================
+ Coverage     82.94%   83.62%   +0.68%
- Complexity      552      555       +3
============================================
  Files            61       61
  Lines          2058     2058
  Branches        146      146
============================================
+ Hits           1707     1721      +14
+ Misses          245      229      -16
- Partials        106      108       +2

Impacted Files
Coverage Δ

...ersistence/AsynchronousSearchPersistenceModel.java
76.74% <0.00%> (-2.33%)
:arrow_down:

...ous/listener/AsynchronousSearchTimeoutWrapper.java
86.20% <0.00%> (ø)

...anagement/AsynchronousSearchManagementService.java
76.86% <0.00%> (+1.49%)
:arrow_up:

...text/permits/AsynchronousSearchContextPermits.java
100.00% <0.00%> (+8.51%)
:arrow_up:

...ous/processor/AsynchronousSearchPostProcessor.java
76.62% <0.00%> (+11.68%)
:arrow_up:

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 af3d143...425ad4b. Read the comment docs.


feat(STONEINTG-533): Latency release creation slo panels

first panel monitoring latency of release creation second panel violations of 90% < 10s SLO

/retest

/test appstudio-hac-e2e-tests

/lgtm

/approve

/test appstudio-hac-e2e-tests

/test appstudio-hac-e2e-tests


#4099: trailing_comma + struct_field_align_threshold -> removing a struct's commas

This PR addresses https://github.com/rust-lang/rustfmt/issues/4099.
It looks to me that fields are separated into groups based on newlines. However, the trailing comma for each group may be removed. I added code that ensures that only the final group of fields can have their trailing comma removed.

Backport was completed by #5159


Allow state data manipulation at the correct point in time

We were previously only able to make changes in OnKeyDown or TransformState, which doesn't allow a PassThroughInputManager to correctly manipulate data for only their children (after the local TransformState).

no


Make ReadWriteAttribute cop aware of shadowing methods

Background
Sometimes you might want to put a method "in front of" an attribute. In this case, that method will shadow the attribute name, and using self[:foo] within the method will be an infinite loop.
Example:
class Foo < ApplicationModel
  attribute :foo

  def foo
    bar || self[:foo]
  end

  def bar
    nil
  end
end

foo = Foo.new(foo: 1)
#=> (irb):11:in `foo': stack level too deep (SystemStackError)

What is this change?
This PR makes it so that no offense is registered if #read_attribute is used in a method named after that attribute. Same for #write_attribute if called inside a writer method (suffix =) of the same name.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.
[x] If this is a new cop, consider making a corresponding update to the Rails Style Guide.

Can you add this acceptance case to the cop's doc?

@Drenmi Ping :-)

@Drenmi Ping

@koic @pirj Sorry for the delay. Rebased and incorporated suggestions. :-)

Thanks!


Cognito App clients does not have App client secret for both

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
8.3.0
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no
Amplify Categories
auth
Amplify Commands
Not applicable
Describe the bug
Observed that both the CLI created Cognito resource have 2 App clients created. Both App Clients do not contain App client secret.

According to the documentation 1 Client will have App client secret while other does not.
https://docs.amplify.aws/console/auth/import/#import-an-existing-cognito-user-pool
https://aws.amazon.com/blogs/mobile/use-existing-cognito-resources-for-your-amplify-api-storage-and-more/
Expected behavior
update the documentation if the behaviour has changed
Reproduction steps

amplify add auth
amplify push

GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

AFAIK We don't add app client secrets with userPool clients and also we don't provide any flow for that.
For the above link: We need app client secret added if there is any userpool with appclients(not generated with amplify) we are importing contains secrets.


hello,pinpoint Can you get the real IP address of the client?

hi,
pinpoint Can you get the real IP address of the client? In the case of F5 and other hardware to do load balancing.

hi hanrongsu
If your load balancer has the function  to change to real IP and forward it, you can use it.
Otherwise, you can use *.realipheader( profiler.tomcat.realipheader, profiler.jboss.realipheader, ... ) configuration in pinpoint.config.
If you use this configuration, must include client IP in the header when sending from client.
thanks.

thank you for reply.


vqe qiskit runtime programme running too long

Describe the bug
I have been trying to run this tutorial https://github.com/Qiskit-Partners/qiskit-runtime/blob/main/tutorials/vqe.ipynb, using the ibm quantum experience website but whenever I reach the stage of running  Runtime VQE: VQEProgram, the job runs for about five hours and then gets cancelled ("ran too long"). The only change made in the code is using the backends available to me (free account with access to only five qubit machines). This problem persists for all available systems and remains even when the number of shots is changed from 1024 to 100. When the number of shots is decreased to 2 and the maxiter is also set to 2, I get the error shown below( see screenshot). I believe this same error will persist even for 1024 shots and maxiter 50 (as shown in the tutorial). What can be the cause of this and how can I fix it? Is there a probable bug in the vqe qiskit runtime programme?

@renier Could you please help check why this job failed c8gdp223dihfro7ts250?

@jyu00 that tutorial should still work, right? I haven't been able to find any clues as to why it failed. Is there a way to turn on the log_level via the provider.runtime.run() call or VQEProgram?

@renier I looked into this a bit because our other tests were also timing out. So far it looks like a performance issue. Our test that used to finish in 7 minutes (using ibmq_qasm_simualtor, Qiskit 0.34.2) 22 days ago now takes 12 minutes.

I have the same behavior  on a real backend, even with 1 shot and 1 iteration, I always get the error Cancelled - Ran too long

I find myself in the same situation since 21 days ago. In previous months, I sent vqe runtime jobs with 4 qubits and EfficientSU2 as the ansatz and it last less than an hour (e.g date : Nov 24, 2021, job id: c6f55ufalsooemjuf9jg). Now, whenever I try to run something with this size or smaller I get "Cancelled - Ran too long". I have tried in different real backends and in all of them it happens. Even for the exact "Leveraging Qiskit Runtime" tutorial code (job_id: c8el1e3j1bk6m260pe00) i get the Ran too long error. I am using IBM Quantum Lab to run the codes and the the versions of the libraries that I am using are:

FYI We're still looking into this and it seems the CircuitSampler doesn't terminate even for a simple expectation value with a real backend.

Hi everyone,
I'm having a similar problem. Executing even a simple optimization problem with QAOA and runtime in real hardware is impossible. I found that the maxiter in the optimizer is not working. Setting this parameter for COBYLA(maxiter=1) doesn't work and I guess always run the default value.

Yes, that's the same issue. We found the problem and the fix is underway 🙂

Thanks @jyu00 @Cryoris @renier! Closing this issue as fixed, please reopen if you are still seeing issues.

@rathishcholarajan @jyu00 @Cryoris @renier I still face the same problem. Now, it works well for QAOA but VQE, even for a small problem with COBYLA(maxiter=1), the program is canceled because of "run too long".

Could you post the settings or a minimal example that you were running? I just ran a minimal 1 qubit VQE on Armonk and that terminated correctly as far as I can tell.

@Cryoris This is the QUBO:
\ This file has been generated by DOcplex
\ ENCODING=ISO-8859-1
\Problem name: portfolioOptimization
Minimize
obj: - 0.008059504023 w0_0 - 0.022606130409 w0_1 - 0.015415473599 w0_2
+ 0.014582476783 w1_0 - 0.023514934815 w1_1 - 0.005708784120 w1_2 + [
0.000000460358 w0_0^2 + 0.000001413460 w0_0w0_1
- 0.000000125588 w0_0w0_2 + 0.000012672888 w0_1^2
- 0.000000825215 w0_1w0_2 + 0.000000941499 w0_2^2 + 0.000000979898 w1_0^2
+ 0.000001488766 w1_0w1_1 + 0.000000073718 w1_0w1_2
+ 0.000006637125 w1_1^2 + 0.000000369319 w1_1w1_2 + 0.000000491954 w1_2^2
]/2
Subject To
Bounds
0 <= w0_0 <= 1
0 <= w0_1 <= 1
0 <= w0_2 <= 1
0 <= w1_0 <= 1
0 <= w1_1 <= 1
0 <= w1_2 <= 1
Binaries
w0_0 w0_1 w0_2 w1_0 w1_1 w1_2
End
And this is the code:
from qiskit_optimization.runtime import VQEClient
from qiskit_optimization.algorithms import MinimumEigenOptimizer
from qiskit import IBMQ
from qiskit.algorithms.optimizers import COBYLA
from qiskit.circuit.library import TwoLocal

intermediate_info = {'nfev': [],
                         'parameters': [],
                         'stddev': [],
                         'mean': []
                             }

def callback(nfev, parameters, mean, stddev):
    intermediate_info['nfev'].append(nfev)
    intermediate_info['parameters'].append(parameters)
    intermediate_info['mean'].append(mean)
    intermediate_info['stddev'].append(stddev)

ansatz = TwoLocal(6, rotation_blocks='ry', entanglement_blocks='cz')

provider = IBMQ.load_account()
backend = provider.get_backend("ibmq_jakarta")

vqe_mes = VQEClient(ansatz=ansatz, provider=provider, backend=backend, shots=shots,
                        callback=callback, optimizer=COBYLA(maxiter=1)
vqe = MinimumEigenOptimizer(vqe_mes)
result = vqe.solve(qubo)


Add comment to ex: update k8s version to desired

Another comment from the same user mentioned in #3486.

@nfd9001 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mihaelablendea - please review.

@MikeRayMSFT - are you still waiting on a review from @mihaelablendea or is this ready for merge? (if so, can you sign off?) thanks!

@nfd9001 Could you update the pull request per reviewer comments? Thanks.

@nfd9001 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


rust type prompts are not displayed

Hi author, I saw the following image in your introduction image, rust has a type hints, but I used your configuration without a type hints.
I have used neovim9 and 10 in ubuntu without rust type hints

The diagram below is the result of my own configuration

InlayHints are still a neovim-nightly only feature and as such not guaranteed to work on every installation….


Unable to find user config when deploying to AWS using serverless

Describe the bug
When pushing my application to AWS, the lambda executed for SSR raises the following error :
next-i18next was unable to find a user config
That seems to be connected to the next-i18next.config.js file not being there. I am building the app using serverless and when i inspect what's being built, i can't indeed find this file in the bundle. I also realized that each language sub path ends up raising a 404. The bundle actually contains a 404.html page in each language folder generated.
Occurs in next-i18next version
8.1.0
Steps to reproduce
The code i am using is standard. I am using getServerSideProps with serverSideTranslations for the 2 pages i have in my app. Everything works fine on localhost. Problem is happening only when bundling to AWS

Duplicate of #990.

Hi Isaac,
I actually think this is not a duplicate.
The error in #990 is Error: appWithTranslation was called without a next-i18next config.
This one is next-i18next was unable to find a user config, which I have actually also just encountered.
Following #990 sent me in the wrong direction, so I'm leaving this here in case this happens to someone else as well.
In my case the solution was that the optimised deployment image was not copying over the config files.
This is actually mentioned in the docs at the very bottom: https://github.com/isaachinman/next-i18next#notes
So this was a classic case of rtfm and adding those two lines to my docker file resolved the issue.
Hope this helps someone.
All the best,
Jan


geotiff wrapX does not work under 4326

I loaded a geotiff file and set wrapX to true. If the map projection is 3857, there is no problem and it can be displayed repeatedly. However, if it is set to 4326, it will not work. Cannot be displayed repeatedly

thanks

wrapX currently has a non-standard meaning Render tiles beyond the tile grid extent for GeoTIFF. This does not affect reprojected tiles (as it is considered when creating them, see #15484). As a workaround you can set a view projection based on, but not defined as equivalent to, the source projection which will force a reprojection
e.g. to wrap the example https://openlayers.org/en/latest/examples/cog-stretch.html use
  view: new View({
    projection: new Projection({
      code: 'EPSG:4326A',
      units: 'degrees',
      global: true,
      extent: [-180, -90, 180, 90],
    }),
    center: [0, 0],
    zoom: 2,
    maxZoom: 6,
  }),

But there is a problem. If the projection is set to 4326A, the map base map will not be displayed. I hope the map will also be visible.

But there is a problem. If the projection is set to 4326A, the map base map will not be displayed. I hope the map will also be visible.

If changing the view projection causes problems with other layers you could set 4326A as the projection in the GeoTIFF options instead.

There is nothing special about it.  All projections must have a unique code and if no transforms are defined an identity transform will be used for the reprojection.

Another problem I have is that there is a jagged edge problem after projection.

Another problem I have is that there is a jagged edge problem after projection.

This should be a separate issue.  It happens with some reprojections where the edges can be clipped when using the canvas renderer, as in https://gis.stackexchange.com/a/364509/102658 and https://gis.stackexchange.com/a/432538/102658
I do not know if direct clipping would be possible with WebGL.  Instead you could try adding an opaque canvas layer over the WebGL layer and clip that to create a spy hole, or you could use the WebGL layer as the source for an ol/source/Raster canvas layer which can be clipped directly as in https://jsfiddle.net/L0p1qh53/


Promotion: let's make a tutorial blog post or ...

Maybe create a tutorial for training a GPT model on Rust and put it on codeproject.com? Or somewhere similar?

May be medium/substack or some other normal blog sites is better. You can also serve it from this repo it self!  :)

should this issue be closed? you already made that :P

Hah yeah, wasn't very successful though :d closing


--hwid fails when the HWID begins or ends with 0

For example:
python pykms_Server.py <IP_ADDRESS> 1688 --logfile STDOUT --hwid 7519597CB34CD5C0
Sun, 02 Feb 2020 06:50:37 ERROR    HWID '7519597CB34CD5C' is invalid. Hex string is odd length. Exiting...
python pykms_Server.py <IP_ADDRESS> 1688 --logfile STDOUT --hwid<PHONE_NUMBER>000000
Sun, 02 Feb 2020 06:53:47 ERROR    HWID '' is invalid. Hex string is too short. Exiting...
python pykms_Server.py <IP_ADDRESS> 1688 --logfile STDOUT --hwid<PHONE_NUMBER>000001
Sun, 02 Feb 2020 06:55:26 ERROR    HWID '1' is invalid. Hex string is odd length. Exiting...

Alternatively, maybe just switch to something like codecs.encode(struct.pack('>Q', int(hwid, 16)), 'hex'). This also handles further sanitizations. Shorter HWIDs will be padded to 64-bit and longer will throw error.


Remove Pusher Dependency

Pusher locks this project into using their service to scale websocket connections. Ideally this project should stand up a websocket server and the implementor should then be able to decide how to scale the websocket traffic independently instead of being locked in to one specific vendor. This is especially important if running the project as a component in a locked down SOA deployment as scaling will need to happen on the web facing proxy end.

Hello @ryanisab
I think you can ride with https://github.com/stevegraham/slanger before we will migrate to ActionCable.

Hi
@dkkoval @yivo When do you think is the migratoin to ActionCable? Is it in a week, in a month or much more later?
Thank you

@ryanisab @dkkoval @JoeWallCrypt0 Hi guys
I can confirm pusher slanger works well with peatio, including funds & markets page.

@yivo
it looks like slanger is not working with ruby 2.5.0. it gives "ERROR: Failed to build gem native extension." Only solution is to run slanger on another server with lower version of ruby

I am using slanger with ruby 2.3.1 install via rbenv
It works perfectly with Peatio 1.5.0

@myujang
I installed it on remote server with ruby 2.3.1 and it's running but didn't test if it works on peatio.
Do you use the same id for PUSHER_APP: and PUSHER_CLIENT_KEY: or slanger have an option to give you pusher app id

@tzman89 Yes. When i debug. its all goes to slanger. you can put any secret key and id in slanger.

More ideally, a standalone ActionCable can be used to build a replacement for slanger.

Moved to #1360.


Secret in environment variable (run configuration)

It would be practical to be able to have environment variable with a value provider whose value is a secret that can be fetched in 1Password.

op item get "finnhub" --fields "token"

I understand though that the IntelliJ SDK must provide a facility for such a feature.

That should be possible, but needs to be implemented into each Language.

This would be an awesome feature. For Node run configurations I can't set environmental variables in another way as far as I know. Having the possibility to run the 1Password macro in the env variables would be very helpful.

Definitely a big missing feature 😞


add SECURITY.md

What type of PR is this?

[ ] bug
[x] feature
[ ] enhancement

What problem(s) does this PR solve?
Issue(s) number: 142
Description:
Escalate security issues
How do you solve it?
Submit the SECURITY.MD file and describe the vulnerability reporting email address.After the integration, the pipeline construction pr will be submitted.tks
Special notes for your reviewer, ex. impact of this fix, design document, etc:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@jievince  已补充说明，请合入

@jievince  已补充说明，请合入

好的


fix lesson4-semantics-navigating/03-navigating-by-headings 404 errors

Noticed there were 404s on this page

thank you!


Update README.md

According to the script file, it should be --v1 not -v v1.
[scripts/generate-bosh-lite-manifest]
OPTIONAL ARGUMENTS:
    -d <db-stub-path>           Path to database stub file.
    --v1                        Flag to use BOSH V1 manifest template

@kmj940101 the script was modified recently with PR #56


alignment(src_img, src_pts) function ？

def alignment(src_img,src_pts):
of = 2
ref_pts = [ [30.2946+of, 51.6963+of],[65.5318+of, 51.5014+of],
[48.0252+of, 71.7366+of],[33.5493+of, 92.3655+of],[62.7299+of, 92.2041+of] ]
crop_size = (96+of2, 112+of2)
s = np.array(src_pts).astype(np.float32)
r = np.array(ref_pts).astype(np.float32)

tfm = get_similarity_transform_for_cv2(s, r)
face_img = cv2.warpAffine(src_img, tfm, crop_size)
return face_img

Is there any information or reason for the fixed ref_pts ? why we picked those values ?

I wonder ref_pts was calculated by following way:
step -1. ave_pts = np.mean(all_landmarks_in_casia, axis=0), where all_landmarks_in_casia.shape=(N, 10);
step -2. norm_pts = ave_pts / 250, where casia_img.shape = (250, 250)
step -3. ref_pts = norm_pts.reshape(-1, 2) * np.array([96, 112])
Then, we can get following result:
array([[37.4707173 , 48.19678096],
[57.53267604, 47.69648029],
[47.40494149, 63.3143305 ],
[38.90172655, 74.50723587],
[56.77106886, 74.12000792]])
Absolutely, It was different with the ref_pts in which alignment function region.

@clcarwin, Looking forward to your reply！


Remember the scroll position when the page loaded totally.

Create a list to save the loaded pages.


What is the proper way to zip back to the begin of zloc?

If I have traverse the zipper in one pass, and made some edit along the way, I want to check if this zipper is dirty, is there anyway to do it?
And I I want to nav back to the start of this zipper, what is the best way to do that?

To see if changed:
;;given a zipper called nodes
(:changed? (second nodes))
to zipback, in the place I work, weve created this helper function:
(defn upmost
  "Move all the way up the zipper"
  [zipper]
  (let [loc (z/up zipper)]
    (if loc
      (recur loc)
      zipper)))

One thing I noticed is that if I edit a zipper and then find the values after edit, the :changed? state would be reset. Is this expected?
Or the :changed? is just for a node, not for the whole zipper?
; a clojure source code
(ns any.ns
  (:require [some.require :as r]))
  (def f1 "field1")
  (def task1 {"f1" "xxxxx"
              "f2" (macro1 "f2")})
  (def task2 {"f1" "xxxxx"
              "f2" "dummy"})"

; a test code (def data-above "replace this with the source code above")

(-> (z/of-string data-above)
    (z/find-value z/next "f2")
    (z/edit (comp symbol #(str %2 "/" %1)) 'ns1)
    second
    :changed?) ; this is true

(-> (z/of-string data-above)
    (z/find-value z/next "f2")
    (z/edit (comp symbol #(str %2 "/" %1)) 'ns1)
    (z/find-value z/next "f2")
    second
    :changed?) ; this is false

Hi @guoyongxin,
I'm working on rewrite-cljc and and happy to take a crack helping you out.
A small caveat: :changed? is an internal implementation detail of the zipper.
Changes are applied as you move up the zipper.
What's your motivation for checking that your zipper is dirty?  Would checking the result suffice? Would something like the following work for your use case?:
(let [in (slurp "my_source.clj")
      out (-> (z/of-string in)
              ;; your zip ops here
              z/root-string)]
  (if (= in out)
    (println "do some stuff if unchanged")
    (println "do some stuff if changed")))

Hey Iread, thanks for your help.
The reason I want to check zipper dirty is that I want to write two parts of a function which are decoupled.
The story is I'm using some iteration to do replacement for my code by zipper. And I only want to do some post change if the previous step is dirty.
Thanks for your suggestion I would try it


Use HTTPS where possible

https://github.com/konklone/cdns-to-https#background
Closes #530.

Moved to #534


Add related use cases to the model

Idea Description
Data products are created for a purpose. More often there is a clear usecase (or multiple) in which this particular data product can provide value. Associate the usecase descriptions and data product.
It could be list of items:

Name of the use case
Link to the description

Behind the link there could be machine readable use case description, such as json, xml

Simular idea as DataOps Yaml file

Done


Add style parameter

@ricardoboss the PR it's you! change what you believe! ;)

No, you opened it...

@JellyBellyDev ok, but why did you open a new PR? What was wrong with the other one?

@JellyBellyDev I updated badges/poser so for-the-badge should now be showing up for you.

@JellyBellyDev Don't know why the HomeControllerTest fails. Can reproduce it, but I'm not sure how to investigate. Can you help?

@JellyBellyDev Don't know why the HomeControllerTest fails. Can reproduce it, but I'm not sure how to investigate. Can you help?

I fixed! ;)

@ricardoboss https://packagist.org/packages/badges/poser#v2.3.1 ;)

PTAL @garak @AlessandroMinoccheri @fabiocicerchia @antonkomarev

I think we should stick to already existing styles. This is a screenshot from https://shields.io/ and as you can see, the value is bold.

@ricardoboss can you squash the commits please?

You mean this?

You mean this?

no, i mean rebase this branch with one single commit chosen by you and push -f.
please leave the merge action to me! ;)


HTCondor-CE BDII provider fixes

This PR includes the following (CC @lfield):

Move BDII code/config into contrib/
Replace reference to CENTRAL_MANAGER with standard config val, COLLECTOR_HOST
Query the CE schedd instead of the CE batch system schedd for availability and VO job numbers
Various pylint fixes

Oops, a stray hunk made it into that commit somehow. I've fixed it and also should have the CI fixed, too.

Christelle from IN2P3 gave the latest version of the script a try and verified that things still work

This version doesn't work for us.

Hi @lfield, have you followed the instructions in this README? Could you provide some more details on what isn't working exactly?

I am investigating the diffs in code and output


Modifications for new MQTT broker

Describe at a high level the solution you're providing
Made necessary changes to use VerneMQ MQTT broker instead of Watson IoT
Is this a patch, a minor version change, or a major version change
Is this related to an open issue?
Additional context

@upkarlidder any questions or comments?

Finally had a chance to go through this. Thank you for your patience @hawk4031.
LGTM. Love the simplification of the env file and not needing a pem file for deployment.


Bundler 2 release fully broke installation CentOS 7

The installer gem install bundler no longer works on CentOS 7 because the ruby version there is 2.0
This is a serious regression as it breaks CI all over the place and people will endup using pinning to avoid it.
Get should install the latest version supported by the current ruby interpreter, which is 1.17.3 if I am correct in this case.
# ruby --version
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
root@n0:~/.cache/.rmux/puppet-openstack-integration # gem install bundler --no-rdoc --no-ri --verbose
GET https://rubygems.org/latest_specs.4.8.gz
200 OK
GET https://rubygems.org/quick/Marshal.4.8/bundler-2.0.1.gemspec.rz
200 OK
Installing gem bundler-2.0.1
Downloading gem bundler-2.0.1.gem
GET https://rubygems.org/gems/bundler-2.0.1.gem
Fetching: bundler-2.0.1.gem (100%)
200 OK
ERROR:  Error installing bundler:
        bundler requires Ruby version >= 2.3.0.

Thanks for the issue @ssbarnea.
Since Ruby 2.0 is end-of-life it's not supported by the latest version of Bundler anymore, and rubygems doesn't have the version resolution logic in it to figure out what the latest supported version is.
If you run gem install bundler -v 1.17.3 you'll get a Bundler version that is compatible with Ruby 2.0.

I think this would be fixed by https://github.com/rubygems/rubygems/pull/2539? It's been closed and requested to be split into separate different PRs because of including a bunch of unrelated bug fixes, but it claims to fix the required_ruby_version resolution logic in rubygems?
/cc @MSP-Greg