HELP - Calling Stored Procedures only return bool(false)

@smadeira @codeflaretech
I am calling a stored procedure that doesn't need any parameters  like so...
<?php

require_once __DIR__ . '/vendor/autoload.php';

use MinistryPlatformAPI\MinistryPlatformProcAPI as PROC;

// Get environment variables
$dotenv = Dotenv\Dotenv::create(__DIR__);
$dotenv->load();

// Attempt to authenticate to the MP API

$mp = new PROC();
$mp->authenticate();

$events = $mp->proc('api_PCPC_EventsWeb')
             ->exec();

var_dump($events);

and it returns a bool(false)
When I try it with a required parameter of @DomainID, I get the same result.
<?php

require_once __DIR__ . '/vendor/autoload.php';

use MinistryPlatformAPI\MinistryPlatformProcAPI as PROC;

// Get environment variables
$dotenv = Dotenv\Dotenv::create(__DIR__);
$dotenv->load();

// Attempt to authenticate to the MP API

$mp = new PROC();
$mp->authenticate();

$input = ['@DomainID' => 1];
$events = $mp->proc('api_PCPC_CurrentEventsWithImages')
             ->procInput($input)
             ->exec();

var_dump($events);

When I execute these stored procedures from the SQL Server Studio, they run with no problem.
Any thoughts of what could be causing this? Could it be permissions issues? If so, what security roles do I need in MP to run stored procedures from the PHP API Wrapper?

It was a permissions issue. After digging around, I ran across Faith Chapel's MP Rest API documentation which explained it perfectly and helped me remedy the issue.
https://github.com/faithchapel/mp-rest-documentation#stored-procedure-access
Stored Procedure Access
To use a stored procedure two things need to happen. First, there needs to be a record referencing the stored procedure in the System Setup/API Procedures page. Secondly, the user needs a security role applied to it with the API Procedure linked to the security role. This is done through the API Procedures sub page on the Security Roles page.

Just a thought...
You might want to add this NOTE to the README for Stored Procedures.


Scaling down multiple

https://github.com/rancher/rancher/issues/7978
I had come across a bug which would delete same host if in bad state twice. That bug was fixed by this PR https://github.com/rancher/webhook-service/pull/40. But I hadn't checked after this fix was in whether normal deletion was working.
The index for hostScalingGroup array was not getting incremented correctly, this PR fixes that.

LGTM


[Popup] Include margin when calculating positions

The popup is incorrectly placed when using these setttings:

Position is "bottom right"
The target element has a margin (body in jsfiddle example bellow)

The margin of the parent element is not included when calculating the widhts and heights.
http://jsfiddle.net/8jk6ou0g/1/

Also.
I have a navigation bar with caret icon on top right position of the page. I am trying to show a popup to show few navigation links on it. Surprisingly if I resize the window and it starts scrolling the popup moves irrespective of the position it was suppose to be and moves away from the button. What I mean is if my page starts to scroll the popup does not remain fixed once scrollbars comes up and continues to move with the window. Which does not look right.
Please check on that if you can. Thanks!

Hi, this issue is particular with having a margin on body. I have not been able to reproduce this with any other layout.
In most cases I would say, go with the fix, but adding a body to margin is fairly abnormal since in almost every case body includes the background for the page and would use padding.
I'm going to decline the fix, but thanks for taking the time to put the PR together.


Write a C program to find perimeter of a square

Description
Write a C program to find perimeter of a square
Perimeter of square = 4 × Side
Side : 2

Perimeter : 8

How to contribute

Save the solution in program/FindPerimeterOfASquare.c file
Add FindPerimeterOfASquare.c file in find-perimeter-of-a-square folder

!assign

!assign

Hey @VasireddyGanesh, this issue is already assigned to @iambijayd !!!
Please choose another issue.
Thanks for your interest in contributing to this project.


[2020-06-01-preview] Update certificate add refreshSecret operation

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@KacieKK You are adding operation to existing version which is considered breaking change. You could go through breaking change review , or add a new api version 2020-06-01-preview.1
to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

 Since the breaking change is approved and it is signed off once, can we move it to master
@KacieKK FYI

@PhoenixHe-msft we actually wanted this commit in the master branch? Since the breaking change is approved and it is signed off once, can we move it to master
@KacieKK FYI

@solankisamir You can send PR from apimanagement-2020-06-01-preview  to master

@solankisamir You can send PR from apimanagement-2020-06-01-preview  to master


Tidy up button code

This pull request makes the following changes:

Uses an array of doors to toggle them instead of having hard references.
Uses built-in area signals instead of checking if anything is in the area every time interact is pressed.
Deletes the unused node in Player.tscn.
Turns off editable children for nodes that don't need it.

i dont understand one bit. but sure!


Shortcut to prettify the query

After typing a query and before executing it by hitting ⌘↩, it is often useful to prettify the query, at least to make sure it's correctly formatted before sending it to the server.
At the moment, one has to click on the button but it would feel very natural to use a shortcut for that.
Not sure what shortcut specifically though, but if it could use the same modifier than running the query, that would make for an even nicer experience.
Thoughts?

@astorije yeah, I can see how a shortcut would be helpful! Not sure if we want to start right away with prettifying every query runs - I'd like to think of the query prettifying as code linting, which serves a good enough purpose for optional suggestions, and is not invasive. Is there a common IDE shortcut for automatically reformatting code?

@asiandrummer, basically all IDEs use different hotkeys for autoformat. ⇧⌘F (VS family), ⌥⇧⌘L for Intellij, ⌥⌘L for Nuclide (I think).

Shift-Ctrl-L and Shift-Cmd-L sounds legit to me then. We can start with that for now.
I'd love for a contribution here if you're down for that @astorije ;)

@asiandrummer, I was debating between completely focusing on preparing my talk happening in less than a week, and give this a try considering I could really make use of it during my talk. Also, I pretty much know nothing about React.
So in the end, I still gave it a shot in #385 😅
Hope you'll like it!

@asiandrummer, pretty ping? Did you get a chance to look at my PR? :)
Thanks!


SC4S: Can’t recognise TrendMicro Sourcetype

The TrendMicro DeepSecurity events are not recognized by SC4S. Attached are the screenshot from UI and the raw logs. Let me know if further information is needed

Trend_AWS.txt
Trend_Cloud_one.txt
.

The messages attached it after getting parsed by sc4s , we will be needing raw messages ( either captured by pcap) or anonymise it and paste here, it will be added to enhancement request.


Always switch tabs from center pane

Hi!
Thanks and all, very useful package.
The one thing that has been bugging me for some time was that I couldn't alt-tab back to another opened file when the tree view pane was focused.
I tried to add an option to always switch tabs from the center pane, and it turned out to be pretty easy. And now I'm happy.
Would your be interested in a PR for this? Here's my change: https://github.com/oggy/tab-switcher/compare/master...rixo:always-center?expand=1

This is dope.  I've applied it to my local copy.  I can't imagine a situation where anyone would WANT the current/default behavior.
I've been thinking about what I'd want in a perfect world.  What I've been thinking is a columnar layout where the left column is the left pane (tree view, if open), the middle column is open center tabs, and the right column is the far right pane (Git/GitHub if open).  In the event that you have your center pane split, you'd have multiple columns, each with those pane's tabs.
I hadn't thought about top/bottom splits until just now.  Those would be weird, and I guess you'd have to go to a kind of table/grid layout to support that scenario fully.


Use Step Functions

AWS Step Functions make it much easier to manage a file as it goes through the BinaryAlert processing pipeline. This will be helpful for file pre-processing

It turns out Step Functions charge based on the number of transitions, and so this can actually be much more expensive. We may explore this as a possible architecture in the future, but I'm closing this as not implementing for now


[Analytics] Follow artist from article fires with outdated context

Following the reorg in https://github.com/artsy/force-private/issues/5375, the only possible values of context_module for the followed_artist event on article pages should be article_artist_follow or article_image_set. However, we're still seeing other values like follow-widget.

cc: @kanaabe @owendodd @eessex

Three more issues found:

article_impression sometimes fires with the value article_fixed for impression_type (article_fixed is a value of context_type, not impression_type).

clicked_article_impression fires with the value article_related in place of related_article (conflicts with microgravity)

clicked_article_impression only seems to fire with a context_type of article_fixed` (for both force and microgravity)


Backport 1.0: Create monitoring user in openstack admin tenant

put stackrc in /etc/sensu and source it in /etc/default/sensu
remove sourcing /root/stackrc from checks
Conflicts:
envs/example/defaults.yml
envs/vagrant/defaults.yml
roles/common/tasks/monitoring.yml
roles/glance/tasks/monitoring.yml
roles/heat/tasks/monitoring.yml
roles/keystone/tasks/monitoring.yml
roles/nova-control/tasks/monitoring.yml
site.yml

:+1: and Jenkins test pass.


docs: add more upgrade notes about disruption budgets

Fixes #N/A
Description
Adding more about how budgets can change the parallelism in v0.34+
How was this change tested?
make website
Does this change impact docs?

[x] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4948

Relevant Lines:
5996

💛  - Coveralls


[MB-5442] CAT III: SA1006 Printf with no dynamic arguments

Description
Convert Printf usages to Print due to not using dynamic argument for Printf
Setup
make server_test
Go to .golangci.yml
Move staticcheck from disabled linters to enabled linters
Run command pre-commit run -v --all-files golangci-lint
Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-5442

  Generated by :no_entry_sign: dangerJS against a6d47a13b0f4262a1918eebbab240ad8ceb120fc


Renaming a variable called "f" also replaces "f" of f-strings

Environment data

VS Code version: 1.50.1
Extension version (available under the Extensions sidebar): v2020.10.332292344
OS and version: Windows 10 2004
Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.3
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: None
Relevant/affected Python-related VS Code extensions and their versions: None
Value of the python.languageServer setting: Jedi

Expected behaviour
I can rename a variable called f without getting syntax-errors.
Actual behaviour
When I rename a variable called f (for example to file) then a f-string like f"somestring" will also (unexpectedly) replaced to file"somestring" which will obviously result in syntax-errors.
Steps to reproduce:
Use this snippet:
def test():
    f=f"somestring"

and rename the variable f.
This is the context where i found this bug:

Does this occur with python extension disabled?

No. Without the python extension i am not able to use the rename-function (in python files).

This should work better with pylance and jediLSP. I tested this out with pylance and it works as expected.


Replaced single backticks with double ones

Summary of changes
These two items ** and package_data in the CHANGES.rst file were being identified as links rather than code due to the single backticks.
In turn leading to Sphinx emitting warnings about this and the docs failing to build.
Closes: No issue that I am aware of? However these warnings were preventing the docs from building on my machine.
Pull Request Checklist

[x] News fragment added in [changelog.d/].

Good catch! Thank you very much.


Support for new full static

When can we able to release a support for the new full static generation on NuxtJs? I am having an issue using apollo-module on generating the static page using smart queries.
I have this component page
export default {
  data() {
    return {
      isEmpty,
      format,
      articles: [],
      query: '',
      resultsPerPage: 5,
      currentPage: 1,
      totalRecords: 0,
      loading: 0,
      filteredArticles: []
    }
  },
  apollo: {
    articles: {
      loadingKey: 'loading',
      deep: true,
      prefetch: true,
      watchLoading(isLoading) {
        if (isLoading) {
          console.log('This should not be happening from the client!!!')
        }
      },
      query: articlesQuery,
      variables() {
        return {
          start: this.resultsPerPage * (this.currentPage - 1),
          limit: this.resultsPerPage,
          sort: 'date:DESC'
        }
      },
      result(result) {
        this.articles = result.data.articles
        this.totalRecords = result.data.articlesConnection.aggregate.count
        this.refreshData()
      }
    }
  }
}

this generates static files with no payload data, there it keeps on refetching.

I have the same problem. It works for the components which in directly included in the layout. But not for the ones which get loaded into . Any known workaround to fix this?

Found a workaround inspired by https://dev.to/astagi/how-to-build-a-jamstack-multi-language-blog-with-nuxt-js-3gah
My code looks like this, I switched to asyncData instead of the smart query, then it worked.
  async asyncData({ app, route }) {
    const { data } = await app.apolloProvider.defaultClient.query({
      query: MY_QUERY,
      variables: {
        id: app.$slugToId.getId(route.path), // custom function
        language: app.i18n.locale
      }
    })
    return {
      page: data.page
    }
  },

but It would be nice to use smart query again

I'm having the same issue in the components so I can't use the asyncData method.
Do you have an other solution ?

@yohan-atlan try nuxt fetch method instead of asyncData. Works for me.

It's works for me ! Thank you !

Update : this is not working, the response in the fetch is working when nuxt generate the site but when it's live the data object rewriting dom

I have been banging my head on this for a while (until found this page and stopped, so thanks).
If you look at this video here at 16:52 (should start there) it's been said that asyncData needs to be used, as smart queries will not work until target: static is released. However as we're discovering, this doesn't seem to be true.
Also, shortly after she says that static will not expose your api to the users, but the httpEndpoint will still be visible if you inspect app.js file. Is this the normal behaviour? What does she mean exactly then?

Thanks @yvess
I've been trying to use your approach, as like you I was using only smart queries but I would like to use the new Nuxt Full Static.
I don't know much about asyncData using apollo, but using your example I get the error:
[Vue warn]: Property or method "page" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
(I am using page as per your example, but I also tried to just return { data } .
I also  tried to do return console.log(data), which I don't know if it's correct and anyway doesn't return anything.
I'd expect to have the result in my template just using {{ data }}, and I am importing my .gql file (as I was already with smart queries). Any idea or what I am missing here?

@Saurou 'page' is part of my data you need to change it to you data variables. When data returns nothing than you graqphql query is wrong

Yes, I changed it for my queries and still using my .gql files that were working with smart queries.
in the end I have something like:
<div>{{ home.title }}</div>
then in the

I was not able to update this ticket about my solution. Like you said smart queries are not yet supported so I use this instead.
`export default {
components: {
Pagination
},
async fetch() {
const response = await this.$apolloProvider.defaultClient.query({
query: articlesQuery,
variables: {
start: this.resultsPerPage * (this.currentPage - 1),
limit: this.resultsPerPage,
sort: 'date:DESC'
}
})
this.articles = response.data.articles
this.totalRecords = response.data.articlesConnection.aggregate.count
this.refreshData()

},
fetchOnServer: true,
data() {
return {
articles: [],
query: '',
resultsPerPage: 5,
currentPage: 1,
totalRecords: 0,
loading: 0,
filteredArticles: []
}
},
computed: {
pageCount() {
return Math.ceil(this.articles.length / this.resultsPerPage)
}
},
methods: {
getAuthorText(author, index, authors) {
return author.name + (index < authors.length - 1 ? ',' : '')
},
refreshData() {
if (process.client) window.scrollTo({ top: 0 })
// this.$apollo.queries.articles.refetch()
  this.filteredArticles = take(
    drop(this.articles, (this.currentPage - 1) * this.resultsPerPage),
    this.resultsPerPage
  )
},
onPageChange(page) {
  this.currentPage = page
  this.refreshData()
},
isEmptyImage(listImage) {
  return isEmpty(listImage)
},
formatDate(date, pattern) {
  return format(date, pattern)
}

}
}`
also don't forget to generate the route of each page on your nuxt.config.js

Thanks @shidcordero ! Unlike the asyncData method I was trying, with fetch I can pull the data in my pages.
Unfortunately when I test it with Nuxt Serve, I can see graphql it's not fetched but pages aren't loading. So I have to understand why.
Is it related to your "also don't forget to generate the route of each page on your nuxt.config.js"? should not be automatic apart for dynamic pages? (and even those if I read right are now generated automatically following nuxt-link)

Thanks @shidcordero ! Unlike the asyncData method I was trying, with fetch I can pull the data in my pages.
Unfortunately when I test it with Nuxt Serve, I can see graphql it's not fetched but pages aren't loading. So I have to understand why.
Is it related to your "also don't forget to generate the route of each page on your nuxt.config.js"? should not be automatic apart for dynamic pages? (and even those if I read right are now generated automatically following nuxt-link)

Something similar is happening to me. I have two websites deployed with full static. One works, the other behaves as you describe. Payload files are generated as expected, i can see them being loaded but the content never gets replaced.
As soon as i switch to “server” mode and run nuxt generate, all works as expected (but obviously no payload files are used).

thats why its called full static as it intends to be fully static data(from payload) you wont expect it to fetch the data as it generates it upon building. thats the purpose of generating each route on nuxt.config to gets each pages data(payload). if you expect it to have dynamic content then you should not use full static.

I understand how it works. I have all routes generated and the payload files are being loaded, but the data() is never updated with the payload's contents. I'll submit a seperate issue with a PoC tomorrow.

Thanks @shidcordero ! Unlike the asyncData method I was trying, with fetch I can pull the data in my pages.
Unfortunately when I test it with Nuxt Serve, I can see graphql it's not fetched but pages aren't loading. So I have to understand why.
Is it related to your "also don't forget to generate the route of each page on your nuxt.config.js"? should not be automatic apart for dynamic pages? (and even those if I read right are now generated automatically following nuxt-link)

well. nuxt-link will prefetch the index page but not the payload. as part of the their current issues they specify in the blog that:
You have to specify all your dynamic routes in generate.routes, making it harder since you don't have access to nuxt modules there.
which dynamic route like in my case is the list of articles.

thats why its called full static as it intends to be fully static data(from payload) you wont expect it to fetch the data as it generates it upon building. thats the purpose of generating each route on nuxt.config to get each pages data(payload). if you expect it to have dynamic content then you should not use full static.

That's exactly what I want, and the very first reason why I dropped the smart queries in the first place.
Smart queries were still fetching, ignoring the full static, this is also why you opened this issue, right? (just in case I am misunderstanding it all :D )
Now with fetch doesn't do it anymore (which is good) but pages are empty (instead of using the payload).
about dynamic routes, the article you are mentioning makes a list of Current issues. Now, to me sounds like he's talking about the pre-full static (before 2.13) nuxt generate, as it's open the article with those and then he talks with enthusiasm about 2.13 full static.
Which makes me think (but I think I've read it somewhere else) the full static should check all the nuxt link and generate those pages too, even if they're dynamic. Of course I might be wrong but that will be the next step to check :)

small update:
I've been trying to make apollo work with the new full static and so far I had the following results:
1. fetch works on pages, layouts and components, it loads content fine from my query if it's either an { object } or an [ array ]. When using nuxt dev all works good. When testing it with nuxt serve (after nuxt build && nuxt export) pages are generated fine.
ISSUE: pages do not get loaded when navigating during nuxt serve (testing full static)
Code:
async fetch() {
  const layoutresult = await this.$apolloProvider.defaultClient.query({
    query: layoutQuery
  })
  this.layout = layoutresult.data.layout
},
data() {
  layout: {}
}

2. to try to solve the above issue, I changed all the fetch in pages to asyncData. This works fine on nuxt dev and also while testing with nuxt serve. Of course there is an annoying inconsistency here (asyncData used in pages, fetch used in layouts and components) but there is a bigger problem:
ISSUE: if the query is an [ array ], asyncData returns nothing (even if I change {} to [] in data() ).
Code:
async asyncData({app}) {
  const homeresult = await app.apolloProvider.defaultClient.query({
    query: homeQuery
  })
  return { home: homeresult.data.home }
},
data() {
  home: {}
}

As you can see you can get all your data but the app doesn't work as intended (.1) or have the app working but cannot use array (.2). This might not apply to you, but these are 2 possible answers:

I should use fetch everywhere, and the reason why pages aren't correctly loading on the static site is related to something else I can't yet see.
I should use asyncData on pages, but the reason why I can't load arrays is because the function needs to be written slightly different.

I don't know what it's the answer, so help is appreciated :)
Hope this can also help a bit who else is trying to make this work

Pretty sure this is related to #322 and that thus module needs to be updated to use fetch() behind the scenes.

The more I use Apollo with Vue, the more frustrated I am with it. It feels like it's built by React devs, not Vue devs. Just so verbose and complicated, also kind of doubles up with Vuex.
I'm going to give this a try on our next project.
https://github.com/Gomah/nuxt-graphql-request
Works way more inline with how Nuxt wants you to use the fetch() hook.

The more I use Apollo with Vue, the more frustrated I am with it. It feels like it's built by React devs, not Vue devs. Just so verbose and complicated, also kind of doubles up with Vuex.
I'm going to give this a try on our next project.
https://github.com/Gomah/nuxt-graphql-request
Works way more inline with how Nuxt wants you to use the fetch() hook.

💯  this... just set up a new project to test some stuff, fraught with errors and frustrating from the off.. going to chek this alternative you posted, thanks 👍

The more I use Apollo with Vue, the more frustrated I am with it. It feels like it's built by React devs, not Vue devs. Just so verbose and complicated, also kind of doubles up with Vuex.
I'm going to give this a try on our next project.
https://github.com/Gomah/nuxt-graphql-request
Works way more inline with how Nuxt wants you to use the fetch() hook.

Could not agree more with this. I have been using Apollo for about over a year, and thought it was the most viable solution despite constantly bumping into issues and overhead in performance for static builds.
This is a great and easy module to set up and replace Apollo on smaller builds on Nuxt. Thank you for the suggestion!

I have encoured the same problem, and the code bellow works fine for me :
`import gql from 'graphql-tag'
export default {
async asyncData ({app, route}) {
let client = app.apolloProvider.defaultClient
const posts = await client.query({
query: gql        query getPosts ($tagSlugAnd : [String]) {   posts(first: 100, where: {tagSlugAnd: $tagSlugAnd }) {     edges {       node {         slug         categories {           edges {             node {               name             }           }         }         tags {           edges {             node {               name               slug             }           }         }       }     }   } }        ,
variables: { tagSlugAnd : route.params.slug }
})
//.then(({ data }) => data && data.posts)
return { posts : posts.data.posts }
},
data(){
    return{
        posts:'',

}`

I have encoured the same problem, and the code bellow works fine for me :
`import gql from 'graphql-tag'
export default {
async asyncData ({app, route}) {
let client = app.apolloProvider.defaultClient
const posts = await client.query({
query: gql        query getPosts ($tagSlugAnd : [String]) {   posts(first: 100, where: {tagSlugAnd: $tagSlugAnd }) {     edges {       node {         slug         categories {           edges {             node {               name             }           }         }         tags {           edges {             node {               name               slug             }           }         }       }     }   } }        ,
variables: { tagSlugAnd : route.params.slug }
})
//.then(({ data }) => data && data.posts)
return { posts : posts.data.posts }
},
data(){
    return{
        posts:'',

}`

any news on this ? nuxt full static with apollo smart queries ?

The solutions outlined above seem to solve the issues pertaining to the static build. I can successfully use fetch across the board, without having to mix it up with asyncData.
data () {
  return {
    globalSettings: null
  }
},
async fetch () {

  const { data } = await this.$apollo.query({
    query: HOMEPAGE
  })

  this.homepage = data.homepage

}
```

However, I was still hoping to use Apollo's reactive cache in other areas of my project. This worked before, but now I've lost reactivity and probably need to fall back to using Vuex.

Indeed, this does undermine the use for using Apollo at all. For static sites it might make more sense to use a more minimal GraphQL library like [`nuxt-graphql-request`](https://github.com/Gomah/nuxt-graphql-request) for now


Change "hide rapid layer" shortcut key to more closely match "hide OSM data" shortcut key

Description
This is really minor, but:
Currently, you can toggle showing OSM data with Alt / Option + w
You can toggle showing Rapid roads / buildings with Shift + r
It would be nice if both would have either shift or option / alt as a modifier. And add a shortcut to hire both if it does not already exist?

I missed this, but we actually did this in #1400 !
Now:
Shift+O Toggle OSM Data
Shift+N Toggle OSM Notes
Shift+R Toggle Rapid Data
We're continuing this pattern with other data layers too in #1592


Infrastructure redundancy

There should be a possibility to use some kind of infrastructure redundancy.

The module could deploy its own availability set
The module could use a round-robin way of assigning VMs to different availability zones
The module could take an availability set as an input

Module creates availability sets after #10. We don't see the need for availability zones for the time being.


Plex dont find telly Docker Install Ubuntu

Hi,
I installed as Docker on Ubuntu with this command:
sudo docker run -ti -p 6077:6077 --name=telly tomboitch/telly -listen=<IP_ADDRESS>:6077 -temp=/tmp -playlist=http://www
If I open the IP of ubuntu:6077 I got this message:
<root><specVersion><major>1</major><minor>0</minor></specVersion><URLBase>http://<IP_ADDRESS>:6077</URLBase><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>telly</friendlyName><manufacturer>Silicondust</manufacturer><modelName>HDHR-2US</modelName><modelNumber>HDHR-2US</modelNumber><serialNumber/><UDN>uuid:12345678</UDN></device></root>
If I use this IP and Port on Plex DVR nothing happend.
Any Idea what I did wrong?
Plex runs on a different machine and not in a Docker.
EDIT: if I run IP of ubuntu:6077/lineup.json
I see all the channels.
Seems telly works well?!
EDIT2:
I changed the uuid/deviceid and Plex found it.
But only for few seconds and then it is gone.
Every time I change the uuid, I found it only for few seconds.
EDIT3:
I can get only telly 0.5 for docker, not newest version 0.6
thanks
Tobias

Can somebody psuh 0.6 telly to docker hub?
Dockerfile report an error.
Maybe 0.6 solve my problems, find no solution on the internet

fiend the problem.
seems to be a problem with the friendly name.
But now I have next problem.
Plex find channels and I set channels and EPG, but now it is endless loading. I cannot finish it...

What did you change in the friendly name to make it work? What didn't work?
Give us some details so we can help other people.

Change friendly name to "HDHomerun" like you discussed here:
https://github.com/tombowditch/telly/pull/48
Now Plex find it and also the channels.
On EPG screen is endless loading.

Ahh, that's fixed in version 0.6 which is not on Docker Hub yet.
The duration of the loading is because Plex has difficulties working with that amount of channels.

I have 122 channels but marked only 1 for testing.
Do you mean I have to wait longer?
Can you push the build for Docker Hub or activate autobuild?
thanks :)

For Docker Hub, we're keeping track of the issues here; https://github.com/tombowditch/telly/issues/99


feat: apply xxChannel.input.enableDocument dashboard config

Description Of Changes
https://sendbird.atlassian.net/browse/UIKIT-4085
Address enable_document  configs to MessageInput component.

[x] group_channel.channel.input.enable_document
[x] open_channel.channel.input.enable_document

@sravan-s I merged yours into this branch. Plz have a look and let me know if there's any change I need to drop or modify again 🙏

Oh god. It's been removed after I rebase from main to resolve some conflicts in this branch. Let me cherry pick again.

@sravan-s Cherry-picked!


Fix wps checkStatus etc

This PR has some combined minor changes to the wps module.
Changes:

added common wps test
using overwrite flag in build_get_url
added getOperationByName method
parse creationTime attribute in checkStatus
handle xml parser exception in checkStatus

one doctest sos_10_ndbc_getobservation.txt timed out ... all others ok.


Autocompletion doesn't work while worker 1 is busy.

Details

Atom version: 1.31.2
Julia version: 0.7.0
OS: Ubuntu MATE 16.04.5 LTS
Package versions:

Atom.jl: 0.7.8
julia-client: 0.7.8
ink: 0.9.11

Popup with guesses doesn't appear.
Steps to reproduce

Make worker 1 busy for a while.
While worker 1 is busy,
2.1. edit any (.jl?) file by dialing "\chi". Observe no popup right to the line dealt. Attempt to complete will result in tabulation.
While worker 1 is busy,
3.1 run Julia terminal from Atom's Julia menu.
3.2 edit prompt by dialing "\chi". Completion executes as designed.

I am having same issue now since the last update. Autocompletion in the editor only works when Julia is not running. It does keep working in the REPL. As soon as I kill Julia, autocompletion in the editor works again.

Atom version: 1.32.2
Julia version: 1.0.2
OS: Manjaro linux
Package versions:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
I have tried reinstalling as recommended in the Juno FAQ.

Hmm, maybe I misunderstood the issue. Since the latest update autocomplete stops working while the Julia REPL is active. It doesn't matter wether or not a loop is running. The problem remains even when the REPL is idle and waiting for input. When I stop the REPL (CTRL-J, CTRL-K) then autocompletion comes back to life.

Ok, looking into it further, it seems like when Julia is running, some (but not all) autocompletion entries do show up in the autocompletion menu, but they fail to bubble up to the top of the menu when refining your search.
E.g. when I type Base. then I can see macros, types, packages and constants in the autocomplete menu (but no functions). However, partly typing one of the suggested names does not make it move to the top suggestions. Also pressing tab results in inserting a tab instead of completing the top suggestion (which is always the same: Base.@MIME_str since top suggestions don't change by typing more characters). The same happens with LaTeX completions: typing \in<TAB> does not result in the ∈ symbol, it just puts a tab character, resulting in the literal text \in followed by a tab. Also completion of previously entries words does not work when Julia REPL is open. E.g. if have the word foobar somewhere in my file, then typing fooba somewhere else does not result in showing foobar in the autocomplete menu.
When I kill Julia (CTRL-J, CTRL-K) then LaTeX completions and word completions work again.
Previous to the last update, everything worked.
I'd like to help debug this, but I have no clue about how the internals of atom and the julia-client work. But any pointers to where I can start looking are welcome :)

Hi, thx for helping me debug this.
Before I try you suggestion I would like to report on something else I've tried and didn't work. I backed up my atom folder mv ~/.atom ~/.atom.back and restarted atom, then re-installed the uber-juno package in fresh atom environment. So the only packages installed were the uber-juno dependencies. All other atom settings are defaults. However, the autocompletion issue is exactly the same a before.

Ok, I removed both ~/.atom and ~/.julia en re-installed everything.
In contrast to previous attempts, this also triggered julia packages related to Juno to re-compile.
Now things work again :)

Depends on what you mean by busy -- if you're running a loop without any yields then yes, Julia won't be able to give you autocompletions. If, on the other hand, you are yielding in your loop...

Yes, i did mute loop.

Alright, then barring a rework of how we handle user executed code (namely in a different process) this won't change in the future. I could try looking into caching autocompletions again, but that's pretty difficult considering how context sensitive they are now.


CustomerReview method names on README.md are different from code.

CustomerReview class has class methods products5, additional9, more3.
But Datasets README.md shows CustomerReview has 5products, 9additional, 3more. https://github.com/chakki-works/chazutsu/blob/master/chazutsu/datasets/README.md#customer-review-datasets
I think it is better to match documents with code. How about?

Thank you for your pointing out the mistakes! I fixed it.


fix a small inconsistency in the name of the inchi package

with cmake 3.17.2 the original code produced the following warning:
"The package name passed to find_package_handle_standard_args (INCHI) does
not match the name of the calling package (Inchi).  This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern."

Reference Issue

What does this implement/fix? Explain your changes.
Any other comments?

Thanks @rvianello !


Support of Multi-SIM lines in DeviceStatus APIs

Problem description
As introduced in https://github.com/camaraproject/Commonalities/issues/302, for Multi-SIM services. providing a phoneNumber as input does not identify a single device uniquely.
Current DeviceStatus specs do not consider or give guidelines about how to behave in scenarios when the input is only a phoneNumber of a Multi-SIM service and specific device (SIM) cannot be inferred from the access token or other device identifier.
Possible evolution
Discuss the problem and alternatives. There may be impact in other tracks, such as IC&M. We may need also to discuss implications in the short term when dealing with this situation in current versions.
In the case of DeviceStatus each API has each own considerations, as each SIM may have a different status:

For device-roaming-status, a user may have left one device linked to the multiSIM phone number at home while is travelling abroad with another one. Should API return roaming=True in that case? A corner case would be that several devices were roaming in different countries, and in that case a single countryCode/countryName couldn't be returned.
For device-reachability-status, several SIMs may have different reachabilityStatus. Should API return a consolidated response taking into account if any of the SIMs is connected?
For the subscription APIs, should an event be triggered if any of the SIMs changes its status? Should each device be identified uniquely in the event?

Alternative solution

Relying on 3-legged tokens as much as possible would minimize the problem, but currently we cannot assure that they always identify a single device instead of a phone number.
Finally we can handle the situation with errors, such as 422 UNIDENTIFIABLE_DEVICE, or another dedicated code, informing clients to provide an alternative identifier that can identify the specific device. But this should be limited to corner situations as it is not dev friendly and in most cases developers do not know if a phone number belongs to a multi-SIM service.

(this discussion is similar to the one being held in https://github.com/camaraproject/DeviceLocation/issues/257)

@jlurien
Discussing this internally for device-reachability-status, the conclusion was:

if the MSISDN is the primary MSISDN, then it is the reachability status of the multi-SIM group that is required (so if any device is reachable, the assumption is that the customer themselves is reachable)
if the MSISDN is a secondary MSISDN (i.e. the MSISDN of one of the secondary devices), then it is the reachability status of that device that is of interest

We can implement this using the existing specification based on the Device object, but using different logic dependent on whether the phoneNumber is a primary or secondary MSISDN.
This only works because our multi-SIM implementation uses primary and secondary MSISDNs, but any specification that allows these requirements to be met is fine.
The one "gap" is that our implementation cannot query the reachability status of the primary device (the smartphone) alone, because for that device, the secondary MSISDN is the primary MSISDN. That's not particularly important for us, but could be supported by introducing a multi-SIM "flag" to indicate whether the response should be for an individual device or multi-SIM group.


Add 'gem "slather"' to your Gemfile and restart fastlane

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Getting below expiation, even after installing the slather and adding that to Gemfile as well.
Add 'gem "slather"' to your Gemfile and restart fastlane
Command executed

$bundle exec fastlane Lane_Name
Complete output when running fastlane, including the stack trace and command used

$ bundle exec fastlane generate_code_coverage_report
[18:03:50]: It seems like you wanted to load some plugins, however they couldn't be loaded
[18:03:50]: Please follow the troubleshooting guide: https://docs.fastlane.tools/plugins/plugins-troubleshooting/
[18:03:50]: ------------------------------
[18:03:50]: --- Step: default_platform ---
[18:03:50]: ------------------------------
[18:03:50]: --------------------------
[18:03:50]: --- Step: xcode_select ---
[18:03:50]: --------------------------
[18:03:50]: Setting Xcode version to /Applications/Xcode.app for all build steps
[18:03:50]: Driving the lane 'ios generate_code_coverage_report' 🚀
[18:03:50]: ---------------------
[18:03:50]: --- Step: slather ---
[18:03:50]: ---------------------
[18:03:50]: Missing gem 'slather', please add the following to your local Gemfile:
[18:03:50]:
[18:03:50]: ▸ gem "slather"
[18:03:50]:
+------------------+-----------------------------------+
|                     Lane Context                     |
+------------------+-----------------------------------+
| DEFAULT_PLATFORM | ios                               |
| PLATFORM_NAME    | ios                               |
| LANE_NAME        | ios generate_code_coverage_report |
+------------------+-----------------------------------+
[18:03:50]: Add 'gem "slather"' to your Gemfile and restart fastlane

+------+------------------+-------------+
|           fastlane summary            |
+------+------------------+-------------+
| Step | Action           | Time (in s) |
+------+------------------+-------------+
| 1    | default_platform | 0           |
| 2    | xcode_select     | 0           |
| 💥   | slather          | 0           |
+------+------------------+-------------+

[18:03:50]: fastlane finished with errors

[!] Add 'gem "slather"' to your Gemfile and restart fa

 [REPLACE THIS WITH YOUR INFORMATION]

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.4

Ruby
2.2.4

Bundler?
false

Git
git version 2.20.1 (Apple Git-117)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.14.4 (18E226)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration : BBL Modern App iOS

default_platform(:ios)

xcode_select("/Applications/Xcode.app")

branch_name=nil
build_directory= "build/"
output_directory= "output/"

platform :ios do

    # ------------------------ TESTS
    #desc "Runs all the tests"
    lane :execute_test_cases do
        scan(scheme: "FIPhoneASP",
            workspace: "source/iOS.xcworkspace",
            code_coverage: true,
            clean: true,
            devices: ["iPhone 8"],
            output_style: "standard",
            output_types: "junit.html",
            output_files: "junit.xml",
            output_directory: "#{output_directory}",
            xcargs: {VALID_ARCHS:"x86_64", ONLY_ACTIVE_ARCH:"YES"}
        )
    end

    # ------------------------ Generate Coverage report in SonarQube
    desc "Generate Code Coverage Report"
    lane :generate_code_coverage_report do
        slather(scheme: "FIPhoneASP",
            binary_file: "/Library/Ruby/Gems/2.3.0/gems/slather-2.4.7/bin/slather",
            workspace: "source/iOS.xcworkspace",
            proj: "source/FIPhoneASP/FIPhoneASP.xcodeproj",
            llvm_cov: true,
            output_directory: "#{output_directory}"
        )
    end

end

`./fastlane/Appfile`
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app on appcenter
# apple_id("[[APPLE_ID]]") # Your Apple email address

fastlane gems

Gem
Version
Update-Status

fastlane
2.127.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.10.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.5.0

public_suffix
2.0.5

addressable
2.6.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.0

tty-cursor
0.6.1

tty-spinner
0.9.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.64.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.5

gh_inspector
1.1.3

json
1.8.1

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.2.3

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.7.2

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

naturally
2.2.0

simctl
1.6.5

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2019.0331

mime-types
3.1

multi_json
1.13.1

signet
0.11.0

memoist
0.16.0

os
1.0.1

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

libxml-ruby
3.0.0

psych
2.0.8

generated on: *2019-07-22

 [REPLACE THIS WITH YOUR INFORMATION]

Could you please post the full output with the full stacktrace?

@deepforu47 , is the issue still persist or resolved?


Improve Advice on Avoiding OS Version Changes

Excluding the release files doesn't actually stop the OS from upgrading-- it just makes it report an incorrect version. The kernel and all supporting programs that make a functionally different OS version are still installed. Only the /etc/redhat-release file and other informational files are skipped.
Here is the contents of that RPM:
[root@rhel7 tmp]# rpm -q -l redhat-release-server
/etc/issue
/etc/issue.net
/etc/os-release
/etc/pki/product-default
/etc/pki/product-default/69.pem
/etc/pki/rpm-gpg
/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-former
/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release
/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-rhx
/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
/etc/redhat-release
/etc/rpm/macros.dist
/etc/system-release
/etc/system-release-cpe
/usr/lib/systemd/system-preset/85-display-manager.preset
/usr/lib/systemd/system-preset/90-default.preset
/usr/share/doc/redhat-release/GPL

RedHat EUS is a better option for version-locking RedHat since this actually avoids upgrading to the new software.

@sbonds : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@sbonds - I double-checked with the product team and confirmed that what we have documented that you are proposing to change is correct.  If you are experiencing behavior other than what is described (i.e. exclusion functionality in Update Management isn’t working and is preventing OS version updates in RHEL), then this is likely a bug and a support case should be opened to further investigate and verify.  #please-close this PR.

@MGoedtel I didn't quite follow what you meant as "confirmed that what we have documented that you are proposing to change is correct."
Are you saying that it is your upstream team's belief that excluding "redhat-release-server" actually prevents the kernel changes associated with that release? I believe that to be untrue and would be glad to work with them to demonstrate that.

I can also open a Microsoft Azure support case if that would help make things easier.

Hi @sbonds - Sorry, tried to say the information in our docs regarding exclusion for REHL is correct per the product team.  Yes, please open a support case to help explain your position/demonstrate the scenario.  Good luck and thank you for feedback.


New Windows worker node; pods have no network connectivity

Hi, after deploying my first Windows node to the cluster it cannot access anything other pods/services or the LAN/WAN. Pod get scheduled fine.
Expected Behavior
Pod to Pod network connectivity works
Pod to Service connectivity works
Pod to WAN (internet) connectivity works
Pod to LAN (local intranet) connectivity works
Current Behavior
Zero network connectivity
Possible Solution
unknown
Steps to Reproduce (for bugs)
Following the quickstart guide; https://docs.projectcalico.org/getting-started/windows-calico/quickstart in VXLAN mode
Schedule change service CIDR and DNS to match correctly
schedule windows pod
Context

Your Environment
PS C:\> curl bbc.co.uk
curl : The remote name could not be resolved: 'bbc.co.uk'
At line:1 char:1
+ curl bbc.co.uk
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

# calicoctl get ippool -o wide
NAME                  CIDR          NAT    IPIPMODE   VXLANMODE   DISABLED   SELECTOR
default-ipv4-ippool   <IP_ADDRESS>/16   true   Never      Always      false      all()

config.ps1
$baseDir = "$PSScriptRoot"
ipmo $baseDir\libs\calico\calico.psm1

## Cluster configuration:

# KUBE_NETWORK should be set to a regular expression that matches the HNS network(s) used for pods.
# The default, "Calico.*", is correct for Calico CNI.
$env:KUBE_NETWORK = "Calico.*"

# Set this to one of the following values:
# - "vxlan" for Calico VXLAN networking
# - "windows-bgp" for Calico BGP networking using the Windows BGP router.
# - "none" to disable the Calico CNI plugin (so that you can use another plugin).
$env:CALICO_NETWORKING_BACKEND="vxlan"

# Set to match your Kubernetes service CIDR.
$env:K8S_SERVICE_CIDR = "<IP_ADDRESS>/24"
$env:DNS_NAME_SERVERS = "<IP_ADDRESS>"
$env:DNS_SEARCH = "svc.cluster.local"

## Datastore configuration:

# Set this to "kubernetes" to use the kubernetes datastore, or "etcdv3" for etcd.
$env:CALICO_DATASTORE_TYPE = "kubernetes"

# Set KUBECONFIG to the path of your kubeconfig file.
$env:KUBECONFIG = "$PSScriptRoot\calico-kube-config"

# For the "etcdv3" datastore only: set ETCD_ENDPOINTS, format: "http://<host>:<port>,..."
$env:ETCD_ENDPOINTS = ""
# For etcd over TLS, set these lines to point to your keys/certs:
$env:ETCD_KEY_FILE = ""
$env:ETCD_CERT_FILE = ""
$env:ETCD_CA_CERT_FILE = ""

## CNI configuration, only used for the "vxlan" networking backends.

# Place to install the CNI plugin to.  Should match kubelet's --cni-bin-dir.
$env:CNI_BIN_DIR = "c:\k\cni"
# Place to install the CNI config to.  Should be located in kubelet's --cni-conf-dir.
$env:CNI_CONF_DIR = "c:\k\cni\config"

if (Get-IsContainerdRunning)
{
    $env:CNI_BIN_DIR = Get-ContainerdCniBinDir
    $env:CNI_CONF_DIR = Get-ContainerdCniConfDir
}

$env:CNI_CONF_FILENAME = "10-calico.conf"
# IPAM type to use with Calico's CNI plugin.  One of "calico-ipam" or "host-local".
$env:CNI_IPAM_TYPE = "calico-ipam"

## VXLAN-specific configuration.

# The VXLAN VNI / VSID.  Must match the VXLANVNI felix configuration parameter used
# for Linux nodes.
$env:VXLAN_VNI = "4096"
# Prefix used when generating MAC addresses for virtual NICs.
$env:VXLAN_MAC_PREFIX = "0E-2A"

## Node configuration.

# The NODENAME variable should be set to match the Kubernetes Node name of this host.
# The default uses this node's hostname (which is the same as kubelet).
#
# Note: on AWS, kubelet is often configured to use the internal domain name of the host rather than
# the simple hostname, for example "ip-172-16-101-135.us-west-2.compute.internal".
$env:NODENAME = $(hostname).ToLower()
# Similarly, CALICO_K8S_NODE_REF should be set to the Kubernetes Node name.  When using etcd,
# the Calico kube-controllers pod will clean up Calico node objects if the corresponding Kubernetes Node is
# cleaned up.
$env:CALICO_K8S_NODE_REF = $env:NODENAME

# The time out to wait for a valid IP of an interface to be assigned before initialising Calico
# after a reboot.
$env:STARTUP_VALID_IP_TIMEOUT = 90

# The IP of the node; the default will auto-detect a usable IP in most cases.
$env:IP = "autodetect"

## Logging.

$env:CALICO_LOG_DIR = "$PSScriptRoot\logs"

# Felix logs to screen at info level by default.  Uncomment this line to override the log
# level.  Alternatively, (if this is commented out) the log level can be controlled via
# the FelixConfiguration resource in the datastore.
# $env:FELIX_LOGSEVERITYSCREEN = "info"
# Disable logging to file by default since the service wrapper will redirect our log to file.
$env:FELIX_LOGSEVERITYFILE = "none"
# Disable syslog logging, which is not supported on Windows.
$env:FELIX_LOGSEVERITYSYS = "none"
# confd logs to screen at info level by default.  Uncomment this line to override the log
# level.
#$env:BGP_LOGSEVERITYSCREEN = "debug"

Service Cidr
# SVCRANGE=$(echo '{"apiVersion":"v1","kind":"Service","metadata":{"name":"tst"},"spec":{"clusterIP":"<IP_ADDRESS>","ports":[{"port":443}]}}' | kubectl apply -f - 2>&1 | sed 's/.*valid IPs is //')
# echo $SVCRANGE
<IP_ADDRESS>/24

10-coniclo.conf file
{
  "name": "Calico",
  "windows_use_single_network": true,

  "cniVersion": "0.3.1",
  "type": "calico",
  "mode": "vxlan",

  "vxlan_mac_prefix":  "0E-2A",
  "vxlan_vni": 4096,

  "policy": {
    "type": "k8s"
  },

  "log_level": "info",

  "capabilities": {"dns": true},

  "DNS":  {
    "Nameservers":  ["<IP_ADDRESS>"],
    "Search":  [
      "svc.cluster.local"
    ]
  },

  "nodename_file": "C:\\CalicoWindows\\libs\\calico\\..\\..\\nodename",

  "datastore_type": "kubernetes",

  "etcd_endpoints": "",
  "etcd_key_file": "",
  "etcd_cert_file": "",
  "etcd_ca_cert_file": "",

  "kubernetes": {
    "kubeconfig": "C:\\CalicoWindows\\calico-kube-config"
  },

  "ipam": {
    "type": "calico-ipam",
    "subnet": "usePodCidr"
  },

  "policies":  [
    {
      "Name":  "EndpointPolicy",
      "Value":  {
        "Type":  "OutBoundNAT",
        "ExceptionList":  [
          "<IP_ADDRESS>/24",
          "<IP_ADDRESS>/24",
          "<IP_ADDRESS>/24"
        ]
      }
    },
    {
      "Name":  "EndpointPolicy",
      "Value":  {
        "Type":  "ROUTE",
        "DestinationPrefix":  "<IP_ADDRESS>/24",
        "NeedEncap":  true
      }
    }
  ]
}

Orchestrator version (e.g. kubernetes, mesos, rkt): microk8s
Operating System and version: Windows Server 2019 1809

Sorry for the delay @liquidtoon01 - do you have outbound internet access on the node that is running the pod?
Could you get the output of Get-HNSEndpoint |? ipaddress -eq <pod_ip> | ConvertTo-Json -Depth 5?

Hi! Yes the node has outbound internet access.

Can you check node configuration section of config.ps1 and confirm $env:NodeName is set to Kubernetes node name?
The NODENAME variable should be set to match the Kubernetes Node name of this host.

Hello. I too am experiencing a similar (maybe the same) issue.
In case it helps, these were the commands I ran to get a windows worker up and running with calico. Everything below was run from an admin powershell prompt:
mkdir C:\k\
# I then transferred a copy of my kube config file to c:\k\
Invoke-WebRequest https://docs.projectcalico.org/scripts/install-calico-windows.ps1 -OutFile C:\install-calico-windows.ps1
C:\install-calico-windows.ps1 -DownloadOnly yes -KubeVersion 1.19.3
C:\CalicoWindows\install-calico.ps1
C:\CalicoWindows\kubernetes\install-kube-services.ps1
Start-Service kubelet
Start-Service kube-proxy

After doing so, my windows pods are experiencing the same issues as @liquidtoon01 .

I'm not sure what's going on. One similarity is that the two issues are both on microk8s. I think I'll need to read a bit more about microk8s and maybe try to repro this.

Can you check if $env:NODENAME = $(hostname).ToLower() has the same node name value as you run kubectl get node?

I'm having the same issue on microK8s with one CentOs7 & one Win19 node (only difference is the IP pool that I am using). Can confirm that $env:NODENAME = $(hostname).ToLower() is the same as the node name:
$(hostname).ToLower() win-t8mcams9iui
microk8s kubectl get nodes
NAME                       STATUS   ROLES    AGE     VERSION
zrh-centos7-tst   Ready    <none>   25h     v1.21.6-3+dd57cd4fdc581a
win-t8mcams9iui            Ready    <none>   3h42m   v1.21.6

Thanks @slavina-rumenova for confirming. I will try to repro this on microK8s and report back.

@slavina-rumenova Could you help to zip and attach contents of c:\CalicoWindows\logs? What is the Windows OS version you are using?

@song-jiang I'm running Windows Server 2019 Standard v 1809.
Here are the calico logs:
calicologs.zip

@slavina-rumenova the calico-node service is stuck at:

2021-12-01 04:30:51.183 [ERROR][6804] startup/startup.go 115: Unable to ensure datastore is migrated. error=unable to query ClusterInformation to determine Calico version: Get "https://<IP_ADDRESS>:16443/apis/crd.projectcalico.org/v1/clusterinformations/default": dial tcp <IP_ADDRESS>:16443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Can you check that your Windows node can reach the <IP_ADDRESS> on tcp port 16443?

Thanks @slavina-rumenova for confirming. I will try to repro this on microK8s and report back.

I was able to bring up a microk8s cluster with a Calico for Windows node. I also ran into the same error log above. After resolving the connectivity issue, I reinstalled Calico for Windows and confirmed pod to pod connectivity with some test Linux and Windows pods.
(I found this reference on microk8s ports helpful: https://microk8s.io/docs/services-and-ports)

@lmm, yes, you are right - the API server was not reachable. I can confirm that it works now. Thank you very much!


Add interface names into NSM metrics

In the forwarder's "metrics" field add 4 interfaces as key-value pairs with the key names: "interface_client", "interface_client_fwd", "interface_endpoint", "interface_endpoint_fwd", and with a value in the format "interface-type/interface-name".
Example of a Connection:

I can't change the original description, so I'll post the actual state of the solution here.
The solution is presented schematically in this diagram:

NSC metrics contains a single field "client_interface" with value in the format "interface-type/interface-name", for example:
"client_interface": "MEMIF/nsm-1"
NSE metrics contains a single field "server_interface" with value in the format "interface-type/interface-name", for example:
"server_interface": "KERNEL/memif2kern-672c"
Forwarder metrics contains a pair of fields "client_interface", "server_interface" with values in the format "interface-type/interface-name", for example:
"server_interface": "MEMIF/memif1013904223/0"
"client_interface": "VIRTIO/tap0"

Thus, metrics related to NSC and NSE are printed in separate sections of the path.
Some cases that may cause problems when reading this data:

interface name may contain /, for example:
memif1013904223/0
interface type may contain spaces, for example:
WIREGUARD TUNNEL

All information can be found in the NSC request-response, for example Kernel2Memif use-case NSC logs:
{
    "id": "alpine-395ed7f9-30fd-41aa-af2d-1c5d6ca8889b-0",
    "network_service": "kernel2memif",
    "mechanism": {
        ...
    },
    "context": {
        ...
    },
    "labels": {
        ...
    },
    "path": {
        "path_segments": [
            {
                "name": "alpine-395ed7f9-30fd-41aa-af2d-1c5d6ca8889b",
                ...
                "metrics": {
                    "client_interface": "KERNEL/nsm-1"
                }
            },
            {
                "name": "nsmgr-8ckqf",
                ...
            },
            {
                "name": "forwarder-vpp-5x4ck",
                ...
                "metrics": {
                    "client_drops": "0",
                    "client_interface": "MEMIF/memif1013904223/0",
                    "client_rx_bytes": "0",
                    "client_rx_packets": "0",
                    "client_tx_bytes": "516",
                    "client_tx_packets": "6",
                    "server_drops": "0",
                    "server_interface": "VIRTIO/tap0",
                    "server_rx_bytes": "516",
                    "server_rx_packets": "6",
                    "server_tx_bytes": "0",
                    "server_tx_packets": "0"
                }
            },
            {
                "name": "nse-memif-7948d8d869-mwnq8",
                ...
                "metrics": {
                    "server_interface": "MEMIF/memif1013904223/0"
                }
            }
        ]
    },
    "network_service_endpoint_name": "nse-memif-7948d8d869-mwnq8",
    "payload": "ETHERNET"
}

@VitalyGushin please take a look and confirm if you agree with the new details of the solution

LGTM

No interface names on memif clients (vl3 nses probably too)


X64 call arg MOV 0

When optimizing MOV 0, take into accounts registers used for arguments.
It was possible to reuse a register already used for an argument to do the XOR reg, reg; MOV arg,reg optimization.
The result would be to change the value of 1 argument to 0.
This bug is hitting is WebAssembly and probably in asm.js as well.
This can not hit with javascript user code, because it it specific to MOV arg, 0 pattern and we never have const 0 (at least a tagged int 0 -> 1).
It could have been a problem with helper calls, but I guess we got lucky.

This change is

LGTM.

:shipit:


feat: add missing lifecycle monitoring for catalog, search and server

Hey, I just made a Pull Request!
To prevent 503 errors if collators or processors start before backend has been initialized
Discord thread: https://discord.com/channels/687207715902193673/1222528600247504946
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

I wonder if it could make sense for the search collators to poll the endpoint until becomes available instead.
The current issue will remain if the plugins are in two different backends.

The multi backend issue would still persist, true, but I think this fix makes still sense not to start these async operations until then backend is otherwise ready to work.

Not stale


Using nord on Ubuntu Bash shell on Windows Subsystem for Linux

I meant the native Bash shell on Windows, called Bash on Ubuntu on Windows, which was released in 2016, under the Windows Subsystem for Linux. https://github.com/microsoft/WSL
I am not referring to the 2019 released Windows Terminal. Sorry if I wasn't clear earlier.
Please let me know if I can use the nord package in the native Bash shell on Ubuntu on Windows.
https://devblogs.microsoft.com/commandline/bash-on-ubuntu-on-windows-download-now-3/

I am using Nord in Ubuntu 20.04 on WSL2 (worked in WSL too) without an issue:

The thing is that if you install it in the shell the colors will not be reflected as the terminal client does not have it configured (the same thing happens with gnome-terminal), you have to configure it in the client also like so:

Running the shell in the new Windows Terminal works also as expected:

Likewise, you have to set up the theme in the terminal client by modifying the settings.json:

Hope this helps!

@axelitus Thanks for this detailed help, I guess this should clarify the ambiguities.


[Enhancement] Adjust CtD content

Motivation / Problem

We currently have a section outlining CtD benefits with a link to the academy.
This should be adjusted to be more "introductory", something along the lines of "The CtD paradigm", or "This demonstrator utilizes CtD"
The graphic needs to be (re)designed according to GX media guidelines.
Solution

[ ] discuss and decide on final content
[ ] change content
[x] adjust graphic design
[x] change graphic
[ ] remove the cta

Adjusted graphic

I would suggest to include "technical data sovereignty" as it is a more specific and stronger claim.


Reboot Loop since v2.15.01 if DECONZ_VNC_MODE=1

Hi,
if DECONZ_VNC_MODE=1 then I have an reboot Loop with the deConz Docker-Container. If DECONZ_VNC_MODE=0 then runs it.
VNC mode still worked with older versions, maybe even with 2.15.0, unfortunately I didn't test it at the time. With 2.14.xx the VNC mode definitely still worked.

Same here, after re-creating the container the issue went away. No change on the configs or host.

Are you Synology users?

No, running docker on Raspi 4b w. 4GB with Ubuntu 20 64bit.

Are you Synology users?

Yes, I‘m a Synology User.

Here is the synology docker log :
`

2022-04-19 21:10:25
stdout
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

2022-04-19 21:10:25
stdout
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

2022-04-19 21:10:25
stdout
qt.qpa.xcb: could not connect to display :0

2022-04-19 21:10:24
stdout
[deconzcommunity/deconz] NOVNC port: 6080

2022-04-19 21:10:24
stdout
- Backgrounding (daemon)

2022-04-19 21:10:24
stdout
- SSL/TLS support

2022-04-19 21:10:24
stdout
- Web server. Web root: /usr/share/novnc

2022-04-19 21:10:24
stdout
- Listen on :6080

2022-04-19 21:10:24
stdout
WebSocket server settings:

2022-04-19 21:10:24
stdout
tigervncserver: Could not acquire fully qualified host name of this machine.

2022-04-19 21:10:24
stdout
hostname: Name or service not known

2022-04-19 21:10:22
stdout
tigervncserver: Could not acquire fully qualified host name of this machine.

2022-04-19 21:10:22
stdout
hostname: Name or service not known

2022-04-19 21:10:22
stdout
[deconzcommunity/deconz] VNC port: 5900

2022-04-19 21:10:21
stdout
[deconzcommunity/deconz] Checking device group ID

2022-04-19 21:10:21
stdout
[deconzcommunity/deconz] Modifying user and group ID

2022-04-19 21:10:21
stdout
[deconzcommunity/deconz] Websockets port: 8443

2022-04-19 21:10:21
stdout
[deconzcommunity/deconz] Web UI port: 8080

2022-04-19 21:10:21
stdout
[deconzcommunity/deconz] Current deCONZ version: 2.15.01

2022-04-19 21:10:21
stdout
[deconzcommunity/deconz] Starting deCONZ...

2022-04-19 21:10:03
stdout

2022-04-19 21:10:03
stdout
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

`

I mean that's related to remove of
ARG DEBIAN_FRONTEND=noninteractive
in dockerfile

I mean that's related to remove of ARG DEBIAN_FRONTEND=noninteractive in dockerfile

In the docker file there is still ENV DEBIAN_FRONTEND=noninteractive being set

@nliaudat Can you see if you specified a hostname?
As this is the first error msg  tigervncserver: Could not acquire fully qualified host name of this machine.

@phdelodder The network is in host mode, and the hostname is set for synology nas and resolves good

@phdelodder The network is in host mode, and the hostname is set for synology nas and resolves good

This issue is that the tigervnc can't resolve the hostname, there are cases that it also crashes for that reason. Can you try disabling VNC and shell into the docker container and try to resolve the hostname.

cat /etc/hostname  >                                     deconzcommunity
cat /etc/hosts  >                                         <IP_ADDRESS>       localhost                                                        ::1             localhost                                                        <IP_ADDRESS>       nas-xxx                                                           ::1             nas-xxx
The common tools like hostnamectl, ping, dig, host, etc are not available

Can you add deconzcommunity to hosts and retry with enabling VNC?

is that related to issue #64 ?

is that related to issue #64 ?

Indeed, specifying a hostname causes it to be unable to define the host error. So removing it from the config should solve it.

Set DECONZ_VNC_MODE=0 and restart the container.
Then enter the docker container via docker exec -it deconz /bin/bash.
Navigate to /tmp and delete the file .X0-lock and .X11-unix/X0.
Stop container and set DECONZ_VNC_MODE=1 and restart the container.
The bootloop should be gone.

Set DECONZ_VNC_MODE=0 and restart the container.
Then enter the docker container via docker exec -it deconz /bin/bash.
Navigate to /tmp and delete the file .X0-lock and .X11-unix/X0.
Stop container and set DECONZ_VNC_MODE=1 and restart the container.
The bootloop should be gone.

Confirmed to work. Many thanks.
cd /tmp
rm -Rf .X*

Set DECONZ_VNC_MODE=0 and restart the container.
Then enter the docker container via docker exec -it deconz /bin/bash.
Navigate to /tmp and delete the file .X0-lock and .X11-unix/X0.
Stop container and set DECONZ_VNC_MODE=1 and restart the container.
The bootloop should be gone.

I din't have any of these files in the folder, still I'm not able to boot with VNC enabled. Do I still need to edit the host file? If so how can I add this?

Please get the latest image and try again, see https://github.com/deconz-community/deconz-docker/pull/107

Even with the latest image, I have the same problem.
Back to 2.14.00 is the only solution that works for me!

Updated linux from buster to bullseye... everything works fine again.

Lastest version works (unhealthy) without VNC but doesn't even removing locked sessions.
=================== tail /home/deconz/.vnc/raspberrypi:5900.log ===================
===================================================================================

tigervncserver: /usr/bin/Xtigervnc did not start up, please look into '/home/deconz/.vnc/raspberrypi:5900.log' to determine the reason! -1
Killing Xtigervnc process ID 46... which seems to be deadlocked. Using SIGKILL!
Fatal Python error: init_interp_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted

Current thread 0xb6f92520 (most recent call first):
<no Python frame>
[deconzcommunity/deconz] NOVNC port: 6080
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

[deconzcommunity/deconz] Starting deCONZ...
[deconzcommunity/deconz] Current deCONZ version: 2.15.03
[deconzcommunity/deconz] Web UI port: 80
[deconzcommunity/deconz] Websockets port: 443
[deconzcommunity/deconz] Using options --auto-connect=1         --appdata=/opt/deCONZ         --dbg-info=1         --dbg-aps=0         --dbg-zcl=0         --dbg-ddf=0         --dbg-dev=0         --dbg-zdp=0         --dbg-ota=0 	--dbg-error=0         --http-port=80         --ws-port=443
[deconzcommunity/deconz] Modifying user and group ID
[deconzcommunity/deconz] Checking device group ID
[deconzcommunity/deconz] VNC port: 5900
tigervncserver: No VNC server running for this user!

TigerVNC server sessions:

X DISPLAY #	RFB PORT #	PROCESS ID	SERVER

Uh - this log is hard to read. Is this only one log (i.e. the console output) for one start?
The python part is new to me - never seen this before.
Maybe you could start with DECONZ_START_VERBOSE set to 1. So the statements itself would be logged. This when it becomes clearer which statements leads to which outpu.

... and to get this more focused to the problem you could also set DECONZ_NOVNC_PORT to 0 so the noVNC part would be skipped.


Consider dropping execa

The project can have zero dependencies without execa, which has listed their benefits but maybe we don't need any of them? Test extensively.

Just my 2 cents, probably better to just keep execa, I don't think having
zero deps is all that interesting. Claiming only 1 dependency is pretty
good too
On Thu, Oct 29, 2020, 8:35 AM Fatih Altinok<EMAIL_ADDRESS>wrote:

The project can have zero dependencies without execa, which has listed
their benefits https://github.com/sindresorhus/execa#why but maybe we
don't need any of them? Test extensively.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/frontsideair/yarnhook/issues/51, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEDZKDYODR4773TD775W2DSNFVTXANCNFSM4TDXWUXQ
.

Agreed that it's not an urgency. But I gave the benefits a quick read and it doesn't seem like we would be missing out on anything if we dropped execa or cross-spawn. I need to do an investigation to be sure as I wouldn't want to leave Windows users behind for any reason.


Expanders error

When I click on one of the "Preview" checkboxes I get this error:

Did this work in a specific version?  The documentation says that it doesn't work, but then I found a blurb that it said that it worked in version >1.18 of streamlit.  It isn't working on the current version.

I found that I could simply remove the expander from the the sidebar


GET /values resulting in status code 500

Do you want to request a feature or report a bug?
Bug 🐛
What is the current behavior?
When our Travis CI build runs yarn bundlesize, the size check against master fails and we get some http logs indicating a 500 error.
If the current behavior is a bug, please provide the steps to reproduce.

I expect the master branch values to be retrieved successfully, resulting in a handy comparison in the status notification on the pull request.
If this is a feature request, what is motivation or use case for changing the behavior?
N/A
Please mention other relevant information.
I'll pull these straight from the Travis CI logs
$ node --version
v10.16.0
$ npm --version
6.9.0
$ nvm --version
0.34.0
$ yarn --version
1.3.2

Operating system: Ubuntu 14.04.5 LTS
bundlesize version: 0.17.2
CI you are using: Travis CI

same error on circleci, very often in last time  :(((

Ugh, this is pretty horrible. Migrating to a different storage (shelf) is on my roadmap, haven't been able to get to it yet.

@siddharthkp what's going on with the storage backend?
Does 500 mean... we're overwhelming the firebase app? Or is it a serialization/deserialization issue?
Could we try wiping the data for our repo and start from scratch?

we're overwhelming the firebase app? Or is it a serialization/deserialization issue?

500 = It's unhandled. Could be either, honestly.

Could we try wiping the data for our repo and start from scratch?

I don't think that will help. I will find some time to dig into this, soon-ish.

Hi!
Any news on this? Is there a way to fix the problem or a workaround?

@bolismauro Are you seeing this error too?
(I'm working on a long term fix this month)

Yes yesterday it didn't work but I just tried and It worked. No idea why

Same here https://travis-ci.org/sweetalert2/sweetalert2/builds/554705140

@limonte on a side note, please update the sweetalert2 Travis config to refer to the bundlesize latest release 0.18.0 or you can also use bundlesize@latest so that you always have the current stable version and don't need to update .travis.yml for this.

bumped bundlesize to ^0.18.0, same result: https://travis-ci.org/sweetalert2/sweetalert2/builds/555643927

For what is worth, we too are seeing this on Bootstrap for quite some time now.

Just installed bundlesize (0.18.0) and when I added BUNDLESIZE_GITHUB_TOKEN I got this error. I'm guessing it's a problem with the size difference calculation because the CI status check still works and we still get size details on the https://bundlesize-store.now.sh website.
Our CI message:
bundlesize — Total bundle size is 514.3KB/1.76MB (-null)

same here https://travis-ci.com/ipfs/js-ipfs/jobs/218558166#L415

Same here. It started 1 hour ago and restarting builds doesn't help: https://travis-ci.org/Redocly/redoc/builds/564951645

Me too on Travis
ci-prod] [build          ] $ bundlesize
[ci-prod] [build          ] { Error: Request failed with status code 500
[ci-prod] [build          ]     at createError (/home/travis/build/joma74/acc-natours/node_modules/axios/lib/core/createError.js:16:15)
[ci-prod] [build          ]     at settle (/home/travis/build/joma74/acc-natours/node_modules/axios/lib/core/settle.js:18:12)
[ci-prod] [build          ]     at IncomingMessage.handleStreamEnd (/home/travis/build/joma74/acc-natours/node_modules/axios/lib/adapters/http.js:201:11)
[ci-prod] [build          ]     at IncomingMessage.emit (events.js:198:15)
[ci-prod] [build          ]     at endReadableNT (_stream_readable.js:1139:12)
[ci-prod] [build          ]     at processTicksAndRejections (internal/process/task_queues.js:81:17)
[ci-prod] [build          ]   config:
[ci-prod] [build          ]    { adapter: [Function: httpAdapter],
[ci-prod] [build          ]      transformRequest: { '0': [Function: transformRequest] },
[ci-prod] [build          ]      transformResponse: { '0': [Function: transformResponse] },
[ci-prod] [build          ]      timeout: 0,
[ci-prod] [build          ]      xsrfCookieName: 'XSRF-TOKEN',
[ci-prod] [build          ]      xsrfHeaderName: 'X-XSRF-TOKEN',
[ci-prod] [build          ]      maxContentLength: -1,
[ci-prod] [build          ]      validateStatus: [Function: validateStatus],
[ci-prod] [build          ]      headers:
[ci-prod] [build          ]       { Accept: 'application/json, text/plain, */*',
[ci-prod] [build          ]         'User-Agent': 'axios/0.18.0' },
[ci-prod] [build          ]      method: 'get',
[ci-prod] [build          ]      url:
[ci-prod] [build          ]       'https://bundlesize-store.now.sh/values?repo=joma74/acc-natours&token=[secure]',
[ci-prod] [build          ]      data: undefined },
...

If you have a similar issue can you please add a :+1: to the first post, people who are watching this thread for a response get notified so writing a comment that is the same as that isn't very useful

Still an issue for me on this job.

I got this issue...

For anyone bumping into this, https://github.com/bundlewatch/bundlewatch might be an alternative.

Is this tool still actively maintained? 🙂

going to be honest, barely 😓
I did a rewrite which is a lot more reliable - https://github.com/siddharthkp/bundlesize2, it's not 100% feature complete, but it's got the core features you probably need.
Migration path:

Use the npm package bundlesize2 instead of bundlesize
If you'd like status reported back to github, use the flag --enable-github-checks + authorize bundlesize2 app. More in the docs
If anything breaks, let me know :)


Multiple responses for the same URL?

I'm having trouble specifying multiple responses for the same URL. The responses should vary depending on the contents of the request. For example:
    stub.stubFor(
            post(urlMatching(URL_DOMEIN))
               .withRequestBody(matchingXPath("//*[local-name() = 'Action'][.='" + ACTION_A +"']"))
                    .willReturn(
                            aResponse()
                                    .withHeader("Content-type", "text/xml; charset=UTF-8")
                                    .withBody("myresponse_1")));

    stub.stubFor(
            post(urlMatching(URL_DOMEIN))
            .withRequestBody(matchingXPath("//*[local-name() = 'Action'][.='" + ACTION_B + "']"))
                    .withRequestBody(matchingXPath(ADDITIONAL_XPATH_STATEMENT))
                    .willReturn(
                            aResponse()
                                    .withHeader("Content-type", "text/xml; charset=UTF-8")
                                    .withBody("myresponse_2")));

However it seems it will only remember the "last" stub. Is this expected behaviour?

Nope, they should be distinct.
Might be worth calling listAllStubMappings() after you've created the stubs to check that they're actually different, and turn verbose logging on so you can check what requests it's actually seeing.

In the actual code (not the examples) I was reusing the same MappingBuilder for each subsequent stub action. Works as expected now. Thanks!

Glad you got it working!

Hi Qunit
I see same problem now.Did you mean you had customised MappingBuilder ?Can you elaborate on the solution pls.

@Qunit @bhavana-gandham please share code samples. I'm having a similar issue. how did you resolve yours?

Having same issue too.


⚠ Bofrost.at has degraded performance

In b44baad, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1494 ms

Resolved: Bofrost.at performance has improved in f95181f.


[BUG] Cant save pause value

Describe the bug
Cant save pause value. Neither variable in it or 4000 ms
Screenshots
https://imgur.com/a/jWF5Wo8
Desktop (please complete the following information):

OS: e.g. Windows 10 64bit
Game Version TBCC latest

GSE Version

Version: RCE GSE3

Note for self:  fixed the saving but then got this error:
Message: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:126: [string "name, macros = self:GetName(), newtable([=======[/cast [@mouseo..."]:51: function or expression too complex near '[=======[/click nil]=======]'
Time: Sun Jun 20 06:40:37 2021
Count: 1
Stack: Interface\FrameXML\RestrictedExecution.lua:431: Call failed: Interface\FrameXML\RestrictedExecution.lua:126: [string "name, macros = self:GetName(), newtable([=======[/cast [@mouseo..."]:51: function or expression too complex near '[=======[/click nil]=======]'
[string "@Interface\AddOns\Decursive\Libs\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <...\AddOns\Decursive\Libs\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals: timer = <table> {
 argsCount = 0
 object = <table> {
 }
 ends =<PHONE_NUMBER>00
 looping = true
 callback = <function> defined @Interface\AddOns\Decursive\Libs\AceTimer-3.0\AceTimer-3.0.lua:50
 func = "ProcessOOCQueue"
 delay = 1
}
type = <function> defined =[C]:-1
unpack = <function> defined =[C]:-1
GetTime = <function> defined =[C]:-1
C_TimerAfter = <function> defined =[C]:-1
activeTimers = <table> {
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
}

This tells me that the part that converts the pause into command needs looking at.
Still a WIP

Ok found the problem.  A pause adds a number of lines to the macro that are dummy lines.  I have some pauses that are 10 lines


add runbooks links for ceph rules

this PR adds the links for CephOSDNearFull,
CephOSDDiskNotResponding, and fixes link for PersistentVolumeUsageNearFull

PTAL @jmolmo @umangachapagain

/cherry-pick release-4.15

/approve

/assign agarwal-mudit


Training got stuck during fine-tuning the model

I am running step-2 for fine-tuning the model with SQA data. I tried on both CPU and GPU machine on AWS, and here is the command that I am using:
Fine-tuning
!python tapas/tapas/run_task_main.py
--task="SQA" --output_dir="SQAOUT"
--init_checkpoint="tapas_sqa_base/model.ckpt"
--bert_config_file="tapas_sqa_base/bert_config.json"
--mode="train"
Here is the warning message from the training. It got stuck forever, never finished.
INFO:tensorflow:Running local_init_op.
I0511 20:14:13.866309<PHONE_NUMBER>69248 session_manager.py:500] Running local_init_op.
INFO:tensorflow:Done running local_init_op.
I0511 20:14:14.061791<PHONE_NUMBER>69248 session_manager.py:502] Done running local_init_op.
INFO:tensorflow:Saving checkpoints for 0 into SQAOUT/sqa/model/model.ckpt.
I0511 20:14:23.436616<PHONE_NUMBER>69248 basic_session_run_hooks.py:606] Saving checkpoints for 0 into SQAOUT/sqa/model/model.ckpt.
2020-05-11 20:14:38.721275: W tensorflow/core/framework/model.cc:474] Failed to find a tunable parameter that would decrease the output time. This means that the autotuning optimization got stuck in a local maximum. The optimization attempt will be aborted.
2020-05-11 20:14:41.283297: W tensorflow/core/framework/model.cc:474] Failed to find a tunable parameter that would decrease the output time. This means that the autotuning optimization got stuck in a local maximum. The optimization attempt will be aborted.
2020-05-11 20:14:46.404370: W tensorflow/core/framework/model.cc:474] Failed to find a tunable parameter that would decrease the output time. This means that the autotuning optimization got stuck in a local maximum. The optimization attempt will be aborted.
2020-05-11 20:14:56.645311: W tensorflow/core/framework/model.cc:474] Failed to find a tunable parameter that would decrease the output time. This means that the autotuning optimization got stuck in a local maximum. The optimization attempt will be aborted.

Hello, @jiabol thanks for the report, we haven't encountered that warning before, but on a first inspection, it seems to be triggered by the usage of the AUTOTUNE tapas/datasets/dataset.py, and it's logged here.
While we continue to investigate, can you try:
a) use a bigger machine in terms of CPU /  RAM, what are the spects of the one you are currently using?
b) Replace the usage of AUTOTUNE in tapas/datasets/dataset.py for specific values? Make sure you installed with -e for the changes to be reflected without re-installation.
Thanks!

Closing for now. Feel free to reopen if you have new insights / the issue persists.

Hello, @jiabol thanks for the report, we haven't encountered that warning before, but on a first inspection, it seems to be triggered by the usage of the AUTOTUNE tapas/datasets/dataset.py, and it's logged here.
While we continue to investigate, can you try:
a) Use a bigger machine in terms of CPU / RAM, what are the spects of the one you are currently using?
b) Replace the usage of AUTOTUNE in tapas/datasets/dataset.py for specific values? Make sure you installed with -e for the changes to be reflected without re-installation.
Thanks!

Hello,
I got the same error I am using Google colab 12.72 GB RAM TPU will you please suggest How do I replace the usage of AUTOTUNE for specific value ? How to decide the value ?


Check existing bikes when adding a loan

For https://github.com/CS2103-AY1819S1-F10-2/main/issues/130
The dummy bikes have not been removed, rather they are now used to contain the name of the real bike to use. The real bike is only searched for in AddCommand.execute().

Pull Request Test Coverage Report for Build 463

70 of 75 (93.33%)  changed or added relevant lines in 11 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 91.923%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/commands/AddCommand.java
5
6
83.33%

src/main/java/seedu/address/model/ModelManager.java
14
15
93.33%

src/main/java/seedu/address/model/LoanBook.java
14
17
82.35%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/address/model/ModelManager.java
2
84.09%

Totals

Change from base Build 450:
-0.2%

Covered Lines:
1969

Relevant Lines:
2142

💛  - Coveralls


Add base tests

Fixes #143
Changes made in this Pull Request:

Adds base tests

This will probably create a lot of failing tests that weren't properly skipped if some packages weren't installed.
PR Checklist

[ ] Tests?
[ ] Docs?
[ ] CHANGELOG updated?
[ ] Issue raised/referenced?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.54%. Comparing base (1d7e4ff) to head (f528bb4).
Report is 4 commits behind head on main.

Additional details and impacted files

Raised #152 for failures. But base tests pass -- that's a pleasant surprise.


wdWrapFront=3. Change the topic or the enum?

wdWrapFront = 3, not 6, so I edited the topic. (I'm running Microsoft Office Professional 2016.)
However, should wdWrapFront = 6 and should the enum code be changed? Is this a bug?
If the enum code were changed, Word wouldn't be affected, because both 3 and 6 work the same. To test, I stepped through the following code.
Sub TestShapeWrapFormatTypeValues()
    Dim shp As Shape
    Set shp = ActiveDocument.Shapes(1)
    shp.WrapFormat.Type = 1
    shp.WrapFormat.Type = 3
    shp.WrapFormat.Type = 1
    shp.WrapFormat.Type = 6
    shp.WrapFormat.Type = 1
End Sub

Docs Build status updates of commit e1c9637:
:clock10: Pending: waiting for processors (14 builds ahead of you)
:warning: Docs Build is busy, currently there are 14 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit e1c9637:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Word.WdWrapType.md
:bulb:Suggestion
View
Details

api/Word.WdWrapType.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


fix(costmodels): update tag rates API + add tag key validation

closes COST 713
related to https://github.com/project-koku/koku/pull/2497

Codecov Report

Merging #1731 (391e0ed) into master (6c79c17) will decrease coverage by 0.19%.
The diff coverage is 94.23%.

@@            Coverage Diff             @@
##           master    #1731      +/-   ##
==========================================
- Coverage   78.91%   78.72%   -0.20%
==========================================
  Files         264      265       +1
  Lines        4160     4212      +52
  Branches      784      796      +12
==========================================
+ Hits         3283     3316      +33
- Misses        788      804      +16
- Partials       89       92       +3

Impacted Files
Coverage Δ

src/api/rates.ts
100.00% <ø> (ø)

.../pages/costModels/components/rateForm/constants.ts
100.00% <ø> (ø)

src/pages/costModels/components/rateTable.tsx
88.88% <ø> (ø)

...ges/costModels/components/rateForm/useRateForm.tsx
81.30% <91.30%> (+1.08%)
:arrow_up:

src/pages/costModels/components/rateForm/utils.tsx
89.18% <94.11%> (+0.47%)
:arrow_up:

src/pages/costModels/components/addPriceList.tsx
100.00% <100.00%> (ø)

...rc/pages/costModels/components/rateForm/hasDiff.ts
100.00% <100.00%> (ø)

...s/costModelsDetails/components/updateRateModel.tsx
97.29% <100.00%> (+0.23%)
:arrow_up:

.../pages/costModels/createCostModelWizard/context.ts
15.78% <100.00%> (ø)

Continue to review full report at Codecov.

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

Thanks @dlabrecq


Rename n_queries into stop_if

This PR proposes to fix the naming issues/confusion. This PR also provides informative warnings if n_queries is used.
The 2 relevant options are now:
  --n_instances N_INSTANCES
                        Number of papers queried each query.Default 1.
  --stop_if STOP_IF     The number of label actions to simulate. Default, 'min' will stop simulating when all relevant records are found. Use -1 to simulate all labels actions.

  --n_queries N_QUERIES
                        Deprecated, use 'stop_if' instead.
  -n N_PAPERS, --n_papers N_PAPERS
                        Deprecated, use 'stop_if' instead.

Thanks! This is great.


Fix runtime crash for v run . in Vide

I've tried running the examples too, and they seem to be fine.


Some issues with tb mode

I have some issues, when bot begins timelane battle mode. He cannot find start button. Can you test it?

@Vincentnis bottle is working absolutely fine for me Please check you must be having the latest bot version.
2021-02-11 09:26:34,255 - timeline - INFO - Timeline Battle: 10 stages available 2021-02-11 09:26:38,710 - game - DEBUG - Loading circle is on screen. 2021-02-11 09:26:46,953 - timeline - DEBUG - Selecting team: TL_SELECT_TEAM_1 2021-02-11 09:26:47,842 - game - DEBUG - Loading circle is on screen. 2021-02-11 09:26:48,095 - game - DEBUG - Loading circle is on screen. 2021-02-11 09:26:54,484 - timeline - DEBUG - Timeline Battle: starting the fight. 2021-02-11 09:26:54,950 - game - DEBUG - Loading circle is on screen. 2021-02-11 09:27:03,192 - battle_bot - INFO - Battle is started 2021-02-11 09:27:48,130 - game - DEBUG - Loading circle is on screen. 2021-02-11 09:27:54,097 - battle_bot - INFO - Battle is over 2021-02-11 09:27:55,056 - missions - DEBUG - Clicking REPEAT button with UI Element: TL_REPEAT_BUTTON. 2021-02-11 09:27:57,158 - missions - DEBUG - After mission notifications was closed: False 2021-02-11 09:27:57,369 - game - DEBUG - Loading circle is on screen.

Working fine for me too


Handle no edges in StellarGraph.create_graph_schema's np.unique calls

numpy.unique behaves poorly on a 2D array with a zero dimension when uniquing whole rows (axis=0) instead of individual elements:
>>> import numpy as np
>>> arr = np.zeros(shape=(0, 3))

>>> np.unique(arr) # individual elements is fine
array([], dtype=float64)

>>> np.unique(arr, axis=0) # whole rows is not
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<__array_function__ internals>", line 6, in unique
  File "/opt/anaconda3/lib/python3.7/site-packages/numpy/lib/arraysetops.py", line 274, in unique
    ar = ar.reshape(orig_shape[0], -1)
ValueError: cannot reshape array of size 0 into shape (0,newaxis)

This patch special-cases having no edges (which results in zero edge triples (rows) being passed to np.unique).
See: #869

I filed https://github.com/numpy/numpy/issues/15559 and will add it as a FIXME to the code.

Codecov Report

Merging #867 into develop will decrease coverage by <.1%.
The diff coverage is 80%.

@@            Coverage Diff            @@
##           develop    #867     +/-   ##
=========================================
- Coverage     82.3%   82.3%   -<.1%
=========================================
  Files           46      46
  Lines         4970    4974      +4
=========================================
+ Hits          4090    4093      +3
- Misses         880     881      +1

Impacted Files
Coverage Δ

stellargraph/core/graph.py
98.5% <80%> (-0.4%)
:arrow_down:

Continue to review full report at Codecov.

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


The method name of setDurability/getDurability in the Header class should be setReliability/getReliability

Is this a clerical error?

Another misspelling:
The method name io.openmessaging.message.Message#extentionHeader  should be extensionHeader.

Good catch!


[Task]: Incorrect timestamp in incoming transactions

Task description
Incorrect timestamp in incoming transactions -> timestamp: 0

Requires https://github.com/iotaledger/firefly/pull/8253 first