add dir/glob support, file watching, auto-load for plugins

hey, are there any plans to support the following ?
glob patterns
posthtml -i *.html -o [name].html

file watching
posthtml -i  *.html -o [name].html  -w|--watch

auto-load plugins directly from pkg.json, like posthtml-load-plugins and then specify the plugins options in the pkg.json as well
posthtml -i *.html -o [name].html -w (if  !-c|--config flag => auto-load plugins && options)

"dependencies": {
  "posthtml-bem":  "0.0.1"
},
posthtml: {
  "bem":  "options..."
}

Are PR's welcome to this project, i could implement this stuff if accepted?

Hi.
glob patterns is planned see #9
wathing files/dir nice idea, added in plan. Tanks !
auto-load-plugins great pkg, but this implemented in the project, used default options yargs (read package.json or config path), but most likely will add to the core. Tanks !!!

hi ohh sry i missed this one #9 :).
argv.require as i saw in the cli module does nearly the same thing i intended to provide with the load-plugins pkg, maybe we could aline the behaviour of how it's done in some way?
I hack around with glob and watch
glob works, watch seems to... tests leaking
If you want some help or assign one of the issues let me know otherwise looking forward to this improvements, especially for npm build tooling :).

Glob - 404
Watch not best choice, i like chokidar

maybe we could aline the behaviour of how it's done in some way?

Sorry i'm not understand question.

sry... glob
that seems to be a better option, never heard of that :)
As i understand argv.require currently reads the plugins this way
"posthtml": {
    "require": ["posthtml-custom-elements"]
  }

then maps them to the plugins array
var plugins = [];

if (argv.require) {
  plugins = argv.require.map(function (name) {
    return require(name)(argv[name]);
  });
}

while posthtml-load-plugins does it this way
"dependencies": {
  "posthtml-bem": "0.0.0"
},
"devDependencies": {
  "posthtml-exp": "0.0.0"
},
"posthtml": {
    "bem":  {"options..."},
    "exp":  {"options..."}
  }

var pkg = require('./package.json')
var options = argv.require || {}

// Prototype for plugin before pushed to plugins array
  function Plugin (plugin, options) {
    function namespace (plugin) {
      let namespace = plugin
        .slice(9)
        .replace(/-(\w)/g, (match) => {
          return match.replace(/-/, '').toUpperCase()
        })
      return `${namespace}`
    }

    return {
      plugin: require(`${plugin}`),
      namespace: namespace(plugin),
      defaults: {}
    }
  }

// Filter for plugins in pkg.dependencies/devDependencies
  function isPlugin (element, index, array) {
    return element.match(/posthtml-[\w]/)
  }

 var plugins = []

// Build plugins array from dependencies/devDependencies
  Object.keys(pkg.dependencies).filter(isPlugin).forEach(plugin => {
    plugins.push(new Plugin(plugin))
  })

  Object.keys(pkg.devDependencies).filter(isPlugin).forEach(plugin => {
    plugins.push(new Plugin(plugin))
  })

  var processors = []

// Inject custom options foreach plugin or use defaults
  plugins.forEach(plugin => {
    var namespaceOptions = plugin.namespace in options ? options[plugin.namespace] : options
    var pluginOptions = {}

    Object.keys(plugin.defaults).forEach(key => {
      pluginOptions[key] = plugin.defaults[key]
    })

    Object.keys(namespaceOptions).forEach(key => {
      pluginOptions[key] = namespaceOptions[key]
    })

    if (namespaceOptions && !processorOptions.disable) {
      processor.push(plugins.plugin(pluginOptions))
    }
  })

  return processors
}

The "posthtml" option in pkg.json just contains the plugin options which then get injected later.

@michael-ciniawsky Thanks I saw it, that's cool, I've added it to the plan. It is planned to loader pkg option is the order of loading ?

not really..... currently just filters the include plugin to unshift it in the plugins array that's an serious issue to find a solution here for plugins requiring specific order.if you have a solution in mind please let me know :)

I think through the options or to draw up a minimum list yourself and Deposit to edit it. Until such ideas.

@michael-ciniawsky add support read/write and replace options


Adding a close button

When I zoom in, this panel annoys

Would you mind to put a close button, please? Thanks.

The options button in the top right closes it.
Maybe to make this more clear a little arrow should be added pointing from the panel to the options button? Something like what GitHub shows when hovering.


renderRightButton doesn't work

Hi,
How am i supposed to use the prop renderRightButton on a Scene ?
I've tried with a closure : renderRightButton={() => ()}
And without : renderRightButton={}
Even with adding onRight or rightTitle (this prop overrides mine) it doesn't work, nothing appears.
I've looked source code but I don't see any mention of this.props.renderRightButton, is it normal ?
I'm using 3.x
Thank you

from NavBar:
        if (state.renderLeftButton){
            this._renderLeftButton = state.renderLeftButton;
        }
        if (state.renderRightButton){
            this._renderRightButton = state.renderRightButton;
        }
        if (state.renderBackButton){
            this._renderBackButton = state.renderBackButton;
        }

Please debug and feel free to submit PR if it doesn't work properly.

I was running into the same issue as well. Did some debugging and was able to get it working by changing up NavBar.js. Here is my complete NavBar.js.
`/**

Copyright (c) 2015, Facebook, Inc.  All rights reserved.

Facebook, Inc. ("Facebook") owns all right, title and interest, including
all intellectual property and other proprietary rights, in and to the React
Native CustomComponents software (the "Software").  Subject to your
compliance with these terms, you are hereby granted a non-exclusive,
worldwide, royalty-free copyright license to (1) use and copy the Software;
and (2) reproduce and distribute the Software as part of your own software
("Your Software").  Facebook reserves all rights not expressly granted to
you in this license agreement.

IN NO EVENT SHALL FACEBOOK OR ITS AFFILIATES, OFFICERS, DIRECTORS OR
EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

*/
import React, {Animated, PixelRatio, Image, StyleSheet, Text, TouchableOpacity, View, NavigationExperimental} from 'react-native';
import Actions from './Actions';
const {
AnimatedView: NavigationAnimatedView,
Card: NavigationCard,
RootContainer: NavigationRootContainer,
Header: NavigationHeader,
} = NavigationExperimental;
export default class extends React.Component {
componentWillMount(){
const state = this.props.navigationState;
this._renderRightButton = this._renderRightButton.bind(this);
this._renderBackButton = this._renderBackButton.bind(this);
this._renderLeftButton = this._renderLeftButton.bind(this);
this._renderTitle = this._renderTitle.bind(this);
}
render() {
const state = this.props.navigationState;
const childrenState = this.props.navigationState.children[state.index];
if (state.navBar || childrenState.navBar){
const Component =  childrenState.navBar || state.navBar;
return <Component {...this.props} {...state}/>
}
if (childrenState.component && childrenState.component.renderNavigationBar){
return childrenState.component.renderNavigationBar({...this.props,...childrenState});
}
if (state.hideNavBar || childrenState.hideNavBar){
return null;
}
return (
<Animated.View
style={[styles.header, state.navigationBarStyle]}>
{state.children.map(this._renderTitle, this)}
{this._renderBackButton()}
{this._renderLeftButton()}
{this._renderRightButton()}
</Animated.View>
);
}
_renderBackButton() {
    if (this.props.navigationState.index === 0) {
        return null;
    }

    const state = this.props.navigationState;
    const childState = this.props.navigationState.children[this.props.navigationState.index];

    if (childState.renderBackButton || state.renderBackButton) {
      let backButton = childState.renderBackButton || state.renderBackButton;

      return (
        <View style={styles.backButton}>
          {backButton()}
        </View>
      );
    }

    return (
        <TouchableOpacity style={[styles.backButton, this.props.navigationState.leftButtonStyle]} onPress={Actions.pop}>
            <Image source={require('./back_chevron.png')} style={[styles.backButtonImage, this.props.navigationState.barButtonIconStyle]}/>
        </TouchableOpacity>
    );
}

_renderRightButton() {
    const state = this.props.navigationState;
    const childState = this.props.navigationState.children[this.props.navigationState.index];

    if (childState.renderRightButton) {
      let button = childState.renderRightButton();

      return (
        <View style={styles.rightButton}>
          {button}
        </View>
      );
    }

    if (childState.onRight && childState.rightTitle){
        return (
            <TouchableOpacity style={[styles.rightButton, childState.rightButtonStyle]} onPress={childState.onRight}>
                <Text style={[styles.barRightButtonText, childState.rightButtonTextStyle]}>{childState.rightTitle}</Text>
            </TouchableOpacity>
        );
    }
    if (state.onRight && state.rightTitle){
        return (
            <TouchableOpacity style={[styles.rightButton, state.rightButtonStyle]} onPress={state.onRight}>
                <Text style={[styles.barRightButtonText, state.rightButtonTextStyle]}>{state.rightTitle}</Text>
            </TouchableOpacity>
        );
    }
}

_renderLeftButton() {
    const state = this.props.navigationState;
    const childState = this.props.navigationState.children[this.props.navigationState.index];

    if (childState.renderLeftButton) {
      let button = childState.renderLeftButton();

      return (
        <View style={styles.leftButton}>
          {button}
        </View>
      );
    }

    if (childState.onLeft && childState.leftTitle){
        return (
            <TouchableOpacity style={[styles.leftButton, childState.leftButtonStyle]} onPress={childState.onLeft}>
                <Text style={[styles.barLeftButtonText, childState.leftButtonTextStyle]}>{childState.leftTitle}</Text>
            </TouchableOpacity>
        );
    }
    if (state.onLeft && state.leftTitle){
        return (
            <TouchableOpacity style={[styles.leftButton, state.leftButtonStyle]} onPress={state.onLeft}>
                <Text style={[styles.barLeftButtonText, state.leftButtonTextStyle]}>{state.leftTitle}</Text>
            </TouchableOpacity>
        );
    }
}

_renderTitle(childState: NavigationState, index:number) {
    return (
        <Animated.Text
            key={childState.key}
            style={[
      styles.title, this.props.navigationState.titleStyle, childState.titleStyle,
      {
        opacity: this.props.position.interpolate({
          inputRange: [index - 1, index, index + 1],
          outputRange: [0, 1, 0],
        }),
        left: this.props.position.interpolate({
          inputRange: [index - 1, index + 1],
          outputRange: [200, -200],
        }),
        right: this.props.position.interpolate({
          inputRange: [index - 1, index + 1],
          outputRange: [-200, 200],
        }),
      },
    ]}>
            {this.props.getTitle ? this.props.getTitle(childState) : childState.title }
        </Animated.Text>
    );
}

}
const styles = StyleSheet.create({
title: {
textAlign: 'center',
marginTop: 10,
fontSize: 18,
fontWeight: '500',
color: '#0A0A0A',
position: 'absolute',
top: 20,
left: 0,
right: 0,
},
header: {
backgroundColor: '#EFEFF2',
paddingTop: 20,
top: 0,
height: 64,
right: 0,
left: 0,
borderBottomWidth: 0.5,
borderBottomColor: '#828287',
position: 'absolute',
},
backButton: {
width: 50,
height: 37,
position: 'absolute',
bottom: 4,
left: 2,
padding: 8,
},
rightButton: {
width: 50,
height: 37,
position: 'absolute',
bottom: 4,
right: 2,
padding: 8,
},
leftButton: {
width: 50,
height: 37,
position: 'absolute',
bottom: 4,
left: 2,
padding: 8,
},
barRightButtonText: {
color: 'rgb(0, 122, 255)',
textAlign:'right',
fontSize: 17,
},
barLeftButtonText: {
color: 'rgb(0, 122, 255)',
textAlign:'left',
fontSize: 17,
},
backButtonImage: {
width: 13,
height: 21,
},
});
`
I'm still cleaning it up, but if it works for you as well I'll get a PR ready and submit.

@jarredwitt No need to post sources here (it is for issues not for source code), just submit PR and i will review.

Sounds good. I'll get it cleaned up and do some more testing then submit.

Okey, i've found that props were not passed for nested scenes, please check 3.1.1

It's still not working for me in 3.1.3. When I make the NavBar.js changes to what I posted earlier it begins working correctly. I'll do some more debugging.

renderTitle also don't work for me.

@linyize Sorry, renderTitle is not supported (because of animation of titles), i've removed it from docs.

@jarredwitt I've just added renderRightButton to Example for tab #5, i see it without any problem

I've tried with the same component and renderTo attribut of your example, copied pasted, but it doesn't work on 3.1.5, nothing is displayed

Example, tab#5 contains custom right button (just unclickable text)

I've got trouble seeing the right button in 3.2.2. I use the code from your example but nothing appears. I'll keep on looking in case I'm missing something.

Are you joking? Have you ever read answer above? tab n5 contains right button from Example project.

Yes I understand that, I'm using that exact code but I don't see any Right button on my nav bar.. Am I missing something?

Ok I kept researching and I found out that the button WAS indeed render but it was rendered BEHIND the nav bar.. Like so:

Thats my code:
  class ARightBtn extends React.Component {
      render(){
          return <Text style={{
            width: 80,
            flex:1,
            position: 'absolute',
            height: 120,
            width: 200,
            top: 50,
            right:0,
            padding: 8,
            backgroundColor: 'red',
            color: '#000000'
        }}>RightBtnTest</Text>
      }
  }

and then I use it like so:
<Scene key="EmailSignIn" title="Sign In" type="push" hideNavBar={false} titleStyle={{color:Colors.mainTextColor}} renderRightButton={()=><ARightBtn/>} initial={true} >
    <Scene key="EmailSignIn1" component={EmailSignIn} title="Sign In" navigationBarStyle={{backgroundColor:Colors.primaryColor}} renderRightButton={()=><ARightBtn/>}  />
    <Scene key="EmailSignIn2" component={Onboarding} title="Sign In"/>
</Scene>


Theme names from ix are not compatible with ix-echart theme names

Prerequisites

[X] I have not leaked any internal company information.
[X] I have not posted internal links or code snippets.

What happened?
themeSwitcher.getCurrentTheme() method returns ix themes formatted like this. "theme-brand-dark"
but ix-chart names are "brand-dark" , "brand-light" etc. OFC I can use string replace method like below but I cant always count on it in future.
themeSwitcher.getCurrentTheme().replace("theme-","")
Therefore the names of the themes of ix and echarts should be same.
What type of frontend frameware are you seeing the problem on?
React
Which version of iX do you use?
v.2.0.4
Code to produce this issue.
themeSwitcher.getCurrentTheme()

Thank you for your input. We will discuss this requirement internally! Internal ref [IX-955]


Envelope type and Deserialization errors when confirming cast transactions in MetaMask

Component
Cast
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
cast 0.2.0 (e9f274d 2022-12-13T00:04:35.011347Z)
What command(s) is the bug in?
cast send, cast rpc
Operating System
macOS (Apple Silicon)
Describe the bug
The Issue
I'm attempting to use cast with Truffle Dashboard so I can confirm my transactions using MetaMask. These errors could point to a larger EIP-1559 issue, which is why I bring them up here. I tried 3 different methods of sending the transaction, using both Ganache and Goerli networks with the example Counter contract:

cast send: Error regarding envelope type: (code: -32602, message: Invalid transaction envelope type: specified type "0x02" but including maxFeePerGas and maxPriorityFeePerGas requires type: "0x2", data: None)
cast send --legacy: Error regarding "message": (code: -32603, message: Cannot read properties of undefined (reading 'message'), data: Some(Object {"originalError": Object {}}))
cast rpc: Error regarding message, specifically deserialization: Deserialization Error: missing field "message" at line 1 column 275. Response: {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"data":{"method":"eth_sendTransaction","params":"[{from: \"0xF808714EA67395Eed66931c8E9f88314e78bE31E\", to: \"0x94b1f4b902c074843A7f75Eec0544b88eFfEDEF8\", gas: \"0x76c0\", gasPrice: \"0x9184e72a000\", data: \"0xd09de08a\"}]"}}}

Repro Steps

Initialize a new foundry project:
forge init foundry-test

Build the included Counter contract:
forge build

Start a new ganache instance (or skip steps 4+5 for Goerli):
ganache

Add the first account to MetaMask, either by creating a new wallet with Ganache's mnemonic or copy/pasting the private key for account 0 into MetaMask's import account flow.

Start up Truffle Dashboard. You can do this without installing Truffle:
npx tdboard

Deploy the contract. This will not touch Dashboard because the private key is already included for signing (expected).
forge create --rpc-url http://localhost:24012/rpc --private-key <PRIVATE_KEY> Counter

Attempt to use cast send to send the transaction:
cast send --from 0xF808714EA67395Eed66931c8E9f88314e78bE31E 0x94b1f4b902c074843A7f75Eec0544b88eFfEDEF8 "increment()" --rpc-url http://localhost:24012/rpc
You'll see the transaction appear in Truffle Dashboard (ignore the compilation warning), attempting to approve it results in this error in the console:
(code: -32602, message: Invalid transaction envelope type: specified type "0x02" but including maxFeePerGas and maxPriorityFeePerGas requires type: "0x2", data: None)

Attempt to use cast send with the legacy option:
cast send --from 0xF808714EA67395Eed66931c8E9f88314e78bE31E 0x94b1f4b902c074843A7f75Eec0544b88eFfEDEF8 "increment()" --legacy --rpc-url http://localhost:24012/rpc
We get further! MetaMask will open in this instance, but the transaction will clear before you have a chance to approve. Error in console:
(code: -32603, message: Cannot read properties of undefined (reading 'message'), data: Some(Object {"originalError": Object {}}))

Attempt to use cast rpc to send the transaction:
cast rpc -r http://localhost:24012/rpc -w eth_sendTransaction '[{from: "0xF808714EA67395Eed66931c8E9f88314e78bE31E", to: "0x94b1f4b902c074843A7f75Eec0544b88eFfEDEF8", gas: "0x76c0", gasPrice: "0x9184e72a000", data: "0xd09de08a"}]'
Error in console:
Deserialization Error: missing field "message" at line 1 column 275. Response: {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"data":{"method":"eth_sendTransaction","params":"[{from: \"0xF808714EA67395Eed66931c8E9f88314e78bE31E\", to: \"0x94b1f4b902c074843A7f75Eec0544b88eFfEDEF8\", gas: \"0x76c0\", gasPrice: \"0x9184e72a000\", data: \"0xd09de08a\"}]"}}}

I'll note here that I also tried one level down (sending a raw tx), which did work, but of course didn't use MetaMask/Dashboard because it's pre-signed.

were you able to find a workaround for this? having exactly the same problem when trying to interact with metamask and ethers-rs

tbh all of these errors looke like ganache/metamask related:

(code: -32602, message: Invalid transaction envelope type: specified type "0x02" but including maxFeePerGas and maxPriorityFeePerGas requires type: "0x2", data: None)

EIP1559 is 0x02 and should include maxFeePerGas and maxPriorityFeePerGas

Deserialization Error: missing field "message" at line 1 column 275. Response: {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"data":{"method":"eth_sendTransaction","params":"[{from: "0xF808714EA67395Eed66931c8E9f88314e78bE31E", to: "0x94b1f4b902c074843A7f75Eec0544b88eFfEDEF8", gas: "0x76c0", gasPrice: "0x9184e72a000", data: "0xd09de08a"}]"}}}

this is an error because the response is not valid JSON RPC lacks message field of JSON RPC error

i guess this can be closed since this is indeed an error in metamask and not in foundry, the mm team opened an issue: https://github.com/MetaMask/metamask-extension/issues/18076 - thanks for your reply @mattsse


Only fixes dates for min date, not for all other wrong dates < 15.10.1582

More of a discussion topic than a bug.  Python-pyodata has a "dirty" fix for SAP's faulty unix timestamp implementation.
https://github.com/SAP/python-pyodata/blob/0d5c9dabfc7e5b99837eaf7fdccc592bc344d623/pyodata/v2/model.py#L376
I am wondering why this was not raised to the service provider: SAP standard JSON serialization. The problem is not limited to 0001-01-01, every date below 15.10.1582 is serialized wrong because the JSON implementation doesn't account for ABAP data type d's rather peculiar behavior of mixing Julian and Gregorian calendar.
This should really be fixed by SAP on the provider level rather than having every client library built in dirty hacks like this to not run into errors (while still receiving wrong dates!).
A proper fix on client side would have to implement this entire conversion to account for SAP's faulty timestamps:
https://en.wikipedia.org/wiki/Conversion_between_Julian_and_Gregorian_calendars
But feel free to close if you feel this is out of scope.

Hi @manuelseeger
I do not know what to respond here. The library was initially build around what we see, for the purpose of writing integration tests for out teams Fiori apps - because existing python libraries were not covering what we needed or not maintained anymore. Then later the pyodata was open-source for the community usage for generic odata v2 usage and maintained with bugs incoming from enhancing the scope in such way.
Feel free to create a customer incident for SAP that "15.10.1582 is serialized wrong" - my wild guess as person (not speaking for SAP as a company) is that the relevant code is stabilized for such long time, that it would be much more burden to actually fix this, probably would break some backward compatibility in the product and yet, as a basically ERP and Accounting to be the core functionality there, customers probably do not have invoices from the 16th century and before.
But that function is fixing problem about timezones and Edm.DateTimeOffset not working properly. Check out PR #184 and commit message for ec569955. That's why I think it is correct to be present in the core model.py and not vendor/SAP.py.
Do you see anything that should be fixed on the pyodata code side?

Don't get me wrong I am not saying this library has a bug. And I understand the reasoning.
I also don't expect SAP will fix the messed up date serializing at this point. Although an alternative, fixed serializer which can be invoked by a custom header or something like that would be great.
And yes, dates before 1582 are probably not business relevant in most cases.
Still, that leaves client libraries to implement hacks to not get out of bounds errors for 0001-01-01, like pyodata does. I had to do the same in other client libraries and it's pretty painful for libraries that you don't control yourself.
I guess I was just wondering if that was a known problem before since I saw the same workaround that I had to build into other libraries here.

OK, seems we are on the same boat here in same storm :)
Closing the issue.


Mime Wall Nerf

About the PR
Adjusts the mime's invisible wall uptime to 15 seconds, half the original time. So;
15 second uptime.
30 second cooldown, (or more effectively a 15 second cooldown because the cooldown starts as soon as the wall goes up.)
Why / Balance
Mimes before could keep a wall constantly up because it had 30 second uptime, 30 second cooldown.
 Which isn't always an option when it comes to one port docked shuttles, one table desks, dead end maint, etc.
Media

[X] This PR does not require an ingame showcase.

mimeteen eighty four

Keep in mind holding W into a mime wall will stop them from putting it up still, since despite "100% uptime" you'll move into the wall and block it before they put it up. I feel something less drastic like 20sec uptime / 25 second cooldown or 25/30 would be ideal.

This probably should’ve had a CL but oh well

maybe we should have more than 2 hours or two comments of deliberation before merging it?

maybe we should have more than 2 hours or two comments of deliberation before merging it?

It's a pretty minor change tbh, don't think it's necessary

maybe we should have more than 2 hours or two comments of deliberation before merging it?

You chose to make a mimeteen eighty four comment.

maybe we should have more than 2 hours or two comments of deliberation before merging it?

You chose to make a mimeteen eighty four comment.

and?

I think a gimmick power for the mime does not need 100% uptime considering its use is fairly powerful, I agree with lowering its duration

I think a gimmick power for the mime does not need 100% uptime considering its use is fairly powerful, I agree with lowering its duration

Totally agree, but also think lowering the cooldown to boot would be cool. Something like 15up / 20 cooldown, or even 10up / 15 cooldown would let mimes pull a lot more pranks with the invisible wall while also not making everyone sit there and stare at them for 30 seconds.
(That said I barely care this PR is fine)


Make CustomAttributeData's AttributeType virtual

https://github.com/dotnet/corefx/issues/31614
This will allow Reflection providers the option
to supply the attribute type without building
an entire constructor.

cc @steveharter


Info about auth_token in auth.js

For what it's used auth_token function in the auth.js reducer ?

auth_token holds a token which would be sent on every request to the server so that the server can verify you are authorized to do that request, like json web token. You do not have to use an authentication mechanism like that, you could also e.g. store a session cookie.
Let me know if you have further questions.


Merge upstream changes

Upstream changes include

updating most libraries
removing the ordereddict constructs which complicated loading and parsing, but python 3.7+ guarantees dictionary order so ordererdict's are no longer needed
removed custom HCL2 parsing
improved test coverage from 62% to 80%
fixed a race condition in pipe_exec which could cause exit codes to not be returned
made exit codes and error strings more consistent throughout

merged via gh's "sync fork" to avoid merge commit circular fighting between fork/upstream


Echo Auto

Anyone got the amazon echo auto to work?
I cant get any output in debug when i select 'on device activity'

I havent tried the auto again in sometime.
When i get a chance, i will try again and see if can get a debug msg output from the auto.

I actually have been trying that recently. according to NR and Remote2 it seems to be successfully sending the TTS command, but the Echo Auto is just ignoring it at the device level it seems. Doesn't seem to matter the format its sent in either; Regular, SSML, Speak or Speak at volume. I also tried making a Routine in the Alexa App which just speaks "test test test" when triggered by me saying "test auto" to one of my dots in the house -- no results there either. Its odd because the app allows you to select the Auto as an output device in its own routines, but doesn't seem to actually support that.

I actually have been trying that recently. according to NR and Remote2 it seems to be successfully sending the TTS command, but the Echo Auto is just ignoring it at the device level it seems. Doesn't seem to matter the format its sent in either; Regular, SSML, Speak or Speak at volume. I also tried making a Routine in the Alexa App which just speaks "test test test" when triggered by me saying "test auto" to one of my dots in the house -- no results there either. Its odd because the app allows you to select the Auto as an output device in its own routines, but doesn't seem to actually support that.

So i have been playing around with this again, and definitely cannot get the auto to respond to any commands.
Even just having an event node with a debug node, and speaking to only the echo auto, i get no info in the debug node - Its like it cant recognise the device


Adding Source Modules for COBOL Challenges: Debugging

Looks fine, have created #139 for the instructions and pics.

@jellypuno what's the difference between the two programs, CBL0106 and CBL0106C? The instructions I provided only refer to the first one.

@zeibura CBL0106 is the program that needs debugging. CBL0106C is the fixed version in case the students are stuck and they need help.

I requested a small change on #139 but see no harm in merging this PR first.


Record observation source

This is a fairly minimal first attempt.  It just adds an enum "source" column to the observations table with four options: (null is allowed for pre-existing observations)
mo_website
mo_iphone_app
mo_android_app
mo_api
Any observation created on the website from now on will be recorded as "mo_website".
When creating observations on the API you can now pass in a source parameter which can take any of those four values.  Right now I'm just stupidly trusting the API user to correctly supply this value.  In the future we should change this to authenticate the app.  Let's talk about this later.  The default is "mo_api" if no value is supplied.  Therefore all observations created via the API will now be marked as "mo_api" unless the app explicitly tells it to record it as something else, e.g., "mo_iphone_app" or "mo_android_app".
It displays this source information reasonably prominently right below the comments.  Of course, if there are a lot of comments, it will get pushed way off the screen, but I think it's reasonably visible for new observations without comments or name proposals yet.  It displays nothing for observations created before this PR or which were created on the website (that made it too hard to notice which were created by the app or API).
Any recommendations or suggestions?

Coverage: 92.517% (+0.003%) from 92.514% when pulling 7630208e566e5be97a85087b76ca649039b8c706 on record-observation-source into 3220b7bd52925ca66c1479b8421f5248308a5ca4 on master.

Thanks, Joe.  I've just removed Observation.all_sources altogether.  I
don't see any need for it if that trick works!
On Sun, Dec 25, 2022 at 12:15 PM Joseph D. Cohen @.***>
wrote:

@.**** approved this pull request.
In app/models/observation.rb
https://github.com/MushroomObserver/mushroom-observer/pull/1249#discussion_r1056978455
:

def self.all_sources

[:mo_website, :mo_android_app, :mo_iphone_app, :mo_api]

end

Should this return strings instead of symbols?
If symbols, maybe the following to DRY things
⬇ Suggested change

def self.all_sources

[:mo_website, :mo_android_app, :mo_iphone_app, :mo_api]

end

def self.all_sources

self.sources.keys.map(&:to_sym)

end

or maybe just define a frozen constant.
(And analogous suggestions if strings are needed.)
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1249#pullrequestreview-1229764573,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNLUMESI32SWBPGO5MTWPB6L5ANCNFSM6AAAAAATIYMWAE
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

I'd be happy to do it in a separate PR.  It's such a trivial, unimportant
thing.  It basically protects us against the extremely unlikely possibility
that an admin turns on admin mode on a public computer and forgets to turn
it off before leaving.  Then -- somehow, and I'm no longer certain of how
this happened -- another user can come along and log in and end up in admin
mode.  The autologin cookie must have expired before the session?  Anyway,
it seemed cheap and prudent to make absolutely certain admin mode is turned
off for non-admins.  It happened to me on my dev VM somehow while testing
this PR.  That's why I did it here.
On Thu, Dec 29, 2022 at 10:27 AM Nathan Wilson @.***>
wrote:

@.**** commented on this pull request.
In app/controllers/application_controller.rb
https://github.com/MushroomObserver/mushroom-observer/pull/1249#discussion_r1059013450
:

@@ -354,6 +354,7 @@ def autologin
make_logged_in_user_available_to_everyone
track_last_time_user_made_a_request
block_suspended_users

clear_admin_mode_for_nonadmins

I don't see a problem with this, but I don't understand why it's needed or
why it's part of this PR.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1249#pullrequestreview-1232579137,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNMTKVJFZ3XDUIYG7F3WPWUUJANCNFSM6AAAAAATIYMWAE
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Not a big deal either way.  Was just curious why it came up.  I'm fine with
leaving it as part of this PR.
On Thu, Dec 29, 2022 at 10:47 AM Jason Hollinger @.***>
wrote:

I'd be happy to do it in a separate PR. It's such a trivial, unimportant
thing. It basically protects us against the extremely unlikely possibility
that an admin turns on admin mode on a public computer and forgets to turn
it off before leaving. Then -- somehow, and I'm no longer certain of how
this happened -- another user can come along and log in and end up in admin
mode. The autologin cookie must have expired before the session? Anyway,
it seemed cheap and prudent to make absolutely certain admin mode is turned
off for non-admins. It happened to me on my dev VM somehow while testing
this PR. That's why I did it here.
On Thu, Dec 29, 2022 at 10:27 AM Nathan Wilson @.***>
wrote:

@.**** commented on this pull request.
In app/controllers/application_controller.rb
<
https://github.com/MushroomObserver/mushroom-observer/pull/1249#discussion_r1059013450
:

@@ -354,6 +354,7 @@ def autologin
make_logged_in_user_available_to_everyone
track_last_time_user_made_a_request
block_suspended_users

clear_admin_mode_for_nonadmins

I don't see a problem with this, but I don't understand why it's needed
or
why it's part of this PR.
—
Reply to this email directly, view it on GitHub
<
https://github.com/MushroomObserver/mushroom-observer/pull/1249#pullrequestreview-1232579137
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAYTNNMTKVJFZ3XDUIYG7F3WPWUUJANCNFSM6AAAAAATIYMWAE
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1249#issuecomment-1367421995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYQDUT62JO6WECVR5U7VPTWPWXBTANCNFSM6AAAAAATIYMWAE
.
You are receiving this because your review was requested.Message ID:
@.***>

This diff let it show up on the main page:
`diff --git a/app/presenters/matrix_box_presenter.rb b/app/presenters/matrix_box_presenter.rb
index e60ee0509..0ab56431e 100644
--- a/app/presenters/matrix_box_presenter.rb
+++ b/app/presenters/matrix_box_presenter.rb
@@ -54,6 +54,7 @@ class MatrixBoxPresenter
end
return unless (temp = rss_log.detail)

temp = target.source_credit.tpl if target.respond_to?(:source_credit) && target.source.present? && target.source != "mo_website"
To avoid calling rss_log.detail twice
self.detail = temp
end
`
The conditional is pretty much the same as the one in app/views/observations/show.html.erb.  I think if that were refactored into a method in the Observation class that would make sense.

I'm going to look at what it might take to update the mobile app to do the right thing here.

Oh great!  I was wondering if anyone knew how to do that!  Probably
needless to say, it should be a trivial change: just add a source parameter
to the POST to /api2/observations.
On Thu, Dec 29, 2022 at 11:17 AM Nathan Wilson @.***>
wrote:

I'm going to look at what it might take to update the mobile app to do the
right thing here.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1249#issuecomment-1367441134,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNNSEG2CJBLZJW5QZU3WPW2RVANCNFSM6AAAAAATIYMWAE
.
You are receiving this because you authored the thread.Message ID:
@.***>

This diff let it show up on the main page:
diff --git a/app/presenters/matrix_box_presenter.rb b/app/presenters/matrix_box_presenter.rb
index e60ee0509..0ab56431e 100644
--- a/app/presenters/matrix_box_presenter.rb
+++ b/app/presenters/matrix_box_presenter.rb
@@ -54,6 +54,7 @@ class MatrixBoxPresenter
       end
     return unless (temp = rss_log.detail)

+    temp = target.source_credit.tpl if target.respond_to?(:source_credit) && target.source.present? && target.source != "mo_website"
     # To avoid calling rss_log.detail twice
     self.detail = temp
   end

The conditional is pretty much the same as the one in app/views/observations/show.html.erb. I think if that were refactored into a method in the Observation class that would make sense.

Ah!! I understand now.  I think.  Yes, I'll do that.

Does anyone object to my merging this? (PRs are piling up again.)

No, please do.
On Thu, Dec 29, 2022 at 1:43 PM Joseph D. Cohen @.***>
wrote:

Does anyone object to my merging this? (PRs are piling up again.)
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1249#issuecomment-1367516405,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNLAKZSH2LM477FG5VDWPXLTNANCNFSM6AAAAAATIYMWAE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I forgot to actually submit the review I did, so I just made the changes.  Still not used to that GitHub workflow.

Oh good!  I was just starting to fix them myself.
My thought concerning blahdeblah.com was to direct users straight to the
apple store or play store page for Olivia's app.  But I'm reconsidering.
You're probably right, the article is better.  Let's assume I approve of
your change. :)
On Thu, Dec 29, 2022 at 2:56 PM Nathan Wilson @.***>
wrote:

I forgot to actually submit the review I did, so I just made the changes.
Still not used to that GitHub workflow.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1249#issuecomment-1367557095,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNNR5R5TZFN4JHYB7FTWPXUILANCNFSM6AAAAAATIYMWAE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeah, given that most folks are going to be looking at things from a web
browser that isn't on a mobile app, I think the article is the better
approach.
On Thu, Dec 29, 2022 at 3:16 PM Jason Hollinger @.***>
wrote:

Oh good! I was just starting to fix them myself.
My thought concerning blahdeblah.com was to direct users straight to the
apple store or play store page for Olivia's app. But I'm reconsidering.
You're probably right, the article is better. Let's assume I approve of
your change. :)
On Thu, Dec 29, 2022 at 2:56 PM Nathan Wilson @.***>
wrote:

I forgot to actually submit the review I did, so I just made the changes.
Still not used to that GitHub workflow.
—
Reply to this email directly, view it on GitHub
<
https://github.com/MushroomObserver/mushroom-observer/pull/1249#issuecomment-1367557095
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAYTNNNR5R5TZFN4JHYB7FTWPXUILANCNFSM6AAAAAATIYMWAE
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1249#issuecomment-1367566060,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYQDUT7FO3YDVNDA223453WPXWS5ANCNFSM6AAAAAATIYMWAE
.
You are receiving this because your review was requested.Message ID:
@.***>


vivaldi crashes on startup when Widevine is enabled

Issue description
Vivaldi crashes on startup. If you have some existing profile in ~/.config, it exits without any messages.
When I move ("delete") the profile, it writes these messages:
/nix/store/kw1cd4hiab1dw6mxvjd11vvg8crghivj-vivaldi-3.1.1929.45-1/bin/.vivaldi-wrapped: line 67: 11931 Segmentation fault      (core dumped) mkdir -p "$USER_DATA_DIR/WidevineCdm"
/nix/store/kw1cd4hiab1dw6mxvjd11vvg8crghivj-vivaldi-3.1.1929.45-1/bin/.vivaldi-wrapped: line 64: /home/user/.config/vivaldi/WidevineCdm/latest-component-updated-widevine-cdm: No such file or directory

Strange enough. May be connected with #82469, as when I turn Widevine off, Vivaldi starts as usual.
Steps to reproduce

take nixpkgs at rev 9dac262767885b16294df9f35496b343b3ef9b9e
install overriden vivaldi with this override

vivaldi-own = unstable.vivaldi.override {
  proprietaryCodecs = true;
  enableWidevine = true;
  vivaldi-ffmpeg-codecs = unstable.vivaldi-ffmpeg-codecs;
  vivaldi-widevine = unstable.vivaldi-widevine;
};

execute vivaldi

Technical details

system: "x86_64-linux"
host os: Linux 5.4.42, NixOS, 20.09pre226586.571212eb839 (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.4
channels(root): "nixpkgs-20.09pre239164.b78e08e981a, nixos-19.03.173691.34c7eb7545d"
channels(user): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

I'm unable to reproduce this, though I am using the latest snapshot (which is a different version), so this just might be a bug from the stable version.


CPU profiler does not show function names

Hello,
I am CPU profiling 32bit c++ server application on x64 machine running Centos 6.4. I linked my main module (-lprofiler) with libprofiler 0.4.8 which is the latest one if I am not mistaken. When running pprof on report file, I have mix of function addresses and function names included in report file. I have tried several variants of libprofiler (with libunwind and with frame-pointers (which I also compiled my with (-fno-ommit-frame-pointers)).
When running nm on binary I get normal report (all functions are there). When I lookup symbols via gdb basically addresses in report correspond to those in gdb, but offset-ed with couple of bytes ?
I wrote simple c++ program and everything works fine with it, report is fine, all functions are there etc..
What am I doing wrong :)
Regards,
Marko

Try creating profiles in the middle of the run and see if this makes a difference.

Hello,
Thanks for response. I initaly tried it that way with CPUPROFILESIGNAL=xx, which I send to process for start/end profiling. In any case readable prof report cannot be successfully made.
What I tried later, was using pprof from gperftool 2.1 (originally I used 2.5 (latest one)).
With 2.1 pprof pdf/txt file was created as it should.
I did not diff 2 versions of pprof, but I guess there is some difference there?
Best regards,
Marko

You can use the function HeapProfilerDump to dump the profile any time.
There can be a difference in symbols in mid-run profiles and final profiles.

I'm sure a thousand things can cause this symptom, but when I had roughly the same symptom (in my case all the symbol names were missing in 2.4 but not in 2.2), it was because of this commit:
https://github.com/gperftools/gperftools/commit/8c3dc52fcfe02412a529769a22cbc75388a5d368?_pjax=%23js-repo-pjax-container
(issue-654: [pprof] handle split text segments)
Reversing it fixed my problem.


This project is active ?

Hello, this project is active ?

yes

So, please update to bulma v0.9.0

i think that not 11 month out of update and URL is broken


Can I change the Min/Max of BarChart axis?

Hi
I love ShapeCrawler :) Is it possible to change Min/Max of BarCharts axis?

Hello,
thank you for the feedback🙂
No, it is not possible. But it is a good idea, I will check what we can do.

[ ] Read Minimum/Maximum
[ ] Update Minimum/Maximum
[ ] Add Bar Chart


introduce get for connector settings

[ ] please create issue for this pull request

Coverage decreased (-0.03%) to 82.15% when pulling 14ed9af30b5f9efe0f5a18e28fc1bd79884da2f1 on jmi-zd4settings into 7284b06a959d2473f761624e499cbae2c99a30e0 on master.

Please add some unit tests including "unhappy path" ;)

I'm not sure the set of these 2 public method is the right one. What about to have your getSettings private and instead of new method for every connector add public getSettings(Project project, Class settingsClass) ?

Coverage increased (+0.04%) to 82.22% when pulling 2a729aaf76b3a3f010629bba0515b32ffbc54223 on jmi-zd4settings into 64aec1ac50e5746ad065338eeadb40ff3c416cb5 on master.


Add ability to have a list of paths in the config.

Paths are parsed by searching for 'path' substring in the key. Previously only string values were allowed, now we add list values. Also add test that path normalization on a list-value does the same to each element as to a string value.

@kortukov Could you also tell how you import stuned in the test? Have you installed it from pypi?

I created the environment to run the tests as follows:
In project root do
conda create -n stuned
conda activate stuned
pip install -r requirements.txt
pip install -e . <- this command installs stuned package in editable mode. This means no package is created, but files in the project directory are added to Python's import path.

I created the environment to run the tests as follows: In project root do conda create -n stuned conda activate stuned pip install -r requirements.txt pip install -e . <- this command installs stuned package in editable mode. This means no package is created, but files in the project directory are added to Python's import path.

Thank you! I would also specify python version in env creation:
conda create -n stuned python==3.10.4
To run tests I used these commands:
cd cloned_stuned_repo/tests
export PROJECT_ROOT_PROVIDED_FOR_STUNED=''
pytest config_reading.py
All tests are passed.


Adds typed dependencies to lib, phase 4

Solves #478
Important: Branches from ts-port-lib-phase1-tidyup, so pls merge #509 first.
This PR introduces typed dependencies for the lib package, which can be divided into 2 kinds:

Dependencies like axios or bignumber.js, that already included .d.ts files, for which nothing needed to be done. Note that Web3 v1.x is typed in this way, but Web3 v0.x (the one we're using) is not.
Dependencies like ethereumjs-abi and web3 v0.x, for which custom .d.ts files were written in src/@types.

In short, the most interesting part of this PR is that we are using typings for Web3 v0.x based on 0x's web3-typescript-typings, but modified. The typings are mainly in packages/lib/src/artifacts/ZWeb3.ts but ripple up to a lot of code above, such as Transactions.ts, Proxy.ts, ABIs.ts, etc,  but could ripple up to much, much more. This would be very interesting, since it would define a large part of the interfaces we use, that are currently being used as any.

Putting this PR on hold until we have a better understanding of wether we want to type depenencies like web3 manually.


Moved Remote-Addr header to request.ip

Sadly, pulling IP is costly.  Moving it to a property that pulls on-demand should bump Sanic's performance back up by about 10%.

Would it make sense to cache this? https://github.com/channelcat/sanic/pull/301


Running docker-cumpose command is giving me connection refuse errors

Hi, I am at stage 1 of the handout, and running this command docker-compose -f docker-compose-LocalExecutor.yml up -d is giving me the below error.
  File "urllib3/connectionpool.py", line 670, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1255, in request
  File "http/client.py", line 1301, in _send_request
  File "http/client.py", line 1250, in endheaders
  File "http/client.py", line 1010, in _send_output
  File "http/client.py", line 950, in send
  File "docker/transport/unixconn.py", line 43, in connect
ConnectionRefusedError: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests/adapters.py", line 439, in send
  File "urllib3/connectionpool.py", line 726, in urlopen
  File "urllib3/util/retry.py", line 410, in increment
  File "urllib3/packages/six.py", line 734, in reraise
  File "urllib3/connectionpool.py", line 670, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1255, in request
  File "http/client.py", line 1301, in _send_request
  File "http/client.py", line 1250, in endheaders
  File "http/client.py", line 1010, in _send_output
  File "http/client.py", line 950, in send
  File "docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionRefusedError(61, 'Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker/api/client.py", line 214, in _retrieve_server_version
  File "docker/api/daemon.py", line 181, in version
  File "docker/utils/decorators.py", line 46, in inner
  File "docker/api/client.py", line 237, in _get
  File "requests/sessions.py", line 543, in get
  File "requests/sessions.py", line 530, in request
  File "requests/sessions.py", line 643, in send
  File "requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionRefusedError(61, 'Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 81, in main
  File "compose/cli/main.py", line 200, in perform_command
  File "compose/cli/command.py", line 60, in project_from_options
  File "compose/cli/command.py", line 152, in get_project
  File "compose/cli/docker_client.py", line 41, in get_client
  File "compose/cli/docker_client.py", line 170, in docker_client
  File "docker/api/client.py", line 197, in __init__
  File "docker/api/client.py", line 221, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(61, 'Connection refused'))```

@poddardelhi I am unable to re create this issue. It looks like it's having some trouble finding a local docker server. Could you verify that docker is installed and running.
which docker
docker version

Closing this issue. @poddardelhi feel free to re-open with steps to replicate issue.


Will store the setting data by Serializer

When I use the SettingsHelper, if I want to store a List to the setting file. I have to firstly  Serializer the list and then use SettingsHelper.Set("key",list).
So will there a option or default  Serializer the data before store them in setting file?

No, the SettingsHelper is just an abstraction layer on top of ApplicationData.Current.LocalSettings (NETFX) and IsolatedStorageSettings.ApplicationSettings (WP8). It does not help you with Serialization.
Pull Request is welcome if you're going to make that functionality :)


[Synapse] Add customer-managed key related cmdlets

Description

Add some new commands to manage customer-managed key under synapse workspace.
Testing Guide

az synapse workspace create -h
az synapse workspace activate -h
az synapse workspace key -h
az synapse workspace managed-identity -h
History Notes

[Synapse] az synapse workspace create : Add key-identifier parameter to support to create workspace using customer-managed key.
[Synapse] az synapse workspace activate: Add new cmdlet  to support to activate pending workspace after creating using customer-managed key.
[Synapse] az synapse workspace key: Add CRUD cmdlets to support to manage keys under specified synapse workspace.
[Synapse] az synapse workspace managed-identity: Add cmdlets to support CRUD managed identity to sql access setting.
[Synapse] az synapse workspace: Add data exfiltration protection support, add allowed_aad_tenant_ids parameter.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Synapse

Existing ci errors are not caused by the code change from this PR.

Could you  please also update the related test cases?

@jsntcy  Could you please help to review this PR? Thanks.

@jsntcy  Could you please help to review this PR? Thanks.

hi @jsntcy, please help to merge this PR if that looks good to you. Thanks a lot.

hi @jsntcy, please help to merge this PR if that looks good to you. Thanks a lot.

Hi @Juliehzl ，please help to merge this PR if that looks good to you. Thanks a lot.

Hi @Juliehzl ，please help to merge this PR if that looks good to you. Thanks a lot.


⚠ Samsung has degraded performance

In 57375ec, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2872 ms

Resolved: Samsung performance has improved in fe18f10.


According to @iCronic:
Numpy updated to 2.0.0 which we didnt knew until all the errors appeared. We fixed this error in the new update. Please redownload v3.7.3

If you guys have updated and fixed it, is there a way to notify everyone trying to use this? Why is everyone still having issues, as late as today, if a fix has been rolled out around a week ago? Has the faulty release been deleted? Are all the issues being addressed?
Just curious what's going on. Thanks.

Yep, we updated it multiple times. Its sometimes kinda hard and takes to fix everything, cause the first fix worked for me and some other people and for some not. Then we pushed another fix from someone which also worked only for some people. So its always hard to fix an error, which we dont get you know. We now released an update which fixed the problem for most people.
Unfortunately there isnt a way to notify everyone except replying to every issue, but thats why we have the telegram group where we announce everything in the channel.


FIX: basic PEP8 corrections, optimizations

Issue #, if available:
Description of changes:
Basic PEP8 corrections and optimizations.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-327-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-327/1/index.html


chore(main): release 2.6.12

:robot: I have created a release beep boop
2.6.12 (2024-09-20)
Bug Fixes

deps: update rust crate service_conventions to 0.0.21 (1dd9195)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/philipcristiano/et/releases/tag/v2.6.12 :sunflower:


Keyboard shortcuts does not work after opening notes

Hi,
Once the notes UI is visible, the shortcuts stop working.
I have tried calling MM.Keyboard.init(); after MM.App.notes.close(); but it doesn't work. What could be a proper way to start listening for keyword shortcuts again?

Hello,
I have created a pull request for its fix, please check #118


MultiSelect filterable - highlightedIndex not reset when highlighted option is filtered

Steps to reproduce:

go to https://carbon-components-svelte.onrender.com/components/MultiSelect#filterable
focus the input field
press "arrow down" to highlight the "email" option (but do not select it)
type "p" into the input field so all options are filtered away
press Enter
open browser console
see Uncaught TypeError: Cannot read properties of undefined (reading 'id') error

the error happens in this line https://github.com/carbon-design-system/carbon-components-svelte/blob/853942f998b656593afc8801970489aa10369ac9/src/MultiSelect/MultiSelect.svelte#L399

context:
I stumbled on this while building an advanced multi-select field where the user can add custom options by pressing enter (if the value is not present in the list of options already)
For this it would also be useful if the state "user has highlighted an option" would be exposed directly instead of just as an aria attribute here https://github.com/carbon-design-system/carbon-components-svelte/blob/853942f998b656593afc8801970489aa10369ac9/src/MultiSelect/MultiSelect.svelte#L385
Is this something you would consider adding? (can send a feature request/pr)

For this it would also be useful if the state "user has highlighted an option" would be exposed directly instead of just as an aria attribute here

Can you elaborate on the proposed implementation? Do you mean via a prop or slot?

For this it would also be useful if the state "user has highlighted an option" would be exposed directly instead of just as an aria attribute here

Can you elaborate on the proposed implementation? Do you mean via a prop or slot?

exported prop.
Support for a customizable list item component (eg to add a 'delete option' button) would be great too but this would add a lot more complexity and i'm not sure if you want/need this amount of flexibility for MultiSelect itself.

I think that's a great idea, giving the end user to the flexibility to control the highlighted option.

Support for a customizable list item component

For something like this, I could see adding a slot, if possible, so that users can pass their own elements etc.
PRs welcome.

Released in v0.61.0


ruby 2.7 for windows build

Please Keep ruby27, Thank you very much.
I packaged haiti as windows exe
https://github.com/winezer0/haiti.exe
But the packaging tool 'rubyc' only supports ruby27

Hi,
You have several options:

[ ] Only create .exe for versions until 2.1.0 (before 2.7 support removal)
[ ] For now, ignore Ruby requirement

Indeed, Ruby 2.7 support was removed for several reasons: because it's EOL, because it made the CI fails.
But Ruby 2.7 should still work, for now, since I did not introduce breakings changes (for examples while linting with newer syntaxes).
For example, gem install --force ignores dependency checks. Another option is to create a patch to change the version required in the gemspec.
For now, forcing the use of Ruby 2.7 should have no impact, but I can't guarantee that in the future. For now, it should work, it's just that's no longer tested against ruby 2.7 and that I won't provide help for people using this version.

[ ] Ruby 3.0-3.3 are available on Windows via RubyInstaller so you could install haiti with gem install haiti-hash on windows too without making a .exe..
[ ] Use another executable packager other than the unmaintained ruby-packer

[ ] tebako supports Ruby 3.1 & 3.2
[ ] ocran should work with 3.x rubies too


vcpkg fails to deploy dependencies for managed projects

Starting from this commit vcpkg fails to deploy dependencies to my MSBuild solution where the entry point is a C# project referencing multiple C++ ones.
This seems to be caused by the addition of  and '@(Link)' != '' to AppLocalFromInstalled conditions, removing the check seems to restore the old behavior where DLLs get successfully copied to both vcxproj and csproj output folders.
I use classic vcpkg without any manifest.

@BillyONeal Can you help take a look at this issue?

As far as I know .csproj was never intended to be used with this, and not engaging vcpkg's customizations for .csproj was, in fact, the whole purpose of that change. People were complaining that projects unrelated to C++ were slowed down by our attempt to deploy applocal DLLs.
Can you describe what you were actually trying to do here?

I just have a C# project referencing C++ projects (C++/WinRT) that happen to use VCPKG, so I’d expect these vcpkg dependencies to be transitive.
As I build the C# project, all the C++ binaries get copied to the output folder as they’re needed by the final executable to run, if all the VCPKG ones are then missing the thing is just going to crash on launch.

Actually, I go back to being confused at what this would have ever done:
https://github.com/microsoft/vcpkg/blob/1174c9ea1d02461e52be88ac932b3d7410e3ffe6/scripts/buildsystems/msbuild/vcpkg.targets#L202
$(TargetPath) will be pointing at your C# code in .csproj world, if it exists at all.

The script worked as I would (personally) expect before your change, and it works as today by removing the check on @(Link).
I still feel that's quite reasonable for dependencies to be transitive: if I have a reference chain such as A.vcxproj -> B.vcxproj -> C.csproj, in the final bin directory I'll find A.dll, B.dll and C.dll, why the same behavior shouldn't exist if the dependency comes in the form of a vcpkg package rather than any other way? (NuGet packages are transitive as well, same applies for VSIX extensions and so on).
So, I'm not really arguing on whether or not this should be done, I'm more interested in getting the "old" behavior restored.


[fix] Remove wandb from the ImageVisualizer

What does this PR do?
The ImageVisualizer doesn't need wanbd. This is the responsibility of the logger.
We are trying to use a different logger and the  ImageVisualizer crashes because the
Before submitting

[X] Have you read the contributor guidelines?

Thanks @antoinebrl ! I think you just need to remove line 12: from composer.utils import MissingConditionalImportError and then the code quality checks should pass

Thanks! I removed L12.
We use Neptune.ai for experiment tracking.
Any chance this get released as a patch?


The window has crashed (reason: 'killed', code: '3')

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: Latest? (how can I know?)
OS Version: MacOS monterey (12.1)

Steps to Reproduce:

Open VS code
See the crashing message The window has crashed (reason: 'killed', code: '3')

Also receiving this error when opening via the OS/GUI. Opening VSC via the terminal using the code command allowed me to open and use VSC.

VS Code Version: 1.67.0
OS Version: MacOS monterey (12.3.1)

Error: The window has crashed (reason: 'killed', code: '3')

Also happening for me:

Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:20.994Z (1 mo ago)
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.5.0

The same happens on my MacOS.

VS Code Version: 1.67.2
OS Version: MacOS BigSur (11.6.4)

uninstall and reinstall did the fix for me.

Force quitting VSCode and opening it again also works.

Force quitting VSCode and opening it again also works.

This worked for me.

Is this issue still present with latest insiders https://code.visualstudio.com/insiders ? If so, please provide the crash dumps following the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-and-symbolicating-local-crash-reports

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Documentation?

Where can I read the documentation? The specified link returns 404.

Hi @Vadym-Kyrylenko,
Documentation page got an update and URL was changed. I have updated the readme accordingly. Below is the URL.
https://www.aakashweb.com/docs/jquery-collapser/


Can it be automatically injected into the <head> of HTML like .css?

document
import './foo.css' // will be injected into the page
import otherStyles from './bar.css?inline' // will not be injected

// Load Web Workers
import Worker from './worker.js?worker'
// Web Workers inlined as base64 strings at build time
import InlineWorker from './worker.js?worker&inline'

I envision using ?iife to inject automatically;  ?iife&raw to inject and not compile; ?iife&inline to do the same as it currently does; in version 2.0

Thanks for the suggestion.
This could be convenient, but because ?iife is used with with TypeScript / JavaScript files, I prefer to keep the behavior close to how Vite handles regular .ts and .js imports, which are not auto-injected like .css imports.


KeyError: 'P_batt'

Running 0.1.37 and feels like we are getting close :-).
When I enable the battery for the solution space dayahead doesn't seem to finish, running for over 10 minutes before I called again:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
 * Serving Flask app 'app_server' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on all addresses (<IP_ADDRESS>)
   WARNING: This is a development server. Do not use it in a production deployment.
 * Running on http://<IP_ADDRESS>:5000
 * Running on http://<IP_ADDRESS>:5000 (Press CTRL+C to quit)
[2022-04-28 13:27:11,810] WARNING in optimization: Failed LP solve with PULP_CBC_CMD solver, falling back to default Pulp
[2022-04-28 13:27:11,866] WARNING in optimization: Failed LP solve with default Pulp solver, falling back to GLPK_CMD
<IP_ADDRESS> - - [28/Apr/2022 13:38:18] "GET / HTTP/1.1" 200 -
<IP_ADDRESS> - - [28/Apr/2022 13:38:18] "GET /static/style.css HTTP/1.1" 304 -
[2022-04-28 13:45:39,692] WARNING in optimization: Failed LP solve with PULP_CBC_CMD solver, falling back to default Pulp
[2022-04-28 13:45:39,742] WARNING in optimization: Failed LP solve with default Pulp solver, falling back to GLPK_CMD

Then the next time publish runs it fails:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
 * Serving Flask app 'app_server' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on all addresses (<IP_ADDRESS>)
   WARNING: This is a development server. Do not use it in a production deployment.
 * Running on http://<IP_ADDRESS>:5000
 * Running on http://<IP_ADDRESS>:5000 (Press CTRL+C to quit)
<IP_ADDRESS> - - [28/Apr/2022 13:15:43] "GET / HTTP/1.1" 200 -
<IP_ADDRESS> - - [28/Apr/2022 13:15:44] "GET /static/style.css HTTP/1.1" 304 -
[2022-04-28 13:16:10,105] WARNING in optimization: Failed LP solve with PULP_CBC_CMD solver, falling back to default Pulp
[2022-04-28 13:16:10,160] WARNING in optimization: Failed LP solve with default Pulp solver, falling back to GLPK_CMD
[2022-04-28 13:20:17,487] ERROR in app: Exception on /action/publish-data [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/pandas/core/indexes/base.py", line 3621, in get_loc
    return self._engine.get_loc(casted_key)
  File "pandas/_libs/index.pyx", line 136, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 163, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'P_batt'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 2077, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1525, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1523, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1509, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/usr/src/app_server.py", line 191, in action_call
    _ = publish_data(input_data_dict, app.logger)
  File "/usr/local/lib/python3.9/dist-packages/emhass/command_line.py", line 182, in publish_data
    input_data_dict['rh'].post_data(opt_res_dayahead['P_batt'], idx_closest,
  File "/usr/local/lib/python3.9/dist-packages/pandas/core/frame.py", line 3505, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/usr/local/lib/python3.9/dist-packages/pandas/core/indexes/base.py", line 3623, in get_loc
    raise KeyError(key) from err
KeyError: 'P_batt'
<IP_ADDRESS> - - [28/Apr/2022 13:20:17] "POST /action/publish-data HTTP/1.1" 500 -

web_ui_url: <IP_ADDRESS>
hass_url: empty
long_lived_token: empty
costfun: profit
optimization_time_step: 30
historic_days_to_retrieve: 2
sensor_power_photovoltaics: sensor.apf_generation_entity
sensor_power_load_no_var_loads: sensor.power_load_no_var_loads
number_of_deferrable_loads: 2
nominal_power_of_deferrable_loads: 5000,1500
operating_hours_of_each_deferrable_load: 5,8
peak_hours_periods_start_hours: 02:54,17:24
peak_hours_periods_end_hours: 15:24,20:24
load_peak_hours_cost: 0.1907
load_offpeak_hours_cost: 0.1419
photovoltaic_production_sell_price: 0.065
maximum_power_from_grid: 30000
pv_module_model: CSUN_Eurasia_Energy_Systems_Industry_and_Trade_CSUN295_60M
pv_inverter_model: Fronius_International_GmbH__Fronius_Primo_5_0_1_208_240__240V_
surface_tilt: 30
surface_azimuth: 205
modules_per_string: 16
strings_per_inverter: 1
set_use_battery: true
battery_discharge_power_max: 5000
battery_charge_power_max: 5000
battery_discharge_efficiency: 0.95
battery_charge_efficiency: 0.95
battery_nominal_energy_capacity: 13500
battery_minimum_state_of_charge: 0.05
battery_maximum_state_of_charge: 1
battery_target_state_of_charge: 0.2

This may happen when the LP becomes too big for the current machine/solver. Adding a battery may cause this. When I tested the inclusion of the battery the LP solver ran well with 30min time steps.
What you may try is to set a higher time step, ex: 60min.
The other solution is to shorten the optimization horizon, but as for now this is hard-coded to 24h. I may change this in the near future to let the user play with different horizons. The issue with this is that we may lose the one-day energy optimization approach.

Hi, did you managed to solve this issue? Did you use a higher time step to 60min?

Hi, did you managed to solve this issue? Did you use a higher time step to 60min?

I had to simplify the complexity of the problem space. I am wondering if falling back to GLPK_CMD isn’t as powerful solver? I find a working solver will take between 6-8 seconds, whereas an unworking solver just continues to run without stopping with CPU load showing in the add-on window.
I reduced the deferable loads from 4 to 2 and reduced their operating windows.
I suspect the KeyError: 'P_batt' occurs if the publish-data routine is called before the dayahead optimisation is called.
In my case I have an automation/ cron job calling publish-data every five minutes, but had just enabled the battery setting, but was unable to complete the optimisation.
Perhaps some documentation around what a KeyError: P_batt means, or maybe some error checking in the publish-data routine would be the fix for this issue.

Hi, great thanks for the information.
Yes, if that key is not found it means that there was a problem with the optimization. I've just improved the error log to a more clear message:
logger.error("P_batt was not found in results DataFrame. Optimization task may need to be relaunched or it did not converged to a solution.")

I also added some code to check the existence of correct keys before data publish.
Yes falling back to GLPK may lead to other performance problems. The GLPK solver is great because is free and sufficient for most LP problems. The base CBC solver from Pulp should perform better. However for some reason it is not recognized by Pulp on your aarch64 architecture. We may need to debug this better, but that is another issue. Closing this by now.


docs: replace instances of window lookAt with window fetch

User reported some examples in the documentation use lookAt (on a rule?) when they should be using window.fetch. Need to update docs to show correct usage.

https://github.com/FoxxMD/context-mod/blob/master/docs/subreddit-configuration/in-depth/recentActivity/freeKarmaOnSubmission.yaml (and json)


Init tests bbox

Add tests to bbox, improving its performance and matching its outputs
I'm working on this test branch that I created in the fork

@shoumikchow You can review my pull request to see if any further changes are needed, I need these tests to be used in another branch


Bugfix - PHP 7 compatibility

PHP 7! It lives! It works!
This quick PR simply fixes some compilation/syntax errors in a few tests to comply with the newer, more strict PHP 7 parser.

Woot! It's ready!! Merging...


Datapack Support

Description
Heya, it would be cool if the ore or world generation features would be defined in the /data folder structure like vanilla ores and features so one could modify or add support for it.
(I'd like to add support in my datapack)
Or as alternative have those features, ore density, spawn height, configurable in a config file.
Either way, it currently does not work with my mod/datapack or just vanilla Datapacks that deepen the world depth
Links
https://modrinth.com/mod/magmatic-exile

Hey! Because im using minecrafts ore generation system in either 1.19.2 or 1.20.1, it should be possible to modify those files! I will take a look at it.

Could you tell in which minecraft version you are experiencing this?

Hey! Sorry for that long pause here, looks like I created the ore generation In-Code and not in jsons, that way you are not able to modify it. I will not change this due to possible incompatibility in future 1.19 releases.
This is also fixed due to forge's removal of In-Code ore generation for 1.20 and above.


multiple:false does not work

Hi,
Thanks for that nice plugin.
With the above setting multiple:false  I can select several files, they're uploaded and previewed.
		$('#fieldImage').uploadFile({
			url: '/upload',
			fileName: 'image',
			returnType: 'json',
			acceptFiles: 'image/*',
			multiple: false,
			allowDuplicates: false,
			showPreview: true,
			previewHeight: '120px',
			previewWidth: '120px',
			uploadStr: 'Sélectionnez un fichier'
		});

By the way, the setting allowDuplicates:false works fine.
Any idea ?
Cheers.

multiple:false does not allow each selection. If you want to limit the files, use maxFileCount:1

Ok, thanks. It works.
Cheers


LastOperation does not support OperationData when provision is async

provisioningResp may contain OperationData which is needed in LastOperation. Current LastOperation does not support to set operation in the request.

Thanks I'll check this out soon

Does the merged PR https://github.com/starkandwayne/eden/pull/13 resolve this issue for you?


can it get me banned

im sure it wouldnt get me banned on CS but im not too sure about valorant as it can be considered as cheating, did you try it on something other than CS

I tried it on Valorant for a while (2 competitive matches) and nothing happened so I guess it's fine.

alright thanks


spawning vehicles, npcs and weather conditions from the console

i know there are probably better ways of doing this but since there wasn't an user friendly option i thought on adding it

isnt there cheat summon?


DOCS: Memory Layout of The System Before & After Virtual Memory

I am nearing to start working on the Virtual Memory & MMU stuff. Before giving it a green light, I must fully familiarize myself with the memory layout. And I mean EVERYTHING to the full. Virtual memory is a bit "advanced" for me right now. So, it is best that I go in prepared.
A cool & clean diagram or a model would be nice to have. Just to see where is where and what is what.
Some important things to keep in mind when working on the diagram:

MMIO Devices
Kernel
ROM
Reserved Space

It should also show what happens & where stuff gets mapped to (for kernel and other processes) AFTER virtual memory is enabled.
As for the tool; I think I'll just stick to Apple's Freeform app. It served me well so far.
Wishing happy researching and designing 4 you! 🦩

Done as of e3f677c and 72f039a! It's been ~6 moths since I drew both Physical and Virtual memory mappings' but I forgot to close the issue >.<
Note: I might need to update the Virtual layout in the future.


Add a --build-template option for "riff service create"

It would be nice to have the option of providing source-repo/build-template options for a build step when creating a new service

The current distinction between riff service create and riff function create is that only the latter deals with build. So seems we're kind of going backwards.
I think we need to decide what it means to be "a function" (ie use riff function create):

is it something that needs to use Knative build (as is today)
or is it something that uses the opinionated riff buildTemplate (ie kaniko today, buildpack tomorrow)

If we stick to 1) then your proposition applies more to riff function create.
If 2), then the difference between the two commands is really thin (only a matter of having a default value for --build-template, in a way)

What I'm suggesting does not include adding the the riff invoker layer, so it is applicable to any app, I just want the build to happen in the cluster using the standard Knative build-crd. That's why I think it fits better under service.

No longer relevant


Grafana 10 support

Hello 👋
Just letting you know that Grafana 10 is coming out soon and your grafanaDependency is currently set to not support it. This means customers that will get Grafana 10 will not be able to use your plugin.
You can test your plugin compatibility using the latest Grafana 10 grafana/grafana-dev docker images
https://github.com/DiamondMofeng/grafana-greptime-datasource/blob/e0bf2c19b9a6a542b84a33e497528d39a209261d/src/plugin.json#L50

Ty. Will handle this soon


Every AppVeyor build is failing

Recently, all AppVeyor builds have failed with this error: 'llvm-config' is not recognized as an internal or external command, operable program or batch file.
The last succeeding build is this one and the first failing is this one (the full history is here).

Looks like the cached LLVM was broken.  You can merge my PR to clear the AppVeyor build cache, or use the REST API: https://www.appveyor.com/docs/build-cache/#rest-api

@kulibali thanks for looking into it!  I merged the PR.

Appveyor still fails. :slightly_frowning_face:

This was fixed by @kulibali's changes.

Thanks @kulibali!


Cluster connection form: improve UX after error

See comment in #699:

There is still a small user experience issue, which could be fixed in a follow-up PR: after a failed connection attempt, the form goes back to its original state (both the type drop-down and the connection URL). If a user runs into this bug, they probably want to re-try with similar parameters, for example if they had a typo in the URL, or the remote cluster was not running yet. So it would be really nice if the form re-opened with the original parameters.

Can I apply the following approach, save the current URL and cluster type when the form is submitting. When cluster connection fails, re-open form with saved values.

Sounds like it could work - should be put into the localstorage together with the rest of the config


unable to go mod tidy

when i use go mod tidy, it will return error
gopkg.in/natefinch/lumberjack.v2: no matching versions for query "latest"

there's something wonky going on, I'm looking into it now


feat: Allow to serialize all Cargo Options with Serde.

This change adds an optional feature that makes all Cargo Options serializable and deserializable. This allows to use this library to read and write Cargo Options in json, toml, or any other file format supported by Serde.

Will publish a new version after work.

Thanks a lot @messense !

@calavera Published in v0.7.5.


Error: InvalidImageName

I have been trying to figure out a way to point to a local image. For example I have an image file in my root directory. How I point to it?
Current Setup:
I set it up as **image: /home/olatoyei/kube-worker-1-disk1.img**
When I create pod I get **Error: InvalidImageName**
Any help will be appreciated

There is no support for local images (it's not clear to which machine this local image path should be correct).
You can always serve this file using python2 -m SimpleHTTPServer then point image location in pod to this file on this server.


Consider deprecating the VirtualGraphComposite

Reasons:

It is not (as far as I know) widely used
It requires significant QPU time to configure - we even have a warning to that effect
It is less relevant now with the lower noise processors and does not implement the latest protocols
Removing it would allow us to remove the dependency on dwave-drivers, and remove a lot of caching boilerplate

My 2c for this debate: I think that :func:~dwave.embedding.chain_strength.uniform_torque_compensation adds urgency, and that we need to either deprecate or update VG's chain_strength algo because my guess (based on just a small sample) is that despite improvements from adjusting flux biases, results from the max negative chain strength do not compare favorably with the calculated chain-strength from uniform_torque_compensation .

For Chimera, a 50-node clique BQM with biases generated by `dimod.generators.randint(50, 'SPIN', low=0, high=5) and scaled down to the J range, reusing the embedding with VG produced unsatisfying results:
Non-VG:

VG:

For Pegasus:
Non-VG:

VG:


[Bug Report] $notify box - unnecessary gap above text with no title

Element UI version
2.8.2
OS/Browsers version
any
Vue version
2.6.8
Reproduction Link
https://codepen.io/oskaren/pen/qBWKJKr?&editable=true
Steps to reproduce
click on button, we will see notify box, without title and with 6px space above text
What is Expected?
pass title as a optional param, and when user didn't specify title - will be no space above text. And the text and icon will be at an equal height
What is actually happening?
unnecessary gab above text

fixed in https://github.com/ElemeFE/element/pull/17439


Merge in new version of html-tag-validator

Just about ready to publish and test out new html-tag-validator on Unmasking HTML Emails course.
Previous version's files moved to .prev/ directory. New README.md contains updated documentation and todo.md / codeschool/htmlTagValidator#5 contains changes made.

:+1:


⚠ Bofrost.si has degraded performance

In 6f4ed24, Bofrost.si (https://www.bofrost.si) experienced degraded performance:

HTTP code: 200
Response time: 5360 ms

Resolved: Bofrost.si performance has improved in d652c4f.


Executing GAM commands resulted in Error

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:
using this command: gam csv woodbine.csv gam user "~primaryEmail" signature file Email_Signature_Original.txt replace First "~name.givenName" replace Last "~name.familyName" replace Title "~organizations.0.title" replace WPType "~phones.1.type" replace WPhone "~phones.1.value" replace PType "~phones.0.type" replace Phone "~phones.0.value" replace Email "~primaryEmail" replace Suite "~suite" replace Address "~addresses.0.formatted" replace CityProv "~city" replace PostalCode "~PostalCode"
Expected Outcome:
Once the command executes, it'll pull from the csv file with contents in the cell and create/update our users' email signature
Actual outcome (what errors or bad behavior do you see instead?):

Traceback (most recent call last):
File "gam_main_.py", line 49, in
File "gam_main_.py", line 44, in main
File "gam_init_.py", line 11385, in ProcessGAMCommand
File "csv.py", line 97, in fieldnames
File "codecs.py", line 322, in decode
File "encodings\utf_8_sig.py", line 69, in _buffer_decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 691: invalid start byte
[27216] Failed to execute script 'main' due to unhandled exception!

Assuming that you're on a PC, make a slight change:
gam csv woodbine.csv charset latin1 .....
Ross

@taers232c Thank you for the response. All is working now! Cheers! :)


Build 1.1.14

@duderino: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-e2e-simpleTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-simpleTests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-e2e-simpleTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-simpleTests

prow/release-e2e-dashboard
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-dashboard

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-e2e-simpleTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-simpleTests

prow/release-e2e-dashboard
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-dashboard

prow/release-e2e-mixer-no_auth
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-e2e-simpleTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-simpleTests

prow/release-e2e-dashboard
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-dashboard

prow/release-e2e-mixer-no_auth
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-mixer-no_auth

prow/release-e2e-bookinfoTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-bookinfoTests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-e2e-simpleTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-simpleTests

prow/release-e2e-dashboard
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-dashboard

prow/release-e2e-mixer-no_auth
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-mixer-no_auth

prow/release-e2e-bookinfoTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-bookinfoTests

prow/release-e2e-stackdriver
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-stackdriver

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Will wait for libc++-8

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-e2e-simpleTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-simpleTests

prow/release-e2e-dashboard
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-dashboard

prow/release-e2e-mixer-no_auth
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-mixer-no_auth

prow/release-e2e-bookinfoTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-bookinfoTests

prow/release-e2e-stackdriver
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-stackdriver

prow/release-e2e-pilot-no_auth
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-pilot-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/release-e2e-simpleTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-simpleTests

prow/release-e2e-dashboard
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-dashboard

prow/release-e2e-mixer-no_auth
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-mixer-no_auth

prow/release-e2e-bookinfoTests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-bookinfoTests

prow/release-e2e-stackdriver
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-stackdriver

prow/release-e2e-pilot-no_auth
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-e2e-pilot-no_auth

prow/release-unit-tests
a08380d0a26a81032af0e35f84e38e9f048f0b16
link
/test release-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Error Saving Minecraft PE Worlds

Minecraft PE 0.12.1 Worlds
MCEdit <IP_ADDRESS>
Windows 10
No Mods Installed
Attachments:
Log 1 http://gist.github.com/AliffanI/08141eaa3d7a40df93f9
Log 2 http://gist.github.com/AliffanI/ed7262740921cbdadf0b
I Can't save MCPE Worlds in my client. It shows the following error:

When i tried to save changes on a PE world, mcedit is processing world lighting (i guess), and then the error message popped up. As you may see in log 1 (http://gist.github.com/AliffanI/08141eaa3d7a40df93f9), I successfully saved a schematic, but not the mcpe world. First i think, it is only that world had this problem. Turns out, all my pe worlds are not saveable. Re copied all of them, redownloaded mcedit, still no luck.
I thought, the changes was incompatible with a pe world. But as you may see in Log 2 (http://gist.github.com/AliffanI/ed7262740921cbdadf0b), i tried to save the world without changes. same error has appeared.
If needed to reproduce the error, it is really simple:

Open a minecraft pe world.
Save the world
Error appears.

I know Minecraft PE is not fully supported yet, so this issue is FYI only. Any help would be appreciated.

We still didn't test with 0.12
Can you send us your maps?

Here is the map. https://drive.google.com/file/d/0BxdEcB486ii_UGlYMnl4U2xuNU0/view?usp=docslist_api

Wait, i am dumb. I accidentally sent an empty folder... :P Here is the actual file.https://drive.google.com/file/d/0BxdEcB486ii_LWUwUGlJajFOZVU/view?usp=docslist_api

Also other issues: Map generator randomly changes(superflat, infinite, old), map seed resets to 0

Okay, minecraft pe 0.12.1 is out like a month ago. Should'nt this issue get discussed?

Rubisk has been busy with other stuff and hasn't been available to improve pocket support, sorry.

Can i downgrade the map first in 0.11 then edit it? Would that be possible?

I didn't had this issue when porting PE worlds
The only one I had was that some random stone blocks appeared in lines like if I was in the Farlands.

still waiting...
0.14.0 is out btw.
i also downloaded MCE <IP_ADDRESS>
still happens

I have just found out something!
I pressed Ctrl+A in Camera View after Chunk View,
and somehow i've discovered that the actual PE world is outside of the normal world in the corner:

I think that "Chunk Not Present" error is because the world itself is outside somehow...
I tried to save, lighting calculation begins:

but the same thing worked:

I really hoped this would help for the troubleshooting.

Heya,
So, I don't have MCPE or Win10 edition, which makes debugging this quite tough.
The patch notes mention: "Better ordering on chunk scheduling."
Together with you finding the chunks in the wrong spot, I think there's something wrong with the function calculating the coordinates. (https://github.com/Khroki/MCEdit-Unified/blob/master/pymclevel/leveldbpocket.py#L163).
Could you (or someone with win10) do something for me?
Please go into the world, and write down the coordinates of the chunks you're at. Then, go into MCEdit. Press [0] to bring up the debug menu, fly over to where it's rendering the chunks, and find the coordinates of this spot.

Every coordinate in PE and MCEdit seems to be the same.

I think the function 'calculating the coordinates' has no error. But somehow, the function 'save file' still thinks that the first chunk is in the coordinate of:
X=2036427888, Y=845116005
and it will always be that exact coordinate.
The Z coordinate is even undefinable:
<pymclevel.leveldbpocket.PocketLeveldbDatabase object at 0x00000000110B6F28>
the context in bold above is variative (changes when a different world is loaded, loading the same world results difference)
I hope these informations are helping.
Thanks.

Yeah those coords were created by nether chunks, I disabled nether chunks for now, will need to fix that and implement a nether somehow I guess.

Could i be because of i haven't created nether chunks yet?

Nononono.
The code was interpreting nether chunks as chunks with huge coordinates. It now ignores those chunks instead ;-)

Oh no....
This still happens in <IP_ADDRESS>

it looks like, we need further troubleshooting...

A new version hasn't been released yet since the fix was applied, people are still working on other things before it's ready.

Ah, i see. I'll wait for it! Thanks Khroki for letting me know :) .   I was misdirected by the changelog "fixed key error on pocket worlds" :P

Yeah that was relating to block IDs missing, pocket doesn't have the unknown block fallback regular worlds do.

Hi, i see in <IP_ADDRESS>, there is the bugfix of this problem. But there is a notice saying:
POCKET SUPPORT IS BROKEN IN THIS BUILD. PLEASE USE <IP_ADDRESS> TO EDIT POCKET EDITION WORLDS UNTIL FURTHER NOTICE.
So... I still can't use it?

It was fixed but we have some issue with the windows version, we'll release a fixing version probably tomorrow or in the next few days

Ok, great to hear that! Thank you!

I've updated to <IP_ADDRESS>, loading the world seems fine.
The original error is not occuring any longer. But a new error takes place:

After saving once, editing entities are not a problem.
But editing blocks seems to be impossible while 'saving' is taking place.

Editing blocks before the first save does no difference.
Is this going to be another pain in the neck?
I hope not...

It's already fixed

In this update?

For the next one

Wow that was fast... Thank you naor2013!


Look into patching replay so it pre-decompresses rlogs

I suspect this is the reason for much of the jitter between segments.

Might just solve this by pre-downloading the logs and pre-decompressing them.

Pre-decompressed rlogs do not appear to remove the jitter. It might be h265 issues instead.


Add Tint and Transparent Color Support

Requires https://shorturl.at/qvyJY

[ ] Apply tint to all layers

This was merged to upstream I think


Feature/changing slogan

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes

Greg Hill seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.
Have you signed the CLA already but the status is still pending? Recheck it.


[Question] Is it possible to detect barcode in an image?

react-native-text-detector allows us to detect text in a static image.
My use case is to detect barcode also in that static image. Is it possible to do so ?

This package doesn't do this ATM.
We're working on similar thing but it's not ready for iOS as of now. Check it out
https://gitlab.com/fetchsky/react-native-image-qr

@zsajjad - I need it for android only as of now.Is it working for android ?