Gmp.modPowInsecure() should support negative exponent.

  /**
   * Set rop to (base raised to exp) modulo mod.
   *
   * Negative exp is supported if an inverse base^-1 mod mod exists (see mpz_invert in Number
   * Theoretic Functions). If an inverse doesn't exist then a divide by zero is raised.
   */
  public static native void __gmpz_powm(mpz_t rop, mpz_t base, mpz_t exp, mpz_t mod);

We simply never call this with a negative exponent to avoid the possibility of raising a native exception.  Someone would need to figure out how to allow the native exception to be raised, and safely trap it and convert the result into the appropriate ArithmeticException that BigInteger does in this case.

Fixed in #27


[feature] Configure-able via UI

Would be nice if this could be configurable via the UI and it's Alert-entity to be attached to a device.

Hi, thanks for the suggestion. I'm looking into making alerts support UI configuration.  I may start off with a simple text input box that lets you type YAML.  I'm guessing you'd prefer a UI experience that's not YAML and is more structured?
Also, what do you mean by attaching an alert entity to a device?  Can you give me an example?
-J

Yeah a structured UI option would be optimal. But a yaml editor works as well, that would eliminate the need to Reload/Restart HA
To clarify, I mean in the way that some helpers work. For example the Template sensor helper that can be created and managed through the UI. It has a field for Device, which makes the created helper entity accessible from that device page.

Thanks, I'll look into device connections, and was about to look into UI editing coincidentally.
Wonderful!

Also, the recent release of Alert2 now supports YAML reloading on the fly (via "Developer tools" -> "YAML" and clicking on "Alert2" to reload)
Oh, I missed that, thats great!


Overflow menu icon should rotate when embedded inside a breadcrumb

Detailed description
When I add an overflow menu inside a breadcrumb I expect the overflow menu icon to rotate 90 degrees (as it does in a table).

Is this issue related to a specific component? Overflow Menu

What did you expect to happen? What happened instead? What would you like to see changed? Icon should rotate by 90 degrees

What browser are you working in? Chrome

What version of the Carbon Design System are you using? Can reproduce using latest code

What offering/product do you work on? Any pressing ship or release dates we should be aware of? Assess

Additional information

Screenshots or code
Notes

Thanks for this submission. The as-is behavior is expected and desired - truncated breadcrumb items are collapsed into an ellipsis rather than the overflow menu control.

Jumping in, just to clarify the original intend was to have  the ellipse icon should be oriented horizontally and not vertically as per the usage guidelines on the website.

It's not the 'ellipsis' glyph though, it's an actual ellipsis character (or should be)

the only thing this should share with Overflow Menu is styling of the Dropdown


Create empty DGui skeleton project

A minimal DGui application skeleton can be built

I really think we should have a "plugin" system for that. It would mostly work by convention, so that for example, dub init vibe.d will look for dub-init folder (or subpackage) in vibe.d package, and copy it. That would also fix the issues of the packages not being in sync).

See also my reply in #453.

I really think we should have a "plugin" system for that. It would mostly work by convention, so that for example, dub init vibe.d

A true plugin system would automatically search for and run shared libraries, and identify a set of callbacks, related or not to init files. This would be useful for eg. adding custom pre-processors, like a diet templates compiler that isn't CTFE but runs at compile-time.

There are many flavors of plugin systems, it doesn't always have to be shared library based. In this particular case I think that a template package is really a much better solution. But yeah, a "build" plugin system like you describe is also something that we need to think about. I've recently talked about such possibilities with Atila Neves via e-mail and could post those in a separate ticket or on the forums.

See also my reply in #453.

https://github.com/D-Programming-Language/dub/pull/453#issuecomment-75568856

Isn't this basically a subset of the features in #600?

@blm768: Yes, I think we should actually close this and go for a variant of #600 instead (using a sub package instead of a specific sub path).


Please consider custom event registration.

Element.scrollLeft is not animatable via css transitions.  As such, please consider:
Revealing a method in mdlComponentHandler.cs which would allow for overriding default event behavior, implemented in layout.cs, by enabling custom event registration.
A registerCustomHandler method could take the name of a registered component, ‘MaterialLayout’ for instance, and an array of objects with suitable key/value pairs with enough information to locate and wire up a custom event.
The init method of the self-registering MaterialLayout class/component could have a new parameter representing the array of objects, with custom event information and handler functions, and a simple function which would determine if default event registration should be intercepted.
For reference:
Example from a web starter kit repo using Sass

As of right now, we are working on V2 which will have a completely revamped scripting system and component architecture. This kind of modification won't happen in the 1.x lifetime as Layout is a fairly complicated beast of a component and any modifications to it can have unintended side-effects that we can't predict.
Once we announce an alpha for V2 we'd love to start getting your feedback on the new system to understand what may need changing to suite your needs here. As things are though, 1.x is "as-is" in these architectural terms.
You seem to have a functioning work-around for needing this internally within your projects. We encourage you to keep using that as you need it for 1.x builds.
Thanks for the suggestion, but it isn't something we can safely modify and maintain within the current architecture.


fix(stoneinteg-761): update the kustomization to latest integration-service

On STONEINTG-761 we made changes in metrics of integration-service , this PR as follow up to update in infra-deployments to point monitoring grafana to latest integration-service.

/test appstudio-hac-e2e-tests

/test appstudio-hac-e2e-tests

/test appstudio-hac-e2e-tests

/lgtm

/lgtm

/approve


Existing collections are not updated/activated by the operator

I updated the collection to my curated collection in the kabanero CR instance. I see that the new collection CR instance (the one I added one) is correctly loaded but all others collections still have old stuff (image etc) in the yaml file. How do I refresh the collections?
So basically updating the collections hub URL in the kabanero CR instance does not seem to update the existing collections but it added the new collection correctly.
collections:
    repositories:
      - activateDefaultCollections: true
        name: central
        url: >-
          https://github.com/mtamboli/collections/releases/download/v0.3.1/kabanero-index.yaml

Java-Microprofile collection not updated yet:
apiVersion: kabanero.io/v1alpha1
kind: Collection
metadata:
  creationTimestamp: '2019-11-11T18:56:29Z'
  generation: 1
  name: java-microprofile
  namespace: kabanero
  ownerReferences:
    - apiVersion: kabanero.io/v1alpha1
      controller: true
      kind: Kabanero
      name: kabanero
      uid: f796f966-04b4-11ea-8469-00000a1006b5
  resourceVersion: '6385418'
  selfLink: /apis/kabanero.io/v1alpha1/namespaces/kabanero/collections/java-microprofile
  uid: f8316e0f-04b4-11ea-8e3f-00000a1006de
spec:
  desiredState: active
  name: java-microprofile
  version: 0.2.18
status:
  activeLocation: >-
    https://github.com/kabanero-io/collections/releases/download/0.3.0-rc.3/kabanero-index.yaml
  activePipelines:
    - activeAssets:
        - assetDigest: 565013faa419d15bd42b42cc618c4b696d3594fa35aa11cfa71530606c0a5b84
          assetName: ./build-pipeline.yaml
          status: active
        - assetDigest: 71134691c23e9e020daf5639e5bad5b591e676ceb7d99968152ff372a82155ef
          assetName: ./build-push-pipeline.yaml
          status: active
        - assetDigest: 133f49e870d79b9d2060a2bd735c19ba72e0c1486b3520e9d2498a2440a4eeaf
          assetName: ./build-task.yaml
          status: active
        - assetDigest: 316c585fd3dc406ef8e285c22720f55a36caae4bf367a341461084c830e2332d
          assetName: ./build-push-deploy-pipeline.yaml
          status: active
        - assetDigest: 8c11ae56925ead8c102fd904031a099e221b3a4b25ce7165545979530d2397d9
          assetName: ./image-scan-task.yaml
          status: active
        - assetDigest: 3cc3f2da56b2d97ac5d7180b408d6c8c29f7f117f667402591e5e62e2589ae38
          assetName: ./deploy-task.yaml
          status: active
        - assetDigest: 7cb0977931085ffb18d4aefd95f2cc76a7fcf7cc3e72a8cde9022f6f19ee0546
          assetName: ./image-retag-push-pipeline.yaml
          status: active
        - assetDigest: f3eb78cf435b0ca6ef983ce1a693a5ffaca0bebe3dfd995bb9c2506eac38513e
          assetName: ./build-push-task.yaml
          status: active
        - assetDigest: 4cb5caad02fde7779cb752cbe10c5bc61c63e4bbd72a99a436f879d2e23879cc
          assetName: ./image-retag-push-task.yaml
          status: active
      digest: cdf66394025e3b0c8c6617e3a732f6bbb8364b15264b1cd6a636aa9ec5bac750
      name: default
      url: >-
        https://github.com/kabanero-io/collections/releases/download/0.3.0-rc.3/incubator.common.pipeline.default.tar.gz
  activeVersion: 0.2.18
  images:
    - id: java-microprofile
      image: 'kabanero/java-microprofile:0.2'
  status: active

New Java-ee collections which has correct collection activated:
piVersion: kabanero.io/v1alpha1
kind: Collection
metadata:
  creationTimestamp: '2019-11-11T22:41:00Z'
  generation: 1
  name: java-ee
  namespace: kabanero
  ownerReferences:
    - apiVersion: kabanero.io/v1alpha1
      controller: true
      kind: Kabanero
      name: kabanero
      uid: f796f966-04b4-11ea-8469-00000a1006b5
  resourceVersion: '6489168'
  selfLink: /apis/kabanero.io/v1alpha1/namespaces/kabanero/collections/java-ee
  uid: 556dfa0f-04d4-11ea-8e3f-00000a1006de
spec:
  desiredState: active
  name: java-ee
  version: 0.1.1
status:
  activeLocation: >-
    https://github.com/mtamboli/collections/releases/download/v0.3.1/kabanero-index.yaml
  activePipelines:
    - activeAssets:
        - assetDigest: 316c585fd3dc406ef8e285c22720f55a36caae4bf367a341461084c830e2332d
          assetName: ./build-push-deploy-pipeline.yaml
          status: active
        - assetDigest: 565013faa419d15bd42b42cc618c4b696d3594fa35aa11cfa71530606c0a5b84
          assetName: ./build-pipeline.yaml
          status: active
        - assetDigest: 3cc3f2da56b2d97ac5d7180b408d6c8c29f7f117f667402591e5e62e2589ae38
          assetName: ./deploy-task.yaml
          status: active
        - assetDigest: 71134691c23e9e020daf5639e5bad5b591e676ceb7d99968152ff372a82155ef
          assetName: ./build-push-pipeline.yaml
          status: active
        - assetDigest: 4cb5caad02fde7779cb752cbe10c5bc61c63e4bbd72a99a436f879d2e23879cc
          assetName: ./image-retag-push-task.yaml
          status: active
        - assetDigest: fa933fd1ad634ad74317b1b02ddc52b76f53564eaf37f050d93d48af5b124132
          assetName: ./image-scan-task.yaml
          status: active
        - assetDigest: 133f49e870d79b9d2060a2bd735c19ba72e0c1486b3520e9d2498a2440a4eeaf
          assetName: ./build-task.yaml
          status: active
        - assetDigest: f3eb78cf435b0ca6ef983ce1a693a5ffaca0bebe3dfd995bb9c2506eac38513e
          assetName: ./build-push-task.yaml
          status: active
        - assetDigest: 7cb0977931085ffb18d4aefd95f2cc76a7fcf7cc3e72a8cde9022f6f19ee0546
          assetName: ./image-retag-push-pipeline.yaml
          status: active
      digest: 55ae3c998249c93578400a542543ecd0f4445699697d0e1334c7cb7ac10f32b4
      name: default
      url: >-
        https://github.com/mtamboli/collections/releases/download/v0.3.1/incubator.common.pipeline.default.tar.gz
  activeVersion: 0.1.1
  images:
    - id: java-ee
      image: 'mtamboli/java-ee:0.1'
  status: active

kabanero.zip

Monica and I spoke about this.  this is another instance of #286.  The versions of the five original collections are the same in the new Collection Hub, so the operator does not update them.  Although interestingly the nodejs collection did get updated, but it's not clear why the reconciler ran for it.
I am going to look and see if there is a non-disruptive change that I can make to force the collections to re-load when the URL of the Collection Hub changes.


Feat: Updating the UI of the App Info screen to match with the rest of the app's UI

Describe the feature
The UI of the App-Info screen is primitive, and is out of sync with the rest of the application. I'd update the UI of this screen to match with the rest of the application's UI and UX.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

Hi @avinashkranjan please assign me this!


Update Logger.pm

Fix bug that prevents starting of Nitro on Linux systems

Thanks for the contribution! 👍


Language configuration

Fixes  #167, #141

Very interesting. This trigged recaptcha to fetch the language specific version of the script. (Previously, people have been trying to swap the scripts) I am not sure if that is a new capability or not.
Looking at how you accomplished this, you just set hl in the widget's internal recaptcha config. Doing this from the start (passing hl along with the config to render) appears to have the same affect... meaning there is an undocumented feature to set the language baked right into reCaptcha (not too sure if that is new or not).
The method you are using is very fragile though, it depends on internal script variables and those are not guaranteed to stay the same version to version. In fact, b/c the script is minified and mangled, I would be will to bet that this would break when there is an update to reCaptcha.
Basically, remove all of the hackiness which dives into window.___grecaptcha_cfg and it will still work but without being able to change an existing widget's language. You could watch for the lang to change and remove the existing widget and create a new one to have the ability to change the language of an 'existing widget' without going into the internal workings o recaptcha itself.

@reduardo7 First, I want to thank you for the PR. I subscribe to what @TheSharpieOne mentioned, and I would like to add that all your changes must be performed on the files in the src dir. The files located in the release dir are generated during the release process that. For this same reason, you must not commit the files in the release dir.
Lastly, it would be awesome to have some tests included in the PR for the new feature.

@iambrosi and @TheSharpieOne : I have made the suggested changes, but I notice that the automatic integration test is failing for something that does not seem to be related to my work.
If you notice anything else that needs adjusting, do not hesitate to contact me.

The issue is with the CI, travis.yml is set to use the latest stable version of node. That combined with out-dated devDep makes it not work.
I put up #171 to address that. If you want, once that gets merged, rebase this PR to include it so that travis CI will pass.
Also, I did test the merge result of this PR locally with the updated devDeps; everything passed.

@iambrosi There should be in option to rebase this via the github buttons below.

Changes Unknown when pulling a5a1f2583c76586a9991ed76a54a69c568006c8d on reduardo7:master into ** on VividCortex:master**.

Thanks @reduardo7 !

@iambrosi I agree with https://github.com/VividCortex/angular-recaptcha/pull/170#issuecomment-263983842, but now the release dir don't contain the minified code. Should I make this missing commit? Or you should do it?


[ast] Update review comments and more

Signed-off-by: Jacob Levy<EMAIL_ADDRESS>

Please review, approve, & merge the PR...

First review was done ny @arnonsha @zi-v for GitLab .
Please review, approve, & merge the PR...

Please merge the PR once the checks complete, Thanks!

Please merge....

Can somone please merge the PR....

completely foregot. thanks for the reminder!


BE CAREFUL !

IT REMOVED
some files from my LOCAL project's files were I've created FTP Config because NOONE/NOTHING alerted me that it'll REPLACE/REMOVE/REWRITE files with the same LOCATION/FILENAME !
DAMN IT
I.e. you have some file like script.js with ~5k lines in the same folder where you've created FTP Config with this plugin ... so if you'll open file with same remote path and name it'll replace you local file with downloaded one >:( This's really good plugin, but ...
WTH, DEV. ?!

This is the default operation. This package helps keep local and remote files in sync. You can not decide which one is the most recent. If you are developing locally use git.
If you do not commit to git, overwrite the file. Actually, the situation is similar here too.
This package is more about developing on a remote server.
I'm really sorry about your data loss, but I close this issue.

THEN PLEASE TELL ABOUT THIS BEFORE DOWNLOADING AND REMOVING THESE FILES ! PLEASE ALERT USER IF THIS FILE ALREADY EXISTS ! DAMN


Security: SSL for our server

It's been few months we're running on http. We need to use ssl cert for our server to make it more secure. I am thinking of using let's encrypt certs and deploy using certbot. Will be easy and just another automation check on our cicd to check for expiration

Ah you're right, then maybe setting up a monthly cron will be better :D

Followed snap-based instructions at https://certbot.eff.org/instructions?ws=apache&os=ubuntufocal for a free Let's Encrypt certificate on our Ubuntu 20.04 server, and cron is set up to automatically renew.


Add -ReuseSourceFolderStructure parameter to ADD-DBAAgDatabase

Summary of new feature
Currently when using manual seeding with Add-DBAAgDatabase you can only use the destination default folders for data and log files.  Adding this flag, which is in Restore-DbaDatabase, would allow Add-DBAAgDatabase to have the same functionality as Restore-DbaDatabase
Proposed technical details (if applicable)
In the event that there are multiple locations for data and/or log files currently you can't use Add-DBAAgDatabase with manual seeding as all files will go the default locations on the destination server.  By adding this parameter you can match the source file folders, just like autoseed does.  The change in the cmdlet would be to check if teh parameter was included and then add it to the Restore-DbaDatabase call.
Latest version of dbatools as of writing
1.0.104

I would see this being handled by I call Restore-DbaDatabase and apply the restore to each replica...but think we would have to add functionality to Add-DbaAgDatabase to handle a join only scenario (don't think it does now).


Carousel slide (fade) flicker at the end of rotation transition

On Safari (macOS/iOS), the fade transition from the last to the first slide causes an flicker for a moment. Prevent this by set z-index property value one step lower:
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  z-index: 0; /* set to -1 and prevent flicker on Safari */
  opacity: 0;
  transition: 0s 0.6s opacity;
}

Tested in Safari 11.1.2 and Mobile Safari 12.1.4.

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

This is a saved reply.

Had same problem on https://whatsmybrowser.org/b/P8WYDY3 (iPhone Safari 12.1)
@renejackowski 's fix solves the problem perfectly. I have found that the problem can also be found on Bootstrap's website when viewed on all iPhones that I have tried.

@twbs/css-review: can you confirm this?

I can't reproduce this via browserstack.

I can see the flicker behavior on https://getbootstrap.com/docs/4.3/components/carousel/#crossfade.
But it seems to have been fixed for now.
https://twbs-bootstrap.netlify.com/docs/4.3/components/carousel/#crossfade.

@renejackowski, can you confirm this is fixed now:
twbs-bootstrap.netlify.com/docs/4.3/components/carousel/#crossfade.

@MartijnCuppens, confirmed. It’s all about the transition:
--- getbootstrap.com/docs/4.3/dist/css/bootstrap.min.css
+++ twbs-bootstrap.netlify.com/docs/4.3/dist/css/bootstrap.min.css
@@ -3,5 +3,5 @@ .carousel-item:

-transition: -webkit-transform .6s ease-in-out;
-transition: transform .6s ease-in-out;
-transition: transform .6s ease-in-out,-webkit-transform .6s ease-in-out
+transition: transform .6s ease-in-out

Isn't that the same thing, minus the prefixes?

Isn't that the same thing, minus the prefixes?

Not really, this declaration was placed after the unprefixed version:
-transition: transform .6s ease-in-out,-webkit-transform .6s ease-in-out

That might have influenced the behaviour or the transition. Anyway, glad this is fixed now 😉

It's "fixed" because we change the targeted browsers in v5. In v4 I doubt it has changed. And this comes from autoprefixer.

https://v4-dev-xmr--twbs-bootstrap.netlify.com/docs/4.3/dist/css/bootstrap.css
.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

So, if you still insist it's a bug, this should be reported upstream.

https://github.com/postcss/autoprefixer/issues/965#issuecomment-355973866
So IMO autoprefixer is fine. Either way, this is an upstream issue if the prefixes change matters at all, and should be reported there.


DESTROY causes double free

The latest rakudo (newer than 2018.10) causes this issue.
See: https://github.com/rakudo/rakudo/issues/2642

Fixed by #33


pandoc: update markdown example

Updating based on warning from Pandoc: [WARNING] Deprecated: markdown_github. Use gfm instead.

[x] The page is in the correct platform directory (common/, linux/, etc.)
[x] The page has 8 or fewer examples.
[x] The PR title conforms to the recommended templates.
[x] The page follows the content guidelines.

I absolutely love this project. Thank you all!

Oh goodness... I opened a PR against myself :man_facepalming:


begin/end functions for es::World

es::World requires begin()/end() functions in order to work properly with ranged-based for loops. Currently, code such as this one taken from the system examples gives an error in VS2015:
for (auto& ent: world){
    auto pos = ent.get<Position>();
    auto vel = ent.get<Velocity>();
    if (pos && vel){
        pos->x += vel->x * dt;
        pos->y += vel->y * dt;
    }
}

You can do world.query() for now, but I will add this soon.

The readme was updated to use world.query(). Ideally this would work with begin()/end(), but the way the entities are internally stored makes this tricky. It would only be worth adding if there was a performance benefit. A new issue has been added for the performance aspect of this: #7


Use testing.T.Cleanup() in new cli test framework

What was changed
All manual calls to stop shared resources were replaced by calling thing.Stop as a cleanup function
Why?
We don't need to track this ourselves, we can let the testing library do it for us

Closing as we actually will want to close these manually in future tests


Storybook: Nav menu and categories do not match on Twig and React

Reorganize left-hand menu and categories so they match on both React and Twig:
React menu:

Twig menu:

Here I think we just need to generally improve the documentation above the components.


Add Sendsay bot.

#309

Thanks 👍

@JayBizzle so, when the next release will be published?

Done, was waiting for tests to pass (and eating food)

Yeah, i see, thanks) Eating food is nice, i do this stuff sometimes too.


Get unexpired access token

Is your feature request related to a problem? Please describe.

I See that the framework can create the access token automatically with the refresh token, if you do a request.

Describe the solution you'd like

Is there a way to get the access token string - that is not expired - manually?

You can get the current Access Token by initializing the Tokens struct and accessing the accessToken property. It's not marked public so it's not included in the documentation (since all that stuff is handled internally by the framework) but you should still be able to access it when the library is imported. It's documented in it's source file.
But basically you would do:
Tokens.init(for: clientIDString, from: keychainInstance)

That initializer is documented here: https://github.com/Colaski/SwAuth/blob/main/Sources/SwAuth/Tokens.swift#L82.
I see your original title asks about refreshing the token manually, I'm curious about why you would want to do that.

Thanks for your answer. Thats why I didnt found that in the documentation.
I guess I ask wrong. I want to access an unexpired access token, without calling a request for it to be fresh. I using the accessToken inside a webView so I need it to be unexpired.
I will try your code later on :) thanks

Just to clarify, the Tokens struct contains the the tokens of the most recent request, they are only updated when an HTTP request is made but the access token is expired.
Is the behavior your looking for to have an unexpired access token regardless of HTTP request being made?

Turns out no refractor required. What you should be able to do is call the checkRefreshToken method of your instance of an authorization flow and provide an instance of Tokens. Just make sure you have already called your authorization flow's authorizationResponseHandler already.
Here's an example:
let tokens = try Tokens.init(for: clientIDString, from: keychainInstance)
try await someAuthFlowInstance.checkRefreshToken(tokens: tokens)

// Your instance of Tokens has now been updated accordingly
let accessToken = tokens.accessToken

Please reach out if you have an issue or further questions! Apologies for the confusion.

Hey,
at my first try, it doesn't seem that "Token" is reachable. Cause it's not public.
Also 'checkRefreshToken' is inaccessible due to 'internal' protection level.
Both things are needed to be accessible.
I also run into something else, but I will try to fix this myself:
I will also try to make this framework run on Xcode 13.2 (Beta) to have it available for iOS 13/14. If you are not in to it.

I just pushed an update (1.0.2) that makes Tokens and checkRefreshTokens public, not sure why it was saying it's internal cus it' certainly was not marked that way (must be the default protection level).
so this should work now:
var tokens = try Tokens.init(for: clientIDString, from: keychainInstance)
try await someAuthFlowInstance.checkRefreshToken(tokens: &tokens)

let accessToken = tokens.accessToken

Once Xcode 13.2 is officially released I will push an update supporting macOS 10.15, iOS 13, tvOS 13, and watchOS 6. Should be as easy as changing some numbers around.

I guess in an framework everything that is not public, is not accessible outside of its framework. To access "tokens.accessToken" accessToken inside Token must be public too :) rest looks good for me. Thanks for your fast update.

Woops, i made the methods public but not the properties, over sight on by part. Thanks for sticking with me 😅. 1.0.3 pushed just now.


Check jtr file only if previous cmd completed successfully

fix: https://github.com/adoptium/aqa-tests/issues/4115
Signed-off-by: Lan Xia<EMAIL_ADDRESS>

https://openj9-jenkins.osuosl.org/job/Grinder/1498/

FYI @pshipton


添加配置到etcd中运行脚本出现错误

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
使用sh命令运行etcd3-config.sh，向etcd3写入配置项
Ⅱ. Describe what happened
配置项中过长的项会不能写入成功
If there is an exception, please attach the exception trace:
 Complete initialization parameters,  total-count:67 ,  failure-count:5

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
OS :
Others:

@zcerhub can you fix the problem？


Enchanting Table Bug

When placing enchanting table, the texture appears to be black and pink checker block with floating book on top. Cannot access the enchanting table either.
Do note:

Placebo version is 1.16.3 (most recent)
Using forge

My bad - there is a mod in my pack that is affecting it

My bad - there is a mod in my pack that is affecting it

tell us

Would be nice to know which mod. I have the same issue. And removing Quark Oddities does only help a little bit.
This is my modlist and idk which mod causes this: https://gist.github.com/MelanX/6eee6a7555cbb338400148744c14e761

Oh.. i think you need to remove Quark completely. That would result in issue #283

quark changed the matrix table to be a new block

quark changed the matrix table to be a new block


Configuring IP Address doesn't allow Firebase to begin properly

Hi, i'm having an issue where configuring a specific IP when starting Wifi causes firebase to never start.
      WiFi.mode(WIFI_STA);
      IPAddress local_ip(192, 168, 0, 100);
      IPAddress gateway(192, 168, 0, 1);
      IPAddress subnet(255, 255, 255, 0);
      //WiFi.config(local_ip, gateway, subnet);
      WiFi.begin(ssid, pass);

Firebase Client starts fine as long as the line of code is commented out in the snippet above.
To be clear, all other network functionality works fine. (ESP8266 Successfully connects to Wifi at the specified IP and runs a webserver. This is not an issue of setting a used IP.)

This is not related to the library.
Library does nothing with WiFi and ip stack.

Connect to AP or router doesn't mean your device has the internet accessibility.
You should test with HTTPS or HTTP or Ping examples.

If no internet you should set your router properly.

If your internet is ok and you used external WiFi connection management library or your own routine code, post your minimal code here.

I was writing the minimum reproducible code using your custom_token example and I figured out the problem. You were right, while the static IP was configured and accessible on the local network, it turns out the NodeMCU had no internet connectivity. I was missing one line of code, which is to also set a dns address along with local_ip, gateway and subnet as in the snippet above. Sorry for wasting your time.


Signal Plot: Is vertical orientation possible?

This issue will explore feasibility of creating vertical signal plots. The signal plot type is one of the most complex, with many features that would have to be refactored (e.g., color by density) making this task very challenging. An alternative option is to create a new VerticalSignal plot type with minimal features.
Discussed in https://github.com/ScottPlot/ScottPlot/discussions/1184

Originally posted by gigios August  5, 2021
First of all I apologize if the question has already been asked, but I have not found it 😊
I'm investigating the functionality of the library to be able to draw a graph with thousands of values (signal).
My problem is that I need to show 10 charts with the sample rate in the Y axis and values in X.
Exists a simple way to do this with the Signal plot?
What I need is similar to this photo

I need to replicate a similar visualization in my wpf app with the possibility to scroll all the signals in vertical and, if there are more than 10 charts, scroll also in horizontal (but the scroll I think is not a problem).
A possible solution could be rotate the Wpf Plot Control of 90 degree, but in this way I need also to rotate the Axis labels.
Thanks for any suggestion.

I have added, in the discussion, a first test of a possible workaround in the Wpf application, where it's very easy to rotate controls. I have only some troubles on place the axis labels in the correct position, but this is probably a my problem because it's the first time I'm using the 'ScottPlot' 😊

With the WPF workaround (LayoutTransform\RotateTransform in xaml) and the last version of the ScottPlot I'm able to 'simulate' a vertical orientation for the signal plot 👍
Now there is only a small problem related the position of the axis label because are too close to the chart. This probably depends how the rotation is applied to the label text.
This is the WpfSample, where I have rotated the control in the xaml (90 degree) and also the Axis Y2.

Rotated ScottPlot Control

<DockPanel>
    <DockPanel.LayoutTransform>
        <RotateTransform
            CenterX="0.5"
            CenterY="0.5"
            Angle="90"/>
    </DockPanel.LayoutTransform>
    <ScottPlot:WpfPlot Name="WpfPlot1"/>
</DockPanel>

public MainWindow()
{
    InitializeComponent();

    WpfPlot1.Plot.AddSignal(ScottPlot.DataGen.Sin(51));
    WpfPlot1.Plot.AddSignal(ScottPlot.DataGen.Cos(51));

    // hide original vertical axis
    WpfPlot1.Plot.YAxis.Ticks(false);
    WpfPlot1.Plot.YAxis.Label("Title");

    // vertical axis (when rotated)
    WpfPlot1.Plot.XAxis.Ticks(true);
    WpfPlot1.Plot.XAxis.TickLabelStyle(rotation: 90);

    // horizontal axis (when rotated)
    WpfPlot1.Plot.YAxis2.Ticks(true);
    WpfPlot1.Plot.YAxis2.TickLabelStyle(rotation: 90);

    WpfPlot1.Render();
}

Perfect, thanks.
Do you think to release a new nuget update in a short time? Otherwise I will try to use directly the source code to do my additional tests 👍

Perfect, thanks.

Sure thing! I'm happy with the outcome here.

Do you think to release a new nuget update in a short time?

I'll make a NuGet release after I finish #1242 which I anticipate completing today or tomorrow 👍

>     // horizontal axis (when rotated)
>     WpfPlot1.Plot.YAxis2.Ticks(true);
>     WpfPlot1.Plot.YAxis2.TickLabelStyle(rotation: 90);

Its great that teh tick labels can be rotated, but unfortunately this leaves the title for YAxis2 (the new horizontal axis) upside down. Is there any means to rotate the axis titles?
My rotated implementation (left) compared with standard implementation (right):

Is there any means to rotate the axis titles?

Thanks for this question! Currently no, but it seems like an oversight. I created #1754 to address this deficiency and anticipate I can add this features in the next few days. I'll post updates on that issue page 👍


Add missing role="button" in .navbar's .dropdown-toggle

Fixes #26830

oops, just realised perhaps intent was not to merge due to closeness of new release...sorry if that was the case/if that creates issues now :(

Nah, this is good I believe; it's a trivial change, don't worry.

Why does Bootstrap use <a> instead of <button> for a button functionality?

mainly, for ease/consistency of styling. as it's then still exposed correctly thanks to the role="button", it's not a major issue.
of course, authors can use an actual <button>, e.g. something like
<button class="btn btn-link nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown link</button>

but currently the baseline for the text in the links and the text in the button don't always correctly line up.


Save image to local from FFImageLoading cache ?

As I would like to save images that were downloaded through FFImageLoading , is there any way can help?

Could you give more info? You can just subscribe to FileWriteFinished command / event.

Very thanks,  that should be what I want .  It's a simple question from a beginner.


Oops There was an error processing your request with ID: ...

find attached an very simple ifc including just one IfcSpace. This can somehow not be processed from the viewer. If the IfcSpace is changed to an IfcSlab by an editor it will be processed. Might be something is wrong on parsing IfcSpace or the file exported by FreeCAD has some misstakes?
cheers bernd
space.ifc.txt

yes, this is just a bit silly, we depend no the status code from IfcConvert and when it doesn't convert a single element successfully it will return a non-zero exit code and IfcSpace is excluded by default by the entity filter. Both should be fixed probably, I'll keep this issue open as a reminder. Thanks.

I must admit in most cases I do not want to import IfcSpaces. Thus ignoreing them is fine. But lately I have been done some projects in the regard of IfcSpace. As a result I get Ifcs which have IfcSpace and really need them. For these workflow and only for these workflow it would be cool to parse IfcSpace as well. Eventuale some preference in this regard would be great.


Intermittent test failures

We are seeing intermittent test failures caused by this code:
https://github.com/extendr/extendr/blob/42d168bee850bbc3fdb3b0737832fe0f3679451d/extendr-api/tests/extendr_macro.rs#L95-L108
A comment in the code already says "They may cause stack traces, but this is harmless" but I feel this is not satisfactory. Do we understand why they sometimes fail, and is it possible to prevent this failure? Clearly the catching of R errors isn't entirely reliable as things stand right now.

Is this related to the intermittent failures on the windows-latest w/ bindgen tests see recently, most recently on #264?
Build extendr-api for stable-i686-pc-windows-gnu
ci-cargo: D:\a\_temp\6a5b1ec2-2ed6-4663-a106-cd7ee4e48881.ps1:23
Line |
  23 |    ci-cargo +$toolchain build --manifest-path extendr-api/Cargo.toml - …
     |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | 'Build extendr-api for stable-i686-pc-windows-gnu': cargo failed with code 101 (args:
     | +stable-i686-pc-windows-gnu build --manifest-path extendr-api/Cargo.toml --features tests-all
     | --target=i686-pc-windows-gnu)

Error: Process completed with exit code 1.

No, the latest failure you pinpoint is different. I'm talking about this failure:
Error: Error: Expected Numeric, got String
  test tests_with_successful_outcomes ... ok
  thread 'tests_with_unsuccessful_outcomes' panicked at 'R has thrown an error.', extendr-api/src/thread_safety.rs:129:13

which you can see on Ubuntu here: https://github.com/extendr/extendr/runs/3345434167
I've also seen it happen on Windows (can't find an example right now), but it's not exclusive to Windows.

Note that these lines are always displayed no matter the test fails or not, so it's probably not the "failure" itself.

Ah, Ok. So this is the output when everything goes well:
running 3 tests
  test tests_with_successful_outcomes ... ok
  Error: Error: Expected Numeric, got String
  test test_call_macro ... ok
  thread 'tests_with_unsuccessful_outcomes' panicked at 'R has thrown an error.', extendr-api/src/thread_safety.rs:129:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  Error: Error: Expected Numeric, got Pairlist
  thread 'tests_with_unsuccessful_outcomes' panicked at 'R has thrown an error.', extendr-api/src/thread_safety.rs:129:13
  Error: Error: Expected Scalar, got List
  thread 'tests_with_unsuccessful_outcomes' panicked at 'R has thrown an error.', extendr-api/src/thread_safety.rs:129:13
  test tests_with_unsuccessful_outcomes ... ok

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

And this is the output when something goes wrong:
running 3 tests
  Error: Error: Expected Numeric, got String
  test tests_with_successful_outcomes ... ok
  thread 'tests_with_unsuccessful_outcomes' panicked at 'R has thrown an error.', extendr-api/src/thread_safety.rs:129:13
  test test_call_macro ... ok
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  Error: 'Testing for default target': cargo failed with code 1 (args: test  -- --nocapture)
  Error: Error: Expected Numeric, got Pairlist
Execution halted
error: test failed, to rerun pass '-p extendr-api --test extendr_macro'
ci-cargo: /home/runner/work/_temp/78c386a2-3468-4927-9a03-6ec7f75bd720.ps1:4
Line |
   4 |    ci-cargo test $(if($target -ne 'default') {"--target=$target"} ) '- …
     |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | 'Testing for default target': cargo failed with code 1 (args:
     | test  -- --nocapture)

Error: Process completed with exit code 1.

It still suggests a problem in the code block I highlighted. We should keep an eye out for whether it's always the example with pairlist or whether any of the three lines can trigger this type of problem.

This seems better now.
Am I safe to close this?

Yes, let's close. We can reopen if we see problems pop up again.


Renaming file and correcting a missing directory

@arun-gupta can you take a look and give an LGTM?
Resolves #22 and #21
Signed-off-by: Mano Marks<EMAIL_ADDRESS>

LGTM

Thanks @arun-gupta


Signal.trap("INT") raises error in Ruby 2.5.0-preview1

Hi there! I just added Ruby 2.5.0-preview1 to my Travis build matrix and started getting build errors when running bundle --version. The output of the error is this:
$ bundle --version
Traceback (most recent call last):
	3: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/ruby_executable_hooks:15:in `<main>'
	2: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/ruby_executable_hooks:15:in `eval'
	1: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/bundle:23:in `<main>'
/home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/bundle:23:in `load': /home/travis/.rvm/rubies/ruby-2.5.0-preview1/lib/ruby/gems/2.5.0/gems/bundler-1.15.4/exe/bundle:4: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' (SyntaxError)
exec "$bindir/ruby" -x "$0" "$@"
                       ^
/home/travis/.rvm/rubies/ruby-2.5.0-preview1/lib/ruby/gems/2.5.0/gems/bundler-1.15.4/exe/bundle:9: syntax error, unexpected keyword_do_block, expecting end-of-input
Signal.trap("INT") do
                   ^~
The command "bundle --version" failed and exited with 1 during .
Your build has been stopped.

I know Ruby 2.5.x is new and don't expect Bundler to support it yet, but figured it might be useful for you to know what errors are being raised. It seems to be raised regardless of other factors in the Travis environment.
I'm definitely interested in helping out with a PR on this issue, but whether I'll be able to will depend on how big a change needs to be made and how much time it takes to identify the problem.

Hi there! I'm having some trouble reproducing this. I'm able to run bundle -v, and bundle --version, and a standalone script that traps INT, all on Ruby 2.5.0 preview 1. Here's what it looks like:
$ ruby -v
ruby 2.5.0preview1 (2017-10-10 trunk 60153) [x86_64-darwin17]

$ bundle -v
Bundler version 1.16.0

$ bundle --version
Bundler version 1.16.0

$ cat signal.rb
Signal.trap("INT") do
  puts "interrupted"
  exit(1)
end
loop { sleep 1 }

$ ruby signal.rb
^Cinterrupted

I notice in your traceback that you are running bundler via the ruby_executable_hooks gem. Could you try uninstalling that gem and running bundler directly? Do you have any other suggestions about how we could reproduce this?

I got a same report on ruby core tracker: https://bugs.ruby-lang.org/issues/13997
It was same as RVM environment.

@hsbt thank you for the link, I believe this is the same issue. Did you find why bundle has #!/bin/sh, but rake does not? Is it a default gem difference?

rake is not a default gem. Can you try to rdoc command with executable_hooks ?

@indirect I'm looking into our Travis environment more. I'm not sure why we're using ruby_executable_hooks but I'll see if we can uninstall that. I will say that I also haven't managed to repro the issue in my local environment. I'll let you know what I find out. The output that @hsbt linked to is definitely identical to what we're seeing.

Also, I don't know if this is helpful, but here's the totality of the Travis output, so you can see what environment variables are being set and what versions of other things we're using.
Worker information
hostname: ip-172-31-6-68:4fdcd8c5-c2b5-48f0-8179-9bb7a8887563
version: v2.7.0 https://github.com/travis-ci/worker/tree/66fc24311e055643710f4e0567f6888c927d3ab8
instance: cb643ee:travis:ruby
startup: 766.902178ms
system_info
Build system information
Build language: ruby
Build group: stable
Build dist: precise
Build id: 755655
Job id: 755763
Build image provisioning date and time
Thu Feb  5 15:09:33 UTC 2015
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.5 LTS
Release:	12.04
Codename:	precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
sed: cannot rename /etc/hosts: Device or resource busy
Installing an SSH key from: default repository key
Key fingerprint: 9f:2a:2e:3f:b5:f8:57:1a:4f:c7:d2:a8:2a:89:45:64
git.checkout
2.97s$ git clone --depth=50 git@source.datanerd.us:ruby-agent/ruby_agent.git ruby-agent/ruby_agent
Cloning into 'ruby-agent/ruby_agent'...
Warning: Permanently added 'source.datanerd.us,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
remote: Counting objects: 4105, done.
remote: Compressing objects: 100% (1891/1891), done.
remote: Total 4105 (delta 2391), reused 3194 (delta 2127), pack-reused 0
Receiving objects: 100% (4105/4105), 1.21 MiB | 0 bytes/s, done.
Resolving deltas: 100% (2391/2391), done.
Checking connectivity... done.
$ cd ruby-agent/ruby_agent
0.83s$ git fetch origin +refs/pull/1618/merge:
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0
Unpacking objects: 100% (4/4), done.
From source.datanerd.us:ruby-agent/ruby_agent
 * branch            refs/pull/1618/merge -> FETCH_HEAD
$ git checkout -qf FETCH_HEAD
services
0.16s$ sudo service mysql start
start: Job is already running: mysql
0.06s$ sudo service redis-server start
redis-server start/running, process 704
0.02s$ sudo service memcached start
Starting memcached: memcached.
2.41s$ sudo service rabbitmq-server start
 * Starting message broker rabbitmq-server
Setting environment variables from .travis.yml
$ export BUNDLE_PATH=/home/travis/bundle
$ export MONGODB=2.6.11
$ export JAVA_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xmx640m"
$ export JRUBY_OPTS="-Xcompile.invokedynamic=false -J-Djruby.compile.mode=OFF"
$ export RBXOPT="-Xcompiler.no_rbc -Xint"
$ export SERIALIZE=1
$ export TESTOPTS="-v"
$ export TYPE=UNIT
$ export ENVIRONMENT=rails21
rvm
33.29s$ rvm use 2.5.0-preview1 --install --binary --fuzzy
ruby-2.5.0-preview1 is not installed - installing.
Searching for binary rubies, this might take some time.
Found remote file https://s3.amazonaws.com/travis-rubies/binaries/ubuntu/12.04/x86_64/ruby-2.5.0-preview1.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
ruby-2.5.0-preview1 - #configure
ruby-2.5.0-preview1 - #download
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16.1M  100 16.1M    0     0  4146k      0  0:00:03  0:00:03 --:--:-- 4305k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.5.0-preview1 - #validate archive
ruby-2.5.0-preview1 - #extract
ruby-2.5.0-preview1 - #validate binary
ruby-2.5.0-preview1 - #setup
ruby-2.5.0-preview1 - #gemset created /home/travis/.rvm/gems/ruby-2.5.0-preview1@global
ruby-2.5.0-preview1 - #importing gemset /home/travis/.rvm/gemsets/global.gems..........................................
ruby-2.5.0-preview1 - #generating global wrappers........
ruby-2.5.0-preview1 - #uninstalling gem rubygems-bundler-1.4.4.
ruby-2.5.0-preview1 - #gemset created /home/travis/.rvm/gems/ruby-2.5.0-preview1
ruby-2.5.0-preview1 - #importing gemset /home/travis/.rvm/gemsets/default.gems....................
ruby-2.5.0-preview1 - #generating default wrappers........
chown: changing ownership of `/home/travis/.rvm/user/installs': Operation not permitted
Using /home/travis/.rvm/gems/ruby-2.5.0-preview1
$ export BUNDLE_GEMFILE=$PWD/Gemfile
$ ruby --version
ruby 2.5.0preview1 (2017-10-10 trunk 60153) [x86_64-linux]
$ rvm --version
rvm 1.26.10 (latest-minor) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/]
$ bundle --version
Traceback (most recent call last):
	3: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/ruby_executable_hooks:15:in `<main>'
	2: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/ruby_executable_hooks:15:in `eval'
	1: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/bundle:23:in `<main>'
/home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/bundle:23:in `load': /home/travis/.rvm/rubies/ruby-2.5.0-preview1/lib/ruby/gems/2.5.0/gems/bundler-1.15.4/exe/bundle:4: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' (SyntaxError)
exec "$bindir/ruby" -x "$0" "$@"
                       ^
/home/travis/.rvm/rubies/ruby-2.5.0-preview1/lib/ruby/gems/2.5.0/gems/bundler-1.15.4/exe/bundle:9: syntax error, unexpected keyword_do_block, expecting end-of-input
Signal.trap("INT") do
                   ^~
$ gem --version
2.6.14
before_install.1
0.14s$ gem --version
2.6.14
before_install.2
0.00s$ ./test/script/before_install/gemstash_mirror.sh
if [ -n "$GEMSTASH_MIRROR" ]; then
  bundle config mirror.https://rubygems.org $GEMSTASH_MIRROR
fi
0.11s$ bundle --version
Traceback (most recent call last):
	3: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/ruby_executable_hooks:15:in `<main>'
	2: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/ruby_executable_hooks:15:in `eval'
	1: from /home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/bundle:23:in `<main>'
/home/travis/.rvm/gems/ruby-2.5.0-preview1/bin/bundle:23:in `load': /home/travis/.rvm/rubies/ruby-2.5.0-preview1/lib/ruby/gems/2.5.0/gems/bundler-1.15.4/exe/bundle:4: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' (SyntaxError)
exec "$bindir/ruby" -x "$0" "$@"
                       ^
/home/travis/.rvm/rubies/ruby-2.5.0-preview1/lib/ruby/gems/2.5.0/gems/bundler-1.15.4/exe/bundle:9: syntax error, unexpected keyword_do_block, expecting end-of-input
Signal.trap("INT") do
                   ^~
The command "bundle --version" failed and exited with 1 during .
Your build has been stopped.

Can anyone reproduce this without rvm and executable-hooks? I think it's problem of executable-hooks gem.

@danascheider I investigated this without executable-hooks. I found that this is an issue of 2.5.0-preview1, not a bundler.
see. https://bugs.ruby-lang.org/issues/13997#note-10
It will be fixed at 2.5.0-rc1 soon. Please wait a few weeks.

Thanks @hsbt, I appreciate your help!


HeaderReceived it can increase the Config struct in?

Current projects include the business logic and upload.
Because of the need to upload large files, I must modify the values in the config MaxRequestBodySize to 100M in atreugo.
But the MaxRequestBodySize of server struct is global set, I only wish MaxRequestBodySize can be modify in upload url.
HeaderReceived it can increase the Config struct in?
I can set this value of ReadTimeout WriteTimeout MaxRequestBodySize in accordance with url path.

Do you need to change ReadTimeout WriteTimeout MaxRequestBodySize values with a request?

Mainly the MaxRequestBodySize. The route has been support request timeout.

Three-part project, part api, part static, part of the upload.
I am more concerned about security, high MaxRequestBodySize, will api interfaces unnecessary risk, vulnerable to attack waf.
HeaderReceived is only modify the fasthttp.requestconfig, but need set in atreugo config.
HeaderReceived corresponds to the processing function before a route, so I finally got to mean anything worse.
Following a positive issues raised, if there is pre-router middleware unit the better, many global deal can be put in the middleware processing.
If the middleware do 200 responses, by returning to 0 for further processing, such processing may be more complete middleware

I've just add HeaderReceived to Config struct.
Thanks


KVS implementation for Android

Problem
Trying to standardise on one backend storage solution, looking to have a 'key value store' across all platforms.
Existing implementation of persistent store is already kvs-like except not using a binary interface.
Summary of Changes
Implement android KVS (a bit awkward because android has no underlying platform)

@saurabhst @msandstedt ?

Bummer, there's a conflict now - I'm sorry @andy31415  :(

@saurabhst @mspang ?


i cant find how to open/close the menu?

i cant find how to open/close the menu?

END key,

Now it's in readme
https://github.com/ByteCorum/DragonBurn/commit/56f88529466bfe4d37a9f1e2f1b85b8f5d0764fc


md5-mismatch for every download

Every time I try to load a system with this package, I'm running into an md5-mismatch error. When using the "retry evaluation" or "register local projects" restarts, the code runs fine.
Is there a mismatch between how quicklisp calculates md5 hashes and how we're calculating them in our own function?

Hmm,
we're using md5sum underneath. Can you run md5sum --version and paste it's output here. Can paste a full backtrace as well? Currently I cannot reproduce this. Thank you.

What is your result of (ql-dist:enabled-dists)? I realized the md5 checking function is using ql-dist:find-release which is looping over enabled-dists and returning the first match. Maybe it is possible that quicklisp tries to install from one dist, but the md5 it gets from another. Like rudolfochrist says full backtrace of error and what quicklisp commands you're running would help a lot to reproduce and debug this.

Installing md5sum in the command line resolved this issue, apparently mac systems don't have it by default. Aside from a README update I think we can close this ticket as non-actionable.

In https://github.com/rudolfochrist/ql-https/pull/10 I changed it to use sb-md5 to compute md5sum if we are on sbcl. And if not on sbcl it will still shell out to md5sum, but should signal a clear error that Couldn't execute "md5sum": No such file or directory rather than just getting md5-mismatch later.

From what I can tell internet searching it seems on mac osx it should work both openssl: openssl dgst -sha256 FILENAME or shasum -a 256 FILENAME, both of which work also a basic install of debian and arch linux at least.


TastytradeError('Subscription channel not opened') raised

Describe the bug
In the DXLink streamer subscribing to a symbol raises TastytradeError('Subscription channel not opened')
How to reproduce
async def get_quotes():
    streamer = await DXLinkStreamer.create(session)
    subs = ['GLD']
    await streamer.subscribe(EventType.QUOTE, subs)
    quotes = []
    async for quote in streamer.listen(EventType.QUOTE):
        print(quote)
        if len(quotes) >= len(subs):
            break

** Solved in PR #100

Can confirm this issue, I had the streamer working yesterday but I must have broken something. Please submit a PR from the master branch with a single commit.


Don't use spaces in label names

Replace spaces in label names with a '-'. Spaces in label names seem to cause issues with the Release Drafter Version Resolver.

I was wrong. Labels containing spaces in their names don't cause issues with Release Drafter's Version Resolver.


Freeform lasso shapes

Allows iD to draw freeform lasso shapes
(closes #2937)

@bhousel review please?

This is awesome!!  I made some minor changes and merged it..


Add new cli option for generating Canonicalized Swagger

The canonical model is a data model which is a superset of all the other versions.
By adding canonicalized-version option with true value, it will generate a canonicalized swagger file CanonicalizedVersion.openapi.json
tsp compile . --emit=@azure-tools/typespec-autorest --option=canonicalized-version=true

Can you explain more about the goals of this PR, the scenarios it supports/how the output gets used, etc.?

Can you explain more about the goals of this PR, the scenarios it supports/how the output gets used, etc.?

Below is a general description about our design of Multi-Versioning in Azure Process (Canonical Version)

The canonical model is a data model which is a superset of all the other versions. The canonical model is the format that internal ARM platform components will communicate under (see design for more details). By default, typespec operates under a semi-canonical model. For all api versions typespec operates with one file. Because of this several constraints are automatically applied when authoring in typespec that make it more suitable for developing the canonical model. The idea behind this is that each one of these typespec files represents a fixed Set of Api Version. The model can then be iteratively updated to add or remove Additional Api Versions as long as the new version the model supports following a set of constraints. When these constraints are followed and assuming additional fields are pruned, every version of the canonical model is backwards compatible with any payload created to a previous version and vice versa.

For each RP, it can define only one multi-version schema per resource type. And it can further add new version in multi-version schema or deprecate version from multi-version schema.

This is an initial PR to generate a canonicalized swagger file, which is the superset of all the schemas of all versions. There are constraints like how to deal with @renamedFrom, which are our next step.

Can you explain more about the goals of this PR, the scenarios it supports/how the output gets used, etc.?

Below is a general description about our design of Multi-Versioning in Azure Process (Canonical Version)

The canonical model is a data model which is a superset of all the other versions. The canonical model is the format that internal ARM platform components will communicate under (see design for more details). By default, typespec operates under a semi-canonical model. For all api versions typespec operates with one file. Because of this several constraints are automatically applied when authoring in typespec that make it more suitable for developing the canonical model. The idea behind this is that each one of these typespec files represents a fixed Set of Api Version. The model can then be iteratively updated to add or remove Additional Api Versions as long as the new version the model supports following a set of constraints. When these constraints are followed and assuming additional fields are pruned, every version of the canonical model is backwards compatible with any payload created to a previous version and vice versa.

For each RP, it can define only one multi-version schema per resource type. And it can further add new version in multi-version schema or deprecate version from multi-version schema.

This is an initial PR to generate a canonicalized swagger file, which is the superset of all the schemas of all versions. There are constraints like how to deal with @renamedFrom, which are our next step.

@dinwa-ms I guess the question is more why do we need this in the openapi emitter? This doesn't really make sense as the service will never accept such payload.
Also from the description it seems like you are looking at the autorest(swagger 2.0) emitter and you changed the openapi3 emitter here. Autorest emitter can be found here https://github.com/Azure/typespec-azure/tree/main/packages/typespec-autorest

Can you explain more about the goals of this PR, the scenarios it supports/how the output gets used, etc.?

Below is a general description about our design of Multi-Versioning in Azure Process (Canonical Version)

The canonical model is a data model which is a superset of all the other versions. The canonical model is the format that internal ARM platform components will communicate under (see design for more details). By default, typespec operates under a semi-canonical model. For all api versions typespec operates with one file. Because of this several constraints are automatically applied when authoring in typespec that make it more suitable for developing the canonical model. The idea behind this is that each one of these typespec files represents a fixed Set of Api Version. The model can then be iteratively updated to add or remove Additional Api Versions as long as the new version the model supports following a set of constraints. When these constraints are followed and assuming additional fields are pruned, every version of the canonical model is backwards compatible with any payload created to a previous version and vice versa.

For each RP, it can define only one multi-version schema per resource type. And it can further add new version in multi-version schema or deprecate version from multi-version schema.

This is an initial PR to generate a canonicalized swagger file, which is the superset of all the schemas of all versions. There are constraints like how to deal with @renamedFrom, which are our next step.

@dinwa-ms I guess the question is more why do we need this in the openapi emitter? This doesn't really make sense as the service will never accept such payload. Also from the description it seems like you are looking at the autorest(swagger 2.0) emitter and you changed the openapi3 emitter here. Autorest emitter can be found here https://github.com/Azure/typespec-azure/tree/main/packages/typespec-autorest

You are correct. Sorry for this mistake. Will revert changes in openapi

Regardless of this being needed in autorest or not, you shouldn't need to change the versioning library and not resort to miscOptions. To run the versioning projection is an opt-in behavior from the emitter there shouldn't be a global option controlling that.

Got that. Will looking into the emitter on this. Thanks

@dinwa-ms though even for the autorest emitter I don't think we still understand why this is needed, how is this going to be used? It will produce an invalid spec of the service.

@dinwa-ms though even for the autorest emitter I don't think we still understand why this is needed, how is this going to be used? It will produce an invalid spec of the service.

We found issues that there are components in the ARM ecosystem work in a publisher/consumer pattern. The consumer is tied to specific version, but the publisher decides to change it and the updated swagger is incompatible to the consumer. So, we want to have a multi-version schema and the services be able to convert to and from it. Please let me know if this makes sense to you. Also there is the design doc with more details. Thanks


Possible instruments

https://dcf.psychiatry.ufl.edu/files/2011/05/HAMILTON-DEPRESSION.pdf
https://cgatoolkit.ca/Uploads/ContentDocuments/MMSE.pdf
SAPS
SANS
https://www.cambridge.org/core/journals/the-british-journal-of-psychiatry/article/abs/new-depression-scale-designed-to-be-sensitive-to-change/94D3798EAE4FD0EF2FC50FF671E9AE5D#

ASSIST - The Alcohol, Smoking and Substance Involvement Screening Test
AUDIT-C - alcohol consumption questions
OASIS - Overall anxiety severity and impairment scale
WHODAS 2.0 - WHO Disability Assessment Schedule
WSAS - Work and Social Adjustment Scale
SOFAS - Social and Occupational Functioning Assessment Scale
QIDS-SR - Quick Inventory of Depressive Symptomatology - self-report
K10+ - Kessler Psychological Distress Scale
EDE - Modelled on the Eating Disorder Examination
ASRM - Altman Self-Rating Mania Scale
IPAQ - International physical activity questionnaire
PC-PTSD-5 - Primary Care PTSD Screen for DSM-5 or SCID-5 PTSD
PQ-16 - Prodromal Questionnaire
B-NSSI-AT - Brief Non-suicidal Self-Injury Assessment Tool
PSQI - Sleep timing items are based on the Pittsburgh Sleep Quality Index
MCTQ - Munich ChronoType Questionnaire


Fix/use contains ignoring whitespace matcher

Description
Replace some problematic expectations with custom matcher intoduced in #54756
Must be landed after #54756
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

Hey @kwkr are you still interested in working on this? Could you update to tip of tree?

Yes. I will update it.


Add comments about auto-generated header files

This should help avoid confusion. Fixes #538

Codecov Report

Merging #539 (1a67795) into master (e7f9962) will decrease coverage by 3.31%.
The diff coverage is 26.60%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
- Coverage   35.78%   32.48%   -3.31%
==========================================
  Files         189        7     -182
  Lines       17570      665   -16905
  Branches    11592      357   -11235
==========================================
- Hits         6287      216    -6071
+ Misses        994      157     -837
+ Partials    10289      292    -9997

Flag
Coverage Δ

unittests
32.48% <26.60%> (-3.31%)
:arrow_down:

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


[SPARK-8770][SQL] Create BinaryOperator abstract class.

Our current BinaryExpression abstract class is not for generic binary expressions, i.e. it requires left/right children to have the same type. However, due to its name, contributors build new binary expressions that don't have that assumption (e.g. Sha) and still extend BinaryExpression.
This patch creates a new BinaryOperator abstract class, and update the analyzer o only apply type casting rule there. This patch also adds the notion of "prettyName" to expressions, which defines the user-facing name for the expression.

Merged build triggered.

Merged build started.

Test build #36326 has started for   PR 7174 at commit f31900d.

Test build #36326 has finished for   PR 7174 at commit f31900d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait ExpectsInputTypes
trait AutoCastInputTypes
abstract class BinaryExpression extends Expression with trees.BinaryNode[Expression]
abstract class BinaryOperator extends BinaryExpression
abstract class BinaryArithmetic extends BinaryOperator
abstract class BinaryComparison extends BinaryOperator with Predicate

Merged build finished. Test PASSed.


Super slow downloads & other problems

Checklist

[ x] I'm reporting a broken site support
[ ] I've verified that I'm running youtube-dl version 2021.06.06
[ x] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

C:\Users\MR\Downloads\youtube dl 2>youtube-dl --update
ERROR: can't find the current version. Please try again later.
C:\Users\MR\Downloads\youtube dl 2>youtube-dl --verbose --update
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--update']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.04.26
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg git-2020-08-31-4a11a6f, ffprobe git-2020-08-31-4a11a6f
[debug] Proxy map: {}
Traceback (most recent call last):
File "C:\Python\Python34\lib\urllib\request.py", line 1183, in do_open
File "C:\Python\Python34\lib\http\client.py", line 1137, in request
File "C:\Python\Python34\lib\http\client.py", line 1182, in _send_request
File "C:\Python\Python34\lib\http\client.py", line 1133, in endheaders
File "C:\Python\Python34\lib\http\client.py", line 963, in _send_output
File "C:\Python\Python34\lib\http\client.py", line 898, in send
File "C:\Python\Python34\lib\http\client.py", line 1287, in connect
File "C:\Python\Python34\lib\ssl.py", line 362, in wrap_socket
File "C:\Python\Python34\lib\ssl.py", line 580, in init
File "C:\Python\Python34\lib\ssl.py", line 807, in do_handshake
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\update.py", line 46, in update_self
File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\utils.py", line 2737, in https_open
File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open
urllib.error.URLError: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>
ERROR: can't find the current version. Please try again later.
C:\Users\MR\Downloads\youtube dl 2>
Description

WRITE DESCRIPTION HERE
I can not update and i have other problems as well but can't even see if updating might fix them.

This issue has been posted many times. Please do not post duplicate issues.

I've the same issue, and I'd checked all closed 'slow download' issues

Personally, I use the following two ways to mitigate the situation (have still not found the solution)
(1) [Manually] observe the speed and re-download when needed, [Auto] run the python script to detect the speed and re-download.
(2) Use the flag --http-chunk-size 10M (see here), the size would vary and could combine with python script to randomly choose a number from 1M to 10M.

Personally, I use the following two ways to mitigate the situation (have still not found the solution)
(1) [Manually] observe the speed and re-download when needed, [Auto] run the python script to detect the speed and re-download.
(2) Use the flag --http-chunk-size 10M (see here), the size would vary and could combine with python script to randomly choose a number from 1M to 10M.

doesn't work

Personally, I use the following two ways to mitigate the situation (have still not found the solution) (1) [Manually] observe the speed and re-download when needed, [Auto] run the python script to detect the speed and re-download. (2) Use the flag --http-chunk-size 10M (see here), the size would vary and could combine with python script to randomly choose a number from 1M to 10M.

Sir. Many people who open issues here are not terminal  friendly & tech savvy as you. If there's a way to fix this, devs could already done it. If not, why don't they just update the documentation manual & put a note that the download speeds are currently slow, & wait for the fixes ?

put a note that the download speeds are currently slow, & wait for the fixes ?

That much should be clear from the original issue that OP @TENTHARSOS should have found by searching open issues about Youtube.
However OP and possibly @uunnxx have the additional problem that the built-in update function isn't working. The relevant URLs are all working but it's possible that a certificate issue is blocking the connection.
Not that it would fix the main problem in the issue title, but the latest version can be obtained at http://ytdl-org.github.io/youtube- dl/download.html (OP should use the link 'Windows exe'). OP should try that and report back whether it works.

youtube-dl is abandoned. Use yt-dlp instead: https://github.com/yt-dlp/yt-dlp

@TENTHARSOS look at this one:
This yt-dlp fork works just fine.

Is youtube-dl dead now? The fork's where it's at now?

Is youtube-dl dead now? The fork's where it's at?

Of course, not dead. You can 'for now' just replace it with yt-dlp fork.
As says fork's about page:

A youtube-dl fork with additional features and fixes
The main focus of this project is adding new features and patches while also keeping up to date with the original project.

Of course, not dead. You can 'for now' just replace it with yt-dlp fork.

Try combining aria2 with youtube-dl:
alias ytdl-fast="youtube-dl -f best --external-downloader aria2c --external-downloader-args \"-j 16 -s 16 -x 16 -k 1M\" $1"

You can try my hella fast version
All credit to @dirkf for his PR which I implemented. I have no problems with licensing.


Request: Implement official plugin for Atom editor

There are some typescript pugins for Atom out there. Offical and fast plugin would be awesome.

What's wrong with atom-typescript? @basarat seems to be doing great things with it from what I see.

It increases Atom's opening time

That qualm doesn't warrant a dedication of resources to compete with an otherwise good project. Instead of duplicating effort, it would be better to contribute to atom-typescript.


Start with a different sprite

For the trademark of Scratch and to simplify the code, the program must start with a different sprite

We need a more realistic costume for the organism


Test that translations of strings that contain Open Food Facts also contain Open Food Facts

Test that translations of strings that contain Open Food Facts also contain Open Food Facts

Same for Open Beauty Facts, Open Pet Food Facts, Open Products Facts


Add custom realm URL response header

This is to assist describing the realm URL for files loaded from realm using the application/vnd.card+source accept header

The arguments signature of createResponse seems kind of haphazard to me, but this looks good otherwise.

createResponse had the same signature as Fetch API's Response class

The arguments signature of createResponse seems kind of haphazard to me, but this looks good otherwise.

The challenge is is that we use this for steaming responses too, which is why I made it null or a strong.

The arguments signature of createResponse seems kind of haphazard to me, but this looks good otherwise.

createResponse had the same signature as Fetch API's Response class

we could modify all the call sites to include the custom header instead, but my fear is that if we added a new response we might forget to set the custom header.


Mark Thread As Read

I'm wondering if you had a particular UI in mind for this, since I can't really think of a good one; adding yet another button to the post toolbar doesn't seem like the right place. How often would it even get used, anyway?


Section 3 Test

should be updated to reflect the new tanzu cli

Hi @christschn81 thanks for reporting this issue! I am going to close this ticket as I am creating a new project to track overall updates for 1.3 and tanzu CLI. Thanks!


Enable saving of deformations

Request from Localizoom users (Nesys). Possibility to save the changes and be able to display output in the filmstrip viewer.

Issue closed without implementation. Storage of Nonlin marker points is done in a JSON file situated next to the viewer


Feature req: traffic obfuscation

Can we possibly have a built-in obfuscator so that traffic patterns could be reshaped before transmitted?

All packets are encrypted with AES if you turn on encryption, so I would say the payload itself should have no special "pattern". Theoretically, it's possible to detect Dragonite by the traffic patterns. But it should be hard, and we simply can't create any counter-measure before any effective measure comes out first 😆
Our SDK has a PacketCryptor (https://github.com/dragonite-network/dragonite-java/blob/master/dragonite-sdk/src/main/java/com/vecsight/dragonite/sdk/cryptor/PacketCryptor.java) interface which makes implementing traffic encryptions & obfuscations a relatively simple task. If your network has special requirements for Dragonite to work properly, consider implementing your own PacketCryptor.


Resolve module relative to Vim pwd

I have a project that looks like the following
monolith_rooth
-->common
  --> file.ts
-->project
    --> src
       --> common -symlink> ../../common

When I open :e src/common/file.ts Vim resolves it to ~/mypaths/monolith_root/common/file.ts
It seems that Vim will always resolve symbolic links and I'm assuming module lookup is done relative to the filepath. Would be possible to lookup the module via the current working directory (:pwd) via config?

No, it have to work on real file path, project folder is not parent folder of your file.


Hot Exit doesn't work when closing a workspace with unsaved files

Issue Type: Bug
Hot exit prevents me from closing a workspace with unsaved files in it. I want to switch projects for an hour, and I don't want to be forced to dispose of every unsaved file buffer in my current workspace to do so.
Hot Exit does allow me to quit VS Code completely without disposing of unsaved buffers, but if I want to close a workspace without quitting the app, it forces me to dispose of unsaved buffers.


Make changes corresponding to retriever

We can wait till we merge retriever-recipes into master and use the master url

Thanks @harshitbansal05 for the addition. 👍


[fix, typo] Fix comment typo in YLMoment+Helper.h.

Current coverage is 99.63% (diff: 100%)

Merging #29 into master will not change coverage

@@             master        #29   diff @@
==========================================
  Files            26         26
  Lines          2479       2479
  Methods         873        873
  Messages          0          0
  Branches         21         21
==========================================
  Hits           2470       2470
  Misses            9          9
  Partials          0          0

Powered by Codecov. Last update c226cdf...856eab3

Thank you for your contribution!


Docker warnings about orphan containers

Trying out cage for the first time, and I'm getting warnings similar to this every time I do cage up:

WARNING: Found orphan containers (publicsearch_redis_1, publicsearch_pg_1, publicsearch_configuration_1, publicsearch_rabbitmq_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.

I've removed all containers from my system and run docker system prune, yet the warnings persist: I get a warning about the containers for each pod that just booted. Cage still seems to work fine despite them, but they sure are annoying. Can something be done about it?
https://asciinema.org/a/3JUPMYfXQ2juMcFyLpOsN2qOq

Looking into this a little further, it seems these are being outputted because the internal docker-compose command for anything cage-related doesn't specify different project names for the pods.
If cage added a -p flag that was pod-specific, I think these would go away. Would also make it so that the automatic generated names for the containers were scoped to both the cage project folder and the pod, eg.
- publicsearch_rabbitmq_1
+ publicsearch_messaging_rabbitmq_1

... where the service rabbitmq was defined in a cage project in pods/messaging.yml.
Otherwise the project names always match, so you'll get warnings for any containers you're not currently executing commands against—at least that's been my experience so far.


Adding Wrapper to Python Tools

Updating Autograd, Jax, MyGrad, and TensorFlow with the wrapper function originally written for PyTorch. This wrapper is a decorator that has similar functionality to those for SciLean and DiffSharp.
Autograd inputs and outputs do not really require adjustment. Currently I have a lambda function multiplying by 1.0 to ensure floats. This is not strictly necessary.
Tapenade is written in a combination of Python and C but inputs don't need to be changed. Inputs are simply converted to strings (and multiplied by 1.0 to ensure they are floats) when sent to C files and converted back to floats to be returned in JSON. A wrapper could be implemented here but it is not needed.
Similarly Zygote appears to not need a wrapper.

@samestep This could be ready to merge but I want your opinion on using the wrapper for Autograd. I think we should keep it just to ensure all inputs are floats but it isn't super necessary. Also let me know what you think about a wrapper for Tapenade. I think we wouldn't really need one but it's up to you. I would probably put it in gradbench.py just to multiply vals by 1.0 and convert to a string.


error converting YAML to JSON: yaml: line 11

Describe the bug

➜  ~ helm -n vela-system ls
NAME    	NAMESPACE  	REVISION	UPDATED                             	STATUS  	CHART          	APP VERSION
kubevela	vela-system	2       	2021-06-22 13:34:50.821828 +0800 CST	deployed	vela-core-1.0.6	1.0.6

kubectl vela comp --discover
Showing components from registry: oss://registry.kubevela.net
Get for-loop.yaml err: error converting YAML to JSON: yaml: line 11: did not find expected comment or line break
NAME     	REGISTRY	DEFINITION
webserver	default 	deployments.apps

ref to #1823 when migrating official registry, there are some mistakes. Now it's been fixed


Opinionated OpenID Connect

At some point in the near future, examine OpenID Connect and more modern ways to connect AWS to GitHub and/or CirlceCI.

https://github.com/aws-actions/configure-aws-credentials
https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/.github/workflows/reusable_deploy_v2_sar.yml
https://circleci.com/docs/openid-connect-tokens/
https://discuss.circleci.com/t/walk-through-oidc-to-aws/44226
https://circleci.com/blog/openid-connect-identity-tokens/
https://circleci.com/developer/orbs/orb/circleci/aws-cli#commands-setup

https://circleci.com/docs/openid-connect-tokens/

Got something working here for CircleCI and will also finish it up for GitHub Actions and write a post and some docs. https://github.com/rails-lambda/websocket-demo

Working GitHub: https://github.com/rails-lambda/lamby_benchmark/commit/f3f5274059d1627a514776f81ec3f5dd50c00974
Working CircleCI: https://github.com/rails-lambda/websocket-demo/blob/main/.circleci/config.yml


Flag "publicNetworkAccess" of Microsoft.Storage/storageAccounts is being ignored

The Microsoft.Storage storageAccounts page mentions the publicNetworkAccess configuration property to restrict the network access of the created StorageAccount. I detected that even if I set it to "Disabled", the flag gets ignored as the created StorageAccount keeps having public network access:

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

Hi @jsubirat If you set the publicNetworkAccess property to Disabled, the storage account will only be accessible through private endpoints. If you are still able to access the storage account publicly, it is possible that there is a misconfiguration in your network settings. You can check if the storage account firewall settings are configured correctly to restrict network access to one or more virtual networks. You can also check if the virtual network is configured correctly to route traffic through the private endpoint. If you are still having issues, you can try creating a new storage account with the publicNetworkAccess property set to Disabled and see if the issue persist.
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@jsubirat
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.q

@tfitzmac
Can you please check and add your comments on this doc update request as applicable.

These docs are generated from Azure REST API specifications. Can you create an issue at https://github.com/Azure/azure-rest-api-specs


Add Tests

As soon the implementations have settled:

an E2E style test by simply comparing snapshot of the output html
unit tests for the few costume functions instrumenting static.config.js variations

Since react-static is very thin, building on well tested libraries such as React 16 and React-Router, the effort is probably minimal.

As I'm working on the hotfix for #124 I could get some test units in for that hotfix..
Only question would be is what test framework? Mocha, Ava, etc?
Let me know I can implement it alongside the hotfix.

Per my conversation with @tannerlinsley, conclusion is to integrate Jest.
Tanner also recommended Kent C. Dodds style Integration Tests over E2E or unit tests, hence Integration tests will be implemented.

Locally I've already implemented Mocha, Karma, Chai with Istanbul instrumentation and code coverage reporting for unit tests. Along with webdriver.io for functional tests. Just mentioning because organizations may already have set frameworks designated.

@poorpaddy Sounds great! Open up a PR with tests?

@EmilTholin I'll see if I have time this holiday weekend. At minimum I can do a PR for the implementation with an example or two. I'm afraid the code coverage on my current project is embarrassing.
Coverage for statements (50%)
Coverage for lines (48.99%)
Coverage for branches (31.48%)
Coverage for functions (42.5%)

I'm having an issue with jest not able to read JSX.  What should my .babelrc look like since it extends react-static/.babelrc?  I'm not sure that jest can find React-Static .babelrc in node_modules


Usage with url-loader

Hi everyone,
firstly, thank you for a great loader! Works very well, although I'd like to use vue-svg-loader with url-loader. vue-svg-loader for Vue components and url-loader for css files. Before to use vue-svg-loader I had the following rule:
        {
          test: /\.(svg|svgz)(\?.+)?$/,
          use: [
            {
              loader: 'url-loader',
              options: {
                limit: 10000,
                name: 'svg/[name].[ext]'
              }
            },
            {
              loader: 'vue-svg-loader', // `vue-svg` for webpack 1.x
              options: {
                // optional [svgo](https://github.com/svg/svgo) options
                svgo: {
                  plugins: [
                    {removeDoctype: true},
                    {removeComments: true}
                  ]
                }
              }
            },
          ]
        },

However they don't seem to work together with vue-svg-loader.

Hello, thank you for the kind words! If you want to use those two loaders, each one in a different scenario, you need to slightly modify your config:

Change use into oneOf.
Add resourceQuery: /inline/ to the object that contains the vue-svg-loader config.

webpack needs to know explicitly when to use a particular loader, to do this you need to use the resourceQuery, this way you can differentiate what loader should be used:
// url-loader
.test {
  background-image: url("./assets/icon.svg");
}

// vue-svg-loader (note the "?inline" query string)
import IconComponent from './assets/icon2.svg?inline';

Your configuration with the changes:
{
  test: /\.(svg|svgz)(\?.+)?$/,
  oneOf: [
    {
      loader: 'url-loader',
      options: {
        limit: 10000,
        name: 'svg/[name].[ext]',
      },
    },
    {
      loader: 'vue-svg-loader', // `vue-svg` for webpack 1.x
      options: {
        // optional [svgo](https://github.com/svg/svgo) options
        svgo: {
          plugins: [
            { removeDoctype: true },
            { removeComments: true },
          ],
        },
      },
    },
  ],
},

@visualfanatic

Add resourceQuery: /inline/ to the object that contains the vue-svg-loader config.

What do you mean by this ?

I meant modifying this object:
{
  loader: 'vue-svg-loader',
  options: {
    svgo: {
      plugins: [
        { removeDoctype: true },
        { removeComments: true },
      ],
    },
  },
},

... so that it would contain the resourceQuery property:
{
  loader: 'vue-svg-loader',
  resourceQuery: /inline/,
  options: {
    svgo: {
      plugins: [
        { removeDoctype: true },
        { removeComments: true },
      ],
    },
  },
},

@Vlaoff could you tell me if you still have described issue?

@visualfanatic no, you helped me solve it, thank you 😄

@Vlaoff No problem at all! 👍


settings: Add a USE_ERROR_FILES setting.

We got feedback that some admins redirect their consoles to
container logging mechanisms, so files are unnecessary for them.

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

I think it only makes sense to consider a setting to control the file part here.  The errors_file part is a totally separate, small, file that contains only errors, and I think have that file as a standard in Zulip is important for being able to debug other people's systems.
Given that context, I think we'd at most want server.log to be controlled by this setting, right?

I don't really know what the best approach is here.  This PR was just the most obvious way to address the concern of one our users.

ping @timabbott on this...I think on chat you said there was still a problem here, and you'd deal with it.

Heads up @showell, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the upstream/master branch and resolve your pull request's merge conflicts accordingly.


SetWindowLongPtr is still missing

Which crate is this about?
windows, windows-sys
Crate version
0.37.0 windows / 0.36.1 windows-sys
Summary
(https://github.com/microsoft/windows-rs/issues/644) was supposed to fix this problem, but it appears to still be missing.

I see SetWindowLongPtrA and SetWindowLongPtrW. They require the Win32_UI_WindowsAndMessaging and Win32_Foundation features. Do you have both features enabled?

I have both features enables, it is 100% missing, I have to use SetWindowLongA/SetWindowLongW instead, but this is not the solution.

And to be sure, you just have to search from the windows-rs git repo, 0 references found.

Not sure what's going on with GitHub's search, I can see it here:
https://github.com/microsoft/windows-rs/blob/f30c1434e83af7b49abef1657e863f365ce3ce22/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs#L13698-L13729
Additionally, the clock sample and minesweeper-rs both use the Set/GetWindowLongPtr variants. Are you targeting a 64-bit architecture?

No, I am targeting i686-pc-windows-msvc

Not sure what's going on with GitHub's search, I can see it here:
https://github.com/microsoft/windows-rs/blob/f30c1434e83af7b49abef1657e863f365ce3ce22/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs#L13698-L13729
Additionally, the clock sample and minesweeper-rs both use the Set/GetWindowLongPtr variants. Are you targeting a 64-bit architecture?

No, I am targeting i686-pc-windows-msvc

SetWindowLongPtr is not available on 32-bit architectures:
(from winuser.h)
#ifdef _WIN64
// ...
WINUSERAPI
LONG_PTR
WINAPI
SetWindowLongPtrW(
    _In_ HWND hWnd,
    _In_ int nIndex,
    _In_ LONG_PTR dwNewLong);
// ...
#else  /* _WIN64 */
// ...
#define GetWindowLongPtrW   GetWindowLongW
// ...
#endif /* _WIN64 */

SetWindowLongPtr is not available on 32-bit architectures:
(from winuser.h)
#ifdef _WIN64
// ...
WINUSERAPI
LONG_PTR
WINAPI
SetWindowLongPtrW(
    _In_ HWND hWnd,
    _In_ int nIndex,
    _In_ LONG_PTR dwNewLong);
// ...
#else  /* _WIN64 */
// ...
#define SetWindowLongPtrW   SetWindowLongW
// ...
#endif /* _WIN64 */

Thank you very much for the assistance, indeed this is my bad.
I was looking at SetWindowLongPtrW function (winuser.h):

Note  To write code that is compatible with both 32-bit and 64-bit versions of Windows, use SetWindowLongPtr. When compiling for 32-bit Windows, SetWindowLongPtr is defined as a call to the SetWindowLong function.

Looks like this is resolved, closing. If I missed something, let me know.

Related to #1493


Dynamic Configuration and Dynamic Configuration Service

Dynamic Configuration
SkyWalking Configurations mostly are set through application.yml and OS system environment variables.
But some of them are supporting dynamic settings from upstream management system.
Right now, SkyWalking supports following dynamic configurations.

Config Key
Value Description
Value Format Example

receiver-trace.default.slowDBAccessThreshold
Thresholds of slow Database statement, override receiver-trace/default/slowDBAccessThreshold of applciation.yml.
default:200,mongodb:50

This feature depends on upstream service, so it is OFF as default.
configuration:
  none:

Dynamic Configuration Service, DCS
Dynamic Configuration Service
is a gRPC service, which requires the upstream system implemented.
The SkyWalking OAP fetches the configuration from the implementation(any system), after you open this implementation like this.
configuration:
 grpc:
   # Upstream system hostname
   host: <IP_ADDRESS>
   # Upstream system port
   port: 9555
   #period : 60 # Unit seconds, sync period. Default fetch every 60 seconds.
   #clusterName: "default" # the name of current cluster, set the name if you want to upstream system known.

3rd party Configuration Center
We are welcome contributions to implement this module provider to support popular configuration center,
such as Zookeeper, etcd, Consul, Nacos. Submit issue to discuss.

Coverage increased (+0.1%) to 17.015% when pulling 89c2283a90d3d4051fe77a5b81c5aace992886a4 on config-API into 8716bb0dc56780093ff3832e2d692f4bae8982bb on master.

Coverage increased (+0.1%) to 17.015% when pulling 89c2283a90d3d4051fe77a5b81c5aace992886a4 on config-API into 8716bb0dc56780093ff3832e2d692f4bae8982bb on master.

Config Key is: receiver-trace.default.slowDBAccessThreshold
Description is: This feature depends on upstream service, so it is OFF as default.

@wu-sheng This key is used for the OAP server, but you said, it depends on upstream service. I have a confusion about what you said. What the upstream service is? Refers to the Dynamic Configuration Service section or other?

Second question:
Config key is receiver-trace.default.slowDBAccessThreshold. This key is only used for OAP server. How to config the items of the agent side? How to seperate the key name from server side and agent side? @wu-sheng

it depends on upstream service

Because the upstream service(DCS server side) must be online, so this feature is totally optional, and I set it OFF.

Config key is receiver-trace.default.slowDBAccessThreshold. This key is only used for OAP server. How to config the items of the agent side? How to seperate the key name from server side and agent side?

This feature is not related to the agent side. If the receiver wants to push downstream, then they could create new keys, such as register-receiver.default.agent.downstream.xxxx if you like. But basically, this feature is designed for OAP server mostly.


Timeline objects without timeline variables may not work properly?

See #931

I don't think this is an issue. See updated comments in #931.