external (cgo) linking - failure to build groupcache

When building gdu 5.26.0 in COPR for the various rpm distros, the Fedora Rawhide builds fail with the error snip below. (All the other distros builds) I set the go build command like:
GO111MODULE=on CGO_ENABLED=0 go build \
Is groupcache requiring cgo on newer versions of go? Should I enable cgo for all builds or only Rawhide?
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/klauspost/compress v1.12.3
go: downloading golang.org/x/net v0.0.0-20220722155237-a158d28d115b
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6
-linkmode=external requires external (cgo) linking, but cgo is not enabled
error: Bad exit status from /var/tmp/rpm-tmp.XO7oTi (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.XO7oTi (%build)
Finish: rpmbuild gdu-5.26.0-1.fc40.src.rpm
Finish: build phase for gdu-5.26.0-1.fc40.src.rpm
INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan
INFO: /var/lib/mock/fedora-rawhide-aarch64-1707806942.943790/root/var/log/dnf5.log
ERROR: Exception(/var/lib/copr-rpmbuild/results/gdu-5.26.0-1.fc40.src.rpm) Config(fedora-rawhide-aarch64) 0 minutes 20 seconds
INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot

I think you need to remove -linkmode=external from gdu.spec. CGO is not used by Gdu or it's dependencies and should be disabled.


Code of "Get Started: Secure Channel with Entity" leads to compile errors

If I take the code from Secure Channel with Entity, I get some compile errors. For example, IdentifierTrustPolicy should be TrustIdentifierPolicy. I found a working version of the code in the ockam repository: https://github.com/ockam-network/ockam/blob/develop/examples/rust/get_started/examples/old/13-secure-channel-with-entity.rs. But I don't know if that code is still up-to-date, as it is in an old folder.

@cakebaker thank you for filing an issue 🙏
This example that uses TrustIdentifierPolicy is correct. It's in the old folder because we're releasing a brand new set of examples this weekend and are moving things around because of that.

Closing ticket as the new examples are online.

Thank @cakebaker 🙏 we'll post some more examples through the course of this week


Interactive change file

Objective
In this PR, I I tried to solve #28, adding a functionality to the codelog, that permits the users to create the change files in an interactive way.
If the user add the --interactive(or just -i) option to the new command, the system will ask for the changes, accordingly to the responses from the user.

The example above generated a file with the following content:

Notes

Currently, the command does not verify if the provided type is valid.
The generated file is not exactly like the template. I just used the parser, provided by the YAML library.

How to test

Generate a change file, using the commandcodelog new -i

Choose a type of change
Add some changes

To increase the indent, add : to the end of the phrase

Verify if the generated file is correct

Checklist

[x] I have read the CONTRIBUTING document.
[x] I have created a Codelog changefile with the changes made to the branch.
[x] I have created a test proving that my feature/fix does what it intends to do.
[x] I have updated the documentation accordingly. (If needed)

I will let this PR closed, because I think this change is not fitting well in the system. I will just leave it behind, so if someone want to continue it, feel free to do whatever you like.


New minor version needed?

I fixed an incompatibility with Julia 1.9.2 and a few warnings. One of them is
┌ GraphMatFun [456a00ab-810a-4bbb-9f06-6bc08c0a1e82]
│  WARNING: method definition for #compute_bwd_theta#67 at ~/.julia/packages/GraphMatFun/cqWZh/src/error_bounds.jl:205 declares type variable T but does not use it.
└

which shows up when the package is pre-compiled (upon download from the Julia Registry). Should we advance to v1.0.1, so that the compilation warning disappears for new users?

Thanks. Sounds good!


README: Make 'process_xxx' as a local variable

I added a newline at 'execution blocks'. Sorry, please remove it

Hi @shikukuya Thanks for this. It's a nice idea and definitely possible. However, I think it "buries the lead" and hides the most important part by putting it last, the switch statement.


support neovim float window

By using float window, it can be used on a read only buffer or on a terminal buffer

Cool, thanks for the contribution!
Can you post a video showing how this can be used? And also update the help documentation?

Hi,
I didn't change any of the usage or keymap.
It doesn't need any other configuration. When the neovim floating window feature is detected, it will be enabled automatically.
There is an option let g:snipe_float_window=0 to disable this feature.


Pass package version to CLI command explicitly

closes #55
Since the package name is mdio and installation is Multidimio, click couldn't find the package version by itself. To fix this and avoid future issues, we pass the version explicitly.

Codecov Report

Merging #56 (3e0db7c) into main (7cdafac) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #56   +/-   ##
=======================================
  Coverage   80.85%   80.85%
=======================================
  Files          43       43
  Lines        1583     1583
  Branches      203      203
=======================================
  Hits         1280     1280
  Misses        267      267
  Partials       36       36

Impacted Files
Coverage Δ

src/mdio/__main__.py
77.77% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


gradlew build error

HI:
When I was build,it was in error.
[root@localhost backend-service]# ../gradlew build
Defining custom 'build' task when using the standard Gradle lifecycle plugins has been deprecated and is scheduled to be removed in Gradle 3.0
Defining custom 'check' task when using the standard Gradle lifecycle plugins has been deprecated and is scheduled to be removed in Gradle 3.0
Defining custom 'assemble' task when using the standard Gradle lifecycle plugins has been deprecated and is scheduled to be removed in Gradle 3.0
:backend-service:playClean
[info] Loading project definition from /usr/local/wherehows/WhereHows/backend-service/project
[info] Set current project to backend-service (in build file:/usr/local/wherehows/WhereHows/backend-service/)
[success] Total time: 1 s, completed 2016-11-25 17:19:47
:wherehows-common:compileJava UP-TO-DATE
:wherehows-common:processResources UP-TO-DATE
:wherehows-common:classes UP-TO-DATE
:wherehows-common:jar UP-TO-DATE
:hadoop-dataset-extractor-standalone:compileJava UP-TO-DATE
:hadoop-dataset-extractor-standalone:processResources UP-TO-DATE
:hadoop-dataset-extractor-standalone:classes UP-TO-DATE
:hadoop-dataset-extractor-standalone:jar UP-TO-DATE
:metadata-etl:compileJava UP-TO-DATE
:metadata-etl:processResources UP-TO-DATE
:metadata-etl:classes UP-TO-DATE
:metadata-etl:copyFiles UP-TO-DATE
:metadata-etl:jar UP-TO-DATE
:backend-service:copyPlayLibs UP-TO-DATE
:backend-service:playCompile
[info] Loading project definition from /usr/local/wherehows/WhereHows/backend-service/project
[info] Set current project to backend-service (in build file:/usr/local/wherehows/WhereHows/backend-service/)
[info] Updating {file:/usr/local/wherehows/WhereHows/backend-service/}root...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 6 Scala sources and 46 Java sources to /usr/local/wherehows/WhereHows/backend-service/target/scala-2.10/classes...
[error] error while loading , error in opening zip file
scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.
[error] (compile:compileIncremental) scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.
[error] Total time: 13 s, completed 2016-11-25 17:20:55
:backend-service:playCompile FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':backend-service:playCompile'.
> Process 'command '/usr/local/wherehows/activator-1.3.11-minimal/bin/activator'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Hope to get answers,thx

Are you using the Master branch or Linkedin branch?
It seems you might need to install Scala and include it in the classpath for sbt to run.

Problem has been solved.
I move the WhereHows to the root directory.
the build is success.

test


Cache not shrinking with timeouts

Awesome just right library, thanks!
Running into some occasional out of memory issues.  Timeout set to 5 minutes.  So added some logging which indicated the cache delete was not always being fired.  Looks like the issue is that there is a slight timing issue between when the timeout is called and oldRecord.expire < Date.now().
In this case, the timeout fires, but oldRecord.expire < Date.now() is still true, so the cache object is not deleted.  Timeout has been cleared, so the code won't get called again.
I forked node-cache and hacked in the line:
if (!isNaN(record.expire)) {
     record.timeout = setTimeout(function() {
+      delete record.expire;
       exports.del(key);

While this solves the issue for my case, e.g. timeout always wins, i wouldn't know if it has unintended consequences, or what would be the better way to fix this.
The more direct approach is to assume if export.del is called, the user really wants to delete, regardless of expiration.
On second review, additionally, maybe the logic was supposed to be ">" not "<"?  I assume the intent was to prevent deletion if the expiration date has not yet been reached?
if (!isNaN(oldRecord.expire) && oldRecord.expire > Date.now()) {
  canDelete = false;
}

+1

+1. This issue is especially obvious on large scale. I am running a 20 nodejs cluster and am using this library for in memory caching. The memory leak is obvious at such scale and causing crashes aver few hours. What I did is always delete on calling the del(), method regardless of the record timestamp.

The memory leak issue is fixed btw. after making the change on the delete method and so far I don't see any side effects.

@kavika-1 +1 the comparison should be reversed.  The oldRecord.expire won't be less than Date.now since it equals Date.now + time.  It will be greater than Date.now until time=0 at which point cache.del should pass and canDelete=true.  I'd been testing a similar bug locally and this solved the cache.del('key') issue.
Adding a PR to resolve.

Withdrawing the PR due to a broken test, will resubmit once something better matches.

Why does it prevent deletion anyway? This is a cache, not a "store-at-least-until"-object. It makes manual cache invalidation completely impossible without modifying the source.

It's actually not trying to prevent deletion. It's treating expired objects as though they don't exist. That's the cause of the memory leak. When the expire timeout fires, exports.del(key) is called, but the object has expired so the delete doesn't actually occur and thus remains in memory.
It can be fixed by having the expire timeout skip the expires timestamp check and just delete. I tried adding a failing test case but tests are using sinon fake timers which don't exhibit the normal ms drift in the firing of timeouts so this condition can't be replicated. Otherwise I would fix it.

I just submitted a PR to fix this. I was able to add a failing test case for this issue by temporarily disabling the fake timers.


use small flags of countries to select language on GUI

Those who don't know about the language can't really go to the place to select the language .

I think better solution would be automatic locale detection


bugfix: StringUtils.toString(o)  stackoverflowerror.

Ⅰ. Describe what this PR did
StringUtils.toString(o) the o class contains self's class, appears stack overflow error.
Ⅱ. Does this pull request fix one issue?

fixes #2423
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2427 into develop will decrease coverage by 0.07%.
The diff coverage is 60.00%.

@@              Coverage Diff              @@
##             develop    #2427      +/-   ##
=============================================
- Coverage      51.78%   51.70%   -0.08%
- Complexity      2697     2699       +2
=============================================
  Files            517      517
  Lines          16772    16754      -18
  Branches        2030     1990      -40
=============================================
- Hits            8685     8663      -22
+ Misses          7277     7255      -22
- Partials         810      836      +26

Impacted Files
Coverage Δ
Complexity Δ

...rc/main/java/io/seata/common/util/StringUtils.java
16.66% <60.00%> (+6.76%)
11.00 <0.00> (+3.00)

...obuf/convertor/BranchRegisterRequestConvertor.java
90.47% <0.00%> (-9.53%)
3.00% <0.00%> (ø%)

...otobuf/convertor/BranchReportRequestConvertor.java
90.90% <0.00%> (-9.10%)
3.00% <0.00%> (ø%)

...obuf/convertor/BranchRollbackRequestConvertor.java
92.00% <0.00%> (-8.00%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalBeginResponseConvertor.java
92.59% <0.00%> (-7.41%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalCommitRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalStatusRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...obuf/convertor/GlobalRollbackRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterTMRequestConvertor.java
94.73% <0.00%> (-5.27%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterRMRequestConvertor.java
90.47% <0.00%> (-4.77%)
3.00% <0.00%> (ø%)

... and 22 more

Use Stringutils.tostring () with caution.

LGTM.


update golang versions in builder base and minimal image

Issue #, if available:
Description of changes:
builder base update and minimal image update for new golang releases
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm

/approve


Fix missing PerPrimitive decoration in mesh shader output.

Fixes #3826.
Also fixes a problem where Flat decoration is missing when a struct field or input parameter is declared as nointerpolation.

@jkwak-work don't worry too much about that. Thanks for reviewing!


AlterSequence: include NOORDER clause ordered="false" is specified

Fix the isOrdereddescription
Fix the ordered attribute in the statement generator

@nvoxland please review. If risk is low, please re-label.

Hi @LeBezout!  I reviewed this internally and I think this is a low risk PR.  So, I am going to move it along the queue.  Thanks so much for your contributions, targeting Q2 release.

For this PR, I made 2 tests:

Create a sequence with ordered="true" attribute and then use an alter sequence to change ordered="false": PASS
Changsets:

<changeSet  author="Create-Seq"  id="1">
    <createSequence
            incrementBy="2"
            maxValue="1000"
            minValue="10"
            ordered="true"
            sequenceName="seq_id"
            startValue="11"/>
</changeSet>
<changeSet  author="Alter-Seq"  id="2">
    <alterSequence
            ordered="false"
            sequenceName="seq_id"/>
</changeSet>

UpdateSQL output:
-- Changeset LeBezout/changelog.xml::1::Create-Seq
CREATE SEQUENCE LBUSER2.seq_id START WITH 11 INCREMENT BY 2 MINVALUE 10 MAXVALUE 1000 ORDER;

-- Changeset LeBezout/changelog.xml::2::Alter-Seq
ALTER SEQUENCE LBUSER2.seq_id NOORDER;

Create a sequence with ordered="false" attribute and then use an alter sequence to change ordered="true": PASS
Changsets:

<changeSet  author="Create-Seq2"  id="3">
    <createSequence
            incrementBy="2"
            maxValue="1000"
            minValue="10"
            ordered="false"
            sequenceName="seq_id2"
            startValue="11"/>
</changeSet>
<changeSet  author="Alter-Seq2"  id="4">
    <alterSequence
            ordered="true"
            sequenceName="seq_id2"/>
</changeSet>

UpdateSQL output:
-- Changeset LeBezout/changelog.xml::3::Create-Seq2
CREATE SEQUENCE LBUSER2.seq_id2 START WITH 11 INCREMENT BY 2 MINVALUE 10 MAXVALUE 1000 NOORDER;

-- Changeset LeBezout/changelog.xml::4::Alter-Seq2
ALTER SEQUENCE LBUSER2.seq_id2 ORDER;

TEST Environment:
Windows 10
Java 8
oracle container, oracle image: gvenzl/oracle-xe:18.4.0-full

Thanks for your PR submission! Your contribution has been included in Liquibase 4.17.0 released on October 10, 2022.


Review RSA operation with large modulus and/or large public exponents

Prepare two RSA keys by the following commands (keep calm for the second):
openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:4096  -pkeyopt rsa_keygen_pubexp:0x010000000000000001 -out rsa04096.key
openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:17000 -pkeyopt rsa_keygen_pubexp:0x1000000000000001 -out rsa17000.key

Then try to use these keys for encryption and signing. Remember that for encryption you use the public exponent, and for signing the private.
openssl rsautl -encrypt -in test.txt -out test.enc -inkey rsa04096.key
openssl rsautl -sign -in test.txt -out test.sig -inkey rsa04096.key
openssl rsautl -encrypt -in test.txt -out test.enc -inkey rsa17000.key
openssl rsautl -sign -in test.txt -out test.sig -inkey rsa17000.key

Signing passes, encryption not. With 4096 key due to "bad e value", and the 17000 key modulus is too large. OK, encryption failed. Try to verify the signature file test.sig:
openssl rsautl -verify -in test.sig -out test.ver -inkey rsa04096.key
openssl rsautl -verify -in test.sig -out test.ver -inkey rsa17000.key

Both fail, again because of "bad e value" and "modulus too large".
Strange, isn't it?
Explanation:
The public (not the private) key operations are restricted in include/openssl/rsa.h by
define OPENSSL_RSA_MAX_MODULUS_BITS   16384
define OPENSSL_RSA_SMALL_MODULUS_BITS 3072
/* exponent limit enforced for "large" modulus only */
define OPENSSL_RSA_MAX_PUBEXP_BITS    64

Therefore signing with an indeed large modulus is fine, encryption not. If the modulus length is greater the 3072, then additional the bit length of the exponent is restricted.

If anybody knows, please explain why 16385 is too large for OpenSSL.

For the public exponent there are some reasons to restrict the bit length. A small length of the public key ensures a large length of the private exponent. Small private exponents are risky. Therefore if you see a small public exponent, you can be sure that the corresponding private exponent is large enough.
Usually (NIST did it since FIPS 186-3) the bit length of the public exponent should be less than 256 (for modulus length not smaller 2048). For a smaller modulus length I guess, it should be less than 64.

If anybody knows, please explain why 16385 is too large for OpenSSL.

I think it's mostly because it becomes really slow and doesn't really add something.

For the public exponent there are some reasons to restrict the bit length.

The cabforum baseline requirements currently says:
The CA SHALL confirm that the value of the public exponent is an odd number equal to 3 or more.
Additionally, the public exponent SHOULD be in the range between 2^16+1 and 2^256-1. The modulus SHOULD
also have the following characteristics: an odd number, not the power of a prime, and have no factors smaller
than 752. [Source: Section 5.3.3, NIST SP 800-89]

I'm also not sure what you want us to do about it.

I would like to discuss the following ideas:

Remove the length restriction define OPENSSL_RSA_MAX_MODULUS_BITS   16384
The key generation may be slow. The secret key operation (17000 bit key) on a quad core PC lasts 8 sec (not really slow), the public key operation 0.13 sec. You could say that the secret key operation is slow, but  this length restriction applies to the pubkey operation only. It makes no sense, that OpenSSL generates long keys but can't use them.
Adjust the overall exponent length restriction define OPENSSL_RSA_MAX_PUBEXP_BITS    64
Set it to 256 bit and do it for arbitrary key lengths (as NIST recommends).
Remove the lower bound define OPENSSL_RSA_SMALL_MODULUS_BITS 3072  on the key length for the exponent length restriction.
At least warn if the public exponent is outside the NIST range (2^16,2^256).

The proposed public key length restriction (2.) prevents the usage of the following public RSA key
-----BEGIN PUBLIC KEY-----
MIIBGzANBgkqhkiG9w0BAQEFAAOCAQgAMIIBAwKBgQDI0rl3Jrbj+43Uki58yYHx
fcnZPIfaesoY4eFlH5ClIfTKq4iEoXmzTPxlBeanR16DZYldeT0iW/c4+k6HrqA3
zh2sMrgGapv/sGaaBexMkTOyPgdN6VggDw6A9Immtc6CFXiB+RMlxTyvoGUB4HSU
HVG8HFVxDb4xhoEYV/O59QJ9ARxukLZ3/5exYd2x06yOYJiuoKDhysp6GaLdWnuK
j4DAcjpRhMrHE0B1Uc5rvSpsZVRY4/CFwdWBCc+sKfi1gL1tH5VGgnlV+IrvNgCE
tVjOywrB3cYAFa2TOyivhoOSt9vrhDDYZrwYGr+8RsgM18peHrpHHFWPgxRsopc=
-----END PUBLIC KEY-----

which is completely broken. Try, e.g., with this key the command
openssl rsautl -encrypt -in test.txt -pubin -inkey rsa1024.pub -out test.enc
and enjoy the xxd of the output.

The output contains the plain text input with that example ...

Yeah, the public exponent is equivalent to 1, but nobody can see this from the key data.

The key is weak, because e \equiv d \equiv 1 \bmod LCD(p-1,q-1). In this case either e is 1 or its bit length is at least half the key size. A weak key (with e \equiv 1) could be checked out easily, if the bit size of the exponent is small.
The same approach works for keys with small private exponents d. They are weak, but this can not occur is the public key is small enough.

This does not seem like something we should hold the 1.1.1 release for (we could fix in 1.1.1a for example).  Moving this out.  Please comment if you disagree.

It's fine with me. Note that NIST in FIPS 186-4 (https://nvlpubs.nist.gov/nistpubs/fips/nist.fips.186-4.pdf, p. 52) requires (i.e. SHALL) that "the exponent e shall  be an odd positive integer such that 2^16 < e < 2^256. This excludes such silly keys as given above.

It wasn't a request to close this, it's just not a blocker for the 1.1.1 release. So I'm reopening it.

Sorry, I mispressed the button ;-)

There needs to be some limit on the sizes because internally the RSA code uses alloca() based on the input sizes. Note that these alloca() are done implicitly in the assembly language code so you can't necessarily find them by grepping for alloca (though many have comments that include "alloca").
IMO it would be better to pull the alloca() out of the assembly language code so that they are more readily apparent and so we can more easily review whether the current limits could be loosened or whether we need stricter limitations and/or whether we need to enforce the limitations in more places (e.g. enforce limits in the BN code itself, rather than just in RSA, et al.).

IMO it would be better to pull the alloca() out of the assembly language code so that they are more readily apparent and so we can more easily review whether the current limits could be loosened or whether we need stricter limitations and/or whether we need to enforce the limitations in more places (e.g. enforce limits in the BN code itself, rather than just in RSA, et al.).

Agreed. I've filed https://github.com/openssl/openssl/issues/6385 for this.

I see, that the length restriction for the modulus is a different issue.
But the length restrictions for the exponent 2^16 < e < 2^256 is independent from this.

Increasing RSA limit (16384) and DH limit (10000) to arbitrary values would if nothing else buy years as a hypothetical quantum computer scales the number of qubits it has. And there is a chance a quantum computer simply cannot scale past a certain point.
Having DH params for 32768, 65536, 131072, 262144, etc would be useful for some long term/paranoid applications where the degraded performance is of no relevance.
Arbitrary limits of on user choice hardcoded into the code serve no real purpose.

These are DoS limits. These operations scale cubically with the size of the key. Ideally RSA-2048 and RSA-4096 would simply have been distinct algorithms rather than points in a single variable-size algorithm, but that wasn't how things shook out, so we've got to have these ad hoc limits.


fixed spelling of occurred

@xavijam , minor typo fix

Hey @csobier, there is a conflict and also you have changed something from the cdb submodule. we can't deploy this.

@xavijam , it was a conflict in the NEWS.md file. Is it okay now?

Nope, it is appearing there are changes in the cdb submodule.

Ok, closing this PR without merging and creating a new one with just text changes, to be sure ;-) Thanks!


using launchPersistentContext with playwright

Is it possible to use launchPersistentContext with playwright and fingerprint-suite?
const { chromium } = require("playwright-extra");
const { newInjectedContext } = require("fingerprint-injector");

(async () => {
	const browser = await chromium.launchPersistentContext("profiles/", {
		headless: false,
	});
	const context = await newInjectedContext(browser, {
		// Constraints for the generated fingerprint (optional)
		fingerprintOptions: {
			devices: ["mobile"],
			operatingSystems: ["ios"],
		},
		// Playwright's newContext() options (optional, random example for illustration)
		newContextOptions: {
			geolocation: {
				latitude: 51.50853,
				longitude: -0.12574,
			},
		},
	});

	const page = await context.newPage();

	await page.goto("https://bot.sannysoft.com/", { waitUntil: "networkidle" });

	await page.waitForTimeout(20000);
})();

Error output:
TypeError: browser.newContext is not a function

Hi again (and thank you for submitting this issue as well :))
While the new injection helper does not work here, you can use the older attachFingerprintToPlaywright method here just fine. The usage is a tiny bit tricky (you have to pass a lot of things manually, so the resulting browser's fingerprint is as consistent as possible), check out the following example:
const { chromium } = require('playwright');
const { FingerprintInjector } = require('fingerprint-injector');
const { FingerprintGenerator } = require('fingerprint-generator');

(async () => {
    const { fingerprint, headers } = await new FingerprintGenerator().getFingerprint({
        devices: ["mobile"],
        operatingSystems: ["android"],
    });

    const context = await chromium.launchPersistentContext(
    './path/to/persistent/profile',
    {
        headless: false,
        userAgent: fingerprint.navigator.userAgent,
        colorScheme: 'dark',
        viewport: {
            width: fingerprint.screen.width,
            height: fingerprint.screen.height,
        },
        extraHTTPHeaders: {
            'accept-language': headers['accept-language'],
        },
    });

    await new FingerprintInjector().attachFingerprintToPlaywright(context, { fingerprint, headers });

    // use the injected context
    const page = await context.newPage();
    await page.goto("https://jindrich.bar/", { waitUntil: 'networkidle'});
    // ...
})();

Closing this issue for now, but feel free to reopen in case of any questions :) Cheers!

Thanks, that works :)
Would be nice if newInjectedContext had some option to make it use launchPersistentContext instead. Usually I want to keep browser data to not have to login every time.


#33: Removed SwiftLint build phase.

Full explanation here: https://www.youtube.com/watch?v=ntoe925O3FU


Bug?

Traceback (most recent call last):
File "/home/samuel/Documents/EvoPro/evopro/evopro/run/generate_json.py", line 263, in
pdbids, chain_seqs = parse_pdbfile(args.pdb)
File "/home/samuel/Documents/EvoPro/evopro/evopro/run/generate_json.py", line 32, in parse_pdbfile
chains, residues, resindices = get_coordinates_pdb_old(filename, fil=True)
File "/home/samuel/Documents/EvoPro/evopro/evopro/utils/pdb_parser.py", line 185, in get_coordinates_pdb_old
with open(pdb,"r") as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType
When I try running python /path/to/evopro/run/generate_json.py @json.flags I get this error. I've already set the local paths at the top of each script and downloaded everything

Hi for the input dir what input is it expecting?

It looks for af2.flags, evopro.flags, residue_specs.json, and other optional files based on what flags you are using.


[tts] language selection screen

Is this for the voice selection screen?

Haha yeah i was almost certain i was mixing the name


W10 1909

Windows 1909 are supposed to be able to "run down-level containers on up-level for process (Argon) isolation". When i create a container after upgrading to 1909 I still get hyper-v isolation if i don't use useBestContainerOS. Is that because navcontainerhelper enforces that? Should this be changed if that's the case?

It is because containerhelper enforces that.
But you can override it by specifying -isolation process
but... - unfortunately it doesn't work - I don't know if that is what they mean by that statement, but I have asked the people on our internal teams channel.

Tried this on 1909:
docker run --isolation process mcr.microsoft.com/windows/servercore:ltsc2019 cmd

gives the same error as when trying to run a BC Container with process isolation on 1909.
As soon as this works, I will look into how this can be brought to work with the containerhelper.

It actually works with 1903 - but since we are also not building 1903 images, that doesn't really help.


[SUGGESTION] Make a gui for this tool.

Maybe once in the future an exe app can be downloaded and used instead of running it from shell/NGUI.
I can help building the GUI app as I have a knowledge of VB.NET Visual Studio Programming and can make an open tool for this purpose. Just you can tell me which script goes where, etc. and I can try making a basic GUI. I use a Windows XP computer running Visual Studio 2022.
Here is an image of an example of the app:

A GUI is a great idea. It does feel like it should live in a separate repo IMO.

Hey, I think a Web Interface is better.

@SumitKumarDev10 Yeah, now I feel like there should be both. One for online  and the other app can be if you want to use it in a little more advanced. I too love the iden though.

You should start a PR
-ஓம்

@SaiPanneerselvam Ok, I will fork the project and start working on the web interface which will be accessible from the Internet.

Someone else who is more experienced in making GUI apps can use the Tkinter library to make the app.

hmm... you are probably right

but windows forms and VB.NET is a little more tailored.
Sent on my galapi

like tkinter is a design programme that you have to write line-by-line, whereas VB.NET Windows Forms can be customized easily, which makes it a little more simpler in both the frontend and backend.

Hmm... Looks like we need a VB.net coder to help us out.

I am not experienced in Tkinter but am good in web development

OK i have found the project under your username and I have a good tool to make the website with. It is very nice in the development part. It is Glitch, an Open Website Creator that is free and gives you the opportunity to make the website under a subdomain, instead of the subdomain being the username, and the repo is the folder. (GitHub vs glitch)

I can create an shared project on it.

We have:-

Glitch In Bio
Website
Node.js
React
Eleventy
SQLite
Out of which I am comfortable with NodeJS and React. I think we should not use the Website option as it is static.
In my humble opinion, NodeJS will be great. You can take care of the frontend and use tools like Bootstrap while I design the backend.

I think Vercel is good for deploying the web application. To collaborate, we can use Github Codespaces.

I have added @SaiPanneerselvam to my collaborator's list of repository. If anyone else wants to get added, then please contact me.

Please refer to issue no. #456 for collaborating to the web interface of the repository.

Why not build it with an electron app? That way it would be easily cross platform compatible. It would also prevent the need for a gui/app to be coded in multiple languages.

@mach7 I don't know electronjs so I think an a developer who knows it can contribute.

Closing this, since the discussion is continued in #456


Generate docs command update

Doxygen looks for ../../include which is only valid inside the doc/doxygen dir

Hi @barnjamin
Thank you for the patch.


Update elliptic version

Fixes https://github.com/crypto-browserify/createECDH/issues/14

Please merge this PR


[incubator/kafka] Correct value name in README for loadBalancerIP array

What this PR does / why we need it:
The name of the load balancer IP array value is incorrect in the README values list, this corrects it.
Also the secret value row had its columns backwards & that is fixed as well
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] title of the PR contains starts with chart name e.g. [stable/chart]

@benjigoldberg Does the chart version need to update if only the README changes? Looks like it from the CI but I want to double check

/ok-to-test
Hi @lee0c thanks for the PR! You do still need to bump the (patch) version

Thanks for the improvements @lee0c!
/lgtm


TIP-30 Native Token Metadata Standard

Defines a JSON schema for token metadata format and validation.
Rendered version

We currently have the following additional properties on the base token metadata for the network:

subunit: the unit of the smallest decimal value
useMetricPrefix: determines if this token can be displayed with prefixes for the multiples of a 1000.

Are these something we also want to have in this standard?, and then we can also make the base token adhere to this standard too.

The base token of the network is distinct from native tokens in many respects:

different utility in the core protocol
different representation in outputs
even different resolution (64bit vs 256bit)
unit and subunit are special for the bas token because we want to give the smallest possible denomination a name, while with native tokens this is not usually the case

Therefore, I don't think we need to use the Native Token Metadata Standard explicitly for describing the Base Token of the network. With TIP-30 we were inspred by ERC20 and ERC1155 metadata conventions, let's not make our custom one mandatory. You may add these fields to your metadata if needed, at least IRC30 let's you define additional fields.


Automated cherry pick of #9638

Cherry pick of #9638 on release-6.3.
/cc  @AshishDhama
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: a02700a9101549eecad95777a9ad91957a415e70


Bump caoroto to 0.3.4.

Merge #668 first and let that build.

After #668 is merged, this PR is conflicting. As requested, I'll wait until after v0.3.3 from #668 is built anyway.


IndexUtils fails with collection indexed with my own Lucene Indexer

I have indexed a collection using my own lucene indexer (not Anserini indexer) and then I am trying to use the IndexUtils from Anserini to print some stats about the collection with this command:
$  target/appassembler/bin/IndexUtils -index pubmedindex -stats
Where pubmedindex is the folder that contains the indexed collection. Below is a screenshot of what I get back.

Also when I try to do other things with IndexUtils params such as -dumpAllDocids NONE I get the following:

I took a screenshot comparing the contents of the folder of an indexed collection from one of your examples 'lucene-index.core17.pos+docvectors+rawdocs' and underneath the contents of the indexed pubmed collection with my own indexer, they look similar. Do you know if I am missing something in my indexed collection and if yes does Anserini have any tools to add the missing data or bypass this?

Thank you

Can you please tell us how did you build your own Lucene index?
Specifically, what are the fields you had used?
What I can see is that https://github.com/castorini/anserini/blob/master/src/main/java/io/anserini/index/IndexUtils.java#L157 reads the terms in the contents field.
My guess is that there is no such field in your index

Anserini index inspection tools are really only designed to be used on indexes created by Anserini, to make sure that the metadata (e.g., field definitions) are correct.
If you are looking for a more general Lucene index inspection tool, I can recommend Luke:
https://medium.com/@mocobeta/luke-become-an-apache-lucene-module-as-of-lucene-8-1-7d139c998b2

Can you please tell us how did you build your own Lucene index?
Specifically, what are the fields you had used?
What I can see is that https://github.com/castorini/anserini/blob/master/src/main/java/io/anserini/index/IndexUtils.java#L157 reads the terms in the contents field.
My guess is that there is no such field in your index

Thanks for the reply. So I added some fields in order to much the fields that I have in my index and then I managed to run successfully the stats command as well as the printTermInfo

But I am still facing an issue with some other options for example the target/appassembler/bin/IndexUtils -index indexed_collection_folder -dumpAllDocids NONE
The above command returns the following message:

All Documents IDs are output to: indexed_collection_folder.allDocids.txt

but this file is empty it has 0 bytes. And I am wondering why this is happening could it possibly be that the docnum String field has in it's indexOption: DOCS and not DOCS_AND_FREQS_AND_POSITIONS?

-dumpAllDocids is looking for a field that doesn't exist in your index, see:
https://github.com/castorini/anserini/blob/master/src/main/java/io/anserini/index/IndexUtils.java#L298

-dumpAllDocids is looking for a field that doesn't exist in your index, see:
https://github.com/castorini/anserini/blob/master/src/main/java/io/anserini/index/IndexUtils.java#L298

Hello thanks for the reply. I had noticed the getAllDocids method, and I also changed the FIELD_ID field (both in the IndexUtils class but also in the LuceneDocumentGenerator class where the construction of the document takes place) with my corresponding field  FIELD_DOCNUM (which is exactly the same StringField) and also with another field of mine (which also exists in my index) that contains everything named FIELD_ALL , however nothing changed in both scenarios. I tried to debug the program by printing some values in the method you mentioned i.e. scoreDocs it's empty so it doesn't enter the loop further down in the method to build the StringBuilder. Do you think that my problem may be in the LuceneDocumentGenerator

document.add(new StringField(FIELD_DOCNUM, id, Field.Store.YES));

Perhaps I have to explicitly set setStoreTermVectorPositions or fieldType.setIndexOptions for when adding the id, just like you do in all other fields. Although I doubt this might actually do me any good. Or perhaps there is a way to access the FIELD_DOCNUM field which is also contained inside the FIELD_ALL. I can provide screenshots if I am not describing something correctly.

Also, something additional which I noticed with other option that involve specific docids is that the docid is an integer and I receive error message saying docid entered is -1 and it should be greater than zero and smaller than reader.maxDoc() which correctly finds the total number of documents indexed. Is there a possibility that I might be facing an incompatibility/mismatch between data types (i.e. int, String) of my docnum.

tbh, if you're thinking of using Anserini beyond just IndexUtils (take advantage of our models, etc.) - I would prefer if you just hooked into our entire pipeline - build an instance of a Collection so you can use our indexer, ranking models, etc.
It looks like you're trying to index a MEDLINE collection? We'd welcome a contribution for those corpora.
I'm not sure what your goals are, but even if it's sure trying to replicate a previous result, this might be a nice paper for the ECIR reproducibility tracks.

Seeing no follow up, closing.


Swift Live Reload

Would be great to see an example of how to get Live Reload working with Swift. I can't get CASAbsoluteFilePath to be available despite adding to the bridging header.

I've found it helpful to write the watcher initializer in Obj-C still in order to take advantage of the #if TARGET_IPHONE_SIMULATOR preprocessor. I am doing it through an extension of CASStyler, but if doesn't have to be. e.g.:
// CASStyle+Additions.h
#import <Classy/Classy.h>

@interface CASStyler(Additions)

+ (void)initWatcher;

@end

// CASStyler+Additions.m

#import "CASStyler+Additions.h"

@implementation CASStyler (Additions)

+ (void)initWatcher {
#if TARGET_IPHONE_SIMULATOR
    NSString *absoluteFilePath = CASAbsoluteFilePath(@"../Resources/stylesheets/stylesheet.cas");
    [CASStyler defaultStyler].watchFilePath = absoluteFilePath;
#endif
}

@end

// AppDelegate.swift

import Classy

public class AppDelegate: UIResponder, UIApplicationDelegate {
   public func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        CASStyler.initWatcher()
  }
}

Another option besides using the bridging header and the macro directly is just to use Swift and the FILE macro:
        if UIDevice.currentDevice().systemName.compare("iPhone Simulator") == .OrderedSame {
            let curFilePath = __FILE__
            let curFileDir = curFilePath.stringByDeletingLastPathComponent;
            let styleFilePath = curFileDir.stringByAppendingPathComponent("StyleSheets/stylesheet.cas")
            CASStyler.defaultStyler().watchFilePath = styleFilePath
        }

Very nice, thanks!

Added to wiki.


======== Exception caught by widgets library ======================================================= The following assertion was thrown building Navigator-[LabeledGlobalKey#f3bb6 Key Created by default](dirty, dependencies: [_InheritedTheme, HeroControllerScope, UnmanagedRestorationScope, _LocalizationsScope-[GlobalKey#538f0]], state: NavigatorState#48695(tickers: tracking 2 tickers)): 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 5127 pos 12: '!_debugLocked': is not true.

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

body: IndexedStack(
index: dashboardController.selectedIndex.value,
children: [
          ChatPage(),

        ],
      ),

@amorja
When opening an issue, please try to provide all or some of the information indicated in the template.

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

Closing this issue, since no information has been provided.
Thank you.


Add CI/CD pipeline and badge to the repository that verifies tests are passing.

Is your feature request related to a problem? Please describe.
Lacking CI/CD tests
Describe the solution you'd like
CI/CD that runs tests and renders passing badge
Describe alternatives you've considered
Running tests to find that they fail.
Additional context
I'm getting an error when I go through the simple flow. Then I went through the developer flow and found that tests are not passing. It would be nice to have a tests verification upon pull requests.

I've seen  @JohannSuarez implement this for repos at LTF - I'll invite him to make a pull request here as well.

Hi, @LinuxIsCool !
We do have this. Please check out the readme here, there are badges from Code Climate: https://github.com/oceanprotocol/ocean.py/
We also employ CI checks for formatting (using black), PR and branch push test runs, maintainability and test coverage through Code Climate.
Because we have a dynamic team and we keep improving things in preparation for new features, sometimes things in the README can become outdated due to human error. Can you let me know: the ocean_lib version you are using and any relevant configs + the errors you encountered with the simple and developer flows? Thank you!

@LinuxIsCool I'll close this issue for lack of input, the badges are there. If you have more details to add, feel free o reopen or create another issue for the simple flow, if it is still a problem with newer versions.


Capability plugin

List cost for a Capabillity/AWS account

Use billing API to acquire total costs if AWS account is attached to Capability

List RDS from a Capabillity

If an AWS account is attached to a Capability and one or more RDS exists in any region, list it

Map an RDS to a services [X]

Explore if we can map "flow logs" to capability ids at runtime?

Link to ECR repo

Manual link by including in manifest

List S3 buckets from a Capability

If an AWS account is attached to a Capability and one or more S3 exists, list it

See milestone for individual tasks - https://github.com/dfds/backstage/milestone/7

https://backstage.io/docs/features/software-catalog/system-model

Capability_Plugin_Wireframe_Source.zip

https://github.com/dfds/backstage/tree/capability-plugin-ui

Capability_Plugin_Wireframe.zip


update README

@yaweiw @xscript @yungez @aovechki

@ZhijunZhao,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Codecov Report

Merging #142 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #142   +/-   ##
=======================================
  Coverage   71.92%   71.92%
=======================================
  Files          58       58
  Lines        1218     1218
  Branches      115      115
=======================================
  Hits          876      876
  Misses        277      277
  Partials       65       65

Continue to review full report at Codecov.

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


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 2.11.12 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


parquet-protobuf to compile on mac M1

parquet-protobuf module fails to compile on Mac M1 because the maven protoc plugin cannot find the native osx-aarch_64:3.16.1  binary.
the build needs to be tweaked to pick up the x86 binaries
Reporter: Steve Loughran / @steveloughran
Related issues:

Support building on Apple Silicon  (relates to)
Upgrade protobuf version to 3.17.3 (is superceded by)

Note: This issue was originally created as PARQUET-2150. Please see the migration documentation for further details.

Steve Loughran / @steveloughran:
same issue and solution as HADOOP-17939

Steve Loughran / @steveloughran:
with PARQUET-2155 this problem is implicitly fixed.


Merge pull request #1 from apache/master

update from apache/superset
SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[x] Has associated issue:
[x] Changes UI
[x] Includes DB Migration (follow approval process in SIP-59)

[x] Migration is atomic, supports rollback & is backwards-compatible
[x] Confirm DB migration upgrade and downgrade tested
[x] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[x] Removes existing feature or API

#Merger#


[Feature Request]New Carpe icon

The new Carpe LOGO made according to the requirements of 0D, including various size of the original LOGO.
https://drive.google.com/drive/folders/1dJzsT0SXXYofbgzgtiIdY1RWWdd_rqGp?usp=sharing

Thank you, included in 0.2.0


Update the README.md

And the parameters clear and verbose in official docs become invalid. Should those be updated?

clear and verbose are still used:
https://github.com/hexojs/hexo-deployer-ftpsync/blob/3ef51bedf2e54c82782de2544bc0aeb05e0cdc57/lib/deployer.js#L42
https://github.com/hexojs/hexo-deployer-ftpsync/blob/3ef51bedf2e54c82782de2544bc0aeb05e0cdc57/lib/deployer.js#L30
If these options are not working as expected, it could mean there is a bug.

You can modify the documentation to say:
If `clear` is set to true, this plugin will delete files and directories on the remote server to match the local machine. Use this plugin in production at your own risk.

Well, it seems that it's my fault.
After reinstall all the dependencies, every thing works well.
README.md has changed. Sorry for my rudeness.


Service Request by Donrie on behalf of Jessica and the RC team

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

Use comments feature (below) to document:

A clear and concise description of the solution.

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

Any additional context, such as screenshots about the problem.

Hi Jeff
Please advise how soon we may have access to the demographics in Monitoring.
Secondly, it may be something of a bug (albeit I sort of understand) the Research Coordinators are asking if there is any way that they can proceed with currently saved data in the IPA tracker even if someone is making changes to a strategy or IPA.
Please see email for reference  below:
From: Jessica Neufeld<EMAIL_ADDRESS>Fwd: IPA TrackingDate: September 7, 2021 at 4:17:12 PM EDTTo: Donrie Purcell<EMAIL_ADDRESS>Nicholas Bove<EMAIL_ADDRESS>CAUTION: This email comes from an external source; the attachments and/or links may compromise our secure environment. Do not open or click on suspicious emails. Please click on the “Phish Alert” button on the top right of the Outlook dashboard to report any suspicious emails.
Hi Donrie and Nick, I know the demographics section is still pending, but do you know if the programmer has an estimate for when it might be available? The Suffolk team has some demographic data and was having trouble finding the proper place to enter it (see below).Another issue I ran into was if someone was making edits to the IPA at the same time someone ran a report, it affected the report. I know Emilia was making edits to C2 when Anna ran a report to get the total list of strategies and C2 was missing from her report output. Best, Jessica

@donriepurcell
Please try to keep all discussion about Jeff's demo fields in Issue #5
Best,
David

The demographics functionality is there for monitoring. It comes up automatically if you edit a measures monitoring record that has “Persons” as the unit of measure. Otherwise, if you want to override the “persons” requirement (say, for instance, if you put “people” or some other synonym as your unit of measure), you can check the box and enter the demographics data.
From: donriepurcell @.***
Sent: Tuesday, September 7, 2021 5:17 PM
To: dlounsbu/NYHEALing-IPAtracker-support @.>
Cc: Jeff Bazinet @.>; Assign @.***>
Subject: Re: [dlounsbu/NYHEALing-IPAtracker-support] Service Request by Donrie on behalf of Jessica and the RC team (#27)
This Message is being sent from outside of FDRHPO or NCI.  Please do not click on links or download attachments without properly verifying them.
Hi Jeff
Please advise how soon we may have access to the demographics in Monitoring.
Secondly, it may be something of a bug (albeit I sort of understand) the Research Coordinators are asking if there is any way that they can proceed with currently saved data in the IPA tracker even if someone is making changes to a strategy or IPA.
Please see email for reference below:
From: Jessica Neufeld<EMAIL_ADDRESS>Subject: Fwd: IPA Tracking
Date: September 7, 2021 at 4:17:12 PM EDT
To: Donrie Purcell<EMAIL_ADDRESS>Cc: Nicholas Bove<EMAIL_ADDRESS>CAUTION: This email comes from an external source; the attachments and/or links may compromise our secure environment. Do not open or click on suspicious emails. Please click on the “Phish Alert” button on the top right of the Outlook dashboard to report any suspicious emails.
Hi Donrie and Nick,
I know the demographics section is still pending, but do you know if the programmer has an estimate for when it might be available? The Suffolk team has some demographic data and was having trouble finding the proper place to enter it (see below).
Another issue I ran into was if someone was making edits to the IPA at the same time someone ran a report, it affected the report. I know Emilia was making edits to C2 when Anna ran a report to get the total list of strategies and C2 was missing from her report output.
Best,
Jessica
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/dlounsbu/NYHEALing-IPAtracker-support/issues/27#issuecomment-914635694, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVIFNMHIETCBA4YWELXG37LUAZ6OJANCNFSM5DTGGVLA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
This electronic message is intended to be for the use only of the named recipient, and may contain information from the North Country Initiative that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or by calling the North Country Initiative at<PHONE_NUMBER> x 23, and delete and destroy all copies of this message.

From: David Lounsbury<EMAIL_ADDRESS>Sent: Wednesday, September 8, 2021 11:07 AM
To: david lounsbury<EMAIL_ADDRESS>Subject: IPA Tracker Support Request Form Submitted
IPA SERVICE REQUEST SUMMARY

CONTACT INFORMATION:

Jessica   Neufeld
Email<EMAIL_ADDRESS>Phone:<PHONE_NUMBER>

COUNTY

All counties

WHICH FEATURE(S):

REPORTING: Downloading data to create a table, figure or other summary report

BRIEF PROBLEM DESCRIPTION:

Know the demographics section is still pending, but do you know do you have an estimate for when it might be available? I ran into an issue when someone was making edits to the IPA at the same time I ran a report, it affected the report. I know a data coordinator was making edits to their C2 IPA and when I ran a report to downloaded the list of strategies, the report was missing C2. I have a copy of the report that shows this. If this is an issue, then clear guidance over when the site is updated or best time to run reports (i.e. uncommon times?)

URGENCY:

50

ANYTHING ELSE TO SHARE:

The preferred email and preferred phone number entries on this form are very finicky

From: david lounsbury
Sent: Wednesday, September 8, 2021 11:56 AM
To: Jessica Neufeld<EMAIL_ADDRESS>Cc: Donrie Purcell<EMAIL_ADDRESS>Subject: RE: FW: IPA Tracker Support Request Form Submitted

Got it.

Well, we are now using a very powerful platform that is subject
to edits to its data, big and small, at virtually any moment.

To ensure the cleanest downloads, maybe give your staff a heads
up that you are going to download data for reporting, and ask them to complete
their data entry and edits before you do so. Something like that ?!!?

Best and thanks,
David

From: Jessica Neufeld<EMAIL_ADDRESS>Sent: Wednesday, September 8, 2021 11:50 AM
To: david lounsbury<EMAIL_ADDRESS>Cc: Donrie Purcell<EMAIL_ADDRESS>Subject: Re: FW: IPA Tracker Support Request Form Submitted

CAUTION: This email comes from an external source; the   attachments and/or links may compromise our secure environment. Do not open   or click on suspicious emails. Please click on the “Phish Alert” button on   the top right of the Outlook dashboard to report any suspicious emails.
Hi David,

Yes, but this issue was I asked RCs to get a total list of
IPAs and the totals varied (this is why I also asked Donrie what his count
was).

As long as I know to triple check the totals, then I'll make
sure to wait and use the report that best reflects the IPAs.

Best,
Jessica


Upgrade OMERO.figure 4.3.1 on nightshade and dundeeomero

Re: https://lists.openmicroscopy.org.uk/mailman/private/nightshade-support/2020-June/002924.html
Bug has been fixed in 4.3.0.
Latest is 4.3.1.

This was cherry-picked to https://github.com/ome/prod-playbooks/pull/274


Add additional options for sign in

Add the additional options for the sign in the website.

@Sahilp-7 we do not need that as of now


Loading UI

As a user, I'd like to see a loading indicator when the page is not yet ready for me to use
Acceptance Criteria:
Not sure, I think we still have work to do to figure out what pages need loading indicators, and if there are any smaller components that need something smaller as well

Blocked until we decide on the look and feel


Create an external API endpoint that returns a 'release' manifest

We have endpoints for generating TSV manifests etc - but all are set up for our internal frontend->backend API (authenticated with session cookies etc).
We also want an API surface that is useable by external parties - and where we will give stronger guarantees of backward compatibility.
First cab off the rank should be an external API that allows the manifest data for a release to be retrieved in JSON.
(this will be useful for say a htsget endpoint)

By manifest data for a release, do you mean data that is fetched by this api call? https://github.com/umccr/elsa-data/blob/fc947801b18b1b465cfd4ad92c060f534a5ddbcd/application/backend/src/api/routes/release-routes.ts#L418-L451
What would the authentication look like for this? Should it use the same information as the openid login system?

Yes - similar in spirit to this - but can contain whatever is needed by htsget in whatever format it needs.
The manifest from that endpoint is TSV just because that's how bioinformaticians like things.
I imagine something that almost mirrors the underlying Edgedb dataset case model
[
  { id: "SINGELTONMARY", patients: [
    { id: "MARY": specimens: [
       { id: "HG0001", vcfUrl: "s3:///", bamUrl: "s3:///...", geneRegionsAllowed: [ "HGNC:123", "HGNC:3535" ] }
     ] )
 ]
]

For authentication - I'm happy for literally anything at the moment. Seriously, B2b pre shared keys would be fine..
Mutual TLS?
The assumption from Elsa is that htsget is a good actor and that htsget is doing whatever auth it needs.. I mean all Elsa is doing is providing the list of files and id - htsget already has permission to access the data files so its not getting that permission from Elsa

Yeah that's fair enough. But Elsa would still want to make sure that it is sending the information to htsget and not something else right? Although I guess that doesn't need to be anything super advanced.

Yeah that's why something like mutual TLS would be the strongest - as both ends are proving to each other who they are.
But shared secret is fine for the moment


Fix Project extension with invalid name ($schema) found.

This issue was first observed in #391. Keep an eye on https://github.com/nrwl/nx/issues/11138 for an upcoming solution. This issue does not affect the app, just adds noise in the logs.

I have the same error in this ticket where i describe another problem: #11446

A PR that fixes this issue has been merged by the Nx team and released in Nx version 14.5.3.

[ ] Migrate to the latest release of Nx with nx migrate latest.

Migrate to the latest release of Nx with nx migrate latest.

Why nx migrate latest never worked for me? Everytime i tryed this in last years i get errors like this:
budi@Sven-PC:~/AnimeSector$ npx nx migrate latest
Fetching meta data about packages.
It may take a few minutes.
Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>Fetching<EMAIL_ADDRESS>
>  NX  The migrate command has run successfully.

- package.json has been updated
- migrations.json has been generated

>  NX  Next steps:

- Make sure package.json changes make sense and then run 'npm install'
- Run 'npx nx migrate --run-migrations'
- To learn more go to https://nx.dev/using-nx/updating-nx
- You may run 'npm run nx -- connect-to-nx-cloud' to get faster builds, GitHub integration, and more. Check out https://nx.app
budi@Sven-PC:~/AnimeSector$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| >= 12.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/@storybook/angular
npm ERR!   1 more (jest-preset-angular)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@angular/compiler
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/compiler-cli
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@angular-devkit/build-angular
npm ERR!       dev<EMAIL_ADDRESS>from the root project
npm ERR!     2 more (@angular/localize, ng-packagr)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/budi/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/budi/.npm/_logs/2022-08-06T06_19_46_044Z-debug-0.log

@SvenBudak You need to run npx nx migrate --run-migrations before running npm install (I think npm install is actually run by nx migrate --run-migrations), see Nx instructions generated by nx migrate latest.

NX  Next steps:

Make sure package.json changes make sense and then run 'npm install'
Run 'npx nx migrate --run-migrations'
To learn more go to https://nx.dev/using-nx/updating-nx
You may run 'npm run nx -- connect-to-nx-cloud' to get faster builds, GitHub integration, and more. Check out https://nx.app

Arg, forget what I said. It's still too early here. :sweat_smile:

Make sure package.json changes make sense and then run 'npm install'
Run 'npx nx migrate --run-migrations'.

@SvenBudak My understanding of your issue is that a peer dependency is trying to use your<EMAIL_ADDRESS>which break a dependency requirement. Try to run npm install --legacy-peer-deps to let the peer dependency install and its required version of @angular-devkit/build-angular.

thank you for taking the time to answer me! :) I have now just manually changed every single package in the package.json to the latest version. however, I'm not sure if everything is compatible with each other. I am especially unsure about rxfire, rxjs, tslib and zone.js.
But so everything seems to work at first glance. I always have a hard time with the update.
  "dependencies": {
    "@angular/animations": "14.1.1",
    "@angular/cdk": "14.1.1",
    "@angular/common": "14.1.1",
    "@angular/compiler": "14.1.1",
    "@angular/core": "14.1.1",
    "@angular/fire": "^7.4.1",
    "@angular/forms": "14.1.1",
    "@angular/material": "14.1.1",
    "@angular/platform-browser": "14.1.1",
    "@angular/platform-browser-dynamic": "14.1.1",
    "@angular/router": "14.1.1",
    "@capacitor/core": "^4.0.1",
    "@ionic/angular": "^6.2.1",
    "@ngneat/transloco": "^4.1.1",
    "@nrwl/angular": "14.5.4",
    "cookieconsent": "^3.1.1",
    "firebase": "^9.9.2",
    "material-theme-creator": "^3.2.0",
    "moment": "^2.29.4",
    "ngx-cookieconsent": "^2.2.3",
    "rxfire": "^6.0.3",
    "rxjs": "~7.5.6",
    "tslib": "^2.0.0",
    "txtgen": "^2.2.8",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "14.1.1",
    "@angular-eslint/eslint-plugin": "14.0.2",
    "@angular-eslint/eslint-plugin-template": "14.0.2",
    "@angular-eslint/template-parser": "14.0.2",
    "@angular/cli": "14.1.1",
    "@angular/compiler-cli": "14.1.1",
    "@angular/language-service": "14.1.1",
    "@capacitor/android": "^4.0.1",
    "@capacitor/cli": "^4.0.1",
    "@capacitor/ios": "^4.0.1",
    "@nrwl/cli": "14.5.4",
    "@nrwl/cypress": "14.5.4",
    "@nrwl/eslint-plugin-nx": "14.5.4",
    "@nrwl/jest": "14.5.4",
    "@nrwl/linter": "14.5.4",
    "@nrwl/storybook": "14.5.4",
    "@nrwl/tao": "14.5.4",
    "@nrwl/workspace": "14.5.4",
    "@nxtend/capacitor": "^13.0.0",
    "@nxtend/ionic-angular": "^13.1.0",
    "@types/jest": "27.4.1",
    "@types/node": "16.11.7",
    "@types/node-fetch": "^2.6.2",
    "@typescript-eslint/eslint-plugin": "5.31.0",
    "@typescript-eslint/parser": "5.31.0",
    "autoprefixer": "^10.4.0",
    "cypress": "^9.1.0",
    "eslint": "8.15.0",
    "eslint-config-prettier": "8.1.0",
    "eslint-plugin-cypress": "^2.10.3",
    "jest": "27.5.1",
    "jest-preset-angular": "11.1.2",
    "ng-packagr": "14.1.0",
    "postcss": "^8.4.5",
    "postcss-import": "14.1.0",
    "postcss-preset-env": "7.5.0",
    "postcss-url": "10.1.3",
    "prettier": "2.7.1",
    "ts-jest": "27.1.4",
    "typescript": "4.7.4"
  },

What worked for me was:
nx migrate latest - to update package.json packages to latest
npm i - to install newly updated packages
No more warnings.


Fix mime package Version 2, API breaking change

Did you mean to update the dependency as well?

Yes, actually, maybe I hurried to make the PR, I am making some more tests, and then I will make another PR, closing this one.


Added a new project idea (Web development) in the project-ideas.json

Fixes Issue
Closes #2088

Changes proposed

Screenshots

Note to reviewers

@the-shivam-gupta
You should add a profile photo because these are default ones, and it gives off a vibe like the contributor is new to GitHub. So, adding a photo would be good since your profile is decent enough. (GitHub profile)

@the-shivam-gupta
You should add a profile photo because these are default ones, and it gives off a vibe like the contributor is new to GitHub. So, adding a photo would be good since your profile is decent enough. (GitHub profile)

Thanks for the compliment! I'll update my profile soon. Honestly, I don't have a great photo of myself, which is why it's missing 😅.

@the-shivam-gupta
You should add a profile photo because these are default ones, and it gives off a vibe like the contributor is new to GitHub. So, adding a photo would be good since your profile is decent enough. (GitHub profile)

Thanks for the compliment! I'll update my profile soon. Honestly, I don't have a great photo of myself, which is why it's missing 😅.

You don't need to add your own photo. Anything that you find cool 😅
You can check some avatars here


Why prow jobs which setup multicluster have TEST_SELECT="-multicluster"?

Bug description
As far as I understand, TEST_SELECT with something like -multicluster actually excludes multicluster tests. Here are some examples from the test-infra repo
Source:
https://github.com/istio/istio/blob/master/tests/integration/README.md#test-selection
https://github.com/istio/test-infra/blob/e98f7864b19888a1246612391a06c1a46f9a527f/prow/config/jobs/istio.yaml#L65-L76
https://github.com/istio/test-infra/blob/e98f7864b19888a1246612391a06c1a46f9a527f/prow/config/jobs/istio.yaml#L78-L95
https://github.com/istio/test-infra/blob/e98f7864b19888a1246612391a06c1a46f9a527f/prow/config/jobs/istio.yaml#L170-L181
https://github.com/istio/test-infra/blob/e98f7864b19888a1246612391a06c1a46f9a527f/prow/config/jobs/istio.yaml#L183-L200
https://github.com/istio/test-infra/blob/e98f7864b19888a1246612391a06c1a46f9a527f/prow/config/jobs/istio.yaml#L216-L227
https://github.com/istio/test-infra/blob/e98f7864b19888a1246612391a06c1a46f9a527f/prow/config/jobs/istio.yaml#L229-L246
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[X] Test and Release
[ ] User Experience
[X] Developer Infrastructure
[ ] Upgrade

cc @stevenctl

This really isn't needed anymore.
We used to set a label on suites like this:
https://github.com/istio/istio/blob/501775a7170c4823e5e45c244aeeb8388753034d/tests/integration/multicluster/base/main_test.go#L36
But instead, we can filter more easily with RequireMinClusters or RequireSingleCluster; if the framework was given configs for multi-cluster, we should be able to run multi-cluster tests.
The only suites with this label are under the directory /tests/integration/multicluster which we filter with our go test command anyway.
tl;dr this is legacy, and we don't need to do it anymore

Then.. we can clean this up altogether?

SGTM
On Thu, Aug 5, 2021 at 8:05 AM Suchith J N @.***> wrote:

Then.. we can clean this up altogether?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/34517#issuecomment-893533134, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXLBTP4FCUBF7ITFTEDT3KSCXANCNFSM5BRL7BMQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


ADT requiring signing options, but...

Problem
Okay, so every basic thing is set-up in VSCode. Then I run any of the Adobe AIR build tasks for generating a PE or APK and I get that:
Executing task: C:\Program Files\Java\jdk-10\bin\java.exe -jar c:\Users\neide\.vscode\extensions\bowlerhatllc.vscode-nextgenas-0.12.0\bin\asconfigc.jar --sdk C:\Users\neide\__pcargo\hydroper\Environment\AIR_SDK --debug=false --air windows <

Loading configuration: C:\Users\neide\__pcargo\hydroper\Environment\AIR_SDK\frameworks\air-config.xml

248457 bytes written to D:\Hydroper\Projects\dollscript\terminal\.build\target\terminal.swf in 10,032 seconds
Signing options required to package from descriptor and fileset
usage:
  adt -checkstore SIGNING_OPTIONS
  adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <country> )? ( -validityPeriod <years> )? 2048-RSA <pfx-file> <password>
  adt -help
  adt -migrate SIGNING_OPTIONS ( <air-file-in> | <airn-file-in> ) <output-file>
  adt -package SIGNING_OPTIONS ( -target air )? <output-package> ( <app-desc> FILE_OPTIONS | <input-package> )
  adt -package SIGNING_OPTIONS -target airn <output-package> ( <app-desc> FILE-AND-PATH-OPTIONS | <input-package> )
  adt -package -target ( apk | apk-debug | apk-emulator | apk-captive-runtime ) ( CONNECT_OPTIONS? | LISTEN_OPTIONS? ) ( -airDownloadURL <url> )? ( ARCH_OPTIONS )? SIGNING_OPTIONS <output-package> ( <app-desc> PLATFORM-SDK-OPTION? FILE-AND-PATH-OPTIONS | <input-package> PLATFORM-SDK-OPTION? )
  adt -package -target ( ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc | ipa-test-interpreter | ipa-debug-interpreter | ipa-test-interpreter-simulator | ipa-debug-interpreter-simulator ) ( CONNECT_OPTIONS? | LISTEN_OPTIONS? ) ( -sampler )? ANE_LINK_OPTIONS? AOT_MODE_OPTIONS? EMBED_BITCODE_OPTIONS? SIGNING_OPTIONS <output-package> ( <app-desc> PLATFORM-SDK-OPTION? FILE-AND-PATH-OPTIONS | <input-package> PLATFORM-SDK-OPTION? )
  adt -package SIGNING_OPTIONS? -target native SIGNING_OPTIONS? <output-package> ( <app-desc> FILE-AND-PATH-OPTIONS | <input-package> )
  adt -package SIGNING_OPTIONS? -migrate SIGNING_OPTIONS -target native SIGNING_OPTIONS? <output-package> <app-desc> FILE_OPTIONS PATH-OPTION
  adt -package SIGNING_OPTIONS? -target bundle SIGNING_OPTIONS? ARCH_OPTIONS? <output-package> ( <app-desc> FILE-AND-PATH-OPTIONS | <input-package> )
  adt -package SIGNING_OPTIONS? -target ane <output-package> <ext-desc> ANE_OPTIONS
  adt -prepare <airi-file> <app-desc> FILE_AND_PATH_OPTIONS
  adt -sign SIGNING_OPTIONS ( -target ( air | airn | ane ) )? ( <airi-file> | <unsigned-ane-file> ) <output-file>
  adt -devices          PLATFORM-OPTION PLATFORM-SDK-OPTION?
  adt -installRuntime   PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? ( -package <apk-file> )?
  adt -installApp       PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? -package <apk-file | ipa-file>
  adt -uninstallRuntime PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION?
  adt -uninstallApp     PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? -appid <app-id>
  adt -launchApp        { PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? ( -debuggerPort port )? -appid <app-id> }
  adt -runtimeVersion   PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION?
  adt -appVersion       PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? -appid <app-id>
  adt -version

SIGNING_OPTIONS      : -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -alias <aliasName> )? ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )? ( -provisioning-profile <profile> )?
FILE_OPTIONS         : <fileOrDir>* ( ( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ) )*
ARCH_OPTIONS              : -arch (armv7 | x86 | x64)
CONNECT_OPTIONS      : -connect <host>
LISTEN_OPTIONS       : -listen <port>
ANE_LINK_OPTIONS     : -hideAneLibSymbols ( yes | no )
ANE_OPTIONS          : -swc <swc> ( -platform <name> (-platformoptions <file>)? <fileOrDir>* ( -C <dir> <fileOrDir>+ )* )*
FILE-AND-PATH-OPTIONS: ( PATH-OPTION | FILE-OPTIONS ) FILE-AND-PATH-OPTIONS?
PATH-OPTION          : -extdir <dir>
PLATFORM-OPTION      : -platform (android | ios)
PLATFORM-SDK-OPTION  : -platformsdk <platform-sdk-home-dir>
DEVICE-OPTION        : -device ( deviceID | ios-simulator )
AOT_MODE_OPTIONS     : -useLegacyAOT ( yes | no )
EMBED_BITCODE_OPTIONS: -embedBitcode ( yes | no )
The terminal process terminated with exit code: 2

There's a password in my certificate, but there's no way to specify it in asconfig.json.
asconfig.json
{
  "type": "app",
  "application": "application.xml",
  "config": "air",

  "airOptions": {
    "windows": {
      "target": "bundle",
      "output": ".build/target/win"
    },
    "android": {
      "target": "apk-captive-runtime",
      "output": ".build/target/apk/terminal.apk",

      "signingOptions": {
        "keystore": ".build/cert.p12",
        "storetype": "pkcs12",
        "tsa": "none"
      }
    }
  },

  "compilerOptions": {
    "source-path": [ "src" ],
    "output": ".build/target/terminal.swf"
  },

  "files": [
    "src/com/hydroper/dsterminal/TmView.as"
  ],

  "default-frame-rate": 16,

  "default-size": {
    "width": "400",
    "height": "750"
  },

  "additionalOptions": "-inline -default-background-color 0x444444"
}

cert.p12
It's in ~/.build.
adt -certificate -cn mistic_cert 2048-RSA cert.p12 fd

"config": "air"
--air windows

Your asconfig.json file is configured for AIR desktop and you are packaging for Windows. Your signing options are specified for Android only, though. You seem to have forgotten the signing options for Windows.

@joshtynjala I see. I had noticed it while building my asconfig.json, but the editor didn't advice me about it, then I thought it'd not need it. Hey, you could add storepass too, because it slows down to type everytime in the build tasks.

I'd prefer not to add storepass because it's not very secure to save that in a plaintext file. I'd like to add a way to save the password for the current session, similar to other IDEs, but I haven't figured out exactly how I want to implement that yet.


Expose id to add dynamic modal with custom symbol

Expose id on DynamicModalOptions

I have a concern to expose the id for DynamicModalOptions in Typescript so we could identify the modal and doing further steps, for example I need to close the specific modal rather than closing all modals.
import PopupInfo from './PopupInfo';

const modalId = Symbol('myModal')
$vfm.show({
  id: modalId,
  component: DummyModal,
  bind: {
    title: 'My Awesome Modal',
  },
  on: {
    closeTheModal: () => {
      const modal = getModalComponent(modalId) // getting the dynamic modal
      if (modal) {
        (modal as any).value = false // closing the specific dynamic modal
      }
    }
  }
});

const getModalComponent = (modalId: symbol): any | null => {
  let foundModal = null;
  for (const modal of $vfm.dynamicModals) {
    if (modal.id === modalId) {
      foundModal = modal;
      break;
    }
  }

  return foundModal;
};

Fix the return type as Promise value, related to this Issue

Please try to use name props to hide the dynamic modal
this.$vfm.show({
  component: CustomModal,
  bind: {
    name: 'UniqModalName'
  },
  slots: {
    default: {
      component: AddTask,
      on: {
        confirm() {
          console.log("confirm");
          $vfm.hide('UniqModalName');
        },
      },
    },
  },
});


[fix] ByteBuffer in the OCL event from static to non-static

Minor fix. As reported in #52, the ByteBuffer in OCLEvent should be a non-static field.

LGTM.
Not related to the issue reported, but I can see that in the same class OCLEvent there is the internalBuffer declared as a static variable. I think that it might trigger a similar problem and the fix is simple.
Should we include that in this PR ?

Yes @gigiblender.  good catch.


Heavy disk write in long run

I set up a local instance (iBot) of Smokey in a Docker container, and recently I noticed unintelligibly high disk write amount (read from Block I/O column of docker stats). At present, the container that's been up for 7 days has accrued a total block write amount of more than 150 GiB, which divides into roughly 20 GiB per day.
Upon closer inspection, I noticed that the file bodyfetcherQueueTimings.p was written for once every few seconds, and at the time it had a size of 2.1 MiB. For every update its size grew by a few bytes. Given that it's written once for every API call to fetch posts from SE and that we're using around 10k of our daily quota, it's most likely the culprit for such a huge write amount.
Per my knowledge, that pickle file doesn't have any use for Smokey's primary functionalities (it's for data analysis by human), and this file alone is wearing out SSDs very quickly (one Samsung 970 EVO 500 GB model in less than 3 years if unattended, calculating from raw bytes). Should we take some measures to reduce unnecessary hardware workloads?

That file does get written a lot, but even so, 20G/day seems excessive. Not sure what's going on there.

@ArtOfCode- Referencing angussidney, we're doing 10k API calls each day, and each API call writes the file once, so 2 MiB * 10k getting 20 GiB is rather accurate.

Sure, but 2M per write also seems excessive. I'm sure it's not meant to be logging that much data.

Definitely excessive. Each API call should only be logging a few values - the number of seconds spent in the queue for each post in that site's queue, which is no more than a handful. That's something like 100 bytes per API call, not 2 MiB. Something's wrong here.

Every time make_api_call_for_site is run, it logs the queue timings to disk using the store_queue_timings() method:
https://github.com/Charcoal-SE/SmokeDetector/blob/master/bodyfetcher.py#L154
This then calls the _dump_pickle method:
https://github.com/Charcoal-SE/SmokeDetector/blob/master/datahandling.py#L333
which passes the "wb" option to the built-in open() function. According to the Python documentation, this truncates and overwrites the entire file.
https://github.com/Charcoal-SE/SmokeDetector/blob/master/datahandling.py#L58

I have two proposals for how we can go about fixing this issue:

Disable queue timing logging by default.
This data isn't necessary for Smokey to correctly function, and isn't accessed during normal operation. We only use this data on an infrequent basis; thus, it would make sense to disable this logging by default, and only enable it on the rare occasion that we actually need to collect the data (e.g. by passing some form of option to the startup command, like we have for standby etc)

Change the data to a format which can be easily be appended to the end of a file, so that it doesn't require an overwrite.
Pickle, as a serialised format, is difficult to modify without loading the binary data into Python objects, changing it, and re-writing the data to file. This downside is worth it if you're dealing with complex Python objects that are hard to store by other means; however, we're only using it to store relatively simple data (a series of lists of integers (or floats?), with each number representing the time the post waited for an API request):
queue_timings = {
    "site": [int, int, int...],
    ...
}

(side note: wouldn't our current implementation benefit from the use of collections.defaultdict?)
Given that all the analysis is done by a totally separate script, I don't think we're benefiting greatly from pickle's ability to store python objects directly. Instead, I propose that we take a simpler approach, and convert the data to one timing per line, in the format site timing (e.g. stackoverflow.com 231). Then, at a later time the data analysis script can aggregate the data into a dictionary, or whatever other format is most convenient for analysis. This method has the advantage that new data can easily be appended to the end of the file without having to overwrite it, thus saving disk writes.

Better ideas for a new data format are welcomed.

Some initial changes have been started here: https://github.com/Charcoal-SE/SmokeDetector/tree/3243-heavy-disk-usage-fix


Allow empty string (ISO 8601) in datepicker momentJS format

Format can be an empty string because that is the API for the ISO 8601 format in MomentJS.

looks good!


Add duplicate Gradle wrapper to included build

This is an attempt to fix #22
It looks like certain ways of opening the project in AS result in the included build being built in a different way than when doing so with the command line.
Notably the included build doesn't have a Gradle wrapper defined in it, so it appears that Android Studio ends up using the embedded Gradle version. The embedded version of Gradle depends on the version of Android Studio, and this version does not necessarily equate to the version of Gradle that the project is using.
As a result, features that might normally work or be included with the version of Gradle the project is using may not be available with the version.
For instance, if opening build-logic in Android Studio Chipmunk directly, version 7.2 of Gradle is used, which causes a build error about enabling version catalogs, even though those are now stable on version 7.4+, which the main project is using.
As a workaround, this PR adds the wrapper and gradle-wrapper.properties to build-logic, to let Android Studio know which version of Gradle to use.
This is a bit of duplication, but Renovate should be able to update both of these versions of Gradle automatically, and avoids indirection that a solution like symlinking might cause.
After this change, opening build-logic directly syncs without errors.
In normal day-to-day use, there is still just one ./gradlew wrapper at the root which should be used from the command line for all Gradle commands.
Edit: Found bug for this case: https://issuetracker.google.com/issues/181336796

This PR also appears to fix #175


cp cp --reflink=auto feature

I am using Fedora 35 XFCE edition. One thing I have noticed:
I copied a 27 GB folder in Thunar in the same drive, the GUI file manager of XFCE. It took 4 seconds to copy.
If I run sudo btrfs fi du ~
It shows 27 GB is shared. In other words, only metadata was copied, not the actual data.
But if I use pycp on the same folder, it takes a few minutes to copy to the same drive. It means pycp is duplicating the files. I can see the free space also decreases.
I found here
that we can use cp --reflink=auto to copy with deduplication.
Is it possible to integrate this behavior of Thunar in pycp where it copies with de-duplication?
Thanks! 🙏🏽

Is it possible to integrate this behavior [...] in pycp where it copies with de-duplication?

I don't think so. It seems cp --reflink uses some very specific, linux-only C code to achieve that, and pycp is very high-level and cross-platform.
That being said, feel free to try and write a patch

I am leaving these links here just for future reference:
https://stackoverflow.com/questions/65492317/copy-file-in-python-with-copy-on-write-cow
https://bugs.python.org/issue37157
I will investigate them later.

Leaving this here for future reference:
https://pypi.org/project/reflink/
from reflink import reflink

# Reflink copy 'large_file.img' to 'copy_of_file.img'
reflink("large_file.img", "copy_of_file.img")


changed the input field to avoid overflow for large text input

Fixes #7
Description
The search query was overflowing as the input box actually occupied the whole section, so i reduced its width and kept the button icons and the search box in the same flow (the dark mode has also been handled) .
Other information
The only thing that has changed after the fix is that user won't get the highlight feedback when the input box will get focus.

Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Looks good. Nice work on making sure that dark mode is consistent too 👍
Thanks!

Thanks for all the support and help.

Thank you for working on the issue :)


feat: exported getAnalysis function to conduct on call to our API only

[ ] Ready for review
[ ] Linked to Jira ticket

What does this PR do?
Currently, we need to be able to use this function in uptime checkers
Where should the reviewer start?
How should this be manually tested?
Any background context you want to provide?
Screenshots
Additional questions

:tada: This PR is included in version 4.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Quick guide: add Kotlin + Scala versions

This PR adds Kotlin + Scala versions to the subcommands example of the quick guide.
It also contains some minor fixes to the gradle build scripts of the example projects:

avoid deprecation warnings
bump to latest version of the dependencies, like ascii-doctor-plugin, ...

Codecov Report

Merging #1255 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1255   +/-   ##
=========================================
  Coverage     93.81%   93.81%
  Complexity      458      458
=========================================
  Files             2        2
  Lines          6753     6753
  Branches       1823     1823
=========================================
  Hits           6335     6335
  Misses          126      126
  Partials        292      292

Continue to review full report at Codecov.

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

Merged and published the rendered HTML.
Thank you for the contribution! It is getting better and better!!


Resolving UI Issues

https://github.com/project-chip/zap/issues/556
https://github.com/project-chip/zap/issues/570
https://github.com/project-chip/zap/issues/557
https://github.com/project-chip/zap/issues/553
https://github.com/project-chip/zap/issues/532
https://github.com/project-chip/zap/issues/527

Update check_summary tests based on the new UI

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Amirreza-Ghasemkhani:x: pedramkYou have signed the CLA already but the status is still pending? Let us recheck it.

test/ui.test.js is failing. Can we fix that before I start looking into this?

I am seeing the following in the UI which does not seem right:

How can I verify issue 570?

Still see this separation in the UI from 557

Issue 553 seems seems to have another issue now where the count is not correct

Make sure to add a test for this once it is fixed

Issue 532 still seems to be the case. I go to cluster config or preferences and come back but see the preview pane still showing up.

I will take a look at the issue that you mentioned.

I am seeing the following in the UI which does not seem right:
Just do Cluster configurator: Zigbee/Matter like @tecimovic suggested
Also I do not see a logo which was suggested by @jingteng25742

logo or Icon? because I added icon for smaller viewpoints if you resize the page you will see it will convert to just a icon ...

Still see this separation in the UI from 557

which one do you perfer?
1.

2.

3.

Still see this separation in the UI from 557

which one do you perfer? 1.  2.  3.

I am fine with 3 but why do we have a shadow from the top on the right side but not the left? not a big deal but if you can remove that to make it look the same on both sides then great. If not lets just go with 3.

Still see this separation in the UI from 557

which one do you perfer? 1.  2.  3.

I am fine with 3 but why do we have a shadow from the top on the right side but not the left? not a big deal but if you can remove that to make it look the same on both sides then great. If not lets just go with 3.

@brdanduIt’s because I took the screenshot when inspection elements were open, it’s okay without of any extra shadows if you don't open the inspect part of the site
.

I am seeing the following in the UI which does not seem right:
Just do Cluster configurator: Zigbee/Matter like @tecimovic suggested
Also I do not see a logo which was suggested by @jingteng25742

2 things here:

Get rid of the display button text
The "Cluster Configurator" text is getting cached which we do not want. When I switch between SDKs this does not get updated automatically

I switched between "npm run zap" and launching zap using the Zigbee stack and I still see the following:

@Amirreza-Ghasemkhani as per our conversation, this should be updated based on the stack we are using. This way it just shows whatever got picked up first


Change channel length check

Without this change, I always get this error on my jalousie actuators:
Apr 11 21:58:24 raspberrypi homebridge[6589]: /home/pi/code/homebridge-buschjaeger/lib/BuschJaegerAccessory.js:59
Apr 11 21:58:24 raspberrypi homebridge[6589]:         return this.platform.actuatorInfo[this.serial]['channels'][channel]['datapoints'][datapoint];
Apr 11 21:58:24 raspberrypi homebridge[6589]:                                                                            ^
Apr 11 21:58:24 raspberrypi homebridge[6589]: TypeError: Cannot read property 'datapoints' of undefined
Apr 11 21:58:24 raspberrypi homebridge[6589]:     at BuschJaegerJalousieAccessory.getValue (/home/pi/code/homebridge-buschjaeger/lib/BuschJaegerAccessory.js:59:76)
Apr 11 21:58:24 raspberrypi homebridge[6589]:     at BuschJaegerJalousieAccessory.getCurrentPosition (/home/pi/code/homebridge-buschjaeger/lib/BuschJaegerJalousieAccessory.js:33:29)

Thanks. Not sure where exactly the problem is. Can you please post the json data from the actuator that causes this issue?

PS: I just changed it back to > 1 on my Pi. But then opening home on my iPhone crashes homebridge on the PI.
So I will manually leave it at > 0 just so I can use it in any way.

Added logging in commit 56f6dc68672f89ab17c0a6251595004a59abc4be

Thanks for your pull request Lutz!


Course summary: move the filters to "top row"

Move the academic year and semester filters to the "top row". Now the design is not great I think.

Pls assign me this isssue


Curl Error during update on WSL2 Ubuntu

 root@et  11:05 ~/.julia [760] julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.2 (2022-02-06)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.7) pkg> up
    Updating registry at `~/.julia/registries/General.toml`
┌ Error: curl_multi_socket_action: 8
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Downloads/src/Curl/utils.jl:36

This occurred to me several times already. The only resolution i have so far was to delete .julia/conda and rebuild conda.
I think the problem is which curl julia uses?!

Entirely possible that the conda thing is a red herring.

I'm going to assume that this was another manifestation of #182 and is fixed now.


Big Requirements?

If the requirements have a lot of text it takes up a lot of space everywhere.
Do we want to chop this at a particular length, and have a "view more" link/expander?

Good point, perhaps we can put a collapse (https://reactstrap.github.io/components/collapse/) if the text is more than N characters.  and clicking on the [See More] would expand it.

Another option could be to have [See More] open a Modal with the full content. I think Modal handles window scrolling for excessive content, or perhaps explicitly add a scrollable view in it.