vesktop: rich presence does not work in celeste

Describe the bug
The discord rich presence of vesktop does not work when playing Celeste with Everest.
Steps To Reproduce
Steps to reproduce the behavior:

Run Vesktop
Run Celeste with Everest installed
There is no rich presence

Expected behavior
Everest's rich presence should be visible.
Additional context
this shows up in Celeste's console log:
[Everest] [Error] [discord-game-sdk] Ignoring response to unknown nonce: IncomingMessage { cmd: "DISPATCH", nonce: Some("initial-ready"), evt: Some("READY"), data: Object({"config": Object({"api_endpoint": String("//discord.com/api"), "cdn_host": String("cdn.discordapp.com"), "environment": String("production")}), "user": Object({"avatar": String("cfefa4d9839fb4bdf030f91c2a13e95c"), "discriminator": String("0000"), "flags": Number(0), "id": String("1045800378228281345"), "premium_type": Number(0), "username": String("arRPC")}), "v": Number(1)}) }

This error message does not show up when using the official vesktop flatpak, so it looks like it's a NixOS issue. (The rich presence works when using the flatpak)
Notify maintainers

@getchoo
@Scrumplex
@vgskye
@pluiedev
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.6-zen1, NixOS, 24.11 (Vicuna), 24.11.20240627.b2852eb`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - nixpkgs: `/nix/store/xjn3184743q0fxayzwrhil2i06pr61x8-source`

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

This sounds like a issue that you should report to Vencord or arRPC (assuming you use that for RPC) developers. Packaging of Vencord should minimally affect its functionality, if at all.

looks like it got fixed in 1.5.3, i made a pr to update: #325137


Current contact email addresses across pypi / github documentation are incorrect.

Describe the bug
Contact email address in setup.cfg and other parts of the docs point to<EMAIL_ADDRESS>It may make sense to create non-user ID to be the first point of contact and replace in various places. This applies to:
https://github.com/IBM/compliance-trestle
and
https://github.com/IBM/compliance-trestle-fedramp

done


Install Nucleolar localization sequence Detector (NoD)

This reverts commit 9a3e90bd45cf47988d8827626bfee3e405cc2588.
TODO: Please replace this header with a description of your pull request.
Installation sequence for tool-installers

[ ] Test using @galaxybot test this
[ ] Inspect CI output for expected changes
[ ] Deploy using @galaxybot deploy this if test install was successful
[ ] Merge this PR

@galaxybot deploy this


Service Request by Donrie Purcell for Downloads specific to Strategies, Measures, Partners, etc.

[ ] Qualtrics Service Request Form was received from User
[ ] e-mail acknowledging that User's Qualtrics Service Request Form was sent
[ ] Problem NOT RESOLVED
[ ] Problem PARTIALLY RESOLVED
[ ] Problem FULLY RESOLVED and Issue is Closed
[ ] Qualtrics Post-Service Request Survey was sent to User

Use comments feature (below) to document:

A clear and concise description of the solution.

A clear and concise description of any alternative solutions or features you've considered.

Any additional context, such as screenshots about the problem.

Hi Jeff,
Please can you code the downloads in such a way that If so requested one can download only Strategies (if that's their only interest) without lumping measures or partners therein.
The same will be applicable if someone only wanted only look at downloads for Measures without an interest in Partners, Venues, etc.
Essentially, the Research team are asking for the capability to download specific aspects of the Smart Strategies without lumping them altogether, albeit we are looking at a relational database.
Kind Regards
Donrie

To add to Donrie's comments, the request is to add STRATEGIES to the list of components that can be downloaded individually (or in some combination with other components (e.g., Measures, Partners, Venues).


⚠ BeyondHD has degraded performance

In 65b491a, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 5358 ms

Resolved: BeyondHD performance has improved in 398d308.


improvement Infer the column name when create view if the column is expression

Proposed changes
Infer the column name when create view if the column is expression
Further comments
This is the inferred column name strategy:

SQL for example:
CREATE VIEW v1 AS  SELECT    error_code,   1,    'string',    now(),    dayofyear(op_time),    cast (source AS BIGINT),    min(timestamp) OVER (     ORDER BY        op_time DESC ROWS BETWEEN UNBOUNDED PRECEDING       AND 1 FOLLOWING   ),    1 > 2,   2 + 3,   1 IN (1, 2, 3, 4),    remark LIKE '%like',    CASE WHEN remark = 's' THEN 1 ELSE 2 END,   TRUE | FALSE  FROM    db_test.table_test1
the output column name is as following:
`error_code| __literal_1| __literal_2| __now_3| __dayofyear_4| __cast_expr_5| __min_6| __binary_predicate_7| __arithmetic_expr_8| __in_predicate_9| __like_predicate_10| __case_expr_11| __arithmetic_expr_12|

run buildall

run buildall

run buildall

run buildall

run buildall

please replace picture with md's table in PR desc for search and git commit msg friendly

run buildall

run buildall

run buildall

run buildall

run buildall


GH-690: Propagate AfterRollbackProcessor to child

Fixes https://github.com/spring-projects/spring-kafka/issues/690
The concurrent container did not propagate its AfterRollackProcessor to
child KafkaMessageListenerContainers.
cherry-pick to 2.1.x, 2.0.x, 1.3.x

... and cherry-picked to all mentioned version.


Can't update answer

mac os
Version 2.1.21 (f1734a47)
Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Anki for VSCode 1.0.4

when i first set headline  h1  and answer abc  and send to deck  i got a card like this

and then , i want update the answer to 123 , i change the markdown and send to deck , But it didn't seem to work，Anki not update the answer

When I want to update an answer, I need to delete the key from anki and then resynchronize it. Is there any simple way to deal with this problem?

This is a duplicate issue, please see https://github.com/jasonwilliams/anki/issues/31#issuecomment-762087435


Android Basics: Viewmodel and State in Compose

Just reporting a typo (or at least that's what I think it is):
At the beginning of the code lab we create the score variable and set the value to 0

later on we introduce the currentWordCount variable and we should set it's value to 1, however in the codelab the 1 is assigned to the score variable instead:

It isn't really a "bug", so you may close this issue

Just noti


Feature improvement: folder should be created for -o option.

It may be a good idea to let the user create the output folder when they specify --output or -o. Currently it only works with existing directories when the user specifies one.

Not a bug, but feature was added anyways. Thank you.


Add support for classless components

Classless components can be genuinely usable, for example for simple wrapper components in looks, experimenting in rapid development etc.

Components now no longer require their own java class and classless components will get rendered as just a simple NGComponent class. This is kind of cool since we can now add a component/template using just a single HTML-file, which is nice for ease of use/prototyping work.
Still a little work to be done in NGComponentDefinition to ensure we have a canonical name for components (since we can no longer have a fully qualified class name to rely on), but that won't really become a problem until we start implementing component caching, stateless components and other things that depend on having a single component definition representing the same component.


[Storage] Bugfix. Use latest blocks instead of uncommitted.

This fixes the https://github.com/Azure/azure-sdk-for-net/issues/10621 and brings us in parity with Java SDK.

@seanmcc-msft @jaschrep-msft Please take a look.


updated profile link to preview correctly on share

Closes issue #7604

Hi Sandra, did you mean to close this PR?

Hi Eddie,
yes, I pulled too soon ...testing the cleanBio part of the issue.
Apologies for the notification prompt.
On Thu, 15 Jun 2023, 22:40 Eddie Jaoude, @.***> wrote:

Hi Sandra, did you mean to close this PR?
—
Reply to this email directly, view it on GitHub
https://github.com/EddieHubCommunity/LinkFree/pull/7609#issuecomment-1593697736,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEXHHBNTG4BPBQASFUXB3LDXLNXNVANCNFSM6AAAAAAZIGZMIM
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

No problem


GATK's ASEReadCounter crash "More then one variant at position"

Description of the bug
Hello from Lund! Trying to get Tomte up and running. The stub run works fine, but running into some errors running on real data.
The error:
$ cat .command.err
Using GATK jar /usr/local/share/gatk4-<IP_ADDRESS>-0/gatk-package-<IP_ADDRESS>-local.jar
Running:
    java -Dsamjdk.use_async_io_read_samtools=false -Dsamjdk.use_async_io_write_samtools=true -Dsamjdk.use_async_io_write_tribble=false -Dsamjdk.compression_level=2 -Xmx9830M -XX:-UsePerfData -jar /usr/local/share/gatk4-<IP_ADDRESS>-0/gatk-package-<IP_ADDRESS>-local.jar ASEReadCounter --output sample_id_ase.csv --input sample_id_subsamp.bam --variant sample_id_biallelic.vcf.gz --reference GCA_000001405.15_GRCh38_no_alt_analysis_set_chr_masked.fna --sequence-dictionary GCA_000001405.15_GRCh38_no_alt_analysis_set_chr_masked.dict --tmp-dir .
06:08:13.852 INFO  NativeLibraryLoader - Loading libgkl_compression.so from jar:file:/usr/local/share/gatk4-<IP_ADDRESS>-0/gatk-package-<IP_ADDRESS>-local.jar!/com/intel/gkl/native/libgkl_compression.so
06:08:25.552 INFO  ASEReadCounter - ------------------------------------------------------------
06:08:25.556 INFO  ASEReadCounter - The Genome Analysis Toolkit (GATK) v<IP_ADDRESS>
06:08:25.557 INFO  ASEReadCounter - For support and documentation go to https://software.broadinstitute.org/gatk/
06:08:25.557 INFO  ASEReadCounter - Executing as jakob@rs-n17 on Linux v3.10.0-1160.45.1.el7.x86_64 amd64
06:08:25.557 INFO  ASEReadCounter - Java runtime: OpenJDK 64-Bit Server VM v17.0.10-internal+0-adhoc..src
06:08:25.557 INFO  ASEReadCounter - Start Date/Time: June 18, 2024 at 6:08:13 AM GMT
06:08:25.558 INFO  ASEReadCounter - ------------------------------------------------------------
06:08:25.558 INFO  ASEReadCounter - ------------------------------------------------------------
06:08:25.559 INFO  ASEReadCounter - HTSJDK Version: 4.1.0
06:08:25.559 INFO  ASEReadCounter - Picard Version: 3.1.1
06:08:25.559 INFO  ASEReadCounter - Built for Spark Version: 3.5.0
06:08:25.559 INFO  ASEReadCounter - HTSJDK Defaults.COMPRESSION_LEVEL : 2
06:08:25.559 INFO  ASEReadCounter - HTSJDK Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS : false
06:08:25.560 INFO  ASEReadCounter - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_SAMTOOLS : true
06:08:25.560 INFO  ASEReadCounter - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_TRIBBLE : false
06:08:25.560 INFO  ASEReadCounter - Deflater: IntelDeflater
06:08:25.560 INFO  ASEReadCounter - Inflater: IntelInflater
06:08:25.561 INFO  ASEReadCounter - GCS max retries/reopens: 20
06:08:25.561 INFO  ASEReadCounter - Requester pays: disabled
06:08:25.561 INFO  ASEReadCounter - Initializing engine
06:08:25.844 INFO  FeatureManager - Using codec VCFCodec to read file file:///mnt/beegfs/jakob_tmp/tomte/7f/c80204afc11a379e5c0288bf4e6062/sample_id_biallelic.vcf.gz
06:08:25.961 INFO  ASEReadCounter - Done initializing engine
06:08:25.975 INFO  ProgressMeter - Starting traversal
06:08:25.975 INFO  ProgressMeter -        Current Locus  Elapsed Minutes        Loci Processed      Loci/Minute
06:08:36.029 INFO  ProgressMeter -          chr1:708596              0.2                136000         811940.3
06:08:37.183 INFO  ASEReadCounter - Shutting down engine
[June 18, 2024 at 6:08:37 AM GMT] org.broadinstitute.hellbender.tools.walkers.rnaseq.ASEReadCounter done. Elapsed time: 0.39 minutes.
Runtime.totalMemory()=1157627904
***********************************************************************

A USER ERROR has occurred: More then one variant context at position: chr1:834449

***********************************************************************

Looking at that specific location in the VCF file I indeed find two SNVs.
Is it something I can adapt in settings / input you think, or something that needs to be addressed in the pipeline itself?
Command used and terminal output
No response
Relevant files
No response
System information
Running in Singularity
Version of tomte: 2.0.2 (dev branch)

Hi @Jakob37 👋
Are you running the latest release? I believe that @lucpen were working on resolving some issues on the allele specific expression part of the workflow in the dev branch.

Hi @Jakob37 👋 Are you running the latest release? I believe that @Lucpen were working on resolving some issues on the allele specific expression part of the workflow in the dev branch.

Aha, I see! This is the dev branch. That makes sense, I'll retry. Thanks!

Let us know if the problem persists when running dev 😄

Let us know if the problem persists when running dev 😄

Aha, maybe I misunderstood. I first encountered it in dev actually. Now I switched to the master branch. Which branch do you recommend? :)
I'll let you know how it goes.

I would recommend dev, as we don't make releases after every merge. That should have been fixed last week, could you check with the latest dev version?

I would recommend dev, as we don't make releases after every merge. That should have been fixed last week, could you check with the latest dev version?

OK, then I'll use dev. I'll try again!

I pulled the latest dev version, here is the last commit from the repo I tested running:
commit b425e44d8a818e2d97da089318cba5c9e1426513
Merge: e68af17 f31ed3a
Author: Lucía Peña-Pérez<EMAIL_ADDRESS>Date:   Mon Jun 10 13:58:08 2024 +0200

    Merge pull request #129 from genomic-medicine-sweden/fix_allelic_imbalance

    fix bug allelic imbalance

After disabling DROP (which I guess crashes in parallel), I could reliably get this error:
A USER ERROR has occurred: More then one variant context at position: chr1:834449

Let me know if you need any further info from me to debug this!

Checking the actual commits here at GitHub, it looks like I didn't actually get the really last version. I'll try once more.

Good to know, I will fix it

Thanks!

Posting here for reference. Here is someone with what looks like the exact same error:
https://github.com/broadinstitute/gatk/issues/7249

OK, I think I found it.
Right now the command to remove duplicates looks like this
bcftools norm \
    --fasta-ref GCA_000001405.15_GRCh38_no_alt_analysis_set_chr_masked.fna \
    --output sample_id_split_rmdup.vcf.gz\
    --output-type z --rm-dup none \
    --threads 6 \
    sample_id_norm.vcf.gz

I.e. --rm-dup none. Checking the docs, it looks like this will remove true duplicates, i.e. if you have double C/A C/A
The crashing case has two different SNVs in the same spot, C/A + C/G
tabix sample_id_biallelic.vcf.gz "chr1:834449-834449"
chr1    834449  .       C       A       48.3351 .       DP=18;VDB=0.00223341;SGB=-0.670168;MQSBZ=0;MQ0F=0;AC=1;AN=2;DP4=0,0,7,3;MQ=20;FOUND_IN=bcftools GT:PL   1/0:110,58,40
chr1    834449  .       C       G       48.3351 .       DP=18;VDB=0.00223341;SGB=-0.670168;MQSBZ=0;MQ0F=0;AC=1;AN=2;DP4=0,0,7,3;MQ=20;FOUND_IN=bcftools GT:PL   0/1:110,76,64

Maybe this is what was intended actually. But seems the ASEREADCOUNTER cannot deal with this
Changing the bcftools command to
bcftools norm \
    --fasta-ref GCA_000001405.15_GRCh38_no_alt_analysis_set_chr_masked.fna \
    --output sample_id_split_rmdup.vcf.gz\
    --output-type z --rm-dup snps \
    --threads 6 \
    sample_id_norm.vcf.gz

I get
$ si_tabix sample_id_split_rmdup.vcf.gz chr1:834449-834449
chr1    834449  .       C       A       48.3351 .       DP=18;VDB=0.00223341;SGB=-0.670168;MQSBZ=0;MQ0F=0;AC=1;AN=2;DP4=0,0,7,3;MQ=20   GT:PL   1/0:110,58,40

I guess this would work in the ASEREADCOUNTER step (not sure whether it is fine to discard the C/G step in general if used in other parts of the pipeline though)


Plugins

I have a question about Vlc.DotNet.
Generic information

Vlc.DotNet version : 2.2.1
Vlc.DotNet project used : WinForms
libvlc version : x86 and x64 from https://download.videolan.org/pub/videolan/vlc/3.0.3/
.net version : 4.7.1
Project language : C#
Project build architecture : AnyCPU (prefer 32bits)
Operating system : Windows x64

Summary
I would like to know how to use the plugins during playing a movie, such as rotate or transform.

[x] I confirm that my issue doesn't happen in VLC itself.

Did you have a look at the wiki? If I remember correctly, it shows the generic steps to answer the question "How to do that in Vlc.DotNet"

I found two similar post: https://github.com/ZeBobo5/Vlc.DotNet/issues/216 https://github.com/ZeBobo5/Vlc.DotNet/issues/86 but both don't have a valid solution, because they use VlcMediaplayerOptions (with command line options) before the EndInit and before the SetMedia, not during playing...
I was thinking of something like this:
using System;
using System.Runtime.InteropServices;

namespace Vlc.DotNet.Core.Interops.Signatures
{
    /// <summary>
    /// Returns a list of video filters that are available.
    /// </summary>
    [LibVlcFunction("video_format_TransformTo")]
    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
    internal delegate void VideoFormatTransformTo(IntPtr fmt, VideoOrientation orientation);
}

I'm not sure libvlc provides this kind of feature... vlc can do that because it uses a privileged way to access the lower-level API

I have the confirmation of what I thought : Here is a long-standing bug to apply filters on-the-fly : https://trac.videolan.org/vlc/ticket/5603 .
Until this issue is resolved, there's nothing we can do on our side.


fix(release_server): handle the case when requested values is empty

closes #4337 for real this time!
cc @michelleN
Signed-off-by: Matthew Fisher<EMAIL_ADDRESS>

Built, tested, and confirmed working:
Client: &version.Version{SemVer:"v2.10+unreleased", GitCommit:"f31a074e89588fc21597fc557abe420942975a55", GitTreeState:"dirty"}
Server: &version.Version{SemVer:"v2.10+unreleased", GitCommit:"f31a074e89588fc21597fc557abe420942975a55", GitTreeState:"dirty"}
root@ubuntuguest:~/go/src/k8s.io/helm# helm upgrade percona ./percona-0.5.2.tgz --reuse-values 2>/dev/null|head
LAST DEPLOYED: Fri Sep  7 14:49:31 2018
NAMESPACE: default
STATUS: DEPLOYED
...
```

Thanks for the quick turnaround.


[TensorIR][ROCm] AMD Matrix Core Support

This Pull Request adds support for AMD Matrix Core in TVM.
Changes Made
The following changes have been made to enable AMD Matrix Core support in TVM:

Added ROCm tensor intrins for AMD Matrix Core architecture.
Added test case of a 1024x1024x1024 dense gemm on each of these computations
Implemented the required tile sizes for Matrix FMA (MFMA) computations. The available tile sizes for MFMA are as follows:

Integer computation: i8xi8
Half-precision computation: f16xf16
Single-precision computation: f32xf32

refer to AMD matrix core readme,  available tile for the given computations could be:

A/B Data Format
C/D Data Format
M
N
K
Blocks
Cycles
Flops/cycle/CU

FP32
FP32
32
32
2
1
64
256

FP32
FP32
16
16
4
1
32
256

FP16
FP32
32
32
8
1
64
1024

FP16
FP32
16
16
16
1
32
1024

INT8
INT32
32
32
8
1
64
1024

INT8
INT32
16
16
16
1
32
1024

For each of these computations, only one intrinsic has been chosen for implementation. This decision is based on their identical TFLOPS performance. Considering real-world systems requirements, we have selected a small 'm' tile and a large 'k' tile to optimize the performance.
Please review the changes and provide any feedback or suggestions for improvement, see more discussions here.

@junrushao please cc junru.

This is awesome to have! @vinx13 @tqchen and I had some experience with MatrixCore a couple of years ago but not upstreamed. Thanks for taking the initiative!

Hi @LeiWang1999 would you mind fixing the lint issues so that we can fix this?

yeah, but I found some performance issue, I may have known where the problem is, I will fix the lint after I handle it.

The performance problem was due to the usage of local memory scope instead of warp scope in tensor intrins. To address this, we need to switch to warp scope in tensorization and pass the "lower_warp_storage" optimization pass to convert warp memory to register files.
Using local memory resulted in excessive redundant register file usage, leading to register spills and decreased performance. this issue is hard to analysis in llvm ir btw. I wrote anther HIP source codegen to address the bug more effectively, and which can offer similar performance as llvm ir does. maybe we can open another thread LeiWang1999/tvm/lei/feat-hip.

Also, all of these codebase worked fine on my workspace (a tvm old release), but it failed in current tvm upstream, i found there're some rocm/llvm backend issues here, I have tried to fix some of them, see more at this comments: https://github.com/apache/tvm/pull/14901#issuecomment-1598863567
Please also cc @Lunderberg  :)

ping @vinx13 @masahi if you can help review :)

Thanks@LeiWang1999! @LeiWang1999  @Lunderberg would be great to followup on the LLVM rocm issues and get things rolling!


Critical dependency: the request of a dependency is an expression

Creating an optimized production build...
Compiled with warnings.

<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression

<EMAIL_ADDRESS>Critical dependency: the request of a dependency is an expression

临时解决方案
$ CI=false npm run doc

module.exports = {
  //...
  module: {
    exprContextCritical: true,
  },
};

https://webpack.js.org/configuration/module/#module-contexts
https://stackoverflow.com/a/65857316/1334703

Originally posted by @jaywcjlove in https://github.com/kktjs/kkt/issues/198#issuecomment-1008693725

https://github.com/uiwjs/react-code-preview/issues/94

https://github.com/uiwjs/react-layout/runs/4839992901?check_suite_focus=true


XDCPay login results in clocked screen forever

Copying the content from Telegram posted 2-3 months ago.
https://t.me/xinfintech/43741
https://t.me/xinfintech/46039

Last time without much luck, I had recreate my wallet with 30-40 accounts and each with 2-3 tokens, all manually added nth time now.  It was working for next 2 months, and now I am running into same exact just-clocking (see screenshot attached)  or black dialog page.  I try check using browser's developer tools,m and following error  (screen attached):
"DevTools failed to load source map: Could not load content for chrome-extension://bocpokjllofo/sourcemaps/ui.js.map: System error: net::ERR_FILE_NOT_FOUND"
One thing I know the scenario it happened to me (not sure it reproduces or not) is, I was on StorX network's farmer.storX.io page connecting to XDCpay and it threw json-rpc TypeError "Unhandled Rejection (TypeError): Cannot read properties of undefined (reading 'split')" . And the known solution for this that many others in that community was to change to rpc.xinfin.network.   Then it worked fine.
But later when I switched back to erpc.xinfin.network (needed for working with remix etc). as soon as I switched rpc to erpc, XDCPay started acting out and was not able to login as attached.

Any idea why that FILE NOT FOUND error right in the middle of use and just by switching rpc?  So, nothing I did should delete any file at all.      Any clue what is going on there?
Reason I ask is I am trying troubleshoot and identify how I can recover all my accounts without doing it manually.  Because this won't be the last time.   Appreciate any insights.
PS: No, XDCPay 2.0 is not an option for me for mainnet live wallets when it is still in beta btw.
Tried disabling/re-enabling extensions and restarted browser etc.. same issue when I try to login.

Hey!
Try with BlocksPay wallet
BlocksPay is a multi-chain crypto wallet recently launched by BlocksScan, offering a comprehensive and secure solution to users while addressing the shortcomings of other wallets. The wallet can be accessed via this link: https://chrome.google.com/webstore/detail/blockspay-secure-multiple/pogabilnghhbafaheaepaaeopjpleimd
To learn how to use BlocksPay, please refer to this video: https://youtu.be/z0rV-K-nU4A. Additionally, you can access the complete guide playlist at this link: https://youtube.com/playlist?list=PLjYCiPsAxZS6CG1cSw3fsE_NPvM7VO-gS.


mixed-content

https://learnosm.org/en/coordination/HOT-Remote-Response-Guide/
I noticed this page has a mixed-content issue.

Thank you for pointing this out - I just fixed it on both the staging and production sites


tz-aware option not working

Hello, I tried the following:
 mongo-connector --main localhost  --target-url http://localhost:9200 --namespace-set articles.articles --dest-namespace-set articles_v6.articles --doc-manager elastic_doc_manager  --tz-aware

or

 mongo-connector --main localhost  --target-url http://localhost:9200 --namespace-set articles.articles --dest-namespace-set articles_v6.articles --doc-manager elastic_doc_manager  --tz-aware true

It seems that the option does not work as it does get indexed incorrectly in elastic
in connector.py
# Timezone awareness
 self.tz_aware = kwargs.get('tz_aware', False)
print kwargs

outputs
{'ssl_ca_certs': None, 'ssl_certfile': None, 'fields': [], 'ns_set': ['articles.articles'], 'dest_mapping': {'articles.articles': 'articles_v6.articles'}, 'ssl_cert_reqs': None, 'batch_size': -1, 'gridfs_set': [], 'ssl_keyfile': None, 'continue_on_error': False, 'collection_dump': True}

pip show mongo-connector
---
Name: mongo-connector
Version: 2.0.1
Location: /Library/Python/2.7/site-packages
Requires: pymongo, elasticsearch, pysolr

Thanks for the detailed report! This should be fixed in master now.

If this does work for you, I'll close this issue after I add more detailed testing around the config file and command-line options.

Yes this works, thanks

BTW, how do you handle releases, when can we expect a 2.02 with this in it?
Thanks

I'll be releasing a 2.0.2 version soon with this fix in it (probably early next week). I just need to finish writing more tests around this, first.
As to your second question, there isn't a way to access that from the command-line, but you can set arbitrary options on a DocManager from the config file. For example:
{
  ...
  "docManagers": [
    {
      "docManager": "elastic_doc_manager",
      "targetURL": "localhost:9200",
      "args": {"chunk_size": <chunk size here>}
    }
  ]
  ...
}

Hi Luke,
any news on 2.0.2?
Just to know if I wait for it or if I do a workaround in an older version for now.
Thanls

@heichwald
Just uploaded to pypi: https://pypi.python.org/pypi/mongo-connector

Thanks


New Lead Maintainer Requested

I am unable to continue to dedicate time to this module so I'm looking for someone in the community to step up and take over! Please let me know if you're interested.

i would like to give it a try!

Sorry for the late reply. I did not got through the docs.
My npm name is echorohit
On Tue 14 Aug, 2018, 6:52 PM Adam Bretz<EMAIL_ADDRESS>wrote:

Awesome! What's your npm name? Have you read all the documentation about
being a lead maintainer?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hapijs/good-http/issues/46#issuecomment-412869662,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABoEQkInljUe8qIv8VIMq2yY5_T17-5aks5uQs8UgaJpZM4T1ZJs
.

Let me know when you've read all the docs and I'll set you up.

Sure.  I will let you know asap
On Tue, Sep 4, 2018 at 8:35 PM Adam Bretz<EMAIL_ADDRESS>wrote:

Let me know when you've read all the docs and I'll set you up.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hapijs/good-http/issues/46#issuecomment-418402607,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABoEQjbgnBtaQoMI1uWEkseJjP5oDj80ks5uXpaggaJpZM4T1ZJs
.

--
Rohit Kr Choudhary
__
+91-9971940271
Skype: hiamrohit


Shared queries

The commit messages make me think a rebase to clean them up would be a good idea.

The commit messages make me think a rebase to clean them up would be a good idea.

That is the idea. It's just this way to make review easier.

We'll need to test this properly before rolling it out. The changes (especially the inner synchronization in QueryCache and the interplay between the two caches) are complex enough that there may be bugs hidden in there.

I agree that this is quite complex.
I did a fair amount of dbg!() testing and adding calls to std::thread::sleep_ms() to ensure that various expected conditions were met in regards to the cache interplay, non-reentrancy, query uniqueness, and keeping the memory utilization within expected bounds. With more time we can definitely test more though. Pushing right now is probably not urgent.


[Feature]: Provide additional options of CSPROJ elements

Related Problem
I use central package management and global package references and am wanting to make it nice and easy for me to determine what information i need to add to my files
The Elevator Pitch
When looking at package it should be quicker and easier for a developer to know what the xml element which needs to be added to install package as a global package reference. At the same time it should also be as easy to know how to add it when using central package management.
Additional Context and Details
No response

Correct & I would suggest to also include the required info for the csproj in the same tab to make it as seamless as possible for developers.

Thanks for the confirmation.
Could you give an example of which required info you'd really like to see? If we put too much information in there, it might push the content down the page too far or be hard to understand. Would this additional information be copyable or just for reference? Perhaps a link to documentation could be an alternative?

@joelverhagen sure what i would like is as follows.

New Tab "Central Package management"
Body of tab as described below
Footer with a link to central package management  docs just like package reference

Body Contents
Directory.Packages.props file
<PackageVersion Include="WeMicroIt.Extensions.Configuration.JavaProperties" Version="1.0.0-preview-06" />

Project reference
<PackageReference Include="WeMicroIt.Extensions.Configuration.JavaProperties" />

While this ui tweak is being made i would suggest the cake tab is layed out the same way which also has 2 command options which are currently grouped together as  one making not that easy to execute.

This a fabulous idea! @jeffkl FYI for awareness

@JonDouglas / @jeffkl submitted PR #10277 as a proposal to address this issue.


Add a minimal test for the PD macro API

This should avoid regressions like the one introduced by #6356

@swift-ci please smoke test


Highlight search string breaks table

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

I added a method to highlight a search string by adding a ${match} around the string, but it breaks my table. My table has the ability to filter, sort, and page from the server (all 3 functions are server-based), but this breaks it so that it does none of the above anymore.
Expected behavior

Table should highlight search string and still be able to update filter, page, and sort from the server.
Reproduction of the problem

Please find my code here. I added 2 buttons to highlight 'le' and clear the filter to demonstrate current behavior. Table breaks when trying to page.
What is the motivation / use case for changing the behavior?

Based on my team's business requirements.
Please tell us about your environment:

Windows 10

Webstorm 2017.2.4

NPM 3.10.10

Node 6.11.2

Table version: 0.8.x

Angular version: 4.0.x

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

heyyyy...
Did u find any solution?


Investigate simplifying node IDs

We have node ids generated in report/id.go and render/id.go, which generate subtly different IDs. It might be possible to simplify the code either by always using the fully-scoped IDs, or by always using the un-scoped IDs.
Needs investigation...

May also be worth investigating using a typed struct for IDs.

@paulbellamy I believe #1204 fixed this.

Fixed it, but not the structs for ids part.


[feat] <rh-tooltip>: change the border-radius

Description
<rh-tooltip> in our Figma library currently has slightly rounded corners, and it would be good to update the code for <rh-tooltip> to use --rh-border-radius-default.
Suggested solution
To dos:

[x] update border-radius value for <rh-tooltip> in repo
[x] change corner radius value for tooltip component in Figma from 4px to 3px
[ ] check docs for outdated information and update

Screenshots
No response
Example API
No response
Additional context
No response

@coreyvickery, wanted to alert you to this small change. @markcaron @hellogreg, would you prefer to map this to Clefairy or Cubone?

@coreyvickery, wanted to alert you to this small change. @markcaron @hellogreg, would you prefer to map this to Clefairy or Cubone?

Because this is just a style change IMHO can just be a patch.  See https://github.com/RedHat-UX/red-hat-design-system/pull/1841
I also updated the logical properties for positioning as well as removed some deprecated undocumented CSS custom properties in that PR.

@zeroedin Good stuff!

cc @dustinmazon who kindly drew our attention to this issue


Can I tell the dumper not to emit the !!str when it's a quoted string scalar?

I read it a yaml file that looks like:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: hello-testing-ingress
  annotations:
    kubernetes.io/ingress.global-static-ip-name: "hello-testing-cluster-static-ip"
    networking.gke.io/managed-certificates: "api-certificate"

And all I want to do is change the value of networking.gke.io/managed-certificates from to "api-certificate,api2-certificate" But the best I can do is this:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: hello-testing-ingress
  annotations:
    kubernetes.io/ingress.global-static-ip-name: !!str "hello-testing-cluster-static-ip"
    networking.gke.io/managed-certificates: !!str "api-certificate,api2-certificate"

I.e. I can't get rid of the !!str tag.
How can I do that?

Currently there's no way to do this, but this is a bug

What would be the preferred way to go about fixing this? I could potentially take a stab at it with a few hints and when I find some time?

that'd be helpful, since I don't have the time right now. Emitter.processTag() is probably the place to fix this.


Decide on External Outreach

Partial List -

MEW
Metamask
Parity

@Arachnid and @alexvandesande Any additional groups to contact? Please let me know if they're any you'd like me to contact.

@Arachnid and @alexvandesande Have either of you contacted any of these external parties? If so, is there anything to follow-up on? If not, should we still plan to?

Parity (Alex) - will work w/ENS, pending
Metamask (Nick) - working on Ropsten, will work on Mainnet when we launch (done)
MEW (Nick) - pending

I can outreach to the most popular wallet in China: https://token.im/
Let me know if anything I can help

@yuanfeiz Please do! Guidance for implementers is available here and resolving names is described here; that should be everything they need to get started.

Ok, I'll also try to talk with the exchanges to see if they can also put the name besides the deposit address.

@yuanfeiz Did you have a chance to connect with token.im?

@chris-remus Yeah, already did. They had launched a mobile version ENS registrar, and the integration with ENS is on the way. Expecting to release in the next version.

@yuanfeiz Thanks!


[BUG] (0 , o.useLocalStorage) is not a function

What happened?
Tried to view NFT tab
Version
1.6.1-rc3
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace
(0 , o.useLocalStorage) is not a function

URL
#/dashboard/nfts

Stacktrace
at webpack://@chia/gui/src/hooks/useNFTMetadata.ts:16:60 useNFTsMetadata
at webpack://@chia/gui/src/components/nfts/gallery/NFTGallery.tsx:52:26 NFTGallery
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:157:136 Ch
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:267:459 b?b.sibling:null}I
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:250:346 Pj
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:250:277 Pj
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:250:137 Pj
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:243:162 Lj
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:123:114 jg
at webpack://@chia/gui/node_modules/scheduler/cjs/scheduler.production.min.js:18:342 unstable_next

closing as dup of #1111


Access violation when reading at position 0x01610000

Hey, I get an access violation on a simple Post request. Do you know how I can fix this error?
My Code:
#include <cpr/cpr.h>
cpr::Payload load = cpr::Payload{ {"email",""} ,{"password",""} ,{"devicetoken",""} };
cpr::Response r = cpr::Post(cpr::Url{ "http://localhost:3000/account/login" }, cpr::Timeout{ 10000 }, load);
cout << r.text << endl;
cout << r.status_code << endl;

CMakeLists.txt:
cmake_minimum_required (VERSION 3.8)

project ("CMakeProject1")
set(BUILD_CPR_TESTS OFF)

set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

add_subdirectory(cpr)

add_executable (CMakeProject1 "CMakeProject1.cpp" "CMakeProject1.h")

target_include_directories(CMakeProject1 PRIVATE ${CPR_INCLUDE_DIRS})
target_link_libraries(CMakeProject1 PRIVATE ${CPR_LIBRARIES})

Error message:
Ausnahme ausgelöst bei 0x7B6A369E (vcruntime140d.dll) in CMakeProject1.exe: 0xC0000005: Zugriffsverletzung beim Lesen an Position 0x01540000.

What version of CPR are you using (1.4 or master or ...)?
It looks to me as you are using an older version since you are still using:
target_include_directories(CMakeProject1 PRIVATE ${CPR_INCLUDE_DIRS})
target_link_libraries(CMakeProject1 PRIVATE ${CPR_LIBRARIES})
‘‘‘
Instead of the new fetch_content approach.

I used the master version.
I tried the fetch_content approach and the error still exists.

I tried a little bit around and found out that the error only occurs when I use the payload in the request. Is there a workaround for this.

Running the following unit test on Linux works.

I will have a look how the situation is on Windows.

It's running like a charm on Windows.
https://github.com/whoshuu/cpr/runs/795737211
I'm unable to reproduce this error.
Could you please provide a minimal project?

With CPR 1.5.0 the error no longer occurs.

Glad to hear :+1: .


Add "Clear Browser Caches" to the top right menu in the Browser

A reason to prefer to keep it in Settings and not in the browser tab — it’s rarely used.

Hmmm... How do you know that? It that an assumption or a proven by numbers fact?

Just an opinion to weigh.
I attribute that to intuition developed through 20 years of designing, building and selling software, many involving users and user interfaces, including working on macOS and iOS apps since before there’s an iPhoneOS SDK.
Also plenty of time spent studying user interface research and content.
Off the top of my head, the browsers I can think of all hide this functionality in some kind of settings menu.
But no, I can’t be absolutely sure. But if this is to suggest that we want to look at analytics to decide — I don’t have anything particular against analytics. Analytics is an indispensable tool, but with a small user base, analytics really isn’t that helpful and can be really misleading. There is much to do, and we ought to focus and prioritise on the most urgent matters.
Maybe you or others on the team are more experienced and know more about this. My point is not to compare years of experience (the absolute number is meaningless), but to point out that it’s not a blind guess.
And again, just a simple opinion on what I thought is obvious.

Ok, let's close the issue. Don't want to even comment on this.

Today, Aleks asked if we have an option to clear caches as wanted to check if the Browser page works fine even in our app. Then he used it a lot. Later, when working on the content, I cleared It out about 150 times.
When I asked my girlfriend to clear caches she could not find a way to do it. First, she hit the three dots.
I will run 2 user tests tomorrow to see if users can find it or not. If our app is also targeted to developers, they will use this feature a lot.
This is not urgent, it can wait.  I requested for Android so I am not taking your bandwidth.
Congrats with your experience. Good to have such experienced team mates! 👍

Should be simple to add it into the menu. It shouldn't do any harm there.


The demo link in the documentation section is inaccessible

Related page
https://g6-v4.antv.vision/manual/middle/animation
Kind of issue
Broken demo
Issue description
https://g6-v4.antv.vision/zh/examples/scatter/node该demo访问显示404
Context
No response

https://g6-v4.antv.vision/zh/examples/scatter/edge
https://g6-v4.antv.vision/zh/examples/scatter/stateChange
这些demo也是404


[Snyk] Security upgrade forever from 2.0.0 to 3.0.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

506/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Prototype Pollution SNYK-JS-MINIMIST-2429795
Yes
Proof of Concept

601/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.6
Prototype Pollution SNYK-JS-MINIMIST-559764
Yes
Proof of Concept

324/1000  Why? Has a fix available, CVSS 2.2
Uninitialized Memory Exposure npm:utile:20180614
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: forever
    The new version differs by 13 commits.

b2120f9 Remove utile (#1099)
071cc04 Update changelog
c1bcbff Remove dependency on broadway (#1098)
3586afe Prepare 3.0.1 for release
67cc950 Prepare 3.0.1 for release
877d93a Replaced optimist with yargs (#1093)
a36330a Update forever-monitor (#1081)
0c5d32a Update dependencies and test Node 14 (#1080)
9e85c59 Fix argument type of fs.writeFileSync (#1075)
58eb131 Add CLI test for starting/stopping from a directory with space (#1068)
437ca4a Remove unnecessary path-is-absolute dependency (#1062)
8f739b0 Execute Mocha tests (#1054)
ceb235c Update changelog

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution

Checkmarx One – Scan Summary & Details – 381222ea-45c7-4dfd-8f71-1f3d3874e1f8
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2021-23440
Npm-set-value-2.0.0
Vulnerable Package

CVE-2021-23440
Npm-set-value-0.4.3
Vulnerable Package

CVE-2022-24999
Npm-qs-6.5.2
Vulnerable Package

CVE-2022-24999
Npm-qs-6.3.2
Vulnerable Package

CVE-2022-24999
Npm-qs-6.2.1
Vulnerable Package

CVE-2022-24999
Npm-qs-5.2.1
Vulnerable Package

CVE-2022-24999
Npm-qs-0.6.6
Vulnerable Package

CVE-2022-25883
Npm-semver-5.7.0
Vulnerable Package

CVE-2022-25883
Npm-semver-5.6.0
Vulnerable Package

CVE-2022-25883
Npm-semver-5.3.0
Vulnerable Package

CVE-2022-3517
Npm-minimatch-3.0.4
Vulnerable Package

CVE-2022-3517
Npm-minimatch-3.0.3
Vulnerable Package

CVE-2022-3517
Npm-minimatch-0.3.0
Vulnerable Package

CVE-2022-38900
Npm-decode-uri-component-0.2.0
Vulnerable Package

CVE-2023-25344
Npm-swig-1.4.2
Vulnerable Package

CVE-2023-25345
Npm-swig-1.4.2
Vulnerable Package

CVE-2023-26136
Npm-tough-cookie-2.4.3
Vulnerable Package

CVE-2023-26136
Npm-tough-cookie-2.3.4
Vulnerable Package

CVE-2023-26136
Npm-tough-cookie-2.3.1
Vulnerable Package

CVE-2023-26136
Npm-tough-cookie-2.2.2
Vulnerable Package

CVE-2023-45311
Npm-fsevents-1.2.9
Vulnerable Package

Cx10578cb2-c0fc
Npm-cypress-3.3.1
Vulnerable Package

Insecure_Storage_of_Sensitive_Data
/app/data/profile-dao.js: 65
Attack Vector

Insecure_Storage_of_Sensitive_Data
/app/data/profile-dao.js: 62
Attack Vector

Insecure_Storage_of_Sensitive_Data
/app/data/profile-dao.js: 53
Attack Vector

Insecure_Storage_of_Sensitive_Data
/artifacts/db-reset.js: 35
Attack Vector

Insecure_Storage_of_Sensitive_Data
/artifacts/db-reset.js: 31
Attack Vector

Insecure_Storage_of_Sensitive_Data
/artifacts/db-reset.js: 27
Attack Vector

Insecure_Storage_of_Sensitive_Data
/app/data/user-dao.js: 25
Attack Vector

Insecure_Storage_of_Sensitive_Data
/artifacts/db-reset.js: 23
Attack Vector

Insecure_Storage_of_Sensitive_Data
/app/data/user-dao.js: 21
Attack Vector

Insecure_Storage_of_Sensitive_Data
/artifacts/db-reset.js: 18
Attack Vector

Insecure_Storage_of_Sensitive_Data
/artifacts/db-reset.js: 15
Attack Vector

Insecure_Storage_of_Sensitive_Data
/server.js: 82
Attack Vector

CVE-2017-20162
Npm-ms-0.7.1
Vulnerable Package

CVE-2023-0842
Npm-xml2js-0.4.4
Vulnerable Package

CVE-2023-28155
Npm-request-2.88.0
Vulnerable Package

CVE-2023-28155
Npm-request-2.79.0
Vulnerable Package

CVE-2023-28155
Npm-request-2.75.0
Vulnerable Package

CVE-2023-28155
Npm-request-2.67.0
Vulnerable Package

CVE-2023-28155
Npm-request-2.36.0
Vulnerable Package

Using Unnamed Build Stages
/Dockerfile: 11
This query is used to ensure that build stages are named. This way even if the Dockerfile is re-ordered, the COPY instruction doesn’t break.

Fixed Issues

Severity
Issue
Source File / Package

CVE-2021-35065
Npm-glob-parent-3.1.0

Cx6f6f1276-7a2e
Npm-tar-2.2.1

Client_Potential_XSS
/app/assets/vendor/chart/raphael-min.js: 3413

Client_Privacy_Violation
/artifacts/db-reset.js: 35

Client_Privacy_Violation
/artifacts/db-reset.js: 27

Client_Privacy_Violation
/artifacts/db-reset.js: 18

Cx65603961-769c
Npm-debug-4.1.1

Cx65603961-769c
Npm-debug-3.2.6

Cx65603961-769c
Npm-debug-2.6.9

Cx65603961-769c
Npm-debug-2.2.0

Missing_Encryption_of_Sensitive_Data
/app/data/profile-dao.js: 65

Missing_Encryption_of_Sensitive_Data
/app/data/profile-dao.js: 62

Missing_Encryption_of_Sensitive_Data
/app/data/profile-dao.js: 53

Missing_HSTS_Header
/app/routes/allocations.js: 25

Privacy_Violation
/app/routes/profile.js: 47

Privacy_Violation
/app/routes/profile.js: 46

Privacy_Violation
/app/routes/profile.js: 45

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 575

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 570

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 570

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 86

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 79

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 79

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 331

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 331

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 327

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 689

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 274

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 259

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 675

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 255

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 253

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 648

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 240

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap.js: 225

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap-tour.js: 615

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap-tour.js: 433

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap-tour.js: 413

Client_JQuery_Deprecated_Symbols
/app/assets/vendor/bootstrap/bootstrap-tour.js: 326

Client_Password_In_Comment
/app/data/user-dao.js: 29

Client_Password_In_Comment
/app/data/profile-dao.js: 32

Client_Use_Of_Iframe_Without_Sandbox
/app/views/tutorial/ssrf.html: 23

Log_Forging
/app/routes/session.js: 55

Missing_CSP_Header
/app/routes/allocations.js: 25

Open_Redirect
/app/routes/index.js: 74

Open_Redirect
/app/routes/allocations.js: 18

Open_Redirect
/app/routes/session.js: 55

Open_Redirect
/app/routes/contributions.js: 44

Open_Redirect
/app/routes/index.js: 87

Open_Redirect
/app/routes/profile.js: 50

Open_Redirect
/app/routes/memos.js: 23

Open_Redirect
/app/routes/contributions.js: 44

Open_Redirect
/app/routes/session.js: 55

Unprotected_Cookie
/app/routes/research.js: 18

Unsafe_Use_Of_Target_blank
/app/views/tutorial/a8.html: 59

Unsafe_Use_Of_Target_blank
/app/views/tutorial/a7.html: 31

Unsafe_Use_Of_Target_blank
/app/views/tutorial/a1.html: 179

Unsafe_Use_Of_Target_blank
/app/views/tutorial/a1.html: 141

Unsafe_Use_Of_Target_blank
/app/views/login.html: 79

Unsafe_Use_Of_Target_blank
/app/views/login.html: 46

Unsafe_Use_Of_Target_blank
/app/views/layout.html: 62

Use_Of_Hardcoded_Password
/test/security/profile-test.js: 37

Use_Of_Hardcoded_Password
/test/security/profile-test.js: 37

Use_Of_Hardcoded_Password
/app/routes/session.js: 167

Use_Of_Hardcoded_Password
/app/routes/session.js: 166

Use_Of_Hardcoded_Password
/artifacts/db-reset.js: 35

Use_Of_Hardcoded_Password
/artifacts/db-reset.js: 27

Use_Of_Hardcoded_Password
/artifacts/db-reset.js: 18


Pressing CTRL+Tab does not send full CTRL+Tab chord to the application

Environment
Windows build number: 10.0.18362.476
Windows Terminal version (if applicable): 0.7.3382.0

WSL Distro: Debian 10 Buster (4.4.0-18362-Microsoft)
Neovim: NVIM v0.3.4

Steps to reproduce
Unbound ctrl+tab, ctrl+shift+tab in keybinds section
{
      "command": "unbound",
      "keys": [
        "ctrl+tab"
      ]
    },
    {
      "command": "unbound",
      "keys": [
        "ctrl+shift+tab"
      ]
    }

Bind vim C-Tab to gt (next tab)
nnoremap <C-Tab> gt

Try to change tab in vim using CTRL+Tab.
Expected behavior
Execute bound vim command and change tab.
Actual behavior
Bound action is not executed, tab is not switched.
Notes
In insert mode clicking CTRL+Tab just inserts tabs, which according to how other terminal emulators behave might mean that it's just sending Tab and ignoring CTRL. Is this the case here too?
https://stackoverflow.com/questions/2686766/mapping-c-tab-in-my-vimrc-fails-in-ubuntu
https://stackoverflow.com/questions/1646819/how-can-i-map-ctrl-tab-to-something-in-vim
I've tried binding nnoremap <C-L> gt (CTRL+L for same command) and it works as expected, as in it switches to next tab.

Yeah, it looks like there is no encoding for Ctrl+Tab that can be sent by a terminal emulator. Tab is already a control character (Ctrl+I, actually), and you can't really exactly have a double-control character. SOrry.


[WFCORE-4082] Fixing common.sh script.

Pass all setDefaultModularOptions function arguments to grep command in common.sh script.
https://issues.jboss.org/browse/WFCORE-4082

This pull request supersedes https://github.com/wildfly/wildfly-core/pull/3492

Core - Full Integration Build 7913 outcome was FAILURE using a merge of cea71eea4cc39ffd31c28bcaacaa42dce2fd0f44
Summary: Tests passed: 1009, ignored: 69; exit code 1 (Step: Build & test full (Maven)) (new) Build time: 00:08:57

Thanks, @ropalka .  We'll get the TS failures in full sorted.

Full's TS is working again; I restarted the jobs.


⚠ Bofrost.be has degraded performance

In 927bac0, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1591 ms

Resolved: Bofrost.be performance has improved in 84749d6 after 6 minutes.


ipad mini6 iOS 15.7.2 Misaka 8.0.1/2/3/4/5/6/7/8 TIPS/book are all gray, unable to enter KFD mode and restart repeatedly

TIPS/book are all gray, unable to enter KFD mode and restart repeatedly

me too


Run CUE policies per dependency

Our current CUE policy integration does not apply policies per analysis target, which gets problematic while analyzing dependencies.

Completed in #90


Deployment

Deployment
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser

finished. needed to reupload files to work correctly(buried one file too deep)


Unable to create a profile with the name of an earlier  revoked (and renewed) one

In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}

[x] I have read and understood the contributors guide.
[x] The issue I am reporting can be replicated.
[x] The issue I am reporting can be is directly related to the pivpn installer script.
[x] The issue I am reporting isn't a duplicate (see FAQs, closed issues, and open issues).

Describe the bug
Cannot add profile with the name of an already revoked profile with a renewed certificate
To Reproduce
Steps to reproduce the behavior:

pivpn add nopass
choose profile name, for exampple: jdoe  and validty
cd /etc/openvpn/easy-rsa && ./easyrsa revoke jdoe
pivpn revoke
Choose jdoe
Repeat steps 1 and 2, then you will see:

!! This name is already in use by a Valid Certificate.
Please choose another name or revoke this certificate first.

Expected behavior
It should be allowed to create a new profile if en earlier one with the same name was revoked.

Works for me even though you are not supposed to do step 3 manually. If you do 1,2,3, then jdoe will show up as revoked on pivpn list and you won't be able to revoke again (steps 4 and 5) but you can add a new one with name jdoe.

thanks @orazioedoardo , I meant "renew" not "revoke", I've edited it, please could you test it?

When you renew a certificate a new entry with the same name but different serial is created inside /etc/openvpn/easy-rsa/pki/index.txt and the client key and certificate is overwritten. So when you revoke a certificate with pivpn revoke it only revokes one entry (the newest). If you try to revoke again, it won't work since certificates had already been remove, and you can't add a new client because pivpn still sees the other valid entry.

This is more of a feature request than a bug, since renewing a certificate has never been taken into account. I'm not sure how would this be useful though: you would still need to copy new keys and certificates to an .ovpn file and transfer to the client but at that point you could just revoke the client and create a new one.

That is not true. The easyrsa renew enables you to keep using the same client certificate. However, I've found the problem, the revoke command does not work out of the box with renewed certificates, that can be read in the file easyrsa:
# FIXME: Modify revoke() to also work on the renewed certs subdir

So it's a openvpn issue. I will report it there.

Just a heads up to PiVPN devs, renewing a certificate is still a work in progress. There may be a new option which allows either a new key or the old key to be used.
We are also aware of a minor bug between versions (3.0.0 -> 3.0.5) vs 3.0.6 which is also related to renewal.


Add missing requirement

Without xclip on Ubuntu, em fails to run.
$ em heart
Traceback (most recent call last):
  File "/home/victor/.local/bin/em", line 11, in <module>
    sys.exit(cli())
  File "/home/victor/.local/lib/python2.7/site-packages/em/__init__.py", line 147, in cli
    xerox.copy(results)
  File "/home/victor/.local/lib/python2.7/site-packages/xerox/x11.py", line 22, in copy
    raise XclipNotFound
xerox.base.XclipNotFound

this should be added like "For Linux users, xclip is required" on a newline


Total Commander - open with is very slow

Using total commander and to use open with or F4 to open a file takes a long time.
Other text editors it goes really fast.

What is "total commander"?

http://www.ghisler.com/
A file manager if you have ever used norton commander or even split window file managers its the same thing.
The thing is that when you tell total commander to open text files using: atom.cmd "%1" the opening of file takes forever. Using other editors it opens within just a second.

Depending on what the active directory is when you open Atom, it could take a long time for Atom to open. This is almost assuredly a duplicate of one of the following:

https://github.com/atom/atom/issues/2654
https://github.com/atom/atom/issues/6437


[DOC] [Remote Store] Add documentation for segment upload timeout settings

What do you want to do?

[ ] Request a change to existing documentation
[x] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.

As part of https://github.com/opensearch-project/OpenSearch/pull/13679 we introduced a new setting to configure segments upload timeout for Remote Store.
Before this change there was no such setting and segments upload could be stuck forever if there was a bug.

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Thanks, will this fix go out with the 2.15 release?

Thanks, will this fix go out with the 2.15 release?

Yes, i'll raise the PR by next week

@linuxpi will raise a PR by end of day 6/6. Thanks!


Make material-ui pass with chained hoc

https://github.com/Benjamin-Dobell/flow-typed/pull/1#issuecomment-416216280

Thanks a heap!


Enables the function_body_length rule

@philium Thanks for the feedback! I didn't realize how sweeping the changes were haha

@saratchandrakarumuri Thank you!

@philium Please re-review when you get a chance.

@philium Please re-approve due to resolving merge conflicts.

@philium Thanks for the reviewing!


[UI] Mobile - Improve Mobile Support

Version: master-head (v2.3) (8/6/19)
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce:
Use Rancher UI on a mobile device with average sized screen. Smoke test by visiting various locations and interacting with the UI.
Issues:

[ ] At login screen, if click on Translations drop down it's cut off. (This also happens when logged in).

[ ] When open the user menu the footer moves up and there is an odd artifact at the right of the page.

[ ] When create or edit a cluster the placement of fields/objects is all over the place (edit shown below). Also at the bottom of the page the Save/Cancel buttons are partially cut off.

[ ] When you view the global page showing the list of clusters. If a cluster has any issues and has multiline text explaining the issue this is cut off.

[ ] Similar to above, if we view Projects/Namespaces page there is a lot of white space below the page header.
(No screenshot shown, similar to above white space below page header)

[ ] At the cluster level, open the global menu at the top right, click on the "Tools" submenu. Nothing happens and the global menu is dismissed so we can't navigate to the tools submenu items. The same is true for other submenus.
(No screenshot shown, just perform the steps to reproduce this)

[ ] Monitoring - When try to change to custom timeframe, UI doesn't look right.

[ ] Monitoring - UI does weird wrapping in some situations like pictured below. This is probably true in other areas too like node/cluster details page with small window width.

[ ] Menus tend to open very wide taking nearly 100% screen width for some reason.

Other details that may be helpful:
I tested on Samsung Galaxy S8+ with Chrome for Android.
Related: https://github.com/rancher/rancher/issues/16926

This is not an exhaustive list. The UI still needs further review even past these identified issues with a mobile view.
We still have other concerning issues as well such as https://github.com/rancher/rancher/issues/16794 which blocks using UI Global Menu on mobile

A lot of these are js issues. #2 user menu, and #3 js is adding 100px on top of sortble-table


Improve support for IE11

Seems like our widget is breaking on Internet Explorer 😢

Microsoft is discontinuing support for IE11 for it's own services in Q1 2021, and intentionally hides it on new machines. I doubt IE11 optimization is a priority at this point as a result.

@ressonix unfortunately we have a few users that are on IE11 and need this fix 😞


NexusParser(ArchiveSection) in Nomad not writing properly an hdf5 file

I tested our class NexusParser(ArchiveSection) in /nomad/nomad/datamodel/metainfo/eln/init.py with a slighly more structured ELN.
The schema is the one for Hall measurements that you can find here:
https://github.com/FAIRmat-Experimental/Area_A_application_definitions/tree/main/hall
The eln_data.yaml that is generated by @shabihsherjeel NexusParser class looks like this:
instrument:
  amperemeter: Keithley 485 Autoranging Picoammeter
  current_source: Keithley 220 Programmable current source
  model: Lake Shore Hall Measurement System
  software: Lake Shore Hall Measurement Software
  switch_matrix: Keithley 7001 Switch System
  voltmeter: Keithley 2182 Nanovoltmeter
samples:
  final_sample:
  - sample_history:
    - contacts_grafting:
      - metal_stack:
        - empirical_formula: Ti
          name: material_1
        - empirical_formula: Au
          name: material_2
        - empirical_formula: Ra
          name: material_3
        process_steps:
        - elapsed_time:
            unit: minute
            value: 1
          name: Post-annealing
          process_type: Pre-process
        - elapsed_time:
            unit: minute
            value: 5
          name: Pre-treatment
          process_type: Pre-process
        - name: implantation
          process_type: Pre-process
        - name: regrowth
          process_type: Process
      method: uuu
    - method: sss
  layer:
  - epitaxy_type: Homoepitaxy
    method: experimental
    substrate: ../upload/raw/Selenium.archive.yaml#data

What me and @domna realized is that the multiple nesting of lists (sample_history and downhill) is not correctly understood by the writer when attempting to create an hdf5 file. It is probably that yaml lists are only understood as array-shaped datasets and not as list of groups.
We should hence tweak our tool to deal with these very common sections where you haven't got an a priori number of sub-sections and you rather want to append instances at will (this turns out in adding a new dash, in yaml syntax).
The question is whether we should change the reader (this repo) of the Nomad eln entry or the writer (gitlab nomad repo) of the HDF5 file.
Probably the writer side is more convenient.
We may think to go on with merge of Nexus_ELN_base_classes branch and open a new branch for this issue.
It is now indeed required to have Nexus_ELN_base_classes features already merged into develop branch to keep developing our "hybrid NomadELN-Nexus schemes", like the Hall example.

Yes, the problem as I see it is that we would need to translate subsections in the ELN from arrays to paths inside the nexus file, i.e. here we would need to create paths /sample/final_sample/sample_history1, sample_history2 etc..
I don't know @shabihsherjeel how the writer is working internally. But I thought it may already know what is an ELN subsection and what is an array, which would make creating these subpaths easier. From the reader side we would need to check whether it is a numerical array only containing data or if it is a subsection. If we go for handling this in the reader we could just check if the first entry is a number, because I think a subsection with a complete numerical name cannot exist in the ELN (?).

The ELN bit we are writing currently uses internal metainfo functions. If we change that behavior, we will either need to add our own parsing of the metainfo in our NexusELN or add more code to the metainfo traversal code. Adding any code there will add more overhead to maintenance. And we will need to make sure all internal use cases are taken care for in Nomad.
What reader is this for exactly? Are you using this in the hall reader? One solution I can imagine is simply checking if a value has children or not. All subsections will have children in the ELN yaml. This is only in the case when the reader knows nothing about the NXDL Template. Some cues could be picked from there, as well.

@domna, @aalbino2 and I decided it will be best to have this as a reader for the dataconverter. It's much easier to manage it this way.
The solution we came up with is to check for dicts in lists. Before we send off the value to add to our key, we can check if the YAML list actually has a dict as a child. This is the case where we will have sections. We do not see a case where this should fail. And we will make this a new NomadELNParser. As this is very specific to the pseoudo ELN format we have created.

The other point we should discuss is the following:
so far we are testing this Hall experiment against an NXroot nxdl file and everything is basically allowed to be in the nexus file at the end.
We are now trying to support a flexible number of instances of a specific section, e. g., the steps into the sample_history.
How can we deal with this in the Nexus schema, when we will have one for Hall?
Capitalizing names of our section allows us to have different number of instances of that section?

How can we deal with this in the Nexus schema, when we will have one for Hall? Capitalizing names of our section allows us to have different number of instances of that section?

This could be an example to reconcile the metainfo YAML and our YAML maybe? I am just not sure about other developments already being done.
But for your question, I do think that's how we get a repeat section in Nexus, i.e. by using all caps in the YAML.


performance dropping significantly when adding 3rd node to cluster

OrientDB Version: OrientDB Server v2.2.27 Protocol v36
Java Version: 1.8.0_131
OS: Linux  // Os arch: amd64
Expected behavior
We are running with a master/master configuration, currently on two nodes.  We expect that when adding a 3rd node, the performance will improve.
Actual behavior
When we add a 3rd node, the performance decreases substantially.
The application is processing a queue, we see the queue processing dropping to  2 messages/sec when adding a 3rd node.  The queue processing is ~60 messages/sec when using 2 nodes.
Steps to reproduce

What distributed settings do you have? Please post here your distributed-db-config.json file content under your database directory.

Here is the file, it's the default one, for 2 nodes, as we are currently running with 2 nodes.
orientDB_distributed-db-config.json.txt

@margaritagk the config file looks good to me. With writeQuorum = majority the 3rd node is not required for the quorum, so performance should be pretty much the same. Of course, you have 1+ node to replicate, but if you schedule a round-robin policy on the client, you should benefit in speed by using the 3rd node.


Compiled .whl file ?

Friend! For several days I have been trying to build tensorflow according to your instructions. I get different errors. Could you post the finished .whl file? I would be very grateful to you.

Hi Igor-Shabalin, the purpose of compiling tensorflow is to match the compute capabilities of your gpu card and is specific to your system.
So i cannot provide you a .whl.
You could use the prebuilt version of tensorflow or look on the official tensorflow github issue to find your compilation errors.

 Prebuilt version of tensorflow-gpu do not work for me because they have capabilities of 3.5. I can’t build it from the sources with GPU support, I get different errors when compiling with different versions of drivers and/or bazel. Maybe you still share the whl file? I will be very grateful to you.


Fix spelling

Nominated by one of the maintainers or TOC members by open a community issue -> Nominated by one of the maintainers or TOC members by opening a community issue
Copy of #4368

@cheyang
Please have a look.


Webpack failed to compile - Mainflux

Hi,
My problem is about mainflux-ui. More precisely, i cannt run the UI due to the following error:
Can some one help me how can i fix this?
siavash@ubuntu:~/Desktop/Mainflux/mainflux-ui$ sudo ng serve
[sudo] password for siavash:
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200 **
Date: 2017-08-15T09:59:04.143Z
Hash: 67952886eeacdc6b6f7f
Time: 86139ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 53 kB {vendor} [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 87.8 kB {inline} [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 5.11 MB [initial] [rendered]
ERROR in<EMAIL_ADDRESS>(11,10): Module '"/home/siavash/Desktop/Mainflux/mainflux-ui/node_modules/rxjs/Scheduler"' has no exported member 'IScheduler'.
webpack: Failed to compile.

@2014siavash The bug is caused by @angular/cdk requires rxjs >= v5.0.3
The pull request with fix is submitted, pls w8 while some one from team merge this.
Thank you for reporting this one! :beer:
Please use official mainflux-ui repository for issues  , do not submit issues related with mainflux-ui here :)
Cheers


default-src takes priority over script-src if it's parsed first

The following unit test fails:
#[test]
fn default_is_fallback() {
    let csp_list = CspList::parse("default-src self; script-src self 'unsafe-eval'", PolicySource::Header, PolicyDisposition::Enforce);
    let check_result = csp_list.is_js_evaluation_allowed();
    assert_eq!(check_result, CheckResult::Allowed);
}

default-src is only supposed to take effect if there's no more specific directive, as I understand it.

Yeah, step 5.2 of https://www.w3.org/TR/CSP/#can-compile-strings calls out checking for script-src, then looking at default-src if there is none.


preload data

warms the cache.getDataOnly cache for all components currently on the page when it loads
this eliminates the onload API calls for everything except the page itself and the layout itself (since the page API call isn't cached, and the layout data can't be easily gleaned from the tree)

Changes Unknown when pulling 39368448d761cfacad245f959c70fa9f3733c142 on preloaddata into ** on master**.

Changes Unknown when pulling 39368448d761cfacad245f959c70fa9f3733c142 on preloaddata into ** on master**.

Changes Unknown when pulling c7e240c1677856fa20c88d0ed82c4991f8a4c57f on preloaddata into ** on master**.


fix: fixed non serializable values warning

refacoted component to expect id instead of a full credential
Summary of Changes

refactored CredentialDetails.tsx to expect credentialId instead of a credential object

Related Issues
BC Wallet 2225
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Is credential still being passed as a param to this screen from NotificationListItem.tsx and chat-messages.tsx?


Fix USE_MBEDTLS_HAVEGE compile

Fix uMurmur compilation errors when using USE_MBEDTLS_HAVEGE build directive.

Definitely progress :) But I still can't compile.
CMakeFiles/umurmurd.dir/crypt.c.o: In function `CryptState_genKey':
crypt.c:(.text+0xa4): undefined reference to `mbedtls_havege_random'
crypt.c:(.text+0xb9): undefined reference to `mbedtls_havege_random'
crypt.c:(.text+0xce): undefined reference to `mbedtls_havege_random'
CMakeFiles/umurmurd.dir/ssli_mbedtls.c.o: In function `SSLi_init':
ssli_mbedtls.c:(.text+0xe1): undefined reference to `mbedtls_havege_init'
ssli_mbedtls.c:(.text+0x13d): undefined reference to `mbedtls_havege_random'
CMakeFiles/umurmurd.dir/ssli_mbedtls.c.o: In function `SSLi_deinit':
ssli_mbedtls.c:(.text+0x2c0): undefined reference to `mbedtls_havege_free'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/umurmurd.dir/build.make:511: bin/umurmurd] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: src/CMakeFiles/umurmurd.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

using
cmake ../umurmur/ -DUSE_MBEDTLS_HAVEGE=ON -DSSL=mbedtls
make

Hmm it compiles and runs fine on my Debian Stretch machine. There mbedtls is version 2.4.2
With what version of mbedtls are you trying to build it? Maybe I need to add more ifdefs in case mbedtls is older...

I'm on Arch. It's because the Arch package for mbedtls has havege disabled. I compiled mbedtls myself with havege enabled, and it compiled successfully.
+1


vscode-graphql-execution not running

Discussed in https://github.com/graphql/graphiql/discussions/3170

Originally posted by PixeledCode May 10, 2023
Attaching the screenshot. I have the latest extension installed, noticed I was not getting any codelens in .graphql files. Language Feature and Syntax Highlighting are working as expected.
I also do not see any log for vscode-graphql-execution. Is that normal?

related?  opened vscode from terminal and log debug mode code --log debug .

can you show your relevant graphql config entries?

@acao Oh, I don't have any configuration file.
May GraphQL: Language Feature Support conflict with Apollo GraphQL Extension ?

@gastonmorixe our extension uses graphql config files, which are different from apollo config files. Their extension provides some of the same features as ours. See the docs to learn how to configure your graphql config file. Most graphql developers use one or the other, but not both together. As you'll see in the readme, the framework/platform agnostic graphql config file is required to use either our execution extension or the full language extension

@acao Great thank you

ah, this must be related to the esbuild upgrade then

Can confirm, experiencing the same error on current main 57b5fcd8749bd1c54f4a6a04a9ab07316fd05e71
2023-09-09 14:15:58.268 [error] Activating extension GraphQL.vscode-graphql-execution failed due to an error:
2023-09-09 14:15:58.268 [error] TypeError: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined
	at new NodeError (node:internal/errors:387:5)
	at createRequire (node:internal/modules/cjs/loader:1308:11)
	at Object.<anonymous> (/home/nik/playground/applications/graphiql/packages/vscode-graphql-execution/out/extension.js:505954:48)
	at Module._compile (node:internal/modules/cjs/loader:1188:14)
	at Module._extensions..js (node:internal/modules/cjs/loader:1243:10)
	at Module.load (node:internal/modules/cjs/loader:1058:32)
	at Module._load (node:internal/modules/cjs/loader:893:12)
	at f._load (node:electron/js2c/asar_bundle:2:13330)
	at o._load (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:130:28084)
	at f._load (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:130:25418)
	at C._load (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:94:19511)
	at Module.require (node:internal/modules/cjs/loader:1082:19)
	at require (node:internal/modules/cjs/helpers:102:18)
	at Function.i [as __$__nodeRequire] (/usr/share/code/resources/app/out/vs/loader.js:5:98)
	at r.rb (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:130:26597)
	at async Promise.all (index 0)


feat: sort routes map keys alphabetically

Hey @gr2m 👋
I just took @swinton's github-rest-apis-for-insomnia for a spin and noticed the nouns (scopes?) are not in order. This PR updates the build script to alphabetically sort the keys in the endpoints map.
I didn't commit the changes that result from running npm run update because I think that happens automatically on a schedule, right?
Here's the order of keys after running the script:
$ cat routes/api.github.com/index.json | npx json -k
[
  "activity",
  "apps",
  "checks",
  "codesOfConduct",
  "emojis",
  "gists",
  "git",
  "gitignore",
  "interactions",
  "issues",
  "licenses",
  "markdown",
  "meta",
  "migrations",
  "oauthAuthorizations",
  "orgs",
  "projects",
  "pulls",
  "rateLimit",
  "reactions",
  "repos",
  "scim",
  "search",
  "teams",
  "users"
]

(Apologies for preemptively opening a PR without first opening an issue.)

Note: this change has the side-effect of leaving the scope property in the resulting objects. It seems like a potentially useful property to include, but let me know if you think I should remove it.

Hmmm I think the current order reflects the order at https://developer.github.com/v3/, is that possible? What’s the diff in order?

you can run bin/octokit-rest-routes.js update --cached and bin/octokit-rest-routes.js update --ghe  --cached to update all route files, no need to wait for the cron

Here's the order of keys in the latest version of @octokit/routes:
$ curl -s -L<EMAIL_ADDRESS>| json -k
[
  "oauthAuthorizations",
  "activity",
  "checks",
  "gists",
  "git",
  "apps",
  "interactions",
  "issues",
  "migrations",
  "codesOfConduct",
  "emojis",
  "gitignore",
  "licenses",
  "markdown",
  "meta",
  "rateLimit",
  "orgs",
  "projects",
  "pulls",
  "reactions",
  "repos",
  "search",
  "teams",
  "scim",
  "users"
]

Okay I ran bin/octokit-rest-routes.js update --cached && bin/octokit-rest-routes.js update --ghe --cached. It appears to have run successfully, but did not produce any changes.
On the other hand, npm run update does produce changes. Should I run that and commit the changes in this PR?

Getting some test failures after running npm run update: https://gist.github.com/zeke/9cd4ffef0e5b0f0269dd51eb9c7bd943
@gr2m can you give some guidance on how I should resolve those?

did not produce any changes

Ah, I think using the cached just uses the cached JSON for the route map keys instead of calculating it afresh from the cached HTML: https://github.com/octokit/routes/blob/a68368c16c9dad15f648d6448b28be9f3be5aa62/cache/api.github.com/pages.json

can you give some guidance on how I should resolve those?

I’m looking into it

Okay the problem was that the update routes compares the separate route JSON files to look for changes. If it doesn’t find any, it says it’s all up-to-date. Because you just did a refactoring, it didn’t find any. I deleted the routes/ folder and run the update script for api.github.com and GHE, so that works now.
I’ll take care of the conflicts and get this merged

Because of the new sorting, tests are failing
TEST_URL=https://developer.github.com/v3/issues/#list-issues ltap test/integration/single-endpoint-test.js

Only endpoints are affected which include multiple routes such as https://developer.github.com/v3/issues/#list-issues

I think the right place to implement the alphabetical order is in lib/endpoint/get.js and lib/landing-page/get.js, that way the tests will get the order as well as they test the library code, not the binary

I think the right place to implement the alphabetical order is in lib/endpoint/get.js and lib/landing-page/get.js

Gotcha. 👍  Want me to work on that, or are you on it?

I think I got it.
But I start to wonder if this is the right place to make this change. My idea was to keep routes closely aligned with the REST API docs, in order to be able to generated docs that match the current ones in structure, but have specifics for the respecitve Octokit library.
If you want to have an ordered list in Insomnia, why not sort the keys in the script that generates the set there?

If you want to have an ordered list in Insomnia, why not sort the keys in the script that generates the set there?

I considered that, but figured it would make more sense to sort them here upstream because without the hierarchical context of the developer.github.com sidebar, that order (oauthAuthorizations, activity, checks, gists, git, apps... ) does not seem like a logical progression. It just seems random.

So would sorting the scopes be enough, and we leave the order of the endpoints within one documentation page in tact?

That seems reasonable. And if it makes more sense for the Insomnia plugin to have the endpoints sorted alphabetically by name (e.g. List Deployments), then that change could be made on the Insomnia side instead.

Woah that's a big diff 😂 https://github.com/swinton/github-rest-apis-for-insomnia/pull/9/files#diff-a9ae47fead5ba8c402afea78944b56e8

Sorry for the noise, that was a one-time thing, they diffs won’t usually be that big

Sorry for the noise, that was a one-time thing, they diffs won’t usually be that big

No need to apologize, I was just commenting to @zeke that I am loving these changes, thanks for all the work here :bow: 💜

Thanks @gr2m ✨


Transaction issues /delays on Testnet

Describe the bug
Testnet users are starting to complain about long tx times. We should diagnose these txs and see why they are taking long. Either they are not settling at all or the UI is too delayed
https://discord.com/channels/454734546869551114/978722712686043188
Expected behavior
Transactions should not take this long to complete.
To Reproduce
Steps to reproduce the behavior:

Go to https://amarok-testnet.coinhippo.io/TEST-from-gorli-to-kovan?amount=5
Bridge TEST from Gorli to Kovan

Additional context
Example: Everything is fine but take too long per transaction to successful.
0x1853fBc8D66372dA2f5dAA7422dBb77fC3Ac14eB

Working on setting up a performance metrics for agents involved in the process to analyze the processing time at each stop.

@sanchaymittal  Did this get resolved?

This is due to a couple things:

Sequencer freezing.
Cartographer paging through thousands of txs.

Going to mark this as resolved. We have fixed the underling issues now.


Write API reference in readme

Waiting until the API stabilizes before I document it.

I don't think the internal checks API should actually be public---everything should use the checks.Command class---so I neither need nor want an API reference in the readme.


Liquid Exception: Liquid syntax error (line 42): Unknown tag 'toc' in /_layouts/post.html

Acknowledge the following
Describe the bug
the theme doesn't build into GitHub pages.
The error:
Liquid Exception: Liquid syntax error (line 42): Unknown tag 'toc' in /_layouts/post.html
Screenshots

Additional context

I have the same issue :/

I am experiencing it as well,

I had this error the first time I forked the template. I was able to deploy the page by just changing the branch in settings >pages >Build and deployment

@edwinabot, could you please explain what do you mean by deploy pipeline? I could not find such a workflow.

@gubazoltan he meant the deploy action, which is defined here and used by Github pipelines to build your website.

I am facing the same issue, has anyone found a solution to this ? @edwinabot mentioned about running 'deploy pipeline' and @george-gca referenced to the deploy action page script, but it is just a script and it is already present as it is in my repo as well. Has anyone resolved this ? or could someone clarify what needs to be done in simple steps, am not able to deploy my site.

Does the error occur when running locally? Tomorrow I will try to replicate the error, or at least understand it better.

I also ran into this error but was able to get my website deployed by switching my Build and Deployment source from "Deploy from a branch" to "GitHub Actions," and then performing the configuration for Jekyll (there should be a button that pops up below once you switch to GitHub Actions that will create the jekyll.yml for you).

I managed to get around this problem without changing anything in the GemFile (as far as I remember).
What I did was that I used GitHub Pages and used the "Deploy Jekyll site to Pages" action to build the site.

@tjvitchutripop your method didn't work for me. The build just failed.
@gubazoltan where did you find the 'Deploy Jekyll site to Pages' option ?

Does the error occur when running locally? Tomorrow I will try to replicate the error, or at least understand it better.

No, it works fine on local. I get this error when I try to deploy it on server.

@rishikeshF Sorry, probably I misinterpreted the name and this is why you didn't find the action I quoted. I am not sure which one is that I am actually using but on this link  you can find my workflow file that I am using to build my website. I believe that if you put this file into your workflow folder than it will also show up in the Actions option of the repository.
I hope it works.

@rishikeshF  You can simply add jekyll.yml from "your repository" Setting > Pages > Build and deployment Source > Github Actions > Jekyll configure

The gh-pages branch solution is documented here, under the To enable automatic deployment section.

I had the same error and switched to the gh-page branch and now the page looks like this:

https://eguar11011.github.io/eguar1101.github.io/
how can i get the template format?

This is probably due to your browser history session.
Clean your browser history, press Shift + F5 to reload the page ignoring cached content, or simply try it in a private session. PR #1478 is going to address this issue as soon as it is finished, to force reload of styles after changes.
Here is looking fine:

@george-gca Yes, it looks good now. I changed Build and deployment in source to Github Actions and it worked. Of course add the jekyll.yml

d and Deployment source from "Deploy from a branch" to "

Thanks a lot

I have a .md file, and has such complaint for a shell code,
"
To use retry middleware with Faraday v2.0+, install faraday-retry gem
Liquid Exception: Liquid syntax error (line 74): Variable '{{1..3}' was not properly terminated with regexp: /}}/ in blog/md/ref/linux/linux_shell.md
/usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:136:in `raise_missing_variable_terminator': Liquid syntax error (line 74): Variable '{{1..3}' was not properly terminated with regexp: /\}\}/ (Liquid::SyntaxError)
"
The .md file contains shell expression,
{{1..3},{7..9}}

This is a completely different issue.

This is a completely different issue.

Thanks @george-gca! I will file another ticket.

I have the same error after following the setup instructions strictly but @ZahraBenslimane method did not work. When I try to set gh-pages as the deploy source branch it says the folder is invalid and reverts back to deploying from main branch.

I see you created a .github/workflows/jekyll.yml file in your repository. This is messing up your build. See this answer.

@george-gca sorry forgot to mention I only created that after the original method didn't work because it was suggested in another comment. I've deleted it and the same problem persists, I cannot select gh-pages as the deploy source branch.

Have you made step 2 of our recommended approach?

In this new repository, go to Settings -> Actions -> General -> Workflow permissions and give Read and write permissions to GitHub Actions.

Yes those steps were made already and no other changes to the repo were made. The deploy branch save button disappeared for awhile but after going through and reselecting all the settings and choosing another branch first then going back to selecting gh-pages it seems to be working now.

Maybe it was a matter of waiting the build action to finish.

@george-gca, I switched the repository to gh-pages in github pages and could deploy the website but the theme page is not coming up

Note that this issue is already closed. For this check our FAQ.

@george-gca I am getting the same error. I followed all the steps mentioned to a t, didn't change anything. My code is still not able to fetch the stylesheet


Clarify consul ssl connectivity

Clarify consul ssl connectivity for https://github.com/containous/traefik/issues/1718

Thanks for the contribution.
I will close, this PR contains a wrong commit because you have re-used your previous branch.
Please create a new PR 😃 .
In the following commands, I suppose your git local repository setup is:
$ git remote -v

origin	git@github.com:bitsofinfo/traefik.git (fetch)
origin	git@github.com:bitsofinfo/traefik.git (push)
upstream	git@github.com:containous/traefik.git (fetch)
upstream	git@github.com:containous/traefik.git (push)

The commands:
# Update all remotes
git fetch --all

# Go to current master
git checkout master

# Backup previous branch
git branch temp

# Reset and update your master branch
git reset --hard upstream/master
git push -f origin master

# Create a new branch
git checkout -b doc-consul-ssl

# add the good commit on this new branch
git cherry-pick f8855186

# Push
git push origin doc-consul-ssl

# Delete backup
git branch -D temp

 # Create a new PR with the branch: doc-consul-ssl

For the next time, create a dedicate branch for each PR 😉 .


sizes when build fails (database)

A subtle bug: when build fails (compiled_kernel_size = -1), the compressed sizes are all to -1 (nice!) but the names of the sizes slightly differ: GZIP-bzimage instead of GZIP-bzImage(note the uppercase for Image)
it's not a critical bug

https://github.com/TuxML/ProjetIrma/blob/dev/compilation/compiler.py#L44-L51
I think it comes from here, it can be changed in a future build/push of the image

Indeed, you spot the inconsistency, very nice!

Solved


Fix PVC cleanup after relocate/failover with CephFS storage (volsync)

When using volsync ramen creates the PVCs on the destination cluster, so they are not owned
by OCM and OCM does not delete the PVCs when the application is deleted. Fix the issue by
copying the OCM annotations from the original PVC to the target PVC using the protected
PVCs mechanism.
This change has no effect with application sets since we don't have OCM annotations in this case. The issue also does not exist in this case.
Work in progress:

[x] Tested on ocp 4.13 + odf 4.13 + ramen 4.13 + this pr (including crds)

[x] subscription: relocate and failover work pvc is deleted after disabling dr
[x] application sets: tested relocate, failover, and disable dr for regression

[ ] test with ocp 4.14 + odf 4.14 + ramen 4.14?

Fixes #1033

We do not want this annotation apps.open-cluster-management.io/do-not-delete to persist from one cluster to another.  The do-not-delete annotation is only relevant when we prepare-for-final-sync. But if we try to move this annotation from the relocated cluster to the failover cluster, bad things might happen.

We do not want this annotation apps.open-cluster-management.io/do-not-delete to persist from one cluster to another. The do-not-delete annotation is only relevant when we prepare-for-final-sync. But if we try to move this annotation from the relocated (Preferred) cluster to the failover cluster, bad things might happen.

I did not see it propagated to the other cluster, but I can filter it out to ensure it will never be.

I did not see it propagated to the other cluster, but I can filter it out to ensure it will never be.

Right, that's all we need to do. Just filter it out.

@BenamarMk current version filter out the do-not-delete annotation.


Remove old code from interpolate

https://github.com/gtagency/buzzmobile/blob/master/buzzmobile/process/gps_mapper/interpolate.py#L58

Let's not do this until we have everything tested and working.

So we tested this, right @diptodip ? Should we close this issue?


Quick Fix: Check Java Installation Before Run GCViewer

Add Java Installation check before running GCViewer.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 64.122%

Files with Coverage Reduction
New Missed Lines
%

com/devonfw/tools/ide/tool/gcviewer/GcViewer.java
3
16.67%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.005%

Covered Lines:
5643

Relevant Lines:
8472

💛  - Coveralls


please update releases

in version 0.3.5 this method !collection.hasPrevious() line 190
change for collection.hasPreviousPage()

+1


Add OSC bundles support in osc_server.py

I had to add this to make this connect with my Lemur setup. Now it works.

Superb, thank you!


feat: Add sign message support

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Type of change.

[ ] FIX - a PR of this type patches a bug.
[x] FEATURE - a PR of this type introduces a new feature.
[ ] BUILD - a PR of this type introduces build changes.
[ ] CI - a PR of this type introduces CI changes.
[ ] DOCS - a PR of this type introduces DOCS improvement.
[ ] STYLE - a PR of this type introduces style changes.
[ ] REFACTOR - a PR of this type introduces refactoring.
[ ] PERFORMANCE - a PR of this type introduces performance changes.
[ ] TEST - a PR of this type adds more tests.
[ ] CHORE - a PR introduces other changes than the specified above.

@Strnadj thank you for addressing the comments, all that's left is to return the signed-message (accountId, publicKey, signature, state) in a URL Fragment to align the with the NEP.
I assume this will need an update in the MyNearWallet.

@Strnadj thank you for addressing the comments, all that's left is to return the signed-message (accountId, publicKey, signature, state) in a URL Fragment to align the with the NEP.
I assume this will need an update in the MyNearWallet.

Yes, I am working on that.

@kujtimprenkuSQA I think this is ready for review ... together with https://github.com/mynearwallet/my-near-wallet/pull/164/files

@kujtimprenkuSQA I think this is ready for review ... together with https://github.com/mynearwallet/my-near-wallet/pull/164/files

Thanks again for making the improvements/changes I checked the PR in MyNearWallet everything looks good to me.
We will publish a new version of the wallet-selector as soon as this is live in production in MNW.

@kujtimprenkuSQA the PR with MNW is merged.


mocha splitting = in cli arguments

mocha 6.1.4
node 10.16.0
I have an application which is started with the following:
node index.js --prefix=DEV

In node.js the arguments list shows as following (https://nodejs.org/docs/latest/api/process.html#process_process_argv):
[ '/home/karl/.nvm/versions/node/v10.16.0/bin/node',
  '/home/karl/dev/application/index.js',
  '--prefix=DEV' ]

mocha however seems to split = strings:
[ '/home/karl/.nvm/versions/node/v10.16.0/bin/node',
  '/home/karl/dev/application/node_modules/mocha/bin/_mocha',
  'index.js',
  '--prefix',
  'DEV'

This makes mocha impossible to test an application that is dependent on using the =. Or is there a workaround I'm not aware of?

Mocha's CLI parses Mocha / Node options and positional arguments. You cannot expect Mocha to do the same for your own application, and of all the others as well.
To pass your own application's options to Mocha tests:
you can use environment variables (similar to NODE_OPTIONS),
or your flags should still be available on process.argv,
or you create an RC file with your configuration, which you can access in a before hook.

@juergba I can't expect it? I disagree. This is a test framework meant to test application code. If I write a cli application that takes arguments in the form of --prefix=DEV that node.js can handle I expect mocha to do the same.
We are not talking about environmental variables here, that is a completely different matter.
Yes they are available in process.argv, but not handled correctly/the same way as node.js, which is the point of this issue, as I showed in the example.
Such workarounds work around testing application code. I was rather hoping there was a flag/argument in mocha to pass arguments to the node binary, which would act like a production application.

The question is: Will you take me seriously

I'm not sure about your profil.  Or ... I don't know.
Mocha does not test your application for you like node mocha yourApplication.js. You have to write the tests yourself and then run them against your application. And no, AFAIK Mocha does not touch process.argv.
Maybe you should have a look at our tests in our github repo, you will find some CLI test too.

Thank you for the personal remarks, there is a point with my profile which was just shown.

And no, AFAIK Mocha does not touch process.argv.

There a clear difference in the examples I have shown, perhaps someone who does know why the array is different could answer this thread.
I'm not interested in writing flaky tests, I want actually cli arguments to be passed to the node binary.


Compile-AppInNavContainer is missing "features" parameter

The Compile-AppInNavContainer is missing the alc.exe parameter "/features".
By default the alc.exe will not generate the translation file. Therefore the /feature parameter is used.
This is neccessary to build a pipeline to verify that all captions are translated.
See PR: #1447

Looks good - could you add a line to releasenotes.txt in the root, thanks.
I like that it doesn't break running on old versions etc.