Revert "Immediately run write closures for failed stream"

This PR caused some internal test failures. Reverting until we can find out why.

****************************************************************

libgrpc.so

     VM SIZE                                                                   FILE SIZE
 ++++++++++++++ GROWING                                                     ++++++++++++++

 -------------- SHRINKING                                                   --------------
  -0.1%     -16 src/core/ext/transport/chttp2/transport/chttp2_transport.cc     -16  -0.1%
      -2.5%     -16 grpc_chttp2_complete_closure_step                               -16  -2.5%

 -+-+-+-+-+-+-+ MIXED                                                       +-+-+-+-+-+-+-
  +0.0%     +16 [None]                                                          -32  -0.0%

  [ = ]       0 TOTAL                                                           -48  -0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,980,675      Total (<)      1,980,683

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,811,769      Total (>)     10,811,767

 No significant differences in binary sizes

Reverting this is going to reintroduce the bug in https://github.com/grpc/grpc/issues/15889. Also, this fix was made in conjunction with https://github.com/grpc/grpc/pull/15983 so who ever is going to work on this should look at both PRs.

[microbenchmarks] No significant performance differences


Inverted Pyramid Entrance

I really appreciate your hard work in making this available. You may have already fixed this, but I rolled a seed where both the North Fairy Cave and the new Inverted Pyramid Exit led to the Ganon Fall exit. Leave the Ganon area resulted in leaving the North Fairy Cave. According to the spoiler Uncle was supposed to be in the Inverted Pyramid Exit. (which I didn't even remember existed until I remember you could beat Aga1 to get up onto Hyrule Castle ledge and saw it below while I was up there)
My settings were Crossed entrances with Keysanity so Uncle was at Pyramid Hole and had Flippers. Bow was in Swamp, so I couldn't complete GT to get to that hole via Aga2. As far I could tell, it was a hard lock without knowing how to glitch through GT or glitch into swamp. I can make the spoiler log and patched rom available if needed to debug the problem further.
I cloned the repo and created the seed on June 14th and I see there are several commits since then, so maybe you already fixed it.
Thanks for your work!

Hey Aerinon. Thanks for the feedback. I do believe this issue was fixed in one of the more recent commits, but let me know if you encounter it in the most recent.

Went and tested it in seeds where Uncle and magic bat were in this location and it was working as intended. I'll leave this open for now pending any more reports of buggy behavior. Thanks once again and apologies for the unwinnable seed.

No worries.

The second seed I tried had Uncle in the same spot again and while he didn't have progression (unless you count a PoD small); it worked fine. I'm going to close this issue.


Docs Sub Sections

This patch refactors the RTFD documentation to use navigational sub-sections. Additionally this patch updates some of the Bootswatch template assets.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1075   +/-   ##
=======================================
  Coverage   34.19%   34.19%
=======================================
  Files          36       36
  Lines        2901     2901
=======================================
  Hits          992      992
  Misses       1806     1806
  Partials      103      103

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 550197a...7af8b16. Read the comment docs.


[GHSA-4943-9vgg-gr5r] Cross-site Scripting in quill

Updates

Affected products
Description

Comments
According to MITRE https://cveawg.mitre.org/api/cve/CVE-2021-3163 this CVE is disputed.

Hello @italvi, the advisory and corresponding CVE states that they are in dispute status.


Understand TempIncreaseAlertFunction#processElement in chapter 6

TempIncreaseAlertFunction#processElement has the following code to check and remove the registered timer
It has a condition prevTemp = 0.0, I would ask when this condition is true? As far as I can think, it happens for the first time that processElement method is called, but, when it is first called, should we need to delete the timer? It has not been registered yet.
Does this condition check has some special concern?
Thanks!
    if (prevTemp == 0.0 || r.temperature < prevTemp) {
      // temperature decreased. Delete current timer.
      ctx.timerService().deleteProcessingTimeTimer(curTimerTimestamp)
      currentTimer.clear()
    }

Hi @bithw1, thanks for your question. The purpose of the prevTemp = 0.0 condition is to prevent to fall into the else if branch because we don't want the first reading to be compared with 0.0 which would always be considered as a temperature increase.
But you're right, we should make that more clear in the code example.
I'll update the example.
Thanks, Fabian

Thanks @fhueske for the reply and updating the code, the logic looks much clear


Port to MOI

Still preliminary, since I don't have a BARON license on the machine this was written on :)
@tkoolen

Thank you very much! I'll try this out.

Be prepared for it to break almost immediately, I can only verify that “using BARON” doesn’t crash. I’ll pick this up next week when I’m back to my computer with the license.
On Mar 13, 2019, 6:18 PM -0300, Twan Koolen<EMAIL_ADDRESS>wrote:

Thank you very much! I'll try this out.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

OK. Yeah, there are some missing methods and things that need to change. I'm trying to get it to at least solve a very simple problem, but it'll take some effort to get to a full-featured version.

See #28.

FYI: the SCIP wrapper seems to be in pretty good shape at this point; could be a good idea to use it as a checklist of functionality to implement, if nothing else.

Just for my planning, do you still intend to work on this wrapper within the next month or so?

It’s still on my radar, but realistically I won’t get to this until July.
On Jun 12, 2019, 5:32 PM -0400, Twan Koolen<EMAIL_ADDRESS>wrote:

Just for my planning, do you still intend to work on this wrapper within the next month or so?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Alright, since this is a bit more urgent for me, mind if I take a stab?

Go for it, I will be back at my computer and able to review in ~10 days.
On Jun 14, 2019, 5:53 PM +0200, Twan Koolen<EMAIL_ADDRESS>wrote:

Alright, since this is a bit more urgent for me, mind if I take a stab?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Constantize class for periodic job sidekiq options

I found when using the Sidekiq Periodic Jobs feature, the sync_schedule! feature does not seem to work. The job class on Sidekiq::Periodic::LoopSet is a string rather than a constant, therefore I have constantized it before calling the sidekiq_options method and this seems to have fixed the integration.
Happy to test other parts of the integration with Sidekiq Enterprise if needed 🙂

Included in my bundled PR here https://github.com/cronitorio/cronitor-sidekiq/pull/17


Multisend shown as 0 actions

Describe the bug
Multisend shown as 0 actions
To Reproduce

Add Safe 0xBc79855178842FDBA0c353494895DEEf509E26bB
Open tx details of tx with nonce 183
-> Multisend with 0 actions and no action decoding.

Expected behavior
Multisend with 1 action and function name swap
Screenshots

Smartphone (please complete the following information):

Device: Pixel 3a
Android Version: 11
App Version: 2.8.0-1915

Environment
prod mainnet

I've transfered the issue as I found that the problem lies with the type we asign to value. In this case it's<PHONE_NUMBER>00000000000 which causes the error in the deserialiser.

I've transfered the issue as I found that the problem lies with the type we asign to value. In this case it's<PHONE_NUMBER>00000000000 which causes the error in the deserialiser.

Shouldn't value be a string?

Shouldn't value be a string?

https://safe-transaction.gnosis.io/api/v1/safes/0xBc79855178842FDBA0c353494895DEEf509E26bB/multisig-transactions/?nonce=183

It's returned as a number from the transaction service AFAICT. We were also casting it to u64 in the gateway, I will try writing a custom deserialiser to coerce this into a string instead.

https://safe-transaction.gnosis.io/api/v1/safes/0xBc79855178842FDBA0c353494895DEEf509E26bB/multisig-transactions/?nonce=183

It's returned as a number from the transaction service AFAICT. We were also casting it to u64 in the gateway, I will try writing a custom deserialiser to coerce this into a string instead.

if it would be returned as a string from the core services then we would just forward it.

if it would be returned as a string from the core services then we would just forward it.

Yes, we should also change it in the core services (that is why I tagged @Uxio0  ;) )

Yes, we should also change it in the core services (that is why I tagged @Uxio0  ;) )

Workaround that might be useful for us is
https://github.com/serde-rs/json/issues/434

Workaround that might be useful for us is
https://github.com/serde-rs/json/issues/434

It's fixed and will be deployed to staging/dev when github actions is done. I will move it to production next week after confirming that web it's ok. @dasanra , could you check?

It's fixed and will be deployed to staging/dev when github actions is done. I will move it to production next week after confirming that web it's ok. @dasanra , could you check?

By changing value of the multisend tx to a string without adjustments in the client gateway it will break all multisends. @Uxio0

By changing value of the multisend tx to a string without adjustments in the client gateway it will break all multisends. @Uxio0

@rmeissner I've just moved it to dev for now, I thought it might break staging. I will wait for your adjustments to move that to staging/prod

@rmeissner I've just moved it to dev for now, I thought it might break staging. I will wait for your adjustments to move that to staging/prod

I tried using Number but for some reason deserialization fails. Could have something to do with the use of serde:untagged, but I sunk too much time into it last friday. I will prepare the adjustment to expect a String and then we can coordinate the deployment to minimise the time where multiSend fails in the gateway. Is that ok?


Update text to reflect changes in Dr Jekyll versions on PG

A lot has changed with PG's Dr Jekylls since the guide was originally written: the one that used to be the most downloaded is now outpaced 8-1 by the one the guide uses, and the biggest problem stated by the guide (page numbers) are no longer present. In order to not have to change the wording if the situation changed again, I just referred to the versions generically (rather than "most/least popular"), left the reason for the choice (cleaner transcription), but updated why we thought it was cleaner.
See what you think; there isn't a lot of difference between the two versions now other than what's stated here; the version we're using has less commas, and more modern compound words (preoccupied rather than pre-occupied, anyone vs any one, etc.).

Yes, I think that works. Thanks!


Change required for AppCenter: Don't mention "elementary"

Thanks for submitting your 0.4.6 update to AppCenter! However, while reviewing the submission, we found an issue that needs to be resolved.
https://github.com/TenderOwl/Norka/blob/d34b69492df72ec7b199d18a95fbdb8c3eaa539d/data/com.github.tenderowl.norka.appdata.xml.in#L49
https://github.com/TenderOwl/Norka/blob/d34b69492df72ec7b199d18a95fbdb8c3eaa539d/data/com.github.tenderowl.norka.appdata.xml.in#L57
As noted in the Publishing Requirements → Metadata Requirements, app metadata should not mention elementary. In rare, legitimate cases, mentions must abide by the elementary Brand Guidelines. I realize this was also used in previous release descriptions and appears to have been missed in a previous review. However, all instances should be removed to pass review. At the very least, ensure your usage follows the brand requirements, and it can be re-evaluated when re-submitted.
Once you've made the requested changes, create a new release on GitHub and re-submit it to the AppCenter Dashboard. As always, if you have any questions you can reply here.

I must admit I read them over a year ago. Thanks for reminding :)

No worries. :) Thanks for the quick turnaround! 0.4.7 has been approved.


Add a screenshot to the readme

We use https://github.com/charmbracelet/vhs to create these in Ratatui
I'd caution against storing the image directly in your repo though as it tends to cause your repo to get bloated over time.
VHS has a publish command which is useful.

Thanks for the tip. I ended up going with asciinema, just because it's a tool I'm familiar with.


show menu on Row hover

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Your Environment

Tech
Version

Material-UI

MUI-datatables

React

browser

etc

Take a look at the setRowProps option. It allows you to set attributes and methods on the row (TR) tag. You could create an onMouseOver method that showed the menu.

Take a look at the setRowProps option. It allows you to set attributes and methods on the row (TR) tag. You could create an onMouseOver method that showed the menu.

thanks buddy

@patorjk Thank you for this tip. So using that option I am able to fire a hover event for the row, now my question how can I rerender the row with buttons. For example, I thought one solution would be to create a method that setRowHoverState = true, but then how could I use that state value to conditionally render the buttons I need.

@ospireon  I have also faced same issue but i have used  "Supported customizable components" in my case i have used Checkbox, selectableRows: 'single',setRowProps
const CustomActionbox = (props) => {
    let newProps = Object.assign({}, props);
    newProps.color = props['data-description'] === 'row-select' ? 'secondary' : 'primary';
    if (props['data-description'] === 'row-select') {
      return (
               <div id={"Action-"+props.id} style={actionStyle.icon}

                            <MenuItem> <MailIcon></MailIcon>
                              <EditIcon></EditIcon>
                              <BlockIcon></BlockIcon></MenuItem>

                            }
        />
      );
    } else {
      return (<Checkbox {...newProps} />);
    }
  };

setRowProps to have onMouseEnter & onMouseLeave
setRowProps:(row, dataIndex, rowIndex) => {
                return {
                  onMouseEnter: (e)=>handleRowHover(e,rowIndex),
                  onMouseLeave:(e) => handleRowHoverLeave(e, rowIndex)
                  ,
                 // style: { border: '3px solid blue' },
                };
              },

handleRowHover , handleRowHoverLeave example
const handleRowHover = (event,rowIndex) => {
  let row = document.getElementById("Action-MUIDataTableSelectCell-"+rowIndex);
  row.style.display= "block";
}
const handleRowHoverLeave = (event,rowIndex) => {
  let row = document.getElementById("Action-MUIDataTableSelectCell-"+rowIndex);
  row.style.display= "none";
}

Setting new CustomCheckbox in MUIDataTable
 components={{
              Checkbox: CustomActionbox,
            }

            }


Add execute permissions to shell scripts

The build scripts don't have the execute bit set, which is a mild "missing stair." This PR just makes them executable, for convenience.

thank you for this fix -- I didn't know how to do it!


Win10 displays blank pages and opens compatibility options to normal

What OS are you using (uname -a, or Windows version)?
win10 18363 x64

What programming language are you using (C/C++/Go/Rust)?
go version go1.13.5 windows/amd64

What did you expect to see and what you saw instead?
 Win10 displays blank pages and opens compatibility options (win7) to normal

What version of Edge (Chromium) do you have installed? If it's not installed or is the stable version (i.e. not Beta, Dev or Canary) it uses EdgeHTML which doesn't support a load of more JS features: https://caniuse.com/#compare=edge+17,edge+18
If you're using webview to load a JS app that relies on any of the unsupported features and don't use webpack + polyfills it would throw an error resulting in a white screen.
Try loading a page that would definitely work to make sure that's not the issue e.g. w.Navigate("https://google.com/")

Unfortunately the DLL files at /dll are outdated so you need to rebuild them on a windows machine by running /script/build.bat.
Alternatively you can also use these: https://github.com/geaz/sharpWebview/tree/master/libs
If you are using up-to-date DLLs, what version of Edge (Chromium) do you have installed? If it's not installed or is the stable version (i.e. not Beta, Dev or Canary) webview uses EdgeHTML which doesn't support a load of more JS features: https://caniuse.com/#compare=edge+17,edge+18
If you're using webview to load a JS app that relies on any of the unsupported features and don't use webpack + polyfills it would throw an error resulting in a white screen.
Try loading a page that would definitely work to make sure that's not the issue e.g. w.Navigate("https://google.com/")

Unfortunately the DLL files at /dll are outdated so you need to rebuild them on a windows machine by running /script/build.bat.
Alternatively you can also use these: https://github.com/geaz/sharpWebview/tree/master/libs
If you are using up-to-date DLLs, what version of Edge (Chromium) do you have installed? If it's not installed or is the stable version (i.e. not Beta, Dev or Canary) webview uses EdgeHTML which doesn't support a load of modern JS features: https://caniuse.com/#compare=edge+17,edge+18
If you're using webview to load a JS app that relies on any of the unsupported features and don't use webpack + polyfills it would throw an error resulting in a white screen.
Try loading a page that would definitely work to make sure that's not the issue e.g. w.Navigate("https://google.com/")

ok, thanks!

@xiusin 大哥，搞定了没，为撒我重新运行了script了 还是不行？


How to use different slider instead of default slider with one input

I had gone through docs but also i am not able to find how to use different slider given by vue-component-slider instead of default slider with one input

Can't understand what you mean, can you describe in detail?

i mean the default  slider is showing for only one range but in pretty slider example you have provided with r=two input ranges right so how can i configure pretty slider example n my app

Just set the value to an array type.


Reduce heap size usage during unit tests

Signed-off-by: Dave Lago<EMAIL_ADDRESS>Coming from #1368, fixing merge conflicts here to save @vrozov the trouble.
Category:
Maintenance
Description of changes:
Change fork heap size and use unpooled netty byte buffer allocator
Why these changes are required?
Lower heap usage during CI to free up more memory for direct buffers
Check List

N/A New functionality includes testing
N/A New functionality has been documented
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1610 (45eaf84) into main (7ebb2ca) will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #1610      +/-   ##
============================================
+ Coverage     64.64%   64.70%   +0.06%
- Complexity     3218     3219       +1
============================================
  Files           247      247
  Lines         17351    17351
  Branches       3082     3082
============================================
+ Hits          11216    11227      +11
+ Misses         4585     4574      -11
  Partials       1550     1550

Impacted Files
Coverage Δ

.../dlic/auth/http/jwt/keybyoidc/KeySetRetriever.java
79.26% <0.00%> (+2.43%)
:arrow_up:

.../auth/http/jwt/keybyoidc/SelfRefreshingKeySet.java
68.30% <0.00%> (+4.92%)
:arrow_up:

...t/keybyoidc/AuthenticatorUnavailableException.java
40.00% <0.00%> (+20.00%)
:arrow_up:

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 7ebb2ca...45eaf84. Read the comment docs.

You are 100% correct... at this point it seems close to merging, so let's close this one then. #1161


add settings cache store

this cache is missing, causes a lot of requests to land on the storage.

closing as it is actually unneded AFAICT


Working Game Loop and Dev Sync

Looking at this, it's over 1000 lines of changes, some of which are the same commit multiple times. Is there any way you can cherry pick your own changes and squash it into a single commit?


code html

brother can you give me the code html

This was literally asked and issue before, please stop making unnecessary posts, just look up for issues before, if you're having error code ask at StackOverflow , now if you encounter with an, actual, bug then come here.

i'm just want examples php for how can i save events in database


Refactor prefetch

Current coverage is 79.57%

Merging #263 into master will increase coverage by +1.19% as of fd38434

@@            master    #263   diff @@
======================================
  Files           12      12
  Stmts         1314    1371    +57
  Branches         0       0
  Methods          0       0
======================================
+ Hit           1030    1091    +61
  Partial          0       0
+ Missed         284     280     -4

Review entire Coverage Diff as of fd38434

Powered by Codecov. Updated on successful CI builds.


Orchestrator address <> EVM address mapping

Currently, as defined by https://github.com/celestiaorg/orchestrator-relayer/pull/66, we are indexing confirms by <nonce>:<orchestrator_address>.
Also, when defining a valset on the state machine, we're keeping a list of validators EVM addresses.
The problem is, for a given confirm to be retrieved, we will need to have access to its corresponding orchestrator_address which we don't have access to all the time, since the valsets only keep the EVM addresses.
Suggestion: change the keys of the confirms from <nonce>:<orchestrator_address> to <nonce>:<evm_address>.
This way, we will have access to any confirm provided we have the valset that signed it, which is already stored in the state machine.

cc @evan-forbes @rahulghangas

makes sense to me. we might need to also think about how the relayer/orchestrator listens for evm address changes

IF a validator changes its EVM address, it will need to restart its orchestrator with the private key corresponding to it.
For the relayer, the EVM changes will be reflected by valsets, and it will look for confirms according to the new EVM address.
Also, this change I guess is inevitable if we decide to delete the orchestrator address.


TabNavigator screen and Modals

I'm trying to use this  library to show a custom modal dialog. I've a StackNavigator with three screens and on of these, the MainScreen, is a TabNavigator on which I set up the following header:
static navigationOptions = ({navigation}) => {
    const { params } = navigation.state
    return {
        headerRight: (
            <Content>
                <Grid>
                    <Col style={styles.headerButton}>
                        <TouchableHighlight style={styles.infoButton} onPress={() => {params._onAbout()}} underlayColor='lightgrey'>
                            <Icon ios='ios-information-circle' android='md-information-circle' style={{fontSize: 24}} />
                        </TouchableHighlight>
                    </Col>
                    <Col style={styles.headerButton}>
                        <TouchableHighlight style={styles.logoutButton} onPress={() => {params._onLogout()}} underlayColor='lightgrey'>
                            <Icon ios='ios-exit-outline' android='md-exit' style={{fontSize: 24}} />
                        </TouchableHighlight>
                    </Col>
                </Grid>
            </Content>
        )
    }
}

The second button opens a simple Alert (from react-native). With the first button I would open a custom modal to show app and developer details.
The main screen has the following render method;
render(): JSX.Element {
    return (
        <TabContent />
    )
}

where TabContent is simply my tabs configuration:
const TabContent: NavigationContainer = TabNavigator({
    Courses: {
        screen: CoursesScreen,
        navigationOptions: ({ navigation }) => ({
            // title: `${navigation.state.params.user}'s Courses`,
            tabBarLabel: 'Corsi',
            tabBarIcon: ({ tintColor, focused }) => (
                <Icon ios={focused ? 'ios-calendar' : 'ios-calendar-outline'} android='md-calendar' style={{fontSize: 18, color: tintColor}} />
            )
        })
    },
    Profile: {
        screen: ProfileScreen,
        navigationOptions: ({ navigation }) => ({
            // title: `${navigation.state.params.user}'s Profile`,
            tabBarLabel: 'Profilo',
            tabBarIcon: ({ focused, tintColor }) => (
                <Icon ios={focused ? 'ios-person' : 'ios-person-outline'} android='md-person' style={{fontSize: 18, color: tintColor}} />
            )
        })
    }
    }, {
    tabBarOptions: {
        activeTintColor: '#F3E03B',
        showIcon: true,
        labelStyle: {
            fontWeight: 'bold'
        },
        style: {
            backgroundColor: 'black'
        }
    }
})

The library linked above requires a layout like this:
<View style={styles.wrapper}>

    <Modal style={[styles.modal, styles.modal3]} position={"center"} ref={"modal3"} isDisabled={this.state.isDisabled}>
      <Text style={styles.text}>Modal centered</Text>
      <Button onPress={() => this.setState({isDisabled: !this.state.isDisabled})} style={styles.btn}>Disable ({this.state.isDisabled ? "true" : "false"})</Button>
    </Modal>
</View>

but if I put  TabContent tab inside that view the tab navigator doesn't work anymore.
Is there a way to make my TabNavigator and Modal from that library work together?

software
version

react-navigation
1.0.0-beta.11

react-native
0.46.4

node
7.8.0

yarn
0.27.5

I found a solution.
Using Container as root component allow to nest the TabContent aside other components:
render(): JSX.Element {
    return (
        <Container>
            <Spinner visible={this.props.isLoggingOut} textContent={'Disconnessione in corso...'} textStyle={{color: '#FFF'}} />

            <TabContent screenProps={{ isAdmin: this.props.isAdmin }} />

            <Modal style={styles.aboutModal} position={'center'} ref={'aboutModal'} isDisabled={false}>
                <Text>Modal centered</Text>
            </Modal>
        </Container>
    )
}

@bm-software May I ask what does the Container mean? I encountered with the same problem, and try your solution, but still ocurred error says 'avigation.state.routes.forEach' called on undefined object.

@Kinka Container is a NativeBase component. I think that your error is not releated with that issues. In my case the problem was that when opening the modal nothing happened and the TabNavigator became blank.

In my case, I just cannot wrap TabNavigator inside React.Component or any other Components. So I wonder why you TabContent can be put inside Container, does it have any magic, that's what confused me. However, I tried another solution by putting my PopupDialog in a Modal component, and it looks good to me.
Thanks your reply.

const TabNavigation = createBottomTabNavigator(
  {
    // routes
  },
  {
    navigationOptions: ({ navigation }) => ({
      tabBarOnPress: ({
        navigation, defaultHandler,
      }) => {
        if (navigation.state.routeName === YOUR_MODAL_ROUTE)
          // call globally declared modal stack nav
        else
          defaultHandler()
      },
    }),
  }
)

How I figured this out was to...

Clone this repo
grep 'tabBarOnPress' . -rli
This last part is more important for you.


fix(app): add function binding

Not sure how this wasn't causing your app to fail during the recording, but trySearch wasn't bound in app.tsx and was causing issues for me.
Since you weren't using arrow functions, I chose to bind this in the constructor.

Closing this issue because we've released a new version of the TypeScript course, where this is not a problem anymore


New doesn’t call the constructor

As noted in issue #60 when using new the constructor doesn’t get called.

new does get called and it runs the code but it never calls the constructor.

Ok im really dumb, I was calling the wrong constructor. lets just forget this ever happened


Expose requests verify parameter to Collections()

Defaults to True but allows disabling TLS server verification or
passing a custom CA certificate.
Closes #17

Looks good, @philroyer-phantom ! I'm not worried about the build failure on the nightly Python build (I'll have to see about turning that off), but can you sign the OASIS CLA before I merge this?

Thanks! looks good. I think I fixed the cause of the build failures in the master branch, so once I merge this it should work.


Update ipex notebook description

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


[Feature Request]: Support WebpackManifestPlugin and ModuleFederationPlugin

What problem does this feature solve?
这两个plugin是业务中很常用的插件，很多业务依赖
希望能支持一下
What does the proposed API of configuration look like?
like webpack

it is on the roadmap

feel free to reopen this issue if you have any further questions.


HUM-537 : refactor how replication gets called on dev

i guess i'll try adding the next stuff on top of this since nobody is reviewing


Add missing stddef.h include

This was causing bindings generation error on some of our computers. The size_t type appeared to be missing.
Fixes #29

Thanks!


Can not create a DiskPool in Mayastor v2.0.0-rc.2

Describe the bug
Hi all :)
I bumped into an issue where creating a DiskPool in Mayastor results in a 'Error' status for that DiskPool.
To Reproduce
To deploy Mayastor v2.0.0-rc.2 I am doing the following on a fresh k8s cluster:
# Download kubectl artifact from https://github.com/openebs/mayastor-extensions/actions/runs/4066024991
sudo unzip kubectl-mayastor-x86_64-linux-musl.zip -d /usr/local/bin
sudo chmod +x /usr/local/bin/kubectl-mayastor

kubectl label node worker-node01 openebs.io/engine=mayastor
kubectl label node worker-node02 openebs.io/engine=mayastor
kubectl label node worker-node03 openebs.io/engine=mayastor

helm repo add mayastor https://openebs.github.io/mayastor-extensions/
helm install mayastor mayastor/mayastor -n mayastor --create-namespace --set="etcd.replicaCount=1,etcd.persistence.storageClass=manual,etcd.livenessProbe.initialDelaySeconds=5,etcd.readinessProbe.initialDelaySeconds=5,loki-stack.loki.persistence.storageClassName=manual" --version 2.0.0-rc.2

After all pods listed by kubectl get pods -n mayastor were running I tried to create a DiskPool with a conventional NVMe SSD:
cat <<EOF | kubectl create -f -
apiVersion: "openebs.io/v1alpha1"
kind: DiskPool
metadata:
  name: pool-on-node-1
  namespace: mayastor
spec:
  node: worker-node01
  disks: ["/dev/nvme0n1"]
EOF

This is the drive I am trying to create a DiskPool with:
vagrant@worker-node01:~$ sudo nvme list
Node             SN                   Model                                    Namespace Usage                      Format           FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1<PHONE_NUMBER>69         WUS4B7696DSP303                          1           0.00   B / 960.20  GB      4 KiB +  0 B   R611000F

The DiskPool ends up in an 'Error' state:
vagrant@master-node:~$ kubectl get dsp -n mayastor
NAME             NODE            STATUS   CAPACITY   USED   AVAILABLE
pool-on-node-1   worker-node01   Error    0          0      0

The kubectl logs mayastor-operator-diskpool-76d64db88b-wjwvd -n mayastor shows:
...
  2023-02-03T12:11:08.888607Z  INFO operator_diskpool: created, crd: "diskpools.openebs.io"
    at k8s/operators/src/diskpool/main.rs:637

  2023-02-03T12:11:13.890142Z  INFO operator_diskpool: Starting DiskPool Operator (dsp) in namespace mayastor
    at k8s/operators/src/diskpool/main.rs:764

  2023-02-03T12:26:22.007136Z  INFO operator_diskpool: new resource_version inserted, name: "pool-on-node-1"
    at k8s/operators/src/diskpool/main.rs:161
    in operator_diskpool::reconcile with name: worker-node01, status: None
    in kube_runtime::controller::reconciling object with object.ref: DiskPool.v1alpha1.openebs.io/pool-on-node-1.mayastor, object.reason: object updated

  2023-02-03T12:26:22.009907Z  INFO operator_diskpool: new resource_version inserted, name: "pool-on-node-1"
    at k8s/operators/src/diskpool/main.rs:161
    in operator_diskpool::reconcile with name: worker-node01, status: Some(DiskPoolStatus { state: Creating, capacity: 0, used: 0, available: 0 })
    in kube_runtime::controller::reconciling object with object.ref: DiskPool.v1alpha1.openebs.io/pool-on-node-1.mayastor, object.reason: object updated

  2023-02-03T12:26:22.025045Z ERROR openapi::clients::tower::configuration: failed to issue request, status: 500 Internal Server Error
    at openapi/src/clients/tower/configuration.rs:234
    in openapi::clients::tower::configuration::HTTP with http.method: PUT, http.url: http://mayastor-api-rest:8081/v0/nodes/worker-node01/pools/pool-on-node-1, otel.name: PUT http://mayastor-api-rest:8081/v0/nodes/worker-node01/pools/pool-on-node-1, otel.kind: client, http.status_code: 500, otel.status_code: "ERROR", otel.status_code: "ERROR", http.status_code: 500
    in operator_diskpool::create_or_import with name: "pool-on-node-1", status: Some(DiskPoolStatus { state: Creating, capacity: 0, used: 0, available: 0 })
    in operator_diskpool::reconcile with name: worker-node01, status: Some(DiskPoolStatus { state: Creating, capacity: 0, used: 0, available: 0 })
    in kube_runtime::controller::reconciling object with object.ref: DiskPool.v1alpha1.openebs.io/pool-on-node-1.mayastor, object.reason: object updated

  2023-02-03T12:26:22.025098Z  WARN operator_diskpool: HTTP response error: error in response: status code '500 Internal Server Error', content: 'RestJsonError { details: "create_pool::status: Internal, message: \"Failed to create a BDEV '/dev/nvme0n1'\", details: [], metadata: MetadataMap { headers: {\"content-type\": \"application/grpc\", \"date\": \"Fri, 03 Feb 2023 12:26:22 GMT\"} }", message: "SvcError::GrpcRequestError", kind: Internal }', retry scheduled @Fri, 03 Feb 2023 12:26:27 +0000 (5 seconds from now)
    at k8s/operators/src/diskpool/main.rs:669
    in kube_runtime::controller::reconciling object with object.ref: DiskPool.v1alpha1.openebs.io/pool-on-node-1.mayastor, object.reason: object updated

  2023-02-03T12:26:27.039544Z ERROR openapi::clients::tower::configuration: failed to issue request, status: 500 Internal Server Error
    at openapi/src/clients/tower/configuration.rs:234
    in openapi::clients::tower::configuration::HTTP with http.method: PUT, http.url: http://mayastor-api-rest:8081/v0/nodes/worker-node01/pools/pool-on-node-1, otel.name: PUT http://mayastor-api-rest:8081/v0/nodes/worker-node01/pools/pool-on-node-1, otel.kind: client, http.status_code: 500, otel.status_code: "ERROR", otel.status_code: "ERROR", http.status_code: 500
    in operator_diskpool::create_or_import with name: "pool-on-node-1", status: Some(DiskPoolStatus { state: Creating, capacity: 0, used: 0, available: 0 })
    in operator_diskpool::reconcile with name: worker-node01, status: Some(DiskPoolStatus { state: Creating, capacity: 0, used: 0, available: 0 })
    in kube_runtime::controller::reconciling object with object.ref: DiskPool.v1alpha1.openebs.io/pool-on-node-1.mayastor, object.reason: error policy requested retry
...

The state: Creating, capacity: 0, used: 0, available: 0 looks strange to me.
All 3 mayator-io-engine pods show the same logs with no further errors related to "Failed to create a BDEV":
vagrant@master-node:~$ kubectl logs mayastor-io-engine-m94d5 -n mayastor
Defaulted container "metrics-exporter-pool" out of: metrics-exporter-pool, io-engine, agent-core-grpc-probe (init), etcd-probe (init)
Metrics Exporters (metrics-exporter-pool) version 0.1.0, revision 4d983a9f46e5 (v2.0.0-rc.2)
  2023-02-03T12:11:11.955332Z ERROR exporter::pool::client::grpc_client: Grpc client connection error, retrying after 10s, error: transport error
    at exporter/src/pool/client/grpc_client.rs:122

  2023-02-03T12:11:21.956838Z ERROR exporter::pool::client::grpc_client: Grpc client connection error, retrying after 10s, error: transport error
    at exporter/src/pool/client/grpc_client.rs:122

  2023-02-03T12:11:31.958599Z ERROR exporter::pool::client::grpc_client: Grpc client connection error, retrying after 10s, error: transport error
    at exporter/src/pool/client/grpc_client.rs:122

  2023-02-03T12:11:41.960064Z ERROR exporter::pool::client::grpc_client: Grpc client connection error, retrying after 10s, error: transport error
    at exporter/src/pool/client/grpc_client.rs:122

  2023-02-03T12:11:51.961760Z ERROR exporter::pool::client::grpc_client: Grpc client connection error, retrying after 10s, error: transport error
    at exporter/src/pool/client/grpc_client.rs:122

  2023-02-03T12:12:01.964010Z  INFO actix_server::builder: Starting 8 workers
    at /build/cargo-vendor-dir/actix-server-2.1.1/src/builder.rs:200

  2023-02-03T12:12:01.964039Z  INFO actix_server::server: Tokio runtime found; starting in existing Tokio runtime
    at /build/cargo-vendor-dir/actix-server-2.1.1/src/server.rs:197

Expected behavior
I would expect to have a DiskPool on worker-node01 in the 'Created' state.
OS info

Distro: Debian 11
Kernel 5.19.0
MayaStor v2.0.0-rc.2

Additional context
Using Mayastor v1.0.x my setup works and I can create a MayastorPool with the same SSD.

Can you share logs from the io-engine container?

vagrant@master-node:~$ kubectl logs mayastor-io-engine-m94d5  -c io-engine -n mayastor
[2023-02-03T12:12:01.074956515+00:00  INFO io_engine:io-engine.rs:179] Engine responsible for managing I/Os version 1.0.0, revision 19dda9cc4057 (v2.0.0-rc.2)
[2023-02-03T12:12:01.075090696+00:00  INFO io_engine:io-engine.rs:158] free_pages 2MB: 1024 nr_pages 2MB: 1024
[2023-02-03T12:12:01.075103741+00:00  INFO io_engine:io-engine.rs:159] free_pages 1GB: 0 nr_pages 1GB: 0
[2023-02-03T12:12:01.075190063+00:00  INFO io_engine:io-engine.rs:211] kernel io_uring support: yes
[2023-02-03T12:12:01.075208477+00:00  INFO io_engine:io-engine.rs:215] kernel nvme initiator multipath support: yes
[2023-02-03T12:12:01.075239965+00:00  INFO io_engine::core::env:env.rs:791] loading mayastor config YAML file /var/local/io-engine/config.yaml
[2023-02-03T12:12:01.075259532+00:00  INFO io_engine::subsys::config:mod.rs:168] Config file /var/local/io-engine/config.yaml is empty, reverting to default config
[2023-02-03T12:12:01.075271464+00:00  INFO io_engine::subsys::config::opts:opts.rs:151] Overriding NVMF_TCP_MAX_QUEUE_DEPTH value to '32'
[2023-02-03T12:12:01.075281984+00:00  INFO io_engine::subsys::config::opts:opts.rs:151] Overriding NVME_QPAIR_CONNECT_ASYNC value to 'true'
[2023-02-03T12:12:01.075290410+00:00  INFO io_engine::subsys::config:mod.rs:216] Applying Mayastor configuration settings
TELEMETRY: No legacy callbacks, legacy socket not created
[2023-02-03T12:12:01.193782072+00:00  INFO io_engine::core::mempool:mempool.rs:50] Memory pool 'bdev_io_ctx' with 65535 elements (24 bytes size) successfully created
[2023-02-03T12:12:01.196872893+00:00  INFO io_engine::core::mempool:mempool.rs:50] Memory pool 'nvme_ctrl_io_ctx' with 65535 elements (72 bytes size) successfully created
[2023-02-03T12:12:01.196904863+00:00  INFO io_engine::core::env:env.rs:846] Total number of cores available: 2
[2023-02-03T12:12:01.208482403+00:00  INFO io_engine::core::reactor:reactor.rs:182] Scheduled SPDK thread 'init_thread' (0x562cfc2d6200) on core #1
[2023-02-03T12:12:01.208516808+00:00  INFO io_engine::core::reactor:reactor.rs:158] Init thread ID 1
[2023-02-03T12:12:01.208636201+00:00  INFO io_engine::core::reactor:reactor.rs:301] Starting reactor polling loop core=2 tid=8
[2023-02-03T12:12:01.209694023+00:00  INFO io_engine::core::env:env.rs:875] All cores locked and loaded!
[2023-02-03T12:12:01.376213815+00:00  INFO io_engine::bdev::nexus::nexus_module:nexus_module.rs:36] Initializing Nexus CAS Module
[2023-02-03T12:12:01.376477959+00:00  INFO io_engine::core::reactor:reactor.rs:182] Scheduled SPDK thread 'mayastor_nvmf_tcp_pg_core_1' (0x562cfc2dc4d0) on core #1
[2023-02-03T12:12:01.376691750+00:00  INFO io_engine::core::reactor:reactor.rs:182] Scheduled SPDK thread 'mayastor_nvmf_tcp_pg_core_2' (0x562cfc2dc820) on core #2
[2023-02-03T12:12:01.419927622+00:00  INFO io_engine::core::env:env.rs:749] Using 'MY_POD_IP' environment variable for IP address for NVMF target network interface
[2023-02-03T12:12:01.420125382+00:00  INFO io_engine::subsys::nvmf::target:target.rs:263] nvmf target listening on <IP_ADDRESS>:(4421,8420)
[2023-02-03T12:12:01.420152453+00:00  INFO io_engine::subsys::nvmf::subsystem:subsystem.rs:542] Subsystem start in progress... self=NvmfSubsystem { id: 0, subtype: "Discovery", subnqn: "nqn.2014-08.org.nvmexpress.discovery", sn: "00000000000000000000", mn: "Mayastor NVMe controller", allow_any_host: 1, ana_reporting: 0, listeners: Some([Transport ID { trtype: 3, trstring: "TCP", traddr: "<IP_ADDRESS>", trsvcid: "8420" }]) }
[2023-02-03T12:12:01.420175045+00:00  INFO io_engine::subsys::nvmf::subsystem:subsystem.rs:593] Subsystem start completed: Ok self=NvmfSubsystem { id: 0, subtype: "Discovery", subnqn: "nqn.2014-08.org.nvmexpress.discovery", sn: "00000000000000000000", mn: "Mayastor NVMe controller", allow_any_host: 1, ana_reporting: 0, listeners: Some([Transport ID { trtype: 3, trstring: "TCP", traddr: "<IP_ADDRESS>", trsvcid: "8420" }]) }
[2023-02-03T12:12:01.420182559+00:00  INFO io_engine::subsys::nvmf::target:target.rs:359] nvmf target accepting new connections and is ready to roll..💃
[2023-02-03T12:12:01.471770589+00:00  INFO io_engine::core::reactor:reactor.rs:182] Scheduled SPDK thread 'iscsi_poll_group_1' (0x562cfc336ff0) on core #1
[2023-02-03T12:12:01.471981974+00:00  INFO io_engine::core::reactor:reactor.rs:182] Scheduled SPDK thread 'iscsi_poll_group_2' (0x562cfc337340) on core #2
[2023-02-03T12:12:01.472018072+00:00  INFO io_engine::core::env:env.rs:775] RPC server listening at: /var/tmp/mayastor.sock
[2023-02-03T12:12:01.496530306+00:00  INFO io_engine::persistent_store:persistent_store.rs:83] Connected to etcd on endpoint mayastor-etcd:2379
[2023-02-03T12:12:01.496675067+00:00  INFO io_engine::grpc::server:server.rs:72] [V1] gRPC server configured at address <IP_ADDRESS>:10124
[2023-02-03T12:12:01.496814127+00:00  INFO io_engine::subsys::registration::registration_grpc:registration_grpc.rs:216] Registering '"worker-node01"' with grpc server <IP_ADDRESS>:10124 ...
[2023-02-03T12:26:22.020180334+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:26:22.020244344+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:26:22.020297944+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:26:22.020326858+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:26:22.020337098+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:26:27.034864141+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:26:27.034920968+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:26:27.034971372+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:26:27.034995648+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:26:27.035002841+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:26:32.050536074+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:26:32.050580999+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:26:32.050621444+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:26:32.050643305+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:26:32.050650018+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:26:37.064786435+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:26:37.064829025+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:26:37.064870823+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:26:37.064894458+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:26:37.064901120+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:26:42.080473382+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:26:42.080520962+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:26:42.080568040+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:26:42.080596543+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:26:42.080607524+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:26:47.094461226+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:26:47.094507663+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:26:47.094552046+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:26:47.094582123+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:26:47.094592322+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:26:52.108327314+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:26:52.108373581+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:26:52.108411372+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:26:52.108434305+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:26:52.108440987+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:26:57.122267233+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:26:57.122320583+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:26:57.122368903+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:26:57.122393079+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:26:57.122400643+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:27:02.135411271+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:27:02.135510096+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:27:02.135575078+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:27:02.135599264+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:27:02.135607539+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'
[2023-02-03T12:27:07.150409457+00:00  INFO io_engine::grpc::v1::pool:pool.rs:163] CreatePoolRequest { name: "pool-on-node-1", uuid: None, disks: ["/dev/nvme0n1"], pooltype: Lvs }
[2023-02-03T12:27:07.150462867+00:00  INFO io_engine::lvs::lvs_store:lvs_store.rs:417] Creating or importing lvs 'pool-on-node-1' from 'aio:///dev/nvme0n1'...
[2023-02-03T12:27:07.150516177+00:00 ERROR mayastor::spdk:bdev_aio.c:761] Specified block size 512 is smaller than auto-detected block size 4096
[2023-02-03T12:27:07.150540443+00:00 ERROR io_engine::bdev::aio:aio.rs:113] Aio '/dev/nvme0n1' error: Failed to create a BDEV '/dev/nvme0n1': EINVAL: Invalid argument
[2023-02-03T12:27:07.150548117+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:413] error=InvalidBdev: Failed to create a BDEV '/dev/nvme0n1'

So I remember that I recently changed the LBA format on that disk. I reverted back to a 512 bytes and now the DiskPool came up :)
Thank you!

Seems like spdk is not detecting the block size correctly though so perhaps something to look into within spdk?
You could try overriding the block size though by using the uri format, eg: aio:///dev/nvme0n1?blk_size=512

The last two sentences of my last reply may have been lost a bit due to the log :)
SPDK reported the block size correctly as 4096 (see on disk format of /dev/nvme0n1 of the initial problem description).
As I reformatted the drive to 512 bytes LBA format the creation of the DiskPool was successful.
Thanks again :)


Add Dockerfile and pkg list for OKD

/retes

/retest

/approve

Unfortunate that there's so much duplication, but it doesn't seem easy to avoid.
/lgtm


AppAuthentication library usage is unclear about returning Access Token and not Json

Hi,
I found out the hard way that the code
var accessToken = await azureServiceTokenProvider.GetAccessTokenAsync("https://management.azure.com/");
returns the access token string, and not a Json body.
How will I know when the token is expired and to ask for a new access token?
Does the AppAuthentication library takes care of caching for me (so I have to call the method each time)?
It's unclear.
Thanks

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

ID: a93ee241-6e6c-12c6-cb14-7c5275bda78d
Version Independent ID: 9db0ec07-7ee2-a27e-66da-eb04487a0d11
Content: Managed Service Identity in App Service and Azure Functions
Content Source: articles/app-service/app-service-managed-service-identity.md
Service: app-service
Product: unspecified
GitHub Login: @mattchenderson
Microsoft Alias: mahender

Hey @michaelscodingspot - Sorry for delay in response here. The AzureServiceTokenProvider class, from which the GetAccessTokenAsync method derive from, caches the token in memory and retrieves it from Azure AD just before expiration. To learn more, check out this documentation: https://docs.microsoft.com/en-us/azure/key-vault/service-to-service-authentication#using-the-library
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Tests consistently timing out for some, but consistently work for others

I'm working on a discord bot with a team of 3 other people. 2 people on our team are able to run our integration tests successfully and consistently. The other 2 people, when they run the exact same tests, with the exact same bot permissions for both the testee and tester bots, with the exact same channel permissions, they fail.
For example, the test
@test_collector()
async def test_ping(interface):
	await interface.assert_reply_contains("p!ping", "pong")

It's output:

Here's what we know so far:

It's not a permissions issue, because the working bots and broken bots have the exact same permissions
It's not an issue with the test's code
We confirmed that the bot does receive the events.
It's not an issue with any one person's computer, because we swapped tokens and the bug persistent on the bots that were having issues, plus we are using docker images

We just found out that the bots weren't getting the correct target id


Initial commit of the webhook.nodejs app

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

What's in this Pull Request?
Initial commit of the Webhook.Nodejs sample application. With this application, you can manage webhooks for a specific list.

Hi @estruyf, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

thx Elio, looks really good and absolutely something to get included. We'll get this processed post-Ignite, but soon.

thx @estruyf - looks really good and shows again additional technical topics, so great to have it included.


fetch undefined

Hi !
I would like to try to use this amazing tool !

I have imported yaml, correctly, i fill token and everything

But when i click on getPosition or other option, i got
["« fetch » est indéfini", "https://script-lab-runner.azureedge.net/?backButton=true", 212, 5, ReferenceError]

Library tab seems to be OK

Do you have any idea what is going wrong ?

Hi Stéphane,
If you add this script to the list of libraries, does that solve the reference error?
https://cdnjs.cloudflare.com/ajax/libs/fetch/2.0.4/fetch.js
Thanks,
Bas

Yes it's works ! Thx


Release ParmEd 4.1.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@simonbray or @jaimergp - can one of you merge this PR and/or give me the required permissions to merge them myself on this repo?
Thanks!

@simonbray or @jaimergp - can one of you merge this PR and/or give me the required permissions to merge them myself on this repo?
Thanks!

Yes, no problem. It's a bit strange, you're listed in the maintainers section of the recipe, so conda-forge should have given you those permissions automatically. Perhaps there's an invitation from GitHub in your inbox you missed?

Ah! I must have missed it long ago when I was added.
Thanks, I think I’ve accepted the invitation now.


Allow amending commit vs. creating one, add YAML

@caksoylar how terrible of an idea is this?
This PR:

Adds a new ammend_commit (boolean) github action input which, when set to true it, well, ammends the commit which triggered the action, instead of creating a new one.
Adds the YAML in the commit as well, so it can be loaded on the keymap-drawer UI at a later time if desired

TODO:

[x] Update docs (including a Warning like the one from git-auto-commit-action, e.g. below)

Warning
You should understand the implications of rewriting history if you amend a commit that has already been published. See rebasing.

You can see it working here https://github.com/minusfive/zmk-config/commits/main
Action YAML:
name: Draw ZMK keymaps
on:
  workflow_dispatch: # can be triggered manually
  push: # automatically run on changes to following paths
    paths:
      - "config/*.keymap"
      - "config/*.dtsi"
      - "keymap_drawer.config.yaml"

jobs:
  draw:
    uses: minusfive/keymap-drawer/.github/workflows/draw-zmk.yml@commit-options
    permissions:
      contents: write
    with:
      install_branch: "main" # branch to install keymap-drawer from
      keymap_patterns: "config/*.keymap" # path to the keymaps to parse
      config_path: "keymap_drawer.config.yaml" # config file, ignored if not exists
      output_folder: "img" # path to save produced SVGs
      # commit_message: "Draw: ${{ github.event.head_commit.message }}"
      ammend_commit: true # whether to ammend the commit or create a new one

A few things to note:

I tested simply allowing the user to set any commit / push options they'd like, but deemed it too dangerous, as you really have to get all the pieces right to avoid messing up the history (e.g. checkout depth, skip_fetch, etc). So figured better/safer to make it a simple boolean option
You don't need the [Skip CI] flag on the commit message as github automatically disables CI for action-generated commits, see:

https://github.com/stefanzweifel/git-auto-commit-action#commits-made-by-this-action-do-not-trigger-new-workflow-runs
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow

When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs.

Thanks! I think this is a good idea overall, as long as it is kept to an option like this (because it messes with the history).
A few notes on top of the review items above:

ammends to amend in other places
It is unfortunate that we can't amend without re-fetching and passing the old commit message but I guess it is what it is
Since we are adding keymap YAMLs (which is nice) can you rename the default output folder to keymap-drawer and change the description accordingly?

I tested simply allowing the user to set any commit / push options they'd like, but deemed it too dangerous, as you really have to get all the pieces right to avoid messing up the history (e.g. checkout depth, skip_fetch, etc). So figured better/safer to make it a simple boolean option

Makes sense to me 👍

You don't need the [Skip CI] flag on the commit message
Thanks!

@caksoylar done

Thanks again!


query slotIndex discrepancy between prepareMerklizedQuery and ZKPVerifier smart contract

Describe the bug
Not sure if a buf, but it has been causing for me a query hash mismatch when trying to do the onchain verification based on https://github.com/0xPolygonID/tutorial-examples/tree/main/on-chain-verification
As can be seen from the ZKPVerifier smartcontract used to submit proof requests and verify proofs, the logic that computes the query hash of the proof request has slotIndex hardcoded to 0
https://github.com/0xPolygonID/tutorial-examples/blob/6052cdff6ecdb9b0fe5a297bace7c81b1d03c95f/on-chain-verification/contracts/verifiers/ZKPVerifier.sol#L67
whereas the internal logic of generateProof in the sdk sets the slotIndex either to 2 or 5, which results in a query hash mismatch when trying to submit the proof generated by this function with the AtomicQuerySigV2OnChain circuit
Can you clarify if this mismatch is intentional. I see earlier iterations of the verifier contract actually allowing to set the slotIndex from outside, so perhaps the generateProof logic just wasn't updated accordingly: https://github.com/codingwithmanny/polygonid-on-chain-verification/blob/211e82ce87f7092d6d8354342593c2c0e24fa9ba/contracts/verifiers/ZKPVerifier.sol#L85
To Reproduce
I managed to reproduce the issue with the following repo where I changed the circuit for AtomicQuerySigV2OnChain in the test fixture kycAgeProofReqSig:
https://github.com/joelamouche/polygon-getProof-test/blob/e93a63dc90bed5020e4d931ed7fa0018add66c67/test/testKYCAgeConstants.ts#L9
which then prints the following proof:
PROOF {
  id: 1,
  circuitId: 'credentialAtomicQuerySigV2OnChain',
  vp: undefined,
  proof: {
    pi_a: [
      '2995257496452039333266672924452187534763353752939957567102513085747788056295',
      '21286006883968543074991929294434532782604772468016390800644084899238403477549',
      '1'
    ],
    pi_b: [ [Array], [Array], [Array] ],
    pi_c: [
      '12992267931549799732997873889763461410538603021736683007685059555543640525061',
      '10376645054694296247228888253097728383852541257117749196283927000898226221711',
      '1'
    ],
    protocol: 'groth16',
    curve: 'bn128'
  },
  pub_signals: [
    '1',
    '23038777784306927280253778898804444169402415964080183736378253638384095746',
    '876854063388751259451046665973179579453696431476710960571891857639659962126',
    '5104537430913137961433130810052482860380035584288621588445755171025855431969',
    '1',
    '47',
    '7035233703809473779787447569724895380693518150459779007479517532546159350854',
    '23169466740316234897070481169520339914935095224269608384492847637518356994',
    '0',
    '5104537430913137961433130810052482860380035584288621588445755171025855431969',
    '1690911471'
  ]
}

note the<PHONE_NUMBER>88751259451046665973179579453696431476710960571891857639659962126 which is the (presumably wrong) query hash. As soon as I hacked the polygon js sdk to return slotIndex 0 instead of 2/5, the returned query hash changed to<PHONE_NUMBER>9084694661437431358729281571840804299863053791890179002991342242959 which seems to match successful executions of the verification on chain, e.g. https://mumbai.polygonscan.com/tx/0x477a5df34d390fdd0a0e4f46526dad078292ffb48e248f1c51c1b5efc049d5f6
Expected behavior
slotIndex should be 0 as per the latest ZKPVerifier contract, or perhaps overridable from outside
Screenshots
If applicable, add screenshots to help explain your problem.
** Environment info (please complete the following information):**

OS version [e.g. Mac OS]
Node version: [e.g. 18.16]
Browser [e.g. chrome, safari]
Package version [e.g. 1.0.0]
Build [e.g. umd, cjs]

Additional context
Add any other context about the problem here.

thank you @refi93, this is a very nice catch.
It looks like a contradiction between the choice of the value of the slot index in the sdk and ZKPVerifier latest contract.
We will deeply investigate it and fix it asap.


[microsoft-signalr] Add missing header files

One of the fixes for the https://github.com/microsoft/vcpkg/issues/32398 issue.
The following error occurs when installing  microsoft-signalr[core,messagepack]:x64-linux.
/mnt/vcpkg/buildtrees/microsoft-signalr/src/1.0-alpha4-e34fa42a98/src/signalrclient/binary_message_parser.h:13:62: error: ‘size_t’ has not been declared
/mnt/vcpkg/buildtrees/microsoft-signalr/src/1.0-alpha4-e34fa42a98/src/signalrclient/transport_factory.cpp:26:20: error: ‘runtime_error’ is not a member of ‘std’
Line 39:    26 |         throw std::runtime_error("not implemented");

[X] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

The feature test pass with following triplets:
x64-windows
x64-linux

PR 99 was submitted upstream to fix it.

Thanks for the fixes and submitting upstream!


Vimeo error

Hello, im getting this:
ERROR: [vimeo] 773633416:
at Function.YTDlpWrap.createError (....\firerip\node_modules\yt-dlp-wrap\dist\index.js:346:16)
at ChildProcess.<anonymous> (...\firerip\node_modules\yt-dlp-wrap\dist\index.js:173:58)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)

yt-dlp version 2023.01.06 latest version as of writing this

#1


Extremely High GPU Usage

Describe the bug
Occasionally, RuneLite will start hammering my GTX970 at 100% causing the game to stutter like crazy for no discernable reason
To Reproduce
Steps to reproduce the behavior:
This is not 100% consistent, but it seems to be the way I can get it to happen most frequently.

Open Runelite in fullscreen
With GPU enabled, window the game and make it relatively small
Double click the title bar/maximise button to fullscreen the game
If that didn't work, click the arrow in the title bar to collapse the side bar

Expected behavior
I expect it to keep using about 30% of my GPU and to stay buttery smooth. However, it hammers my GPU at near 100%.
Environment (please complete the following information):

OS: Windows 10
RuneLite version: 1.5.18
Launcher version:

Additional context
This is an extremely weird and intermittent bug. It seems to be somewhat related to resizing the game, as that's when it tends to happen.
If the game is a small window and it's maximized, that can cause it. If the side bar is collapsed and the game made bigger, that can cause it.
It doesn't seem related to custom window chrome, nor does it seem related to Stretched Mode. However, enabling/disabling stretched mode can cause it to "fix" itsself.
Disabling the GPU plugin always fixes it, which makes me fairly sure it's some weird GPU issue.
If the game is in Fixed mode, this doesn't happen. It's only in resizable, and it only manifests when the game is resized.

I've noticed RuneLite consuming more resources, too.
My graphics card is nVidia's GTX 750 Ti, running on Windows 10 (build 17763).
The GPU driver is 419.67. RuneLite version 1.5.18

It's not so much generally higher resources, it's a very specific bug that spikes from 30% to 99% GPU usage. This isn't just a slight inefficiency

my 1070 uses 30% of the gpu on runelite and it uses 1-2 closer to 2 GB of ram.
And i will have to restart runelite atleast 2 times a day cause of to much lag.

Indeed, also getting extreme lag when doing bird house runs (when running from the bank to the nearest bird house). Causes whole system to start lagging, cursor movement stuttering etc. i7 4790k & RTX 480 with GPU plugin enabled. Win10.
Though my friend experiences similar issues with the same GPU running linux, in the same spot doing bird house runs.

We have recently replaced the GL library used by the GPU plugin. Given that change and that we are not able to reproduce this issue, we are closing this. Please comment if you still experience this issue.


Adding icon types to action sheets

Fix to ActionSheets support iconTypes with the iconComponent. Just need to pass the prop iconType, otherwise will pick the FontAwesome Type.

Hi @jramalho , can you just provide minimal code production for the same PR with screenshot output?


Set style options of croppedImage before onload

The current implementation of Graphics.Element.croppedImage loads the image from its source. Only afterwards, when the onload event is triggered, the style options are set.
In this commit, I set the options not depending on the image's natural size as early as possible (namely, marginLeft and marginTop).
This reduces unpleasant flickering, at least as long as the image is not scaled. Compare with #456.

Sorry for the slow reply. It has been busy times. All the Graphics.* modules have moved to evancz/elm-graphics so it makes sense to retarget stuff like this.


Support or Instructions for Windows

Many developers in our organization are on Windows, and already have go installed.

Is there a way to use this on Windows?
If not, could that be fixed?
If so, can that be added to the README

We figured it out, you can use this (or a modification of it to help out windows users):

Install go on your windows machine https://golang.org/dl/, you may need to reboot, or reopen your shell.

Make a folder called: c:\go\src\github.com\pivotal-cf\cred-alert

Download the credhub code as a ZIP, and inside the zip the folder that whose contents match what is shown on GITHUB are the files and folders that need to be copied to this folder. When you are done, the root of the folder above should have the file main.go in it.
From that folder, issue the following command:
 go install github.com/pivotal-cf/cred-alert
This will result in the files being compiled and the resulting EXE put into: c:\go\bin\cred-alert.exe
You can then add the bin folder to the path, or use the full path to run the scanner.


rewrite: moderation module improvements

The current version, v8, was thought to be really good, it introduced a centralized system and made both moderation commands and moderation monitors a lot easier to make.
However, just adding a new moderation type required us to modify 5 files on different places (and more if they supported timers), and in several cases, we were even forced to duplicate a lot of code and even add metadata in many places just so they're supported.
For v9, I'd like to have an abstract ModerationAction (and TimedModerationClass) class in which all types would inherit. The benefit in this is that all metadata for each action, as well as their specific handlers and comparisons, are in the exact same file. What does this accomplish? Adding a new moderation action implies creating a new file and modifying the manager to register it.
Furthermore, I would like to separate the action type and the metadata in two different fields.
In v8, we used bit masks to optimize disk size on the DB, as we were using RethinkDB. However, PostgreSQL can optimize space a lot better as it's not stored as JSON. The current system has locked the system to 15 different actions (Ban, Kick, Mute, Prune, Softban, VoiceKick, VoiceMute, Warning, RestrictedReaction, RestrictedEmbed, RestrictedAttachment, RestrictedVoice, SetNickname, AddRole, RemoveRole, and RestrictedEmoji). If we want to add a new action, we simply can't without modifying the entire system. I suspect we'll eventually run into this (custom moderation actions?), so I want Skyra to be prepared ahead of time.

Superseded by #2595


Migrate Manifold related tasks from Phab to github

Most of Manifold related tasks (besides those related to the internal platforms) should be migrated to this github repo. This will ease the tracking of those tasks.

Close since this is not relevant anymore.


Version conflict

Dear @jensthomas,
Your files : DHARMA_INSTelugu00001.xml and DHARMA_INSTelugu00002.xml contain a version conflict. It means at some point two versions of the inscriptions were forced to merge together but since they were not matching git could figure out which one to keep. Can you check to keep only the required one please?
Best,

Solved today


on ios contacts can not get contacts and not give any error , lib version 0.4.6

[✓] Flutter (Channel stable, 2.10.1, on Mac OS X 10.15.7 19H1615 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[!] Xcode - develop for iOS and macOS (Xcode 12.4)
! Flutter recommends a minimum Xcode version of 13.
Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.64.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

@sadaqatdev same thing happens to me, i see that you have closed the issue did you find the solution?

there is no contacts in device so 0 contacts are fetch


dbeaver automatic version update

Hi,
are there any plans to introduce an automatic version updater for dbeaver?
The speed of releases is quite amazing (thanks) but this also means that I as a user am required to very often go through the installation process which sometimes is manual depending on my environment setup (sometimes I don't have admin access and need to use dbeaver portably).
Are there any plans to make an automatic update feature?

Duplicate of #1590


exported_namespace, exported_pod instead of namespace, pod?

What did you do?
hack/cluster-monitoring/deploy
What did you expect to see?
Ability to select pods, namespaces, etc. in graphana
What did you see instead? Under which circumstances?
Only monitoring namespace but nothing more
Environment

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.2", GitCommit:"477efc3cbe6a7effca06bd1452fa356e2201e1ee", GitTreeState:"clean", BuildDate:"2017-04-19T20:33:11Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.2", GitCommit:"477efc3cbe6a7effca06bd1452fa356e2201e1ee", GitTreeState:"clean", BuildDate:"2017-04-19T20:22:08Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
GKE

In the example Pods dashboard there is a template variable with query set to :
label_values(kube_pod_info, namespace) which in my case returns only monitoring namespace.
For some reason to be able to retrieve pods, namespaces, I must use exported_namespace instead of namespace and exported_pod instead of pod.
Sample output from kube_deployment_status_replicas prometheus:
kube_pod_info{created_by="ReplicaSet/heapster-v1.3.0-191291410",endpoint="http-metrics",exported_namespace="kube-system",exported_pod="heapster-v1.3.0-191291410-bz83k",host_ip="<IP_ADDRESS>",instance="<IP_ADDRESS>:8080",job="kube-state-metrics",namespace="monitoring",node="gke-dev-default-pool-efca0068-hb1z",pod="kube-state-metrics-1587421894-lb1g3",pod_app="kube-state-metrics",pod_ip="<IP_ADDRESS>",service="kube-state-metrics",svc_app="kube-state-metrics",svc_k8s_app="kube-state-metrics"}

What am I doing wrong?

This is due to a recent change that allows us to use the honor_labels configuration of Prometheus. So master of kube-prometheus actually reflects the use of master of the Prometheus Operator. We hope to soon have releases of kube-prometheus as helm charts, to be able to separately release it to ensure stable installable packages.

Thanks for explanation, seems clear now:)
Few side questions if I may:
in kubernetes-pods-dashboard.json there is a query which uses
kube_pod_container_requested_memory_bytes imho this should be kube_pod_container_resource_requests_memory_bytes
Any way to query by custom pod labels? It seems that I need relabelling feature?

There was a discussion in kube-state-metrics and that's what was agreed on. Feel free to open an issue there if you feel it should be changed. I don't have a particularly strong opinion about it, just out of compatibility I would hesitate to change it, but before the 1.0 it would still be ok.
The latest release of kube-state-metrics has the kube_pod_labels, kube_node_labels, and kube_service_labels that you can join onto any other metric.

Probably a slight misunderstanding:
kubernetes-pods-dashboard.json uses kube_pod_container_requested_memory_bytes
resource-requests-dashboard.json uses kube_pod_container_resource_requests_memory_bytes
So imho kubernetes-pods-dashboard.json is buggy cause there is no such metric anymore accoriding to this commit:
https://github.com/kubernetes/kube-state-metrics/commit/54ad74dfda739f4502d8de037ec572a194778a96
But maybe I'm getting something wrong.

I see. Sorry that was a misunderstanding on my end, yes that dashboard needs to be updated to use kube_pod_container_resource_requests_memory_bytes.

Feel free to open a PR for that as well :)

Created https://github.com/coreos/prometheus-operator/pull/359

#359 is merged and v0.9.0 of the Prometheus Operator is released, so I'm closing this here. Thanks a lot for your contributions @gytisgreitai !


oppositeAxisVector variable and the setBackgroundPlaneCoeff function

Hi, May I know what is the purpose the oppositeAxisVector? The inline comments state that the   "Object's axis is reversed for consistency". What does that mean?
Also, for the setBackgroundPlaneCoeff  function, where is it called? I cant seem to find it in the cloud_processing.cpp script or the GeoGrasp.cpp script.
Thanks for your help!

Hi,
oppositeAxisVector
The object's axis is approximated using PCA. The direction of such vector is not of relevance for the purpose of PCA. As a consequence, for the very same cloud, PCA might return a vector pointing in a positive or negative direction, though it would still represent the same main component of the points distribution.
In contrast, this direction determines the location of the 1st and 2nd grasping points. That is: if we reverse a vector, the 1st and 2nd grasping point exchange their values. For a parallel gripper this is not relevant since such grasper does not have a 1st or 2nd finger. However, for multifingered hands, swapping the 1st and 2nd grasping points means that the thumb swaps its target location. This could result in a grasp pose that might not be reachable due to the robot's orientation.
Due to this effect of the direction of the object's axis (PCA), we decided to keep the orientation consistent so that vectors pointed forward from the camera's origin. In case you are using a parallel gripper, this will not change anything for you. However, if you use a multifingered hand, this can ease the task of orienting your robot.
setBackgroundPlaneCoeff
This was an auxiliary function used for internal experiments. You can ignore that one. Sorry for the inconvenience.


Text documents do not open in an external editor, even if an external editor is set

Godot version
4.0(rc 1) mono
System information
windows10
Issue description
Text File do not open in an external editor, even if an external editor is set.
See "Step to reduce" for detail.
Steps to reproduce
1.Set external text editor
2.Create a text file
3.Double click the text file
4.Go to buit-in text editor
5.See the text file opened in the buit-in text editor
Minimal reproduction project
An empty project

Confirming. My .cs scripts no longer open in Rider using RC1. Option to set external editor appears to be broken (what is 5? The old enum value for rider maybe?)

The option was renamed, this is just the old setting still saved. You can see Dotnet > Editor in your screenshot.

Actually I changed it to text_editor/external/exec_path to set up the external editor, which caused the problem the title says. I still don't know what dotnet/editor/external_editor does

The option was renamed, this is just the old setting still saved. You can see Dotnet > Editor in your screenshot.

Thank you, my version of this is resolved!

@L2750558108 Have you tried setting dotnet/editor/external_editor. I believe that is the setting you need to change for editing C# scripts

This is not about dotnet, this also happens in standard builds (rc6, win):

Create a .gd script
Double click it and observe the script pane focusing and the script opening
Focus the the 2D pane again
Create a .txt file
Double click it and observe the script pane focusing and the text file opening
Focus the the 2D pane again
Set text_editor/external/exec_path
Enable text_editor/external/use_external_editor
Double click the .gd file and observe the external editor opening with it
Double click the .txt file and observe (apparently) nothing happening

This issues is that non-Script resources that normally open in the script editor to not open in the external editor and also the internal editor does not focus for them when text_editor/external/use_external_editor is enabled,.


Setup Sonar

Checklist for setting up Sonar

[x] Generate SonarCloud Token

[x] Go to My Account > Security in SonarCloud.
[x] Generate a new token for the GitHub project and copy it securely.

[x] Add SonarCloud Token to GitHub Repository

[x] In GitHub, go to your repository's Settings > Secrets and variables > Actions.
[x] Add a new secret named SONAR_TOKEN and paste the token.

[x] Configure SonarCloud in the CI/CD Pipeline

[x] Create the .github/workflows/sonar-analysis.yml file like this one

[x] Configure sonar-project.properties file

[x] Create a sonar-project.properties file at the root of your project if additional configuration is needed.
[x] Define any specific project settings, such as:

sonar.projectKey: Project key as defined in SonarCloud.
sonar.organization: SonarCloud organization key.
sonar.sources: Source directories for code analysis.
sonar.tests: Test directories if you want to analyze test coverage.
sonar.language: Language setting, if not auto-detected.

[ ] Configure Quality Gates

[ ] In SonarCloud, go to Quality Gates and set conditions to define pass/fail criteria, such as code coverage, technical debt, or bug thresholds.

Testing coverage on new code > 80%
Testing coverage on current code > 50%
Every other measure with an 'A' rating

[ ] Apply the quality gate to the project for consistent code quality evaluation.

[x] Run the Initial SonarCloud Analysis

[x] Trigger the GitHub Actions workflow to run the first SonarCloud analysis.
[x] Check SonarCloud for the analysis results, and ensure it appears in the dashboard as expected.

[x] Review and Fine-tune configuration

[x] Review the analysis results on SonarCloud and adjust configurations as needed.
[x] Refine the sonar-project.properties file or quality gates based on the initial feedback and goals.

[x] Monitor analysis results in pull requests

[x] Ensure SonarCloud analysis is correctly reported in GitHub pull requests.
[x] Review code quality metrics regularly and monitor any issues flagged in new code changes.

The last step has been done @xabg2


Esc doesn't go to normal mode, instead it jumps backwards

this is my jump keymaps for luasnip
vim.keymap.set({ "i", "s" }, "<C-]>", function()
    if luasnip.expand_or_jumpable() then
        luasnip.expand_or_jump()
    end
end, { silent = true })
vim.keymap.set({ "i", "s" }, "<C-[>", function()
    if luasnip.jumpable( -1) then
        luasnip.jump( -1)
    end
end, { silent = true })

but when I press esc, I go back to previous insertNode
it is driving me insane

That's because in most terminals <C-[> is the same as ESC, use a modern one implementing extended keyboard protocol (as far as  I know: kitty, wezterm, and foot) and you will get the issue solved auto-magically.

aha so that's why...
Thank you!


feat: Add enterprise roles

We made so many changes to the connector since this was opened that it's not going to get merged. :(


List: Rendering issue

List type renders in the middle of the screen aligned to the left, rather than immediately below the prompt.

This bug has been fix in #4, you can pull the dev branch to fix this issue

Thank you. I'll do that. Will this be pushed to PyPI anytime soon?

Yes, I hope so, as soon as other fixes are concluded.

#21


CheckForUpdatesAtUserRequest doesn't close checking for updates dialog (InvalidOperationException)

Hi,
When calling the CheckForUpdatesAtUserRequest function using the .NET Core winforms UI, the checking for updates dialog does not get closed. I believe there is an issue in the following code from SparkleUpdater.cs regarding task scheduling.
        public async Task<UpdateInfo> CheckForUpdatesAtUserRequest(bool ignoreSkippedVersions = false)
        {
            CheckingForUpdatesWindow = UIFactory?.ShowCheckingForUpdates(this);
            if (CheckingForUpdatesWindow != null)
            {
                CheckingForUpdatesWindow.UpdatesUIClosing += CheckingForUpdatesWindow_Closing; // to detect canceling
                CheckingForUpdatesWindow.Show();
            }
            // artificial delay -- if internet is super fast and the update check is super fast, the flash (fast show/hide) of the
            // 'Checking for Updates...' window is very disorienting, so we add an artificial delay
            await Task.Delay(250);
            UpdateInfo updateData = await CheckForUpdates(true, ignoreSkippedVersions); // handles UpdateStatus.UpdateAvailable (in terms of UI)
            if (CheckingForUpdatesWindow != null) // if null, user closed 'Checking for Updates...' window or the UIFactory was null
            {
                CheckingForUpdatesWindow?.Close();
                CallFuncConsideringUIThreads(() =>
                {
                    switch (updateData.Status)
                    {
                        case UpdateStatus.UpdateNotAvailable:
                            UIFactory?.ShowVersionIsUpToDate(this);
                            break;
                        case UpdateStatus.UserSkipped:
                            UIFactory?.ShowVersionIsSkippedByUserRequest(this); // they can get skipped version from Configuration
                            break;
                        case UpdateStatus.CouldNotDetermine:
                            UIFactory?.ShowCannotDownloadAppcast(this, AppCastUrl);
                            break;
                    }
                });
            }

            return updateData; // in this case, we've already shown UI talking about the new version
        }

Given the above is an asynchronous task, the SynchronizationContext used is the default threadpool, rather than the UI context. This means that even though this function is invoked on the UI thread, after the first await the task is free to return to another thread (and indeed in my case does). This means that once we hit the CheckingForUpdatesWindow?.Close() call we are no longer on the main thread and an InvalidOperationException is thrown due to the cross thread UI access, and the UI is not closed.

Should be easy enough to fix by moving the Close() call inside the UI  thread portion, I think.
Thanks for the report.

Is that sufficient? If ShowsUIOnMainThread is set to true then the call to CallFuncConsideringUIThreads won't actually dispatch to the UI thread.

Yes, you're right, I'm wrong, sorry.

Could you post a stacktrace to make sure we're seeing the same error, please?
I found a separate error that I managed to (maybe) fix where the CheckingForUpdatesWindow didn't close properly, but it's not in the function you mentioned, although I do see the potential for issues. Not sure what to do with it quite yet.
Threading issues are never fun. There's got to be a way to make the threading situation easier in this lib without delegating it to the UIs themselves, I would hope...

The trace I get is the following:
Exception has occurred: CLR/System.InvalidOperationException
Exception thrown: 'System.InvalidOperationException' in System.Windows.Forms.dll: 'Cross-thread operation not valid: Control 'CheckingForUpdatesWindow' accessed from a thread other than the thread it was created on.'
   at System.Windows.Forms.Control.get_Handle()
   at Interop.User32.SendMessageW(IHandle hWnd, WM Msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.Form.Close()
   at NetSparkleUpdater.UI.WinForms.CheckingForUpdatesWindow.NetSparkleUpdater.Interfaces.ICheckingForUpdates.Close() in ...\NetSparkle.UI.WinForms.NetCore\CheckingForUpdatesWindow.cs:line 57

It's worth noting that the particular machine I run this on causes different results (perhaps unsurprisingly given threading is involved), I can reproduce this reliably on a lower core count machine, whereas I've never yet hit it on a higher core count machine.

I notice now that the above stack trace isn't very helpful since it doesn't go back far enough, instead here is the call stack when that exception arose (on a worker thread).
[External Code] (Unknown Source:0)
TmuxTerm.Views.dll!NetSparkleUpdater.UI.WinForms.CheckingForUpdatesWindow.NetSparkleUpdater.Interfaces.ICheckingForUpdates.Close() Line 57 (c...\NetSparkle.UI.WinForms.NetCore\CheckingForUpdatesWindow.cs:57)
TmuxTerm.Views.dll!NetSparkleUpdater.SparkleUpdater.CheckForUpdatesAtUserRequest(bool ignoreSkippedVersions) Line 1563 (...\NetSparkle\SparkleUpdater.cs:1563)
[Resuming Async Method] (Unknown Source:0)
[External Code] (Unknown Source:0)

Your stack traces were very helpful, thank you.
I think I fixed this in 18915cd. The CheckingForUpdatesWindow close operation wasn't doing the check for InvokeRequired. Can you please try the latest preview version? (2.0.7-preview001 for the WinForms .NET Core UI -- should be on NuGet as soon as CI/CD finishes)

This appears to have fixed it, thanks! :)

This is now rolling out as a non-preview version. Thanks again for reporting this and helping me figure it out!


[spaceship] Add instructions on how to join a team if invites are pending

Fixes https://github.com/fastlane/fastlane/pull/5636
Fixes https://github.com/fastlane/fastlane/issues/2003

👍


How to learn OpenFast ,if there are some advice for beginners

I am a beginner ,a postgraduate student in china,now I have learnt how to run OpenFast and get some results ,but I have trouble in learning it in advance,could you please give me some advice or guide ,because I need to learn deeper to do some academic research,thank you very much

Dear @fpxno1,
Similar questions have been asked and answered here: https://github.com/OpenFAST/openfast/issues/626 and our on forum: https://forums.nrel.gov/.
The presentations, sample models, and video recordings from our most recent OpenFAST workshop are available here: https://drive.google.com/drive/folders/1Z6hqCxGP57nZTgyTIMi6AkYd83rJuZmh?usp=sharing.
Best regards,

Dear @jjonkman ,
There is a problem opening the above ”https://drive.google.com/drive/folders/1Z6hqCxGP57nZTgyTIMi6AkYd83rJuZmh?usp=sharing“.Do you know why？Thank you very much.

Dear @largeluck,
The link above works for me.  Here is a second try; does this one work?:
https://drive.google.com/drive/folders/1Z6hqCxGP57nZTgyTIMi6AkYd83rJuZmh?usp=share_link
Best regards,

Dear @jjonkman,
Well,this is OK.Thank you very much.
Best regards,


Steps for SUSE 15

Plesae add steps for SUSE 15 as well.
Thank you

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

ID: cef87c25-d489-ed0c-c94f-c764b3fd2413
Version Independent ID: 7f8c5d56-2382-de90-dcaf-6fc87706a3be
Content: How to mount Azure Blob storage as a file system on Linux
Content Source: articles/storage/blobs/storage-how-to-mount-container-linux.md
Service: storage
Sub-service: blobs
GitHub Login: @tamram
Microsoft Alias: tamram

On a SUSE distribution
sudo zypper install blobfuse
Add the above to https://docs.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux#install-blobfuse

@saimsh-msft - the page has been updated.
#please-close


Produce an RFC for non-consensus node protocol

As part of the march to a mainnet release candidate, we want to support a less-bandwidth and resource intensive non-consensus full node protocol that works along side our consensus node one.
This is step one -- step two will be getting these non-consensus nodes running in the browser in some way.
An RFC should at least talk about the following:

What goes on the parallel quieter gossip net, what stays on the main one?
What sort of extra information do these nodes need to believe state given that they won't be keeping transition frontiers?
How can we refactor our codebase such that we can output both consensus and non-consensus binaries?

Author of this should address #1916.

This is being approached in a different way now. Closing.


Multi-caret editing. Sublime text 3 + Chrome

Hi,
Thank you for such a superb ad-don, first of all.
Could you please shed some light on multi-caret editing capabilities, when I'm trying to do that the multi-cursor disappears after first char entered, leaving only one cursor. Is it by design? :(

This repo is closed (https://github.com/Cacodaimon/GhostText-for-Chrome/issues/52)
The multicaret works in SublimeText: https://github.com/GhostText/GhostText/raw/master/promo/demo.gif
(note the multicaret in the for loop)


Error running APK: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_javajpeg" referenced by [..]/lib&arm64/libsubstrate.so"

I am not sure where to report this - here or at substrate ...
Client Version: 1.0.7
Android 11
Tested with GraalVM 21.1 and 21.3  (Java 11 variant)
Built on: Fedora 34 or GitHub actions on ubuntu-18.04
I can create native images of my application for Android or Linux and run it just fine on Linux.
On Android (11) I get an UnsatisfiedLinkError for JNI_Onload_javajpeg in libsubstrate
10-20 13:32:04.658 24861 24861 D AndroidRuntime: Shutting down VM
10-20 13:32:04.660 24861 24861 E AndroidRuntime: FATAL EXCEPTION: main
10-20 13:32:04.660 24861 24861 E AndroidRuntime: Process: de.myapp.cfxmobile, PID: 24861
10-20 13:32:04.660 24861 24861 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_javajpeg" referenced by "/data/app/~~2xTVqTzqtI5R4y6mDrHE0A==/de.myapp.cfxmobile-ZmjpH0G4TxhquxRapj2p0Q==/lib/arm64/libsubstrate.so"...
10-20 13:32:04.660 24861 24861 E AndroidRuntime: 	at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: 	at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: 	at java.lang.System.loadLibrary(System.java:1664)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: 	at com.gluonhq.helloandroid.MainActivity.surfaceCreated(MainActivity.java:104)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: 	at android.view.SurfaceView.updateSurface(SurfaceView.java:1153)
10-20 13:32:04.660 24861 24861 E AndroidRuntime: 	at android.view.SurfaceView.lambda$new$0$SurfaceView(SurfaceView.java:173)

Probably related, probably not: On my Fedora 34 machine, the regular Java runtime fails to display JPEG files since an Fedora update. To eliminate my local machine I tested using Github actions, but got the same problem with the resulting APK.

No, I hadn't. I just did and the result (with an APK built with that GraalVM build) is the same.
10-20 15:05:31.291  9681  9681 D AndroidRuntime: Shutting down VM
10-20 15:05:31.292  9681  9681 E AndroidRuntime: FATAL EXCEPTION: main
10-20 15:05:31.292  9681  9681 E AndroidRuntime: Process: de.plusnet.centraflexmobile, PID: 9681
10-20 15:05:31.292  9681  9681 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "JNI_OnLoad_javajpeg" referenced by "/data/app/~~91FjfM9W8SW5LoKfJnO3-A==/de.myapp.cfxmobile-d2pDXV9obJdeNxDWIwRmAw==/lib/arm64/libsubstrate.so"...
10-20 15:05:31.292  9681  9681 E AndroidRuntime: 	at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
10-20 15:05:31.292  9681  9681 E AndroidRuntime: 	at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
10-20 15:05:31.292  9681  9681 E AndroidRuntime: 	at java.lang.System.loadLibrary(System.java:1664)
10-20 15:05:31.292  9681  9681 E AndroidRuntime: 	at com.gluonhq.helloandroid.MainActivity.surfaceCreated(MainActivity.java:104)
10-20 15:05:31.292  9681  9681 E AndroidRuntime: 	at android.view.SurfaceView.updateSurface(SurfaceView.java:1153)

The native image produced for my Linux machine still runs without problems using this build.

Oh! Yesterday I filed a bug about this: https://github.com/oracle/graal/issues/6729
@makingthematrix Adding dummy methods didin't help because my graphics were gone and all I got is a black blank screen.