secondary structure and disorder predictions

run secondary structure and disorder predictions.
Modify scripts to use a single MSA for both (if possible).
secondary structure: PSIPRED
disorder: DISOPRED3
Programs available in tools/.
write outputs to: results/ss and results/disorder, respectively.
Stretches of disorder should be removed from subsequent analyses (>= 15 residues?).

I also added MEMSAT-SVM for transmembrane topology predictions. Should follow the same scheme as PSIPRED and DISOPRED.
NOTE: by default, MEMSAT-SVM uses a slightly different set of parameters than both PSIPRED and DISOPRED. Would be useful to test if it matters, or if we can use the same mtx file for all.

To rephrase the problem: each program, i.e. PSIPRED, DISOPRED3 and MEMSAT-SVM has its own wrapper (runpsipred, run_disopred.pl, run_memsat-svm.pl)which runs PSI-BLAST and then the main program itself. We want to split each into 2 - run PSI-BLAST and run PSIPRED/DISPRED/MEMSAT-SVM. As a result we would need to run PSI-BLAST only once and then use the output as an input for all of those 3 programs.

As a side-note, we can also use the same PSI-BLAST predictions to use as input for domain splitting! 😃

@tkosciol Great job!

I see two separate problems here: 1) running PSI-BLAST for our input sequence 2) find a way to let the following programs start from the PSI-BLAST result rather than from the original input.
In the following, I will take notes how to accomplish 2):

[x] MEMSAT-SVM: invoke the program with the option -mtx 1 and make sure that the input file is a PSI-BLAST result
[ ] PSIPRED
[ ] DISOPRED3
[ ] domain splitting

@tkosciol are different parameters for blastpgp a problem for recycling intermediate results?

The differences are cosmetic, really, and shouldn't impact the predictions. I'd use the set of params which is specified with PSIPRED.
We care the least about MEMSAT-SVM results and this program has slightly different params than psipred and disopred
On Feb 15, 2017, at 15:55, Stefan Janssen <notifications<EMAIL_ADDRESS>wrote:
@tkosciolhttps://github.com/tkosciol are different parameters for blastpgp a problem for recycling intermediate results?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/biocore/microprot/issues/8#issuecomment-280181649, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGZ0VkJXg-uHs7xxumePKqNK6C7UOrqeks5rc5BlgaJpZM4K-W2b.

regarding PSIPRED, which of the following two script are we going to run runpsipred or runpsipred_single, i.e. which one do I need to hack?

'runpsipred' (i.e. full version)
single does not use sequence profile.

On Feb 15, 2017, at 16:27, Stefan Janssen<EMAIL_ADDRESS>wrote:
runpsipred

I push a PR with a patch for psipred, but we might want to come up with a more convenient way to distribute third party software which we patch ... maybe we can have our own conda recipes?

@tkosciol do we already know which program to use for domain splitting?

Still working on it! Should know by the end of the week.
t.

We have now three packages on biocore for the three programs PSIPRED, DISOPRED, MEMSAT-SVM. Install them as follows conda install -c biocore memsat-svm disopred psipred, you might need to add biocore as an anaconda channel conda config --add channels bioconda.
All three programs should have the same command line arguments to re-use pre-computed PSI-BLAST results. Raise the flag -mtx=1 and use your psi-blast result file as input file. Furthermore, there is no longer the need to manually change any path names in the wrapper programs. Everything should be configurable by arguments.
@tkosciol please check if the programs actually compute what we expect.

@sjanssen2 can I close this issue? We're removing domain splitting from this bundle.

Yes, but you might want to save the documentation like previous post from me - maybe in a wiki?

@sjanssen2 all of your comments should be saved in a wiki for future generations ;)
wiki here: https://github.com/biocore/microprot/wiki


Setup the demo to allow Pixie to trace MongoDB traffic

Summary: This PR makes changes to the existing demo to allow Pixie to trace mongo traffic within the cluster.

Continuing this work on this branch setup-pixie-mongo-demo


Fix Issue and optimize score

Notes
There are many changes because I run flutter create . to follow latest structure. That command will generate platform folder like android, ios, web, macos, windows, and linux.
 Flutter (Channel stable, 3.7.7, on macOS 13.2.1 22D68 darwin-arm64, locale en-ID)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.76.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

@chandrabezzo this pr can be closed, as the addressed issue has been fixed. In the last release.

Closing as stale PR.


Add noopener attribute to links with a target

Adds rel="noopener, noreferrer" to <a> elements that have a target attribute, usually target="_blank"
This is to counter https://www.owasp.org/index.php/Reverse_Tabnabbing

@ScopeyNZ - have updated logic to allow for empty string to remove rel attribute.  have added a configurable boolean to better allow opt-out

robbieaverill: I also don't think this is a bug fix, so could you please change the target branch to 4 and rebase onto that branch?
@dnsl48 could you please confirm if you want this in 4 or 4.4?  I've already tested elsewhere, no need to rebase, just change the branches this PR points to

@emteknetnz The linter seems to be failing - but the composer alias also doesn't seem to output any info :(
Could you run it locally and sure up the linting please?

Checked with @dnsl48 - changed PR base to 4 :)

Thanks everyone, this is great!


Too many files open (os error 24)

When the unyt CDN is running for some time, it crashes with os error 24. Some FsFile resources seem to not be properly closed.
Deno.open() was previously called in the provideFile helper method without an explicit file.close() afterwards, but it seems like the file is automatically closed after the readable stream is consumed by the Response.
To make sure there is no dangling FsFile until a Response object containing the file readable stream is created, we now return a FileHandle from provideFile that does not yet open the file resource. But if the connection is interrupted afterwards or the response is never used, the file might still not be closed correctly.
If this error happens again, we need to find another way to make sure file resources are always closed.

are HEAD requests a problem (body readable not consumed)?


add env in service

#235
add env variable in service creation
translated the map[string]string of the service.ptoto to []string of swarm.ServiceSpec
test: make test

This handles part three of https://github.com/appcelerator/amp/issues/235 but skips part one and two.  I don't think we should store stacks in any format other than the format that the docker service API expects.

@freignat91 I think it's more natural to express it as a map as well, which is why I implemented it that way with the service spec. However, it does seem to be a waste that we parse the CLI environment string entries to create a map, only to subsequently convert the map back to an array of joined strings to pass to Docker. Because there was other refactoring I wanted to do, I create an entire PR for everything (#244), so I'm going to go ahead and close this one. Thanks.


dual should not be taking voltage info from CAN bus

See https://rusefi.com/forum/viewtopic.php?p=48149#p48149

https://github.com/rusefi/wideband/commit/5a57147342d83534e62cb70a924ad6dbdbc41083

Fixed in https://github.com/dron0gus/wideband/commit/a3b5321cde78cd09b1e45c5973a08d3ec2dcbcec


Missing test_policy_ppo.py

It should be under utils. Any idea how or where can I get this file?

I was also looking for this. I just renamed the call test_policy and it was working decently

Are you talking about the MACL project? For me, it fails in testing.

Yes. I believe so. I was looking for it; I had to tweak some other file import paths also for it to run properly but I got it to at least run

For me it breaks at Line 87: get_action = lambda x : sess.run(action_op, feed_dict={model['x']: x[None,:]})[0]. I tried tweaking it, but couldn't make it run :(

What is the error?

That model does not have key x. Did you do something else? I can see that load_policy_and_env function of the same file was also changed in this project because he expects some lstm value along with  others in return. He also passes this lstm to run_policy which does not match with original params.

@pythlang sorry for bothering you, but do you have any suggestions for me?

@pythlang sorry for bothering you, but do you have any suggestions for me?

Has the problem been solved?I got same question.


Refactoring to consistently resize columns during global GroupingSets output

Follow up for https://github.com/facebookincubator/velox/commit/20ac669a01482fc49ce5f281079076493a9093ad#r131312963

@aditi-pandit Is this a refactoring or a material change? If the former, please, update PR title to clarify. If the latter, should we add a test?

@mbasmanova : There are several unit tests for this code-path and I didn't encounter any problems. But the comment posted on the commit seemed valid so I went ahead with the PR. Have changed the title to reflect the change.


Implement release notes for v0.7.0

Create release notes for v0.7.0.
Alex, please take care of this task.

Created! You can find the result in the releases section. :)


Incoming proxy

Similar to outgoing proxy (for source chain), this PR adds an optional incoming proxy for target chain. In case an incoming proxy is defined, incoming IbcPacket and NonFungibleTokenPacketData is passed to proxy.
A default implementation can be found here: https://github.com/arkprotocol/cw721-proxy/tree/main/contracts/cw721-incoming-proxy
The incoming proxy validates from which channel (=chain and ics721) IbcPacket is coming from. In case channel is not whitelisted an UnauthorizedSourceChannel is thrown.
An incoming proxy is needed in case chain or ics721 on source/other chain has been compromised.

Can a high-level description be added to this PR?

Can a high-level description be added to this PR?

Done - description added above.


Use Testcontainers as default for testing

Now that testcontainers seems to work well on all operating systems, I think we can use it as default.
We still need to be able to test on machines not started via docker/podman.
My proposal is to remove -Pdocker (it's going to be the default) and instead have something like -PskipContainers for when we don't want to use Testcontainers or docker.  We need to rememeber to update the file podman.md

I've decided I'm not going to use testcontainers (or docker) as default, because everytime I change or upgrade OS there are some problem with it.
I can start the container easily manually and that's the way I work most of the time anyway.


Website Changes (06/11/20)

Home page
Add the paragraph of text below and contact button to the hero section
Reverse vending machines swap recyclable materials such as plastic bottles and aluminium cans for special offer vouchers.
They're helping to save the environment and can even earn you advertising revenue from the media screens.
Perfect for shopping centres, small supermarkets, schools and more.

Main Menu:
Make the 'Contact' button stand out. Change into a button, matching style across the website (block orange with white text)
(as shown in screenshot below)
Contact page:
Change page title to 'Contact Us'
Move contact form section up
Remove image on page
See screenshot

Hey @perminder-klair I had a chat with Ben, these are the only changes for right now, so no major updates planned from them at the moment :-) if you could fit this in next week that would be super, really great to chat earlier

@kpierduta let us know if all good with changes


Static fire date error for CRS-5

SF date is  2018-06-23 21:30:00Z, but launch occured on 2015-01-10 09:47:10Z.
Launch id is 5eb87ce8ffd86e000604b33c

Updated


Have user run tests first to see them fail?

Given how mistakes in deployed smart contracts are difficult to correct, would it make sense to encourage those following the tutorial to run the tests first to see them fail before then implementing the code to make them pass?
I was just trying that in https://substrate.dev/substrate-contracts-workshop/#/1/storing-a-mapping and was interested to review the following failures:
❯ cargo +nightly test
   Compiling incrementer v0.1.0 (/Users/samueljoseph/Documents/Github/tansaku/incrementer)
    Finished test [unoptimized + debuginfo] target(s) in 1.01s
     Running target/debug/deps/incrementer-d10a7711a3840851

running 2 tests
test incrementer::tests::it_works ... ok
test incrementer::tests::default_works ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

❯ cargo +nightly test
   Compiling incrementer v0.1.0 (/Users/samueljoseph/Documents/Github/tansaku/incrementer)
error[E0433]: failed to resolve: use of undeclared crate or module `ink`
  --> lib.rs:61:11
   |
61 |         #[ink::test]
   |           ^^^ use of undeclared crate or module `ink`

error[E0599]: no method named `get_mins` found for struct `incrementer::Incrementer` in the current scope
  --> lib.rs:65:33
   |
9  |     pub struct Incrementer {
   |     ---------------------- method `get_mins` not found for this
...
65 |             assert_eq!(contract.get_mins(), 0)
   |                                 ^^^^^^^^ method not found in `incrementer::Incrementer`

error: aborting due to 2 previous errors

Going forward I'm going to use this approach and see how I can remove errors and fix tests as I implement the code.
BTW I love the approach of showing examples and then challenging the learner to implement their own code - great fun! And great learning!

for example I can make all these tests pass by hard coding a solution like so:
        #[ink(message)]
        pub fn get_mine(&self) -> i32 {
          return 0;
        }

        fn my_value_or_zero(&self, of: &AccountId) -> i32 {
          return 0;
        }


ffxiv feature requires excel feature

Using version 0.3.0 ironworks fails to compile if the ffxiv feature is enabled without excel.

Ah, whoops. main has some backward incompat changes since 0.3, i'll fix this up on a .1.


Wait updates to apiVersion v1beta3

TODO:

Delete .spec.lables, should use meta.labels
Delete .spec.annotations, should use meta.annotations
EmqxEnterprise's .spec.license supports base64 encoding, and support external secret
Delete .spec.serviceAccount, when use emqx 4.4.x, serviceAccount is not required

The reason for Delete .spec.serviceAccount, when use emqx 4.4.x, serviceAccount is not required should be explained, or attach the links of the docs related better.


Warning window in C file that is persistent

Describe the bug
I open up a C file and I get a constant warning about improper encoding issue (look at image below).
Which version of Neovim are you using?
Nightly: 0.8.0
To Reproduce
Steps to reproduce the behavior:

Open up a .c file in neovim

Expected Behavior
Before noice I had this issue popup below but I had the following lua script to suppress it via vim.notify:
local notify = vim.notify
vim.notify = function(msg, ...)
  if msg:match("warning: multiple different client offset_encodings") then
    return
  end

  notify(msg, ...)
end

So I was expecting it to be suppressed, not sure if there is a way to supress warnings in noice.
Screenshots

Wouldn't it be better to, you know, fix the actual issue?

Oh I was just wondering if this was a bug from noice since I was able to suppress it before using vim.notify.

Thank you I will look into those suggestions!

I have same problem but the above solution didn't work for me. Plz help I love this plugin but I can't use it because of that bug


Defined initial structure for core primitives of yast

Docs need to be updated according to the discussed changes. Reformed the repo structure for now. We can move on to basic Scraper build with a single target.

I am renaming this to Initial Structure and merging it. Please create an branch for scraper at your end.


bug: Failing hook does not fail build (exit code)

From @NicholasTuck on September 23, 2015 19:50
Type: bug
Platform: all
If I have a failing hook that exits non 0 (like a before_build doing a webpack build), ionic will recognize the hook failed, and will stop building, but it exits with code 0. This makes my automated build tool, Jenkins, not know it's actually failing.
cordova build fails in a nearly identical way, but it does exit code 1 as expected.
Ionic reporting exit 0:

Cordova reporting exit 1:

Copied from original issue: driftyco/ionic#4417

whats the hook?

From @NicholasTuck on September 23, 2015 20:0
It's a before_build hook that does our webpack build, that's just a node script that runs webpack.
Fairly simple:
#!/usr/bin/env node
'use strict';

process.env['NODE_ENV'] = 'production';

var webpack = require('webpack');
var webpackConfig = require('../../webpack.config');

webpack(webpackConfig, function(error, stats) {
    if (error) {
        console.error('Webpack build failed: ' + error);
        if(stats) {
            console.error('Webpack Stats: ' + stats.toString({ colors: true}));
        }
        process.exit(1);
    }
});

Any expectation of this being fixed in ionic1?  We continue to use cordova build and we haven't discovered side effects, but it is in the back of my mind the day ionic build does something special.

+1

+1

I found the culprit here...
https://github.com/driftyco/ionic-cli/blob/957596cecf029184f097778aef89ebe95072d56b/lib/ionic/cordova.js#L75-L78
.then(function() {
  return self.runCordova(cmdName, argv);
})
.then(function(runCode) {
  //We dont want to do anything if the cordova command failed
  if(runCode !== 0 || argv.nosave) {
    return
}

I guess instead of return we should throw?

Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.


Golden owl - no links to practise & crown test

FYI: links to practice and redo crown 1 test disappear from the last tower (checkpoint) aka golden owl
ver 1.3.33 on chrome

Thanks, I'll fix this in 1.3.34


RDS.4 remediation failing to remediate

Issue #, if available:
BUG: The control RDS.4 for the AFSBP standards contains an SSM document uses a line of Regex to find matched ARN's for RDS backups to encrypt, however the existing regex does not properly match arn's that follow the format arn:aws:rds::<account_id>:snapshot:awsbackup:job-<job_id> (See screenshot below).
ORIGINAL REGEX:

However, the following regex does match. I would imagine that these snapshot arn's, despite their format, would be supported by this remediation, however even after making these regex changes it seems that the remediation still fails to execute correctly. This is the only control that I have been having trouble getting to work. When the snapshots follow the ARN naming convention above they fail 100% of the time.
MODIFIED REGEX: (With added ':')

ERROR:
message:Step fails when it is Poll action status for completion. Traceback (most recent call last):
  File "/tmp/98790b39-8f69-43d0-8897-18816cb22546-2023-03-27-18-38-59/customer_script.py", line 178, in parse_event
    finding_event = FindingEvent(event['Finding'], event['parse_id_pattern'], event['expected_control_id'], event.get('resource_index', 1))
  File "/tmp/98790b39-8f69-43d0-8897-18816cb22546-2023-03-27-18-38-59/customer_script.py", line 126, in __init__
    self._get_resource_id(parse_id_pattern, resource_index)     # self.resource_id, self.resource_id_matches
  File "/tmp/98790b39-8f69-43d0-8897-18816cb22546-2023-03-27-18-38-59/customer_script.py", line 85, in _get_resource_id
    exit(f'ERROR: Invalid resource Id {identifier_raw}')
  File "/var/lang/lib/python3.8/_sitebuiltins.py", line 26, in __call__
    raise SystemExit(code)
SystemExit: ERROR: Invalid resource Id arn:aws:rds:us-west-2:11111111111111:snapshot:awsbackup:job-656bc5ad-b20e-9b9e-43c8-bcd5643f7d0a

SystemExit - ERROR: Invalid resource Id ...
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

We will fix this in the next release.

Fixed in v2.1.0


[WIP] Add a hook to be called after saving checkpoint.

What does this PR do?
Drafting as I could not run some tests locally. Also would love to get eye rolls since this is my first contribution and I am getting used to the codebase :)

Addresses #9202
Add a callback on_after_save_checkpoint that is called after saving checkpoint. This enables users to define their custom tasks whenever a better checkpoint is saved.
Does your PR introduce any breaking changes? If yes, please list them.
None

Before submitting

[X] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[X] Did you read the contributor guideline, Pull Request section?
[X] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[X] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[X] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[X] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃 yeee

Dear @jinyoung-lim ,
Would you like to make this contribution ?
Best,
T.C

Here is an example of a PR to add a hook: https://github.com/PyTorchLightning/pytorch-lightning/pull/8048/files.
You would have to update some tests to make this work.
Best,
T.C


Update README.md with information about using Helpers methods

As the Helpers in Nustache are not documented anywhere, while there is lot of question around the web about formating values, I have updated the README.md file, to document the usage of the Helpers in current implementation. Please, consider also the pull request "Fix bugs in helper argument parsing:", which I believe fix some potential issues.

Hi @zoka-ml,
I'm happy to merge this as I agree there is a real lack of documentation around the helper functionality.
As for the pull-request that was opened before my time looking after Nustache and i'm currently focusing on releasing my alternative .Net mustache library Stubble so i'm currently not looking to make big changes to Nustache to avoid breaking consumers who may have worked around the issue.


Do we need the print argument?

I don't think I ever wanted to print the AST, and I presume users of rinja certainly didn't, either.
I don't think there is a need to print the generated code anymore, since cargo expand and our playground both do the job better.
Can we remove the feature?

I personally use it quite often. ^^'

Oh, you do? That's at least one more user than I would have expected the feature had. :D Okay, then we'll keep it.

I use it mostly on docs.rs when I have compiler error. Instead of expanding all templates, I only print the one I care about.


Map background to dark

I really like the SQUARE theme, but for on problem. The map background should be light, as is, it is hardly possible to recognize anything. Can I change this myself? Fooled around a bit in the theme, but got nowhere.... See the attached example...

Thank you for your work by the way!!! No workaround for this? To bad, I will have to "live with it"....
Regards from Germany,
Robert

There is a Home Assistant variable to change the map filter using theme : --map-filter
But there was a bug (https://github.com/home-assistant/frontend/pull/18667). It's now fixed and should be possible with the next HA version (2023.12).
You should be able to remove the map filter in dark mode by adding "map-filter: none" in the dark section in your theme.

Y E S!!! Perfect as of the upgrade today... Thank you.


Not working in mobile browser and cordova

I loved this before seeing the bug. But now only I know this plugin is totally worst. If you are using this your users can't use this codemirror in mobile device, check it in the home page codemirror example.
Many issues found in mobile device, the sample one is
Enter some words and press enter key, again enter some words and press enter key, the pointer will come infront of the previous line.
I am sure, this shouldn't useful to you all. Also I am lost many of user because of this codemirror.
Please Admin check all the issue and fix it sooner, then kindly don't forget to send mail to me.
Note : In my old device, after update the Android system webview only this problem occurs. But now all the mobile devices ome with latest Android System webview, so it shouldn't work.

This is unlikely to be fixed in version 5, but mobile support is a big part of the work on version 6, which is a work in progress (that won't be useable for a while).

@marijnh Thanks for response. Can you please tell me the approximate release date of codemirror 6?

Late 2019, probably, but we're not promising anything there yet.

I loved this before seeing the bug. But now only I know this plugin is totally worst. If you are using this your users can't use this codemirror in mobile device, check it in the home page codemirror example.
Many issues found in mobile device, the sample one is
Enter some words and press enter key, again enter some words and press enter key, the pointer will come infront of the previous line.
I am sure, this shouldn't useful to you all. Also I am lost many of user because of this codemirror.
Please Admin check all the issue and fix it sooner, then kindly don't forget to send mail to me.
Note : In my old device, after update the Android system webview only this problem occurs. But now all the mobile devices ome with latest Android System webview, so it shouldn't work.

you need  a cordova plugin version and strip out the junk code .....
you can then create an attach if its a normal browser script to the same code......
basically if it works in a  cordova view first ... it becomes simple to expand it to any browser....

This is perfectly working on iOS device.


fix(deps): update module github.com/gruntwork-io/terratest to v0.41.9

This PR contains the following updates:

Package
Type
Update
Change

github.com/gruntwork-io/terratest
require
patch
v0.41.8 -> v0.41.9

Release Notes

gruntwork-io/terratest
v0.41.9
Compare Source

Modules affected

docker

Description

Added a new attribute to docker-compose options named ProjectName which allows customizing the project name when docker-compose is executed.

Special thanks

Special thanks to the following users for their contribution!

@apenella

Related links

https://github.com/gruntwork-io/terratest/pull/1187

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.3.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


JerseyClientConfiguration in client manual is missing mutator

JerseyClientConfiguration in client manual is missing mutator, here:
Dropwizard Client
This is only minor issue, but easy/quick to fix.
Missing snippet:
    @JsonProperty("jerseyClient")
    public void setJerseyClientConfiguration(JerseyClientConfiguration jerseyClient) {
        this. jerseyClient = jerseyClient;
    }

Thank you for reporting this! Fixed in 6a4bf5b.


[Suggestion] Windows Types, Remove additional padding, Remove offset comments

Get the struct without additional padding
Print with Windows types (ULONG, BOOL, UCHAR ecc)
Remove offset comments ( /* 0x000 */)

You can disable padding members with -p- switch
This one I've been planning for a long time :) it's really simple change, but one day I hopefully make it
You can disable offset comments with -x- switch


Added ray config to distribution

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The unit test for cluster is failing.

The unit test for cluster is failing.

The test is unstable and intermittently fails. After release, we need to further debug it. For now, I will continue to rerun until successful.


Please clarify the EULA

First off -- the project looks EXTREMELY promising! Thank you so much for your work and for open sourcing it!
I'm submitting a ...  (check one with "x")
[] bug report => search github for a similar issue or PR before submitting
[] feature request
[] support request
[x] general question

Current behavior (how does the issue manifest):
When checking out the website at http://www.flogo.io/, I need to accept the EULA before being able to "download" the docker image with the Flogo UI - and this PDF has 290 pages.
I understand that the Flogo "core" is licensed with very permissive open source licenses; and the web UI is not (yet?) open source.
I am wondering:

can I use the Flogo web UI in commercial context?
Do I need to take care of anything specifically to not violate the EULA?
Do you plan to make the web UI commercial-only? (e.g. one has to pay after Beta)
Is the web UI licensed for 90 days only?

Expected behavior:
It would be awesome to have some further description on flogo.io on the intention of the EULA :-)
What is the motivation / use case for changing the behavior?
I want to know whether it is safe to use Flogo in a more commercial-oriented setting; but to me it is only viable if the web UI can be used there as well :)
Again; thanks so much for this project, it looks really cool :-) Would be great to have the web UI parts clarified...
Thank you and all the best,
Sebastian

Hi @skurfuerst thanks for the question. You are correct, the webui is not yet open source, hence the license.

Yes, you can use Flogo in a commercial setting.
No, nothing special. The license applies only to the use of the web environment for building flows. not for the artifacts produced by Flogo.
No, the web ui will not become commercial. It is free and the 90 day beta will auto renew.

I hope this helps. Let me know if you have any additional questions/concerns. Just to clarify, when you indicate a commercial-oriented setting. You're implying that you'll use Flogo to build commercial components? In other words, redistributing apps built with Flogo, not redistributing the webui, correct?

Hey @mellistibco,
thanks for your super-fast response!
yeah that is totally correct. Not redistributing the Web UI, but redistributing Apps built with Flogo.
BTW - (a little off topic): I maybe wanted to extend the web UI a little such that it stores the json files in GitLab (via GitLab oAuth API) -- this way, by using GitLab CI, one could create a new flow in the UI; and get it auto-built and auto-deployed to a Kubernetes Cluster.
IMHO, when this is working, Flogo would be a great option for "serverless" use cases - as it also then provides some deployment story there instead of manually building it.
Would be curious to hear what you think about this :)
All the best,
Sebastian

@skurfuerst yup, awesome idea! In fact, we've been discussing the idea of integrating the webui with git for a few weeks now, so you could do exactly that workflow. Today, you'd need to create your app+flow(s) in the webui, export the app json, then add & commit to git, which could kick off the build and deploy workflow in your ci/cd pipeline.
I'll create a top level issue to track git integration with the webui.

Sounds awesome, thanks :)

II think we can close this issue as it is pretty much solved :+1:


CI updated to Ubuntu 22.04 and Vulkan 1.3.239

Thanks for this! Also congrats on your first contribution! :3


Issues running kclaim style proofs

[x] Re-executing a KClaim (with --save-directory) where a proof changes or a dependency changes, does not trigger --reinit behavior. We should be parsing the claims, and invalidating any claims where the claim itself or a dependency has changed.
[ ] Parallel proof discharge waits for each batch of proofs instead of adding to the queue of tasks asynchronously. This means that if there a few really long running proofs in one layer of proofs, we won't move on to the proofs in the next layer who's dependencies are already discharged.
[ ] Proofs whos dependencies are not discharged should not be run unless the dependency is admitted or the user specifies to admit dependencies. Perhaps?

@nwatson22 what is the relative priority of this? I am assuming that #2009 had priority, but I want to make sure things are aligned across Kontrol.

Closing evm-semantics PR #2099 closes the first bullet point of this one. The others will be addressed once this PR closes.

@anvacaru @PetarMax do you think these changes might help order proofs for compositional symbolic execution? Or do you have another solution in mind?

Issue blocked by Booster #383 [(https://github.com/runtimeverification/hs-backend-booster/issues/383)]

Moved to backlog with Medium High priority, since we haven't got to work on it since November, and it doesn't seem to be a priority now. Please bring it back if I'm wrong!


Feedback: Budget Authority Appropriated and Other Budgetary Resources

This is the place to leave your feedback and questions about the following data elements:

Budget Authority Appropriated
Other Budgetary Resources

The feedback period for these elements closes on 4/29/2015.
The proposed definition of Budget Authority Appropriated and Other Budgetary Resources: http://fedspendingtransparency.github.io/whitepapers/ba-appropriated-other-resources/
Federal Spending Collaboration home page: http://fedspendingtransparency.github.io/

This definition is unclear.
"The DATA Act requires that agencies report budget authority appropriated and other budgetary resources. In fact, however, agencies already use, as necessary, one or more of 125 sub-divisions of budgetary resources defined in OMB Circular A-11. In carrying out reporting required by the DATA Act, OMB should consider using these more detailed break-outs of appropriations and other budgetary resources."
So what is the definition?  Is it the detailed breakdown of subdivisions currently in use?  I hope that whatever detail is available is provided.
"The definitions for Budget Authority Appropriated and Other Budgetary Resources in OMB Circular A-11 and other government publications are very technical and are geared to the budget, financial and other communities in the federal government. While these definitions serve the needs of the intended audience, OMB should consider establishing and publishing an additional set of definitions that the public would find easier to understand."
I would agree that this is a necessary part of transparency for citizens.  But what is being said here?  Will this be done as part of implementation?  Or is the intent to make a second, later round of changes to provide this information?  Wouldn't it be better now to provide the detail, arcane and cryptic in the financials arts as it is, and then provide details of how to map that base data to something for a laymen to understand?  My concern is that this is the shot to get the data from the systems; waiting for something may mean it never happens.  I'd think that the base financial data would remain the same.

@HerschelC injects the necessary common-sense perspective into a the world of jargon heavy definitions and circular logic.  And I further would emphasize that the DATA Act wants us to focus on "use" not so much tabulating the total available "source".  Tracking the evolution of the upstream events that impact the magnitude of budget resource "pie" via rescissions or deferrals etc. diverts attentions from tracking the transactions those resources allow.  The data element white paper gets off message when it dives into all the minutia of Appendix F of OMB Circular No. A-11.  Let us keep this simple -- we have budget authority, contract authority, borrowing authority, and authority from offsetting collections.

The distinction of discretionary and mandatory is academic for the outside world.

Begin with BA derived from Congressional appropriations then expand scope to address contract authority, borrowing authority, and the messy world of offsetting collections.

With respect to the offsetting collections I would suggest employing a criteria that the public is not interested in double-counting - reimbursables -- it would be interested in how resources independently produced outside of appropriations due to industry regulation are used.  I would exclude any resource that derives from classic interagency reimbursable agreements.  I would include trust fund or fee-based accounts for agencies that are self-financing without appropriations, e.g., the Office of the Comptroller of the Currency (OCC).  This is an imperfect way of scoping but we have to start somewhere and we don't want to try to ingest the entire elephant in one bite.

Thank you for your feedback on the data elements Budget Authority Appropriated and Other Budgetary Resources. We will consider your feedback as we continually assess how we can improve data definitions. You may still contribute the discussion for other data elements. Check http://fedspendingtransparency.github.io/dataelements/ to find data elements with open feedback pages.


WIP: Add Prettier for Code Formatting

Description: Add prettier to allow for consistent formatting across dev teams.
Should be merged after https://github.com/FoodPrintLabs/foodprint/pull/58

Add .prettierignore with the following contents:
NodeJS
node_modules
build
coverage
Editor
.vscode
System
.DS_Store
Misc
LICENSE


User settings management

Lobby needs to be able to save user's game and engine settings, including hotkeys. Some requirements:

User settings should stay consistent between lobby, game and engine updates
User settings should always be automatically migrated to latest versions
When possible, user settings should be backed up to Teiserver
User settings should override sensible defaults at an indivdual setting basis (instead of being an entire file replacement)

A possible way I see this working could be as follows:
lobby-default-settings.json:
{
    "fullscreen": true
    "displayIndex": 0,
    "skipIntro": false,
    "sfxVolume": 5,
    "musicVolume": 5,
    "loginAutomatically": true,
}

user-settings.json:
[
    {
        "accountId": 1234,
        "lobby": {
            "skipIntro": true,
            "musicVolume": 0
        },
        "engine": {},
        "game": {},
        "hotkeys": {}
    }
]

An interface would need to be written for all the different parts of infra to be able to read and write their relevant settings to this file.
Random ramblings:
Migrations
When a particular setting format is changed, the interface will need to either invalidate the previous setting or migrate it in some way. Some examples of how a setting's format might change:

Key rename (e.g. skipIntro: boolean -> introEnabled: boolean)
Data format change (e.g. skipIntro: boolean -> skipIntro: string)

For key renames, this could simply be a map lookup from old names to new names. This gets slightly more complicated however if old setting names get reused for other purposes later on. For data format changes, logic would need to be written to convert the old format to the new format. Migrations would need to be written for specific versions and all run sequentially when jumping from one version to another. Things could also get messy when watching old replays.
The easiest solution would be to invalidate any changed settings when moving from one version to another where the setting format differs. So long as we keep format changes to the absolute minimum, and account for future possibilities where we can, I think this is ok.
Setting definitions
We already have definitions very similar to this in certain places, but it should follow a standard and be the same everywhere. Recommend following JSONSchema.
[
    {
        "id": "lobby_volume_music",
        "name": "Music Volume",
        "description": "The volume level for the music played in the lobby",
        "type": "integer",
        "min": 0,
        "max": 100,
        "step": 1,
        "default": 5
    }
]

Validation
Both default and user settings should be validated against their relevant definitions. Actions can be taken depending on the type of invalidation found, e.g.

user setting has an id not found in definitions -> remove it from user settings
user number setting value is greater than the allowed maximum value -> cap it at the max
user number setting value is not divisible by the step amount -> round it to the nearest step amount
user number setting value is a float, but the definition requires an integer ->round it to nearest int
etc

Similar to migrations, it may just be easiest to clear settings if they're not valid, needs discussion.
Cloud backup
If we're backing settings up to Teiserver, they'll probably need to be timestamped with last modified date, e.g. in case users change them offline and don't want their settings in the cloud to override their changes, or vice-versa if they change them on one PC and then log into their account on another.

All components should read the values of the settings from the same file(s), otherwise we run the risk of data conflicts, where the lobby will have one value for a setting and the game will have another.
I agree with the settings definition file, as we will need to implement identical UIs using multiple frameworks, and this is the best way we can automate as much as possible. I'm not sure if the JSON standard requires parsers to read in deterministic order, but if not we can also include hierarchy and ordering with the setting data.


Ubuntu 18.04 will soon be EOL - Will 22.04 work?

The documentation for connecting Data Factory to on-premise SQL  suggests using Ubuntu 18.04, which will be EOL 31st of May 2023. Which is soon.
Can Ubuntu 22.04 be used? Maybe documentation should be updated to reflect neccessary changes when 18.04 reaches EOL? :)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 0b7d5707-9f14-db2b-00fb-5edd7bbcd06f
Version Independent ID: 2a0f8297-bdf7-3056-121e-963140ec0703
Content: Managed virtual network and managed private endpoints - Azure Data Factory
Content Source: articles/data-factory/managed-virtual-network-private-endpoint.md
Service: data-factory
Sub-service: integration-runtime
GitHub Login: @lrtoyou1223
Microsoft Alias: lle

@o-l-a-v
Thanks for bringing to our attention!!
According to the documentation Ubuntu 18.04 is the recommended operating system for the Self-hosted Integration Runtime (SHIR) and the Data Management Gateway (DMG). However, it is possible to use Ubuntu 20.04 as well. There is no mention of Ubuntu 22.04 in the documentation yet. It is possible that the documentation will be updated when Ubuntu 18.04 reaches EOL.

Thanks, I'll use 20.04 then.

There is no mention of Ubuntu 22.04 in the documentation yet.

There's no mention of 20.04 in the referenced documentation either, just 18.04.

@o-l-a-v
We are going to close this thread , if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@RamanathanChinnappan-MSFT
Tested and seems to work with 22.04 too.


Allow override of Java options without overriding the entrypoint

Right now, what would be done in JAVA_OPTS are generated at build time and inlined into the entrypoint. This makes it difficult to add settings such as overriding heap, changing logging config, turning on and off verbose:gc etc without also having to recreate the entrypoint.
For example, this attempt would have undone any options setup in the gradle plugin
https://github.com/hypertrace/hypertrace/blob/68bfd41cad4515e0e8c18c0693cf03423d031224/docker/scripts/start-platform.sh
I believe the simplest way is to add JAVA_OPTS as is typically used for this instead of trying to up-front engineer a list of variables to do things similarly, as for example schema-registry does and has a different one for heap vs gc vs logging config etc. The rationale is that there's heavy cost of re-deploying this plugin across N repos and also the impact is only ourselves. JAVA_OPTS is commonly used and well understood enough including its cons to allow a way to progress with a lot of thrashing, discussion or rebuild/deploy based iterations.
Note: JAVA_TOOL_OPTIONS exists, but it is not a good choice for this, as it was designed to push down agent config https://docs.oracle.com/javase/8/docs/platform/jvmti/jvmti.html#tooloptions
IOTW, this property would change this also https://github.com/hypertrace/attribute-service/blob/a0439235410d5c2b921715201ba06bfe946e979a/helm/templates/deployment.yaml#L64-L65

Agree this is a good thing to have and looked at it briefly. It'll be a bit more involved to implement because the current implementation that our plugin is built on allows adding jvm opts at build time, but they get inlined as literals. it makes more sense to add JAVA_OPTS the env variable to allow overrides at runtime. To get that in, we'll need to customize the entry point internally, which means likely changing the whole implementation of docker file generation to fully own it. At that point we can
also introduce a start script as we discussed elsewhere, so while a bit of effort would unlock several improvements and allow cleaning up of some tech debt.
If not pressing, I can probably use this as a good self-contained project when flying on monday.

there are still many projects to update, and ones that would change wrt docker monday are maybe 2, and maybe would need change also weds :P thanks for taking this on.


Fix build Velox script incorrectly judged as successful when run make.

What changes were proposed in this pull request?
Fix build Velox script incorrectly judged as successful when run make.
(Fixes: #ISSUE-ID)
How was this patch tested?
munally.

see #6330


ffmpeg caching

Caches ffmpeg
splits get into get_nwjs and get_ffmpeg

Looks good except for the test you added (it doesn't really test the caching behaviour). I think we can remove it, merge this in and I'll think of how to test this behaviour (maybe use some fixtures).


Add Domain Name Verification Service

Implement and standardize a service endpoint called DomainNameVerification. It links to a domain that is owned by the identity, such as the website of the organization. This domain can be queried, which should resolve in a standardized JSON response that lists the DID(s) used to represent the domain owner. If the DID that lists the service is also listed in the returning query, we have proof that the DID is in control over the domain. This URL may be displayed to a Verifier to add additional trust to an identity.
Resources:
Presentation (2019) that explains the concept on a high-level.
TODO: Find other resources of other projects

[ ] Write a specification for the DomainNameVerification service endpoint
[ ] Implement service
[ ] Create a test / example

While domain querying with http can be useful, I would recommend considering something like proof at the DNS layer. Something like how a DMARC TXT record can be used.

Interesting @nothingismagick, that would remove some weaknesses in the design. Some quick research from my end shows we would have to use TXT records which allows a maximum of 255 characters and is used for Verification of Domain Ownership by Google and Facebook. It seems you can even bypass the 255 character limit by splitting records, which would allow an array of multiple DIDs associated with an organization. This does of course create linkability between those DIDs but would allow an organization to be represented with multiple DID methods.

I would suggest to generalize the service endpoint: If the resolved query cointain a list of DID, the service will return it, otherwise it should return the content with the appropriate content type (JSON, HTML, ... ).
The service point can be used for many different use cases.


Iterate over columns

I can't find in the documentation anywhere how you would iterate over columns.
Here on GitHub it says there's a col() function which I'll try but why not just call it cols()?

You can use col() to iterate over a specific column. There's no cols() because it's a row-major implementation of a 2D array.
To iterate over each column, just use a loop, i.e., (pseudo code),
for (i from 0 to num_cols - 1) {   columnIter = col(i)   ... }


It‘s so  weird ,there is  high gpu  consumption (more than 35% ) even your shut down the tracker and just use cpu ,How to Fix this?

windows 10 ,
Kinect.Sensor version="1.4.1"
nvidia  gtx 1080ti 11G.
code:
tracker_config.processing_mode = K4ABT_TRACKER_PROCESSING_MODE_CPU;// just use cpu
k4abt_tracker_shutdown(tracker);//shut dowm

result :
gpu more than 35%

Are you sure the GPU is being consumed by the body tracker? Windows 10 also uses the GPU.

Thanks for your reply,the GPU is not being consumed by the body tracker,the body tracker is being shut down , the GPU is consumed  by   the Kinect.Sensor  framework  itself ,
When you shut down the tracker but do not stop the depth camera, the GPU will be consumed a lot,
VERIFY(k4a_device_open(cameID[cameIndex], &devices[cameIndex]), "Open K4A devices[cameIndex] failed!");
k4a_device_configuration_t device_configs[camerasNum] = { K4A_DEVICE_CONFIG_INIT_DISABLE_ALL,K4A_DEVICE_CONFIG_INIT_DISABLE_ALL,K4A_DEVICE_CONFIG_INIT_DISABLE_ALL };
device_configs[cameIndex].camera_fps = K4A_FRAMES_PER_SECOND_30;
device_configs[cameIndex].color_format = K4A_IMAGE_FORMAT_COLOR_BGRA32;
device_configs[cameIndex].color_resolution = K4A_COLOR_RESOLUTION_1440P;
device_configs[cameIndex].wired_sync_mode = K4A_WIRED_SYNC_MODE_STANDALONE;
VERIFY(k4a_device_start_cameras(devices[cameIndex], &device_configs[cameIndex]), "Start K4A cameras failed!");
above  codes even does not create a tracker ,but still consumed   GPU more than 35%,  the Gpu reback to  normal(0%) if exec k4a_device_stop_cameras(devices[cameIndex]);
I'm pretty sure about that  and  this make me  confused,Why does this framework consumed GPU so much just for  running  camera?

First, task manager and all "usage graphs" are approximate and not absolutely true.
In my experience, there is a basic level of GPU use for the basic kinect azure functions. The system requirements https://docs.microsoft.com/en-us/azure/kinect-dk/system-requirements#minimum-host-pc-hardware-requirements suggest that a DirectX11 gpu is used for the "DepthEngine". The depthengine is the closed-source proprietary code that processes the raw sensor data->depthmap.
I also have seen that an integrated Intel GPU can sometimes show less relative "usage" during basic sensor use in task manager compared to a discrete Nvidia GPU. I believe part of this is due to the Intel using shared memory -- no memory transfers over PCIe both to/from the discrete gpu.
Other data, like color, may also be processed by the GPU if you use specific options. That part of the code is open-source and you can read the code yourself in this git repo. Intel gpus are much faster at decoding color compared to Nvidia. This is due to Intel's Quicksync decoder which in some configurations may be automatically used by Windows Media Foundation when you request color processing like BGRA32.
 It is capable of being used for the Kinect. However, it will likely have less performance than my graphics which were released ~6 months ago. In my perspective, I don't see anything alarming with your 31% usage that would be everything you do with the Kinect + Windows rendering itself.

Really thanks for your reply！ I‘m agree with task manager are  not absolutely true. but the azure kinect framework does consumed cudas in my case  which body tracker is shut down  and set K4A_COLOR_RESOLUTION_OFF , due to this fact,There are no enough cuda resources for running other neural networks and case  a lower fps ,  second,  I thiink raw sensor data->depthmap should be processesed on the CPU in real time just like other depth cameras such as intel  realsense ,  third，  gtx1080ti 11g graphics   is on par with   nvidia rtx2070super，the weirdest thing for last is  tha a  integrated intel graphics can fully meet It's work needs  but the It Occupies most of the resources when there is a powful graphics ,

Is there any way to assign device ID for  the  basic level of GPU use of    kinect azure functions ?   not  by setting  "tracker_config.gpu_device_id" ,It only for  body tracker  .

I do not know of an API today to force the depthengine to use a specific GPU. I do not think the SDK is currently designed to use a only a CPU. This has already been requested in https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1428
You can see the open-source api that it used between the open-source part of the SDK when it calls into the closed-source https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/include/k4ainternal/k4aplugin.h. I see no capability to chose a GPU.
I use separate gpu tools to force my app to run on a specific GPU during my testing. Window 10 now has a tool to choose an app's gpu in the advance graphic settings. Older Windows used the Nvidia control panel to specify the gpu for an app. This is the only way that I know to control gpu for the basic sensor data. The current SDK always needs a DirectX11 GPU. This is specifically stated in the system requirements I linked above.
I recommend you code and test your app. Until you do the work, you are guessing. I do not see any promise from Microsoft that you can process Kinect data locally + run additional neural networks. Instead, the docs focus on only the processing of the Kinect data. Microsoft will gladly provide Azure cloud services that can receive the processed Kinect data and run your neural nets. 😉
I often look at the task manager graphs when I am coding/testing. Recently, I was surprised. Task manager showed less Nvidia gpu use when I enabled features A+B --compared-- to only feature A. It seems impossible this could be true. But the task manager graph is not always accurate. Feature A requires very little gpu processing. I suspect more time is used copying the 4K data to+from the bus. My guess is that inaccurate task manager + the Nvidia gpu driver is batching/pipeline/parallel together transfers+work and the Nvidia hardware will change/scale its threading and clockspeed based on incoming work. All of these are probably making it appear there is less gpu use when I enable two features. This article https://devblogs.microsoft.com/directx/gpus-in-the-task-manager/ from Microsoft writes the % utilization you are looking at is "utilization of the busiest engine as a representative of the overall GPU usage". And a gpu has many engines (3d, compute, copy1, copy2, decode, encode, crypto, etc.).

thanks for sharing ，you help me a lot,    this code "_putenv("CUDA_VISIBLE_DEVICES=1")" may be partial  works，It force the tracker to use the specific GPU but  not valid ineffective in depthengine .

The body tracking has a good API to control the cpu, specific gpu. https://microsoft.github.io/Azure-Kinect-Body-Tracking/release/1.x.x/structk4abt__tracker__configuration__t_a663351b13a0caa2b0240abcbcbcd7b14.html#a663351b13a0caa2b0240abcbcbcd7b14
On the body tracking CUDA_VISIBLE_DEVICES would work if you also chose K4ABT_TRACKER_PROCESSING_MODE_GPU_CUDA using the body tracking api.
The doc I read https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars suggests CUDA_VISIBLE_DEVICES is for CUDA api applications. The basic sensor sdk does not use CUDA api, therefore this variable probably does not work for basic sensor data. Do you have other doc or experience?
There might be a DirectML env var that works in body tracking. Last year the tensorflow-directml team added DML_VISIBLE_DEVICES https://github.com/microsoft/tensorflow-directml/releases/tag/v1.15.3.dev200911 and doc at https://docs.microsoft.com/en-us/windows/win32/direct3d12/gpu-faq#how-do-i-use-the--dml-visible-devices--environment-variable-to-control-which-gpu-s--get-used-by-directml. If you set K4ABT_TRACKER_PROCESSING_MODE_GPU_DIRECTML and this env var, you can probably control the gpu. The existing body tracking api above can do it also.

@diablodale thanks for your help ,you have good opinions, The basic sensor sdk does not use CUDA, funny thing is the basic sensor  occupies more gpu resources even  than  body tracking itself when you hanve powful card ,This caused me a lot of trouble，may you share the name of separate gpu tools?

I use separate gpu tools to force my app to run on a specific GPU during my testing. Window 10 now has a tool to choose an app's gpu in the advance graphic settings. Older Windows used the Nvidia control panel to specify the gpu for an app.

Search in Windows 10 for "Graphics settings". When your language is not English, then look in Display settings. Then scroll down and look for graphics settings. It will take you to settings for "Graphics performance perference". You can choose your app and your gpu with that.
Before that was included in Windows 10, Nvidia control panel had the same setting. It is installed with Nvidia drivers. Run the Nvidia control panel and click on the Program Settings tab. Then you can choose your app, and choose your GPU.


TouchesEnded is not called on iOS

TouchesEnded is invoked after TouchesBegan on Android, but not on iOS.
I noticed that all of the demo controls are either treating TouchesCancelled the same as TouchesEnded, or are only using TouchesBegan, which explains why the demos work on both Android and iOS, but my code that is working on Android does not work on iOS.
The behavior that I expect is that TouchesCancelled should be handled differently than TouchesEnded and should not invoke, for example, a Click event.

You are correct - the problem is that on iOS a button seems to be using some additional magic to detect touches - relying on touchesbegan/cancel/ended does not make for a good experience. TouchesCancelled is called when you have a touchesbegan and are not moving the touch point. If you'd like to experiment with this, please go ahead and see - you can create a merge request.

Closed due to missing answer

Hi Christian,
I didn't get a chance to integrate a solution into your project, but as a quick-and-dirty fix I subclassed NControl (as XControl) and implemented the following renderer on iOS:
public class XControlRenderer : NControlViewRenderer
{
    private UITouchesGestureRecognizer _gestureRecognizer;

    public XControlRenderer()
    {
    }

    protected override void OnElementChanged(
        ElementChangedEventArgs<NControl.Abstractions.NControlView> e)
    {
        base.OnElementChanged(e);

        if (e.OldElement != null)
        {
            if (null != this._gestureRecognizer)
            {
                this.RemoveGestureRecognizer(this._gestureRecognizer);
                this._gestureRecognizer = null;
            }
        }

        if (e.NewElement != null)
        {
            if ((null == this._gestureRecognizer) && (null != this.NativeView))
            {
                this._gestureRecognizer = new UITouchesGestureRecognizer(e.NewElement, this.NativeView);
                this.NativeView.AddGestureRecognizer(this._gestureRecognizer);
            }
        }
    }

    public override void TouchesBegan(Foundation.NSSet touches, UIEvent evt)
    {
        // Ignore buggy Xamarin touch events on iOS
    }

    public override void TouchesEnded(Foundation.NSSet touches, UIEvent evt)
    {
        // Ignore buggy Xamarin touch events on iOS
    }

    public override void TouchesCancelled(Foundation.NSSet touches, UIEvent evt)
    {
        // Ignore buggy Xamarin touch events on iOS
    }

    public override void TouchesMoved(Foundation.NSSet touches, UIEvent evt)
    {
        // Ignore buggy Xamarin touch events on iOS
    }

    private sealed class UITouchesGestureRecognizer : UIGestureRecognizer
    {
        private NControlView _element;
        private UIView _nativeView;

        public UITouchesGestureRecognizer(
            NControlView element,
            UIView nativeView)
        {
            if (null == element)
            {
                throw new ArgumentNullException("element");
            }

            if (null == nativeView)
            {
                throw new ArgumentNullException("nativeView");
            }

            this._element = element;
            this._nativeView = nativeView;
        }

        private IEnumerable<NGraphics.Point> GetTouchPoints(
            Foundation.NSSet touches)
        {
            var points = new List<NGraphics.Point>((int)touches.Count);
            foreach (UITouch touch in touches)
            {
                CGPoint touchPoint = touch.LocationInView(this._nativeView);
                points.Add(new NGraphics.Point((double)touchPoint.X, (double)touchPoint.Y));
            }

            return points;
        }

        public override void TouchesBegan(Foundation.NSSet touches, UIEvent evt)
        {
            base.TouchesBegan(touches, evt);

            var points = GetTouchPoints(touches);

            this._element.TouchesBegan(points);
        }

        public override void TouchesMoved(Foundation.NSSet touches, UIEvent evt)
        {
            base.TouchesMoved(touches, evt);

            var points = GetTouchPoints(touches);

            this._element.TouchesMoved(points);
        }

        public override void TouchesEnded(Foundation.NSSet touches, UIEvent evt)
        {
            base.TouchesEnded(touches, evt);

            var points = GetTouchPoints(touches);

            this._element.TouchesEnded(points);
        }

        public override void TouchesCancelled(Foundation.NSSet touches, UIEvent evt)
        {
            base.TouchesCancelled(touches, evt);

            var points = GetTouchPoints(touches);

            this._element.TouchesCancelled(points);
        }
    }
}

Thanks :-) When testing this I couldn't see any difference from the previous behaviour? The problem I see is that while on Android and WinPhone touches is passed through views, iOS does not. What kind of problems are you having?

The NControl subclasses in my Android app didn't work on iOS because there was no TouchesEnded event. I'm not sure why, but the event sequence was TouchesBegan followed by TouchesCanceled, no matter how I touched the button. Additionally, if I remember right, TouchesBegan was delayed so I had to hold the button for a little while before I received the event.
When I switched to the GestureRecognizer solution, everything worked as expected.
I think if you modify your demo controls to treat TouchesCanceled as a cancelation (instead of treating TouchesCanceled the same as TouchesEnded) you should be able to see the difference.
Thanks for looking into this!

I've seen that if you move the touch pointer (finger or mouse) a little bit you will get the TouchesEnded in the original implementation, but I agree with you that your solution seems to be better. Will try to integrate it.


Running the jdk8u-282 binaries in an app for mac fails

After downloading these binaries
I am using these binaries jre_x64_mac_hotspot_8u282b08.tar.gz in an app for mac (Catalina)
and get this issue:

Could anyone know how to fix it?

What are you doing to get this problem?

I am creating a connection-manager that launches a new jvm with those binaries but after create that I got that issue

No, that wasn't my question. You download the tarball, then you unpack it, what then? Step by step. The error message indicates an entitlement problem (Java has a JIT and needs appropriate entitlements). See https://stackoverflow.com/questions/52911791/hardened-runtime-for-java-and-mojave for what's required (more or less).

yes, I know that is something related to the entitlements but this is all the codesign output, and it seems to have the JIT entitlement
Identifier=net.java.openjdk.cmd
Format=Mach-O thin (x86_64)
CodeDirectory v=20500 size=832 flags=0x10000(runtime) hashes=17+5 location=embedded
VersionPlatform=1
VersionMin=657664
VersionSDK=658944
Hash type=sha256 size=32
CandidateCDHash sha1=1ba6f00b54113b29ef25e67cb00a80bb8fa80bb3
CandidateCDHashFull sha1=1ba6f00b54113b29ef25e67cb00a80bb8fa80bb3
CandidateCDHash sha256=996250cf70b51e62fe6b39dfde13dbb2891d3dbf
CandidateCDHashFull sha256=996250cf70b51e62fe6b39dfde13dbb2891d3dbffdc241624908aaf5b12d1d4e
Hash choices=sha1,sha256
CMSDigest=df0ff56334b6bf625b600f1ff279273b3061c7c3aaee28de5fe26ca57bf126f6
CMSDigestType=2
Page size=4096
    -5=633e0f689a63307676d30275f0a474e0962b649e14ee91379c5dae3d18b49578
    -4=0000000000000000000000000000000000000000000000000000000000000000
    -3=0000000000000000000000000000000000000000000000000000000000000000
    -2=5cf9409838ccbabef2a0ebdb87f55ac1f0c7860844793262f70f50d4cb57cf17
CDHash=996250cf70b51e62fe6b39dfde13dbb2891d3dbf
Signature size=9038
Authority=Developer ID Application: London Jamocha Community CIC (VDX7B37674)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=Jan 20, 2021 at 06:25:48
Info.plist entries=4
TeamIdentifier=VDX7B37674
Runtime Version=10.14.0
Sealed Resources=none
Internal requirements count=1 size=180
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.security.cs.allow-jit</key>
    <true/>
    <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
    <true/>
    <key>com.apple.security.cs.disable-library-validation</key>
    <true/>
    <key>com.apple.security.cs.allow-dyld-environment-variables</key>
    <true/>
    <key>com.apple.security.cs.debugger</key>
    <true/>
</dict>
</plist>%
```

If I am right the binaries have the correct entitlement,  also when I do java -version it works, it is only when I launch the java with my app.
First, check for a valid libjli, then launch the jvm with those binaries, and  immediately after that, get that issue

Your looking at the JDK in isolation, not at your app. If you want to bundle the JDK, you have to treat it as part of your app. So your app needs those entitlements and you need to resign the JDK as part of your app. You really have to follow what @tresf documented so nicely on StackOverflow: https://stackoverflow.com/a/53528020/759042 (note to myself: Add that to our upcoming user manual).
But I have to add: I never did that myself. I'm only relaying what our experts for notarization/code signing are doing.

Another good resource, albeit a bit proprietary: https://bell-sw.com/announcements/2020/06/10/How-to-Notarize-a-Mac-Application-with-Liberica-JDK/

Your looking at the JDK in isolation, not at your app. If you want to bundle the JDK, you have to treat it as part of your app. So your app needs those entitlements and you need to resign the JDK as part of your app. You really have to follow what @tresf documented so nicely on StackOverflow: https://stackoverflow.com/a/53528020/759042 (note to myself: Add that to our upcoming user manual).
But I have to add: I never did that myself. I'm only relaying what our experts for notarization/code signing are doing.

using the same entitlements in my app solves my issue with the openjdk!! thanks so much for your help


Fix function spacing

Add a space before opening parenthesis in function declarations. Once this is in I'll update the eslint config to add the rule to check this.

👍


Added Expense Tracker

https://github.com/user-attachments/assets/0d0bb553-bb6c-4157-8371-8e1a06682d7d
fixes #61
@indrakishore kindly review it

Screen.Recording.2024-10-10.at.16.47.12.mov
fixes #61 @indrakishore kindly review it

@shalini-bhandari Please include a readme file for this project that details the technology stack utilized and how any user can use it.

@indrakishore kindly review it, i have added readme

@indrakishore kindly review it, i have added readme

@shalini-bhandari cool, merging.


fuzzy search

Results should appear if terms searched are not exact to items:
For the digital collections tool, there were issues with searching using words that were not exact to the item. For example, when users were asked to find a map of the US showing the temperature, they would search variations like USA, US, temp, etc. yielding no results.

done, can configure with characters. do n gram for partial word searchs


Danger local https fix

This PR adds a feature to enable and build the package with the danger-local-https feature, but it is disabled on default now since it is only a dev-dependency.

This PR depends on https://github.com/LtbLightning/payjoin-ffi/pull/32. First merge that and then change the dependency back to the LtbLightning's repo here:
// Change:
payjoin_ffi = { git = "https://github.com/kumulynja/payjoin-ffi", branch = "danger-local-https" }
// To:
payjoin_ffi = {git = "https://github.com/LtbLightning/payjoin-ffi", branch="v0.18.0"}


ERR_FILE_NOT_FOUND when opening wallet

Description
Some users are seeing this error message - ERR_FILE_NOT_FOUND - when they open the wallet.
Steps to Reproduce

User has downloaded latest version of wallet (on windows 10 and 11) and tried to open it.

Screenshots

Device details
Issue experienced by separate users on both Windows 10 and Windows 11

related Wails issue:

https://github.com/wailsapp/wails/issues/940

We managed to reproduce it when we open the software for mainnet, after we opened the software for fairground. To avoid each software to overright eahcothers cofig, we will introduce separated vega home:

https://github.com/vegaprotocol/vegawallet-desktop/issues/576


[FEATURE REQ] Allow an option for BlockBlobClient.UploadAsync to only use PUT Blob

Library or service name.
Azure.Storage.Blobs
Is your feature request related to a problem? Please describe.
Today BlockBlobClient chooses to call PUT Blob or PUT Block internally. While these strategies both upload the content, the first API has an auto-generated server side MD5 content hash, which is useful in many scenarios. The second API doesn't.
While input stream length can be adjusted with InitialTransferSize, it is not obvious that a non-seekable stream would also cause chunked upload. We are dealing with a lot of streams with a known length but un-seekable (like an HTTP request stream), it is not optimal to convert these streams to a seekable stream just to bypass chunked transfer behavior.
Force UploadAsync to use PUT Blob is a simple way to enforce MD5 hash for all blobs, Consider add an option to disable chunked upload.
https://github.com/Azure/azure-sdk-for-net/issues/17676#issuecomment-749777800

You should be able to get Upload to to a Put Blob instead of a Put Block / Put Block List by altering the InitialTransferSize to be larger than the size given. That way it will be done in a one shot upload. As a mitigation.
@seanmcc-msft @kasobol-msft What do you think about making it more obvious on how to force upload to do a single Put Blob, instead of telling people to alter the InitialTransferSize.

Note that Put Blob has a size limit of 4000MiB - https://docs.microsoft.com/en-us/rest/api/storageservices/put-blob#remarks

@amnguye @seanmcc-msft
Simply altering InitialTransferSize may not work for all cases. The GetLengthOrDefault method requires the source stream to be seekable. Some streams aren't seekable but have length information, like an HTTP request stream where we can get  the length from Content-Length header but the stream itself if not seekable. Today we are using a relaying memory stream just to workaround that method.

Adding in this feature request would have the limitation of a 4000MB upload, because the Put Blob REST call has a 4000MB size. (There's nothing the SDK can change about this limitation).
So I don't see how adding this feature request would resolve your scenario.

@amnguye I think there should be an API on Specialized.BlockBlobClient that just maps directly to put blob (like here).


Merge changes from downstream

To discuss whether this should go on for 4.1
changes

json schema form mat-error styling fix
info & border style colors
desktop style fixes
changes to breadcrumbs
sidenav dark mode fix
new functionality for card-number-metric component
filter endpoint by type
more info in stepper onNext fn
SessionService with isTechPreview
Add reset pagination of type action/reducer
Fix cf endpoint sort by type bug

Codecov Report

Merging #4567 into master will decrease coverage by 0.10%.
The diff coverage is 37.70%.

@@            Coverage Diff             @@
##           master    #4567      +/-   ##
==========================================
- Coverage   58.60%   58.49%   -0.11%
==========================================
  Files         882      883       +1
  Lines       29105    29237     +132
  Branches     4200     4234      +34
==========================================
+ Hits        17056    17103      +47
- Misses      12049    12134      +85


Use minor version for backwards incompatible changes

This is more like a comment, so feel free to close it immediately. I was just surprised when the API changed (generichash::State::new) in a release with a patch version increase. I read the spec and I think it is allowed in semver because the 0.x.y just don't give any guarantees about stability.
I specified my dependency as 0.2 and I think it would be much nicer if a simple cargo update did not break the build.

hm, that sounds like a mistake on our side, we should yank the last version and re-release it as 0.3.0

To pile up on this, release 0.2.6 -> 0.2.7 also broke serialization/de-serialization of Signatures in my code:
error[E0277]: the trait bound `Signature: Serialize` is not satisfied
  --> src\packers.rs:30:2
   |
30 |     pub signature: sign::Signature,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Signature`


fix: correct link

Corrects a dud link.

This is an automated message:
You can preview this docs PR at http://505.docs-pr.validatedpatterns.io
Note that they get generated every five minutes, so please wait a bit.


Include step of adding "ie 11" in package.json developement key when using react-app-polyfill

Is your proposal related to a problem?

When following instructions on this page: https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md, in my case to make ie11 work in development, I also had to add "ie 11" to my package.json > browserlist> development. This should be documented.
Describe the solution you'd like

In package.json > browserslist > development, add "ie 11" or the appropriate IE version that corresponds to the polyfill in use. You might also, need to delete your node_modules folder and re-install the modules.
Describe alternatives you've considered

None.
Additional context

N/A

Happy to raise a PR if you agree.

Sure you can link back to here: https://create-react-app.dev/docs/supported-browsers-features/#configuring-supported-browsers

Sure you can link back to here: https://create-react-app.dev/docs/supported-browsers-features/#configuring-supported-browsers

I added the polyfills according to the instructions, but still get an error:


IMAP messages retrieved out-of-order

I used another IMAP client (Thunderbird, fwiw) to copy messages into my inbox from another account. To the extent I can verify, none of the date/time metadata changed on those messages but K-9 Mail retrieved these old copied messages as if they were the newest messages.
Before I copied those messages, my K-9 Mail inbox was correctly populated with at least several dozen recent emails. After the copy, it only contained old copied messages and messages which arrived after I performed the copy. Hitting Load up to 25 more loaded 25 more old messages, not the 25 most recent inbox messages.
I tried using 'Clear local messages' on the Inbox folder but the old-message-first behavior remained.
The only solution I found was to keep loading messages until all the old copied ones were present in my K-9 Mail inbox. That's obviously a poor solution since it means I have to haul around hundreds of old emails.
Environment
K-9 Mail version: 5.010
Android version: 6.0.1
Account type: Exchange via IMAP

Developer notes - some hypothesising:
I think the reason for this is that we show and display messages based on UID not received time. The copied messages will have newer UIDs but older received times. UID is an IMAP property which is fairly transparent in terms of message contents.
I think we should still fetch the messages UIDs during the poll, but also keep a mapping of UID to receipt time and then show by receipt time.
There are other issues with relying on UIDs exclusively - e.g. #1074 - which should be considered when doing this work.
My general instinct is that this will be a fairly chunky re-work of some of the store behaviour though.

See e.g. https://groups.google.com/d/msg/k-9-mail/Vbt8LmEECqY/IPIiKbcjT7oJ

Android 7.
Am 04.10.2016 1:04 nachm. schrieb "cketti"<EMAIL_ADDRESS>
See e.g. https://groups.google.com/d/msg/k-9-mail/Vbt8LmEECqY/IPIiKbcjT7oJ
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/k9mail/k-9/issues/1642#issuecomment-251358572, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVVQbqlcdgtQ6nCa870Xu2dhl8Uu7P-Xks5qwjKmgaJpZM4KIOhq
.

I think k9Mail should simply call the IMAP SORT command using the correct sort. Very old IMAP servers don't support sorting while fetching mails, but all new ones do it:
https://datatracker.ietf.org/doc/html/rfc5256
K9Mail only executes simple FETCH commands with UID, which no modern mail program does anymore if the SORT extension in IMAP is available. Other programs like Thunderbird or Outlook all use the SORT command, if available.
If you manually select a sort order in the menu of K9, this order only gets applied to local messages and is not executed on server.

I think that's the correct approach. K-9's current behavior of fetching the newest (highest) UIDs bit me today. An unexpected filter behavior (possibly a bug) in Thunderbird emptied my INBOX into another folder. I moved stuff back, but Thunderbird wasn't quite done moving stuff. So, that happened out of order.
UIDs are per folder. So, when moving stuff around, UIDs are re-assigned.
Way to recovery:

Move everything out of INBOX into a temporary folder
Sort it by reverse date
Move it back into INBOX

Or wait for the next 20 messages to arrive...


Mcumgr revision update to add multi-image support to Zephyr

This is NRF update, taken from upstream PR zephyrproject-rtos/zephyr#38359, that elevates mcumgr revision to include multi-image support and adds Zephyr commits that allow the feature to be selected via Kconfig.

The PR is replacing, with correct commit messages, the now reverted https://github.com/nrfconnect/sdk-zephyr/pull/587


Regression in frawa/typed-json for typer / implicit search

Based on OpenCB failure in frawa/typed-json - https://github.com/VirtusLab/community-build3/actions/runs/10043516433/job/27756747215
Not exactly sure if it should be fixed. The compiler is now more precise which might be an improvement. I'm not sure how to workaround it though without explicitly hinting the type
Compiler version
Since 3.4.1
Last good release: 3.4.1-RC1-bin-20240126-1716bcd-NIGHTLY
First bad release: 3.4.1-RC1-bin-20240129-b20747d-NIGHTLY
Probable cause: https://github.com/scala/scala3/pull/19096
Minimized code
sealed trait Keyword
sealed trait AssertionKeyword extends Keyword
sealed trait TypeKeyword extends AssertionKeyword
case object NullTypeKeyword extends TypeKeyword

case class Keywords(keywords: Set[Keywords.KeywordWithLocation])
object Keywords:
  type KeywordWithLocation = WithLocation[Keyword]

case class WithLocation[+T](uri: String, value: T)

trait Compare[A, B]
object Compare extends ComparePriority2:
  given compareSubtypeWithSupertype[A, B](using A <:< B): Compare[A, B] = ???
trait ComparePriority2:
  given compareSupertypeWithSubtype[A, B](using A <:< B): Compare[B, A] = ???

class KeywordsTest:
  private def assertKeywords(f: Keywords => Unit): Either[Nothing, Unit] = ???
  def assertEquals[A, B](obtained: A, expected: B)(using Compare[A, B]) = ???
  val keywords: Keywords = ???
  assertEquals(keywords.keywords, Set(WithLocation("", NullTypeKeyword))) // error
  // Summon resolves to:
  // - in 3.4.1 Compare.compareSubtypeWithSupertype[Set[Keywords.KeywordWithLocation], Set[WithLocation[Keyword]]]
  // - in 3.4.2 Compare.compareSubtypeWithSupertype[Set[Keywords.KeywordWithLocation], Set[WithLocation[NullTypeKeyword.type]]]

Output
-- [E172] Type Error: /Users/wmazur/projects/sandbox/src/main/scala/test.scala:22:73
22 |  assertEquals(keywords.keywords, Set(WithLocation("", NullTypeKeyword))) // error
   |                                                                         ^
   |No given instance of type Compare[Set[Keywords.KeywordWithLocation],
   |  Set[WithLocation[NullTypeKeyword.type]]] was found for parameter x$3 of method assertEquals in class KeywordsTest.
   |I found:
   |
   |    Compare.compareSubtypeWithSupertype[Set[Keywords.KeywordWithLocation],
   |      Set[WithLocation[NullTypeKeyword.type]]](
   |      /* missing */
   |        summon[Set[Keywords.KeywordWithLocation] <:<
   |          Set[WithLocation[NullTypeKeyword.type]]]
   |    )
   |
   |But no implicit values were found that match type Set[Keywords.KeywordWithLocation] <:< Set[WithLocation[NullTypeKeyword.type]].

Expectation
Not sure, but maybe it should still compile.

I saw a similar problem in https://github.com/scalameta/munit/issues/819.
This sounds expected if we instantiate type parameters before implicit search. So I guess the solution is to add type ascriptions manually.

Further minimized.
// eq.scala
class C
class D extends C

class Compare[A, B]
given [A, B](using A <:< B): Compare[A, B] = Compare()

def assertEquals[A, B](obtained: A, expected: B)(using Compare[A, B]) = ???

@main def main = assertEquals(Set(C()), Set(D()))

➜  ~/scala-snippets-6 scala compile -S 3.4.1-RC1-bin-20240126-1716bcd-NIGHTLY eq.scala
Downloading Scala 3.4.1-RC1-bin-20240126-1716bcd-NIGHTLY compiler
Downloading Scala 3.4.1-RC1-bin-20240126-1716bcd-NIGHTLY bridge
Compiling project (Scala 3.4.1-RC1-bin-20240126-1716bcd-NIGHTLY, JVM (17))
Compiled project (Scala 3.4.1-RC1-bin-20240126-1716bcd-NIGHTLY, JVM (17))
➜  ~/scala-snippets-6 scala compile -S 3.4.1-RC1-bin-20240129-b20747d-NIGHTLY eq.scala
Downloading Scala 3.4.1-RC1-bin-20240129-b20747d-NIGHTLY compiler
Downloading Scala 3.4.1-RC1-bin-20240129-b20747d-NIGHTLY bridge
Compiling project (Scala 3.4.1-RC1-bin-20240129-b20747d-NIGHTLY, JVM (17))
[error] ./eq.scala:9:50
[error] No given instance of type Compare[Set[C], Set[D]] was found for parameter x$3 of method assertEquals.
[error] I found:
[error]
[error]     given_Compare_A_B[Set[C], Set[D]](/* missing */summon[Set[C] <:< Set[D]])
[error]
[error] But no implicit values were found that match type Set[C] <:< Set[D].
[error] @main def main = assertEquals(Set(C()), Set(D()))
[error]                                                  ^
Error compiling project (Scala 3.4.1-RC1-bin-20240129-b20747d-NIGHTLY, JVM (17))
Compilation failed

@frawa This might require changes in your codebase in the future when upgrading Scala 3 version


Change Color Background

Developer Checklist

[x] Followed guidelines mentioned in the readme file.
[x] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[x] Starred ⭐ the Repo (Optional)

Summary
add a summary here
Screenshot

attach screenshots/gifs here
Live Project Link
add a working project link here

@PBJI please review this PR and merge if correct

@Somil-Shukla rename it to BackgroundGenerator


Expected ';' and instead saw 'var'.

"use strict"
var a = function(){};
var b = function(){};

"use strict";

"use strict";
var a = function(){};
I tried this an an error occured.. I'm currently making my own validator.. heheh
Expected one space between 'function' and '('.


Enable create TLS server without initial context

Fix https://github.com/molnarg/node-http2/issues/182

So I get that node's https module allows this, but how many things does not having this functionality break? In reality, it makes zero sense to have a server with no SNI contexts for HTTP/2 - since SNI support is a requirement in the RFC. As such, I'm not inclined to allow this (even though it deviates from the https API) without a really good reason.

This simply allows lazy loading or async loading of SNI contexts,
For example when there are a lot of contexts or when they are not known in advance.
My usecase is a mitm proxy.
But I could give you more usecase if you need it.
Also, I think you're misleading 2 things:

The requirement for SNI support (the client must indicates the target Server Name and the server must read this field to answer)
SNI Context. which does not exists in RFC. This is a server implementation. In the case of nodejs and http2 they can be hotswitched (added/removed when server isrunning) so there is no reason for forcing to have at least one at start. Why adding constraints when there are not useful?

Thanks, @felicienfrancois for the added context. I got to thinking about this more last night (even before you commented), and what I think we should do is this - remove the requirement for adding the SNI context from http2.Server.create, but in http2.Server.start, do the check to make sure we have at least one SNI context (it doesn't make sense, in my mind, to start a server without some context).
Does that seem reasonable?

@nwgh this is better and it would partly solve my usecase (I still need to start the server after I add the first context. So I will have to store or test if the server have already been started or not).
But I still does not understand why leaving this constraint.
Would it break if we start a server without initial SNI context ?
This is like starting a static server with no files to serve or serving an empty directory.
In a functional point of view it does not makes sense but is it a reason to prevent it ?
There could be yet knowns or unknowns situations where it could be useful or required, for a functional or more probably a technical reason.
The usecases that come to my mind are dynamic contexts, coming from a database for example (one context per client). It would means that the server cannot be started until there is at least one entry in database (i.e. one client) which may be tricky to handle.
Then, I think serving the standard SNI error on serve, is as meaningful as throwing an error on start.

just a friendly bump :)