Typescript service crashes with Yarn 2 SDK

Issue Type: Bug

Create a new directory
Set Yarn to version berry
Create a new project using yarn init
Add typescript as a development dependency.
Use pnpify to generate a VS Code Typescript SDK
Create a new JavaScript file
The Typescript language service will crash repeatedly

VS Code version: Code 1.48.1 (3dd905126b34dcd4de81fa624eb3a8cbe7485f13, 2020-08-19T17:09:41.484Z)
OS version: Darwin x64 20.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
16.00GB (0.30GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

vsliveshare
ms-
1.0.2666

prettier-standard-vscode
num
0.8.1

material-icon-theme
PKi
4.2.0

(1 theme extensions excluded)

@mjbvz I've found this issue only occurs with certain Yarn 2 projects. What's the best way to debug VS Code? I checked the extension startup logs and this is the only information I have:
[2020-08-25 19:31:23.390] [exthost] [error] Error: Could not create TS service. Service state:{"type":0}
	at T.service (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:1:228465)
	at T.executeImpl (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:1:236127)
	at T.execute (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:1:235730)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:1:180757
	at S.interuptGetErr (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:1:249422)
	at T.interruptGetErr (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:1:236212)
	at c.provideHover (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features/dist/extension.js:1:180725)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:680:479
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:52:136
	at new Promise (<anonymous>)
	at Object.t.asPromise (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:52:108)
	at C.provideHover (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:680:450)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:701:479
	at K._withAdapter (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:698:331)
	at K.$provideHover (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:701:457)
	at m._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:819:926)
	at m._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:819:618)
	at m._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:818:201)
	at m._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:817:6)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:815:161
	at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46:222)
	at v.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:239:494)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:1007:179
	at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46:222)
	at v.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:239:494)
	at t.PersistentProtocol._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:244:17)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:241:67
	at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46:222)
	at p.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:236:949)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:236:301
	at Socket.t (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:245:572)
	at Socket.emit (events.js:203:13)
	at addChunk (_stream_readable.js:295:12)
	at readableAddChunk (_stream_readable.js:276:11)
	at Socket.Readable.push (_stream_readable.js:210:10)
	at Pipe.onStreamRead (internal/stream_base_commons.js:166:17)

If I remember, yarn tries to patch the TypeScript server that provides intellisense. Are you using the workspace version of TypeScript (which is possibly provided by yarn)?

Yes, I'm using the Typescript version provided by Yarn 2

Teach me coding bro

Thanks. That patched workspace version would explain this problem. (Even VS Code 1.47 supports TS 4.0 so I don't think that's it)
Can you please try filing an issue against yarn 2 for this. I'm not sure there's anything we can do on the VS Code side for cases like this
As a workaround you can also try using the built-in version of TypeScript or any standard version really besides the patched one from yarn


Use fully qualified URL to avoid broken link on developer.fastly.com

Hi there!
On the Fastly developer hub we are displaying the contents of this repo's README:
https://developer.fastly.com/solutions/starters/optimizely-fastly-compute-starter-kit/
This PR helps us do a tiny bit of weeding:

Capitalize the name Optimizely
Use a fully qualified URL for links from the README to avoid creating broken links on developer.fastly.com.

It would also help our users install the starter kit if you could flip this repo to be a template repo:
https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository
This will enable customers to use our cloud deploy tool to install your starter without using any local tooling:
https://deploy.edgecompute.app/optimizely/fastly-compute-starter-kit

Gotcha. I think we should go with "Optimizely Full Stack" since these edge starter kits are for FS only. Thoughts @opti-jnguyen?

@griffincox-optimizely - suggested name change makes sense to me! Updated the naming accordingly and will likely merge soon.
@triblondon - thank you for the contribution!


Load domain names from spaces settings

Now to detect if a space have a custom domain we use this file: https://github.com/snapshot-labs/snapshot-spaces/blob/master/spaces/domains.json
We should take domains from space settings instead so we don't need to maintain a file with hardcoded domains. The domain is visible in the param "domain" example https://hub.snapshot.page/api/spaces/aragon

Closing this issue, this is not relevant anymore.


Re-exports from ipfs

Currently it's a bit of a mess. There are some parts of libipld re-exported but that is not enough and we need to depend on libipld directly on http and examples. I noticed this when I needed to get a working revision of rust-ipld and I needed to upgrade the rev to three places in #147. Intentionally trying to do as little of this in #147 so just setting the rev's on the dependencies in Cargo.tomls.
Not exactly sure what would be the correct way forward. Since the libipld is used on public api I think we should just export it, maybe even completly under for example ipfs::ipld.
Cid and cid::Codec are also re-exported but not cid::Error which is a bit strange. I think the leaning towards re-exporting it under ipfs::cid.
For libp2p things are pretty ok at the moment. For some reason libp2p::core::ConnectedPoint is re-exported even though it's only used under src/p2p/swarm.rs. Multiaddr, PeerId, PublicKey, Keypair seem like useful to have. Should these also be under ipfs::libp2p...? I don't think so, but I guess we'll learn more when someone wants to use a custom combination of some rust-libp2p features with the code from ipfs.

FYI in Git HEAD only Cid is re-exported. cid::Codec is not, and this makes it very hairy to construct a Cid from outside the crate.


Implementing co-authorship query

The query that will generate the co-authorship edges should be implemented in the neo4j graph client code.

It is done.


AN-237326: upgraded bootstrap version and jquery UI

@appian/rich-text-editor-plugin can you please add Incident Management and Plugin Management QEs (Arta Shala, Alex Chamblin, Manoj Appukuttan, and Chanel Butler) to this repo so that we may Merge?


Fixes #931. FileTarget: Log info concerning archiving to internal logger

Also moved all of the archiving properties together.

I think this will lead to conflicts when https://github.com/NLog/NLog/pull/930 has been merged.

I think you are right @304NotModified.
Actually, any change on FileTarget will potentially conflict with #930.

Thanks for this PR! It has been merged and will be released in the next version!


[server] Store all connection states in KVS

Problem
Once CASE session has been enabled, it is no longer possible to resume communication between the controller and the
device after the device reboot, because only PASE sessions are persisted.
Change overview
Rework the server code to be able to store any kind of connection (PASE and CASE) on the server side.
Also, handle connection expiration properly.
Note that at some point we may switch to another mechanism of resuming broken connections, but for now such a mechanism
does not exist.
Fixes #8321.
Testing
Tested using Python CHIP Controller and nRF Connect Lock Example:

Verified that commissioning, establishing a CASE session and sending ZCL commands works.
Verified that after the device reboot, ZCL commands can still be correctly processed by the device (although acknowledgments are sent with wrong message counters as the counter synchronization mechanism doesn't seem to work - this is to be investigated later).

Do we end up storing the message counters, or just the keys? I' not obviously seeing where we are storing counters here.
The "real" fix here seems like it should be for the message sender to try establishing a new CASE connection if a message it sends on the existing one is not acked... Trying to persist CASE sessions in general seems pretty difficult to get right.

We're storing just keys. I tried to trigger the message counter synchronization mechanism after the device reboots, but I got some errors. I didn't have time to investigate that yet, but I believe restoring the right counter should be doable having the right keys.
I agree it would be better if the controller could re-establish the session it's lost on the device side, but I'm not sure if a missing ack is a sufficient condition to trigger quite costly CASE and how that should relate to the operational discovery which should also be started with the first failed ack. I think it needs to be thought through carefully and my fix is simply a generalization of the existing mechanism for storing PASE sessions. We can disable it if we have a proper solution on the controller side.

We're storing just keys

What happens with message counters, after the reboot then?  Do they get reset to 0, leading to messages being dropped as duplicates?  Or does it end up working somehow (how?)?

generalization of the existing mechanism for storing PASE sessions

Which we are trying to get rid of....

What happens with message counters, after the reboot then? Do they get reset to 0, leading to messages being dropped as duplicates? Or does it end up working somehow (how?)?

They get reset to 1 (I believe that's the starting value). As I mentioned I was planning to investigate the message counter synchronization mechanism to discover the right value. The code for that seems to be in place, but didn't work for me somehow.

Which we are trying to get rid of....

Well... If you think it's not worth making the change and it's clear how to handle that better, I can close the PR. I just got a report that the reboot scenario, which used to work, stopped working so I tried to come up with an easy fix, but we can probably live with that regression until a proper fix shows up.

I guess it's not clear to me how this PR on its own can fix the regression, given the message counter situation... if it does, it's probably OK as a stopgap...

Thanks for not going forward with this.  These types of non-spec-compliant stopgaps only work for code that lives in the tree and opts into the non-spec-compliant solution.
The decision to use PASE for operational communication, also a non-spec-compliant stopgap, precluded all communication not initiated by the commissioner and was disruptive to several teams.  We need to look very critically at solutions that give the appearance of product-phase functionality, but are not.  I am glad we did that here.


Update dev-tools.sh script to install extension and run JDBC tests in multi-db migration mode by default

Description
This commit updates dev-tools.sh script to install Babelfish extension and run JDBC tests in multi-db migration mode by default.
Cherry-picked from https://github.com/babelfish-for-postgresql/babelfish_extensions/commit/2b0b6d543b4424a612ae0477636697b92a6f801b.
Signed-off-by: Sumit Jaiswal<EMAIL_ADDRESS>Check List

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

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.702%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
42862

Relevant Lines:
58156

💛  - Coveralls


eslint

v13.4.1 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Docs: Enable plain id anchors

Making it possible to post permanent anchored links to StackExchange etc.

Merged.


Create hotcocoa.is-local.org.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.

Description

domain for a minecraft server's website bc we cant get a domain yet lol
Link to Website

https://hotcocoa.site.namedhosting.com/

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

@KaminoCodes Make sure to star and sign the CLA.

I have read the CLA Document and I hereby sign the CLA

recheck


ci: upgrade cxx20 to Fedora:40

https://github.com/googleapis/google-cloud-cpp/issues/14076

This change is

Need to change to zlib-ng

I added
    dnf install -y zlib-ng-devel

and
        -DgRPC_ZLIB_PROVIDER=module \

Based on https://chromium.googlesource.com/external/github.com/grpc/grpc/+/HEAD/BUILDING.md
But that is now failing to build gRPC. I think we might want to build zlib locally.

I think you want:
        -DgRPC_ZLIB_PROVIDER=package \

Using module is telling gRPC to build zlib from source, and we don't want that: the dependency tree gets terribly messy.
The errors look unrelated:
/usr/bin/ld: external/googleapis/libgoogle_cloud_cpp_rpc_status_protos.a(status.pb.cc.o): in function `absl::lts_20240116::log_internal::LogMessage::operator<<(unsigned long)':
status.pb.cc:(.text._ZN4absl12lts_2024011612log_internal10LogMessagelsEm[_ZN4absl12lts_2024011612log_internal10LogMessagelsEm]+0x19): undefined reference to `_ZN4absl12lts_2024011612log_internal10LogMessagelsImTnNSt9enable_ifIXntsr4absl16HasAbslStringifyIT_EE5valueEiE4typeELi0EEERS2_RKS5_'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

That is a missing symbol in Abseil. I wonder if they have some C++20 #ifdefs or something that causes trouble downstream?

Rebased & applied the following patch
diff --git a/ci/cloudbuild/builds/clang-cxx20.sh b/ci/cloudbuild/builds/clang-cxx20.sh
index 8cb8764e2c..9616d1dfb7 100755
--- a/ci/cloudbuild/builds/clang-cxx20.sh
+++ b/ci/cloudbuild/builds/clang-cxx20.sh
@@ -34,6 +34,7 @@ readonly ENABLED_FEATURES

 io::run cmake "${cmake_args[@]}" \
   -DCMAKE_CXX_STANDARD=20 \
+  -DGOOGLE_CLOUD_CPP_COMPILER_SUPPORTS_CLANG_ABI_COMPAT_17=ON \
   -DGOOGLE_CLOUD_CPP_ENABLE="${ENABLED_FEATURES}"
 io::run cmake --build cmake-out
 mapfile -t ctest_args < <(ctest::common_args)


Added import to documentation

Thank you for the PR! Contributors like you keep React Native awesome!
Please see the Contribution Guide for guidelines:
https://github.com/facebook/react-native-website/blob/master/CONTRIBUTING.md
If your PR references an existing issue, please add the issue number below:
#

In fact, if we add the import in the example, we should wrap the lifecycle inside a proper React class.

Thank you for your PR. I think this example isn't great overall but just adding the import isn't really solving that. We are planning on rewriting most of this in the near future so I'm going to close this PR.


teavm.org unavailable

Hi. From the russian-ukrainian war started, teavm site (and artifacts repository) became unavailable.
I suppose that teavm.org is hosted in Russia (checked whois for domain).
Are there any plans to move hosting to other country?

Can you contact your local authorities to get explanation why this particular IP/domain/certificate was banned?

Ukraine

Maybe will try to build and install it locally.

Basically Russia closed all access from Ukraine because people in Ukraine DDOSed their state services. So this is the reason. I can access russian hosted sites only via Tor.
Maven central would be great, thanks.

This was mentioned on teavm-site and the mailing list some time ago when corporate firewalls were causing problems: https://github.com/konsoletyper/teavm-site/issues/29
Perhaps github pages is a option?  It's free.  https://pages.github.com/

@konsoletyper any news or obstacles about releasing 0.7.0 version to maven central?
https://mvnrepository.com/artifact/org.teavm here is only 0.6.1 version which has no fixes I need.
Last release of teavm was 3 years ago.

@Ihromant I just forgot how to do that. Tried to use instruction, but seems that I lost my old GPG keys, and I don't know how to update them to the new one (if it's even possible).

Ah, I think gnupg just changed for some reason my default key, there were several ones. I changed default key back to that I used for TeaVM and now deployments works.

@konsoletyper Thank you, with teavm released to maven central, everything works!


Regression test retype

A few lectures more, but I'm going into too much detail. Q&R.

I'm going to get some more notebooks in.


Drawable: added [Matrix.org] icons for about page

https://github.com/Donnnno/candybar-foss is our main repo, this one is for contributing to the main candybar (non foss) repo


read byte feature add

add read UInt8 (one byte) function

Merged in latest release https://github.com/yeokm1/SwiftSerial/releases/tag/0.0.12
I refactored your code and updated the documentation.


Cannot install: SHA256 mismatch

I am unable to install this, because I get a mismatch error.
brew install pushtotalk
==> Fetching yulrizka/tap/pushtotalk
==> Downloading https://github.com/yulrizka/osx-push-to-talk/archive/v0.1.5.tar.gz
==> Downloading from https://codeload.github.com/yulrizka/osx-push-to-talk/tar.gz/refs/tags/v0.1.5
######################################################################## 100.0%
Error: pushtotalk: SHA256 mismatch
Expected: dd0c639c1ba131c8b700d7fbf6475ed564be3b849e23990f39309df7b2c7e170
  Actual: 975dcded533bd31216f8b50dbad613bf0c0acebf8d4f94f1e413c2183f04de1f

Looks like this was a Github issue, see https://github.com/orgs/community/discussions/45830#discussioncomment-4823799


Adopt interactive command in notebook execution errors

Are we not worried this is taking a dependency on an interactive session provider being present?

@lramos15 once moved into the extension, the naming will be clear that it will override existing interactive session IMHO, it would behave the same as the quick fixes. With that said, it might come as a surprise to users as it overrides current session.


Flow / ESLint errors when importing named modules

I've been having this issue for the past few months and finally bugged me enough to create an issue :)
When I import anything from this module, say:
import { SceneMap, TabViewAnimated } from 'react-native-tab-view';

Flow and ESLint complain:

Even though the modules still work properly in the code. Any ideas on why this is?

Seems like a problem with your setup. I'm closing this since I can't repro it.


Adding Snappy Framing Compression Codec for Hadoop

also updated .gitignore for Intellij IDEA

@casey-green

Surely you can come up with at least one unit test (compress, decompress, compare)?


fix: remove paperclip from the repo and add openapi-generator to the shell

chore: remove paperclip from the repo
In preparation for the new openapi bindings we're removing the current paperclip from the repo.
This means we're also temporarily removing the openapi capabilities.
Also refactored the types crate to make it easier to add the coming openapi conversion models.
feat: add openapi-generator to the shell
Adds the nix derivations that build the openapi-generator from our repo
Adds the openapi-generator-cli to the dev shell
Also update the existing openapi from json to yaml!

bors try

bors try

bors merge


In OpenSSL3.0.0- alpha 17 API for FFC key generation

Hi Openssl Team,
I am using openssl3.0.0-alpha 17 version
I was not able to generate key which also return Private key and Pubic key for EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL);
Params I set were - OSSL_PKEY_PARAM_FFC_P, OSSL_PKEY_PARAM_FFC_Q and OSSL_PKEY_PARAM_FFC_G
EVP_PKEY_fromdata(ctx, &key, EVP_PKEY_KEYPAIR, params)
runs successfully but when I try to get  OSSL_PKEY_PARAM_PRIV_KEY and OSSL_PKEY_PARAM_PUB_KEY params using EVP_PKEY_get_bn_param it returns null
which API should I for this test vector -
     "algorithm": "KAS-FFC-SSC",       "revision": "Sp800-56Ar3",       "isSample": true,       "testGroups": [          {             "p": "...",             "q": "...",             "g": "...",             "tgId": 1,             "testType": "AFT",             "tests": [                {                   "ephemeralPublicServer": "...",                   "tcId": 1                }             ],             "domainParameterGenerationMode": "FC",             "scheme": "dhEphem",             "kasRole": "responder"          }
or any param changes are required

Params I set were - OSSL_PKEY_PARAM_FFC_P, OSSL_PKEY_PARAM_FFC_Q and OSSL_PKEY_PARAM_FFC_G
EVP_PKEY_fromdata(ctx, &key, EVP_PKEY_KEYPAIR, params)
runs successfully but when I try to get OSSL_PKEY_PARAM_PRIV_KEY and OSSL_PKEY_PARAM_PUB_KEY params using EVP_PKEY_get_bn_param it returns null

Can you share the code that is failing?
Did you call EVP_PKEY_keygen_init/EVP_PKEY_keygen? You don't mention it in your question.

bld = OSSL_PARAM_BLD_new();
OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p);
OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q);
OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g);
ctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL);
EVP_PKEY_fromdata_init(ctx);
params = OSSL_PARAM_BLD_to_param(bld);
EVP_PKEY_fromdata(pctx, &pkey, EVP_PKEY_KEYPAIR, params);
pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_PRIV_KEY, &Xloc->buf, &Xloc->len);
pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_PUB_KEY, &Yloc->buf , &Yloc->len);

pkey_get_bn_bytes contains EVP_PKEY_get_bn_param to get the public and private key

bld = OSSL_PARAM_BLD_new();
OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p);
OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q);
OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g);
ctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL);
EVP_PKEY_fromdata_init(ctx);
params = OSSL_PARAM_BLD_to_param(bld);
EVP_PKEY_fromdata(pctx, &pkey, EVP_PKEY_KEYPAIR, params);

The code above creates a "parameters only" EVP_PKEY, i.e. it holds the parameters p, q and g only. In order to get the private and public keys you actually need to generate them based on those parameters using EVP_PKEY_keygen_init/EVP_PKEY_generate.  E.g. something like this (error checking omitted for brevity):
    EVP_PKEY *genkey;
    EVP_PKEY_CTX *gctx = NULL;

    gctx = EVP_PKEY_CTX_new_from_pkey(NULL, pkey, NULL);
    EVP_PKEY_keygen_init(gctx);
    EVP_PKEY_generate(gctx, &genkey);

EVP_PKEY_fromdata(pctx, &peerkey, EVP_PKEY_KEYPAIR, params_peer);

Did this line actually succeed? You should check the return value. EVP_PKEY_KEYPAIR looks wrong since that instructs EVP_PKEY_fromdata to expect parameters, a public key and a private key. You are only supplying parameters and a public key. Instead you should probably use EVP_PKEY_PUBLIC_KEY

And I also noticed EVP_PKEY_generate(gctx, &genkey); is also failing for many cases

Is there an error on the stack after the EVP_PKEY_derive_set_peer failure?  OpenSSL will refuse to generate a DH key if the p value is less than 512 bits.

C0C2B64A847F0000:error:1C800080:Provider routines:dh_plain_derive:missing key:providers/implementations/exchange/dh_exch.c:152:

In this case you have attempted a "derive" operation but either the key or the peer key is absent. Probably because of some earlier failure.


Fix sw-datepicker for mounting on initial page load

1. Why is this change necessary?
Loading a page with a sw-datepicker on it as the first page (/ reloading the admin on that page) will lead to the sw-datepicker being empty and uninitialized (as seen in Image [0]). Interacting with it does not work. Opening the dev-tools shows multiple errors related to the initialization of the underlying flatpickr instance on the HTML input element (as seen in image [1]). The fact that multiple errors (and not a single one) occur is likely connected to the sw-datepicker being async, but this is not further investigated there.
Note that on all pictures related to the errors provided, you have the following information:

A log that the @hook:mounted of the component was called (see the template of sw-datepicker
A log of the state of the computed property and the $refs pointer to the HTML input object
The error in the further handling trying to create the flatpickr instance

2. What does this change do, exactly?

This change removes an indirection between the $ref with which the HTML input element is referenced and the creation of the flatpickr instance, as it is incompatible with Vue computed properties ($refs are not reactive). Effect of this change is seen in image [2].
This change introduces a safeguard that gracefully prevents a flatpickr instance from being created if the required $ref is not yet set. Effect of this change (together with 1.) is seen in [3].

3. Describe each step to reproduce the issue or behaviour.

Create a page with an unconditional sw-datepicker on it
Visit this page in the admin
Open dev-tools
Reload the admin

4. Please link to the relevant issues (if any).
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

🤖 Generated by Copilot at 7694bb8
This pull request fixes a bug in the sw-datepicker component that prevented it from working on the first page load. It also updates the changelog with the relevant information.

🤖 Generated by Copilot at 7694bb8

Add a changelog entry for the fix of the datepicker component (link)
Remove the computed property flatpickrInputRef from the datepicker component, as it caused errors if the input ref was not yet available (link)
Check if the input ref is available before initializing the flatpickr instance in the initFlatpickr method, to prevent the component from crashing on the first page load (link)
Use the input ref directly instead of the computed property in the updateFlatpickr and destroyFlatpickr methods, to simplify the code and avoid the dependency (link)

Image [0]:

Image [1]:

Image [2]:

Image [3]:

@seggewiss is there anything left that needs to be done here?

Sorry @maximilianruesch for taking so long, I was vacationing. I'll take a look if anything is missing!

Thank you for contributing :blue_heart:


vendor missing dependencies

Fixes #179
@runcom PTAL

lgtm IANAM (just a small question)

lgtm, but travis is grumpy.

Tests failing :(

Gah, always forgetting the sign-off, will make it persistent ;-)

LGTM

@s-urbaniak I've fixed glide-vc though https://github.com/sgotti/glide-vc/pull/17

you can do the re-vendor with testImport :) or I can do it in a follow up - your call!

LGTM


add security context to placeholder pod

Description
adds security context to placeholder pod

/ok-to-test sha=87b6603

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

15 of 15 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 80.471%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
2905

Relevant Lines:
3610

💛  - Coveralls

lgtm


Read and comprehend Gryadka Source

[x] Initial read of https://github.com/gryadka/js
[ ] Understand how it works
[ ] Tick.js
[ ] AcceptorClient.js
[ ] Proposer.js
[ ] Cross-reference to the paper.

Hey, I've updated the sources of Gryadka to follow the paper (initially I wrote it before the paper so there were differences), I hope it's easier to understand now :-)
Feel free to ask questions!

Thank you Denis! Thank you for the great paper. It is very interesting. We have not been programming much but we have been having fun reading the paper and learning.


Add more to datakit-client

Add datakit-client.fs9p for applications which want to expose a filesystem created with datakit-client.vfs over 9P (e.g. [docker/vpnkit#123])
Fix the requires line of datakit-client.vfs (changes were not copied from the other META file)
Both .fs9p sub-packages should depend on protocol-9p rather than protocol-9p.unix since Fs9p is functorised over V1_LWT.FLOW which makes it Mirage Unikernel-friendly

datakit-client.vfs? How did all this server stuff get into the client package?

It wasn't me! :) I agree it's odd ... perhaps the word "client" should be removed from the package name
I don't particularly mind where the code lives (datakit-foo.bar, protocol-9p.foo, mirage-vfs) ... anywhere as long as I can link to it rather than cut 'n paste it :)

Hm, perhaps this overlaps with the unmerged https://github.com/docker/datakit/pull/280

Yes, this should be fixed by #280, so closing.


fix: handle GitHub repository pagination to load all repositories (default limit: 30)

Issue
When linking an existing repository, the loadRepositories function only fetches the default 30 repositories due to the GitHub API's pagination limit. This prevents users from seeing all available repositories if they exceed the default limit.
Solution

Implemented pagination handling in the loadRepositories function by setting per_page to the maximum value of 100 and iterating through multiple pages by incrementing the page value, ensuring all repositories are fetched.
This ensures that users can see and select all repositories, regardless of the total count.
Added the affiliation parameter to fetch repositories specifically owned by the user.

For more details, refer to the GitHub API documentation.

Hi @bonniekang, many sorry for the late merge. Thank you so much for your PR 🤩


Installed CHROOT successfully bricked device

Please paste the output of the following command here: sudo edit-chroot -all

Please describe your issue:
I installed crouton with no problems. However, on reboot it goes to the chrome os is repairing itself screen (which in my opinion should be named DEATH SCREEN) and continually reboots to this screen. I was using cloudready if this helps.
If known, describe the steps to reproduce the issue:

Hello!  Did you manage to repair the chrome os or do you need some help with that?

@ZeldaMaster501,
I don't think the OP is using a Chromebook at all.

I was using cloudready if this helps.

-DennisL

Your right @DennisLfromGA ... Trying to install chroot on a nonchrome os would definitely mess something up since Chroot is designed for chrome os, not cloud ready...

I don't know how @jamesestes1711 would recover his cloud-ready os, but if he installed it through a USB or cd, he could probably enter the recovery part of the installation drive if it has one. But otherwise, don't try to install Chroot on a system that was not designed for Chroot and if you can't get it recovered, contact their support center...

A few things that might have happend are
You used gparted improperly
To much memory usage
And other than that I would not know without more details!


Text Formatting Options

Hi,
I would like to suggest creating some additional text formatting options with different colors (blue and green). A good option, would be to give the user an option to create specific formatting to be used with shortcuts or through the "Insert-Html" options.

Hi!
Thank you for your feedback! Since there are many colors, probably the best will be to have some color picker that can insert any color. With time, we will improve these things. Alternatively, you can just write it as Html:
'Blue
There are also two predefined classes that are intended mainly for design checks:
'OK (Green)
'ERR (Red)
It is also possible to use some WYSIWYG Html editor to format the text and then, copy the Html source into Calcpad.
https://onlinehtmleditor.dev/

Thanks for your response. The color picker is a great idea!
I knew about the "err" class, but not the "ok" class. The problem with the "err" class when using in the code is that it is easily confused with the system error output. See image below:

I would suggest having a separated class for system error warning, so it is not to be confused with a design check.

I do not think this is such a big trouble. The purpose of colors is to draw your attention. Then you will read the text and certainly will have to correct the compiler errors. So, the final user of the worksheet should see only the design ones.
If you want a different style, you can define it at the beginning of the worksheet, with just one line:
'<style>.fail {color:red;}</style>
I would like to avoid making Calcpad too complicated at this time with so many predefined styles and small features, but keep it as simple as possible. I think that it is actually an advantage.


not read event when element is frameset

my html code like this following :
``

TESTING - Welcome

</noframes``

@sintret this is not even a valid html page. Can you maybe post a full, valid piece of html so I can run a test? tnx

Ok Thanks, i miss tag html.


fix: file alias check added for aliasMapForJest util #76

hi @oklas, do you have any comment for this pr?

Yes, I suggested to use some way to check for directory (see previous comment) instead of checking that file has extension. Directory also may have extension.

@AlanBlanchetNeovision, take a look at this. May be you can apply review suggestion to make it ready to merge.


Make changes to support moving some pipeline infrastructre to rail_base

We would like to move the name_factory to rail_base, and update the pipelines to use it from there, and also to use the catalog_utils to set things like column names based on the input data source.

#35


Added the ability to log query parameters

Part of issue #1374

@Eilon I've parameterized the values that I don't think we should localize, does this look good?

:shipit: (sorry for delay, was on vacation)


Update tiki.py

tiki has unsafe flurry (low combo build up, s2 that loses combo vs distant targets) and requires combo time


Use dict instead of list for much faster lookup

Description of the problems or issues
Is your pull request related to a problem? Please describe.
See #483.
Does your pull request fix any issue.
Fix #483.
Description of the proposed changes
Use dict (O(1)) instead of list (O(n)) for much faster lookup
Test plan
A clear and concise description of how you test the new changes.
Tests in this repository do not use enough documents to demonstrate #483 .
I used the hardware tutorial, which uses 100 docs, to demonstrate the issue (described in https://github.com/HazyResearch/fonduer/issues/483#issuecomment-660363569) and how this PR fixes it (in https://github.com/HazyResearch/fonduer/issues/483#issuecomment-660384328).
Checklist

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[ ] I have updated the CHANGELOG.rst accordingly.

Codecov Report

Merging #484 into master will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #484      +/-   ##
==========================================
- Coverage   85.82%   85.78%   -0.05%
==========================================
  Files          88       88
  Lines        4558     4558
  Branches      848      848
==========================================
- Hits         3912     3910       -2
- Misses        464      465       +1
- Partials      182      183       +1

Flag
Coverage Δ

#unittests
85.78% <100.00%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/fonduer/utils/utils_udf.py
81.13% <100.00%> (ø)

src/fonduer/parser/visual_linker.py
83.25% <0.00%> (-0.94%)
:arrow_down:

This seems like a significant enough speedup (20x!) that it's probably worth mentioning in the changelog. What do you think?

This seems like a significant enough speedup (20x!) that it's probably worth mentioning in the changelog. What do you think?

Thanks for your suggestion! But I don't think it is worth mentioning in CHANGELOG as this fixes an issue caused by #407, which has not been released yet. From the perspective of a user who upgrades from v0.8.2, they would not notice this change.

Great point.

If you wonder the time complexity in Python, see https://wiki.python.org/moin/TimeComplexity.


add iOS specific navigation

Allows for usage on iPhone. Will programmatically push the chat view on model change and also alters the status button. Only active for iOS devices.

I haven't tried to optimize for iOS yet, but it's cool to start working on iOS integration!
This PR looks great in terms of UI. However, it won't be possible to read the model file on iOS unless we use startAccessingSecurityScopedResource() on the file selected by the user in the file browser. Would you like to address that, or would you prefer that I submit it as a separate PR first?

Different PR would probably be a good idea. Works fine in simulator, never heard of security scoped resource on device 👁

oh and I can address it if you like!

oh and I can address it if you like!

Amazing, thank you! Let me know if you need help.

@pcuenca I added the security scope handling in this PR simply because it was easy enough. The LLaMA 2 model is too big for my iPhone (apparently) and the distilgpt2 mlpackage uses token_scores which isn't supported by swift-transformers yet.. but it appears that the prediction does successfully go through on device.

distilgpt2 mlpackage uses token_scores which isn't supported by swift-transformers yet

Sorry about that, I'll upload a small compatible model later.

distilgpt2 mlpackage uses token_scores which isn't supported by swift-transformers yet

Sorry about that, I'll upload a small compatible model later.

modified swift-transformers to sort of support it, so no worries. rearranging UI after testing on device to feel more natural and will let you know when finished. changing to draft.

https://github.com/huggingface/swift-chat/assets/674503/6a8c4159-5d5f-4054-bf6c-141ce5f958a2
iPhone now defaults to a more compact interface as demonstrated above. iPad and macOS share the same layouts.

@pcuenca okie dokie, this should be good now! I have tested on iPad, iPhone, and macOS devices.


button config script not showing the sprite images and sometimes getting stuck

Button Config does not display sprite icon images. Also when switching between Char and Sprite. the correct layers are not turned off and on.
A clear and concise description of what the bug is.
To reproduce
Steps to reproduce the behavior:
Look at gif supplied
Expected behavior
I was expecting to click on the correct gif to be displayed and visually see what I am doing.  Also wish there was a feature to do a search for the symbols or a box to copy and paste the glyph in.
Also wish that there was a option to add additional Icons which would be useful for toggles. Such as unmute or mute. Right now to work around this issue, I need to duplicate the sprite or text mesh pro. Makes it harder to use the Button config script.
Screenshots

If applicable, add screenshots to help explain your problem.
Your setup (please complete the following information)

Unity Version 2019.4.13f1
MRTK Version 2.5

Target platform (please complete the following information)

HoloLens 2

Additional context
I couldn't repro but when I was inside a prefab and swithing the icons, the icons would be stuck on the first one set. The only way to fix this was to restart unity or drag and drop a fresh Prefab into my scene.

@CDiaz-MS


Knowing if a device is connected or not with GCP API

I'm using Google Logging tool to check if the registry's devices are connected or not, and each time I connect a device to Google IoT Core, after 10 seconds (or less) Google IoT Core creates a "disconnected" log entry.

My plan is to use that log entries in order to know if a device is connected or not to the broker.
I think it's related to the keep alive config like the docs says.  But I've been testing changing the keep alive param to something longer (and shorter) with the same results.
mqttClient->setOptions(180, true, 1000); // keepAlive, cleanSession, timeout

Anyone have an idea of why is this happen, or maybe knows another way to know for sure from the GCP API if a device is connected or not?
Btw I'm using an esp8266 for these tests.

After looking the "disconnect" log entry payload
{
  disconnectType: "SERVER"
  serviceName: "cloudiot.googleapis.com"
  status: {
    message: "SERVER: The connection was closed because there is another active connection with the same device ID."
    code: 6
    description: "ALREADY_EXISTS"
}
  protocol: "MQTT"
  eventType: "DISCONNECT"
}

I notice that the "disconnect" event happens because apparently there are more than one connection with the same id, but that's not the case.
I'm looking that since October the main method within the ESP8266 example was changed from:
void loop(){
  mqtt->loop();
  delay(10); // <- fixes some issues with WiFi stability

  if (!mqttClient->connected()){
    ESP.wdtDisable();
    connectMQTT();
    ESP.wdtEnable(0);
  }
}

To this:
void loop()
{
  if (!mqtt->loop())
  {
    mqtt->mqttConnect();
  }

  delay(10); // <- fixes some issues with WiFi stability
}

I think maybe that's related to the "The connection was closed because there is another active connection with the same device ID." message.
I will try implementing the updated logic.

After implemented the new logic, it happens the same error
"SERVER: The connection was closed because there is another active connection with the same device ID.".

To replicate the error just go to the registry page on Google IoT Core and click on "View logs"

And connect your ESP8266 and wait for the logs.

I suspect your device is attempted to connect more than once.
What device are you using and what do the device logs show?

@raphael-bmec-co I'm using a esp8266, specifically the Wemos mini d1. And the device's log from the Arduino console is:
Waiting on time sync...
Connecting...
Refreshing JWT
connected

Library connected!

That's it.
I don'y know why it could be trying to connects more than once

If I recall correctly, the IoT core will only terminate a connection after about a minute of no communication. Is it possible that you are starting a new connection, but the last connection has not yet terminated?

A device can only hold one connection. If you try and connect a device that is already connected, the MQTT bridge will disconnect the originally connected device. If you want to simultaneously control two devices, you can "hack" it with the HTTP bridge but this is not a supported scenario.  I believe the idle timeout is 20 minutes (see this page for updated details).

You're totally right @gguuss, but i'm following the esp8266 example exactly as is written in the library. I don't understand why it could be trying to connecting multiple times.
Do you think it could be related to the loop that checks if the device's connected?
void loop()
{
  if (!mqtt->loop())
  {
    mqtt->mqttConnect();
  }
...
}

Maybe the device looses connection and calls again mqtt->mqttConnect(); before the MQTT bridge knows that it was disconnected.

I have the same issue

Thanks for contacting Google Cloud Support. I will help you with the case.
I understand you are connecting a device to Google IoT Core and, after a few seconds, the Google IoT Core creates a “DISCONNECT” log entry; however, the device is still connected and you are able to send commands from the IoT console. Please let me know if I misunderstood.
This issue between Logs Explorer and Google IoT Core is something that the IoT engineering team is aware of and are working on. You can track the issue on the link below [1]. In the issue tracker, feel free to select the “Indicate that you are affected by this issue” option. This will help increase the priority/urgency of the issue.
Hope this information helps clarify the situation. If you have more additional questions regarding this case, don’t hesitate to ask.
Kind regards,
Cesar.
Google Cloud Support.

July 21, 2021 at 6:00:07 PM GMT+1
Hi Ben,
There is no ETA on this, just as there is not a workaround because the device log entries are created on a best-effort basis [1].
I understand this would be disappointing, however, thanks for marking the star and commenting on it, it helps to increase the priority of this issue, the more traction an issue gets, the better the odds are that the engineering team will pick it up.
I hope this helps, if you have more additional questions regarding this, please feel free to ask.
Kind regards,
C****
Google Cloud Support.

Thanks for reply,
I'm still experiencing this issue after modify several times my code. So I'll be waiting for the fix.
Thanks Google Cloud Support team.

Ben Shepley
<EMAIL_ADDRESS>July 28, 2021 at 1:14:34 PM GMT+1
So when I send a command to the device from the GCP web portal the system knows if the device is online or not. Are you confirming that I don't have functionality to inform the user of the status of the device.

Cesar Estrada Gomez
Google Support
July 28, 2021 at 10:48:33 PM GMT+1
Hi Ben,
Yes, you can try sending commands to the devices [1][2], but just bear in mind that you may get some errors such as DEADLINE_EXCEEDED error messages caused by command timeouts or FAILED_PRECONDITION error messages caused because a device is not connected. [3]
Hope this information helps.
Kind regards,
Cesar.
Google Cloud Support.
[1] https://cloud.google.com/iot/docs/how-tos/commands
[2] https://cloud.google.com/iot/docs/how-tos/commands#sending_a_command
[3] https://cloud.google.com/iot/docs/how-tos/commands#errors


[Question] Is there mechanism to set Minimum, None and Default margin while printing?

Hi,
In chrome print preview we have Minimum, None and Default  and custom margin types that user can set.
But in playwright only custom margin setting (margin top , margin bottom , margin left , margin right) is available.
Is there a way I can set Minimum, None and Default  margin types instead of custom?
I think, correct if am wrong, for None (All 0 dimensions) and Default (0.4inch I guess) can be used? But what about Minimum margin setting? How can I replicate that using custom margin option?

There is no way to set minimum margins. Also by default if you don't specify anything it will default to 0.

How can I replicate that using custom margin option?

You need to compute the margin yourself based on the page you are going to print and your criteria.


Fixes #125: maxFee DTO value errors

Fixed

Fixes #125: maxFee DTO value errors with in-aggregate MosaicSupplyChange and HashLock

Pull Request Test Coverage Report for Build 348

0 of 0   changed or added relevant lines in 0 files are covered.
10 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.6%) to 79.204%

Files with Coverage Reduction
New Missed Lines
%

src/model/namespace/NamespaceId.ts
2
80.0%

src/service/NamespaceService.ts
8
21.43%

Totals

Change from base Build 346:
-0.6%

Covered Lines:
1495

Relevant Lines:
1774

💛  - Coveralls


Skip @-rules. Nesting not supported

Other top level rules than @container were assumed to have element
selectors in parseQualifiedRule, which caused exceptions passing
@-preludes like @media queries into querySelector.
Fixes issue #9.

This fix isn't super solid. @-rules don't necessarily have blocks, for instance.

@lilles Hi,
I added your modified version of this packages to my package.json and I built it but I have the error yet. I am using React, NextJS and Tailwind.

@surma Any chance to get this merged?

I would like to second that.

We are very much interested in this as well. Anything we can do to help move this along?

Thanks for putting together this PR, Rune!
We've recently merged some extensive changes into main which should address this issue. I'd recommend folks to give the new (alpha) version a try and open a new issue if you run into any further problems.

I am still getting the error as issue #9 when using the newest version.
However, am I using @lilles lilles:skip it works.


Cannot reproduce experiment results

Is this code vastly different from the code used to generate results for the paper?
I cannot reproduce any of the results of the experiments simple_spread, simple_reference, simple_tag even after running for over 2 million iterations. The policy doesn't even look like its getting better. Any tips on this? Has somebody else got it to work?
Further, I don't see the ensemble policy part or the estimating other agents policies part in the (Section 4,2 and 4.3 in the paper) code. Am I missing something?

Hi! There was a bug in the code that prevented the sharing of reward in collaborative environments. This should be fixed now! Note that the results will be different from the paper since we refactored the code since publication, but the models should still train.
For the ensemble policies/ estimating other agent's policies, that code was created by Yi Wu. Please contact him if you'd like it to be open-sourced.

For policy ensemble and approximation, I have put the code online for easy access:
https://www.dropbox.com/s/jlc6dtxo580lpl2/maddpg_ensemble_and_approx_code.zip?dl=0


Games with tall covers aren't displayed correctly on the game page

A good example of this is Clannad:

Fixed with 5854036a217580c8c67fef0bee8bacd90996abd5


Create Browser crawler

Puppeteer crawler should be rewritten to the Browser pool crawler.

Browser specific crawlers should then extend from this class
Browser crawler should have BrowserPool specific options

Added in v1.0.0

Added in v1.0.0


destination cli

All the functionality looks good, just minor formatting and other nits.
I started a review via the GitHub API, but I think that most of the time it's much better to review together interactively. That way, we can discuss changes, agree on them, make them together, and avoid round-trips. (Also, I'm probably less likely to make deranged requests.)
After an interactive review, the "reviewer" (in quotes because often it'll be after a pairing session, in which case the reviewer is just the person who wasn't driving) will still add their review on GitHub and merge the commit, but since the real review and changes happened earlier, a lot of the time a quick LGTM and merge will be good enough.
If we can't do reviews interactively or a review isn't necessary, we can of course fall back to doing them on GitHub.


Update to v1.60.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This one needs https://github.com/conda-forge/radical.utils-feedstock/pull/93 and is needed by https://github.com/conda-forge/radical.pilot-feedstock/pull/121

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Thanks @andre-merzky! We're going to have to wait a bit until the packages from https://github.com/conda-forge/radical.utils-feedstock/pull/93 are available.

@conda-forge-admin, please restart ci

It looks like maybe I was wrong about radical.utils being noarch: python.  It looks like weird things are happening in win.  I'll try to fix that over there.

@conda-forge-admin, please rerender

@andre-merzky, sorry for the confusion!  It should have been very obvious that we skip windows.  Somehow I missed it.

@conda-forge-admin, please rerender

Travis CI is super slow, so let's see how things go with cross-compiling on Azure.

@conda-forge-admin, please rerender
(I don't think this requires a rerender but we'll see...)

@andre-merzky, @mtitov, this is finally ready to review (and hopefully merge).

Hey @xylar - thanks for digging through this!


cigien: Blacklist howtodiscuss.com

cigien requests the blacklist of the website howtodiscuss\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

howtodiscuss\.com has been seen in 5 true positives, 0 false positives, and 0 NAAs.

Approved by rene in Charcoal HQ


Add support for Java?

Functionality for generating code for the Java branch of Playwright would be useful: https://playwright.dev/java/

Hi @kaxon-dev, support for other languages is not in our roadmap but will consider it and get back to you.

https://github.com/checkly/headless-recorder/issues/232


Decentralzied Communication and Partial Information

Have decentralized agent here: https://github.com/KevinBian107/RPLH/tree/master/rplh/d_efficient
If we want to do partial information (slight change in code), then we don't need to do centralzied because it doesn't make sense.

Do blind fold on other agents

Once partial observable, every time the central agent is called, it constructs a world model.

Bakctracking -> use what the aegnt did last time to construct what agent can see and do in their boxes

Frame as reasoner with many customzied environment


Changes session ID to be a 32 byte key

OWASP recommends using at least 16 bytes as a session ID  which is larger than objectID which is 12 bytes.
This commit just changes the session ID to be generated in a similar way to the gorilla FilesystemStore

@jshnaidman I just merged your PR. Thanks!


White code when selecting

If I select amount of code it becomes just white, so it's quite hard to be read.
CLion 2020.3
MacOs 10.15.6

Thanks for pointing this out. Update will show up in the plugin repository within the next few days.


Splash screen is black even when theme is set to light

The pure black splash screen makes the startup animation less noticeable. It looks weird when the whole display suddenly turns to black.
I'm using an Android 11 device by the way.
Hoping this gets fixed.
Thank you.
Related: #133

wow.When I opened the full-screen settings, the display was normal! I'm so excited!

@fenglilinglegeluan you're welcome.


SVGs with no xmlns are unsupported

tosh's default sprite doesn't specify an XML namespace:
<svg width='25px' height='20px'><path style='fill:#007de0;stroke:#033042;stroke-width:1;stroke-linejoin:round;' d='M 0,0 20,8 0,16 6,8 Z' /></svg>

aac22d5 means these SVGs now fail to load (Cannot set property 'visibility' of undefined).
Entirely my fault of course, and obviously I'll go fix that; but unfortunately I can't fix projects which were already shared! :)
example project

Thanks for the rest of the changes; they mean I don't have to patch phosphorus any more :D

Does Scratch ever do this?

Does Scratch ever do this?

No, I don't think so.

I can't think of a way to do this without either parsing the root element by hand and adding an xmlns attribute or trying to parse it twice (once as HTML, once as xml).


Edit mode: deleting / selecting messages + Media in bulk

Hi,
How to use edit mode?
This feature is implemented or not?
If yes,let me know how to use it?
Thanks.

Hey @kiran5232 - feature request for this at #235
please don't open duplicate issues! :smile:


Termination of the program

Add correct termination of the program by pressing "Ctrl + C".
At the moment, the work does not complete immediately, it takes several presses and many errors appear. Also, the session doesn't seem to end correctly.

Thank you. Good issue


belinda_android-02-84-refactor_product_model

Resolves #84
This PR will update the product model to match with the backend. Below is the submission form:
Submission Form

Added more enum classes to create a new product with the drop-down menu (similar to the Sizes previously)
Updated other screens to make the app work properly.
Shoe sizes are displayed numerically, while waist and inseam sizes are shown for pants.

I have a couple questions:
Is the ProductType supposed to represent the name of the product or the larger category the product falls under? With ProductType being an ENUM and no separate ProductName field every product within a category is going to be called the same thing as things are now.
Since the products are supposed to be separated into larger categories (dresses, shirts, etc.), how are we going to store a list of our categories (along with whatever images we'll use to represent them on the home page)? Shouldn't we be creating a Category/Type model as well?

Hi @taylorpapke, do you have any ideas on this?

Hi @nickolasram @tinpham5614 Yes, I suppose we will need a category type as well. I still need to talk to the client about what kind of categories they would like. For now, I think the category type should be the same as the product type and we could potentially remove the product type name: "dress" from each of the product cards and place it at the top under the nav bar to show we are on the dresses page.
We may be able to hold off on this for now because the client may want a "graduation" or "winter" category in which case it will be useful to have the product type name: "gown (graduation)" or name: "jacket/blazer" on each card that is shown on the product page for that category. @theGaryLarson will we need to change our model to facilitate this?

@taylorpapke thank you for the clarification.


pull request for e2e test at 01/01/2017 06:56:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Review implementation of DuplicateCheckerPlugin

It looks like the use of the hashes list in the plugin is buggy. Have to review the implemenation

Might also be worth having some test coverage for event hash generation.

Closing as WAD


execution-flow/#phases image description is incorrect

Description
Describe the issue that you're seeing.
https://coraza.io/docs/seclang/execution-flow/#phases
image description is incorrect

Steps to reproduce
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).
Expected result
Add Response Headers
Actual result
Add Request Headers
Environment
https://coraza.io/docs/seclang/execution-flow/#phases

I think @jptosso had the right graphic somewhere.
On Sat, 24 Jun 2023, 10:10 WesleyOne, @.***> wrote:

Description
Describe the issue that you're seeing.
https://coraza.io/docs/seclang/execution-flow/#phases
image description is incorrect
[image: err_coraza_io_docs_seclang_execution-flow#phases]
https://user-images.githubusercontent.com/24919538/248453297-59652742-e1eb-461f-95ed-e8e60fb8e571.png Steps
to reproduce
Clear steps describing how to reproduce the issue. Please please please
link to a demo project if possible, this makes your issue much easier
to diagnose (seriously).
Expected result
Add Response Headers
Actual result
Add Request Headers
Environment
https://coraza.io/docs/seclang/execution-flow/#phases
—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza.io/issues/209, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYAQEGK2AXYYVSHG7XOTXM2OI3ANCNFSM6AAAAAAZSL35LM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yup


Other parser implementations

I didn't see your project when I started my parser implementation https://github.com/m-novikov/tree-sitter-sql
I added you to the readme, but maybe we should join forces somehow :)

There's also tjdevries/tree-sitter-sql and tk-shirasaka/tree-sitter-sql that I know of.

On future plans I do think it'd be good to talk with the maintainers of other tree-sitter-sql projects -- maybe we could set up a chatroom of some sort so everyone doesn't have to coordinate right off the bat? There's still no official binding and it'd be nice to consolidate our various efforts and get that process started.

Great idea!
Also, sorry for the late reply here @m-novikov, I'd be happy to add a list of other implementations. I think the suggestion from @dmfay to consolidate our efforts makes a lot of sense. I'm open to suggestions and ideas on how to do this. In the meantime I can set up a chatroom (e.g. discord, slack, etc) add a link to the readme. I'll also invite other maintainers to join the conversation.
If the chatroom is desired leave a 👍 on this comment and I'll set that up.

I am sure tree-sitter is good.
But for sql, the kinds of dialects could be a large challenge.
I wanna provide a ref for help (more or less) : https://github.com/AlecStrong/sql-psi
Look forward to the solution with tree-sitter ~

What's a good strategy to have multiple SQL variants live side by side in a single repo... and is such a thing even realistic? For example, maybe it's better that pg sql & sqlite are distinct grammars/repos.
I'm also think about this from the perspective of making an mssql grammar. I don't necessarily think it'd be useful to open a PR for that to any of these repos. Perhaps a forking to tree-sitter-mssql and making the adjustments there would be preferable.

What's a good strategy to have multiple SQL variants live side by side in a single repo... and is such a thing even realistic? For example, maybe it's better that pg sql & sqlite are distinct grammars/repos.

I can't speak for anyone else but I don't think it's unrealistic as such. It's a good question and might not have an easy answer.
Languages are always moving targets (some faster than others), and tree-sitter grammars seem to be generally descriptive rather than prescriptive; Postgres won't be replacing libpg_query with tree-sitter any time soon. But in most cases, language changes/differences are purely additive. For example, a Python grammar would support the pattern matching introduced in Python 3.10 whether or not you yourself have upgraded to it yet. It'd highlight or pass or what have you code with pattern matching that would blow up in your 3.9 interpreter, and that's your problem not the grammar's.
SQL dialects however have intra-family incompatibilities like the standard LIMIT at the end vs T-SQL's TOP up front. A permissive or dialect-agnostic grammar would have to accept either -- or both. I think the question fundamentally comes down to how we feel about parsing SELECT TOP 10 stuff FROM things LIMIT 11. That's fine by me, since I want to process anything that looks enough like SQL without caring whether it's T-SQL, PL/SQL, CQL, or even whether it's really runnable. But that's my use case. It's not inconceivable that someone else would prefer to see an error in the TOP xor the LIMIT, and while they could use a dialect-specialized parsing library like libpg_query, they might have some other reason to prefer tree-sitter.
The dialect purity ship has definitely sailed as far as this grammar is concerned, since I've introduced a fair few Postgresisms over Derek's MySQL base. Is T-SQL too different? Not for me, but maybe for someone.

The dialect purity ship has definitely sailed as far as this grammar is concerned, since I've introduced a fair few Postgresisms over Derek's MySQL base. Is T-SQL too different? Not for me, but maybe for someone.

In a world where multiple SQL flavors are mixed into a single grammar, how could you use that to build a linter? Or also, how could you look at a file and detect which flavor it was?
I'm new to tree sitter so maybe there's a built in answer. For example, does the grammar have a concept of "variant" or "flavor", such that parsed nodes could be queried by flavor, and to detection that way?

If you're building a linter or a compatibility detector, you want a strict grammar. But there are other purposes where strictness is less or not important, or even a hindrance. The prototypical case of syntax highlighting is in the less-to-not category (it's certainly debatable exactly where it lands); meanwhile I'm pulling database object info out of anything that looks enough like an SQL statement, so permissivity is an important asset to me and I'd hate to have to work around n strict grammars instead.
I don't believe there is a built-in capability for distinguishing dialects. There aren't too many cases like SQL out there.

In a world where multiple SQL flavors are mixed into a single grammar, how could you use that to build a linter? Or also, how could you look at a file and detect which flavor it was?

I don't believe there is a built-in capability for distinguishing dialects. There aren't too many cases like SQL out there.

The only thing I've seen that is similar is tree-sitter-typescript. It actually builds on top of the tree-sitter-javascript. It also defines two grammar with-in the project, typescript & tsx.
It may be possible to build a base grammar and use it as the foundation for composing other specific grammars dialects.

This original cause of this issue was fixed in https://github.com/DerekStride/tree-sitter-sql/commit/d54ae82dc56c3c258279738affbb3452aad28368


[Event Request] codeunit 1440 "RC Headlines Page Common" - OnAfterDocumentationUrlTxt

Please add new event in codeunit 1440
procedure DocumentationUrlTxt() Result: Text
begin
    Result := 'https://go.microsoft.com/fwlink/?linkid=2152979';
    OnAfterDocumentationUrlTxt(Result);
end;

[IntegrationEvent(false, false)]
local procedure OnAfterDocumentationUrlTxt(var Result: Text)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47656.


pip install error

Can't install from pip or from github (python setup.py install).
error: paver-minilib.zip: No such file or directory

Hi Stephen
I get the same error as kplaxmaster (stacktrace follows) when trying to install gnotty using
pip install -U gnotty
The suggested workaround works for me
g
Downloading/unpacking gnotty
Downloading Gnotty-0.2.6.tar.gz (299kB): 299kB downloaded
Running setup.py (path:/home/graham/Virtual-Environments/readme-work/build/gnotty/setup.py) egg_info for package gnotty
warning: no previously-included files matching '*' found under directory 'docs/build'

Downloading/unpacking gevent-socketio==0.3.5-beta (from gnotty)
Downloading gevent-socketio-0.3.5-beta.tar.gz
Running setup.py (path:/home/graham/Virtual-Environments/readme-work/build/gevent-socketio/setup.py) egg_info for package gevent-socketio
Installed /home/graham/Virtual-Environments/readme-work/build/gevent-socketio/versiontools-1.9.1-py2.7.egg

warning: no previously-included files found matching 'socketio/.ropeproject/*'
warning: no previously-included files found matching 'socketio/sample_protocol_for_doc.py'

Downloading/unpacking irc==2.0 (from gnotty)
Downloading irc-2.0.zip (106kB): 106kB downloaded
Running setup.py (path:/home/graham/Virtual-Environments/readme-work/build/irc/setup.py) egg_info for package irc
Searching for hgtools
Reading https://pypi.python.org/simple/hgtools/
Best match: hgtools 6.3
Downloading https://pypi.python.org/packages/source/h/hgtools/hgtools-6.3.zip#md5=584d74b81b1efae3604c53086d1a3acb
Processing hgtools-6.3.zip
Writing /tmp/easy_install-c3XG1W/hgtools-6.3/setup.cfg
Running hgtools-6.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-c3XG1W/hgtools-6.3/egg-dist-tmp-TfBhF0
Traceback (most recent call last):
File "", line 17, in
File "/home/graham/Virtual-Environments/readme-work/build/irc/setup.py", line 10, in
paver.tasks.main()
File "paver-minilib.zip/paver/tasks.py", line 808, in main
File "paver-minilib.zip/paver/tasks.py", line 786, in _launch_pavement
File "paver-minilib.zip/paver/tasks.py", line 739, in _process_commands
File "paver-minilib.zip/paver/tasks.py", line 653, in _parse_command_line
File "paver-minilib.zip/paver/tasks.py", line 611, in _preparse
File "paver-minilib.zip/paver/tasks.py", line 107, in get_task
File "paver-minilib.zip/paver/setuputils.py", line 167, in get_task
File "paver-minilib.zip/paver/setuputils.py", line 195, in _get_distribution
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/dist.py", line 239, in init
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
replace_conflicting=True
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 580, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 818, in best_match
return self.obtain(req, installer) # try and download/install
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 830, in obtain
return installer(requirement)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
return cmd.easy_install(req)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1000, in run_setup
run_setup(setup_script, args)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 47, in run_setup
working_set.init()
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 430, in init
self.add_entry(entry)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 444, in add_entry
for dist in find_distributions(entry, True):
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 1745, in find_eggs_in_zip
metadata = EggMetadata(importer)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 1710, in init
self.zipinfo = build_zipmanifest(importer.archive)
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 1477, in build_zipmanifest
zfile = zipfile.ZipFile(path)
File "/usr/lib/python2.7/zipfile.py", line 756, in init
self.fp = open(file, modeDict[mode])
IOError: [Errno 2] No such file or directory: 'paver-minilib.zip'
Complete output from command python setup.py egg_info:
Searching for hgtools
Reading https://pypi.python.org/simple/hgtools/
Best match: hgtools 6.3
Downloading https://pypi.python.org/packages/source/h/hgtools/hgtools-6.3.zip#md5=584d74b81b1efae3604c53086d1a3acb
Processing hgtools-6.3.zip
Writing /tmp/easy_install-c3XG1W/hgtools-6.3/setup.cfg
Running hgtools-6.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-c3XG1W/hgtools-6.3/egg-dist-tmp-TfBhF0
Traceback (most recent call last):
File "", line 17, in
File "/home/graham/Virtual-Environments/readme-work/build/irc/setup.py", line 10, in
paver.tasks.main()

File "paver-minilib.zip/paver/tasks.py", line 808, in main
File "paver-minilib.zip/paver/tasks.py", line 786, in _launch_pavement
File "paver-minilib.zip/paver/tasks.py", line 739, in _process_commands
File "paver-minilib.zip/paver/tasks.py", line 653, in _parse_command_line
File "paver-minilib.zip/paver/tasks.py", line 611, in _preparse
File "paver-minilib.zip/paver/tasks.py", line 107, in get_task
File "paver-minilib.zip/paver/setuputils.py", line 167, in get_task
File "paver-minilib.zip/paver/setuputils.py", line 195, in _get_distribution
File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/dist.py", line 239, in init
self.fetch_build_eggs(attrs.pop('setup_requires'))

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
replace_conflicting=True

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 580, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 818, in best_match
return self.obtain(req, installer) # try and download/install

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 830, in obtain
return installer(requirement)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
return cmd.easy_install(req)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item
dists = self.install_eggs(spec, download, tmpdir)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
return self.build_and_install(setup_script, setup_base)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
self.run_setup(setup_script, setup_base, args)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1000, in run_setup
run_setup(setup_script, args)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 47, in run_setup
working_set.__init__()

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 430, in init
self.add_entry(entry)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 444, in add_entry
for dist in find_distributions(entry, True):

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 1745, in find_eggs_in_zip
metadata = EggMetadata(importer)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 1710, in init
self.zipinfo = build_zipmanifest(importer.archive)

File "/home/graham/Virtual-Environments/readme-work/local/lib/python2.7/site-packages/pkg_resources.py", line 1477, in build_zipmanifest
zfile = zipfile.ZipFile(path)

File "/usr/lib/python2.7/zipfile.py", line 756, in init
self.fp = open(file, modeDict[mode])

IOError: [Errno 2] No such file or directory: 'paver-minilib.zip'

Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/graham/Virtual-Environments/readme-work/build/irc
Storing debug log for failure in /home/graham/.pip/pip.log

I didn't hit this on a brand new machine. I think it's machine specific, and a setup issue with one of the required libs (the irc lib I believe, but not entirely sure).

Just wanted to add that on a fresh trusty VM in a virtualenv'd pip this error still occurs (and yes pip installing paver then fixes it).

I found this issue when Googling about getting this same error in my own project, I was able to resolve it by changing the generated setup.py to refer to the minilib archive with an absolute path:
try:
    import paver.tasks
except ImportError:
    from os.path import abspath
    from os.path import exists
    minilib = "paver-minilib.zip"
    if exists(minilib):
        import sys
        sys.path.insert(0, abspath(minilib))
    import paver.tasks

paver.tasks.main()

Hope that might be helpful to you or the next person who finds this.

Still exists..I'll put in a PR if it annoys me again.


possible to add keys?

Is it possible to add keys to the Trie after its been created? I've seen the restore facility (eg: trie.restore_key(1)) and looked into the source but haven't seen anything offering this. Something like
t = Trie([u'one'])
t._add_key(u'two')

No, it is not possible.


[WIP] Add documentation for heap snapshot schema

Docs Build status updates of commit 60fed31:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md
:warning:Warning
View
Details

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md

Line 209, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'images/heap_snapshot_playground.gif'.
Line 3, Column 14: [Suggestion: duplicate-descriptions - See documentation] Attribute 'description' with value 'Use the Detached Elements tool in the Microsoft Edge DevTools to find and fix DOM memory leaks.' is duplicated in 'devtools-guide-chromium/memory-problems/dom-leaks.md(3,14)', 'devtools-guide-chromium/memory-problems/heap-snapshot-schema.md(3,14)'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit ff2bb54:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md
:bulb:Suggestion
View
Details

microsoft-edge/devtools-guide-chromium/memory-problems/images/heap_snapshot_playground.gif
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md

Line 3, Column 14: [Suggestion: duplicate-descriptions - See documentation] Attribute 'description' with value 'Use the Detached Elements tool in the Microsoft Edge DevTools to find and fix DOM memory leaks.' is duplicated in 'devtools-guide-chromium/memory-problems/dom-leaks.md(3,14)', 'devtools-guide-chromium/memory-problems/heap-snapshot-schema.md(3,14)'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1da41e1:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md
:bulb:Suggestion
View
Details

microsoft-edge/devtools-guide-chromium/memory-problems/images/heap_snapshot_playground.gif
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md

Line 3, Column 14: [Suggestion: duplicate-descriptions - See documentation] Attribute 'description' with value 'Use the Detached Elements tool in the Microsoft Edge DevTools to find and fix DOM memory leaks.' is duplicated in 'devtools-guide-chromium/memory-problems/dom-leaks.md(3,14)', 'devtools-guide-chromium/memory-problems/heap-snapshot-schema.md(3,14)'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit aa2bd38:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md
:bulb:Suggestion
View
Details

microsoft-edge/devtools-guide-chromium/memory-problems/images/heap_snapshot_playground.gif
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md

Line 3, Column 14: [Suggestion: duplicate-descriptions - See documentation] Attribute 'description' with value 'Use the Detached Elements tool in the Microsoft Edge DevTools to find and fix DOM memory leaks.' is duplicated in 'devtools-guide-chromium/memory-problems/dom-leaks.md(3,14)', 'devtools-guide-chromium/memory-problems/heap-snapshot-schema.md(3,14)'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Next steps:

Merge this into a new branch local to this repository (not main).
Do an edit pass on the new branch.
Do the final review and merge to main.

Docs Build status updates of commit aa2bd38:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md
:bulb:Suggestion
View
Details

microsoft-edge/devtools-guide-chromium/memory-problems/images/heap_snapshot_playground.gif
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema.md

Line 3, Column 14: [Suggestion: duplicate-descriptions - See documentation] Attribute 'description' with value 'Use the Detached Elements tool in the Microsoft Edge DevTools to find and fix DOM memory leaks.' is duplicated in 'devtools-guide-chromium/memory-problems/dom-leaks.md(3,14)', 'devtools-guide-chromium/memory-problems/heap-snapshot-schema.md(3,14)'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


no rule found for .merlin-exists

When I follow the instructions for building hello world in the quick start guide, I get
$ jbuilder build hello_world.exe
Workspace root: /home/nathan/pill/src/hello-world
Running[0]: /home/nathan/.opam/4.04.0/bin/ocamlc.opt -config > /tmp/jbuildcad7cf.output
Running[1]: /home/nathan/.opam/4.04.0/bin/ocamlfind printconf path > /tmp/jbuild71440f.output
Running[2]: /usr/local/bin/opam config var lib > /tmp/jbuildc7d285.output
Actual targets:
- _build/default/hello_world.exe
No rule found for _build/default/.merlin-exists

Addressed here already https://github.com/janestreet/jbuilder/issues/20

Right.  Thanks


Comply with contribution guidelines on wiki

https://wikijs.creativecommons.org/tech/github-repo-guidelines

@aldenstpage how can one register on the wiki to read more? Is access to the wiki restricted to certain members of the organisation?

@dhruvkb that is our internal wiki and only open to CC staff. I will move the contribution guideline checklist to the public CC Open Source website when I have time.


Want an example of Column_list parameter

I need one example of Column_list parameter .
I am using below code but it is showing incorrect syntax.
     LINE 1                  'COPY INTO  '+@TableName+'
 LINE 2						        [(Sec_Id,[2], [2])]
                            FROM ''' + @STORAGE_BASE_URL + @FILE_LOCATION +'/'+ @FileName + '''' +

This is just one part of the code in this when i am removing line no 2 code is working file else it is throwing error .

@RasalShukla -- Rasal, thank you for your feedback.  Please see these resources:

DBA Stack Exchange
Stack Overflow

Are you looking at particular docs.microsoft.com article?


Default config for Style/PercentLiteralDelimiters cop doesn't much ruby style guide.

In description for Style/PercentLiteralDelimiters cop by default it check to use () for %w. But in ruby style guide to which the cop references is suggested to use [] for %w, which I think is better.
Expected behaviour
I expect that with default config rubocop will follow ruby style guide and not make warning for construction like %w[...] and will not suggest to change it to %w(...)
Actual behavior
Now rubycop with default config for code like %w[...] show warning %w-literals should be delimited by ( and ).
RuboCop version
$ rubocop -V
0.47.1 (using Parser <IP_ADDRESS>, running on ruby 2.2.0 x86_64-darwin16)

Same happens with %i

@Drenmi @bbatsov Thank you!

Thanks for reporting @shir. 🙂


Stacked labels always center content

Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
Ionic:

   ionic (Ionic CLI)             : 4.3.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-beta.16
   @angular-devkit/build-angular : 0.10.6
   @angular-devkit/schematics    : 7.0.6
   @angular/cli                  : 7.0.6
   @ionic/angular-toolkit        : 1.2.0

System:

   NodeJS : v8.12.0 (/usr/local/bin/node)
   npm    : 6.4.1
   OS     : macOS High Sierra

Describe the Bug
When using position="stacked" on an ion-label, the content beneath will always be centered.
Steps to Reproduce
Steps to reproduce the behavior:

Create new blank Ionic 4 project.
Add an ion-item a stacked ion-label and content.
The label will be properly stacked, but the content is horizontally centered.

Related Code
If you are able to illustrate the bug with an example, please provide a sample application via an online code collaborator such as StackBlitz, or GitHub.
Expected Behavior
I would expect the text would be left-justified by default.
Additional Context
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, screenshots, OS if applicable, etc.

Thanks for the issue! This is something that I believe item has done for awhile now. It has align-items: center on the native item. Did you just start seeing this recently? Generally a stacked label is meant to be used with an input, like the following:

I'm not sure of your markup, but if you're using something like a div you can style it using the following:
<ion-item>
  <ion-label position="stacked">Testing</ion-label>

Some content

</ion-item>

Sorry the issue was mistaken as a v3 issue. Reopened. 🙂

Sometimes we have to display data in a read-only format, so an input doesn't make a lot of sense. I was expecting I could do something like
<ion-item>
  <ion-label position="stacked">First Name</ion-label>

{{person.firstName}}

</ion-item>

But that gets centered. The align-self workaround above does work.

I'll have to look into seeing if there's an easy way for us to do this without breaking the standard items. The issue is if I change the alignment of an item by default to start then it will break the list items:
align-items: center:

align-items: start:

I think the solution here (in Ionic) is to change the alignment for stacked/floating items like this:
.item-label-stacked,
.item-label-floating {
  align-items: start;
}

and/or move the css for this rule to the parent item and inherit it in the inner one so the user has more control over it.
In the meantime could you please continue to use the workaround. Thanks! 🙂

Will do. Thanks for looking into this!