Repo sync for protected CLA branch

The pull request is created from main637959226750204255sync_temp to main to fix git push error for protected CLA branch

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


First draft at README.md

As a FCC Columbus contributor
I want to see some instructions on the group's main repository
So that I can get an idea of how I can contribute

modify the README.md file as needed.  might need links to other markdown files in the repo.

From amygnb: There are some recommendations for adding Prettier and ESLint extensions to your IDE that would probably be helpful to document in the README.md.  The Prettier extension will auto-format on save, which is nice, so that you don't have to wait to have your files formatted in the pre-commit git hook.  The ESLint extension will highlight linting warnings and errors as you code, so again, you don't  have to wait for that feedback in the pre-commit hook.

Both Prettier and ESLint are configurable, but I left them mostly with just the defaults.
There's a list of "supported editors" on the Prettier site (https://prettier.io/).  I've really only ever used VSCode, but I'm assuming that means there are extensions available for the other editors listed.  ESLint also has editor integrations, listed here: https://eslint.org/docs/latest/user-guide/integrations#editors

new issue was created for above comment.  the content we have now is good.


JDBC test cases

First shot at test cases for the JDBC module. This should probably have come before I started working a lot on the JDBC module, but, better late than never.
Uses an in-memory HSQLDB instance which doesn't leave any artifacts behind. Tests the 5 major operations. There may be other edge cases, please let me know. Otherwise, I hope this is a good first step to test cases.
There are several TODOs. We cannot properly test correct field values until #132 has been fixed. Currently the tests only test proper counts. Once a fix for #132 hits, we can uncomment all the TODO lines.

test scoped the hsqldb dependency

Fixed the noted issues.

license added

Thanks - +1 to more tests. Would you mind squashing some of these commits? Otherwise looks good.

@cmccoy - commits squashed


Merge Develop into Main

Includes new snippets

Codecov Report

Merging #79 (b183a97) into main (c984557) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #79   +/-   ##
=======================================
  Coverage   87.21%   87.21%
=======================================
  Files          72       72
  Lines         931      931
  Branches       80       75    -5
=======================================
  Hits          812      812
  Misses        119      119

Impacted Files
Coverage Δ

examples/faas/events.ts
42.85% <ø> (ø)

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 c984557...b183a97. Read the comment docs.


Fix Navigation Bar Position + Add Event list to homepage

Make sure the navigation bar is appended to the html where there's a div called 'navbar'. It will no longer just append the navigation bar in a random position in the body of the html. I called event in his homepage, so it should display a list of events in the homepage alongside the navigation bar and the search bar.

Looks good!


UnknownOperationException from API Gateway + Lambda using lambda_http 0.8.0 and lambda_runtime 0.8

I've created an API Gateway connected to a Rust Lambda following the Pokemon service guide. I've wrapped my Smithy service using the crates lambda_http = 0.8.0 and lambda_runtime = 0.8 like so:
  #[tokio::main]
  pub async fn main() {
     setup_tracing();

      let app = BrokerService::builder_without_plugins()
          .do_nothing(do_nothing)
          .check_health(check_health)
          .build()
          .expect("failed to build an instance of BrokerService");

      let handler = LambdaHandler::new(app);
      let lambda = lambda_http::run(handler);

      if let Err(err) = lambda.await {
          eprintln!("lambda error: {}", err);
      }
  }

However, when I downgrade those lambda crates to 0.7.0 and 0.7 respectively, I receive a 200 response from both my routes.

Can reproduce. Adding two tower_http::trace::TraceLayer::new_for_http() layers, one before and one after wrapping the Service in LambdaHandler yields:
{"timestamp":"2023-05-05T17:03:53.336874Z","level":"DEBUG","fields":{"message":"started processing request"},"target":"tower_http::trace::on_request","span":{"method":"GET","uri":"https://redacted.execute-api.us-east-1.amazonaws.com/prod/do-nothing","version":"HTTP/1.1","name":"request"},"spans":[{"requestId":"bc321be8-58b7-4dfb-affe-255427fbd2ff","xrayTraceId":"Root=1-645536f9-2a73cf0f49c91ea55799e5d1;Parent=704b2a5c2460b6c7;Sampled=0","name":"Lambda runtime invoke"},{"method":"GET","uri":"https://redacted.execute-api.us-east-1.amazonaws.com/prod/do-nothing","version":"HTTP/1.1","name":"request"}]}
{"timestamp":"2023-05-05T17:03:53.336912Z","level":"DEBUG","fields":{"message":"started processing request"},"target":"tower_http::trace::on_request","span":{"method":"GET","uri":"https://redacted.execute-api.us-east-1.amazonaws.com/prod/do-nothing","version":"HTTP/1.1","name":"request"},"spans":[{"requestId":"bc321be8-58b7-4dfb-affe-255427fbd2ff","xrayTraceId":"Root=1-645536f9-2a73cf0f49c91ea55799e5d1;Parent=704b2a5c2460b6c7;Sampled=0","name":"Lambda runtime invoke"},{"method":"GET","uri":"https://redacted.execute-api.us-east-1.amazonaws.com/prod/do-nothing","version":"HTTP/1.1","name":"request"},{"method":"GET","uri":"https://redacted.execute-api.us-east-1.amazonaws.com/prod/do-nothing","version":"HTTP/1.1","name":"request"}]}

which seems to indicate convert_event in lambda_handler.rs is not stripping away the /prod stage prefix:
https://github.com/awslabs/smithy-rs/blob/74b2df9337837f7858cf8f3e736bd9f43205d9a3/rust-runtime/aws-smithy-http-server/src/routing/lambda_handler.rs#L56-L89
This change in lambda_http in between versions 0.7 and 0.8 is interesting: https://github.com/awslabs/aws-lambda-rust-runtime/pull/607
Best course of action to continue investigating this would be to instrument convert_event.

Instrumenting convert_event revealed that indeed the problem arises from that PR. That PR made it so that the RawHttpPath type is different between the v0.8.0 and the v0.7.0 versions of the lambda_http crate.

In v0.7.x, the type was found at lambda_http::ext::RawHttpPath.
Starting from v0.8.0, the type is now found at lambda_http::ext::extensions::RawHttpPath.

These are, to the eyes of the compiler, fundamentally different types with no relation whatsoever.
So what happened here, with a smithy-rs service depending on the lambda_http = "0.8.0" crate and the aws-smithy-http-server = { version = "0.55.2", features = ["aws-lambda"] } crate (which depends on lambda_http = "^0.7.0"), is that the two versions of lambda_http were in the service's closure, and the request flowed like this:

lambda_http 0.8.0 receives the request from API Gateway in the form of a Lambda event and inserts the lamba_http::ext::extensions::RawHttpPath in the HTTP extensions bag when converting it to an http::Request.
The http::Request is handed over to the LambdaHandler service, which invokes aws_smithy_http_server::routing::lambda_handler::convert_event to convert the lambda_http::Request into a http::Request<hyper::Body>.

https://github.com/awslabs/smithy-rs/blob/97c70c429c9bb2a3885d3487e22fd24adaf12d1c/rust-runtime/aws-smithy-http-server/src/routing/lambda_handler.rs#L56-L61

While converting the event, this function attempts to remove the API Gateway Stage portion of the URI. This is done in the call to let raw_path = request.raw_http_path();, which uses lambda_http ^0.7.0 to retrieve the lambda_http::ext::RawHttpPath type from the extensions bag.

fn raw_http_path(&self) -> String {
    self.extensions()
        .get::<RawHttpPath>()
        .map(|ext| ext.0.clone())
        .unwrap_or_default()
}

This of course fails, since that type was not inserted by lambda_http v0.8.0 before. So the unwrap_or_default() gets enacted, and an empty String is returned. This makes convert_event return the incoming request as-is, without stripping off the stage from the URI. So if curl -X POST -v https://redacted.execute-api.us-east-1.amazonaws.com/prod/operation was hit, then /prod/operation is routed by smithy-rs, which hence yields an UnknownOperationException, since the router has the route registered at POST /operation.

Ultimately, we've decided to palliate this shortcoming with documentation in https://github.com/awslabs/smithy-rs/pull/2683. See the linked PRs/issues for relevant tracked work.

I'm going to go ahead and close this since the documentation has gone out in smithy-rs 0.56.0. smithy-rs 0.56.0 now works with lambda_http ^0.8.0.


WebView chrome extraction

Many apps uses chrome WebView as a background framework, leaving similar artifacts to Google Chrome browser.

PR #460 closes this.


[#2608] improvement(IT): Splitting WEB-E2E IT into an alone Github Action

What changes were proposed in this pull request?

Add Gradle compile parameter skipWebITs
Splitting integration-test Github Action

Why are the changes needed?
Run WEB E2E integration test in alone Github Action.
Fix: #2608
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
CI passed

What is the difference compared to the previous CI workflow? Separating two workflows doesn't help the CI, the CI will still fail if web e2e test is not stable, and we still cannot merge it, we can only merge the PR when all the CI checks pass, am I right?

What is the difference compared to the previous CI workflow? Separating two workflows doesn't help the CI, the CI will still fail if web e2e test is not stable, and we still cannot merge it, we can only merge the PR when all the CI checks pass, am I right?

Splitting two difference CI would help a lot:

When we commit web PR, We can execute this Web-E2E test CI many times in isolation. Especially in the case of unstable web tests, we will require that each web test submission needs to be executed successfully multiple times in a row before merging the
It can easy to help our found Web E2E failed logs.
when backend engineer modify core or API, maybe will trigger web issue, backend Action success, but frontend Action failed. in the case backend engineer would easy found issue and to request frontend engineer help


Tweak error marker css

The error marker looks great for small messages but didn't look right when the message got long.
This Pull Request changes this:

to this:

I also deleted a couple CSS rules that didn't seem to be having any effect.  I deleted them and didn't notice any change in behavior but if they were there for a purpose let me know and I'll put them back.

Nice, thanks for fixing this! I really just hacked it together quick, so I'm glad you went through and cleaned it up and fixed those problems. It looks much nicer now after your changes.
This reminded me of a grievance I have with the current design - that if an error is near the end of the line, the error marker overlaps it and it becomes hard to fix. I created issue #335 to track a new design (Atom has a good model for this, I think)


[FLOC-1229] Allow passing arguments to trial run by tox

https://clusterhq.atlassian.net/browse/FLOC-1229
Now you can do tox -e py27 flocker.control.test.test_httpapi or whatever. Lack of this was constant annoyance for me.

Thanks @itamarst . Your example works and Buildbot is as happy as can be expected, so this can be merged. However, I think that there should be documentation for this in http://doc-dev.clusterhq.com/gettinginvolved/contributing.html?highlight=tox#running-tests. Please add that and merge if you're happy, or resubmit if you prefer.


Alternatives for Asseturl?

So I heard VRChat update that included Zero mods and stuff also remove the assert url of public models, to avoid ripping, is there any alternatives if that option is gone, or vrchat is becoming crappier each time?

asset urls were removed from public models well over 4-5 months ago, vrchat doesn't respond with an asset url if the origin of the request is not from the game client.

https://github.com/pypy-vrc/VRCX/issues/189
https://github.com/pypy-vrc/VRCX/issues/182
reported in these 2 issues

asset urls were removed from public models well over 4-5 months ago, vrchat doesn't respond with an asset url if the origin of the request is not from the game client.

so even if you have the url for example this model I can't use it?

if it model is private you cannot see it, if the model is public and you have the avatar ID you can wear it, just add it to your favorites and swap to it ingame. the asset url is only provided to the game client which uses a useragent that allows it to get the response with asseturl (Or else public avatar pedestals would break)

if it model is private you cannot see it, if the model is public and you have the avatar ID you can wear it, just add it to your favorites and swap to it ingame. the asset url is only provided to the game client which uses a useragent that allows it to get the response with asseturl (Or else public avatar pedestals would break)

I have the avatar, and is the creator made it public, but the last part confuse me so that's means even if I'm using it I can't get an asset url

if your using it you can still get the asset url but only if your using it. the question is why do you need it?

I like seing them in blender and posing them a bit, since I don't have a vr set to move them in anyway

you are aware that ripping models is very much against the terms of service and can get you banned?

yes, I know I don't have any intentions on using them as my own or distribution in any site.

that is still very against the terms of service, redistribution or not.

how I delete the issue if I'm gonna get this scolding


Cannot find module: cross-env.js

Laravel Mix Version: 0.8.3;
Node Version: v7.6.0;
NPM Version: v4.1.2
OS: macOS Sierra

Description:
When running npm run dev or yarn run dev (tried with both using fresh installs) get the following error below. Tried a bunch of stuff including:

Going back to version 0.8.1 and 0.8.3, same error is present
Went through a bunch of the issues which people have previously submit and had no luck.

Error: Cannot find module '{{Location to Project}}/node_modules/cross-env/bin/cross-env.js'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I had the same problem. The error says it can't find the module "node_modules/cross-env/bin/cross-env.js". If you check the directory is actually "node_modules/cross-env/dist/bin/cross-env.js". What you can do is change that directory on the scripts on package.json. Or another thing that worked for me was to change "node node_modules/cross-env/bin/cross-env.js" on the scripts for simply "cross-env" just like @JeffreyWay does it in this repo.

@jaec86 Thanks! That worked, kind of. It runs without erroring however isn't compiling any Vue components.

cross-env must have updated its paths, it has "cross-env/dist/bin" not "cross-env/bin/"
in package.json
(EDIT)
"dev": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch-poll": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --watch-poll --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hot": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"

Thanks its works


Chat mobile: propagate search from desktop view

In issue #4 search was implemented for desktop chat.
Now it needs to be propagated to mobile chat in ChatThreads component.

Deployed to https://dev.devv.jobs.


MRG: Fix example footer images

This fixes our footer image in non-root pages, e.g.:
https://mne-tools.github.io/dev/auto_examples/connectivity/plot_cwt_sensor_connectivity.html#sphx-glr-auto-examples-connectivity-plot-cwt-sensor-connectivity-py

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3dc1962). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #4348   +/-   ##
=========================================
  Coverage          ?   77.21%
=========================================
  Files             ?      346
  Lines             ?    63059
  Branches          ?     9691
=========================================
  Hits              ?    48691
  Misses            ?    11612
  Partials          ?     2756

thx @Eric89GXL


fix: upgrade cloudposse/ecs-container-definition

Description
Upgraded cloudposse/ecs-container-definition from 0.23.0 to 0.31.0
Motivation and Context
This will now reduce the differences in the container definition thanks to version 0.30.0
Breaking Changes
Some defaults like startTimeout and stopTimeout are set to null.
How Has This Been Tested?
Changed the version locally, reinitialized, and applied.

@antonbabenko thoughts?

Hi! This has been just fixed and v2.21.0 has been released. See #144 for more info.


Updating Azure gen2 info

change warning to note
add link to gen2 on Azure doc

Closing this and moving to private repo


Fix #12 change selected items programmatically

This should fix #12, maybe #68 (I think so but it's debatable), and be back-compatible.
Basically, I added a controller class that can be controller from outside of the widget itself, allowing the developer, as shown in the example app, to add a clear button, for example.

could you please also provide an updated readme file?

Great, thanks for the quick update. Please approve this PR asap

I am somewhat suspecting the maintainer of the project to be idle and not active anymore as the last commit and approved PR are quite a while ago. Niccord, would you like to fork the project and be the new maintainer? I am happy to help if needed

I am not sure if the maintainer is ok with this and how to technically become the mantainer in their place.

Worked for me only after changing return _MultiSelectDialogFieldView<V?>._withState(field as _MultiSelectDialogFieldView<V?>, state); to return _MultiSelectDialogFieldView<V>._withState(field as _MultiSelectDialogFieldView<V>, state);
Or defining the onConfirm like this: onConfirm: (List<Animal?> values) { and not onConfirm: (List<Animal> values) {

@niccord
conflicted


build: use dicts instead of get_variable

Closes: https://github.com/swaywm/wlroots/issues/1963

Thanks!


Move to lekto org

Transfered

Thanks!, if you could give me access I could help you make the release with the werkzeug pinned <1


unable to mark php-src native functions as deprecated

in our case we want to handle basename() as a deprecated function because it can have security implications.
we provide an alternative implemenation and therefore want to warn the DEV to not use basename.
to achieve the above we use a phpstan stub file:
<?php
// .tools/phpstan/deprecated.stub

/**
 * instead of `basename()` you should use `rex_path::basename()` which works across different OS
 *
 * @deprecated see https://github.com/redaxo/redaxo/issues/4069
 */
function basename():string {}

and registered it via our phpstan config file:
parameters:
  ...
    stubFiles:
        - .tools/phpstan/deprecated.stub

phptan does not report deprecation warnings though.
when declaring deprecations for other user-land classes within this stub file everything works like expected.
are php-src native phpdocs not supported to be overridden by stubFiles?
is there an alternative approach to mark php-src native functions as deprecated?

Yeah, stub files for built-in functions are not taken into account right now because there wasn't use case for that.
You might use https://github.com/ekino/phpstan-banned-code or https://github.com/spaze/phpstan-disallowed-calls for this purpose.


CDN support

Hello,
I want to add this to some project but does not know where I can get CDN version of your plugin for using another hosting service without hosting your code,
It is possible?
Thanx.

Sorry, CDN for jquery-confirm is not available at the moment.
You can use https://rawgit.com/ but it doesn't give up time guarantee

CDN added 👍


Add support for Flowbite 1.6.0

There was a major refactoring in Flowbite own codebase making it no longer a drop-in replacement for previous versions.

Fixed in 1.0.0-1.6.0


MM-42542 Set up @mattermost/types for publishing to NPM

Trying to ship these as part of the client without making them a separate package kind of caused a bunch of problems, so instead we're going to ship them separately, and everyone who wants to use them will need both.
Some implementation details:

I talk about it more in packages/types/README.md, but these types will be importable using subpaths like before (eg. import {UserProfile} from '@mattermost/types/users') because of the sheer number of things we're exporting from this package. This uses the exports field in package.json which is supported in some tools, but not yet in others, so I included steps to support this in those tools.
I also considered going with how mattermost-redux used to be shipped where everything was compiled into the root of the package, and while that would work everywhere, this seemed a bit nicer on our end since you won't see a load of ignored, compiled files in your editor.

I ended up going with just tsc to compile these type definitions since they're fairly simple and self-contained. I could see changing to a different build tool for this once we find one that works for other packages though.

Finally, instead of having to build this live, I just set up the web app to import the source for these directly. That seems easier for the time being even if it does have the potential for them to work differently in the web app than in other projects.

Next steps:

Do the same for Client4 with @mattermost/client. That'll let me see which types are actually needed for that and which can stay in mattermost-redux.
Remove the internal types from this package. I went with moving everything first and then moving stuff back to the web app after since that seemed less likely to cause conflicts than if I modified each type file on its own.
Similarly, all the code in the web app still references these types via mattermost-redux by having it re-export the types from the new package. Once I've determined which types go where, then I'll go update references.

Ticket Link
https://mattermost.atlassian.net/browse/MM-42542
Release Note
NONE

Note that I'll be force pushing this branch to resolve conflicts. Any change to the type files will cause a conflict because I'm moving them, and repeatedly rebasing is by far the easiest way to resolve that. That's also why I moved the files in one commit before making any changes to them in the followup

Yeah, that's going to come a bit later. Next step is to ship the client package using these types, then I'll move the internal types not used by it back into their old location, and finally I'll update imports throughout the rest of the app.


Budget for core members

There is the idea of offering different support levels to users  of Sequelize so that they could get premium access to prioritized feature and bug support. This would be offered through OpenCollective plans.
Furthermore, to give anyone an incentive to contribute to bug fixed or feature asks, we could utilise available bounty program platforms. We tried out IssueHunt for that but it turned out it's not save to be used. We could also look into BountySource: https://app.bountysource.com/teams/sequelize/issues?tracker_ids=266075
Open question: Can everybody request the bounty upon fixing something?
Sascha: Create OC plans.
Any core member: File PR against the website. Here is a proposal https://gist.github.com/ephys/d056f30d33834694c515cd664f201d8c

Action items:

Rephrase the premium plans to be more on the notion of increasing priorities rather than looking into it ASAP.
Remove the Sponsor <3 plan

Regarding bountysource

Let's make this more prominent on the website https://app.bountysource.com/teams/sequelize


Create release after PR has been completed

Hi,
Is there a way to only trigger a release once a pull request has been approved or completed?
We don't want to deploy artifacts that have failed a code review (for example).
Thanks.

Will post this on the page it references


Question: UniNet vs. UNetDS2GN - what is used in MVSnet / R-MVSnet papers?

HI, @YoYo000 !
I see that in the model.py in all the inference routines you actually employ 2D Unet (UNetDS2GN) instead of relatively simple 8-layer UniNet and that change is not mentioned in either of your papers.
As I understand this change might have noticable impact on the performance as the UNetDS2GN performs multi-scale processing and should be able encode better the fine feature details while UniNet does not.
Was this change implemented after R-MVSnet paper? Is it a a new iterative improvement of the model?

In R-MVSNet paper I use the simple UniNet.
I change to UNetDS2GN later as it performs slightly better in depthmap reconstruction. But notice that they produce final point clouds with almost the same quality.

I see. Thanks for you reply.
It is interesting that despite of the performance boost in estimation of individual depth maps due to modification of the model's architecture, the reconstruction quality of final point clouds is not affected....
Does this mean that the fusion and refinement strategies you employ somewhat inappropriate as they neglect the full potential of the model's output?
it's like if a sport race car is fully equipped to win the race but the pre-start inspection engineers suddenly decide to remove the most valuable parts from it an leave the driver to deal with less-advantageous vehicle.
Have you experimented more on this subject?

@imagelina I think the post-processing steps are correctly implemented. The difference between depth map evaluation and point cloud evaluation is that point clouds are fused from multi-view depth maps, which is rather redundant than a single view depth map.
You can imagine object A is visible in both image 0 and 1. We successfully reconstruct A in depth map 0 but fail in depth map 1, however, it will not affect the final point cloud evaluation.
This is also part of the reason why 3D CNN regularization is better than GRU but R-MVSNet produce similar result to MVSNet.

Hi @YoYo000,
I see that the difference of UniNet and UNet does not have much impact for the final point cloud, but I am wondering if it could affect the required training time until convergence, because the number of parameters is much larger in UNet than those in UniNet.
In the paper, you mentioned you trained by 100,000 iterations, and according to the above discussion, you used UniNet for that. Is the training by 100,000 iterations also enough for UNet?
Honestly, I am now trying to reproduce your result using my own implementation in PyTorch. However, my result is rather worse than yours and now I'm checking the performance using UNet and train it by 100,000 iterations.
Thank you very much for your help.

@tatsy In MVSNet/R-MVSNet papers I was using UNet. In BlendedMVS I changed to UniNet.
However, I did not found notable differences between these two networks in both performance and convergence. 100,000 iterations are enough for both networks.

@YoYo000 Alright, it's very important information for me. As far as I tested, UNet is slightly better than the UniNet, but I keep on trying to revise my code. Thank you very much for your kind reply.

@YoYo000 Alright, it's very important information for me. As far as I tested, UNet is slightly better than the UniNet, but I keep on trying to revise my code. Thank you very much for your kind reply.

Ops... Sorry it is UniNet (the shallow 5-layer one) for MVSNet/R-MVSNet, UNet for BlendedMVS. Sorry for my mistake - -

@YoYo000 Oh, I see that you used UniNet for the paper results. So, the currently distributed weight files in README.md are not the ones used in the papers, right?
When I tested the MVSNet in my environment, the accuracy was slightly different from the numbers in the paper.


feat: forward base IRI option to @rdfjs/express-handler

Update @rdfjs/express-handler to use the baseIRI feature

If you agree on the changes I will update the readme before merging


connect mouth points

Hey there, I am wondering how I would go about connecting the mouth points to each mask so that when I open my mouth it opens the mouth of the mask?

In the function FaceSwapper::getMasks() you should use the facial points to zero out the masks on the mouth area.

is there a diagram to see which numbers correlate to which points? I thought that I would be adding the mouth points in FaceSwapper::getFacePoints() ? Thanks

Here you go. Keep in mind that the points  are 0 indexed in the code. https://i.stack.imgur.com/05uIT.jpg

Thank you I appreciate the replies. I am confused as to where to use this. You said to zero out the masks in the mouth area. Not sure how to do this. I thought by adding mouth points to the array for bob and ann that the fillConvexPoly would automatically cut it out? Anything more you can tell me would help. Thanks

In the method getMasks() the empty (all zeroes) matrix is being filled with 255. These are the areas where the faces are located or simply - face masks. If you zero out the part of the face masks where the mouth are located, I think it should work.


panel_10

Closes #260
Original plots: https://www.ncl.ucar.edu/Applications/Images/panel_10_lg.png and https://www.ncl.ucar.edu/Applications/Images/panel_attach_10_lg.png
Python Recreation thus far:

This looks great, Rose!
I'm getting a runtime waring when running it on my IDE and when generating the html:
RuntimeWarning: Mean of empty slice return np.nanmean(a, axis=axis, dtype=dtype)
But it seems like this is a known issue and could be suppressed, but I'm not overly concerned about addressing it here.

I forgot to suppress this. I looked into it earlier and it's just caused by numpy functions checking for NaNs


Performance issue

Describe what happened
When using Datadog plugin, Gradle build performance drops. I've been benchmarking with Gradle Profiler, and there's an increase of build times by 6 on average.
See detailed report

First warm-up build without plugin took longer because Gradle Profiler ran for the 1st time. I should have ran it twice in a row and use 2nd report to prevent from impacting results.
Steps to reproduce the issue:
Add Datadog plugin to the project.
Describe what you expected:
Little to no increase of build times.
Additional context

Android Build Tools version: 30.0.2
Gradle version: 7.1.1
OS version: Mac OS Big Sur 11.4
Plugin version: 1.0.1
Proguard configuration: None (happens on debug builds)
Other Gradle Plugins: Kapt, Firebase Crashlytics, Firebase Performance, AppDynamics, EasyLauncher

Hi @NFesquet, Can you give us more information about your actual project, to have a better clue on those numbers. Specifically, can you tell us:

What's the size of your proguard mapping files
What's the number of source files (java/kotlin) in your project

Hi @xgouchet! Sure, here are our stats:
The project has ~150 Java files, ~3200 Kotlin files and 49 Gradle modules.
Proguard mapping file has 152412 lines.
Hi @0xnm, I'll try that and get back to you asap.

@0xnm I tried
datadog {
   checkProjectDependencies = com.datadog.gradle.plugin.SdkCheckLevel.NONE
}

But this option doesn't change build times much. If you want, I can run benchmarks to compare build times with and without the option, but I can already say that with it build times are still +40.000ms .

Hello @NFesquet. Can you please also tell us how many product flavors, flavor dimensions and build types do you have? Also if you are able to say which method of our plugin takes majority of the time by looking on the profiling details, that would be very helpful.

We have 2 flavor dimensions and each one has 3 product flavors. On local builds we only have 1 build type ("debug"), "release" is ignored for performance matter.
So that means we have 9 build variants in total for local builds.
I used Gradle build scan to compare. I ran builds several times before scan to make sure all cacheable tasks are effectively in cache.
Without plugin : 7.708s
With plugin: 52.365s
compile[DefaultFlavor]DebugSources takes most of the build time. With plugin activated, it took ~40 sec and is not cacheable, while without plugin it took 0 sec (retrieved from cache).

Thanks for the numbers. I see that you are using version 1.0.1 of our plugin. Can you please try version 1.1.0 with checkProjectDependencies = "none" option?

OK, on version 1.1.0 with checkProjectDependencies flag there's no more performance issue. Thanks @0xnm!

Hello @NFesquet. With the newest 1.2.0 release this issue should be resolved. Don't hesitate to re-open the issue if you see it again.


RouteMatch Query Parameter Question

Are there some examples on use cases with routing to one cluster and only taking requests without any query parameters? I saw that the path matcher strips the query parameters when matching so that doesn't fit the use case I have.
                      routes:
                        - match:
                            safe_regex:
                              google_re2: {}
                              regex: "^/$"
                            headers:
                              - name: ":method"
                                string_match:
                                  safe_regex:
                                    google_re2: {}
                                    regex: "^(?:DELETE|PUT)$"
                          route:
                            cluster: cluster_a
                            timeout: 0s # disable timeout
                        - match:
                            prefix: "/"
                          route:
                            cluster: cluster_b
                            timeout: 0s # disable timeout

I'd like to route only PUT / DELETE requests without any query parameters to cluster_a but it captures all requests even with query parameters.

cc @envoyproxy/api-shepherds

Query param matching is not handled via path matching, but rather via a separate query_parameters field.
It does not look like there's currently a way to match only when there are no query parameters.  But it probably wouldn't be too hard to add a way to do this, probably by adding a new field in RouteMatch.

This seems like a unusual requirement. Could you achieve your target by adding a ":path" header matching to ensure the ":path" header doesn't contains the "?" (":path" header contains the query parameters if they are existing)

I had thought the safe_regex looks at the ":path" header including the "?" but it appears to strip the query parameters according to https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#config-route-v3-routematch
the docs here.
I ended up finding something about route cache busting so I ended up cache busting to route on some more additional headers.
I can look into adding a new field in RouteMatch in my free time


Renaming is not performed on Field

Foo has been renamed to Bar
NewDiagram.go file is
	"ref_models.Foo.Waldos": (ref_models.Bar{}).Waldos,
...

	// Declarations of staged instances of Link
	__Link__000000_Waldos := (&models.Link{Name: `Waldos`}).Stage()

	//gong:ident [ref_models.Foo.Waldos]
	__Link__000000_Waldos.Identifier = `ref_models.Foo.Waldos`

Problem:
The Link has disapeared

Problem:

The Structname is "Foo". It should be "Bar". In fact, Structname is redondant with Identifier. One should see how to get rid of it. Idem for FieldTypeName.


:wrench: fix and update pydocstyle configuration

Changelog Description
Fix pydocstyle configuration and move it to pyproject.toml
Testing notes:
Run pydocstyle on any relevant python file

I think it works.. Also, I think it means a lot of things to fix in Houdini lib 😅


In preview or GA?

As of April 3, 2020 Direct federation with AD FS and third-party providers for guest users is listed as in "preview"; however, the Azure AD portal appears to show it as GA (no longer listed as preview).
Can you confirm if this capability is no longer in preview because some customers have policies that they can only use Azure AD capabilities in production when they are in a GA status. Thank you!

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

ID: 7b1d9428-2dbb-c80b-c2cd-b4841d3d8bd3
Version Independent ID: 20af5f8d-479c-66ec-aacd-d3f9cb79c814
Content: Direct federation with an identity provider for B2B - Azure AD
Content Source: articles/active-directory/b2b/direct-federation.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@tfurstms
Thanks for your feedback! We will investigate and update as appropriate.

I've reached out to confirm. I thought it was still in preview but will get back to you once I have word from the PG.

Hi, I was able to find this in our release notes. It is still in public preview and pending a GA date. This page will be updated when that changes. Not sure why it doesn't show that in the portal but I'll report that!


[FEATURE] exo logs should have a non-following mode

Is your feature request related to a problem? Please describe.
I'd like to export the current logs of a service to a file so I can examine them with tools I already know how to use. As I workaround, I can exo logs | tee logfile.log and then hit CTRL-C, but that's annoying.
Describe the solution you'd like
I'd like to see exo logs work like tail & docker logs where you can optionally add a -f to get a following version. If you don't specify -f, you just get a current snapshot of the logs.
Describe alternatives you've considered
Leaving the default as is but adding an argument for getting a snapshot would also work.

Great feedback, thanks. We'll probably stay with following-by-default, since it's the most convenient/common operation from folks we've talked to, but can definitely add flags for controlling output/behavior.
Would --no-follow do the trick for you?
Could also - potentially - add a separate exo tail command, which takes the more traditional flags & define exo logs in terms of exo tail --follow.

Yeah, either option would do the trick.


[coverage] regression Dart 2.14.0 breaks test coverage

Prior to Dart 2.14.0 the following commit was reporting 100% code coverage as expected: https://github.com/felangel/bloc/pull/2702/commits/d3a534bd3bcef8ceceb9b56299966bf7ce44a629
Using Dart 2.14.0, the coverage is now reported to be 99.5% with the following line uncovered:

It seems impossible for that line to be uncovered yet the function itself is covered and the following line is reported as being covered.
This tracker is for issues related to:

Dart core libraries ("coverage")

Dart VM

Dart SDK Version (dart --version): v2.14.0

Whether you are using Windows, MacOSX, or Linux (if applicable)": MacOS

Whether you are using Chrome, Safari, Firefox, Edge (if applicable): N/A

I wonder if this is related to https://dart-review.googlesource.com/c/sdk/+/203302, we probably produce direct closure call which does not contribute to coverage anymore. (Yet another reason to rework how coverage is implemented in the first place)
/cc @mkustermann @liamappelbe

I wonder if this is related to https://dart-review.googlesource.com/c/sdk/+/203302, we probably produce direct closure call which does not contribute to coverage anymore. (Yet another reason to rework how coverage is implemented in the first place)
/cc @mkustermann @liamappelbe

I’m working on making a simple reproduction sample and I believe the issue has to do with defining late variables. It appears as though removing the late keyword solves the issue even though the uncovered line isn’t anywhere near the late variable declaration. I’ll try to upload a minimal reproduction sample shortly, thanks for taking the time to look! 🙏

/cc @liamappelbe

any chance does it related to this issue?
https://stackoverflow.com/questions/69266797/flutter-widget-tests-why-my-line-coverage-not-reflected-for-super-constructo


[Enchantment] Make int/uint overflow optional in TypeIn

Is it possible to implement it without inheritance?
Reagards, Alexey Knyshev

I don't understand the question.
You mean prevent entering a value that is higher than MAX_INT for example ?

In qt for example increment button disables when you reach maximum value of representing type

Yes, this will be taken care of.
The sliders already have a min max values in the Stat parameter that they take, it's just a matter of "moving" that feature to TypeIn also.

Fixed in da79125


Bug report - Get-ADGroupMember cmdlet not working on OS X

Steps to reproduce
$distro = (Get-ADGroupMember "_retina users_" | Select-Object DistinguishedName)

Expected behavior
Check should determine if any AD users come back with an inactive account and return the output as such.
Actual behavior
Get-ADGroupMember : The term 'Get-ADGroupMember' is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try
again.

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.3
OS                             Darwin 16.6.0 Darwin Kernel Version 16.6.0: F...
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

ActiveDirectory module is implemented as a PSSnapIn which is not supported for PSCore6 which is being tracked on https://github.com/PowerShell/PowerShell/issues/4062


Scrollbar options

Added a select option to choose the scrollbar colour and a checkbox to choose the scrollbar width

Thanks for contributing! :tada:

No problem 😄


Omnisharp won't start or generate assets in vs code mac m1

Environment data
dotnet --info output:
.NET SDK (reflecting any global.json):
Version:   5.0.405
Commit:    63325e1c7d
Runtime Environment:
OS Name:     Mac OS X
OS Version:  12.2
OS Platform: Darwin
RID:         osx-x64
Base Path:   /usr/local/share/dotnet/x64/sdk/5.0.405/
Host (useful for support):
Version: 5.0.14
Commit:  d5b56c6327
.NET SDKs installed:
3.1.416 [/usr/local/share/dotnet/x64/sdk]
5.0.405 [/usr/local/share/dotnet/x64/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.22 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.14 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.22 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.14 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version: 1.65.2
C# Extension version: v1.3.1
OmniSharp log
Starting OmniSharp server at 3/29/2022, 12:21:47 PM
Target: /Users/gbubemismith/Documents/coreApps/HardCore
OmniSharp server started.
Path: /Users/gbubemismith/.vscode/extensions/ms-dotnettools.csharp-1.24.1/.omnisharp/1.38.3-beta.31/run
PID: 12046
System.TypeInitializationException: The type initializer for 'System.ComponentModel.TypeDescriptor' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: System.Native assembly: type: member:(null)
at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
at Interop+Sys..cctor () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
--- End of inner exception stack trace ---
at Interop.GetRandomBytes (System.Byte* buffer, System.Int32 length) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.Guid.NewGuid () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at System.ComponentModel.TypeDescriptor..cctor () [0x00034] in <4f55bbf82f9b4c60960312888c59bd5c>:0
--- End of inner exception stack trace ---
at OmniSharp.Internal.CommandOptionExtensions.GetValueOrDefault[T] (McMaster.Extensions.CommandLineUtils.CommandOption opt, T defaultValue) [0x00008] in :0
at OmniSharp.Stdio.StdioCommandLineApplication.get_Encoding () [0x00000] in :0
at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_1.b__1 () [0x00000] in <4061e52126604f67b6d455853ab7baf7>:0
at OmniSharp.CommandLineApplication+<>c__DisplayClass12_0.b__0 () [0x0000b] in :0
at McMaster.Extensions.CommandLineUtils.CommandLineApplication+<>c__DisplayClass146_0.b__0 (System.Threading.CancellationToken _) [0x00000] in :0
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync (System.String[] args, System.Threading.CancellationToken cancellationToken) [0x000bf] in :0
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x00016] in :0
at OmniSharp.CommandLineApplication.Execute (System.String[] args) [0x00081] in :0
at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_0.b__0 () [0x00028] in <4061e52126604f67b6d455853ab7baf7>:0
at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in :0
Steps to reproduce
Try generating .net assets for build and debug
Expected  behavior
.vscode is created and I cand run and debug my .net application
Actual behavior
I get System.TypeInitializationException: The type initializer for 'System.ComponentModel.TypeDescriptor' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: System.Native assembly: type: member:(null)

I see you are using .NET5 x64 SDK, is that intentional? Your M1 should be better off using native arm64 which is available in .NET 6 https://dotnet.microsoft.com/en-us/download/dotnet/6.0 .

Yeah you are correct, but i am currently working on a .NET 5 application and it's won't be upgraded anytime soon.

@gbubemismith New builds of O# no longer include a minimal Mono and MSBuild. What version of Mono and MSBuild are installed on your system?
$ mono --version
$ msbuild --version

Mono
Mono JIT compiler version <IP_ADDRESS> (2020-02/c621c35ffa0 Wed Feb 10 00:51:43 EST 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV:       altstack
Notification:  kqueue
Architecture:  amd64
Disabled:      none
Misc:          softdebug
Interpreter:   yes
LLVM:          yes(610)
Suspend:       hybrid
GC:            sgen (concurrent by default)

Msbuild
Microsoft (R) Build Engine version 16.6.0 for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

<IP_ADDRESS>01%

omnisharp.useModernNet

Thank you, this resolved my issue.
Omnisharp randomly started to stop working for me yesterday, received the same error @gbubemismith was getting.
Im using VSCode 1.65.2, macOS Big Sur v11.6.4

@amroczeK I imagine you have "omnisharp.path" set to "latest". O# has removed their included Mono and MSBuild 17.x tooling from their nightly builds in favor of using the .NET SDK build of OmniSharp for .NET SDK development. We plan to make "true" the default for "omnisharp.useModernNet". See https://github.com/OmniSharp/omnisharp-vscode/issues/5120 for more details.

Yeah you are correct, but i am currently working on a .NET 5 application and it's won't be upgraded anytime soon.

FWIW it is generally safe to install a newer SDK and target earlier TFMs from it. For example we use .NET7 x64 SDK to build an app as netcoreapp3.1 for x64, netcoreapp3.1 for x86, net452 for x86, net452 for x64, and netcoreapp2.1 for arm64.
Unless your app is a development tool and has ties to the SDK itself, e.g as omnisharp-roslyn that uses various bits and pieces from the SDK.

Sorry if I am clear you're saying I can have only .NET 6 sdk installed on my machine and still run a .NET 5 or .NET 3.1 application??

@gbubemismith Running applications only requires that you have an appropriate .NET runtime installed. You can even publish applications as self-contained apps which do not need a runtime at all.

@gbubemismith You will need to install a preview build of Mono with a more recent MSBuild (see https://github.com/OmniSharp/omnisharp-vscode#note-about-using-net-5-sdks=) as your version of Mono does not support .NET 5 development. (Download)
The alternative is to set "omnisharp.useModernNet" to true in your VS Code settings. This does require a .NET 6 SDK installation which can be done side-by-side with your .NET 5 SDK.

I have dotnet 6 SDK installed but the second solution here hasn't worked for me. I am also not receiving any errors from Omnisharp. Not sure if it could be due to the project I am working on using dotnet 5?

@MarianaK96 Can you please open a new issue and provide your Omnisharp log from the VS Code Output pane as well as the output of dotnet --info? Thanks

I just uninstalled .net 5 and restarted Omnisharp. Below is my error:
`Starting OmniSharp server at 4/6/2022, 4:04:20 PM
Target: /Users/Igbokwe/Projects/AlgorithmMadeEasyV2
OmniSharp server started with .NET 6.0.101
.
Path: /Users/Igbokwe/.vscode/extensions/ms-dotnettools.csharp-1.24.3-darwin-arm64/.omnisharp/1.38.3-beta.33-net6.0/OmniSharp.dll
PID: 1264
Unhandled exception. System.BadImageFormatException: Could not load file or assembly '/Users/Igbokwe/.vscode/extensions/ms-dotnettools.csharp-1.24.3-darwin-arm64/.omnisharp/1.38.3-beta.33-net6.0/OmniSharp.dll'. An attempt was made to load a program with an incorrect format.
File name: '/Users/Igbokwe/.vscode/extensions/ms-dotnettools.csharp-1.24.3-darwin-arm64/.omnisharp/1.38.3-beta.33-net6.0/OmniSharp.dll'
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).`

@UcheIgbokwe Looks like you have the x64 build of the .NET 6 sdk installed on a M1 Mac. If you install the arm64 build, this should fix your issue.

@JoeRobich Just switched to the arm64 build and it works fine on vscode.

@JoeRobich is there a way I can make my cli point to .net 6 path? My cli always points to the x64 path no matter the order in which I install.


Use branch or folder to separate different targets?

Currently branch. See branch https://github.com/sshockwave/playground/tree/nccl


Incompatible with Dashloader

https://github.com/alphaqu/DashLoader

https://discord.com/channels/662271867431682058/671895714527182920/963055138828877937

What does that say?


[1.17] Finish Cube Serialization (does NOT include heightmap or light engine saving)

I'm guessing we may want to reintroduce Upgrade Data(DataFixerUpper) prior to merging this though

nothing jumping out as super wrong, though I haven't looked into the postProcessing stuff quite yet
the amount of times ImposterProtoChunk is used is concerning me a bit, we will no doubt run into issues in vanilla, and worse in mods
If we could throw on access of x or z, and have cubeX cubeY cubeZ methods that'd be great, but the only way to do that is transform every access to ChunkPos to use a getter method...

I suspicion tile entities aren't being saved/loaded right

Turns out tile entities weren't functional to begin with, they're fixed on another branch atm

This should be ready for review


Feature/demos improvement

@addyosmani
React Twitter projects are updated with new mobile view check logic.
React Youtube project is updated with debugging option.
The demos using react-toggle package are updated regarding styling.
React Twitter projects and React Youtube project have Glitch versions in README.
Hooks directory is removed as we have react-adaptive-hooks package.

@addyosmani
Static data for Youtube demo is up-to-date.
cna-memory-considerate-animation is updated with Arial font family.

@addyosmani
Query param debugging option is implemented on Youtube demo.
https://adaptive-loading.web.app/react-youtube-adaptive-loading/watch?v=OTCOoVApM_U&mode=lite
Available mode values are lite and full.

Thank you! At some point it would be great to chat about the JavaScript bundles for the YouTube watch page, but even just looking at the difference between lite vs. full is kind of amazing: https://www.webpagetest.org/video/compare.php?tests=191126_7S_dee60a379e7d94249b3ba7f49ba8582c,191126_J3_b9181c15eb2909081f1548d87274c3b8
Appreciate you adding the flags!

At some point it would be great to chat about the JavaScript bundles for the YouTube watch page.

I think I have not got it fully. Could you please be more specific? :)

At some point it would be great to chat about the JavaScript bundles for the YouTube watch page.

I think I have not got it fully. Could you please be more specific? :)

Certainly. If you take a look at the above WebPageTest timeline, even the lite version takes many seconds before we can see any pixels painted. While we are only using 152KB of JS to render the page and it's broken up to an extent, we might want to continue looking at opportunities to improve it. Nothing major for now however. I should re-test on 4G :)


Get to know our flow

We need to get to know how we will work in this repo. This is a test ticket where we need to add a test.dart file to the lib folder.

Resolved in #12


SC.Primitive does not support castShadow

I see no castShadow prop in https://github.com/Rich-Harris/svelte-cubed/blob/main/src/lib/components/objects/Primitive.svelte unlike https://github.com/Rich-Harris/svelte-cubed/blob/main/src/lib/components/objects/Mesh.svelte.
Example: https://renefournier.com/

I added the missing properties in a branch of mine: https://github.com/Myrmod/svelte-cubed/tree/add-missing-properties-to-objects
Would this solve your issue as well? Does someone know if there is a reason why this wasn't added directly?

This looks great. Maybe Rich was just busy with stuff. Things get missed. I miss stuff all the time. PR?

Hmm, add your code to my repo... still no shadows.

Does it work for you?

Can you show me the code of the SC.Primitive the way you want it to work?

Hi @Myrmod Here's my code: https://bitbucket.org/renefournier/renefournier.com/src/main/app/src/routes/index.svelte You can see it running here: https://renefournier.com/ (I went into /node_modules/svelte-cubed/components/objects/Primitive.svelte and addded your lines) but to no effect. And, like you, my experience with Three JS is only a few days, and not directly, but through @Rich-Harris’s library, which means I may be “holding it wrong”, as they say. It would be nice if we can sort this out. Ping me if you find or think of anything.

@renefournier I made a working example in #41


Add trust remote code for tokenizer in inference conversion script

This is needed to load locally downloaded checkpoints

@margaretqian : Thanks for adding this.


PCSG00022 - @Field (JP)(NoNPDRM) Dump

Hi,
I have tried enabling the DsMotion Plugin for the above-mentioned title and it does not work in-game. Both Kernel and TitleID plugins have been included in the tai config file but to no avail.
Is this a compatibility issue or a configuration one?
Awaiting your reply,
Thanks!

Hello,
Yes, the plugin works on encrypted titles. Did you check the plugin on other titles?

No problem dude! So if i were to flip my controller upside down it would work? Never thought of tt!! Ok i shall give it a go later.
Hehe keep up the good work though and looking forward to future releases!


Enhancement: Make FunctionContext.RetryContext useful/populated in more scenarios

FunctionContext.RetryContext is null in quite a number of scenarios, even though the properties it exposes are known to the runtime for some (many?) of those scenarios. It would be a very valuable enhancement to have this property more widely supported.
This has been identified as a potentially breaking change in other issues in the repo, so this would be a change for a new major version - .NET 9 perhaps. This is an enhancement - a feature request, not a bugfix.
I have a function app with an Azure Queue Storage trigger. Entries in the log indicate that the runtime knows how many times the queue entry has been dequeued, and indeed it looks like it is possible to access this metadata by adding a parameter to my function, as detailed in this document https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-expressions-patterns#trigger-metadata. I can add a parameter to my function to determine the number of times it has been dequeued. However, I cannot immediately see a way to access the maximum number of dequeues for this queue.
As a user of functions, my feedback is that the way the retry data is made available seems to be quite fragmented/inconsistent, with different methods of getting access to that data needed for different trigger types. It would be much more useful if FunctionContext.RetryContext were used to expose as much data as can be made available in more trigger types/scenarios. The consistency of getting this information from the same place in different scenarios would make people's code much more portable, enabling easier migration from one trigger type to another, as the needs of the system change. It should also reduce the number of times you get issues raised asking why FunctionContext.RetryContext is null, so it might also offer a way to reduce the maintenance burden for you, somewhat.
This would be particularly useful for code that needs to make decisions based upon the number of times an attempt has been made to complete an operation. One such example is changing the logging level of a message written to the log, which is part of what I want to do. However, there will be other types of behaviour that vary when it is determined that a failure happened on the last retry and will result in the message being moved to the poison queue, such as informing someone of this permanent failure.
I integrate with a number of APIs and it is not unusual for there to be a single failure of a processing operation in my function because one of those remote APIs is down for maintenance, or because of a failover event. However, I want to identify when all attempts to process the queued message have failed, as this represents a more serious type of failure that needs investigation/intervention. This is more difficult than it should be, because FunctionContext.RetryContext is null, so I cannot use the properties it is intended to expose to trigger my custom behaviours.
This request is related to other, closed issues, where other people have been interested in the same or similar behaviours:
#720
#1438
#1443

I'm doing the following with Azure Service Bus, which entirely depends on the number of deliveries attempted. Maximum number of attempts might be trickier as it's not part of the message metadata but rather entity (queue).

@SeanFeldman thank you for the link. That's a lovely write up, I'll have a good read of that. Much appreciated.
If you think it appropriate, it might be helpful for other readers of the post if you would comment on whether you consider my feature request to be a benefit, or unnecessary, based upon your experience. I haven't used Azure Service Bus yet, so a comment on whether the feature would be of benefit in your scenario might be helpful.

@TheCakeMonster, I hope you liked it 🙂
Regarding referencing this issue - I'm hesitant. In the 2nd part of that post, I'm demonstrating how to implement delayed retries alongside immediate retries. That's not something that Functions SDK would be doing. And FunctionContext.RetryContext would not be helpful. In general, FunctionContext.RetryContext sounds like an abstraction over various triggers, and I'm not sure if that one is easy to achieve. For instance, when a Blob trigger fails, what should RetryContext provide? Can it provide anything of meaning at all? Therefore, I don't want to say I'm backing up the idea because I don't fully understand how it would work with all triggers. Perhaps it is something that the team has spent enough time and thought through, hopefully sharing their perspective here for shared understanding or documenting and posting a link.
cc @nzthiago

I understand your point.
What I was suggesting was that RetryContext should provide value in more scenarios, not in all scenarios. It doesn't have to try to offer anything if retries are not supported at all.
At the moment, as I understand it, it only provides value if the retries are delivered by the functions runtime itself, and not in any scenarios where retries are enabled by the trigger provider. That's a shame, when multiple trigger providers do support retries but do not make the retry information available via FunctionContext.RetryContext

I arrived here today because of a NullReferenceException caused by RetryContext being null. My two suggestions:

Make it nullable: public abstract RetryContext? RetryContext { get; }
Return a null object


how can i user libcalico-go v3 with go mod

can't use libcalico-go with go mod
Expected Behavior

Current Behavior

when i cmd " go get github.com/projectcalico/libcalico-go/lib/apis/v3"
shows "go get github.com/projectcalico/libcalico-go/lib/apis/v3: module github.com/projectcalico/libcalico-go@upgrade found (v1.7.3), but does not contain package github.com/projectcalico/libcalico-go/lib/apis/v3"
if i change the parameter "github.com/projectcalico/libcalico-go  v3.14.0-0.dev" in go.mod ,it also doesn't work," reading<EMAIL_ADDRESS>404 Not Found"
how can i use v3?
Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

libcalico-go version:
Operating System and version:
Link to your project (optional):

@zhipengzuo I think you might be mixing Calico's internal API versioning (libcalico-go/lib/apis/v3) with our /release/ versions. I tried your go get command and it's working here.. maybe a connectivity issue on your end?
$ go get<EMAIL_ADDRESS>go: finding github.com/projectcalico/libcalico-go v3.14.0-0.dev
go: downloading github.com/projectcalico/libcalico-go v0.0.0-20200303001954-8d098ee0dd61
go: extracting github.com/projectcalico/libcalico-go v0.0.0-20200303001954-8d098ee0dd61
package github.com/projectcalico/libcalico-go: build constraints exclude all Go files in<EMAIL_ADDRESS>rafael@narwhal ~/Work/go/src/github.com/rafaelvanoni/goo

go get<EMAIL_ADDRESS>
this also doesn't work.maybe the env is different.
go: cannot use path@version syntax in GOPATH mode
go: finding github.com v3.14.0-0.dev go: finding github.com/projectcalico v3.14.0-0.dev go: finding github.com/projectcalico/libcalico-go v3.14.0-0.dev go get<EMAIL_ADDRESS><EMAIL_ADDRESS>reading<EMAIL_ADDRESS>404 Not Found
but i have solve this problem by using v1.7.2-0.20200225165413-26809aa675f6 .i will close this issue .thanks.


check types when parsing assignments and equality operations

Fixes #446, #200
Problem
Assignments and equality operations don't check the types of the terms.
Solution
Check types during parsing.
Checklist

[x] Unit test all changes
[x] Update README.md if applicable
[x] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

Shall we support  equality for option  type  like  Option[Int] == Int ?

@jilen forall should be the correct solution for this case: option.forall(_ == value), no?

@fwbrasil  Yes, forall looks good to me

👍

The build should pass now. I've removed from the readme the examples of actions that use column queries, since they don't type check. I'll open an issue to reintroduce them after option.get is supported.

:+1:

:+1:

forall seems good for equality, but what about inserts or updates? When having lots of optional values, accepting Option[T] == T was a huge gain in readability. What would you suggest in order to keep this benefit?


feat: popper old style

📑 Description
Popper back to Flowbite.com compliant implementation using the visibility and opacity classes.
✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information
This should prevent the issue on some dev runs.

dropdowns#Programatic_open/close page has a wrong offset

npm run build and npm run preview works.
But local host on Chrome/Brave/Safari gives the following console errors. (different from the previous)

Thanks. Let me take a look at those.

In the src\routes\dropdowns\+page.md remove the open by default variable let dropdownOpen = false; and see if you still have that error, please.

Line 35
 let dropdownOpen = false;

What does "Popper back to Flowbite.com compliant implementation using the visibility and opacity classes." in your PR description mean?
I'm not sure why you have created this PR.

This is the implementation that uses setting classes on the popper content: class={open? 'visible opacity-100': 'invisible opacity-0'} Flowbite.com do that in their js files.
I have created that to check if that removes the issue you're facing with the previous, more svelte like, implementation of using the {#if} directive.
You can leave that PR unmerged and treat that as battle field for further tries.

Thank you for the clarification.


bug: ring buffer

Are you sure your test cases are good enough? This code crashes.  Why?
int main(){
        int i;
        struct ring* rb = ring_create( 10 );
        struct ring* rb2 = ring_create( 10 );

        int x = 100;
        int y = 200;
        int count = 20;

        for(i=0; i < count; i++) {
                ring_push(rb, &x);
        }

        for(i=0; i < count; i++) {
                ring_push(rb2, &y);
        }

        for(i=0; i < count; i++) {
                int *tmp;
                printf("pop iteration %d\n", i);
                tmp = (int*) ring_pop(rb);
                if(tmp!= NULL) {
                        printf("rb 1: %d\n", *tmp);
                }
                tmp = (int*) ring_pop(rb2);
                if(tmp!= NULL) {
                        printf("rb 2: %d\n", *tmp);
                }
        }

        return 0;

}

full example source
this is related to what was discussed in #35, so be sure everything there is fixed as well so we can close both of these issues.

fixed by #81


added train-test split notebook and scripts

@HarshCasper Look at the files and tell me if I went wrong. Also I have commented the hdf5 and pkl file code. the file was still around 450 mb so I couldnt upload it

give @Bijay555 150 points


[Placeholder] Intel TDX enablement

This is just a placeholder issue for tracking the development progress of Intel TDX enaling in KubeVirt.
Currently, due to the Intel TDX kernel, qemu and libvirt upstream tasks are working in progress, we create a intel/kubevirt-tdx repo for development, which gives Intel TDX target customers a way to build the Intel TDX workable KubeVirt images. But building these images depends on the Linux Software Stack for Intel TDX, you can get it from tdx-tools.
Our intel/kubevirt-tdx is based on the CentOS Stream 8 code base. The Linux Software Stack for Intel TDX does not support CentOS Stream 9 (KubeVirt base image) yet. We will provide support later.
Implementation

[x] Basic Intel TDX functional support

need rebase to the main branch after supporting CentOS Stream 9

[x] Support Intel TDX Attestation

[ ] Support Live Migration

[x] Expose Key number of Intel TDX for TD guest management

[ ] Support E2E Attestation use case FDE (Full Disk Encryption)

Testing

[ ] Add upstream CI for running functional tests with attestation
[ ]  Create the test image

Documentation

[ ]  Initial design proposal
[ ]  Initial usage guide

/cc

@LeiZhou-97 do you plan on the long term to integrate the changes into kubevirt main repo? If so, please consider in your plan the upstream CI. We added a SEV AMD machine and there are still pr ongoing for running functional tests with attestation. It would be possible to have a similar approach for TDX.

@alicefr Thanks for your suggestion. I'll add it to my task list.

/reopen

Hi, @alicefr I am sorry for taking so long to continue to have some new updates about Intel TDX!
Since Intel TDX is a very complex technology, upstream is still WIP, but in order to make TDX available to end-users earlier, there is already a TDX 1.0 repo in the CentOS Stream repositories. https://linux-mirrors.fnal.gov/linux/centos-stream/SIGs/9-stream/virt/x86_64/tdx-devel/
So I would like to ask if the code about TDX VM enabling can be upstreamed based on a TDX mid-stream PKGs? This may require the user to build the image themselves or we can provide pre-built TDX-enabled images at each release directly. (because the TDX stacks do not use the standard qemu/libvirt) Or can I keep a TDX branch in the kubevirt repo for end-users to use?
Now, we’ve finished the basic TDX enabling based on the v1.0.0 release in the intel org repo. https://github.com/intel/kubevirt-tdx/tree/tdx-1.5 https://github.com/intel/kubevirt-tdx/wiki
Appreciate for your comments!

@LeiZhou-97 please send an email to kubevirt mailing list, this is something that needs to be discussed and agreed by the KubeVirt community and approvers.
However, I find it difficult to have 2 libvirt and QEMU versions. We cannot test if something breaks on TDX if the images aren't the same as upstream. From my side, I think getting the changes upstreamed in libvirt and QEMU is a must before starting the work in KubeVirt.

/reopen
/cc @fidencio
/cc @mythi

/cc


Will convert based on which field was modified the latest.

Would not convert F to C unless I cleared the Celsius field. So thought I could help. Same for the distance measurements.

Thank you so much for identifying and solving that, @farhanirani!
I will be merging your PR as it solves a kind of a bug, but going ahead, please try to contribute to repos with some issues that need to be solved. Issues with labels like hacktoberfest, good-first-issue and first-timers-only can help you get started. My repos have such labels as well.


Reorganize or remove the centralized errors/errors.go package.

Problems

The centralized errors/errors.go package was put in place to enable error comparison for users utilizing preflight’s validations programmatically. This use case isn’t currently enabled, and the errors package has been overrun with errors from everywhere in the codebase.

Identify a better way to utilize this package, or consider removing it, or moving error definitions close to the calling code.

The solution should:

Standardize where errors go, which errors go where, and how we approach error wrapping.
Include developer documentation on how this is defined.

Potential suggestion would be to start moving errors closer to their calling packages, keeping the top-level errors package for preflight top-level execution errors.

I believe this is complete.


Support for guzzlehttp/guzzle 6.*

Hi!
Any planning for supporting guzzlehttp/guzzle 6.*?

@SpacePossum Does the RetryMiddleware  does not work for you?
Here is a tutorial about how to use it. https://addshore.com/2015/12/guzzle-6-retry-middleware/

ah awesome, I'm going to use that :)
thanks so much @Konafets !


Adds a sample for demoing 'settings'

Adds a stock ticker sample. The stock symbols to watch for are given as a setting and the current price is displayed(and refreshed) in the web site. This adds the source code for the sample.
Tasks still remaining

Display the current uptime of the container at the top corner of the UI
ARM Templates.

We have a simple settings sample that demonstrate the use of configuration for the application using settings and environment variables.


Refactor code in menu options

What kind of change does this PR introduce?

Feature: The way of validating the options' menu has been changed so that in the future it will be easier to add new options in the menu.

What is the current behavior?
For each option a yes was added, if in the future they want to add more options, the file will be filled with unnecessary conditionals.
What is the new behavior?
Change the conditionals to literal objects, because when you add a new option, you just add the option name as a brace and the function as a value on the object and don't create a if method.
Additional context
Before:

After:

Thanks for the PR! Though to be level with you we're planning to rewrite the CLI (WIP here).
I would be happy to contribute!!

Closing this as we're transitioning to the Go CLI.


feat(tutorial): complete step 5

Closes #
{{short description}}
Uploaded app to the cloud.  Here is the link: http://carbon-tutorial-zrehmani.mybluemix.net/
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Hi 👋 Looks like you are missing something, double check your the instructions in step 5 of the tutorial. 🔎

I had to install missing carbon-icon components because I couldn't compile without that.  Everything works as it should.  Please review the link on the cloud and let me know if there is anything else is needed to get this approved.  Thank you.
http://carbon-tutorial-zrehmani.mybluemix.net/

This step is completed.  I am getting the Circlecci issue because it is unable to load the carbon-icon package.  I needed to add this package locally otherwise the branch would not compile.  Please let me know what I need to do in order to get this step approved.  Thank you!


MultiFile Fileclass Field with Comma in Filename

MultiFile fileclass selecting filename containing a comma displays as broken link.  I'm using filename format "lastname, firstname.md".

As shown, the single File field is working.  Just the MultiFile is not working.

fixed in 0.7.7


the term "media" is globally replaced in path

It seem thata the "prefix", ie "media" is globally replace in the path which means that you cannot have an image named my_media_image.png

my git is strange and not sure what up.
fix here https://github.com/perosb/ImageProcessor/commit/b1d1e6523f8593448ac56dfc7824b9cc96e77ed8

Fixed in v4.4.0


Strip symbols of all binaries

@sbc100, this resolves the discussion we had in #108 about stripping symbols from all binaries.

Testing for "ELF" is too narrow since we also support on-ELF hosts such as macOS. Would it work to just unconditionally run strip on every file under bin and ignore errors?
Alternatively, if we could add "-s" to the link command-line, that would cause it to strip executables too.

@sunfishcode, I didn't really know all the places -s might be needed so I tried the "strip everything and ignore errors" approach. Note that due to the discussion above with @sbc100 (resolved now) we are stripping everything, not just the bin directory.

I think post-stripping is probably best.
The current approach of this patch is to strip anything that find things is executable.  Seems reasonable to me that we just stick with that approach. Dan?

Sounds reasonable.


heron-tracker AttributeError: 'NoneType' object has no attribute 'type'

While trying to run heron-tracker with zookeeper  I get the above mentioned error.
Anyone else experiencing this as well?
Sytem configuration:
heron Version 0.14.0 (release)
Python version 2.7.10
zookeeper versions tried  3.4.6-1569965 and 3.4.8--1
I've tried it on 2 macs (El Capitan) and ubuntu 14.04. - same error.
heron_tracker.yaml is default.
# Configs for heron-tracker

## Contains the sources where the states are stored.
# Each source has these attributes:
# 1. type - type of state manager (zookeeper or file, etc.)
# 2. name - name to be used for this source
# 3. hostport - only used to connect to zk, must be of the form 'host:port'
# 4. rootpath - where all the states are stored
# 5. tunnelhost - if ssh tunneling needs to be established to connect to it
statemgrs:
  -
    type: "file"
    name: "local"
    rootpath: "~/.herondata/repository/state/local"
    tunnelhost: "localhost"
  -
    type: "zookeeper"
    name: "zookeeper"
    hostport: "localhost:2181"
    rootpath: "/heron/cluster"
    tunnelhost: "localhost"

# The URL that points to a topology's metrics dashboard.
# This value can use following parameters to create a valid
# URL based on the topology. All parameters are self-explanatory.
# These are found in the execution state of the topology.
#
#   ${CLUSTER}
#   ${ENVIRON}
#   ${TOPOLOGY}
#   ${ROLE}
#   ${USER}
#
# This is a sample, and should be changed to point to corresponding dashboard.
#
# viz.url.format: "http://localhost/${CLUSTER}/${ENVIRON}/${TOPOLOGY}/${ROLE}/${USER}"

heron-tracker output:
$ heron-tracker
27 May 2016 21:31:40-INFO:main.py:183: Running on port: 8888
27 May 2016 21:31:40-INFO:main.py:184: Using config file: /Users/samek/.herontools/conf/heron_tracker.yaml
27 May 2016 21:31:40-INFO:statemanagerfactory.py:61: Connecting to zk hostport: localhost:2181 rootpath: /heron/cluster
27 May 2016 21:31:40-INFO:connection.py:567: Connecting to localhost:2181
27 May 2016 21:31:40-INFO:connection.py:277: Sending request(xid=None): Connect(protocol_version=0, last_zxid_seen=0, time_out=10000, session_id=0, passwd='\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', read_only=None)
27 May 2016 21:31:40-INFO:client.py:378: Zookeeper connection established, state: CONNECTED
27 May 2016 21:31:40-INFO:statemanagerfactory.py:81: Connecting to file state with rootpath: /Users/samek/.herondata/repository/state/local
27 May 2016 21:31:40-INFO:zkstatemanager.py:93: Adding children watch for path: /heron/cluster/topologies
27 May 2016 21:31:40-INFO:connection.py:277: Sending request(xid=1): GetChildren(path='/heron/cluster/topologies', watcher=<bound method ChildrenWatch._watcher of <kazoo.recipe.watchers.ChildrenWatch object at 0x10e490450>>)
27 May 2016 21:31:40-INFO:connection.py:345: Received error(xid=1) NoNodeError((), {})
Traceback (most recent call last):
  File "/Users/samek/bin/heron-tracker/.bootstrap/_pex/pex.py", line 319, in execute
  File "/Users/samek/bin/heron-tracker/.bootstrap/_pex/pex.py", line 254, in _wrap_coverage
  File "/Users/samek/bin/heron-tracker/.bootstrap/_pex/pex.py", line 286, in _wrap_profiling
  File "/Users/samek/bin/heron-tracker/.bootstrap/_pex/pex.py", line 362, in _execute
  File "/Users/samek/bin/heron-tracker/.bootstrap/_pex/pex.py", line 420, in execute_entry
  File "/Users/samek/bin/heron-tracker/.bootstrap/_pex/pex.py", line 425, in execute_module
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 180, in run_module
    fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/samek/bin/heron-tracker/heron/tracker/src/python/main.py", line 194, in <module>
  File "/Users/samek/bin/heron-tracker/heron/tracker/src/python/main.py", line 189, in main
  File "/Users/samek/bin/heron-tracker/heron/tracker/src/python/main.py", line 42, in __init__
  File "/Users/samek/bin/heron-tracker/heron/tracker/src/python/tracker.py", line 79, in synch_topologies
  File "/Users/samek/bin/heron-tracker/heron/statemgrs/src/python/zkstatemanager.py", line 80, in get_topologies
  File "/Users/samek/bin/heron-tracker/heron/statemgrs/src/python/zkstatemanager.py", line 95, in _get_topologies_with_watch
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/recipe/watchers.py", line 273, in __call__
    self._get_children()
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/recipe/watchers.py", line 22, in wrapper
    return func(*args, **kwargs)
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/recipe/watchers.py", line 283, in _get_children
    self._path, self._watcher)
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/retry.py", line 122, in __call__
    return func(*args, **kwargs)
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/client.py", line 945, in get_children
    return self.get_children_async(path, watch, include_data).get()
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/handlers/threading.py", line 107, in get
    raise self._exception
kazoo.exceptions.NoNodeError: ((), {})
27 May 2016 21:31:43-ERROR:connection.py:559: Unhandled exception in connection loop
Traceback (most recent call last):
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/protocol/connection.py", line 527, in _connect_attempt
    self._send_ping(connect_timeout)
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/protocol/connection.py", line 446, in _send_ping
    self._submit(PingInstance, connect_timeout, PING_XID)
  File "/Users/samek/.pex/install/kazoo-1.3.1-py2.7.egg.9e0018919913c23864670dfb4abcbd86b8867ea6/kazoo-1.3.1-py2.7.egg/kazoo/protocol/connection.py", line 273, in _submit
    if request.type:
AttributeError: 'NoneType' object has no attribute 'type'

zookeeper logs:
2016-05-27 21:32:40,475 [myid:] - INFO  [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /0:0:0:0:0:0:0:1:52963
2016-05-27 21:32:40,536 [myid:] - INFO  [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181:NIOServerCnxnFactory@192] - Accepted socket connection from /0:0:0:0:0:0:0:1:52964
2016-05-27 21:32:40,538 [myid:] - WARN  [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181:NIOServerCnxn@357] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket
	at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:230)
	at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
	at java.lang.Thread.run(Thread.java:745)
2016-05-27 21:32:40,539 [myid:] - INFO  [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181:NIOServerCnxn@1008] - Closed socket connection for client /0:0:0:0:0:0:0:1:52963 (no session established for client)
2016-05-27 21:32:40,543 [myid:] - INFO  [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181:ZooKeeperServer@900] - Client attempting to establish new session at /0:0:0:0:0:0:0:1:52964
2016-05-27 21:32:40,544 [myid:] - INFO  [SyncThread:0:FileTxnLog@199] - Creating new log file: log.1d
2016-05-27 21:32:40,651 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@645] - Established session 0x154f3b42c7b0000 with negotiated timeout 10000 for client /0:0:0:0:0:0:0:1:52964
2016-05-27 21:32:43,808 [myid:] - WARN  [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181:NIOServerCnxn@357] - caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid 0x154f3b42c7b0000, likely client has closed socket
	at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:230)
	at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203)
	at java.lang.Thread.run(Thread.java:745)
2016-05-27 21:32:43,809 [myid:] - INFO  [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181:NIOServerCnxn@1008] - Closed socket connection for client /0:0:0:0:0:0:0:1:52964 which had sessionid 0x154f3b42c7b0000
2016-05-27 21:32:52,004 [myid:] - INFO  [SessionTracker:ZooKeeperServer@355] - Expiring session 0x154f3b42c7b0000, timeout of 10000ms exceeded
2016-05-27 21:32:52,004 [myid:] - INFO  [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@489] - Processed session termination for sessionid: 0x154f3b42c7b0000

@samek For now, what  I've found is the heron_tracker.yaml you pasted is different from the 0.14.0 release as shown below:
statemgrs:
  -
    type: "file"
    name: "local"
    rootpath: "~/.herondata/repository/state/local"
    tunnelhost: "localhost"
  -
    type: "zookeeper"
    name: "localzk"
    hostport: "localhost:2181"
    rootpath: "/heron"
    tunnelhost: "localhost"

Notice the name localzk and the root path /heron are different from what you provided. And I'm testing it on Mac OS  X Yosemite

@nlu90 I've probably changed it in the process of trying it to work. Anyway same error with localzk as name and rootpath changed to /heron :(

Interesting. Can you paste the content of ~/.herontools/release.yaml here?

sure
cat ~/.herontools/release.yaml
heron.build.version : 0.14.0
heron.build.time : Tue May 24 22:44:01 PDT 2016
heron.build.timestamp :<PHONE_NUMBER>000
heron.build.host : tw-mbp-kramasamy
heron.build.user : kramasamy
heron.build.git.revision : be87b09f348e0ed05f45503340a2245a4ef68a35
heron.build.git.status : Clean

@samek Tracker does not create the nodes automatically if they are not already present. The latest version of config file states that:
#
# To use 'localzk', launch a zookeeper server locally
# and create the following paths:
#   1. /heron/topologies
#   2. /heron/executionstate
#   3. /heron/pplans
#   4. /heron/tmasters
#   5. /heron/schedulers
#
#  -
#    type: "zookeeper"
#    name: "localzk"
#    hostport: "localhost:2181"
#    rootpath: "/heron"
#    tunnelhost: "localhost"

So you would need to create those nodes to have Tracker work. One of the reasons we do it this way is that Tracker is completely readonly and does not modify any of the states.

I'll give it a go.
What should the values of nodes be ? null ?

I tested on my mac, in order to make the local zk work, you need to manually create the znode "/heron/topologies" in your zk. Once it's created, everything should be fine.

@saileshmittal should we add this into our doc for future reference?

It would definitely help me :)
Thanks

It would be nice to also have this note visible in the Quick Start guide: http://twitter.github.io/heron/docs/getting-started/


Email Integration

Hello All,
Pls I need help integrating email to my papermerge installation
Basically I want to send files to the email and it uploads to PaperMerge automatically.
Thank you kindly.

Hi @ayotwice ,
https://docs.papermerge.io/2.0.1/User's Manual/consumption.html?highlight=mail
Papermerge are already able to consume Documents via mail.


Add a milestone for 2.2.0 version

Add a milestone for the 2.2.0
Some things that would need a revision and improvements for the 2.2.0+:

[ ] Rework database backend to fix Out of Memory bug -> #189
[ ] GameServer class, split big content methods into smaller -> #191
[ ] Change some class uses from tarek-functional into java functional
[ ] Change use from CollectionWrapper, into lambadas/stream api
[ ] Change use from MapWrapper, into lambadas/stream api
[ ] Remove some Trio, Quad, Return, Catcher and Acceptable classes and replace it with entity/model classes and rightful code
[ ] Remove and replace the Document class with JsonElement/JsonObject*

* this is optional
Some more tasks coming in the future
Finished and in progress tasks in the Project/Milestone and under this issue

Milestone is created and the mentioned issues and PRs are assigned to it.


No data is being written to database

Hi, I have setup the server using a valid mongoDB URI. When I startup the server I can see from my mongod endpoint that connections are being open, yet no collections are created and no data is being written. Here are my logs:
TOKEN=<bot token> WEBHOOK=https://koustuv.me PORT=9844 MONGODB_URI=mongodb://<host:port>/convai convai-testing-system
2017-09-14 12:47:32 INFO  Slf4jLogger:92 - Slf4jLogger started
2017-09-14 12:47:33 INFO  cluster:71 - Cluster created with settings {hosts=[<host:port>], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
2017-09-14 12:47:33 INFO  BotEndpoint:107 - bot 5319E57A-F165-4BEC-94E6-413C38B4ACF9 registred
2017-09-14 12:47:33 INFO  BotEndpoint:107 - bot F0690A4D-B999-46F0-AD14-C65C13F09C40 registred
2017-09-14 12:47:33 INFO  BotEndpoint:107 - bot DA008C35-73CD-4A64-8D67-5C922808D6B4 registred
2017-09-14 12:47:33 INFO  BotEndpoint:107 - bot 0A36119D-E6C0-4022-962F-5B5BDF21FD97 registred
2017-09-14 12:47:33 INFO  connection:71 - Opened connection [connectionId{localValue:1, serverValue:1}] to <host:port>
2017-09-14 12:47:33 INFO  cluster:71 - Monitor thread successfully connected to server with description ServerDescription{address=<host:port>, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 10]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, roundTripTimeNanos=19705513}
2017-09-14 12:47:35 INFO  BotWorker:36 - bind on 9844 port
2017-09-14 12:47:37 INFO  BotWorker:24 - Listening on ::0:9844
2017-09-14 12:54:08 INFO  DialogFather:107 - test dialog TelegramChat(125020302,Some(koustuvs))-Bot(5319E57A-F165-4BEC-94E6-413C38B4ACF9)
2017-09-14 12:54:08 INFO  DialogFather:107 - start talk between TelegramChat(125020302,Some(koustuvs)) and Bot(5319E57A-F165-4BEC-94E6-413C38B4ACF9)
2017-09-14 12:54:14 INFO  Dialog:107 - rated message 320000000 with 2
2017-09-14 12:54:16 INFO  Dialog:107 - rated message 180000000 with 2
2017-09-14 12:55:09 INFO  DialogFather:107 - user TelegramChat(125020302,Some(koustuvs)) leave, dialog List(TelegramChat(125020302,Some(koustuvs)), Bot(5319E57A-F165-4BEC-94E6-413C38B4ACF9)) finished
2017-09-14 12:55:09 INFO  Dialog:107 - evaluation from Bot(5319E57A-F165-4BEC-94E6-413C38B4ACF9): quality=0, breadth=0, engagement=0
2017-09-14 12:55:13 INFO  Dialog:107 - rated message 135000000 with 2
2017-09-14 12:55:18 INFO  Dialog:107 - evaluation from TelegramChat(125020302,Some(koustuvs)): quality=4, breadth=3, engagement=3
2017-09-14 12:55:18 INFO  DialogFather:107 - dialog terminated, users List(TelegramChat(125020302,Some(koustuvs)), Bot(5319E57A-F165-4BEC-94E6-413C38B4ACF9)) leave from dialog

And the mongod logs:
2017-09-14T08:47:22.409-0400 I NETWORK  [initandlisten] waiting for connections on port 8091
2017-09-14T08:47:33.551-0400 I NETWORK  [initandlisten] connection accepted from <ip>:45006 #1 (1 connection now open)

how do you stadt dialog? with /begin or with /test?
if with /test, then nothing will be stored

Ah, ok I indeed only did it with /test. It is working with /begin.
Thanks, closing the issue


[wip]fix jets3t being pulled into druid-selfcontained jar instead of druid-s3-extensions

need more deeper inspection. closing for now.


Mention that Probing Zero Windows is not implemented for TCP

Discussed in #199

@m-labs-homu r+

:pushpin: Commit ab2ef05 has been approved by whitequark

:hourglass: Testing commit ab2ef054a1102018dd17258fda8e8ae952c5c9b3 with merge 880fb73d544f8a158996f04c7417d9aa092d2b31...

:sunny: Test successful - status-travis
Approved by: whitequark
Pushing 880fb73d544f8a158996f04c7417d9aa092d2b31 to master...


Cross-Currency Rollover

This pull request introduces a feature that allows users to rollover loans from one currency to another, provided the new currency is whitelisted by the lending protocol.
It integrates UniswapV3 functionalities by importing from @uniswap/v3-periphery and @uniswap/v3-core.
Due to compiler version compatibility issues,UniswapV3's  PoolAddress.sol library has been included locally with updated pragma solidity 0.8.18.
To test on a fork of mainnet, run:
FORK_MAINNET=true npx hardhat run scripts/rollover/cross-currency-rollover.ts
using block number 19884656.

https://github.com/arcadexyz/arcade-protocol/pull/133


(MCO-687) Add solaris smf service for mcollective for AIO

This commit adds an smf service file for mcollective, based on the PE
service file with updates for the AIO FS layout.

:+1:


Choice of journal

@marcharper you mentioned PNAS: http://www.pnas.org/:

I think we'd be going in as a "Research Report": http://www.pnas.org/site/authors/index.xhtml#research
Here's the how to (this is for me later on): http://www.pnas.org/site/authors/submit-how.xhtml

@marcharper for this and https://github.com/Axelrod-Python/axelrod-moran have you had any more thoughts?
I'd be happy to go for PLOS for both of them.
You mentioned https://www.journals.elsevier.com/journal-of-theoretical-biology but that looks like an Elsevier journal?
I'm happy to follow your lead to be honest.


faster_whisper with Batching

Has anyone tried batch processing using faster_whisper?
By batch processing, I mean defining a batch_size and chunk_length which can help in a greater inference speed.
Something similar to whisper transformers pipeline - https://huggingface.co/openai/whisper-large-v3
If so pls redirect me to that resource/repo

Dupe. You opened same issue few days ago: https://github.com/guillaumekln/faster-whisper/issues/553

Dupe. You opened same issue few days ago: #553

but i can't load ct2 model with transformer pipeline,is there anyway else?


[BUG] Delete multiple VMs but some related volumes still remaining here

Describe the bug
when we select multiple VMs and perform delete, there have only one check box delete All shown, and even it is selected, some volumes still remaining.
** VM's test case No.64, 65
To Reproduce
Steps to reproduce the behavior:

install Harvester
create few VMs
select them and click Delete, also checked Delete All
navigate to Volumes, some volumes created but still here without Attached VM

Expected behavior
All related volumes should be removed as expected.
Environment:

Harvester ISO version: master-82506f55-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal DL360 3nodes

Additional context
[VM been removed]

[remaining volumes]

@WuJun2016 I can reproduce this on like:

The VM ubu-q35 is created by multiple instance, and ubu-02 also been created by multiple instance.
Here is the detail of creation:

mutiple instance, count 2
disk Image Volume, from the ubuntu cloud image: https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
Networking, node scheduling not changed
Advanced Option is q35 or None (for the ubu-02)
cloud config User Data injected

#cloud-config
password: password
chpasswd: {expire: False}
sshpwauth: True

I tried several times, it will be produced sometimes.
For deleting VMs, I select -02 first, then -01.

@lanfon72    sorry, I haven't been able to reproduce the problem so far, could you please reproduce the problem by recording the screen? Also, could you look at the api request and see if the diskName you want to delete is included in the api, that would help me locate the problem better, thanks.

@WuJun2016 I can't reproduce this in latest build (master-119c2c48-head) too, It probably not UI issue, so I will close it.


Minor message update

adding quotes, to fix the "servers" to "server's"

@blueorangutan package

@andrijapanicsb a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2048

LGTM verified


Expose debugging header fields

At least in Cerner's case, there are some request headers that they like to ask for when you go to them for support. Specifically in Cerner's case:

X-Request-Id
Cerner-Correlation-Id

If either of those headers are present, it might be nice to put them in the output or error log or something. Hard to get after the fact.
I'm sure Epic has its own version of this, which would also be nice to expose, but I don't know those off hand.

Just to make sure I understand correctly, the scenario is:

I'm making a bulk data request against a FHIR server owned by someone else (let's say Cerner)
Something hasn't gone as expected.
I want to ask Cerner for help understanding why this request failed or didn't go as planned.
Somewhere in their FHIR server's response headers, they included a Cerner-Correlation-Id header that they use for debugging on their end.
If I knew ahead of time this request would fail I could have run the requests with NODE_DEBUG=app-request to see all the relevant headers in my STDERR logs, but it's after the fact and I need the id's associated with the previous run that I didn't know was going to fail.
CONCLUSION: In the cases where a request fails, it would be nice to scan the response object (in this case: response headers) for metadata that's helpful when debugging later.

Yes.

I usually see X-Request-Id not Cerner-Correlation-Id myself, but their support form mentions both :shrug:
I suppose I can just always run with NODE_DEBUG=app-request -- I did not know about that flag (maybe surfacing that in the README would help)
I think the Request ID is the same for a whole bulk export (worth confirming), so I was envisioning a simple print of the value up front (like the status URL is printed, along with other job start info).

Gonna talk with Vlad about if/where these magical headers for Request IDs could surface in the client, but either way the README could benefit from a line about the NODE_DEBUGenvironment variable 😄


--onlyChanged tests

highlevel test for -o option to make sure the behavior stays the same before i start changing things

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3977   +/-   ##
=======================================
  Coverage   59.92%   59.92%
=======================================
  Files         196      196
  Lines        6785     6785
  Branches        6        6
=======================================
  Hits         4066     4066
  Misses       2716     2716
  Partials        3        3

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 c11a98e...ddf0869. Read the comment docs.