How can I selectively hide Tabs with nested StackNavigators on certain screens?

I have a TabNavigator with three TabView children. Each TabView has a stacknavigator as a child so that the user can visit detail views, etc. I want to hide the tabs on one of the detail views. I have tried registering each navigator in a high level context and then accessing the tab navigator from the screen and doing setParams on it, but it doesn't seem that setParams is doing anything.
What is the best way to selectively hide the tabs?

The tabs:
this.TabNav = TabNavigator( HOME_TABS_ROUTER, { initialRouteName: this.initialTab, tabBarPosition: 'bottom', tabBarComponent: TabView.TabBarBottom, order: [HOME_TABS.FIND_TEACHER_TAB, HOME_TABS.CHAT_TAB, HOME_TABS.DASHBOARD_TAB], lazyLoad: true, swipeEnabled: false, animationEnabled: false, tabBarOptions: { showIcon: true, style: { backgroundColor: Colors.headerBackground, height: normalizeValue(65), padding: normalizeValue(10) }, labelStyle: textStyles.footerLabel, activeTintColor: Colors.brandDefault, inactiveTintColor: Colors.defaultText } } );
A child stack nav:
this.StackNavigator = Router(
{
headerComponent: CustomHeader,
headerMode: 'screen',
initialRouteName: ROUTES.FIND_TEACHER_TAB,
navigationBarOptions: {
header: {
title: () => i18n.t('home.chatHeaderTitle'),
}
}
}
);

In order to hide a tabBar on one of the tabs, you can set this option https://github.com/react-community/react-navigation/commit/71e8c95b340503631ff6701a95637b569ea50229#diff-9b2c617864a2216c7ad7e5b0f72bdcb5R176 to true. It's been recently documented, hope that helps.

@grabbou but how would you put the tabBar navigation option on a screen that is a part of the stacknavigator.
the stack nav is a child of the tabnavigators. that's why i was trying to find a round-about way to reach the "grandparent" navigator.

and i cant make the profile screen part of the tabnavigator because that would make it a tab. not really what i want. let me know if my question is too confusing, and i'll try to add more code.

I think I know what's the issue. I have one idea I'll try to send you tomorrow morning, maybe it works.

ok thanks

@grabbou does it involve redux?

@KabirKang, to do this you have to have the Parent navigation as the StackNavigation, and then have your TabNavigation as one of the Stack screens. Then by turning on/off the visible of each of the top Stack screens you get your desired outcome.
import ContactView from './ContactView'; // Detail view of a contact
import TabNavigation from './TabNavigation'; // Child TabNavigation that would call navigate('Contact', {contactId: 1});
import { StackNavigator } from 'react-navigation';

const TopNavigation = StackNavigator({
  Home: {
    screen: TabNavigation
  },
  Contact: {
    screen: ContactView,
    navigationOptions: {
      header: {
        visible: true
      }
    }
  }
}, {
  navigationOptions: {
    header: {
      visible: false
    }
  }
});

export default TopNavigation;

@dbhowell In your example you wrote header: {visible: true}. Did you mean tabBar? and would that work for tabbar?

Note that { visible: true} in this case hides the Stack toolbar, not the Tabbar.

So would the structure you suggest allow you to visit more screens within each tab or would each tab still need to have a nested stack navigator in each?
Also what does this do to the back button? If you were to switch tabs, and then click the Android back button, would it go back to the previous tab?

It does get confusing, so the best thing is to try it out and see what the result is.

@dbhowell that works fine with headers (if headerMode: "screen"), but that's probably because the header option is part of the stackNavigator.
tabBar: { visible: false } won't work since it's part of the parent TabNavigator.
I'm also interested in how to do this, as a typical use case for us would be to hide the tab bar on the second level navigation throughout the app.
Would be willing to help out implementing it, but need a few pointers on how to go about it. @grabbou, any ideas you have would be highly appreciated!

@grabbou any update on this one?

I think there should be an API which we can configure - This could update the global state of the navbar where it's configured - E.g inside a stack navigator:
static tabbarOptions = {
    hide: true,
    ...Otheroptions
}

However I'm not sure how react-navigation is setup internally.

I faced this problem too today. I need to hide the tabBar in the second level of navigation in one tab.
I have a TabNavigator with StackNavigator in each tab. For one tab I'd like to hide the tabBar if I'n in in a dep screen of the StackNavigator.
Is it possible right now with a certain config? The idea is to "bubble up" the child screen navigationOptions to the top TabNavigator parent.

Create separate tab navigators with the config you want and use them.

Do you have an example? I can't figure out how to do this.
Currently I have this config:
TabNavigator({
  Screen1:  { screen: StackNavigator({...}) },
  Screen2:  { screen: StackNavigator({...}) },
  Screen3:  { screen: StackNavigator({
    SubScreen1: { screen: ...  },
    SubScreen2: { screen: ...  },
  }) },
})

I want to hide the tabBar on the SubScreen2.

Hi,
I found a simple solution.
if we take @Kerumen config, we can add a per tab navigationOptions (has I think you've already done) :
TabNavigator({
    Screen1: { screen: StackNavigator({ ...}) },
    Screen2: { screen: StackNavigator({ ...}) },
    Screen3: {
        screen: StackNavigator({
            SubScreen1: { screen: ...  },
            SubScreen2: { screen: ...  },
        }),
        navigationOptions: {
            title: 'Your title',
            tabBar: (state, acc) => {
                return {
                    label: '',
                    icon: ...,
                    visible: (acc && acc.visible !== 'undefined') ? acc.visible : true,
                }
            },
        }
    },
})

The main thing there is that the tabBar option is a function that take 2 parameters : state and acc, acc is the tabBar config from the current Screen (well it's a little more complex than that). You just have to merge that.
And for example in SubScreen2 you can have this :
static navigationOptions = {
    header: { ...},
    tabBar: {
        visible: false,
    },
}

Hope it helps ;-)

Hi,
I am still struggling with this. I've basically got a stackNavigator and want to make a tabNavigator a parent of the stackNavigator. The stackNavigator got 2 screens and I only want to show on one of those the navbar. This is what my code looks like:
`   export const MainStack = StackNavigator({
Home: {
screen: Home,
navigationOptions: {
title: "Home"
}
},
AdventureArticle: {
screen: AdventureArticle,
navigationOptions: {
title: "Adventure"
}
}
})
export const MainTabs = TabNavigator(
{
MainStack: {
screen: MainStack, // Replaced Feed with FeedScreen
navigationOptions: {
tabBar: {
label: 'Home',
icon: ({ tintColor }) => <Icon name={"google-plus-square"} size={35} color={tintColor} />,
showIcon: true
},
},
},
},
{
tabBarPosition: "bottom"
}
);`
I tried putting this in the code of my "AdventureArticle" screen (in my stackNavigator):
        static navigationOptions = {             tabBar: () => ({                 visible: false,                 label: "test"             }),         };
But as I read on this topic, it doesn't work.
Is there a simple and straightforward way of handling this?

@bramvbilsen
Your config in AdventureArticle is overridden by the navigationOptions of the TabNavigator. Try this :
export const MainTabs = TabNavigator(
    {
        MainStack: {
            screen: MainStack, // Replaced Feed with FeedScreen
            navigationOptions: {
                tabBar: (state, acc) => {
                    return {
                        label: (acc && acc.label !== 'undefined') ? acc.label : 'Home',
                        icon: ({ tintColor }) => <Icon name={"google-plus-square"} size={35} color={tintColor} />,
                        showIcon: true,
                        visible: (acc && acc.visible !== 'undefined') ? acc.visible : true,
                    };
                },
            },
        },
    },
    {
        tabBarPosition: "bottom"
    }
);

@adogor This kinda worked to just hide the tabbar, but the user is still able to swipe left or right to go to the other scenes in my tabbar. Is there a way to lock it on a particular screen?

@bramvbilsen You can add swipeEnabled: falseto prevent the swipe. (docs)

@Kerumen But how would I do it for a single page that is a child of a StackNavigator?

The way we did it was:
const NoTabScreens = {
  NameOfScreen: {
    screen: Component
  },
  NameOfScreen2: {
    screen: Component2
  }
};

const MyApp = TabNavigator({ ...options ... });
const mainStackNavigator = {
  // MyApp is a TABNAVIGATOR with 3 tabs
  Main: {
    screen: MyApp,
    navigationOptions: {
      header: { visible: false },
    },
  },
  // The following screens won't have tabs
  // Place any screens that shouldn't have a tab in here
  ...NoTabScreens,
};

const StackApp = StackNavigator(mainStackNavigator, {
  headerMode: 'screen',
  initialRouteName: 'Main', // on startup, goto main tabnav
  navigationOptions: {
   ... Add your global nav options here ...
  },
});

This works fine!
We then store the top level navigation object in redux so we can route to these screens from within nested tabnav/stacknavs.
E.g globalNavigation.navigate('NameOfScreen')

same problem

You can bind the tabBarVisible to a params, and on the screens that you want to hide the tab bar, fire a NavigationActions.setParams action to set the value of the parameter to the specific tab route.

@weili1977 You can do that? Any docs on that? Or do you just call setParams?

@ugiacoman Define your navigationOptions on the tab screen as,
static navigationOptions = ({navigation, screenProps}) => ({
    tabBarVisible: navigation.state.params.hideTabBar != null ?  !navigation.state.params.hideTarBar: true,
    ...
  })

On the child screens where you want to hide the tab bar, call the following in the componentWillMount event,
const setParamsAction = NavigationActions.setParams({
  params: { hideTabBar: true },
  key: 'tab-name',
});
this.props.navigation.dispatch(setParamsAction);

You may also want to reset hideTabBar to false in the componentWillUnmount event. Otherwise the tab bar will remain hidden when you hit the Back button to go to the previous screen.
Not a perfect solution but it meets my need at the moment.

@weili1977 Thanks for the helpful response. How did you add the param hideTabBar to the navigations's state?

@ugiacoman navigation.dispatch(setParamsAction) set the value on the specified route. You don't need to do anything extra.

@weili1977 Hmm, but how did you create the param in the first place? Since it's a TabBar I'm navigating to it so I can't pass a param through this.props.navigation.navigate('MyScreen', { hideTabBar:  true }); I'm getting a cannot read property of undefined error.

@weili1977 Figured it out, need to set the param in the first place.

@weili1977 can you please share you working example. not sure how you set the navigationOptions on your TabNavigator.

I managed to make it works with @weili1977  soulution, but I had to change it a bit, from:
static navigationOptions = ({navigation, screenProps}) => ({     tabBarVisible: navigation.state.params.hideTabBar != null ?  !navigation.state.params.hideTarBar: true,     ...   })
to:
... tabBarVisible: navigation.state.params != undefined ? ....
otherwise I was having an error: "cannot read hideTabBar from undefined"

Thanks @weili1977 , my code is as below, maybe help someone:
const MainTabNavigator = TabNavigator(
  {
    Activities: {
      screen: StackNavigator({
        Activities: {
          screen: sActivities,
        },
        Activity: {
          screen: sActivity,
        },
      }),
      navigationOptions: ({navigation, screenProps}) => ({
          tabBarLabel: 'Activities',
          tabBarIcon: tabBarIcon1,
          tabBarVisible: navigation.state.params != undefined && navigation.state.params.hideTabBar != undefined ? !navigation.state.params.hideTabBar : true,
      }),
    },
    ... // Other tabs
  },
);

For Activities page, there is nothing need to do. I want to hide the tabbar in Activity page, so in Activity component:
  componentWillMount() {
    const setParamsAction = NavigationActions.setParams({
      params: { hideTabBar: true },
      key: 'Activities',
    });
    this.props.navigation.dispatch(setParamsAction);
  }

  componentWillUnmount() {
    const setParamsAction = NavigationActions.setParams({
      params: { hideTabBar: false },
      key: 'Activities',
    });
    this.props.navigation.dispatch(setParamsAction);
  }

looks like what we need to do is to trigger the re-render of TabNavigator in sub-screen and that will result in re-loading the tabNavigator's navigatorOptions.
this is what I am doing now:
const MainTabNavigator = TabNavigator(
screenRouter ...
,
navigationOptions: ({navigation, screenProps}) => ({
tabBarVisible:  screenProps.tabBarVisible,
otherTabbarPropos...
}),
)
any places inside your any sub-screen (make sure you can get access to TabNavigator's navigation object and screenProps ):
this.props.navigation.screenProps.tabBarVisible = false;
this.props.tabNavigaton.setParams(this.props.tabNavigation.state.params || {});  ---> trigger the re-render

I have this working as follows:
const MessagesNav = StackNavigator({
    Messages: { screen: Messages },
    MessageDetail: {
        screen: MessageDetail,
        navigationOptions: ({ navigation }) => ({
             title: 'Message',
             tabBarVisible: false,
        )}
    },
})

const Tabs = TabBarNavigator({
    MessagesNav: { screen: MessagesNav },
    SettingsNav: { screen: SettingsNav },
})

class App extends Component {
    render() {
        return(<Tabs/>)
    }
}

npm versions:
react: 16.0.0-alpha.6
react-native: 0.44.3

@twairball confirmed, that works!

@twairball  That works dude. Thanks !

I'd be happy to make a PR to docs for this example. Where should I put this?

nice @twairball ! I noticed one detail: the StackNavigator component must be the tab itself. If you have anything inbetween like a container component, this will not work.

I have this root navigator:
import HomeNavigator from './HomeNavigator';

export default {
  Splash: { screen: SplashContainer },
  Activation: { screen: ActivationContainer },
  Login: { screen: LoginContainer },
  ForgotPassword: { screen: ForgotPasswordContainer },
  Register: { screen: RegisterContainer },
  HomeScreen: { screen: HomeNavigator },
};

HomeNavigator:
@connect(store => ({ authentication: store.authentication }))
class HomeNavigator extends Component {
  getRoutesConfig = () => {
    const tabToComponentMap = {
      Screen1: Screen1Navigator,
      Screen2: Screen2Navigator,
      ...
    };

    const config = {};
    const { tabs = [] } = this.props.authentication.loginDetails;

    tabs.forEach(tab => (config[tab] = { screen: tabToComponentMap[tab] }));

    return config;
  };

  render() {
    const config = this.getRoutesConfig();

    const Navigator = Platform.select({
      ios: () => TabNavigator(config),
      android: () => DrawerNavigator(config),
    })();

    return <Navigator />;
  }
}

Every screen in the Tab/Drawer navigator is in turn a StackNavigator (Screen1Navigator, etc.). On some of those screens inside that StackNavigator i need to hide the tab bar. Currently i'm achieving the behaviour i need by passing down functions as screenProps from Screen1Navigator to its screens to alter the navigationOptions on Screen1Navigator itself, through navigation.setParams. This seems pretty hacky, and also adding tabBarVisible: false on any screen of Screen1Navigator itself doesn't affect the TabNavigator.
Also to add a button in the header to toggle the Drawer for Android, i'm having to pass down another function from Screen1Navigator that dispatches navigate('DrawerOpen'). Is this the only way to achieve this behaviour? Considering my root navigator is integrated with redux, i know i'm missing something with the conditionally nested Tab/Drawer navigator. Pretty sure it has something to do with me mounting the navigator myself with <Navigator />.  I tried passing navigation={this.props.navigation} to it myself, but it made the nested routes disappear. How would i share the router and navigation state with children in this scenario? 😟

As @EdmundMai mentioned:

the StackNavigator component must be the tab itself. If you have anything inbetween like a container component, this will not work.

Setting tabBarVisible: false on individual screens worked great until I started wrapping the StackNavigator inside of a component.
// Setting tabBarVisible: false inside of DetailScreen

//
// This works:
//

const Navigator = StackNavigator(
  {
    Directory: { screen: DirectoryScreen },
    Detail: { screen: DetailScreen },
  },
  {
    navigationOptions: ({ navigation }) => ({ ...defaultHeaderOptions }),
    initialRouteName: 'Directory',
  },
)

export default Navigator;

//
// This doesn't:
//

class DirectoryNavigator extends React.Component {
  render() {
    const Navigator = StackNavigator(
      {
        Directory: { screen: DirectoryScreen },
        Detail: { screen: GameDetailScreen },
      },
      {
        navigationOptions: ({ navigation }) => ({ ...defaultHeaderOptions }),
        initialRouteName: 'GameDirectory',
      },
    );
    return (
      <Navigator
        onNavigationStateChange={(prevState, currentState) => {
          trackScreenOnNavigationStateChange({ prevState, currentState });
        }}
      />
    );
  }
}

export default DirectoryNavigator;

@aroth - Thanks for that tip. Was def. scratching my head for a while.

Hi! In an effort to get the hundreds of issues on this repo under control I'm closing issues tagged as questions. Please don't take this personally - it's simply something we need to do to get the issues to a manageable point. If you still have a question I encourage you to re-read the docs, ask on StackOverflow, or ask on the #react-navigation Reactiflux channel. Thank you!

Hi, I got the same issue, setting tabBarVisible on individual screens won't work, anyway I was connecting each stack to a container first because I'm using Redux to store the navigation state.
NavigatorTabBar --> Container --> NavigatorStack --> Screen

@aroth Is there a solution to that?

tabBarVisible: false Does not work when we the nested StackNavigator receives a custom navigation prop (for redux integration).
TabNavigator
import AccountNavigator from '/somepath'
export const RawTabNavigator = TabNavigator({
  accountNavigator: { screen: AccountNavigator }
});

AccountNavigator
export const RawAccountNavigator = StackNavigator({
  accountScreen: { screen: AccountScreen },
  signInScreen: { screen: SignInScreen }
});

const AccountNavigator = ({dispatch, accountNav}) => (
  <RawAccountNavigator navigation={addNavigationHelpers({ dispatch, state: accountNav })} />
)

const mapStateToProps = ({accountNav}) => ({
  accountNav,
});

//tabBarVisible: false within SignInScreen does not work
export default connect(mapStateToProps)(AccountNavigator);

//tabBarVisible: false does work
//export default RawAccountNavigator

Thoughts?

@amitava82 @rvlewerissa @aroth
I was able to get this working with a redux container by wrapping the navigation view with redux instead of the actual navigator. I copied most of the config from
https://github.com/react-community/react-navigation/blob/master/src/navigators/StackNavigator.js
AccountNavigator.js
import React from 'react';
import { connect } from 'react-redux';
import { StackNavigator, addNavigationHelpers, StackRouter, createNavigator, CardStackTransitioner } from "react-navigation";
import AccountScreen from './AccountScreen';
import SignInScreen from './SignInScreen'

const StackView = ({ dispatch, accountNav, ...extraProps }) => (
  <CardStackTransitioner {...extraProps} navigation={addNavigationHelpers({ dispatch, state: accountNav })} />
)

const mapStateToProps = ({accountNav}) => ({
  accountNav,
});

const StackViewWithRedux = connect(mapStateToProps)(StackView);

const AccountNavigator = (props) => {

  const routeConfigMap = {
    accountScreen: { screen: AccountScreen },
    signInScreen: { screen: SignInScreen }
  };

  const stackConfig = {};

  const router = StackRouter(routeConfigMap, stackConfig);

  return createNavigator(
    router,
    routeConfigMap,
    stackConfig,
    'react-navigation/STACK'
  )(StackViewWithRedux);
}

export default AccountNavigator();

@SimonVuong and you're using the tabBarVisible on the individual screen?

@rvlewerissa
yes

The same question, I want to hide the tab bar by click a buttom dynamicly.
The entry page is a TabNavigator, it contains two screens, and the one is HideTabScreen.
When I click the hide_button in HideTabScreen, the two tabs should be hidden by change tabBarVisible's value.
But that doesn't work ! Anyone can show me how to hide tabs dynamically in detail ?  :)
_________________
|                |
|                |
| HideTabScreen  |
| hide_button    |
|                |
|________________|
|__TabA__|_TabB__|

     ->>>
_________________
|                |
|                |
| HideTabScreen  |
| show_button    |
|                |
|________________|

I reference @weili1977 soulution, https://github.com/react-community/react-navigation/issues/464
This is my code structure (not exact).
// Entry TabNavigator with a Wrapper
MyTabNavigator = TabNavigator({
TabA: {
screen: HideTabScreen,
navigationOptions: ({navigation, screenProps}) => ({
tabBarLabel: 'HideTabScreen',
tabBarVisible: (screenProps.topNavigation.state.params != undefined) ? (screenProps.topNavigation.state.params.bottomBarVisible != null ?  screenProps.topNavigation.state.params.bottomBarVisible: false) : true
}),
},
TabB: ...
}
);
class MyTabNavigatorWrapper extends Component {
render() {
return(<MyTabNavigator screenProps={{topNavigation: this.props.navigation }} >)
}
};
const entryStack = StackNavigator({
ScreenOne: {
screen: MyTabNavigatorWrapper,
}
});
AppRegistry.registerComponent('app', () => entryStack);
// HideTabScreen
hideTest = () => {
const setParamsAction = NavigationActions.setParams({
params: { bottomBarVisible: false }
});
this.props.screenProps.topNavigation.dispatch(setParamsAction);
// navigate('OtherPage');
}
render() {
return	<Button
onPress={ () => setTimeout( () =>this.hideTest(), 150) }
title="hide_button"
/>

}

The same question, I want to hide the tab bar by click a buttom dynamicly.
The entry page is a TabNavigator, it contains two screens, and the one is HideTabScreen.
When I click the hide_button in HideTabScreen, the two tabs should be hidden by change tabBarVisible's value.
But that doesn't work ! Anyone can show me how to hide tabs dynamically?  :)
_________________
|                |
|                |
| HideTabScreen  |
| hide_button    |
|                |
|________________|
|__TabA__|_TabB__|

     ->>>
_________________
|                |
|                |
| HideTabScreen  |
| show_button    |
|                |
|________________|

I reference @weili1977 soulution, https://github.com/react-community/react-navigation/issues/464
This is my code structure (not exact).
`// Entry TabNavigator with a Wrapper
MyTabNavigator = TabNavigator({
TabA: {
screen: HideTabScreen,
navigationOptions: ({navigation, screenProps}) => ({
tabBarLabel: 'HideTabScreen',
tabBarVisible: (screenProps.topNavigation.state.params != undefined) ? (screenProps.topNavigation.state.params.bottomBarVisible != null ?  screenProps.topNavigation.state.params.bottomBarVisible: false) : true
}),
},
TabB: ...
}
);
class MyTabNavigatorWrapper extends Component {
render() {
return(<MyTabNavigator screenProps={{topNavigation: this.props.navigation }} >)
}
};
const entryStack = StackNavigator({
ScreenOne: {
screen: MyTabNavigatorWrapper,
}
});
AppRegistry.registerComponent('app', () => entryStack);
// HideTabScreen
hideTest = () => {
const setParamsAction = NavigationActions.setParams({
params: { bottomBarVisible: false }
});
this.props.screenProps.topNavigation.dispatch(setParamsAction);
// navigate('OtherPage');
}
render() {
return	<Button
onPress={ () => setTimeout( () =>this.hideTest(), 150) }
title="hide_button"
/>

}`

It seems the false always override true
const Stack1 = StackNavigator(
  {
    stackScreen1: { screen: StackScreenG('Go Next 2', 'stackScreen2') },
    stackScreen2: {
      screen: StackScreenG('Go Next 3', 'stackScreen3'),
      navigationOptions: ({ navigation }) => ({
        title: 'Message',
        tabBarVisible: true,
      }),
    },
    stackScreen3: { screen: StackScreenG('Go Next 1', 'Screen1') },
  },
  {
    tabBarVisible: false,
  }
)

I can't set a first screen shown tabBar in this config.

I wrote four ways to achieve, we can refer to is not what you want, the demo is as follows

projeect url:navigationChat

@EdmundMai and anybody else trying to use tabBarVisible: false with a wrapping / container component around the nested navigator.
The following appears to work (modified from @twairball's example) using the comment at the bottom of this page in the docs: https://reactnavigation.org/docs/intro/nesting
The most important difference is to explicitly pass the navigation prop through the wrapper into the nested navigator, and to manually assign wrapper.router to nestedNavigator.router
const MessagesNav = StackNavigator({
    Messages: { screen: Messages },
    MessageDetail: {
        screen: MessageDetail,
        navigationOptions: {
             tabBarVisible: false
        }
    },
})

class MessagesNavWrapper extends React.Component {
    constructor(props){
        super(props)
        console.log('This is the wrapper component!')
    }

    render(){
        return <MessagesNav navigation={this.props.navigation}>
    }
}

// IMPORTANT
MessagesNavWrapper.router = MessagesNav.router

const Tabs = TabBarNavigator({
    MessagesNav: { screen: MessagesNavWrapper },
    SettingsNav: { screen: SettingsNav },
})

class App extends Component {
    render() {
        return(<Tabs/>)
    }
}

I love @twairball solution but what if i have the following structure ?
class JournalNavigation extends React.Component {
  static navigationOptions = nav => {
    return {
      title: i18n.t('navigation.journal').toUpperCase(),
      tabBarIcon: ({ focused }) => (
        <TabBarIcon icon="journal" focused={focused} />
      ),
      tabBarVisible: true // I want to change the value here thanks to my JournalOnboardingNavigation currentScreen option value.
    }
  }

  static propTypes = {
    hasCompleteOnboarding: PropTypes.bool.isRequired
  }

  render() {
    return this.props.hasCompleteOnboarding ? (
      <JournalReadyNavigation />
    ) : (
      <JournalOnboardingNavigation />
    )
  }
}

const mapStateToProps = state => ({
  hasCompleteOnboarding: hasCompleteOnboarding(state)
})
export default connect(mapStateToProps)(JournalNavigation)

const JournalOnboardingNavigation = StackNavigator(
  {
    JournalOnboarding: { screen: JournalOnboarding },
    TrackersSelectionScreen: {screen: TrackersSelectionScreen}
  },
  {
    cardStyle: {
      // StackNavigator seems to add a black background behind
      backgroundColor: 'white'
    }
  }
)

I've no idea how i can propagate to the third level....
Any idea ?
Best regards

If you need to hide the parent TabBar in a specific StackNavigator Screen then this would work:
class MyComponent extends Component{
  static navigationOptions = {
    tabBarVisible: false,
  };
  render(){
    return(
      //your screen components here
    );
  }
}

It seems like this functionality was removed in v2-rc1

Hi there! I found answer here: https://reactnavigation.org/docs/en/navigation-options-resolution.html
FeedStack.navigationOptions = ({ navigation }) => {
  let tabBarVisible = true;
  if (navigation.state.index > 0) {
    tabBarVisible = false;
  }

  return {
    tabBarVisible,
  };
};

I solved this by simply doing . . .
const MainNav = TabNavigator({
    Home: {
        screen: HomeRoutes,
    }
},{
    initialRouteName: 'Home',
    tabBarPosition: 'bottom',
});

and in the child route
const HomeRoutes = StackNavigator({
    Home: {screen: Home},
    Splash: {
        screen: Splash,
        navigationOptions: {
            tabBarVisible: false
        },
    },
    Login: {screen: Login},
    SignUp: {screen: SignUp}
},{
    initialRouteName: 'Splash'
});

Nothing else is needed

https://reactnavigation.org/docs/en/navigation-options-resolution.html#a-tab-navigator-contains-a-stack-and-you-want-to-hide-the-tab-bar-on-specific-screens

@Kerumen Hi, i want  to hide TabBar when right bar button(like cart screen which is common for every tab) on navigation bar clicked.tabBarVisible = true is not working for this case

For bottom tab navigators, I made a npm package for that, check :
https://www.npmjs.com/package/react-navigation-selective-tab-bar

The downsides of this https://reactnavigation.org/docs/en/navigation-options-resolution.html#a-tab-navigator-contains-a-stack-and-you-want-to-hide-the-tab-bar-on-specific-screens is not smooth transition animation when you hide/show TabBar. To make the animations look smoother you need to make TabNavigator a child of StackNavigator and then screens from Stack will render above the TabBar.
A good idea would be to animate the TabBar as well to make it look fine, but I haven't implemented that.


Swagger server url

Hi sir,
I use nginx proxy_pass 80port to 3000port,
but the base url of the swagger document is still localhost:3000, I can't call my api on the document.
how can I change the url?
I guess I nedd change the swagger.json server url, but how can I change this to my domain or ip address.
"servers": [
    {
      "url": "http://localhost:3000"
    }
  ]

Thank you and sorry disturb,
I found the solution, I add the proxy_set_header Host $host; in my nginx config and it worked!


Yi Dome Guard RFUS - Reboots with 0.2.6

Hi,
Since I updated to 0.2.6 this camera reboots spontaneously every now and then.
Model Suffix is r35gb
here is a series of reboots, reported by the HA integration.

I do not know what logs should I check, please let me know.
Also, when it reboots spontaneously, the camera is pointed to another direction.

Please, try to disable these options:

Yup they are already disabled.

Rebooted again :(

What's the last running hack?

I had not downgraded yet, so I followed your instructions and rebooted the camera.
It may take a couple of days for the crash to occur. When it happens, what files should I grab?

After I made the changes, the camera has rebooted 2/4 times before stabilizing.

Please, send me the file /tmp/sd/yi-hack/etc/system.conf
and share your system.conf, if you can (remove personal data).

HTTPD=yes
TELNETD=no
SSHD=yes
FTPD=yes
BUSYBOX_FTPD=no
DISABLE_CLOUD=yes
REC_WITHOUT_CLOUD=yes
MQTT=yes
RTSP=yes
RTSP_ALT=no
RTSP_STREAM=high
RTSP_AUDIO=
SPEAKER_AUDIO=yes
SNAPSHOT=yes
ONVIF=no
ONVIF_WSDD=no
ONVIF_PROFILE=high
ONVIF_NETIF=wlan0
ONVIF_WM_SNAPSHOT=no
NTPD=yes
NTP_SERVER=pool.ntp.org
PROXYCHAINSNG=no
SWAP_FILE=yes
RTSP_PORT=554
ONVIF_PORT=80
HTTPD_PORT=8080
USERNAME=
PASSWORD=
TIMEZONE=CET-1CEST,M3.5.0,M10.5.0/3
FREE_SPACE=30
FTP_UPLOAD=no
FTP_HOST=
FTP_DIR=
FTP_DIR_TREE=no
FTP_USERNAME=
FTP_PASSWORD=
FTP_FILE_DELETE_AFTER_UPLOAD=yes
SSH_PASSWORD=<redacted>
CRONTAB=
SNAPSHOT_VIDEO=no
SNAPSHOT_LOW=no
DEBUG_LOG=yes

Please, send me the file /tmp/sd/yi-hack/etc/system.conf

Sorry, my mistake.
Please, send me the file /tmp/sd/hack_debug.log

Here it is! hack_debug.log

The log is perfect.
Compared to my log you have more free memory than me.
The only difference is that I don't use mqtt_adv.

I've checked the camera and it rebooted spontaneously two days ago.
Uptime | 2d 8h 19m 14s
It keeps going on forever I believe.
RAM is not an issue: Free/Total Memory | 33244/60676 KB

Maybe a power issue?

The camera, along with other devices, is connected to a UPS.
It's running stable so far - 4d 18h of uptime, but I haven't touched a single option since I flashed the update, so I cannot explain the instability. I'll keep you posted

same here with r35gb / 0.2.6, I'll check the power, it's happening here every 8-12h.

If we exclude power issues and hardware failure, there are 2 reasons why the camera can reboot:
1 - Out of memory: the kernel kills unnecessary process and finally the cam reboots.
Solution: enable swap file.
2 - The process rmm dies and the watchdog restart the cam.
Solution: I don't know...
I could try to log the output of the process and check for errors.

Does 0.2.5 work properly?

I would like to downgrade to 0.2.5, but I believe the latest HA integration won't work.
It's a problem because I have a number of automation that rely on this camera's sensors and I spent a lot of time to adapt them to the new integration,

looks like it was a power issue here.
I guess I could disable check_rmm in /tmp/sd/yi-hack/script/wd_rtsp.sh to see if it's a  rmm issue, kill wd_rtsp.sh or make it  log a message before rebooting.
I think I'll kill it because I don't like the while true; loop ;-)

Yes, try to kill the watchdog (or disable it from system.sh) and check if the cam remains on.
If yes, ssh should work and you should able to login and run some command.
For example a ps to show the running processes.
And:
cd /home/app
./rmm

to check what goes wrong in rmm.

hi, just to let you know, it hasn't crashed with a proper power supply:
root@yidome:~# awk '{printf "%f\n",$1/86400}' /proc/uptime
7.804881


Authorization result: invalid

Hi,
I've tried multiple times to install a certificate but I get stuck every time at the Authorization part. It always says:
Authorization result: invalid
 [EROR] [detail] Invalid response from ******
<TITLE>404 Not Found</TITLE>
Which tells me that the server sends a 404 error.
However when I use --test, the application opens the browser I do get a good reply. Local and from a remote location. But the application returns 404.
This is the --verbose output:
[DBUG] Scanning IIS site bindings for hosts
 [DBUG] Loading signer from C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Signer
 [DBUG] Getting AcmeServerDirectory
 [DBUG] Send GET request to https://acme-v01.api.letsencrypt.org/directory
 [DBUG] Loading registration from C:\ProgramData\letsencrypt-win-simple\httpsacme-v01.api.letsencrypt.org\Registration
 [INFO] Authorize identifier: [domain].org
 [DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
 [INFO] Authorizing [domain].org using http-01 validation (SelfHosting)
 [DBUG] Writing web.config
 [INFO] Answer should now be browsable at http://[domain].org/.well-known/acme-challenge/WZlBwkUBYGfP1mXqhfkzsznlD3qbklZ639ALYLrbEfU
 [DBUG] Submitting answer
 [DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/challenge/KIuPbM7O3WipG2-8WiF0UTVvlCIRpxjMX-KS7_smLks/3521818777
 [DBUG] Refreshing authorization
 [DBUG] Send GET request to https://acme-v01.api.letsencrypt.org/acme/authz/KIuPbM7O3WipG2-8WiF0UTVvlCIRpxjMX-KS7_smLks
 [EROR] Authorization result: invalid
 [DBUG] Deleting web.config
 [DBUG] Deleting answer
 [EROR] ACME server reported:
 [EROR] [type] urn:acme:error:unauthorized
 [EROR] [detail] Invalid response from http://[domain].org/.well-known/acme-challenge/WZlBwkUBYGfP1mXqhfkzsznlD3qbklZ639ALYLrbEfU: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<TITLE>404 Not Found</TITLE>

Not Found

Th"
 [EROR] [status] 403
 [EROR] Create certificate failed

With --test the application gives me the change to open the file in a webbrowser. It does succeeds locally as from a remote location. But it still gives me an 404 error.

 [--test] Try in default browser? (y/n): - yes

 Press enter to continue...  [EROR] Authorization result: invalid
 [EROR] ACME server reported:
 [EROR] [type] urn:acme:error:unauthorized
 [EROR] [detail] Invalid response from http://[domain].org/.well-known/acme-challenge/lqSGR50t1aBSaR1zhFE4SkKVhbd_6WYC8Yu5FZ6dgzU: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<TITLE>404 Not Found</TITLE>

Not Found

Th"
 [EROR] [status] 403
 [EROR] Create certificate failed

Of course after this I'm not able to acces the files anymore as the program stops serving them/deletes the files.
What am I doing wrong

Does the domain have an AAAA record set? It looks like it might be an IPv6 misconfiguration.

You might be right! I will update the DNS and report back tomorrow. Thanks for your quick reply.

You were right. Working now. Thanks for your help. Awesome piece of software.


How do you plot figures?

Your implementation is perfect!
I just have one question.
How do you plot figures? How do you test the performance of the agent?
Can you opensource your plot code?

Hey,
thanks for the positive feedback. And regarding to your question:
I uploaded the code here


Feature: Option as a Move native-type, can hold reference-types

Maybe this is the wrong place to put this; let me know if I should put this into the diem/move repo instead.
It would be really awesome if Option were a native-move type, rather than a struct. That way we could use it in entry functions for optional parameters. As it is now, optional parameters in entry-functions are impossible; realistically you need to create duplicate functions; one that accepts your option-parameter, and one that doesn't, and it's up to the client-side to figure out which one to use. Programmable batch transactions may help with this as well when they happen.
Also equally helpful would be a different version of Option, one that cannot be stored; it's drop only. This is only used for holding reference-types. This would allow functions to accept optional references as arguments as well.

It would be really awesome if Option were a native-move type, rather than a struct. That way we could use it in entry functions for optional parameters.

This is supported. E.g., check out 0x24aab7b4e64a6625e2fcd8221418415d5494a0e4. Please reopen if you were looking for something else!
On native options: I think this would be useful regardless, and I expect that the Move core team would be strongly supportive of native options. I have heard several folks enthusiastic about the idea and have just not had time to work on it in the face of more high-impact improvements. If you file an issue in https://github.com/move-language/move/, perhaps someone can pick it up.

Also equally helpful would be a different version of Option, one that cannot be stored; it's drop only. This is only used for holding reference-types. This would allow functions to accept optional references as arguments as well.

Move structs and containers cannot store references, and unfortunately this won't change anytime soon--we would need reference lifetimes in the Move language, which is a big/controversial change that would make the type system significantly more complicated.

create duplicate functions; one that accepts your option-parameter, and one that doesn't, and it's up to the client-side to figure out which one to use.

This is actually the style I would recommend in most (but not all!) cases--it's easier to specify the behavior of these functions for the prover, give them descriptive names, for clients to see which combinations of options are/aren't valid, etc.

Great! I didn't realize Option could already be used in entry-functions on Sui; I'll being using that right away, thanks.

This is actually the style I would recommend in most (but not all!) cases--it's easier to specify the behavior of these functions for the prover, give them descriptive names, for clients to see which combinations of options are/aren't valid, etc.

I didn't want to duplicate functions too often to accommodate optional arguments, but I think it won't be a big deal.


Infinite loop caused by combining virtual scroll and grouping

Describe the bug
I'm trying to combine virtual scrolling and row grouping, but it is causing an infinite loop.
Here is an example. Uncomment line 75 in main.tsx and you will see endless console messages and the browser tab will freeze.
Is there another way I should be combining these two features, or is this a bug? I couldn't find an example online that combines these two features.
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/elastic-mendeleev-3nqqhg?embed=1&file=%2Fsrc%2Fmain.tsx%3A75%2C32
Steps to reproduce

Open https://codesandbox.io/p/sandbox/elastic-mendeleev-3nqqhg?embed=1&file=%2Fsrc%2Fmain.tsx%3A75%2C32
Uncomment line 75

Expected behavior
Infinite loop does not occur
How often does this bug happen?
Every time
Screenshots or Videos
https://github.com/TanStack/table/assets/358661/865d1a1d-e995-4c94-a937-8419ca8b293e
Platform
Chrome, Arch Linux x64
react-table version
8.9.2
TypeScript version
No response
Additional context
react-virtual v2.10.4
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

I just came to report this, I'm experiencing this same problem. I'm using react-table v8.7.4 and react-virtual v2.10.4

I am having the same issue, using the following versions
"react-virtual": "^2.10.4",
"react-table": "^8.5.15",

I was having this same issue but no virtualizer. It came down to making sure the grouping state value was a stable reference (either a ref/memo or outside of the component function) and then the infinite loop stopped.


popovers: Fix user-mention popover errors of @all mention.

It's a small fix:
@all and @everyone mentions don't have specific popover, so
constraint added to prevent console errors.

Looks great, merged, thanks @shubhamdhama!


S28 1939/flyway initegration shared db

Unfortunately this PR means using a shared db for dev for the time being but PR #58 is currently blocked due to an error in the postgresql chart
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

no longer needed


fix(playground/ssr-vue): remove crossorigin from image preloads

Description

Warnings: A preload  was found for "..." but was not used by the browser.

CORS can be used with images with canvas in which case you'd want a preload directive using the crossorigin attribute (instead or as well), but that seems like more of an edge case.
For more complexity, I think vite could (1) avoid inserting preload for images that are only used with "lazy" / "auto" loading attribute to save on HTML output (see https://github.com/vitejs/vite/pull/4249), and (2) determine if images are used with crossorigin attribute to come up with more appropriate preload directives.
What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

So, if I understand the purpose of this PR, you are seeing a warning

Warnings: A preload was found for "..." but was not used by the browser.

That goes away when removing the crossorigin attr? Looks ok to me given that this is only for the playground and CI is not affected.
What browser are you using for testing?

lighthouse gave the warning. You can also see in webpagetest that a connection gets opened at <link> discovery but then not used (a new connection is created later when actually fetching the image).


Creating a metrics job for the UITest pipeline

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>@smgoller

FYI the concourse jobs failed, but they have nothing to do with this change. Looks like concourse is overloaded.

@rhoughton-pivot

It looks like we are going to kill the UI test pipeline, so I'm closing this PR.


[scss] syntax highlighting breaks after nested braces

VSCode Version: 1.4.0-insider f6227ca
OS Version: Windows 10 Pro Insider 14385

Steps to Reproduce:

Create a SCSS file. Note that syntax highlighting works.

Add any level of nested braces within. Note that syntax highlighting works inside the nested braces:

Add more code after the nested braces. Syntax highlighting is now broken for code after the braces.

Fixed by 3558e7e862f8d67368e17e2d93dcbb7925a7c6e2


Update react-hot-loader to version 3

Update because 1.x.x isn't supported for over a year now (https://github.com/gaearon/react-hot-loader/issues/417)

Also useful for this: https://github.com/gaearon/react-hot-loader/tree/next-docs/docs

Fixed by https://github.com/kreativgebiet/kickup-react/commit/a4e2e884572608c0f80a6328c53721e66b7d7074


Page reloading automatically every second

We have created a mirror > http://ec2-52-16-13-108.eu-west-1.compute.amazonaws.com
The home page is fine but as soon as we are on an article page, the page keeps reolading automatically.
Example : http://ec2-52-16-13-108.eu-west-1.compute.amazonaws.com/en/news/international/4437-amnesty-internationals-annual-report-slams-chinese-treatment-of-tibet
Is this because of  a frame buster on the mirrored website ?

Indeed, I think it's because of a frame buster:
if(top.location!=self.location)top.location=self.location;

You can fix it in WMBP by adding something like this to the configuration (not tested):
TextInternalUrlFilters::addSearch('if(top.location!=self.location)', 'if(0)');

Great ! Problem solved ! Thank you !


Data fails to load on some systems (System.FormatException)

This likely occurs due to handling of culture as some systems use ',' instead of '.' for floating point values. A simple fix should be to add the following to Main / GameServer.Process:
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

detourCreateProcessWhithDll failed 2 help pleasseeee


[SPARK-15467][build] update janino version to 3.0.0

What changes were proposed in this pull request?
This PR updates version of Janino compiler from 2.7.8 to 3.0.0. This version fixes an Janino issue that fixes an issue, which throws Java exception, in Spark.
How was this patch tested?
Manually tested using a program in the JIRA entry

Test build #62060 has started for PR 14127 at commit ce31dda.

Test build #62060 has finished for PR 14127 at commit ce31dda.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62060/
Test FAILed.

You'll need to update the deps files. More importantly what are the potential incompatible changes that could affect Spark?

Test build #62063 has started for PR 14127 at commit 2c702c5.

Here is a change log of Janino. Updates from 2.7.8 are the followings:

JANINO-186: Code size error message should include method name: Also report when the constant pool size limit is exceeded.
JANINO-185: Improve logging: Replaced good ol' if (DEBUG) System.err.println(...) with `java.util.logging{.
org.codehaus.janino.ScriptEvaluator now supports the concept of "local methods".
Implemented annotations (declarations and uses)
Implemented enums (uses only)
Added (limited) support for method type parameters.
Added support for annotations on package declarations.
Added an "architectural overview" in the JAVADOC.

The first item is a fix for the reported issue.  Other items seem to be to add new features. While I think that there is no potential incompatible changes according to changelog, I would like to see the result of Jenkins.

Test build #62063 has finished for PR 14127 at commit 2c702c5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62063/
Test PASSed.

Merged build finished. Test PASSed.

Thanks - merging in master.

Sounds like a small set of changes; not sure why it was a major version change. shrug


How can I use metrics such as recall and F1 score?

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Windows 10
Python Version
3.10
MediaPipe Model Maker version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
Image classification
Describe the actual behavior
Ability to produce precision, recall and F1 scores
Describe the expected behaviour
Only able to produce loss and accuracy metrics
Standalone code/steps you may have used to try to get what you need
# model.evaluate only allows for loss and accuracy
# how to get precision, recall, and f1 score without predict function?

loss, acc = model.evaluate(test_data)
print(f'Test loss:{loss}, Test accuracy:{acc}')

Other info / Complete Logs
No response

Hi @Tess314,
This has been a backlogged feature request we've been meaning to implement. I'll raise this issue internally and try to have a fix out soon! In the meantime you can use this code snippet to add custom metric functions after you've called create.
metric_functions = model._metric_functions + [tf.keras.metrics.F1Score(), tf.keras.metrics.Precision(), tf.keras.metrics.Recall()]
model._model.compile(
    optimizer=model._optimizer,
    loss=model._loss_function,
    metrics=metric_functions,
)

metrics = model.evaluate(test_data)
print(metrics)

Thank you so much, that worked great :)


Wistia Timed Out and video not loading

Current Behavior
When you enter a Wistia URL with query params like

The video is not loaded and in the console, you get the error:
Timed out fetching http://fast.wistia.com/embed/medias/8w4r87tvt9?videoFoam=true&wvideo=8w4r87tvt9.json

Expected Behavior
The video should load properly after entering the URL with query params. Sometimes users grab the entire URL
Steps to Reproduce

Go to https://cookpete.com/react-player/
Open the browser console
Enter the video URL https://fast.wistia.net/embed/iframe/8w4r87tvt9?videoFoam=true&wvideo=8w4r87tvt9
The Time out error should apear

Environment

URL attempting to play: https://fast.wistia.net/embed/iframe/8w4r87tvt9?videoFoam=true&wvideo=8w4r87tvt9
Browser: Chrome
Operating system: Mac

I am also having this error.
It seems a regex issue.

And it is sending the video key as /medias/8w4r87tvt9 that is being concatenated twice

It seems a bug happening on this line https://github.com/cookpete/react-player/blob/master/src/patterns.js#L9


Migrate to npm@8 + housekeeping

Closes #149
Closes #158
Related to https://github.com/bpmn-io/internal-docs/issues/627

replace istanbul-instrumenter-loader
bump dependencies
support npm@8
incoorporate zeebe:properties support

This needs updating the camunda-bpmn-js-behaviors dependency in the properties panel (cf. https://github.com/bpmn-io/bpmn-js-properties-panel/pull/746).

This should be ready for review now.

Let's not back and force between npm@8 and npm@8 :wink:

Fixed via https://github.com/camunda/camunda-bpmn-js/pull/159/commits/a31101d93112739d0b6e88417a91bfa17a10e1f1.

Woopsie 😅

Seems like something went wrong with the lockfile
> Run npm ci
npm ERR! code EUSAGE
npm ERR!
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR! Invalid: lock file's browserslist@[4](https://github.com/camunda/camunda-bpmn-js/runs/8155873252?check_suite_focus=true#step:5:5).1[7](https://github.com/camunda/camunda-bpmn-js/runs/8155873252?check_suite_focus=true#step:5:8).0 does not satisfy<EMAIL_ADDRESS>
Pushed the missing changes via https://github.com/camunda/camunda-bpmn-js/pull/159/commits/9650e36a02c44e5430b82a9beb347827be5ef947.


First pass at Feature Detection

This PR was merged too quickly.
Only one of my suggested changes was applied?  What of all the others?  They at least deserve some comment, if you disagree with them -- but that should also mean more time before merging.


Create gitter room/badge for readme

It might be helpful for people new to the technology to be able to chat with each other (and the maintainer) instead of opening up 50 issues. :)

Example question:
Take the following HTML

  Link
  Link
  Link

What if I suddenly want to change the color of all the links? Is there a convenient way to do this or should I just use a standard class for setting the same type of elements styles?

Hey cory,
Yes, I guess it's a good idea to create a Gitter :)
As for the example question (not sure if you want it answered here or if it's just an example), we usually tell people that you have to be pragmatic, think what's the best solution for you that will fit your case. Here's some options:

Use a template engine or a component library. When you use components it's easier to manage styles and propagate design changes. For instance, you could have a  component in React, Angular, Ember, etc, that iterates through the links. So you write it only once in your code and it becomes your source of truth. However, there are times that you might want this same design to also be on other components. Be aware though, that creating "global" styles may lead to some architectural problems when your app scales, since you are coupling styles in different components. But let's be pragmatic, some styles need to affect more than one component. In this case you have other options.

Use atomic css variables. Did you know you can have them?

  Link
  Link
  Link

If you need to change the $link-color, you just set the new value in the config file:
{
  custom: {
    'C($link-color)': '#ff0',
    'P($gutter-xl)': '20px'
  }
}

Be pragmatic: If you think this is too much to handle at the atomic level, pick the right tool for you. In this case, go classic semantic CSS. We suggest you use "BEM" naming convetion (I personally prefer the SUITCSS variation of it). In most cases, Atomic should handle these cases for you.

Awesome, thanks for the reply. Really excited about this. Kudos on your presentation on YouTube as well.

Added in PR #205


The action 'Connect VM' is disabled for one file share when settings 'Enable Files OAuth Support' and 'Disable Usage Of Keys' are checked

Storage Explorer Version: 1.34.0-dev (98)
Build Number: 20240304.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.3(Apple M1 Pro)
Architecture: x64/x64/x64
How Found: Ad-hoc testing
Regression From: Not a regression
Steps to Reproduce

Launch Storage Explorer -> Check the settings 'Enable Files OAuth Support' and 'Disable Usage Of Keys'.
Restart Storage Explorer.
Create a storage account (Select eastus2 EUAP as its region) -> Then assign a role 'Storage File Data Privileged Contributor' to the storage account.
Expand the storage account -> File Shares.
Create a file share -> Observe its toolbar.
Check whether the action 'Connect VM' is enabled.

Expected Experience
The action 'Connect VM' is enabled.

Actual Experience
The action 'Connect VM' is disabled.

@v-xianya this is by design. To connect a VM to a file share you must have access to the account key, and 'Disable Usage Of Keys' is checked. :)

Hi @MRayermannMSFT

@v-xianya this is by design. To connect a VM to a file share you must have access to the account key, and 'Disable Usage Of Keys' is checked. :)

In this scenario, to connect VM, why do we need to check the setting "Disable use of keys" if we have access to the account keys?


[FLINK-14475][coordination] Adjust TaskExecutor interface to accept promotions

This PR adjust TaskExecutor#releasePartitions to additionally accept a second set of partitions to promote.
This is purely an interface change; no actual logic has been touched. The goal of this PR is to decouple subsequent PRs, so that the JM and TE side can be implemented independently.

Wrong JIRA ID in commit message.


fix(app): Fix protocol setup screen dqa3

Overview
Fix protocol setup screen dqa3
close RAUT-498

Test Plan

Changelog

Review requests

Risk assessment
low

[ ] LocationIcon in Labware need to add a hub function to parse the return

I'm going to remove the changes for ProtocolSetup Labware since it is overlapping https://github.com/Opentrons/opentrons/pull/12980/files#top


[DO NOT MERGE] Test pyarrow nightly in anticipation of pyarrow 4.0 release

Similarly as https://github.com/dask/dask/pull/7061, but for the upcoming pyarrow 4.0.0 release

Hmm, in the windows build, it doesn't seem to update the pyarrow version (just no output: https://github.com/dask/dask/pull/7531/checks?check_run_id=2286836449#step:6:10). While I was specifically interested in testing windows here.

Ah, indeed, windows is now properly tested.

Also the FutureWarning from pandas being raised in the upstream build should be resolved in the main branch if you want to merge that into this PR

Yep, that's indeed not related to pyarrow.
Nothing further needed here, I might just do another update tomorrow in case there is a new RC, otherwise all looking good here and will close this once the release is done.

(pyarrow 4.0 is now used in the main CI)

Thanks for tracking @jorisvandenbossche and congrats on the 4.0 release


change PIE indicator color

// method 1 - Not Working
hud.indicatorView = JGProgressHUDPieIndicatorView()
hud.indicatorView?.tintColor = UIColor.red // indicatorView doesn't have [color] [fillColor]

// method 2 - Not Working
let indicator = JGProgressHUDPieIndicatorView()
indicator.color = UIColor.red
hud.indicatorView = indicator

// method 3 - Working
let indicator = JGProgressHUDPieIndicatorView()
hud.indicatorView = indicator
indicator.color = UIColor.red

If it's not a bug, I think you should explain how to change color of Pie-Indicator.

// method 1 - Not Working
hud.indicatorView = JGProgressHUDPieIndicatorView()
hud.indicatorView?.tintColor = UIColor.red // indicatorView doesn't have [color] [fillColor]

// method 2 - Not Working
let indicator = JGProgressHUDPieIndicatorView()
indicator.color = UIColor.red
hud.indicatorView = indicator

// method 3 - Working
let indicator = JGProgressHUDPieIndicatorView()
hud.indicatorView = indicator
indicator.color = UIColor.red

If it's not a bug, I think you should explain how to change color of Pie-Indicator.

...so crazy


Fix Missing Documentation of Ze DMA - [merged]

In GitLab by @NicolasDenoyelle on Apr 9, 2021, 09:23
Merges dma_doc_fix -> staging

In GitLab by @NicolasDenoyelle on Apr 9, 2021, 09:23
@perarnau
Fixed! You can merge after the CI pass.

In GitLab by @perarnau on Apr 9, 2021, 09:25
thanks!

In GitLab by @perarnau on Apr 9, 2021, 09:25
enabled an automatic merge when the pipeline for a9523c788fe005bf5fedac31dfd5c136a3be77c4 succeeds

In GitLab by @perarnau on Apr 9, 2021, 09:28
merged

In GitLab by @perarnau on Apr 9, 2021, 09:28
mentioned in commit 81982cd0f13fd73478a4bb40f884dbc70ee0e9f5


Search result displays page-excerpt as link when it is a "Main Article"

When file is a the root of the content, it displays under the Main Article section.
A search that returns one of those files shows the page excerpt as blue text that is a link.
When the artilce is at the root, it doesn't have a category.
The  tag is started unconditionally, but the the end  tag is only there when there is a category.
I've formatted the code to better see the conditions as well as fix the issue.

Thanks!


Multi version support to Kubeproxy Addon.

Describe the feature
Multi version support to Kubeproxy Addon like how CA Addon works. The addon should use version via mapping based on K8s version.
Use Case
Multi version support to Kubeproxy Addon like how CA Addon works. The addon should use version via mapping based on K8s version.
Proposed Solution
Multi version support to Kubeproxy Addon like how CA Addon works. The addon should use version via mapping based on K8s version.
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request

CDK version used
2.83.0
EKS Blueprints Version
1.9.2
Node.js Version
20.0.0
Environment details (OS name and version, etc.)
Mac

One thing to make sure here: we cannot always catch up with the latest EKS version, there is a lag between EKS release and CDK update to include that version in the KubernetesVersion enum.
So if the version of the target EKS cluster is not in the map, then the latest should be applied.


¹²⁶Te wrong abundance

¹²⁶Te abundance is 8.84 - it should be 18.84
to check: abundancies of Te isotopes currently add up to 90% instead of 100%

Can you check the raw data in Isotope-data repo?
I propose you edit "parse_isotopes.jl" file there, then, after we reconstruct the dataframe, we can make PR here.

Interesting. It looks like the problem is the typo in the raw nubase file.


feat(kicon) add arrow up/down icons

Summary

https://konghq.atlassian.net/browse/MA-823
Vue 3
Did you create a corresponding PR to add this change to the beta branch? (required)

[ ] Yes, here is a link to the PR: [link to beta branch PR]
[ ] No, I did not create a PR for the beta branch and I have added the port to beta branch tag to this PR.
[ ] No, because [type your reasons]

If you have questions, tag @adamdehaven or @kaiarrowood.

PR Checklist

[ ] Does not introduce dependencies
[ ] Functional: all changes do not break existing APIs and if so, bump major version.
[ ] Tests pass: check the output of yarn test packages/
[ ] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[ ] Framework style: abides by the essential rules in Vue's style guide
[ ] Cleanliness: does not have formatting issues, unused code (e.g., console.logs), or leftover comments
[ ] Docs: includes a technically accurate README, uses JSDOC where appropriate

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 5 committers have signed the CLA.:white_check_mark: adamdehaven:white_check_mark: filipgutica:white_check_mark: aanchalm01:white_check_mark: Leopoldthecoder:x: semantic-release-botYou have signed the CLA already but the status is still pending? Let us recheck it.


How do I add Amazon installed games to Steam Library?

After installing a game using Amazon Games' launcher, I can't find it in the filesystem, and Boilr doesn't appear to see the game either.

this script does not have this feature @JonAbrams also, i havnt tested this with Boilr yet

All cool, thanks. I found it using kFind in Desktop mode.

@JonAbrams Boilr is now included in the script.


Connection config provider

As requested in this PR https://github.com/tgriesser/knex/pull/3364
@elhigu @kibertoad Can you please check? if the changes are ok then I will add unit test and update the rest of the dialects

@Ali-Dalal Do you need any help for finishing the PR?

@kibertoad Yes please.
I need clarification on this point

in resolveConnectionConfig check if this.resolvedConnectionSettings is set, if it is, return, if it is not and isConfigSourceFunction, resolve from function, if neither, probably throw an error.

Do we need to resolve the config if it is a function inside the constructor?

@Ali-Dalal As I've said before, we can't resolve config from function since it could be async. We could do it if it's a static config, though, but disregard this part, we can refactor it later. Important part at this point is to finalize the implementation :).

@maximelkin Any chance you could take a look at the Oracle problem to see what is wrong here? I don't have readily available instance nor configured Docker to test easily myself, unfortunately.

@Ali-Dalal Can you pull changes from master, btw? I wonder if latest fixes in master would resolve the issue.

https://github.com/eslint/eslint/issues/11899
just mark rule require-atomic-updates as ignored, it will be removed shortly due to false-positives

@kibertoad @maximelkin guys can you help in the last error from eslint?
check travis for more information
106:5  error  Possible race condition: client.driver.fetchAsStringmight be reassigned based on an outdated value ofclient.driver.fetchAsString  require-atomic-updates

@Ali-Dalal as @maximelkin has mentioned, "just mark rule require-atomic-updates as ignored, it will be removed shortly due to false-positives*

@kibertoad @maximelkin done.
can you guide me where is the best place to write a unit test for testing async config provider?

@kibertoad I will write unit tests under unit/dialects for every one

Superseded by #3497


Missing Passphrase

What is your username and discriminator?
Tina#8326 "Tina"
Why did you join Discord Linux?
To discuss Arch Linux and Gentoo Linux.
Where did you hear about Discord Linux?
Fedora Linux
What is the passphrase that was assigned to you by the bot?
I didn't see a passphrase assigned to me by the bot.

From simonizor#0420 :
This form is only for people who do not have a phone to verify with Discord. I see that you've sent a message in the welcome channel. Check the message that mentions you for instructions on how to get your passphrase... and you just left while I was in the middle of typing this lol...

I got it working. Thank you!


Expose glTF extension interfaces so that export can use them

Needed for #4098

Just take all of the interfaces in the loader extensions and put them in a new file so that serializers can use them.

Why not just exporting the interfaces instead of moving them in a new file?

That's a possibility. We weren't using modules when this issue was created.

Yup from the same file will do !!!


PcpCombine does not handle grib forecast data correctly

This was brought to our attention via met_help
[rt.rap.ucar.edu #91715] METplus PointStat; MET pcp_combine -sum (wildcard in -pcpdir argument?)
The logic to handle forecast data in the wrapper does not work when grib data is used as input.

Changes have been made in the following branches: bugfix_v2.1_pcp_combine, bugfix_v2.2_pcp_combine, and develop. The changes in the bugfix branches have not yet been merged into master_v2.1 and master_v2.2.

Closing this issue since it has been in develop for a long time and has been tested.


Add Bit

Added bit under miscellaneous for exporting, storing, managing, discovering and reusing small modules in any context across projects.
NPM: https://www.npmjs.com/package/bit-bin
By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better.

Wouldn't it be better to place this under the Command-line tools section?

Yes it would :)
Closing and PRing it under Command-line tools.

Just edit the existing PR. No need to creat additional noise with a new PR.

done.


Remove Key:

Hello all,
I've already read this issue:
https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/issues/103
but at the end it only gives the opportunity to show a not translated string with "key:" prefix or not at all.
So my question is:
Is there a way to show the translated resource string if available and if no resource is available, just show the key without "Key: " Prefix.
Background:
We use json files to create dynamic controls in a WPF:
<lex:LocProxy Source="{Binding Path=Lable, Mode=OneTime}"
                      x:Name="Proxy" />
        <Label Content="{Binding Result, ElementName=Proxy}" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left"
               VerticalAlignment="Center" FontSize="16" />

But if the Lable property is not found in Resx files it shows "Key: " instead of "LableStr.
Is this possible?
OutputMissingKeys only gives the opportunity to hide the strings at all.
Thanks in advance

@Skuriles You should see Key: and the real requested key.
https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/pull/123/files
Do you really see only "Key:" and nothing else?

For sure I see "Key: " but what I want is that is only "" without the "Key:" prefix.
I've already checked the file in your link, this is why I asked if there is another option to achieve is.
Problem can be, that a customer can add any key in the json file and if this key is not in the translation resources there is this "Key:" prefix.

@SeriousM @xmedeko what do you think? Do we may remove the "key: " from the code or allow it to remove with an Global Static / AttachedProperty Setting?

@Skuriles common workaround for this is to fill the default resx file with the string you want. So, instead of missing resource, make the resource value same as the key.
@konne if you want to have configurable output for missing key, I think instead of static property is would be better to do it programmatic way:

Either in the MissingKeyEvent event (e.g. add Value property to the event.)
Or some virtual method like protected virtual LocalizeDictionary.GetMissingKeyValue(string key) => "Key: " + key;' So the user may overwrite it.

@xmedeko

Either in the MissingKeyEvent event (e.g. add Value property to the event.)
I like the idea of that Event. This also gives a good possibility as software to log for example missing keys into files.

@Skuriles common workaround for this is to fill the default resx file with the string you want. So, instead of missing resource, make the resource value same as the key.
@konne if you want to have configurable output for missing key, I think instead of static property is would be better to do it programmatic way:

Either in the MissingKeyEvent event (e.g. add Value property to the event.)
Or some virtual method like protected virtual LocalizeDictionary.GetMissingKeyValue(string key) => "Key: " + key;' So the user may overwrite it.

Just to be clear (no offense, but I want to show you our workflow):
There is a customer in US or China who changes the configuration of the software. He never sees the resx files. For practical reason no one will write/call the supplier, who ask us (dev team) to change the resx files because he simply changed a lable name in his configuration, then we have to change it, compile a new version of the file and do a worldwide update for all customer to be compliant with version numbers etc,. He just want to see what he has entered and don't want to see "Key: " or do an update for this.
Sure we can give a list with allowed keys, but everybody knows customers, don't we?
So it can't be simply done by "add a empty resx entry" or something similar.
A trigger to hide the "Key:" prefix would be nice or at least a possibility to overwrite the transform function.

@konne MissingKeyEvent already exists.  I use it to log missing resources already 😃

Just my opinion:
It is best to leave the "key:" prefix if the key is missing, because it is a very useful function for us. We should keep this behavior as default.
It's best to make it switchable, or configurable, so that you can switch if you don't want to have a key prefix.

@Skuriles one solution you can implement now: Make a subclass of ResxLocalizationProvider, override GetLocalizedObject and return whatever you want if the base.GetLocalizedObject() returns null. Then, intialize your app like:
internal static void Configure()
{
    var provider = MyResxLocalizationProvider.CreateInstance();
    // Optional: set default assembly
    // provider.FallbackAssembly =
    LocalizeDictionary localizeDictionary = LocalizeDictionary.Instance;
    localizeDictionary.DefaultProvider = provider;
    // optional, for logging missing keys
    // localizeDictionary.MissingKeyEvent += LocalizeDictionary_MissingKeyEvent;
}

Thanks @xmedeko
Final solution to get only the string:
` public override object GetLocalizedObject(string key, DependencyObject target, CultureInfo culture)
{
var result = base.GetLocalizedObject(key, target, culture);
if (result == null)
{
var keyRes = base.GetFullyQualifiedResourceKey(key, target);
Type type = keyRes.GetType();
return type.GetProperty("Key").GetValue(keyRes).ToString();
}
        return result;
    }`


Added apply_validity and set_validity to mutable utf8 array

This is similar to my previous pr for Utf8Array
I am adding two methods:
set_validity and apply_validity for MutableUtf8Array
This was pretty straightforward to add so I preemptively created a pr without double checking if it is something that would be accepted.
@jorgecarleitao Let me know if this looks good.

Looks perfect. Thank you!


SLS - Errors on setting (Old 87)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:10
If you don't meet the necessary criteria in the SLS entry, you receive an error as it's not caught!

In gitlab by @A-Lawrence on Aug 31, 2015, 01:16
Resolved the issues and weird situations folk can get into with secondary passwords.  Catching the exception when not meeting the requirements, fixes them all! Resolves issue #488609 (86) #87.
ÔåÆ <<cset 7dcd68f20bec>>
ALawrence66 - 2013-11-10T22:53:45.911607+00:00


Support for OpenSUSE 15

Summary
The installer fails when I run it on my linux system with openSUSE 15 (Leap).
Steps to reproduce
curl -sL https://ibm.biz/idt-installer | bash
Operating System
Linux, openSUSE Leap
Supporting details

Here is the output from the 'curl' command above:
[main] --==[ IBM Cloud Developer Tools for Linux/MacOS - Installer, v1.2.3 ]==--
[main] WARN: Linux has only been tested on Ubuntu, RedHat, Centos, Debian and Fedora distrubutions please let us know if you use this utility on other Distros
which: no bx in (/usr/local/bin:/usr/bin:/bin)
[install] Starting Update...
which: no bx in (/usr/local/bin:/usr/bin:/bin)
[install] Note: You may be prompted for your 'sudo' password during install.
[install_deps] ERROR: This script has not been updated for use with your linux distribution ("openSUSE Leap 15.0")

I was able to work around this by installing 'yum' and modifying the installer script to treat openSUSE like Redhat, CentOS or Fedora. I'm happy to send you a pull request with my
changes, but they are quite minor and I'm sure you'll want to do more testing before declaring openSUSE supported.

Development "done" checklist

[ ] Test case to verify
[ ] Public Documentation updated
[ ] Change added to "release notes" as appropropriate
[ ] Notification to stakeholders (OM, other squads, etc)

You should use dnf instead of yum for identification missing things on openSUSE today. openSUSE is supporting zypper, dnf and apt commands (converting requirements for other linux distributions to openSUSE specific requirements). It would be fair after founding the Linux Distributions Working Group to support also openSUSE, which is leading here pro all Linux distributions.


Plot in edge-ml not corresponding to plot of original CSV data

In the provided CSV, the plots shown in edge ml do not correspond to the original plot. Edge-ml's plot e.g. only shows values between 0-1 and the waveform pattern is not visible at all.

test_data_donwsample_200.csv

Uploded the data to app.edge-ml.org and got this plot for accX which looks more or less like the original data:


Cannot run test on CI when developer open a PR

Testing only can be run in master branch. In PR, CI failed caused by wrong env variables.

Known issue.  https://docs.travis-ci.com/user/environment-variables/

Encrypted environment variables are not available to pull requests from forks due to the security risk of exposing such information to unknown code.

I am trying to encrypt env vars and add them to .travis.yml. Stay tuned.

Tests is disabled now. We need to fix it

Fixed


Wide string support

Would it be possible to get const wchar_t* support for most functions that take string parameters as const char_t*?
Thanks.

Hi!
What are you mostly concerned about? Filenames? Or the actual JSON data?
Is what you're asking for part of the glTF spec?

Yeah, it's just for the actual opening of the files. Everything in my environment is using a wide character set and having to do WString conversion to String just for the odd thing is a little inconsistent.
That being said, it might be a moot point as the JSON parser I'm using also doesn't support wide characters which means I would also need to convert all the time when grabbing URI for buffers and images. I suppose this can be disregarded then in hindsight ...

I suppose you could still use cgltf_parse() and do the file opening and reading yourself. Then everything should work.


⚠ ClamAV has degraded performance

In 0bd79b9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 76 ms

Resolved: ClamAV performance has improved in 23c10b9.


Follow User Implement

Todo

Implement

[x] Controller
[x] Service
[x] Repository

Todo

Test

[x] Controller
[x] Service Success
[x] Service Fail By follow user not found
[x] Service Fail By Already following
[x] Repository

with Get Profile Test
Trouble Shooting

description

Follow user
POST /api/profiles/:username/follow

Authentication required, return **Profile**

No additional parameters required

complete


Remove release.js

It doesn't need to be in project. You can use node module installed on your system

https://www.npmjs.com/package/publish-release
https://www.npmjs.com/package/github-releases

:ok_hand: remove it :)
and please choice the best one.

I have no taste of that. I always did it in manually

publish-release would be fine for this cases I think

:grin:


Fix: senso hotwater

Hi @thomasgermain,
not sure why, but 1.16.2. doesn't appear in my HACS as update. Only thing I noticed was that 1.16.2 is not a GitHub release (only a tag).
Do you know if this is a problem or anything else missing? Could you release it then?
Thanks!

Hi,
Where do you see it's not a release ? It looks like it is.
I'm able to download it through HACS, but I had to force refresh info in HACS (certainly because I'm already on 1.17.0b0 version).

Sorry, I guess I was a little inpatient. Now I could update :)
If temperature works now, I will report tomorrow after hot water is on day config again


WANT TO SEE HOT PICS WITH ME? 💋 💋 💋

WANT TO SEE HOT PICS WITH ME? 💋 💋 💋
👇 👇 👇
https://is.gd/ms4xm3

Reported for spam.


For whatever it's worth, the yaml file is wrong

For whatever it's worth, the build.yaml file looks to be copied from the tmdbboxsets plugin. It should probably be updated.

any update?


Method getMediaComments requires authentication

The documentation of the API of Instagram says that needs authentication.
Get_media_comments
I had to change the last parameter to true and now it works.
public function getMediaComments($id) {
    return $this->_makeCall('media/' . $id . '/comments', true);
  }
````

Is that true? Or am I wrong?

Thank you.

I'm submitting a fix for this in my pull request. Coming soon!

Sent fix. Make sure your instagram app has been reviewed so that it has access to those new scopes.

@robertark Hi, Robert. Could you please tell me how did you manage to get your app accepted by the review permission protocol? We tried that many times and we came along with all the Use cases and stuff and they have always declined our request :( Please let me know))) Thanks Martin

@Brumley I have yet to be accepted. We're getting declined as well... I'm thinking Instagram is getting more and more strict on applications. Ugh.

@robertark Thanks for your response alot :) Let me know if youi would go through the review. I will let you know also when ill advance:+1:


fixes for config caching

Fixes for config caching - fixes #2

I think I have fixed everything now - please verify. Thanks.

Hey, The PR looks good. I will do some integration testing on my part before merge it. Thanks.


Pass parameters to asset publish file

I wanna pass parameters to the file that I'm gonna publish through asset, is there anyway I can archive it?
Example: test.php
<?php
echo $var;

And then pass the variable $var = "Hello World"; through Yii::$app->assetManager->publish('test.php')
Is this porsible to do it?

@tongtoanbs, please use Official Yii 2 forum to ask a questions - GitHub is a bug tracking system.


First contribution

Updated README.md fixing some typos and solved issue #25 about app_name in app.py.

I'd like to take advantage of this occasion, it being my first contribution to this repo, to say that I find it amazing and I'd love to continue contributing. I started learning python a few months ago and pygame has been a very fun way to do so. I enjoy sharing the games I've learned to code with my friends but I always had to use my laptop to show them. I searched several times for a way to serve them in a web so that I can share it with them easily and I always found people answering that pygame isn't suited for that. I tried replit and others but it's not a good method. I was very lucky to find Paul Peny and I would like to thank him for his work. Thanks to pygbag I'm able to host my first game easily in GitHub Pages and my friends can even try it with their cellphone.
I'm learning a lot about all this programming world and I'm loving open source as a concept. I saw the idea is to add pygbag to pygame for everyone to use and I'd love to be a part of that. I still have a lot to learn and I love that too, but I'd like to help with what I can.


:row-class question

Based on documentation, I was understanding that I could simply pass :row-class a class name (string) and not a method/function?
I can only get it to work if I define a method to use for row-class.
here's a jsfiddle: http://jsfiddle.net/clemsontiger/9cnaoy0t/4/

@clemsontiger To pass in a string, you must not use v-bind.
<vuetable
  row-class="my-css-class"
></vuetable>

No colon (:) in front of row-class

That did it. What's the difference in properties that use the colon and those that don't?


Debug Documentation?

Hey there,
pretty new with electron and node.js, is there a way to debug the squirrel events?
I'm especially trying to find out why '--squirrel-uninstall' doesn't seem to happen for me.
Thanks

Hey @Razzeee,
This module uses the debug module which might be helpful for you.  Usage docs can be found here.
Debugging in the main process of electron (where electron-squirrel-startup runs) is notoriously difficult.  However, the electron docs provide a nice solution to this (rather than trying to fuss with the debug module): https://github.com/electron/electron/blob/master/docs/tutorial/debugging-main-process.md
Please feel free to reopen this issue if the above is unclear or you find a good solution specific to squirrel debugging as I'm sure many others would be interested as well.
Thanks,
Lucas


[Azure] Use OIDC based authentication for GitHub Actions

We currently use Service Principal with secrets to authenticate to Azure for our tests running in GitHub Actions. This is due to a token expiring too quickly for our multicloud test (see https://github.com/paraglider-project/paraglider/actions/runs/6332622213/job/17199376319). This is blocked on https://github.com/Azure/login/issues/180.

@seankimkdy should this be "help wanted" and or "good first issue"?

@divega Not sure. I have to see if it's still blocked on that issue I linked above. This requires setting up things directly in the NetSys Azure subscription, so I don't know if anyone besides Sarah or I would be able to.

Thank. Ok, then by default it isn't.


Fix for STORE-1346 : Keep the bookmark card in fail to remove

In this PR:

Keep the bookmark car in my items page , in an event of failure to remove bookmark.

Address the following issue : STORE-1346

Closing this PR, since having conflicts with existing code. Create a new PR (#701) resolving conflicts.

Closing this PR, since having conflicts with existing code. Create a new PR (#701) resolving conflicts.


feat(reorder): add applyTo method to ionItemReorder event

Short description of what this resolves:
This allows to apply reordering inside template without importing any other helper functions
Changes proposed in this pull request:

adds additional method applyTo to $event  triggered by ionItemReorder

Ionic Version: 2.x

love the idea! I will share it with my team first!
Thanks a lot for the PR!

@stalniy merged! I made one little change: https://github.com/driftyco/ionic/commit/ba18030b4f8984f82fe5a53f12f7e7a259450d48

@manucorporat thanks!


mysqli_stmt_get_result incompatible with recommended config

Not sure how to phrase this as an issue, but it complicates the installation issues #13 and conflicts with the recommended config in the wiki installation documentation.
The install doc recommends PHP 5.3. Recent changes to address SQL injection #17 have added calls to  mysqli_stmt_get_result. This function exists in PHP 5.3 but only with the MySQL native driver (mysqlnd), which is not the default in 5.3.
mysqlnd became the default in PHP 5.4 (CentOS 7), so the official CentOS 5 and 6 packages aren't compatible with this change. There are third-party packages to get PHP 5.3 with mysqlnd, but I'm hesitant to start installing them.
Is there a recommendation on where to get a necessary version of php - I saw previous references to XAMPP but it's not mentioned in the installation documentation anymore.

The latest code (as of 28d6fb44cc4564148891f6c368990b1dcf0887fd) should no longer require mysqlnd.

Also live on NESCent-hosted server.


NE on K8s: check NuvlaEdge clustering management action is relevant or else disable it

[ ] investigate the relevancy of the clustering mgmt action for NE on K8s

if relevant, propose implementation
otherwise, disable it on UI

These clustering actions:

Join as worker
Join as manager
Leave
Force new cluster

In the Kubernetes (generically k8s) sense, these are equivalent to, respectively:

Join Kubernetes cluster as worker node
Join Kubernetes cluster as another master node
Obvious
Not sure... whole new kubernetes cluster?

At the moment, we are making the assumption that the node that the NuvlaEdge is deployed on is the master (control-plane is True) and the deployments are also to land on that (master) node.
If we require that the k8s cluster is larger... i.e. worker nodes attached, these don't need to know anything about Nuvla... the k8s control (master) node will take care of everything.
So I don't see a need for these clustering actions from the k8s point of view.
Demo to show this might be useful?

After a discussion with @schaubl on the current usage of the clustering feature in Nuvla, we agreed that for now, we don't need clustering for K8s-based NEs. Hence, the follow-up decision is to disable the action on the edge UI.


updated references to support 2017.3.1

updating plugin to support IntelliJ 2017.3.1

I guess the scala lib version in the scala plugin 2017.3.10 has changed? :)

Yeah. Also updated the other plugin versions to match support for 2017.3.+

LGTM, thanks!


When lshw output is missing capacity lets try size before resorting to the default

@nsauro @byxorna @Primer42

lgtm

lgtm too.


Amplify Project Pull without GUI/User Interaction

How did you install the Amplify CLI?
CURL
If applicable, what version of Node.js are you using?
node 16
Amplify CLI Version
11.1.1
What operating system are you using?
Ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
I tried to pull the amplify project in my own CICD pipeline using the following command
amplify pull --appId <app-id> --envName staging --yes

It prompts to browser to sign in with the AWS account.
But in the CICD pipeline, there is no GUI. How should I resolve this?
Expected behavior
I want to perform amplify pull --appId  --envName staging --yes command in CICD pipeline without any user interactions
Reproduction steps

Navigate to a particular react client project
Run amplify pull --appId  --envName staging --yes command
It prompts to browser

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @NareshChinnusamy, thank you for reaching. It appears the application has Amplify Studio enabled and is prompting to authenticate on the browser.
To mitigate the issue we utilize the following options.

If the application does not utilize Amplify Studio
Disable Amplify Studio on the AWS Amplify console. on selecting the Amplify App, on the left panel select Amplify Studio settings  and disable studio.  On re-running the pull command, this should automatically switch to using profiles.

Using headless command and pass in additional attributes:
We can utilize a script to run Amplify CLI headless command that will use the profile or keys. Refer to the example here

Thanks for the Info. I got it to work with Headless Mode.


Building on OS X 10.9 fails at "python setup.py build_ext --inplace"

running build_ext
building 'opensfm.csfm' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include/eigen3 -Iopensfm/src/third_party -Iopensfm/src/third_party/akaze/lib -Iopensfm/src/third_party/vlfeat -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c opensfm/src/csfm.cc -o build/temp.macosx-10.6-intel-2.7/opensfm/src/csfm.o -std=c++11
In file included from opensfm/src/csfm.cc:12:
In file included from opensfm/src/bundle.h:12:
In file included from /usr/local/include/ceres/ceres.h:37:
In file included from /usr/local/include/ceres/autodiff_cost_function.h:134:
In file included from /usr/local/include/ceres/sized_cost_function.h:41:
In file included from /usr/local/include/ceres/types.h:42:
/usr/local/include/ceres/internal/port.h:62:7: error: no member named 'shared_ptr' in namespace 'std'; did you mean 'boost::shared_ptr'?
using std::shared_ptr;
^~~~~
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
template friend class shared_ptr;
^
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1

thanks for reporting. I have no osx 10.9 close to debug.  According to this, it seems related to clang using libstdc++.
Can you try compiling with the option -stdlib=libc++ ?

hmm, a different error that doesn't really make sense ;(  Running that command directly works tho.  It only fails when running thru "python setup.py build_ext --inplace"
running build_ext
building 'opensfm.csfm' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include/eigen3 -Iopensfm/src/third_party -Iopensfm/src/third_party/akaze/lib -Iopensfm/src/third_party/vlfeat -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c opensfm/src/csfm.cc -o build/temp.macosx-10.6-intel-2.7/opensfm/src/csfm.o -stdlib=libc++
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
error: command '/usr/bin/clang' failed with exit status 1

It seems the -std=c++11 is missing on the last command.  Try using both -std=c++11 and  -stdlib=libc++

I updated setup.py ln 107 to be:
extra_compile_args=['-std=c++11', '-stdlib=libc++'],
still getting same error.
$ python setup.py build_ext --inplace
running build_ext
building 'opensfm.csfm' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include/eigen3 -Iopensfm/src/third_party -Iopensfm/src/third_party/akaze/lib -Iopensfm/src/third_party/vlfeat -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c opensfm/src/csfm.cc -o build/temp.macosx-10.6-intel-2.7/opensfm/src/csfm.o -std=c++11 -stdlib=libc++
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
error: command '/usr/bin/clang' failed with exit status 1

Perhaps OS X is not the best env for working on this, I will try this in linux

We do use OS X, should be no problem. It is weird that running the compilation line manually works, and not within setup.py.  Can you try building with cmake?

This fixed the issue:
extra_compile_args=['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7'],
now hitting a missing library, should be easier to fix:
/usr/bin/clang++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7/opensfm/src/csfm.o -L/usr/local/lib -Lbuild/temp.macosx-10.6-intel-2.7 -lceres -lglog -lgflags -lboost_python -lvl -lmv -lakaze -o /Users/dchen/workspace/3rd-party/OpenSfM/opensfm/csfm.so
ld: library not found for -lvl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang++' failed with exit status 1

Do you have any information on installing visualization library in os x?

So vl is one of the static libraries generated by setup.py itself. Should be build when running
python setup.py build_clib

before
python setup.py build_ext --inplace

Ah gotcha, got it built, thank you for the assistance!

Cool, I've added the flags. Thanks for reporting!


version bump for 1.9.5

High Level Description
Bump version of DCOS to 1.9.5

@mesosphere-mergebot label ready for review

@mesosphere-mergebot bump-ee

This PR (https://github.com/dcos/dcos/pull/1965) might be required for azure/arm to go green.