Add support for jsonpickle 2.0

Currently the setup.py does not allow jsonpickle 2.0 to be used with sacred. Sacred should be tested with the new version of jsonpickle, and if no problems are found this restriction should be removed.

Fixed in #808. The tests pass without any modifications also with jsonpickle 2.0.

Will this be released anytime soon? Is is breaking my builds since more than a year ago.

This depends on the next release of mongomock, which is currently breaking sacred's testcases. But since I now got so many requests for a new release, I might only include tests for pymongo <4.0 and prepare the release earlier.

Again, I have CI problems due to the lack of a Sacred release fixing this upper bound. The recent version of NumPy does not work with old jsonpickle versions (because np.object is no longer an alias for object), and thus my tests don't pass.


Remove English-centric phrasing for metric naming

I think the phrasing around allowed characters in metric names should be changed, for a couple of reasons.
First, consider the metric name 合計httpリクエスト. (If I believe Google Translate, that means "total HTTP requests".) The documentation seems to imply that, since the characters in this metric name are not allowed, one might instead call it __http_____. 🙂 Consider a less extreme example: if I have jalapeños_purchased_total, "sanitizing" it would result in jalape_os_purchased_total, which is similarly silly. I don't think this is a useful suggestion, so maybe it shouldn't be included in the documentation.
Second (and respectfully, because I think it's unlikely that this was the intention of the original author), the "sanitized" phrasing might imply that non-English character sets are somehow diseased and in need of cleansing. So I think this phrasing should just be removed.
Signed-off-by: Mike Pontillo<EMAIL_ADDRESS>

Thanks!


RWD

The RWD is pretty awful at this point. Soon, I will sit down and start from scratch with (hopefully) a much more efficient approach.

Solved this by using font-size: 7vh;, which is a percentage of the screen size. MUCH better than what I had.


If we don't draw row we should not remove it's portion of text and height

If we don't draw row we should not remove it's portion of text and height;
Relates to https://sericy.atlassian.net/browse/MIL-668

Don't look into dist stuff, look at sources.


1190 fix font deselection

Closes #1190

Should be fixed now. For new files the list of possible places of usage is undefined not empty array.


make gradf return None for non-trainable parameters

Currently, gradf returns 0 for non-trainable parameters. A better approach is to return None instead.

Sounds reasonable to me; thanks for the PR.
Looks like the tests are failing because of an unused import, though.
Could you update the README please? I think there's two pieces that need changing: API/gradf and API/apply_updates, both of which make explicit reference to 0 rather than None.

Alright, LGTM! Thanks for contributing.


[Fix] Image hover doesn't work for responsive images

The image hover effect doesn't work if the size is not set on the image block because of the size check.
This check was applied from this commit and there was discussion about the issue here
I guess, he applied the check because it doesn't work as expected for responsive images as the data-hover-src is set to the picture element instead of img.
This PR fixes the issue.
Also, it removes the duplicate if condition is_object($f). It was checking the same thing within the condition.

This bug was complained by our client after upgrading 8.5.2 from <IP_ADDRESS> that the image hoover functionality stopped working.


dedupe module but have a single module instance

I'm having some issues with a module (RX) that is required by my project and 2 of my projects dependencies, this is the setup:
myProject
-lib
-node_modules
-rx
-dependency1
--node-modules
---rx
-dependency2
--node-modules
---rx

The problem is Rx is getting instantiated more than once. I thought I could use the dedupe plugin to get around this, while that does ensure only one module for RX is packed, it doesn't solve the mutiple instantiations.
After reading some discussions on deduping in webpack and checking out the example I understand this is expected behaviour, it differs from npm dedupe for valid reasons (avoiding unintentional potential version bumping for one).
A problem with this approach (in this instance) is that Rx sticks itself at window.Rx, a typical usage of this library is to modify it's configuration adding new functionality. Given webpack will instantiate the module more than once, each time it blows away the existing window.Rx that has already been configured.
Is there a way I can dedupe more in-line with npm's model whereby a single instance of Rx is used for my project and both it's 2 dependencies?
Really appreciate any help, webpacks a fantastic tool, appreciate the effort put in.
(I should mention the reason I don't just use npm dedupe is that these dependencies are in-house, and they exist in 'myProject's node_modules via sym links, i.e. 'npm link'. npm dedupe doesn't work with npm link)

Symlinking your dependencies isn't a good idea either. You can install any git repository with npm. As long as git is able to clone the repository, you can also install private dependencies.
I don't think that webpack should also implement npm's dedupe mechanism. Usually you're using npm for that.

you can workaround this by aliasing rx to an absolute path resolve.alias.rx = require.resolve("rx")

Thanks for getting back @jhnns. We're only using npm link in dev, it's allowing us to integrate packages, ironing out integration bugs. We'd then push them to our private npm repo. Once pushed they'd be 'npm install'ed as normal, at which point npm dedupe would work.
And again thanks @sokra. I can't get the aliasing to work, I've had to go for the absolute path as using a relative path doesn't work as it's relative to each file doing a require('rx'). I'm still using this with the dedupe plugin otherwise I get 2 instance of rx in the bundle (even with the aliasing in place).
resolve: {
	modulesDirectories: ['node_modules', 'libs', 'config'],
	alias: {
		"rx$": "C:\\myProject\\src\\Client\\node_modules\\rx\\dist\\rx.all.js"
	}
},
....
plugins: [
	...
	new webpack.optimize.DedupePlugin()
]

At this point the deduped module rx still gets instantiated twice. I'll have to get a simple sample based of the dedupe example to demo this tonight, until then I'm going to put up with the 'npm publish, npm install' loop then use npm install with npm dedupe rather than npm link.
I'll get back with a sample as I want to figure this out, it's going to be a really common requirement to have multiple dependent packages that assume a single instance of a common dependency at runtime, more common perhaps for teams whos packages add functionality to other packages, i.e. augment angular or augment rx.
Thanks again for the help.

@sonic78 I agree with you, it is pretty common and will be even more important when people start to split their monolithic apps into multiple parts. However, it's not really helpful that npm's folks are discussing about deprecating peerDependencies...

 I think dedupe is their recommended preferred solution (haven't read it all) but logically that'd make sense).
I haven't forgotten about getting this working, I've just not had time to figure it out. In any case it's not really an issue with webpack, more a feature, If I can't get to it by Monday I'll just close this updated any findings when I get around to it.

Have this issue been fixed? I have the same issue here.

Ditto. I have a project that when developing, the modules are linked in.  I cannot seem to keep my shared module from being instantiated multiple times.

@KeithWoods Apparently Rx 4 should improve things. Is it safe to close this?

Closing as Rx 4 is out there now. If relevant, feel free to open again.


StackNavigator inside a TabNavigator causes a back button to be in header

Here is my navigator structure:

RootNav (StackNavigator)

TabsNav (TabNavigator)

MealsNav (StackNavigator)

MyMeals (Component)

FindRecipes (Component)

So there are two tabs, one of them has a screen that's a StackNavigator which has a screen that's a component. The other tab has a screen that is just a component.
const mealsNavConfig = {
    routeConfig: {
        MyMeals: {
            screen: MyMeals,
            navigationOptions: {
                title: 'My Meals'
            }
        }
    }
};

export const MealsNav = StackNavigator(mealsNavConfig.routeConfig);

const tabsNavConfig = {
    routeConfig: {
        MealsNav: {
            screen: MealsNav,
            navigationOptions: {
                tabBarLabel: 'My Meals',
                tabBarIcon: ({ tintColor }) => (<Icon name="cutlery" size={25} color={tintColor} />)
            }
        },
        FindRecipes: {
            screen: FindRecipes,
            navigationOptions: {
                tabBarLabel: 'Find Recipes',
                tabBarIcon: ({ tintColor }) => (<Icon name="search" size={25} color={tintColor} />)
            }
        }
    }
}

export const TabsNav = TabNavigator(tabsNavConfig.routeConfig);

const rootNavConfig = {
    routeConfig: {
        Home: {
            screen: TabsNav
        }
    },
    navigatorConfig: {
        mode: 'modal',
        headerMode: 'none'
    }
};

export const RootNav = StackNavigator(rootNavConfig.routeConfig, rootNavConfig.navigatorConfig);

I'm using redux so my navReducer sets the initial state to be the MyMeals route.
const initialRoute = 'MyMeals';
const initialState = RootNav.router.getStateForAction(NavigationActions.navigate({
    routeName: initialRoute
}));

export default (state = initialState, action) => {
    nextState = RootNav.router.getStateForAction(action, state);

    return nextState || state;
}

When the app loads the "My Meals" screen has a back button and when you tap it takes you back to another "My Meals" screen. It's like there is an extra stack.

Also when you tap the "Find Recipes" tab it takes you to the "Find Recipes" screen but on the left edge there is a shadow. It looks like the shadow that you see when you are transitioning to a different screen.

The expected behavior is for there to not be a back button on "MyMeals" when the app first loads. And there not to be a shadow on the "Find Recipes" tab.
Is this a bug, or am I doing something wrong.
react-native: 0.44.0
react-navigation: 1.0.0-beta.9
redux: 3.6.0
react-redux: 5.0.4
yarn: 0.23.4
node: 7.10.0

@benschel Have you tried setting your initial route to 'MealsNav' ?

and in you screenshot the text is blur

so,how to fix the text is blue duaring transaction-animation ? #1465

@AlanFoster Thanks! That does get rid of the back button. It seems to be working as it should.
The shadow is still there on the other tab. That might be a bug. I imagine it will go away if I add a StackNavigator to the second tab.
@aqnaruto For me the text in the screenshot and the simulator isn't blurry. The whole image you posted is blurry so I think it has to do with how you are viewing the screenshot, and not the actual application.

same problem for me, did you got solution? @benschel

Same issue for me, Did you get solution? @benschel

I'm seeing the shadow as well, with a similar setup (StackNavigators inside TabNavigator)

Is this still an issue in the latest release?

yeah, I'm getting the same kind of issue with the most recent version

I am bootstrapping an app now, and I have the same issue. Seems like it's still there.

This is my TabNav class. It boots by showing a Search page with a back Search button, that goes to another Search page.
const SearchTab = StackNavigator({
Search: {
screen: Search,
path: '/',
navigationOptions: ({navigation}) => ({
title: I18n.t('search'),
})
}
},{
cardStyle: {
backgroundColor: 'white'
}

});
const FavoritesTab = StackNavigator({
Favorites: {
screen: Favorites,
path: '/',
navigationOptions: ({navigation}) => ({
title: I18n.t('favorites'),
})
}
}, {
cardStyle: {
backgroundColor: 'white'
}

});
const AppSettingsTab = StackNavigator({
AppSettings: {
screen: AppSettings,
path: '/',
navigationOptions: ({navigation}) => ({
title: I18n.t('settings')
})
},
About: {
screen: About,
path: '/about',
navigationOptions: ({navigation}) => ({
title: I18n.t('about'),
left:
<Label type={'body'} text={I18n.t('back')}/>

})
}
}, {
headerMode: 'float',
cardStyle:{
backgroundColor:'white'
}
});
const TabNav = TabNavigator({
SearchTab: {
screen: SearchTab,
path: "search",
navigationOptions: ({navigation}) => ({
tabBarIcon: ({tintColor, focused}) => {
return
}
})
},
FavoritesTab: {
screen: FavoritesTab,
path: "favorites",
navigationOptions: ({navigation}) => ({
tabBarIcon: ({tintColor, focused}) => {
return
}
})
},
AppSettingsTab: {
screen: AppSettingsTab,
path: 'settings',
navigationOptions: ({navigation}) => ({
tabBarIcon: ({ tintColor, focused }) => (

),
})
}
}, {
initialRouteName: "SearchTab",
cardStyle:{
backgroundColor:'white'
},
lazy: true,
tabBarOptions: {
activeTintColor: Platform.OS === 'ios' ? 'red' : 'white',
inactiveTintColor: Platform.OS === 'ios' ? 'black' : 'gray',
},
});
const styles = StyleSheet.create({
container: {
marginTop: Platform.OS === 'ios' ? 20 : 0
}
});
export default TabNav;

Unable to repo with this https://snack.expo.io/@spencercarli/[repro-attempt]-stacknavigator-inside-a-tabnavigator-causes-a-back-button-to-be-in-header

Pinging OP @benschel and @NunoCardoso since this issue is quite old and related to an old version of the lib (and Spencer's code can't reproduce). If no answer I'll close in 7 days.

Sorry for the late answer.
I don't see it anymore, but i can't confirm why the issue went away, if it was package update, or anything else.

Sorry, it's still there :(

Can you please provide a repo that reproduces the issue, because @spencercarli couldn't reproduce it.
Once we have a repo / snack I'll reopen.

does a link like https://exp.host/@nunocardoso/{appname} is good enough?
I can share my AppNavigation.js file and a video of the iOS simulator.
On Thu, Nov 9, 2017 at 2:29 PM, Lorenzo Sciandra<EMAIL_ADDRESS>wrote:

Can you please provide a repo that reproduces the issue, because
@spencercarli https://github.com/spencercarli couldn't reproduce it.
Once we have a repo / snack I'll reopen.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-community/react-navigation/issues/1498#issuecomment-343154395,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgE2IxcODHlbdf0GszbzPmIzYbkmKj1ks5s0v42gaJpZM4NaPpk
.

Ok, I figured out what was happening.
in My navReducer, I had:
const initialState = AppNavigator.router.getStateForAction(      AppNavigator.router.getActionForPathAndParams('search') );
Both my TabNavigator and StackNavigator had a 'search' entry, because I read somewhere that it helps.
I renamed the 'search' on tab to 'searchtab', 'search' on stack to 'searchstack'.
Added this code in the navReducer, based from what the OP had:
const initialRoute = 'searchtab';

const initialState = AppNavigator.router.getStateForAction(
    NavigationActions.navigate({
        routeName: initialRoute
    })
);

And now it works. Not with 'searchstack', only with 'searchtab'. I will keep unique names.


[Task]: harmonize the ActionMeta and TransformMeta classes

What needs to happen?
even though Transforms and Actions are different objects in Apache Hop, they have a number of similarities that should be reflected in the code.
For example:

there's a TransformMeta.getTypeId() that doesn't exist in ActionMeta
there's a ActionMeta.getTypeDesc() that doesn't exist in TransformMeta
TransformMeta.getPluginId() vs ActionMeta.getAction().getPluginId()

Issue Priority
Priority: 3
Issue Component
Component: Actions, Component: API, Component: Transforms

public WorkflowMeta(IVariables variables, String fname, IHopMetadataProvider metadataProvider)
public PipelineMeta(String fname, IHopMetadataProvider metadataProvider, IVariables parentVariableSpace)


Eager mode

I wonder if there is any plan on adopting TensorFlow's Eager Execution. I believe, that there might be a lot of benefits, including

significantly easier debugging;
simplified/more transparent core of GPflow (autoflow etc)

GPflow has a focus on scalability. We're interested in Eager, mostly since it seems like a good way of prototyping code. We're interested into figuring out whether Eager can make our lives easier, but not spending all too much time on this right now.
If you have any suggestions, or examples of use cases, this would be really interesting to see!


Fix duplicated filtering in CompileLoss when not built

Currently, when CompileLoss is called (e.g. by model.fit(...)) but not yet built, it will internally call its _filter_unused_inputs method twice:

a first time inside self.build(y_true, y_pred)
a second time inside the call itself

This is not only redudant, but most importantly can raise a KeyError when trying to filter out the second time (since the filtering already happened). This is due to the fact that the _filter_unused_inputs method actually modifies its y_true & y_pred input parameters in-place here and there (when they are dictionaries).
This PR is a very simple fix to solve this issue (alternatively, this could also be fixed by not using pop in _filter_unused_inputs to avoid any in-place modification of input parameters).

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

Project coverage is 57.58%. Comparing base (4bf1d80) to head (8a493f6).

:exclamation:  There is a different number of reports uploaded between BASE (4bf1d80) and HEAD (8a493f6). Click for more details.
HEAD has 6 uploads less than BASE

Flag
BASE (4bf1d80)
HEAD (8a493f6)

keras
4
1

keras-torch
1
0

keras-tensorflow
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20161       +/-   ##
===========================================
- Coverage   79.35%   57.58%   -21.78%
===========================================
  Files         501      501
  Lines       47311    47311
  Branches     8689     8689
===========================================
- Hits        37542    27242    -10300
- Misses       8014    18392    +10378
+ Partials     1755     1677       -78

Flag
Coverage Δ

keras
57.58% <100.00%> (-21.63%)
:arrow_down:

keras-jax
?

keras-numpy
57.58% <100.00%> (ø)

keras-tensorflow
?

keras-torch
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update refined, refined-scalacheck to 0.9.26

Updates

eu.timepit:refined
eu.timepit:refined-scalacheck

from 0.9.25 to 0.9.26.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "eu.timepit" } ]

labels: library-update, semver-patch

Codecov Report

Merging #1769 (c8ff9b9) into master (7003be9) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1769      +/-   ##
==========================================
- Coverage   86.61%   86.57%   -0.05%
==========================================
  Files          59       59
  Lines        2399     2399
  Branches      136      136
==========================================
- Hits         2078     2077       -1
- Misses        321      322       +1

Impacted Files
Coverage Δ

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
87.13% <0.00%> (-0.59%)
:arrow_down:

Continue to review full report at Codecov.

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


Load of unloaded EVCs as part of the consistency check routine

Fixes #76
Description of the change
As described in Issue #76, mef_eline listens to topology.port.created event to load unloaded EVCs. In the occurrence of a switch disconnection and reconnection, kytos-ng/topology will create many events of port.created, leading to a high overload in mef_eline. Since mef_eline has its own consistency check routine, it is reasonable to assume that loading unloaded EVCs can be seen as an inconsistency. That way, we remove the extra overload of reacting to many kytos events to a periodic task. Furthermore, I've also added some extra logging messages to help the operator understand what mef_eline is doing (inconsistencies).
Finally, I've added a few new unit tests and the main.py coverage increased from 73% to 76%.
Release notes

Improved mef_eline performance by moving the "load unloaded EVCs" task to the consistency check routine

@italovalcy just to double check, is this PR ready for review or still a draft and you'll push more commits?

@italovalcy looks good to me. great to have the improvements, the additional log messages are really handy.
Regarding the load_evcs listening to kytos/topology.port.created, since sometimes switch will reconnect as a result of some flakiness in the network without having any changes in terms of its ports creation, maybe in the future we can refine that event to distinguish at the caller site here on of_core if the interface was created or just updated without any changes, and then adapt the method update_or_create_interface on kytos accordingly to return not only the interface but also the outcome of the operation, and then if no changes took place then no event should be sent to avoid unneeded processing. wdyt? should we map to enhance this part too?

Yes, that is true, @viniarck! I agree with you and I've mapped issue kytos-ng/topology#29 to handle this later.


UI: Table

after toggle loading plus icon becomes hidden

Stop supporting the ResponsiveTable component: https://github.com/Panenco/panenco-ui/issues/398


[Fix CI] Remove Owasp DC for SonarCloud and SpotBug workflow

Context
Owasp DC takes a huge amount of time to run in the CI so to avoid consuming unnecessary time in SonarCloud and Spotbug Workflow actions, was removed
Changes

Added -DskipDependencyCheck=true to SonarCloud and Spotbug workflows.

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

Comparison is base (59ceb8f) 71.17% compared to head (5c022b7) 71.17%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage     71.17%   71.17%
  Complexity     3522     3522
=========================================
  Files           351      351
  Lines         17298    17298
  Branches       2671     2671
=========================================
  Hits          12311    12311
  Misses         3932     3932
  Partials       1055     1055

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ENH: Add support for Multimetric BayesSearchCV

This is a remake of #1030 with (hopefully) a cleaner history. I had initially forked kernc's fork instead of the base repo.

As discussed in PR #988  and issue #797, this PR implements support for multimetric scoring to BayesSearchCV. The refit parameter is used to drive the optimization process.
Fixes:

#797

Features:

add support for list of dict scoring and callable scoring returning a dict of scores to BayesSearchCV
added support for refit to specify the score to use for optimisation. Callable refit (accepted by GridSearchCV) are not supported
documented the changes, documented the BayesSearchCV.multimetric_ attribute
added simple test for the changes
added entry in what's new

Hello @QuentinSoubeyran! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file skopt/searchcv.py:

Line 605:29: E127 continuation line over-indented for visual indent

@kernc @glouppe For some reasons CircleCI doesn't let me see the details of the failed tests (I get a "your session has expired" error). If you can tell me what's wrong with the dependencies I'll fix it.

Any chance this could be merged as it is badly needed?

Yeah this feature would be really really helpful, thank!
@holgern @kernc @QuentinSoubeyran

Is anything blocking this merge?

@MauritsDescamps REpo does not seem the be maintained anymore, last commit was on Oct 12, 2021.
You can bring it up there https://github.com/scikit-optimize/scikit-optimize/discussions/1161


x/build: create builder that runs with GOEXPERIMENT set to 'staticlockranking' (once lock ranking change is in)

Once my changes https://go-review.googlesource.com/c/go/+/222925 (enable build tag corresponding to GOEXPERIMENT value) and https://go-review.googlesource.com/c/go/+/207619 (enforce static lock ranking in the runtime when GOEXPERIMENT enabled) are checked in, we will want to enable a builder (probably just for linux/amd64) that runs with GOEXPERIMENT equal to staticlockranking.
This will not only test that the lock ranking is not being violated in the runtime (hence helping to avoid deadlocks related to lock acquisition ordering), but will also test that the buildtags are correctly set for a different GOEXPERIMENT value.

/cc @toothrot @dmitshur

@danscales Do you think just a post-submit builder (not a part of the default trybot set) is sufficient, or do you think including this builder in trybots would be helpful too?

Yes, I think a post-submit builder will be fine.  This static lock ranking will only affect people who do fairly significant changes to the Go runtime, and those folks will hopefully also know when it will be useful to run the static lock ranking checks before checkin (because they changed the way certain runtime locks are used).

I see. For those CLs, it'll be possible to run the new builder via SlowBots by asking for that builder specifically with something like TRY=linux-amd64-staticlockranking.
I understand it should test only the main Go repository. Let me know if think it would be helpful to test some/many/all golang.org/x repos as well.

I see. For those CLs, it'll be possible to run the new builder via SlowBots by asking for that builder specifically with something like TRY=linux-amd64-staticlockranking.
I understand it should test only the main Go repository. Let me know if think it would be helpful to test some/many/all golang.org/x repos as well.

No, there will be no need to run such a builder for any other repo other than the main Go repo.
Thanks for figuring out the necessary builder work!
I hope to get my first change (222925) submitted today or tomorrow, and then it may be a few more days before I get the full 'static lock ranking' change (207619) submitted.

Sounds good.
Thinking about it more, it should be useful to get the builder up and running starting with the latest existing commit on master, and ensure it's passing. Then, when you're ready to land your changes, you can use the builder via SlowBot (to confirm everything is working as expected, your changes and the builder).
I'll update the CL to remove the DNS.

CL 224078 is deployed now, and the linux-amd64-staticlockranking builder has started running. It is currently failing, as expected, because the experiment hasn't landed yet:
unknown experiment staticlockranking

(Source: https://build.golang.org/log/afcc33b62c57fa7eee7a3807a81d081a8c9eff28)
@danscales Please feel free to test your change with the new builder via SlowBots when it's ready, and let me know if anything more needs to be adjusted on the side of the builder.
/cc @andybons

OK, thank you for doing all this, @dmitshur .  Will let you know how it goes with the SlowBots when I'm ready.


brew update asks for github credentials

[x] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new
[ ] Ran brew update and retried your prior step? this issue is about brew update behaviour
[x] Ran brew doctor, fixed all issues and retried your prior step?
[x] Ran brew config and brew doctor and included their output with your issue?

I'm trying to update Homebrew, but it's asking me for my github credentials, and I wouldn't expect it to ask me for that. Here's all output:
$ brew config
HOMEBREW_VERSION: 1.2.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: ed9942fbd1ec4243f0a92ab8f9b2411c8b1fb091
Last commit: 6 months ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 918902fd25a44b71bcbfce4baef48028e0261e17
Core tap last commit: 5 months ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 9.0 build 900
Git: 2.0.1 => /usr/local/git/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.3.1_2/bin/ruby
Java: N/A
macOS: 10.12.6-x86_64
Xcode: 9.1
CLT: <IP_ADDRESS>.1.1508540944
X11: N/A

$ brew doctor
Your system is ready to brew.

$ brew update
Username for 'https://github.com':  ## ??

What's the output of ls -lha ~/.gitconfig?

$ ls -lha ~/.gitconfig
-rw-r--r--  1 Ariel  staff   248B 26 Jun 11:10 /Users/Ariel/.gitconfig

@arielelkin Try to move it somewhere else and rerun brew update.

@MikeMcQuaid no joy...
$ mv ~/.gitconfig ~/.temp_gitconfig
$ brew update
Username for 'https://github.com':

Do you have or require any sort of proxy?

No. And I'm successfully authenticating to GitHub via SSH otherwise:
$ ssh -T<EMAIL_ADDRESS>Hi arielelkin! You've successfully authenticated, but GitHub does not provide shell access.

can you post output of brew update -dv in a gist please?

@ilovezfs here you go:
https://gist.github.com/arielelkin/9cebce329f1995ff5e7e522b3a05f552

brew untap dinkypumpkin/get_iplayer and try again.

that worked, thank you very much!

You're welcome :)


python 3 upgrade failed

Hi! How can i upgrade python3 package with choco or cinst?
error
Updating 'python3 3.7.2' to 'python3 3.8.3' failed. Unable to find versions of 'libraries.python2.fireeye, libraries.python3.fireeye' that are compatible with 'python3 3.8.3'.

@kasper45  We recently updated FLARE-VM, please try again to see if you still have issues updating Python

Thank you for your feedback! We've been working on major updates to FLARE VM over the last year.
The now revamped FLARE VM has just been released and will make the project more open and maintainable.
Please check out our blog post at https://www.mandiant.com/resources/blog/flarevm-open-to-public and give the new installation a try.
If this problem still persists with the new installation, please report:

new tools or tool-related issues at https://github.com/mandiant/VM-Packages/issues
ideas and issues related to the installer script and configuration at https://github.com/mandiant/flare-vm/issues

Please note that we use this message to close all legacy issues in this repository. We look forward to your feedback and support for the next generation of FLARE VM.


Very slow loading

I have multiple pages with an Url.Action to load the data for the MVCGrid.
On every page the loading of the data takes 30seconds to fill the grid. Then paging is also very slow.
I use a query handler to fill my viewmodel wich i pass to the _Grid.cshtml
In the queryhandler i query my ef6 database to retrieve the data. For organisations table i have 1400 records, and query is fast, but loading of MVCGrid takse 30seconds. Do you have any idea why this is happening?

Did you find anything?

I am still investigating. I can see that my DB Query takes 2859ms in glimpse.
The ViewResult.ExecuteResult() takes 3028 ms.
I have 1400 records and in the _Grid i have 3 columns which i rendered as links like so:
.RenderedAs(x => Html.ActionLink
Now i changed that to     columns.Add(x => "<a href="/Organisatie/Overzicht/" + x.Id + "">" + x.Naam + "").Encoded(false).Titled("Naam").InitialSort(GridSortOrder.Asc);
for all the columns i wanted to render as a link.
Now the ViewResult.ExecuteResult()  takes 988.27 ms.
I cannot point my finger to it, because sometimes the grid loads in 4 seconds, sometimes it takes 12 seconds. But what i do see is that all grids with or without many records takes at least 3 or 4 seconds to render and thus visible for user.
The grid has an dropdownlist for choosing an available pagesize (5,10,25,100).
When i click the dropdownlist without choosing a page size the grid get's reloaded.
This is not always. I did not discovered yet when or why this is happening.
To me it seams like @Url.Action is causing the delay but im not sure yet

Closing, because it doesn't look like problem is on grid's side.


Comment out UI code for upgrade menu entry

This PR comments out the GUI code to present the upgrade option
in the help menu until the upgrader is repaired.

Personally I feel there are so many other higher priority things to work on then an "in-wallet" upgrader, since all one has to do is download and run the msi to "upgrade". Not only that, the in-wallet upgrader is touchy and really subject to breakage. I think we should merge this PR into staging for the impending release and then we should do another PR to rip the in-wallet upgrade functionality out altogether.

Merging this as is and we can clean up all the obsolete upgrade code in the dev branch.


Change Cook patch to work with Spark 2.1.0.

"cook" is now an optional profile when building spark, much like "mesos".

Matt, can you update README and include how to build and run this with Cook?

@icexelloss done.  There really is only one difference from the previous version of this patch;  you need to include "cook" in the comma separated list of optional profiles (-P flag).

I just tested this change and it worked in our env. Many thanks @mforsyth


[tool_crash] SocketException: Failed to create datagram socket, OS Error: Address already in use, errno = 48

Command
flutter --no-color attach --machine --device-id=00008110-001A7C813E01401E lib/main.dart

Steps to Reproduce

...
...
...

Logs
SocketException: Failed to create datagram socket, OS Error: Address already in use, errno = 48
#0      _NativeSocket.bindDatagram (dart:io-patch/socket_patch.dart:1015:7)
<asynchronous suspension>
#1      MDnsClient.start (package:multicast_dns/multicast_dns.dart:135:40)
<asynchronous suspension>
#2      MDnsObservatoryDiscovery.query (package:flutter_tools/src/mdns_discovery.dart:63:7)
<asynchronous suspension>
#3      MDnsObservatoryDiscovery.getObservatoryUri (package:flutter_tools/src/mdns_discovery.dart:153:52)
<asynchronous suspension>
#4      AttachCommand._attachToDevice (package:flutter_tools/src/commands/attach.dart:277:11)
<asynchronous suspension>
#5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#6      AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:224:5)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5.1 21G83 darwin-arm, locale zh-Hans-CN)
    • Flutter version 3.0.5 at /Users/zhangxunan/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (4 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/zhangxunan/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 213.5744.122

[✓] VS Code (version 1.73.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] VS Code (version 1.71.0)
    • VS Code at /Users/zhangxunan/.Trash/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (4 available)
    • 张旭楠的iPhone (mobile)             • 00008110-001A7C813E01401E • ios            • iOS 16.1 20B82
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 12.5.1 21G83 darwin-arm
    • Mac Designed for iPad (desktop) • designed-for-ipad         • darwin         • macOS 12.5.1 21G83 darwin-arm
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Flutter Application Metadata
Type: module
Version: 1.0.0+1
Material: true
Android X: true
Module: true
Plugin: false
Android package: com.tencent.mtt
iOS bundle identifier: com.tencent.mttliteextension
Creation channel: stable
Creation framework version: 18116933e77adc82f80866c928266a5b4f1ed645
Plugins
bugly_flutter-0.2.5
device_info-2.0.3
flutter_keyboard_visibility-5.3.0
flutter_keyboard_visibility_web-2.0.0
nativeimage
path_provider-2.0.9
path_provider_android-2.0.12
path_provider_ios-2.0.8
path_provider_linux-2.1.5
path_provider_macos-2.0.5
path_provider_windows-2.0.5
qb_flutter_publish-aab61ca2caa1b090c6281215fd8e1635c8951013
rmonitor_base-0.2.5
shared_preferences-2.0.13
shared_preferences_android-2.0.11
shared_preferences_ios-2.1.0
shared_preferences_linux-2.1.0
shared_preferences_macos-2.0.3
shared_preferences_web-2.0.3
shared_preferences_windows-2.1.0
sqflite-2.0.2+1
td_sdk
tencent_dtreport-1.1.7
tencent_super_channel-3.2.0
TRouter-b076b3ac99fc6594116c72ab81571de8da0d5b02
url_launcher-6.1.6
url_launcher_android-6.0.21
url_launcher_ios-6.0.17
url_launcher_linux-3.0.1
url_launcher_macos-3.0.1
url_launcher_web-2.0.13
url_launcher_windows-3.0.1
vibration-1.7.6

code error


Expose producer owner

Add configuration to expose producer and owner labels for Geo Time Series retrieved from the Warp 10 Storage Engine.

PTAL


Version 1.14

This PR will grow as the 1.14 PRs get merged into next/1.14.0.  It's just a "catch all" branch/PR.

👍

Cool - the failure in specs is because I rebased these commits from cg/new/onboarding onto next/1.14.0, and there was a slight difference in where the Crashlytics framework was imported.  Gonna merge so I can use this in ongoing cg/new/onboarding work.

This should have been a WIP branch anyway.


HEALTH_ERR Module 'devicehealth' has failed: unknown operation

Describe the bug
My rook-ceph crashed  because of vsphere crashed！when I restart the vm , I found some alerts,most of them restored,but there is an error: Module 'devicehealth' has failed: unknown operation
Environment details
rook-ceph:  ceph version 15.2.17 (8a82819d84cf884bd39c17e3236e0632ac146dc4) octopus (stable)
Steps to reproduce
1 mgr crashed (restored)
2 daemons crashed (restored)
the alert "Module 'devicehealth' has failed: unknown operation " I dont know how to fix it or just archive is ok
Steps to reproduce the behavior:

Setup details: '...'
Deployment to trigger the issue '....'
See error

Logs
6/6/23 8:40:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation
6/6/23 8:30:00 PM
[ERR]
Module 'devicehealth' has failed: unknown operation
6/6/23 8:30:00 PM
[ERR]
[ERR] MGR_MODULE_ERROR: Module 'devicehealth' has failed: unknown operation
6/6/23 8:30:00 PM
[ERR]
Health detail: HEALTH_ERR Module 'devicehealth' has failed: unknown operation
6/6/23 8:20:25 PM
[INF]
Health check cleared: RECENT_CRASH (was: 2 daemons have recently crashed)
6/6/23 8:20:00 PM
[ERR]
osd.2 crashed on host rook-ceph-osd-2-847d8658c-lcmt9 at 2023-06-06T07:39:20.912557Z
6/6/23 8:20:00 PM
[ERR]
osd.4 crashed on host rook-ceph-osd-4-784f686ccd-vfhpl at 2023-06-06T07:14:29.378134Z
6/6/23 8:20:00 PM
[ERR]
[WRN] RECENT_CRASH: 2 daemons have recently crashed
6/6/23 8:20:00 PM
[ERR]
Module 'devicehealth' has failed: unknown operation
6/6/23 8:20:00 PM
[ERR]
[ERR] MGR_MODULE_ERROR: Module 'devicehealth' has failed: unknown operation
6/6/23 8:20:00 PM
[ERR]
Health detail: HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed
6/6/23 8:19:59 PM
[INF]
Health check cleared: RECENT_MGR_MODULE_CRASH (was: 1 mgr modules have recently crashed)
6/6/23 8:10:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 8:00:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 7:50:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 7:40:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 7:30:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 7:20:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 7:10:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 7:00:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 6:50:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 6:40:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 6:30:00 PM
[ERR]
overall HEALTH_ERR Module 'devicehealth' has failed: unknown operation; 2 daemons have recently crashed; 1 mgr modules have recently crashed
6/6/23 6:20:00 PM
[ERR]
mgr module devicehealth crashed in daemon mgr.b on host rook-ceph-mgr-b-cb5f79698-v2n4r at 2023-06-06T07:16:21.180571Z
6/6/23 6:20:00 PM
[ERR]
[WRN] RECENT_MGR_MODULE_CRASH: 1 mgr modules have recently crashed
6/6/23 6:20:00 PM
[ERR]
osd.2 crashed on host rook-ceph-osd-2-847d8658c-lcmt9 at 2023-06-06T07:39:20.912557Z
6/6/23 6:20:00 PM
[ERR]
osd.4 crashed on host rook-ceph-osd-4-784f686ccd-vfhpl at 2023-06-06T07:14:29.378134Z
6/6/23 6:20:00 PM
[ERR]
[WRN] RECENT_CRASH: 2 daemons have recently crashed
6/6/23 6:20:00 PM
[ERR]
Module 'devicehealth' has failed: unknown operation
6/6/23 6:20:00 PM
[ERR]
[ERR] MGR_MODULE_ERROR: Module 'devicehealth' has failed: unknown operation

I am not sure what  your questions is. In any case, it does not look like Ceph-CSI related, I expect it to be more of a Ceph or Rook issue.

I am not sure what your questions is. In any case, it does not look like Ceph-CSI related, I expect it to be more of a Ceph or Rook issue.

ceph health is always to be :
[root@test-master02 ~]# ceph -s
cluster:
id:     2aa064e5-1a34-403b-9e6a-bc7e2f913afa
health: HEALTH_ERR
Module 'devicehealth' has failed: unknown operation
services:
mon: 3 daemons, quorum a,b,c (age 3h)
mgr: b(active, since 17h), standbys: a
mds: 1/1 daemons up, 1 hot standby
osd: 8 osds: 8 up (since 14h), 8 in (since 16h)
data:
volumes: 1/1 healthy
pools:   4 pools, 81 pgs
objects: 3.30k objects, 9.4 GiB
usage:   33 GiB used, 1.5 TiB / 1.6 TiB avail
pgs:     81 active+clean
io:
client:   1.4 KiB/s rd, 10 KiB/s wr, 2 op/s rd, 1 op/s wr
so how can i fix it to HEALTH_OK

I am not sure what your questions is. In any case, it does not look like Ceph-CSI related, I expect it to be more of a Ceph or Rook issue.

ceph health is always to be :
[root@test-master02 ~]# ceph -s cluster: id: 2aa064e5-1a34-403b-9e6a-bc7e2f913afa health: HEALTH_ERR Module 'devicehealth' has failed: unknown operation
services: mon: 3 daemons, quorum a,b,c (age 3h) mgr: b(active, since 17h), standbys: a mds: 1/1 daemons up, 1 hot standby osd: 8 osds: 8 up (since 14h), 8 in (since 16h)
data: volumes: 1/1 healthy pools: 4 pools, 81 pgs objects: 3.30k objects, 9.4 GiB usage: 33 GiB used, 1.5 TiB / 1.6 TiB avail pgs: 81 active+clean
io: client: 1.4 KiB/s rd, 10 KiB/s wr, 2 op/s rd, 1 op/s wr
so how can i fix it to HEALTH_OK

As stated earlier this is not related to cephcsi, please open an issue at rook https://github.com/rook/rook/issues or contact ceph folks at https://ceph.io/en/community/connect/ .


Push 0.5.3 to PyPI

PyPI still contains 0.5.2: https://pypi.org/project/requests-negotiate-sspi/. Can someone kindly push 0.5.3 to it?

@brandond can you please update the 0.5.3 version?  3.9 and 3.10 have been released.

@brandond Gentle reminder.

Hi folks, can we please update the PyPi version to 0.5.3 ?  Thanks!

Waiting :-(

Yet another ping :-(

@brandond
Will we ever see a newer version on PyPI?

New issues are piling up and still no update :-(


MissingTrx on sled enricher does not result in unrecoverable error and stage restarts

Is:

MissingTrx on sled enricher does not result in unrecoverable error and stage restarts

Expected behaviour:

scrolls should stop processing and perhaps even exit (-1)

fixed


SVG preview doesn't work

When I press Alt+S O or choose SVG Viewer: View SVG from the command palette nothing happens.
The filetype is XML. Extension version: 1.3.0. VS Code version: 1.8.1.

@yantakus

nothing happens.

Have you not received an error message ? (developper tool or vscode standard message)
Don't open a preview window?

Mine also doesn't work no errors when I use the command. I did see an error later saying no svg inactive workspace. Super delayed.

On Ubuntu I get the message: "Active editor doesn't show a SVG document - no properties to preview."
I am testing with an SVG file that I found in this repository:
<?xml version="1.0"?>
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
 <!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
 <g>
  <title>Layer 1</title>
  <circle stroke="#333333" fill-opacity="0" id="svg_4" r="48.000004" cy="59.500001" cx="105" stroke-width="20" fill="#000000"/>
  <rect cy="60" transform="rotate(45 37.99999999999999,125.5) " id="svg_7" height="85" width="20" y="83" x="28" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="10" fill="#333333" stroke-opacity="0" stroke="#000000"/>
  <path stroke="#000000" stroke-opacity="0" id="svg_2" d="m124.592659,149.699597c7.254473,0 14.508951,0 21.763424,0c0,5.010636 0,10.021277 0,15.031913c-7.254473,0 -14.508951,0 -21.763424,0c0,-5.010636 0,-10.021277 0,-15.031913zm-31.436068,0c8.060478,0 16.121112,0 24.181595,0c0,5.010636 0,10.021277 0,15.031913c-8.060478,0 -16.121112,0 -24.181595,0c0,-5.010636 0,-10.021277 0,-15.031913zm-29.017903,0c8.060478,0 16.121106,0 24.181584,0c0,5.010636 0,10.021277 0,15.031913c-8.060478,0 -16.121112,0 -24.181584,0c0,-5.010636 0,-10.021277 0,-15.031913zm-29.017903,0c8.060478,0 16.121106,0 24.181589,0c0,5.010636 0,10.021277 0,15.031913c-8.060483,0 -16.121106,0 -24.181589,0c0,-5.010636 0,-10.021277 0,-15.031913zm89.471874,30.998507c7.657545,-0.339387 15.314956,0.239793 22.972507,-0.099594c0.491331,-5.289003 0.263753,-10.578018 0.755084,-15.867022c7.166219,0 15.051349,0 22.217417,0c0,-5.010636 0,-10.02128 0,-15.031913c-7.254473,0 -14.508951,0 -21.763424,0c0,-5.567385 0,-11.134756 0,-16.702127c-8.060478,0 -16.121106,0 -24.181584,0c0,-5.010636 0,-10.021277 0,-15.031913c8.060478,0 16.121106,0 24.181584,0c0,5.010636 0,10.021277 0,15.031913c7.166074,0 15.051203,-0.248272 22.217417,-0.248272c0.491331,5.288989 0.263758,10.826287 0.755095,16.11529c7.65754,0.339376 15.422955,-0.028791 23.080511,0.310584c0,4.949635 -0.108009,10.606794 -0.108009,15.556437c-8.060478,0 -16.121106,0 -24.181584,0c0,5.567382 0,11.134745 0,16.702127c-7.254473,0 -14.508951,0 -21.763424,0c0,5.010636 0,10.021277 0,15.031913c-8.060478,0 -16.121106,0 -24.181584,0c0,-4.949635 0,-10.817796 0,-15.767435l-0.000005,0.000011z" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="15" fill="#333333"/>
 </g>
</svg>

@abudaan The condition in which the message is displayed is when languageId is not xml or the end of the file does not end with "</ svg>".
Has that file been saved already?

Thanks for your reply; meanwhile I did a clean install of Xubuntu 17.04, vscode and your plugin and it works like a charm now! I guess my old installation was corrupted.

Does not work for me either.  there is no option in the context menu the keyboard method does not work and when I use the command line to open the preview the image I see is not my SVG but something resembling a miniature postage stamp.

Did not work for me either. But it does work after installing XML Tools.

Did not work for me either. But it does work after installing XML Tools.

just my 5c: this did not help me 😞

For me the trick was to not split my opening SVG tag's attributes onto multiple lines

For me the trick was to not split my opening SVG tag's attributes onto multiple lines

This worked for me, thanks!

For me the trick was to not split my opening SVG tag's attributes onto multiple lines
Same thing here. There's probably a bad parser being used by this extension.

I also got the message:

Active editor doesn't show a SVG document - no properties to preview.

I fixed it by installing the XML Tools extension and then apply Format Document from View>Command Palette....


Crash in Tracker.swift due to app being unresponsive

Describe the bug
Getting a crash in Tracker.swift file on line 35 with the reason being - The app was terminated while unresponsive
I am on the snowplow version 5.6
Expected behavior
This crash should not happen.

can someone help here if anything is wrong on my end?

Hi @Utk2911, thanks for reporting the problem! Based on the stack trace, it seems that the following is happening:

There is an unhandled exception raised in the app somewhere (likely not in the tracker but we don't know based on this stack trace)
The automatic exception tracking feature in the tracker is activated to track an event for the exception (this is an optional feature that you may disable if you prefer).
To allow for the event to be sent, the tracker sleeps the thread for 2s before the app crashes. During this sleep the system quits the app due to being unresponsive which causes this error that you report.

So the error that you report is a result of another unhandled error in the app and is raised by the exception tracking feature in the tracker. You may choose to disable this feature if you want to avoid the same report in the future.
What we can do to try to avoid this problem is to adjust the sleep timeout in the tracker, 2s might be too much to track the exception event.
I hope that makes sense, let us know if you have further questions.

Thanks for the input. What according to you should be the ideal sleep timeout time I can try for the same?

Should be fixed in version 6.0.0


Polish notebook markdown extension point

Follow up on #106701, which added a new extension point that lets extensions contribute markdown extensions for notebooks.
To enable the new render API, set:
"notebook.experimental.useMarkdownRenderer": true,

Todos

[ ] Make a more thorough test of accessibility with these changes

[X] Improve focus tracking
[x] Test screen reader

[x]  When pre-rendering the notebook cells on first load, look at cell position cache instead of just getting first five cells
[X] Move the math contribution into a new extension
[x] Make sure that only core extensions can fully replace the markdown renderer for now
[ ] Figure out markdown extensions should be contributed. Right now they come in the same way replacement markdown renderers do
[x] Improve drag + drop of cells. Currently there are noticeable delays

I've split the remaining issues out:
#121256 For API review
#118594 for accessibility


useVelocity error in scrollex

@malerba118 can you kindly take a look at this error, I know it is the holidays but I noticed this error and I think I found where it I coming from which is this customhook
this is the error Cannot read properties of undefined (reading 'add')
this is the custom ohook in scrolled package
function useVelocity(value) {
const velocity = useConst(() => framerMotion.motionValue(value.getVelocity()));
React.useEffect(() => {
return value.velocityUpdateSubscribers.add((newVelocity) => {
velocity.set(newVelocity);
});
}, [value]);
return velocity;
}

For sure, have had a few bugs reported in the last week or two and my plan is to dig into them this weekend or even this week if i find the time 👍
Seems like some api's have changed in the most recent version of framer-motion and velocityUpdateSubscribers is no longer exposed.
https://github.com/framer/motion/commit/44744e0b209d3ebe79837befc27dc744f2550c1b#diff-ce757db9ed559677ef9642e7b04897ee154ff83d64242842fdd0b70f8d2bc8a7
Until i get this fix published you could bump down framer-motion a version or two and i think that will fix it temporarily.

Published a version with a fix! v2.0.1

okay thanks will check this out now


I cannot reproduce the experimental results 91.7 mAP

Hi there.
I cannot reproduce 91.7 mAp on market1501!

same here, I tried re-ranking but still way below the reported mAp 91.7 ... hope someone helps out here .. @HRanWang  Thank you


python3Packages.migen: unstable-2024-07-21 -> 0.9.2-unstable-2024-12-25

This update gets it working with Python 3.13. I also set up a passthru.updateScript.

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

What is the problem of using a specific release instead of a commit in between?

nixpkgs-reviewd workflow started
Status and logs: https://github.com/nixosbrasil/nixpkgs-reviewd/actions/runs/12529192413
Extra args: ``

nixpkgs-reviewd workflow finished
Status and logs: https://github.com/nixosbrasil/nixpkgs-reviewd/actions/runs/12529192413
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368875

x86_64-darwin

:white_check_mark: 8 packages built:

python312Packages.migen
python312Packages.migen.dist
python312Packages.misoc
python312Packages.misoc.dist
python313Packages.migen
python313Packages.migen.dist
python313Packages.misoc
python313Packages.misoc.dist

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368875

x86_64-linux

:white_check_mark: 8 packages built:

python312Packages.migen
python312Packages.migen.dist
python312Packages.misoc
python312Packages.misoc.dist
python313Packages.migen
python313Packages.migen.dist
python313Packages.misoc
python313Packages.misoc.dist

What is the issue of using a specific release instead of a commit in between?

Migen hasn't tagged a release in 5 years, so using the last release would leave us with a very outdated version.
The 0.9.2- at the start is the last released version prior to the commit we're using; nothing's actually changed there, I've just changed the package to follow the rules for unstable version numbers.


Word embeddings are different for Python2 vs Python3

I prepared a dataset using python 3, then fed the pickled data to a model getting run in python 2.7. I was getting strange behavior and I narrowed it down to the Spacy embeddings. For example:
Python2:
import spacy.en
nlp = spacy.en.English()
nlp.vocab[1002].norm_

u'low'

Python3:
import spacy.en
nlp = spacy.en.English()
nlp.vocab[1002].norm_

'tay'

It looks like Spacy in Python2 is v.0.97 and v.0.94 in Python3. Is this strictly a versioning issue, and if so is this a rare sort of change that embeddings are indexed differently? Or is this a Python2 vs Python3 issue?

I went ahead and upgraded all my environments and pip installed the most recent version of Spacy (v0.99), and it looks like the models are now matching. I must have somehow missed that new versions of Spacy ship new models. Perhaps this should be emphasized in the Docs since it can be dangerous to use slightly different versions of Spacy in the same pipeline, as was my case.


Update Conan recipe for v0.6.0

Per PR #46

[ ] Update Make new GitHub Release tag
[ ] Update Conan recipe

Update GitHub Release tag

If that means that the old tag is deleted and another commit is tagged as v0.6.0, then be aware that this may cause some inconsistencies among existing forks and working copies of expected-lite. More details about why re-tagging can be problematic can be read in the official Git documentation: https://git-scm.com/docs/git-tag#_on_re_tagging
Bottom line is:
Git does not update tags in existing repositories when doing a git fetch or git pull. So anyone who has checked out the repository will still have the old v0.6.0 tag unless the tag is updated manually in that person's repository checkout. So it might be easier to just create a new tag (e. g. v0.6.1) and use that one instead, possibly pointing out that v0.6.0 has the wrong version in the code and should not be used anymore.

Thanks @striezel for your informed suggestion to do a/the sensible thing :)


Develop

Coverage increased (+0.03%) to 81.57% when pulling e540dd9de0f478f30f3722c400fe8da583235a2e on develop into 1e514bbf6da881bef04fbc3b1f0323792aaad4e5 on qa.


SW-6312 Use ASCII apostrophe in Côte d'Ivoire

The country list in the all-variables sheet uses an ASCII apostrophe in the name
of the country, but Terraware was using a right single quotation mark, meaning
it wasn't working to select that country name for the country variable.
Update the Terraware country list to use the ASCII apostrophe to match what's in
the spreadsheet.

#2654  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Faster-RCNN / Mask-RCNN on COCO pre-trained network

Faster-RCNN / Mask-RCNN on COCO
Has anyone tested the pre-trained network provided on tensorpack model zoo, particularly COCO-ResNet101-MaskRCNN.npz  ?
I tested COCO-ResNet50-MaskRCNN.npz  and obtained the result as the example page (36.9/32.3) whereas for COCO-ResNet101-MaskRCNN.npz gives me a different result as follows:
Evaluate annotation type *bbox*
DONE (t=32.23s).
Accumulating evaluation results...
DONE (t=6.81s).
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.038
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.080
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.034
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.032
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.059
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.040
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.070
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.116
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.123
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.094
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.137
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.108
Running per image evaluation...
Evaluate annotation type *segm*
DONE (t=35.32s).
Accumulating evaluation results...
DONE (t=6.76s).
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.036
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.074
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.032
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.027
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.059
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.043
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.067
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.110
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.117
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.082
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.138
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.107

Have you modified the config to use resnet101 at all?

Just the DIR

https://github.com/ppwwyyxx/tensorpack/blob/3b994877d4502539d83f101597de2277a1b00919/examples/FasterRCNN/config.py#L18-L19
Also, to report a bug, please follow the issue template.

Thanks for pointing out, cheers


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
13 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
16 seconds
sanity-inspect-image

✅ Succeeded
16 seconds
deprecated-base-image-check

✅ Succeeded
17 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
13 seconds
sbom-json-check

✅ Succeeded
15 seconds
sanity-optional-label-check

✅ Succeeded
14 seconds
sanity-label-check

✅ Succeeded
5 seconds
show-summary


[SPARK-32283][CORE] Kryo should support multiple user registrators

What changes were proposed in this pull request?
spark.kryo.registrator in 3.0 has a regression problem. From SPARK-12080, it supports multiple user registrators by
private val userRegistrators = conf.get("spark.kryo.registrator", "")
    .split(',').map(_.trim)
    .filter(!_.isEmpty)

But it donsn't work in 3.0. Fix it by toSequence in Kryo.scala
Why are the changes needed?
In previous Spark version (2.x), it supported multiple user registrators by
private val userRegistrators = conf.get("spark.kryo.registrator", "")
    .split(',').map(_.trim)
    .filter(!_.isEmpty)

But it doesn't work in 3.0. It's should be a regression.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existed unit tests.

Test build #125880 has started for PR 29123 at commit 45d1e43.

Merged build finished. Test PASSed.

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

Test build #125880 has finished for PR 29123 at commit 45d1e43.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Merged build finished. Test PASSed.

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

Retest this please

Merged build finished. Test PASSed.

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

Test build #125928 has started for PR 29123 at commit 45d1e43.

Test build #125928 has finished for PR 29123 at commit 45d1e43.

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

Merged build finished. Test PASSed.

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

cc @RotemShaul @vanzin @dongjoon-hyun

cc @cloud-fan

thanks, merging to master/3.0!

+1, late LGTM. Thank you, @LantaoJin and @cloud-fan .
cc @HeartSaVioR and @srowen

Nice find and thanks for fixing this! I have no idea why I took different way to deal with KRYO_USER_REGISTRATORS and KRYO_CLASSES_TO_REGISTER... I guess it was just a mistake. My bad.


Why delete FetchLastCandlesService in main branches

I want to wrap the interface, like this:
impl<C, Req> Exchange<C, Req>
where
    Exc<C, Req>: FetchCandlesService,
{
}

but, OKX not implement FetchCandlesService.
OKX had implement QueryLastCandles, but I can't find FetchLastCandlesService in main branches.

The implementation is still there, but not implemented directly. You can use ExcExt::into_fetch_candles_backward_with_bound to convert a Exc<impl Request<QueryLastCandles>> into a FetchCandlesService. You can find the usage example here.

Ok， I can use ExcService<QueryLastCandles> to constraint Exc<C, Req>


Reduce amount of data transferred

Yesterday I took part in the Fahrradsternfahrt to Berlin. During 4 hours, my phone spent almost 20 MB. I don't have a generous data plan, and this was way beyond my "daily allowance".
There seem to be multiple factors contributing to this rather large amount of data:

I could find no way to use offline maps (I'm using them with Locus, and c:geo, thus a newer mapsforge interrface should work)
There seems to be no map tile caching
The app appears to load map tiles even if it's only running in the background (I don't have proof for that, except that between two consecutive unlocks, more than 5 MB had been spent). Actually, my phone reports twice the amount of data transferred in the background compared to foreground usage (i.e. when I was zooming and panning around for other participants)!

While a typical CM will take place in a well-defined, small area, such a setup like the Sternfahrt would cover long distances and therefore would trigger more map reloads than usual.
Is there an overview what kind of data gets transmitted (sent, and received) in which situations?
I'd expect my own location to be sent every now and then (10 - 15 seconds?) but other locations, and map tiles, only pulled if there are any participants within my view window, and none of that while running in the background.
I'm back to Herve Renault's self-hosted location tracking service for now (which consumes <1/4 kB per my location report).
Wishlist (in decreasing order of importance to me):

option to use off-line maps (must-have)
no map tile loading in the background at all (important)
reduce traffic to a minimum in bg mode (only report own location; perhaps notify of chat? - normal)
option to opt out of chat etc.

Thanks!

Hi, thanks for the feedback :)

Tiles are cached automatically by osmdroid and stored in a database on your device. They should be on your main "SDCard"/emulated storage in "/osmdroid/tiles"

Offline maps would be a nice feature, I agree. Until then the workaround would be to scroll around the expected areas in different zoom levels while you're on wifi. :\

There should be no tile-loading at all, while the app is in the background. I see no possibility how, since the MapView is not updated while the app is in background. The only thing I could think of is, is that for some reason osmdroid keeps listening to location updates AND loads tiles for new locations automatically. Unlikely, but I'll look into that.

Regarding different calls to the backend while minimized: Right now the backend does not support that, but maybe in the future we can change something here. Honestly I don't think it's high priority: After a rough calculation and assuming ~300 Users, the resulting traffic for the 4 hours you mentioned should be only around 4.2MB. And this is assuming uncompressed communication.  @stephanlindauer Is gzip enabled server-side?

Christian

I just checked and that there is no loading of tiles while the app is in the background. I'm really surprised you saw 5MB of traffic in between unlocks. I'll try to do some more testing regarding the backend traffic in the next days.

just realized: gzip is not enabled on the new server.
changing this is a bit of a pain because the nginx config is tightly coupled to the thing that renews certs.
i'll see how i can fix this. worst case: manually renewing certs. :unamused:

this is fixed via using k8s + traefik as a remote proxy


kie-editors-standalone: update options description in README

origin: add default when using the file protocol
readOnly: it is also available in the BPMN Editor
Rationale

origin: BPMN and DMN
readOnly: EnvelopeServer and Channel

@tbouffard Hi! Thanks for the contribution!


ext: lib: mgmt: mcumgr: zephyr port os enhancement

This patch add two new features:

show task name
show task stack usage

Fixed #15820
Signed-off-by: Frank Li<EMAIL_ADDRESS>

@mbolivar I close the pr & create new pr for external module, please review again, thx!
https://github.com/zephyrproject-rtos/mcumgr/pull/2


Add support for Inscopix analysis package

Not currently a priority.  Will consider adding if a user requests.


Enderchest 6 rows bug

Spark link
https://spark.lucko.me/mop0IDREM1
Expected behavior
I expected it to work ?? - I expected to get an enderchest with six rows, but when i click on the enderchest it won't open and i get a huge error in console.
Observed/Actual behavior
I have luckperms installed on my server.
My group: Nybegynder has this permission; purpur.enderchest.rows.three
This works fine, i now have a enderchest with three rows.
Now i give my self this permission; purpur.enderchest.rows.six
Now when i try to open my enderchest it gives this error:
[17:08:23 ERROR]: Failed to handle packet net.minecraft.network.protocol.game.PacketPlayInUseItem@46318041, suppressing error java.lang.IllegalArgumentException: Container size 27 is smaller than expected 54         at net.minecraft.world.inventory.AbstractContainerMenu.checkContainerSize(AbstractContainerMenu.java:137) ~[?:?]         at net.minecraft.world.inventory.ChestMenu.<init>(ChestMenu.java:100) ~[?:?]         at net.minecraft.world.inventory.ChestMenu.sixRows(ChestMenu.java:95) ~[?:?]         at net.minecraft.world.level.block.EnderChestBlock.lambda$use$1(EnderChestBlock.java:93) ~[?:?]         at net.minecraft.world.SimpleMenuProvider.createMenu(SimpleMenuProvider.java:25) ~[?:?]         at net.minecraft.server.level.ServerPlayer.openMenu(ServerPlayer.java:1601) ~[?:?]         at net.minecraft.world.level.block.EnderChestBlock.use(EnderChestBlock.java:87) ~[?:?]         at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.use(BlockBehaviour.java:1177) ~[?:?]         at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:583) ~[?:?]         at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2043) ~[?:?]         at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:37) ~[?:?]         at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9) ~[?:?]         at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]         at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.1.jar:git-Purpur-2004]         at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]         at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]         at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1366) ~[purpur-1.20.1.jar:git-Purpur-2004]         at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.20.1.jar:git-Purpur-2004]         at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]         at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1343) ~[purpur-1.20.1.jar:git-Purpur-2004]         at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1336) ~[purpur-1.20.1.jar:git-Purpur-2004]         at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]         at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1314) ~[purpur-1.20.1.jar:git-Purpur-2004]         at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1202) ~[purpur-1.20.1.jar:git-Purpur-2004]         at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.1.jar:git-Purpur-2004]         at java.lang.Thread.run(Thread.java:833) ~[?:?]
Steps/models to reproduce
I have luckperms installed on my server.
My group: Nybegynder has this permission; purpur.enderchest.rows.three
This works fine, i now have a enderchest with three rows.
Now i give my self this permission; purpur.enderchest.rows.six
Now when i try to open my enderchest it gives this error:
Purpur version

version
[17:14:49 INFO]: Checking version, please wait...
[17:14:49 INFO]: Current: git-Purpur-2004 (MC: 1.20.1)*
Previous: git-Purpur-2001 (MC: 1.20.1)

You are running the latest version

Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
No response

For clarification, did this continue after a server restart, or did the error only occur initially enabling the option and reloading the config?

I can't seem to reproduce your issue. To repeat Rhythmic's question, did you update the config by running /purpur reload or did you restart the server?

I can't seem to reproduce your issue. To repeat Rhythmic's question, did you update the config by running /purpur reload or did you restart the server?

I restarted the server.
Just to clarify
First i have the permission: purpur.enderchest.rows.three - then i give myself this permission: purpur.enderchest.rows.six
And now i can't open my enderchest and i gives me an error in console.

It happens because row number is assigned to player on join
https://github.com/PurpurMC/Purpur/blob/ab2f1c06cef7ae6ff5f6754c87951eb406d60dbf/patches/server/0010-Barrels-and-enderchests-6-rows.patch#L16-L35
but permissions are always refreshed and
    // Purpur start
    @Override
    public int getContainerSize() {
        return owner.sixRowEnderchestSlotCount < 0 ? super.getContainerSize() : owner.sixRowEnderchestSlotCount;
    }
    // Purpur end

^ that method returns the value cached on join in code below
    public static ChestMenu fiveRows(int syncId, Inventory playerInventory, Container inventory) {
        return new ChestMenu(MenuType.GENERIC_9x5, syncId, playerInventory, inventory, 5);

    public ChestMenu(MenuType<?> type, int syncId, Inventory playerInventory, Container inventory, int rows) {
        super(type, syncId);
        checkContainerSize(inventory, rows * 9);

    protected static void checkContainerSize(Container inventory, int expectedSize) {
        int j = inventory.getContainerSize();

        if (j < expectedSize) {
            throw new IllegalArgumentException("Container size " + j + " is smaller than expected " + expectedSize);

[01:05:25 ERROR]: Failed to handle packet net.minecraft.network.protocol.game.PacketPlayInUseItem@7ff061b1, suppressing error
java.lang.IllegalArgumentException: Container size 27 is smaller than expected 54
        at net.minecraft.world.inventory.AbstractContainerMenu.checkContainerSize(AbstractContainerMenu.java:137) ~[?:?]
        at net.minecraft.world.inventory.ChestMenu.<init>(ChestMenu.java:100) ~[?:?]
        at net.minecraft.world.inventory.ChestMenu.sixRows(ChestMenu.java:95) ~[?:?]
        at net.minecraft.world.level.block.EnderChestBlock.lambda$use$1(EnderChestBlock.java:106) ~[?:?]

still unable to reproduce

still unable to reproduce

/lp user nick permission set purpur.enderchest.rows.five
Join the server, open enderchest
/lp user nick permission unset purpur.enderchest.rows.five
/lp user nick permission set purpur.enderchest.rows.four
Open enderchest again
You can't do it, there is IllegalArgumentException in console


How to render loading state after immediately clicking a link, but before data has been fetched

I want to give my users instant response to <Link> activation, then have the route handler component dispatch an event to have its store loaded according to the params.
I'm also in the habit of injecting dependencies in props. Sneaking in the dependencies as enclosed variables is easy when every component is in the same file, but feels wrong the moment you put a component in its own file:
var Component = require('../component.jsx')(stores, dispatcher.fire);
React.renderComponent(Route({ handler: Component }), document.body);

I'd prefer this:
var Component = require('../component.jsx');

React.renderComponent(
    Route({ handler: Component,
            stores: stores,
            fire: dispatcher.fire  }
    ), document.body);

Component gets stores and fire as RNR-style "static props"; it can start watching the stores in componentDidMount, and fire events from its event handlers. All we need is fire that first event to load the data. So, in willTransitionTo, we calls fire on the dispatcher…
… except, we can't. There's no such argument, and we can't provide component like willTransitionFrom gets because the component hasn't been created yet. Indeed, we want to handle this before the component is created so we can avoid a flash of not-even-trying-to-load unanticipated state. That leaves the route's static props as a way to provide willTransitionFrom access to the dependencies.
Am I missing some cleaner way to accomplish this?

Hi, all:
I create a mixin to display loading UI like this:
var NProgress = require('nprogress');

var ProgressMixin = {
  componentWillMount: function() {
    NProgress.start();
  },

  componentDidMount: function() {
    NProgress.done();
  }
};

Then add the mixin to every page:
var Page1 = React.createClass({
  mixins: [ProgressMixin],

  render: function() {
    return (

Page 1

    );
  }
});

It works! When change the link, the loading UI appear.
But I have to add the mixin to every handler, is there any API for adding mixin to all route handlers?
Thanks very much.

you can use extends with es6.

@minwe Hi, i am trying your solution but desnt work. I am writting in ES6, so its little different.
class Print extends React.Component {

  constructor(props)
  {
    super(props);
    this.state = {
      canvas: null,
      mixins: [ProgressMixin],
    }
    render(){
       return()
    }
}

and mixin looks same. -
var NProgress = require('nprogress');

var ProgressMixin = {
    componentWillMount: function() {
        NProgress.start();
    },

    componentDidMount: function() {
        console.log('neco')
        NProgress.done();
    },

    start(){
        console.log('bla');
        NProgress.start();
    },
    stop(){
        NProgress.done();
    }
};

module.exports = ProgressMixin;

But still there is long time to render new page without any loading UI. I am rendering canvas and it takes a lot of time. I tried to get into start method console.log function, but its not invoken. So i think this method isnt called. Any tips ?

@uragecz
Mixins not work with ES6 Class, see https://facebook.github.io/react/docs/reusable-components.html#no-mixins .
You should use createClass.

@minwe  createClass needs render method, so have i write just emty div ? If yes, it still doesnt work :/ i changed it to -
var ProgressMixin = React.createClass({
componentWillMount: function() {
NProgress.start();
},
componentDidMount: function() {
    NProgress.done();
},

start: function(){

    NProgress.start();
},
stop: function(){
    NProgress.done();
},

render: function(){
    return(

)
}

});
module.exports = ProgressMixin;

Or u think to do remake my component which calls mixins: [ProgressMixin] ?

or you could use babel es6 decorators if you're working with webpack
create a file decorators/nProgress.jsx:
`import NProgress from 'nprogress'
export default function nProgress(target) {
const superComponentWillMount = target.prototype.componentWillMount
const superComponentDidMount = target.prototype.componentDidMount
target.prototype.componentWillMount = function() {
if (typeof superComponentWillMount === 'function')
superComponentWillMount.apply(this, arguments)
NProgress.start()
}
target.prototype.componentDidMount = function() {
if (typeof superComponentDidMount === 'function')
superComponentDidMount.apply(this, arguments)
NProgress.done()
}
}`
then simply annotate your components with "nProgress" like so:
`import React, { PropTypes, Component } from 'react'
import { Link } from "react-router"
import { Jumbotron } from 'react-bootstrap'
import nProgress from '../decorators/nProgress'
@nProgress
export default class Reports extends Component {
...`

@roby-rodriguez Please am sorry to ask this, when you mentioned using annotate I am really confused if I might have to set my project to static type(flow) or typescript as it is not working with normal js. I am using CRA and I dont want to eject is there a way I could modify the append to babelrc without ejecting to configure babel for the annotate


Cake is not a language id anymore

Fixes #1321
Changes proposed:

[x] Fix

Things I've done:

[x] My pull request fixes an issue, I referenced the issue.

@robertohuertasm @JimiC I just wanted to confirm that this is now working, thanks 😄


Convert Xamarin.Forms.VisualElement to Fabulous.ViewElement

Hello
I'm trying to use FFImageLoad on Fabulous.
To show a image we have to use ChacedImage from FFImageLoad, it derives from VisualElement of Xamarin.Forms.
But Fabulous need Viewelement.
There is a simple way to convert a VisualElement from Xamarin Forms to ViewElement of fabulous?
open FFImageLoading.Forms
open Xamarin.Forms
let source = FileImageSource()
source.File <- "some_image.jpg"
let image = CachedImage()
image.Source <- source
let iamge2 = image :> Xamarin.Forms.VisualElement
let image3 = iamge2 :> Fabulous.ViewElement
// The type VisualElement is not compatible with type ViewElement

Hi @luizhj
VisualElement is not convertible to ViewElement.
ViewElement is actually a virtual representation of your view, and it contains instruction to instantiate the real control when needed (or update it if necessary). That's where your CachedImage will be created.
To be able to use your FFImageLoading.Forms.CachedImage, you will need to write an extension for it. (see https://fsprojects.github.io/Fabulous/Fabulous.XamarinForms/views-extending.html)
This will be something like that
[<AutoOpen>]
module MyViewExtensions =

    open Fabulous
    open Fabulous.XamarinForms
    open FFImageLoading.Forms

    let SourceAttribKey = AttributeKey<string> "CachedImage_Source"

    // Fully-qualified name to avoid extending by mistake
    // another View class (like Xamarin.Forms.View)
    type Fabulous.XamarinForms.View with
        /// Describes a CachedImage in the view
        /// The inline keyword is important for performance
        static member inline CachedImage(?source: string) =

            // Count the number of attributes
            let attribCount = 0
            let attribCount = match source with Some _ -> attribCount + 1 | None -> attribCount
            let attribs = AttributesBuilder(attribCount)

            // Add our own attributes.
            match source with None -> () | Some v -> attribs.Add (SourceAttribKey, v)

            // The creation method
            let create () = new CachedImage()

            // The incremental update method
            let update (prev: ViewElement voption) (source: ViewElement) (target: CachedImage) =
                let updateSource (target: CachedImage) (v: string) =
                    let imageSource = FileImageSource()
                    imageSource.File <- v
                    target.Source <- imageSource

                source.UpdatePrimitive (prev, target, SourceAttribKey, (fun target -> target.Source), updateSource)

            // Create a ViewElement with the instruction to create and update a CachedImage
            ViewElement.Create<CachedImage>(create, update, attribs)

You will then be able to write
View.CachedImage(source = "some_image.jpg")

Thank you very much!
It worked with some litlle modifications
`
[]
module MyViewExtensions =
open Fabulous
open Fabulous.XamarinForms
open FFImageLoading.Forms
open Xamarin.Forms

let SourceAttribKey = AttributeKey<_> "CachedImage_Source"

// Fully-qualified name to avoid extending by mistake
// another View class (like Xamarin.Forms.View)
type Fabulous.XamarinForms.View with
    /// Describes a CachedImage in the view
    /// The inline keyword is important for performance
    static member inline CachedImage(?source: string) =

        // Count the number of attributes
        let attribCount = 0
        let attribCount = match source with Some _ -> attribCount + 1 | None -> attribCount
        let attribs = AttributesBuilder(attribCount)

        // Add our own attributes.
        match source with None -> () | Some v -> attribs.Add (SourceAttribKey, v)

        // The creation method
        let create () = new CachedImage()

        // The incremental update method
        let update (prev: ViewElement voption) (curr: ViewElement) (target: CachedImage) =

            let updateSource (v: string) =
                let imageSource = FileImageSource()
                imageSource.File <- v
                imageSource

            curr.UpdatePrimitive (prev, target, SourceAttribKey, (fun target v -> target.Source <- updateSource v ))

        // Create a ViewElement with the instruction to create and update a CachedImage
        ViewElement.Create<CachedImage>(create, update, attribs)

`
And the use:
  View.CachedImage(source =  "file.jpg")


An anti-pattern in computed property may cause performance issue

Version
2.5.17
Reproduction link
https://codesandbox.io/s/140202wlq
Steps to reproduce
Open the code sandbox link and click the button to use the computed property 'filteredEntities', and you will find it cost a lot of time.
After check the call tree, I found this is because the code calls the getter of 'entities'  many times which will then call the dependArray function.
The code leading to this is:
const len = this.entities.length;
for (let i = 0; i < len; i++) {
  const e = this.entities[i];
  // do something with e
}

If this.entities has a length of n, its getter will be called n + 1 times. And every time when the getter was called, it will call dependArray on the value of this.entities, which is the array with length n.
Since dependArray will iterate the value, the depend function will be called (n + 1)^2 times totally.
I found this code when I'm reviewing someone's PR, and the original code use for (let i = 0; i < this.entities.length; i++)  and make another n times call to the getter.
It was easy to avoid this problem, such as using some array methods like filter to only call getter once.
Even cache the value of entities by const cache = this.entities can solve it.
Although it was easy to avoid of this pattern, I still think it is dangerous because the original code was not an obvious anti-pattern.
And this will not show any performance issue when the array is small, but may cause serious performance issue when the array is large in some production environment.
What is expected?
I've read the related source code and I think this is the expected result of the observer system.
Then I read some chapter of the guide again to ensure there is no mention about this, so I'm not sure whether we need to add this as a NOT TODO in the computed property chapter.
What is actually happening?
Described.

Is this issue going to be fixed in vue version 2.+ ？


Block explorer v1

PR following #858

multi chains
blocks/block interface
applications list

the lint wrongly check fails on machete because of wasm_bindgen_future which is required by #[wasm_bindgen] for async functions.

@maxtori If you search "machete", you should find examples to suppress an error in Cargo.toml

@maxtori If you search "machete", you should find examples to suppress an error in Cargo.toml

thanks, I fixed that


http redirect to non http causes exception

Summary.
If a http page redirects via 301 to a non-http location, eg a magnet link, requests raises exception and the redirect link is not available except in the error text
Expected Result
Would be better if it returned status_code=301 and content=redirect link
Actual Result
exception No connection adapters were found for 'magnet:?xt=urn:btih...

Hi @philborman, thanks for reporting this. This is actually a duplicate of #4362, which I think @kennethreitz's needs to take a look at. The request.next feature broke handling custom schemes, so until that's resolved, Requests 2.16+ isn't able to handle non-http style URI redirects.

Not quite, I haven't disabled redirects like #4362   I want the redirect to be followed providing its the same type (http redirects to http)  but if it's a different schema or an invalid schema return the status code and content so it can be handled by the calling app.
My use case:
Downloading a torrent or magnet
If the torrent (http) is moved to a new location (http), requests redirect will handle it
If the torrent redirects to a magnet link, don't throw an exception, return the 301 status and provide the new location in the response content so my app can decide what to do.

@philborman that's something that is easily implemented with a small redirect function when our default behaviour is disabled. That's the reason we added the allow_redirects functionality initially. Until that's fixed, I don't know if we can do a lot here.

Maybe I am getting it wrong then. I tried with allow_redirects set to False and got a 301 status_code but the contents was empty so no way of knowing where the redirect pointed to. I could only get that by allowing redirects to cause the exception  and then scanning the error text for the new location. Messy, but it works.  Thanls for your quick response.

@philborman you get the location of the redirect from the 'Location' header, not the body


func.ps1 is not digitally signed

The run command does not work because func.ps1 is not digitally signed.

This might be able to help you: https://stackoverflow.com/questions/9742775/why-is-my-locally-created-script-not-allowed-to-run-under-the-remotesigned-execu#:~:text=When you run a .,change the Execution Policy setting.
This doesn't seem to be a functions issue.


Docs for new command dvc check-ignore

Fixes #1628, Only a draft PR to explain how it works.

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.
Please choose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏

@jorgeorpinel @karajan1001 the PR https://github.com/iterative/dvc/pull/42826 got merged today. what is the status of this? ready to merge as well?

I can take this over if needed. @karajan1001 please let us know if you intend to follow up here, no problem either way.

@jorgeorpinel @shcheklein
I think it is ready, and after it being merged, I'd like to open a new PR for #4323

@karajan1001 looks like a great start! let's address a few comments here and there. Also, we need to not forget:

[ ] update sidebar.json to enable it on the website
[ ] update highlighter JS to enable syntax highlight
[ ] make sure that automatic linking works properly
[ ] add cross links User Guide <-> this section

I committed a bunch of my suggestions but there's still one or two questions pending from the old ones (plus Ivans comments) and the formatting needs fixing (sorry, may have been my bad) — we can just merge the Restyled PR though so that's not a huge deal.

I guess we have some tickets already.

Just #519


[Snyk] Fix for 4 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

requirements.txt

⚠ Warning
python3-openid 3.2.0 has requirement defusedxml<=0.4.1, but you have defusedxml 0.7.1.
python-jose 3.3.0 requires rsa, which is not installed.
paramiko 2.10.3 requires pynacl, which is not installed.
jsonschema 3.2.0 requires pyrsistent, which is not installed.
deprecation 2.1.0 requires packaging, which is not installed.

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

479/1000  Why? Has a fix available, CVSS 5.3
Denial of Service (DoS) SNYK-PYTHON-DJANGO-3039675
django:  3.2.15 -> 3.2.16
No
No Known Exploit

581/1000  Why? Recently disclosed, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-PYTHON-PILLOW-3113875
pillow:  9.0.1 -> 9.2.0
No
No Known Exploit

581/1000  Why? Recently disclosed, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-PYTHON-PILLOW-3113876
pillow:  9.0.1 -> 9.2.0
No
No Known Exploit

441/1000  Why? Recently disclosed, Has a fix available, CVSS 3.1
Regular Expression Denial of Service (ReDoS) SNYK-PYTHON-SETUPTOOLS-3113904
setuptools:  39.0.1 -> 65.5.1
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
🦉 Denial of Service (DoS)
🦉 Denial of Service (DoS)
🦉 More lessons are available in Snyk Learn

Codecov Report

Merging #312 (4867abf) into develop (186a0fc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #312   +/-   ##
========================================
  Coverage    93.19%   93.19%
========================================
  Files          122      122
  Lines         4497     4497
  Branches       408      408
========================================
  Hits          4191     4191
  Misses         222      222
  Partials        84       84

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more