Visualize hero.describe with plots

This new function in the visualization module allows users to easily visualize the describe function. We belive, that this will be often use, to display the key characteristics of the DataFrame. 🥉
This function simply calls the describe functions and then with plotly those plots will be generated and displayed in a new browser window. As it is a lot of code to display them, we belive, that it will be quite an enrichment to the library 🏑
Note: travis/setup changed because of #171 . This is branched straight from PR #168 which is why it has so many lines changed :takeout_box: .
This is a short colab demo of the new function 🤖

That's beautiful! 😍

What does it happen if you run visualize_describe on an empty DF? (we should test that behavior for all heroes functions ...)
(opinionable comment) What if we have all graphs in a single column? That's might be better for visualization on narrow displays

What does it happen if you run visualize_describe on an empty DF? (we should test that behavior for all heroes functions ...)

Currently we get an error but that's just because of the default arguments (see below). Agree we should test that behavior for all hero functions, probably in a separate PR in the future.

(opinionable comment) What if we have all graphs in a single column? That's might be better for visualization on narrow displays

We tried it out and think it looks good as-is on 13 inch screens (which is the standard "small" laptop size).
From your review

labels_col_name="topic" not sure it make sense to have as default value "topic". Moreover, there might be multiple non-text columns. ...

Yes, the default arguments really make no sense, we just used them for testing purposes and forgot to remove them :facepalm: :man_facepalming: :woman_facepalming:
Additionally, not sure what you mean / how we would integrate several text columns? We thought that there are two main scenarios:

User has text in a column -> he uses our function without the labels stuff, everything's great

User has text in a column and labels in a column (e.g. to train a classifier) -> he uses our function with the labels stuff, everything's great

Additionally just noticed that there isn't a docstring (totally forgot this). Will convert this to draft and address all concerns + add docstring. Will update here and post screenshots when it's done.

Now changed the function signature to be in line with hero.describe (which really makes sense as this is a visualization of hero.describe). Additionally, default arguments are changed.
We noticed that this function cannot handle empty input because of hero.tokenize cannot handle empty input. This is probably a low-priority bug as of course empty input does not make any sense whatsoever.

we just went through this PR again and it is ready to be reviewed / to be merged 🔢 🧶


dynamic data issue?

when by default there is no url set, browser console gives error "Please provide a valid youtube video URL or ID to render the iframe embed player. Read documentation here"  whats the solution for that
also if is provide some default url so that it is rendered, when i click on other urls to change the iframe video url, why does it not auto play? its callback function for onready not working...
url: songstream.oso.nyc
much is put in console in all callbacks... i can share code if you like
here my video player
`
<ng-youtube-embed
video ="player.videoURL"
videoid="songstreamPlayer"
autoplay="player.autoplay"
controls="true"
color="white"
disablekb="false"
showinfo="false"
width="75%"
height="150px"
loop="player.loop"
    enablejsapi="true"
    onready="playerReady"
    onstatechange="playerStateChanged"
    onapichange="playerApiChange"
>
</ng-youtube-embed>

`

Hey @muneeb-arif,
Thanks a lot for reporting this issue, there was a problem with the scope variable watch mechanism for the video parameter. The issue has been fixed, please update your library to the latest version i.e. 1.7.8

ok thanks.. quick question... how do i get player events? play / pause/ volume control  etc..???
I've tried to perform event on player object but it gives undefiend error:
mPlayer = ngYoutubeEmbedService.getPlayerById('songstreamPlayer');
mPlayer.setVolume(50);
can you show some example .
Thanks

Can you please share your code here.

@ArunMichaelDsouza here is code . kindly have a look and guide what i'm missing here. Thanks

You have to make sure that the videoId parameter set in the directive i.e. videoid="myPlayer" is matching the id being requested by the ngYoutubeEmbedService in this line - $scope.mPlayer = ngYoutubeEmbedService.getPlayerById('songstreamPlayer');.
So it should be - $scope.mPlayer = ngYoutubeEmbedService.getPlayerById('myPlayer');

It does not work for the dynamic video
Here is my html
<ng-youtube-embed ivloadpolicy="false" videoid="myVideo" ccloadpolicy="false" video="Player.videoUrl" showinfo="false" autoplay="false" rel="false" enablejsapi="true" onready="playerReady" modestbranding="true" onstatechange="playerStateChanged" disablekb="true" width="100%" color="green" style="position: absolute;top:10px;width: 100%;"> </ng-youtube-embed>
javascript:
`$scope.playerStateChanged = function(event) {
console.log(event); // Event data logged
};
$scope.playerReady = function(event) {
event.target.playVideo() // this play also does not work all the time
};
$scope.playDynamicVideo = function(videoUrl) {
$scope.Player.videoUrl = videoUrl;
var player = ngYoutubeEmbedService.getPlayerById('myVideo');
player.playVideo();//does not work
 <!-- i tried this also but does not work -->
 player.loadVideoByUrl(videoUrl);
 player.playVideo();//does not work

}`
I am using ng-youtube-embed v1.7.9

@ArunMichaelDsouza: DO you have any update on this bug, player seems to be not working with dynamic scope value for videoId?
Thanks

@rui7999 can you please tell me what exact issue are you facing, please provide a code snippet if possible.

Closing due to inactivity.


Not able to setup salesforce connection with CloudAppSecurity

Steps are not correct. follow the steps cannot successfully setup the connection.

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

ID: 88294d23-b573-bb18-d6f9-65a06614b0d5
Version Independent ID: 1a87274f-14b2-393c-f535-b571748817a2
Content: Connect Salesforce to Defender for Cloud Apps
Content Source: CloudAppSecurityDocs/connect-salesforce.md
Service: defender-for-cloud-apps
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thanks for your comment. We'll investigate and get back to you.
If you can provide more details about what didn't work, that will help us correct the documentation faster.

I found few issues:

The steps only ask us create profile but no mention to assign to any
users
No mention cannot use system administrator to do the linkage as one
permission missed which cannot be modified

Thanks,
James
On Mon, 24 Jan 2022 at 16:36, David Curwin @.***> wrote:

Thanks for your comment. We'll investigate and get back to you.
If you can provide more details about what didn't work, that will help us
correct the documentation faster.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/CloudAppSecurityDocs/issues/513#issuecomment-1019844713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPGHPYFAGTJRTNBIBDDBS3UXUFRNANCNFSM5MUFUQPQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you for your question, and we appreciate your patience.
The product team has informed me that the connector will be updated to reflect the accurate permissions. When this is completed the documentation will be updated.


refactor to working path.

Hi,
this should be fix the path issue:
https://github.com/jochasinga/RxGo/issues/7
best regards,
Arek

Coverage remained the same at 73.477% when pulling 1cdccce722afd9726cb961b03101fd8a150c232f on ArekCzarnik:master into e1b20f6e804fcca041a9d90f85a9d7441d9a161b on jochasinga:master.

@ArekCzarnik thank you for your contribution. However, could you get involve in the issue before making a PR? This is so more of us can arrive to a decision and your change will not go unaligned to the project's direction. I might request for some change once the solution is clear.

@jochasinga ok, will get involved more into the discussion.

@ArekCzarnik it's fine to keep it open for now. This may be a necessary fix to keep it consistent. However, can you:

Fork this into a feature branch from your side for this instead of using master
Resubmit the PR to this repo's dev branch instead of master

Then we can close this PR. Thank you.


Atom1.7.3 crashes every few minutes on Win10 x64

Prerequisites

[x] Can you reproduce the problem in safe mode?
[x] Are you running the latest version of Atom?
[x] Did you check the debugging guide?
[x] Did you check the FAQs on Discuss?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?

Description
Windows 10 x64, Atom v1.7.3 (installed with the Windows installer)
Atom is crashing every 3-5 Minutes or so without any error message. The dev console doesn't show any information either.
Happens when editing a local file, while typing.
Maybe this is related? #11590 talks about this happening while having lots of uncommited files. In my case just one is enough. Using atom in safe mode and editing a file that is not under version control works fine.
operation_log.txt
Steps to Reproduce

Use Atom v1.7.2 for a while on Windows 10 x64.
Editor crashes almost every hour when I'm regularly typing in the editor.

Expected behavior: Should not crash that often.
Actual behavior: Crashes frequently.
Versions
Atom    : 1.7.3
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1
apm  1.9.2
npm  2.13.3
node 0.10.40
python 2.7.3
git
visual studio
Win 10 x64
Intel i5-2500 @ 3.3 GHz
16 GB Ram

This is likely the same problem as https://github.com/atom/atom/issues/11590 as you summarized. We'll track it there.


The requested URL was not found on this server.

HEre is the url of my server : http://par-svr-app02:8084/git-pretty-stats/public/
Here is the list of the repository which is displayed on this page :
D:\repo\GitBlit @ master
37 commits
D:\repo\Vss2Git @ master
22 commits
When I click on the first one, I get the following page and error :
http://par-svr-app02:8084/git-pretty-stats/public/repository/D%3A\repo\GitBlit
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
par-svr-app02
02/13/14 18:35:35
Apache/2.2.21 (Win32) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
What do I need to do to fix this  ?
Thanks for the help

I know this is a very old issue, but I believe now I have added Windows support. Please see https://github.com/modess/git-pretty-stats/issues/31#issuecomment-87271721


Inventory and Nanos are saved in Database

Bank is implemented (required some changes in itemMoveHandler)
Inventory, Equipment, and Bank items are stored in the Database in a separate table
Nanos are stored in the Database in a separate table
Completed missions are saved in DB (as a BLOB)
Player data (containing Inventory, Nanos and Missions) is saved to db when connection is killed, and on periodic saves
(default every 4min, adjustable in settings)
Name check now checks if names follow a regex, and uses collate_nocase (implemented by Titan)

I need to ask. When someone updates the game, do I need to redownload the files, or will it update automatically?

I need to ask. When someone updates the game, do I need to redownload the files, or will it update automatically?
If you're playing on the default server, you only need to redownload when there's an update to the client. These should be fairly infrequent, the last client update we had re-enabled the login screen for example.

If you have any further questions, please join our discord - comments on pull requests are more for discussing and reviewing the code itself.

Merged via manual rebase.


Add support for AssignMessage

AssignMessage is a very useful policy in Apigee to change either the request or response message (headers, payload, URL parameters, etc..).
This issue is to track progress on adding AssignMessage support to apigee-templater.

Feature added to 2.0.0 release, docs still need to be updated.

Added in 2.1.0.


Provide strategies for authenticating with remote servers like Geoserver

Consider the case where CAS is used to authentication users.  What we want to be able to do in this case is have the user be able to authenticate with Mapfish Print and have Mapfish Print be able to act on behalf of the user.  Mapfish print needs to be able to print protected layers from Geoserver if (and only if) the user has access to the layers.  But of course the security of Geoserver must be maintained in that the users should not be able to print layers they do not have access to.
Thoughts and possible designs for this are discussed at:
https://github.com/mapfish/mapfish-print/wiki/CAS-Integration-Options

What's not possible actually with http://mapfish.github.io/mapfish-print-doc/#/processors#!forwardHeaders ?
Actually I solve all cases with that... witch cases don't work ?
For Access Protected Mapfish Print Resources to a role I don't know how the spring security works but we shouldn't forget the pyramid application.

In the case of CAS forwarding headers is not typically sufficient.  In some very carefully configured settings one might be able to work but typically not in the normal case.  I have not completed the linked page yet (I am working on it)  but it should give more clarification.
In addition to the specific problem with CAS forward headers can leak security information to external servers.  We should change the forward headers processor so that the information is only sent to specific servers so as to be able to control this leakage.

Thanks,

... can leak security information to external servers
good point effectively :-)


atom-beautify is installed on Windows only if Atom is run as administrator

I have opened an issue about this before, but it got closed as a duplicate (https://github.com/Glavin001/atom-beautify/issues/681). I have gone through the suggestions I could find, the .atom folder is owned by the current user, none of them worked.
I can only install the package if Atom is run as administrator, other plugins which use spawn-sync do not show this issue.
 Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\prc\\AppData\\Local\\atom\\app-1.6.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\prc\\AppData\\Local\\atom\\app-1.6.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\prc\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\prc\\.atom\\.apmrc" "install" "C:\\Users\\prc\\AppData\\Local\\Temp\\d-11637-5264-pxlkkl\\package.tgz" "--target=0.34.5" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>postinstall: `node postinstall`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node postinstall'.
npm ERR! This is most likely a problem with the spawn-sync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node postinstall
npm ERR! You can get their info via:
npm ERR!     npm owner ls spawn-sync
npm ERR! There is likely additional logging output above.

I recommend that you contact the Atom team to help you get Atom setup properly with node.
Here is their current available documentation for common errors for Windows: https://github.com/atom/atom/blob/6f1c1fd0e0242b096f4781698066788b26af2fa4/docs/build-instructions/windows.md#common-errors

Shouldn't installing node be unnecessary? I've used the official installer.

I do not use Windows for developer because of Windows specific problems like this, and so I am unable to help with this issue.
In fact, the cross-spawn package was added to fix another Windows bug with Node's spawn method, however its installation is appearing to cause more problems than it solves.
In the next few months I will be implementing new features and removing the spawn-sync package, since it is causing so many problems.

Shouldn't installing node be unnecessary?

Yeah, Node should be installed with Atom already. It appears that the node that is installed already is not being found. Hopefully the Atom and/or apm team would know why this happens on Windows.

I just published a patch in release v0.29.4 that makes cross-spawn dependency optional.
The cross-spawn package depends on spawn-sync and has been causing problems when installing Atom-Beautify for many users. By making this dependency optional, users will be able to easily install Atom-Beautify and, in the case that cross-spawn fails to install, will fallback to the builtin spawn method.

I've uninstalled the plugin and tried installing 0.29.7 (from the settings panel), but it fails and the fallback option does not seem to be used:
><EMAIL_ADDRESS>postinstall C:\Users\prc\AppData\Local\Temp\apm-install-dir-116327-1660-1myqrb3\node_modules\atom-beautify\node_modules\cross-spawn\node_modules\spawn-sync
> node postinstall

><EMAIL_ADDRESS>postinstall C:\Users\prc\AppData\Local\Temp\apm-install-dir-116327-1660-1myqrb3\node_modules\atom-beautify
> node script/build-options.js

npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">= 0.12.x"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">= 4.2.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>'node' is not recognized as an internal or external command,
operable program or batch file.
npm WARN optional dep failed, continuing<EMAIL_ADDRESS>npm WARN optional dep failed, continuing<EMAIL_ADDRESS>npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"2.13.3"})
'node' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\prc\\AppData\\Local\\atom\\app-1.7.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\prc\\AppData\\Local\\atom\\app-1.7.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\prc\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\prc\\.atom\\.apmrc" "install" "C:\\Users\\prc\\AppData\\Local\\Temp\\d-116327-1660-143ni4c\\package.tgz" "--target=0.36.8" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>postinstall: `node script/build-options.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node script/build-options.js'.
npm ERR! This is most likely a problem with the atom-beautify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node script/build-options.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls atom-beautify
npm ERR! There is likely additional logging output above.


Background transparent URGENT

Hi, I need to add background transparent or alpha to CanvasRender but I have the same issue.
init: function() {
      var assetsToLoad = ["assets/fonts/font.xml"];
      var loader = new PIXI.AssetLoader(assetsToLoad);
      loader.onComplete = this.onFontLoaded;
      loader.load();
      this.stage = new PIXI.Stage(0xffffff);
      this.renderer = new PIXI.CanvasRenderer(800, 200);
      //this.renderer = PIXI.autoDetectRenderer(800, 200, null, true); ----> Error
      this.scaledCanvas = document.createElement('canvas');
      this.scaledCtx = this.scaledCanvas.getContext('2d');
    },

When the canvas is updated o re-rendered the last render is not reset.
I hope that you can help me.
Regards

@iirelu Thanks, this option helped.


Background importer remains visible after finishing an import and says "connecting data..."

I think this is due to the use of the component on pecan. We shouldn't keep it on the imports.

I dragged a dataset from the dashboard, the file was imported and I was redirected to the map.

and in datasets?

Same correct behaviour.

ok, close then. I cannot replicate this neither


Issue with non-English path names

Version
2.4.1
Test Case
My repo at this specific SHA: https://github.com/rah-foundation/website/blob/a248549f5100949bf493d30b0402be59eb79ed33/src/server.tsx#L44
Issue
I noticed that if you don't decode the URL before passing it to match function it will not match non-english routes. The Server Side Rendering Guide should mention that.
Changing those line mentioned above to this, fixes the backend routing issue:
const location = decodeURIComponent(req.url);
match({routes, location}, (error, redirectLocation, renderProps) => { // ...

This is probably not limited to non-English languages and can be an issue for routes with special characters like space in it.

Actually, this will break the front-end side of it because in the front-end React-Router is expecting encoded URIs.
What I try was to remove this change and instead, encodeURIComponent my paths when I pass them to Route component:
// t('faq') returns a non-English string
<Route path={encodeURIComponent(t('faq'))} component={FAQ} />

This fixed the issue in the back-end and front-end but I have to encodeURI my links everywhere:
<Link to={encodeURIComponent(t('faq'))}>{t('faq')}</Link>

Doesn't it make sense for Route and Link components to encode the URIs automatically?

You have to handle encoding yourself. Consider a link to e.g. /foo/bar – the library has no way of knowing whether you mean /foo/bar, %2Ffoo%2Fbar, or something else.
You should not decode the URI before matching against it – the matcher will decode params accordingly before passing them to components; otherwise your routes should be specified with encoded paths.

@mohsen1 i had the same issue and it breaks with whitespace. Wondering if it is a useful solution to split path by / and then encode each part then join them back:
.split('/').map(encodeURIComponent).join('/')


Traffic Sign Bounding Box Labels

My goal with this software is to train a Multi-Modal object detection model using carla. One thing that I think would be convient about using carla is that I don't need to label my data since I can just run a script and have carla do it automatically. Getting bounding boxes is pretty easy since I'm following this tutorial but it says nothing about getting classification labels for the bounding boxes. If you use world.get_level_bbs it returns bounding box objects but I don't get why a label isn't included in the bounding box class. That would litearly make generating a full object detection data set so easy. I know you can do world.get_level_bbs(carla.CityObjectLabel.TrafficSigns) to get the bounding boxes for traffic signs but as far as I can see there is no way to distiguish what the actual traffic sign is. So, if there is a way to get traffic sign bounding boxes and their labels please let me know!
Thank you

Is there an update on this? I am wondering how to do the same thing.

Looking into how to make this modification until I hear back about this--looks like the relevant code is in Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/BoundingBoxCalculator.cpp.
Are there any implications to adding a new class variable to the FBoundingBox class (found here: `Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/BoundingBox.h')? I'm not very experienced with such large UE4 project code bases.


Add error support for custom validators

Currently, by rolling out our own validators using CustomTypeValidator interface, we cannot have a way to return a descriptive error for the validation that failed. Our only choice is to use the custom error message in the tag, but that one is really limited. Can the CustomTypeValidator interface be changed to return an error as well?

This is very important for complex validations that sometimes can't just have static error messages being returned from the struct. +1!

This is very important for complex validations that sometimes can't just have static error messages being returned from the struct. +1!

+1. Oh, really, I added duplicate feature request. I can do that.


Not clear syntax is exhaustive

Not clear syntax is exhaustive. For instance, "do" as a prefix and other statement prefixes are not in the "language" area.
(Item from a TODO list made by @JJ. I need this one needs a separate issue to discuss the problem because I do not fully understand it.)

Ping for this? @JJ can you add more information to this issue?

This is part of the discussion started with Raku/problem-solving#93.


Key transforms (e.g. camelCase to snake_case)

JSON API 1.1 recommends camelCase of keys.
https://jsonapi.org/recommendations/#naming
The fast_jsonapi allows set_key_transform with the following options: :camel / :camel_lower / :dash / :underscore, it would be nice if it would have an equivalent feature when parsing parameters.
As a workaround, I currently add .to_h.deep_transform_keys(&:underscore) every time I parse the parameters

That's a great suggestion! I'll try to work on that today.


Integration Test - Release - 2018/11/21 07:35:15

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest2 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Remove ZED Camera

Is your feature request related to a problem? Please describe.
ZED Camera isn't support in Gazebo and therefore doesn't make sense to keep. It has also caused lots of problem with installation for a lot of people and isn't used in the current sim.
Describe the solution you'd like
Nuke ZED (trademark)
Additional context

Forgot to create a separate branch or link commits, but ZED camera is removed.


Validate Gem dependencies before release

This PR adds a way to validate inter-repo dependencies before release. The most interesting description comes from one of the commits:

This commit creates a task that parses gemspecs for each gem in the
repo, and then validates that each opentelemetry dependency for every
gem can be satisfied by the versions that are in the repo. The intent is
to ensure that we aren't releasing gems that will break because of
dependency failures (overly pessimistic specifications, etc).
To do this, we slightly modify the existing tasks:

The foreach_gem method expects a block, but still changes into the
gem's directory before yielding the gem name to the block.
We add a new do_cmd method that conditionally runs the requested
shell command with or without a clean bundler env, as before.

I'm going to add a little more sanity checking here.


Fix docs around run

This PR fixes #128 and a small test that was warning. It mostly focuses on correcting the documentation around how the anonymous run function should be used within a step.
Contributor checklist

[X] Bug fixes include regression tests
[X] Documentation changes

Sounds good! Sorry still new to Elixir and it's documentation patterns. I'll update the PR

All set

I'm actually not sure my suggestion was conventional or not. Either way, its right now when it was wrong before, 🙇


the sign in commands with MFA - they prompt for credentials 5 times (for each connect-...)

the sign in commands with MFA - they prompt for credentials 5 times (for each connect-...)
Example : My powershell script pulls data from AzureAD and Msolservice
If it has connect-azuread & connect-msolservice, I am being prompt to key in my credentials twice and MFA authentication twice.
any way to reduce that to 1 time credential entry and 1 time MFA authentication ?

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

ID: 6adeef66-5e54-ba2f-37ac-c1898ef942c6
Version Independent ID: f8a6eda6-b300-dc76-4392-9aeb6c532822
Content: Connect to all Microsoft 365 services in a single PowerShell window - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/connect-to-all-microsoft-365-services-in-a-single-windows-powershell-window.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@ramponnuram Thank you for your feedback. As long as you have the credential cached in the variable ($credential) it prompts only once.
I tested it with the below script.
$acctName="<UPN of the account, such as<EMAIL_ADDRESS>$orgName="<for example, litwareinc for litwareinc.onmicrosoft.com>"
#Azure Active Directory
Connect-MsolService
#SharePoint Online
Connect-SPOService -Url https://$orgName-admin.sharepoint.com
#Exchange Online
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName $acctName -ShowProgress $true
#Security & Compliance Center
Connect-IPPSSession -UserPrincipalName $acctName
#Teams and Skype for Business Online
Import-Module MicrosoftTeams
Connect-MicrosoftTeams
However, I understand you are trying to connect to AAD twice in the same script Connect-AzureAD and Connect-MsolService. I'd recommend you contact support and get help from them or if this is a bug, they can escalate and get this fixed for you.
Hope this helps!
Thanks
Sri

@msbemba Thank you for getting back.
I believe the $Credential process works only if you don't have MFA authentication. In our case we need MFA authentication. Both Connect-MSolservice and Connect-AzureAD and few others don't use -credential option when MFA is required.

@ramponnuram Thank you for the response. With MFA it is supposed to prompt you every time there is a connection to a different module. Sorry, I missed the MFA part of your comment. So this is by design and it is working as expected. If you think it will be a good idea to implement a single block connection by entering MFA one time, you can propose it on our Main feedback portal - https://feedbackportal.microsoft.com/. One of our Dev or Product team members will contact you and provide information.
Hope this helps!
Thanks
Sri


Update to latest meteor release

Step by step instructions on how to upgrade 4Minitz to Meteor 1.8.1 without backup/restore of the whole database:

Start 4minitz

Backup your database

Start mongodb shell

Set database compatibility version to 3.4:
db.adminCommand( { setFeatureCompatibilityVersion: "3.4" } )

exit shell, shut down 4minitz

update to <IP_ADDRESS>:
meteor update --release <IP_ADDRESS>

it's important to do this directly. Updating to 1.7 and then do a meteor update --patch did not work for me.

start mongodb shell, set database compatibility to 3.6:
db.adminCommand( { setFeatureCompatibilityVersion: "3.6" } )

close shell, shut down 4minitz

update to latest version:
meteor update

Alternative would be to backup the database, update 4minitz, reset the database and restore everything from backup.

To solve the update issues with MongoDB that came up with the 1.7 release of Meteor (that shipped with MongoDB 3.6 where the feature flag was introduced) we will no longer be offering a Docker image that bundles both 4Minitz and MongoDB into a single image. We will also discourage using a meteor start deployment in production. Instead we provide a Docker image that only ships with 4Minitz and we try to provide a precompiled package for the most common deployment environments (see #526).
A first step in this direction is the refactoring of the Docker images in #522.

Some files in the docs may need updating when we finally update: See #525


default models?

Hi, we currently use CoolProp to get molar densities for noble gases and some molecules (not mixtures). E.g. helium, argon, hydrogen, nitrogen etc. We need a reasonable span of pressure and temperature, but nothing more complicated. We are considering using Clapeyron instead of CoolProp, but it is very hard for an ignorant user like me to understand which model to use for each fluid. CoolProp (and REFPROP previously) just had a default model (or perhaps only one, I never checked). Do you have a table of which model is best for each basic fluid?

Hi John,
There are no default models in Clapeyron perse. We provide generalised equations of state which, in theory, can be used for any fluid. That being said, depending on the conditions, I'd imagine something like Peng-Robinson would be sufficient?
If you're dealing with cryogenics, then perhaps you would need something more-advanced such as QCPR or SAFT-VRQ Mie (which are more-computational expensive). I believe most of the species you've listed are available in those equations.
To use Clapeyron to obtain the molar densities, all you would need to do is:
julia> using Clapeyron

julia> model = PR(["helium"])
PR{BasicIdeal, PRAlpha, NoTranslation, vdW1fRule} with 1 component:
 "helium"
Contains parameters: a, b, Tc, Pc, Mw

julia> 1/volume(model,1e5,298.15)
40.33399603269461

The above can be done for any of the equations of state I've mentioned.
Just in case I've given you the wrong advice, what are the conditions you are looking at and for what application?

As someone who has developed CoolProp and REFPROP, you definitely want to be using the multiparameter EOS, at the very least to check these other EOS against them. The multiparameter EOS are the gold standard, even if other models might yield reasonable values for some properties, sometimes. Clapeyron implements the multiparameter EOS for a few species (water, propane, etc.).  Clapeyron could be extended to add these EOS, as I did in teqp (https://github.com/usnistgov/teqp), which is spiritually very similar to Clapeyron.

Currently I am struggling with the mass density of liquid hydrogen. I spent some time to find by trial and error a method that seems to work, I have the impression, that Clapeyron.QCPR(["hydrogen"]) works, but I would like to know, if there is something better suited inside Clapeyron. Clapeyron.QCPR(["hydrogen"]) results in a discrepancy to CoolProp. It could be that Claperion is closer to reality or not.
Unfortunately, Clapeyron.SAFTVRQMie(["hydrogen"] fails:
ERROR: MethodError: no method matching eps(::Int64)
Closest candidates are:
  eps() at float.jl:764
  eps(::FixedPointNumbers.FixedPoint) at C:\Users\stefanpofahl\.julia\packages\FixedPointNumbers\HAGk2\src\FixedPointNumbers.jl:222
  eps(::T) where T<:Dates.TimeType at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Dates\src\types.jl:417

For hydrogen, QCPR should be better empirically than VRQ-Mie. after all, the QCPR paper takes the corrected quantum potentials present in VRQ Mie and adapt those to match the critical point (Tc(hydrogen) = 33.19 K). from the QCPR Paper:

Recently, the statistical associating fluid theory of quantum-corrected Mie potentials (SAFT-VRQ Mie) [17,18] was presented. This EoS models quantum effects by adding the so-called Feynman–Hibbs-corrections to a Mie potential, where the Mie potential represents the classical behavior of the fluid [19]. Excellent agreement with experiments was obtained for the VLE of helium–neon, except in the critical region due to the incomplete development of thermodynamic perturbation theory for mixtures [20].

Unfortunately, Clapeyron.SAFTVRQMie(["hydrogen"] fails:

That is #131. it is fixed on master (and to be released probably today).

Thank you so much for your great work!!!
Now both packages calculate are now similar/equal results.  :-)


Syn 0.10 + let rust ignore attributes

Thanks! I haven't had much time recently to work on that, and had only made a quick fix to get it work on the latest nightly.


Does not work with "request-progress" module.

Does not work with "request-progress" (and "request") modules.

Never mind, I used the event syntax without passing it to promisify and it works like a charm:
var req = request.get(opts).on('response', (response, body) => {

}


Validate intra cluster firewall configuration

This PR validates if the firewall configuration in the cluster allows
UDP/4800 traffic when using kubeproxy-iptables driver. Validation is
done by spawning a sniffer pod on the Gateway node and a client pod on
one of the nonGateway nodes. The clientPod tries to send some tcp traffic
to a remoteCluster while tcpdump is executed in the sniffer Pod.
Finally, when both the Pods finish their execution, the Pod output is
compared with expected values and appropriate message is displayed to
the user.
Fixes issue: https://github.com/submariner-io/submariner-operator/issues/1146
Signed-Off-by: Sridhar Gaddam<EMAIL_ADDRESS>

Need some reviews :)


merge MONDO_0011326 'citrullinemia, type II, adult-onset' with MONDO_0016603 'citrullinemia type II'

consider merge MONDO_0011326 'citrullinemia, type II, adult-onset' with parent class, MONDO_0016603 'citrullinemia type II'

What is the status of this merge? The OrphaNet cross-ref on MONDO:0016603 points back to the same concepts on MONDO:0011326 "citrullinemia, type II, adult onset" so it would seem most sources agree these are equivalent concepts.

@ahamosh do you have any objections to merging this with the parent term 'citrullinemia type II'? Orphanet has 'citrullinemia type II adult onset' as synonyms. Or do you think we need a distinct class?
Thanks!

They are different manifestations, but the same deficiency.  Some with adult manifestations had some manifestations in the neonatal period.  Let me talk with Joanna and the team see what they say.

Thanks @ahamosh!

@ahamosh gentle reminder to follow up with Joanna, thank you!

Hi Nicole, I did ask and then forgot to post here.  This is what Joanna said: Citrullinemia type II - I think the adult onset is significantly different from the neonatal onset.  The adults have sudden onset disease.  Do internal medicine docs know about this?  It is interesting that some people don't manifest disease until much later in life.
Some states (and countries) now screen for citrulline in the newborn period, this will detect the neonatal and childhood onset.  These kids will still be at risk for adult onset (range is 11-70 years). Making sure that people can find this as separate phenotype may be helpful to facilitate diagnosis.  They are the same underlying biochemical defect.  I think that we (OMIM) will keep these separate entries.

Thank you @ahamosh! :)

@kanems as OMIM will keep these as separate concepts, Mondo will too.


Can we have LTS releases of Polyglot Notebooks?

At work, we have managed .NET and VSCode artifact access.  For some period now, we haven't been able to run Polyglot Notebooks at all because work only allows the LTS releases of .NET, so when Polyglot Notebooks went from requiring .NET 6 to requiring .NET 7, it stopped working for us.  Now that we have .NET 8 it is working for us again, but it will stop working once more when .NET 9 is eventually released.  We don't have fine-grained control of the artifact access, we just takes the latest available versions (subject to .NET being LTS-only).
Would it be possible to have an LTS version of Polyglot Notebooks that only ever uses LTS versions of .NET in its dependencies?  For us, having its features frozen in time for a while would be far better than having it stop working.  Thanks.

There's considerable extra complexity and work in supporting multiple versions. This isn't to say it's something we won't do, but it's likely not something we can prioritize before the .NET Interactive API itself reaches a stable 1.0.
As a workaround, you can install older versions of Polyglot Notebooks that use previous .NET versions and turn off automatic updates in VS Code.


Issues With Dynamic Hierarchical Form Template

Please find below issues for Dynamic Hierarchical Form Template.

Once we delete option in Check box combo, it is not getting populated again in the auto complete
Property message is not displaying on the property.

Step to reproduce for Issue 1:

We have imported ConstellationUIGallery:01-01 for using Dynamic Hierarchical Form Template
Created a view using Dynamic Hierarchical Form Template
Configured all details
Once we delete option in Check box combo, it is not getting populated again in the auto complete

Step to reproduce for Issue 2:

Setting error message on some property in the tab, message is not getting populated on the proper

Dynamic Hierarchical Form Template Issue.docx

several questions
1 - Did you try with the demo application provided on Github and the example shipped in this application
2 - Are you running on 23.1?
3 - Why do you have the same field 'role' exposed twice on the screenshot - the selection field should only present once on the UI otherwise it will conflict and map to the same property in the client store
4 - Is there any network error or javascript error in the console on delete?
5- If you expand the dropdown of role, do you see all the available options? do you see the list of roles coming back correctly from the dx api response (see screenshot)

For issue #2 - this is currently a known limitation - the UI is not rendered when there is a validation error to show the field validation error - I will try to enhance this component to add support for this functionality

Hi,
With z-index 6999 it is not showing up, now we  have updated that to 7000 then it is showing. Please find attached screen shot for reference.

I cannot reproduce this issue on 23.1 with a regular work portal , a z-index of 1 should work fine too - are you using web-embed?
for issue #2 - this is a known limitation and will see if the implementation can be enhanced

Hi, We are using it in Create View Modal of a case Type.

Hi,
There is another issue with Dynamic Hierarchical Form Template, where even if we make selection field as required always, component is not showing asterisk symbol besides to that field. Please find below screen shots for reference.

https://github.com/pegasystems/constellation-ui-gallery/pull/65 will fix 2 of the reported issues (required missing on the product combobox + issue with combobox z-index in create modal)
To fully validate that the products are required and you need at least one product, you need a validate activity on the post-processing of the flow action to validate that at least one product is selected
The other request which is to perform field validation on the embedded tab content - this is not possible in 23.1 - There might be a way to achieve this in 24.1, but this will require extra effort.
closing this issue since all issues have been answered-  please open a new issue for reporting other issues - Also this project is an open source project and if you find bugs or issues, you are welcome to contribute this project and provide the fix.


Upgrade mdbook to 0.4.10

Motivation

mdbook builds our zebra.zfnd.org site, on merge to #main and does not get auto-updated like other dependencies.
Solution

Do cargo install mdbook fresh per docs.yml run. The current latest mdbook version is 0.4.10.
Review

Anyone can review
Reviewer Checklist

[ ] Tests for Expected Behaviour

This looks like a nice cleanup.
How will we know if it works?

Triggered a manual run of the Docs workflow from this branch to check: https://github.com/ZcashFoundation/zebra/actions/runs/936699495

This looks like a nice cleanup.
How will we know if it works?

Triggered a manual run of the Docs workflow from this branch to check: https://github.com/ZcashFoundation/zebra/actions/runs/936699495

This passed and I looked at the resulting deployment, looks good


add callback to pubsub.unsubscribe and test (#300)

As per the issue I opened: https://github.com/libp2p/js-libp2p/issues/300
Upon pubsub.unsubscribe, the node was successfully unsubscribing, however the callback was never being called, so there was no explicit way to confirm success.
I have changed unsubscribe as to call the callback, so it now complies with the interface-ipfs-core spec. I have also added a test.
Let me know if any changes are needed, thanks!

Not sure how to fix the remaining failing tests, sorry.

Sorry for the delay, I've been away on holiday but am back now. The test done logic is still not happening correctly. Done is being called and is passed as a callback to waterfall, this isn't correct. The timeout you were hitting is probably because things aren't firing in the right order, or are being triggered early. I can take a deeper look at what the issue is later today.

@jacobheun No worries! Sounds good, thanks. Let me know what issues you find.

There were some errors in the test, primarily some of the function arguments and .mark() not being added for chai-checkmark. The delay after the subscribe is also important, otherwise publish will likely be called before the peer is aware of the subscriber.
I think it was a bit hard to follow so I made some changes along with the fixes that hopefully make things a bit easier to read.
    it('start two nodes and send one message, then unsubscribe', (done) => {
      // Check the final series error, and the publish handler
      expect(2).checks(done)

      let nodes
      const data = Buffer.from('test')
      const handler = (msg) => {
        // verify the data is correct and mark the expect
        expect(msg.data).to.eql(data).mark()
      }

      series([
        // Start the nodes
        (cb) => startTwo((err, _nodes) => {
          nodes = _nodes
          cb(err)
        }),
        // subscribe on the first
        (cb) => nodes[0].pubsub.subscribe('pubsub', handler, cb),
        // Wait a moment before publishing
        (cb) => setTimeout(cb, 500),
        // publish on the second
        (cb) => nodes[1].pubsub.publish('pubsub', data, cb),
        // unsubscribe on the first
        (cb) => nodes[0].pubsub.unsubscribe('pubsub', handler, cb),
        // Stop both nodes
        (cb) => stopTwo(nodes, cb)
      ], (err) => {
        // Verify there was no error, and mark the expect
        expect(err).to.not.exist().mark()
      })
    })

If that looks good and makes sense to you can you push the update?

@jacobheun That's a lot easier to follow, I think it makes sense.  I'll push the changes now

I'm going to look into the windows ci failure. It's possible it's just flakey, but it needs to get fixed either way.

okay cool, let me know if I need to make any changes.

@noot thank you for the PR! I've squashed and merged this to master via 679d446daa0b43c5a1d77c8f300b34c32c678022 to fix the code and commitlint.


Find Peak Element

A peak element is an element that is strictly greater than its neighbors. Given an integer array, find a peak element and return its index.

Implement Binary Search Algorithm to find out the peak elements in a sorted array with time complexity of O(nlogn) and space Complexity of O(1)

Implement Binary Search Algorithm to find out the peak elements in a sorted array with time complexity of O(nlogn) and space Complexity of O(1).So I would like to contribute in this issue.

@Vishrut99 Sure, it's already assigned to you. Please go ahead!

resolved by @Vishrut99


🐞 Terminal doesn't honor escape key functions

Description
Unable to use VI editor commands from the terminal window.
To Reproduce

Open a folder using CodeEdit app.
Open the Terminal window pane.
Modify the contents of the file using the vi command.
Try saving the modified file. Using ESC + :wq

Expected Behavior
Escape should allow to get into vi command mode.
Version Information
CodeEdit: 0.0.3-alpha.30
macOS: 13.2.1
Additional Context
No response
Screenshots
No response

Not reproducible on my machine… Same OS and CodeEdit version.
Which shell are you using? Bash or ZSH?
https://user-images.githubusercontent.com/9460130/227051330-04093c65-ff33-4aeb-b0a4-0db9cc83e876.mov

@avula-sudheer Yeah could you please provide a screen recording documenting this behavior?


Spark App cannot be submitted on yarn cluster

I created a spark app job and launched it but found it cannot run on yarn cluster properly.
I created a job using the command job create --name spark1test --definition "sparkapp --appJar=/root/datamodel.jar --mainClass=com.dinghcheng.main.SparkStream --master=yarn-client --name=sparkapp1 --dateFormat=yyyy-MM-dd --makeUnique=true" --deploy
I searched some solutions, all said it is problem related to system environment configuration of HADOOP_CONF_DIR or YARN_CONF_DIR. But I have set it properly, the job still cannot be submitted to yarn.
I guess there may be some problem with the code to load system environment properties? How should I do to submit a spark app on yarn cluster?
Logs below,
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties 16/05/19 11:35:54 INFO SparkContext: Running Spark version 1.5.0-cdh5.5.2 16/05/19 11:35:54 INFO SecurityManager: Changing view acls to: root 16/05/19 11:35:54 INFO SecurityManager: Changing modify acls to: root 16/05/19 11:35:54 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(root); users with modify permissions: Set(root) 16/05/19 11:35:55 INFO Slf4jLogger: Slf4jLogger started 16/05/19 11:35:55 INFO Remoting: Starting remoting 16/05/19 11:35:55 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkDriver@<IP_ADDRESS>:44192] 16/05/19 11:35:55 INFO Remoting: Remoting now listens on addresses: [akka.tcp://sparkDriver@<IP_ADDRESS>:44192] 16/05/19 11:35:55 INFO Utils: Successfully started service 'sparkDriver' on port 44192. 16/05/19 11:35:55 INFO SparkEnv: Registering MapOutputTracker 16/05/19 11:35:55 INFO SparkEnv: Registering BlockManagerMaster 16/05/19 11:35:55 INFO DiskBlockManager: Created local directory at /tmp/blockmgr-5b9493a8-9d67-49c0-a3e9-4db045226f56 16/05/19 11:35:55 INFO MemoryStore: MemoryStore started with capacity 905.3 MB 16/05/19 11:35:55 INFO HttpFileServer: HTTP File server directory is /tmp/spark-df9dcee8-2f0c-4247-98a6-8970df947f87/httpd-300d6e4b-a249-4d58-a6db-a695321b3eff 16/05/19 11:35:55 INFO HttpServer: Starting HTTP Server 16/05/19 11:35:55 INFO Utils: Successfully started service 'HTTP file server' on port 43835. 16/05/19 11:35:55 INFO SparkEnv: Registering OutputCommitCoordinator 16/05/19 11:35:56 INFO Utils: Successfully started service 'SparkUI' on port 4040. 16/05/19 11:35:56 INFO SparkUI: Started SparkUI at http://<IP_ADDRESS>:4040 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/jline-2.11.jar at http://<IP_ADDRESS>:43835/jars/jline-2.11.jar with timestamp<PHONE_NUMBER>264 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/grizzly-framework-2.1.2.jar at http://<IP_ADDRESS>:43835/jars/grizzly-framework-2.1.2.jar with timestamp<PHONE_NUMBER>266 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/avro-1.7.4.jar at http://<IP_ADDRESS>:43835/jars/avro-1.7.4.jar with timestamp<PHONE_NUMBER>267 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/netty-3.8.0.Final.jar at http://<IP_ADDRESS>:43835/jars/netty-3.8.0.Final.jar with timestamp<PHONE_NUMBER>269 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/commons-math-2.1.jar at http://<IP_ADDRESS>:43835/jars/commons-math-2.1.jar with timestamp<PHONE_NUMBER>271 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/grizzly-http-server-2.1.2.jar at http://<IP_ADDRESS>:43835/jars/grizzly-http-server-2.1.2.jar with timestamp<PHONE_NUMBER>272 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/javax.servlet-api-3.1.0.jar at http://<IP_ADDRESS>:43835/jars/javax.servlet-api-3.1.0.jar with timestamp<PHONE_NUMBER>273 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/minlog-1.2.jar at http://<IP_ADDRESS>:43835/jars/minlog-1.2.jar with timestamp<PHONE_NUMBER>273 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/jersey-test-framework-core-1.9.jar at http://<IP_ADDRESS>:43835/jars/jersey-test-framework-core-1.9.jar with timestamp<PHONE_NUMBER>273 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/junit-4.12.jar at http://<IP_ADDRESS>:43835/jars/junit-4.12.jar with timestamp<PHONE_NUMBER>274 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/hamcrest-core-1.3.jar at http://<IP_ADDRESS>:43835/jars/hamcrest-core-1.3.jar with timestamp<PHONE_NUMBER>274 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/management-api-3.0.0-b012.jar at http://<IP_ADDRESS>:43835/jars/management-api-3.0.0-b012.jar with timestamp<PHONE_NUMBER>275 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/stax-api-1.0.1.jar at http://<IP_ADDRESS>:43835/jars/stax-api-1.0.1.jar with timestamp<PHONE_NUMBER>275 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/grizzly-http-servlet-2.1.2.jar at http://<IP_ADDRESS>:43835/jars/grizzly-http-servlet-2.1.2.jar with timestamp<PHONE_NUMBER>276 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/grizzly-http-2.1.2.jar at http://<IP_ADDRESS>:43835/jars/grizzly-http-2.1.2.jar with timestamp<PHONE_NUMBER>276 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/jersey-grizzly2-1.9.jar at http://<IP_ADDRESS>:43835/jars/jersey-grizzly2-1.9.jar with timestamp<PHONE_NUMBER>277 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/javax.servlet-3.1.jar at http://<IP_ADDRESS>:43835/jars/javax.servlet-3.1.jar with timestamp<PHONE_NUMBER>277 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/spring-xd-extension-spark-1.3.1.RELEASE.jar at http://<IP_ADDRESS>:43835/jars/spring-xd-extension-spark-1.3.1.RELEASE.jar with timestamp<PHONE_NUMBER>278 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/gmbal-api-only-3.0.0-b023.jar at http://<IP_ADDRESS>:43835/jars/gmbal-api-only-3.0.0-b023.jar with timestamp<PHONE_NUMBER>278 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/kryo-2.21.jar at http://<IP_ADDRESS>:43835/jars/kryo-2.21.jar with timestamp<PHONE_NUMBER>279 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/asm-3.1.jar at http://<IP_ADDRESS>:43835/jars/asm-3.1.jar with timestamp<PHONE_NUMBER>280 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/jersey-test-framework-grizzly2-1.9.jar at http://<IP_ADDRESS>:43835/jars/jersey-test-framework-grizzly2-1.9.jar with timestamp<PHONE_NUMBER>280 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/grizzly-rcm-2.1.2.jar at http://<IP_ADDRESS>:43835/jars/grizzly-rcm-2.1.2.jar with timestamp<PHONE_NUMBER>281 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/reflectasm-1.07-shaded.jar at http://<IP_ADDRESS>:43835/jars/reflectasm-1.07-shaded.jar with timestamp<PHONE_NUMBER>281 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/spring-xd-1.2.1.RELEASE/xd/modules/job/sparkapp/lib/slf4j-log4j12-1.7.12.jar at http://<IP_ADDRESS>:43835/jars/slf4j-log4j12-1.7.12.jar with timestamp<PHONE_NUMBER>281 16/05/19 11:35:56 INFO SparkContext: Added JAR file:/root/datamodel.jar at http://<IP_ADDRESS>:43835/jars/datamodel.jar with timestamp<PHONE_NUMBER>283 16/05/19 11:35:56 WARN MetricsSystem: Using default name DAGScheduler for source because spark.app.id is not set. 16/05/19 11:35:56 INFO RMProxy: Connecting to ResourceManager at /<IP_ADDRESS>:8032 16/05/19 11:35:57 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:35:58 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:35:59 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:00 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:01 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:02 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:03 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:04 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:05 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:06 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:37 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:38 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:39 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:40 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:41 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:42 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:43 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:44 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:45 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:36:46 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:17 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:18 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:19 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:20 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:21 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:22 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:23 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:24 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:25 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:26 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:57 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:58 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:37:59 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:00 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:01 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:02 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:03 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:04 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:05 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:06 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:37 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:38 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:39 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:40 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:41 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:42 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:43 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:44 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:45 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:46 INFO Client: Retrying connect to server: <IP_ADDRESS>/<IP_ADDRESS>:8032. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) 16/05/19 11:38:55 INFO DiskBlockManager: Shutdown hook called 16/05/19 11:38:55 INFO ShutdownHookManager: Shutdown hook called 16/05/19 11:38:55 INFO ShutdownHookManager: Deleting directory /tmp/spark-df9dcee8-2f0c-4247-98a6-8970df947f87/httpd-300d6e4b-a249-4d58-a6db-a695321b3eff 16/05/19 11:38:55 INFO ShutdownHookManager: Deleting directory /tmp/spark-df9dcee8-2f0c-4247-98a6-8970df947f87

I have the spring xd running on singlenode mode in a computer, which is able to connect to the yarn cluster. I submitted the spark app on the computer.

I found there is problems in loading environment values SPARK_CONF_DIR or HADOOP_CONF_DIR in classpath for cloudera installed cluster.
When I hard code the SparkTasklet.java by adding those values, then the app works fine.
		classPathBuilder.append(separator); 		classPathBuilder.append("/etc/hadoop/conf.cloudera.yarn");
Also I am using spark 1.5.0, and there is problems when loading spark related jars when submitting jobs.  I have to modify the classpath without loading spark-assembly-*.jar, or it will came out FileSystem not implemented errors.


dotnet restore does not work on Linux when installed as global tool

Description
Paket version:  5.219.6
Last Paket version without this issue: 5.219.5
dotnet restore fails on Linux with the following message when paket is installed using dotnet tool install -g paket
The issue seems to be the following line in Paket.Restore.targets:
<PaketCommand Condition=" '$(PaketCommand)' == '' AND '$(_PaketExeExtension)' == '' ">dotnet "$(PaketExePath)"</PaketCommand>

Repro steps
Please provide the steps required to reproduce the problem

Install paket: dotnet tool install -g paket
Run paket install.
Run dotnet restore.

GitHub Repository with Travis CI setup: https://github.com/bash/paket-issue-3671
Expected behavior
No error.
Actual behavior
No executable found matching command "dotnet-paket"
/home/travis/build/bash/paket-bug/.paket/Paket.Restore.targets(139,5): error MSB3073: The command "dotnet "paket" restore" exited with code 1. [/home/travis/build/bash/paket-issue-3671/PaketBug/PaketBug.csproj]
The command "dotnet restore" exited with 1.

Known workarounds
Installing an older version of paket:
dotnet tool install -g paket --version 5.219.5

related: https://github.com/fsprojects/Paket/pull/3668
@atlemann do you see a fix to support both?

maybe something about order of the lines?

Ops, hmmm... Not sure. I'll have to investigate.

would appreciate any help!

Not near a computer, but does dotnet tool run paket invoke the global tool? It works for local. But that command might only be available on 3.0 SDK

Doesn't seem to work:
~> dotnet --version
3.0.100
~> dotnet tool run paket
Cannot find a tool in the manifest file that has a command named 'paket'.

Just got hit by this too (on macOS).  Problem is that the new condition (checking for empty extension) also applies to using paket xxx.
Here's a fix.  Add this to Paket.Restore.targets (make sure it's not in a property group, so just inside the Project element:
<Target Name="LocalPaketToolCheck" BeforeTargets="Restore">
  <Exec Command="dotnet paket --version" >
    <Output TaskParameter="ExitCode" PropertyName="PaketLocalToolExitCode"/>
  </Exec>
</Target>

That will run dotnet paket --version and assign the exit code to a value called PaketLocalToolExitCode.
Then change the condition for PaketCommand for dotnet paket to this:
    <PaketCommand Condition=" '$(PaketCommand)' == '' AND '$(_PaketExeExtension)' == '' AND '$(PaketLocalToolExitCode)' == 0 ">dotnet "$(PaketExePath)"</PaketCommand>

Maybe some people can give this a try.  Here's how:

Navigate to your repo.
Run export PAKET_SKIP_RESTORE_TARGETS=true.  This will prevent Paket from re-extracting the targets file it came with.
Make the changes I specified above.
Run dotnet restore on your solution file or project file.

I'll try this now

Please semd PR if it works. Thanks
Atle Rudshaug<EMAIL_ADDRESS>schrieb am Fr., 27. Sep. 2019,
21:53:

I'll try this now
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3671?email_source=notifications&email_token=AAAOANGZFXUWFGWAVU3I7BLQLZQELA5CNFSM4I3GZV7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7Z52LI#issuecomment-536075565,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAOANHU466I7DGVFLUZKYDQLZQELANCNFSM4I3GZV7A
.

My MSBuild-fu is not great and I'm struggling to see how it works. I try to print messages inside the task, but they don't show up.

I can actually leave out the Target and just add that last condition and it "works", since it seems to ignore the line and local tool is broken again.

So if I add these two at the top of Paket.Restore.targets I only see --- Before build --- message.
  <Target Name="Msg1" BeforeTargets="Restore">
    <Message Text="--- Before restore ---" Importance="high"/>
  </Target>

  <Target Name="Msg2" BeforeTargets="Build">
    <Message Text="--- Before build ---" Importance="high"/>
  </Target>

https://github.com/NuGet/Home/issues/4781

Oops yeah I guess it's actually CollectPackageReferences.

Both of these worked separately: <Target Name="Msg1" BeforeTargets="ResolvePackageAssets;CollectPackageReferences">

But now it blows up with this error:
error MSB3073: The command "dotnet paket --version" exited with code 1

<Exec Command="dotnet paket --version" ContinueOnError="True"> fixes that

but it ends up being very verbose and spitting out a bunch of warnings, which is not great.

Add this to the Exec task:
    <Exec Command="dotnet paket --version" StandardOutputImportance="low" StandardErrorImportance="low" >

That will suppress the messages, unless someone has some kind of MSBuild debug setting set.

That removed the output from the Exec command, but I still see lots of these in the output:
.... .paket/Paket.Restore.targets(6,5): warning MSB3073: The command "dotnet paket --version" exited with code 1. ....
    10 Warning(s)
    0 Error(s)

Hmmm....It's getting late and I think this solution spits out too much warnings. Not sure what the alternative should be. Maybe search for a dotnet-tools.json file somehow, then use ReadLinesFromFile and FindInList to see if there is a "paket" item in any of them?

@atlemann I'm not getting any warnings.  Maybe we can hop on a Google Hangout or something to figure out why you're seeing the messages, or how you're workflow is differing from mine?
If you're on the FSSF Slack, my username is Nelkins.

Should I revert for now?

Yes, maybe. I don't think this fix works. It seems the target is invoked after the paketcommand has already been resolved, so it doesn't work for local tool. But it was getting a bit late, so I might have missed something.
Maybe another fix could be to look for that tools manifest file and check if paket is in there?

Oh that sounds promising. I think I will wait for that.
Atle Rudshaug<EMAIL_ADDRESS>schrieb am Sa., 28. Sep. 2019,
08:32:

Yes, maybe. I don't think this fix works. It seems the target is invoked
after the paketcommand has already been resolved, so it doesn't work for
local tool. But it was getting a bit late, so I might have missed something.
Maybe another fix could be to look for that tools manifest file and check
if paket is in there?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3671?email_source=notifications&email_token=AAAOANBAF4CAJJ2HLLXUALDQL327LA5CNFSM4I3GZV7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72SF6A#issuecomment-536158968,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAOANBN6YG7TNGEEBWFYXDQL327LANCNFSM4I3GZV7A
.

But I'd rather support local tool that global tool, since you can pin a paket version in your repo and bootstrap with 'dotnet tool restore'

Ok, I can try that instead tonight.

The golbal tool is advertised in many places. We should still support it

@atlemann Okay you're right I prematurely declared victory before.  I think I've actually got it this time, although it's kind of horrible (but let's be honest, anything having to do with MSBuild is horrible).
Add this target at the top:
  <Target Name="SetPaketCommand" >
    <!-- Call 'dotnet paket' and see if it returns without an error. Mute all the output. -->
    <Exec Command="dotnet paket --version" IgnoreExitCode="true" StandardOutputImportance="low" StandardErrorImportance="low" >
      <Output TaskParameter="ExitCode" PropertyName="LocalPaketToolExitCode" />
    </Exec>

    <!-- This is just a debug statement. -->
    <Message Importance="high" Text="$(PaketCommand) - paket command should be empty | $(LocalPaketToolExitCode) - code" />

    <!-- Then we go through our normal steps of setting the Paket command.
         I called it InternalPaketCommand here because apparently properties aren't available
         outside the targets they are declared in. -->
    <PropertyGroup>
      <_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)"))</_PaketExeExtension>
      <InternalPaketCommand Condition=" '$(InternalPaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)"</InternalPaketCommand>
      <InternalPaketCommand Condition=" '$(InternalPaketCommand)' == '' AND '$(_PaketExeExtension)' == '' AND $(LocalPaketToolExitCode) == 0">dotnet "$(PaketExePath)"</InternalPaketCommand>
      <InternalPaketCommand Condition=" '$(InternalPaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"</InternalPaketCommand>
      <InternalPaketCommand Condition=" '$(InternalPaketCommand)' == '' ">"$(PaketExePath)"</InternalPaketCommand>
    </PropertyGroup>

    <!-- The way to get a property to be available outside the target is to use this task. -->
    <CreateProperty Value="$(InternalPaketCommand)">
      <Output TaskParameter="Value" PropertyName="PaketCommand"/>
    </CreateProperty>

    <!-- This is just a debug statement. -->
    <Message Importance="high" Text="$(PaketCommand) - paket command | $(LocalPaketToolExitCode) - code" />
  </Target>

This target will be responsible for creating the PaketCommand property, which is used in two other targets, PaketRestore and PaketOverrideNuspec.  Unfortunately it looks like you can't have properties depend on targets/tasks, so I think this is the only way to do it.
Then to make sure PaketCommand is set before PaketRestore and PaketOverrideNuspec are called, you need to update the DependsOnTargets property for each of them.  Top lines of those targets should look something like this:
PaketRestore:
<Target Name="PaketRestore" Condition="'$(PaketRestoreDisabled)' != 'True'" BeforeTargets="_GenerateDotnetCliToolReferenceSpecs;_GenerateProjectRestoreGraphPerFramework;_GenerateRestoreGraphWalkPerFramework;CollectPackageReferences" DependsOnTargets="SetPaketCommand;PaketBootstrapping">

PaketOverrideNuspec:
<Target Name="PaketOverrideNuspec" DependsOnTargets="SetPaketCommand" AfterTargets="GenerateNuspec" Condition="('$(IsPackable)' == '' Or '$(IsPackable)' == 'true') And Exists('$(PaketIntermediateOutputPath)/$(MSBuildProjectFile).references')" >

This works for both global and local clitool. Haven't tried mono or on windows, but it still does the things it used to do, so that shouldn't have changed.

I don't see any warnings either. I didn't have IgnoreExitCode="true" yesterday.

An alternative to invoking dotnet paket --version would be to check the dotnet-tools.json file for "paket" like this:
<PropertyGroup>
  <DotnetToolsJson>($([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json")))</DotnetToolsJson>
  <ContainsPaket>$(DotnetToolsJson.Contains('"paket"'))</ContainsPaket>
</PropertyGroup>

Then we wouldn't require that separate task I guess.

The dotnet paket --version way will definitely avoid errors, since if it's not installed it won't work.

True that. It's the safest. Thanks for the help! Took a while to figure out of all this MSBuild stuff.

Can we get a PR? Thanks
Atle Rudshaug<EMAIL_ADDRESS>schrieb am Sa., 28. Sep. 2019,
20:05:

True that. It's the safest. Thanks for the help! Took a while to figure
out of all this MSBuild stuff.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3671?email_source=notifications&email_token=AAAOANBH3SRWV35HU3LVLL3QL6MIHA5CNFSM4I3GZV7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD727D2Y#issuecomment-536211947,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAOANDJTMAVLBWQENIR53DQL6MIHANCNFSM4I3GZV7A
.

I added one yesterday


cryptodev: unpin kernel

cryptodev: unpin kernel

Kernel 4.9 is deprecated.

(I don't know about the functionality of this. Just builds.)

Tested building openssl and quicktls with withCryptodev. Not sure how this interacts with different kernel version, need cryptodev users to test it out before merging.

Tested building openssl and quicktls with withCryptodev. Not sure how this interacts with different kernel version, need cryptodev users to test it out before merging.

It is already broken at master:

Checked difference between cryptodev-linux-1.12-5.15.92/include/crypto/cryptodev.h and cryptodev-linux-1.12-6.1.10/include/crypto/cryptodev.h, they are identical and they are the only parts of cryptodev exposed to userland packages. Unpinning the kernel is fine, just add an explanation about this in the commit message.

builds fails with:
Cannot nix-instantiate `cryptodev' because:
error: opening file '/nix/store/ryn8lxprr6f4g3dl1nbjxs58bwafs9fi-pkg-config-wrapper-0.29.2.drv': No such file or directory
       … while evaluating the attribute 'nativeBuildInputs' of the derivation 'linux-config-5.15.92'
       at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/ofborg-evaluator-0/pkgs/stdenv/generic/make-derivation.nix:286:7:
          285|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          286|       name =
             |       ^
          287|         let
       … while evaluating the attribute 'configurePhase' of the derivation 'linux-5.15.92'
       at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/ofborg-evaluator-0/pkgs/stdenv/generic/make-derivation.nix:286:7:
          285|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          286|       name =
             |       ^
          287|         let
       … while evaluating the attribute 'dev.outPath'
       at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/ofborg-evaluator-0/lib/customisation.nix:215:13:
          214|             drvPath = assert condition; drv.${outputName}.drvPath;
          215|             outPath = assert condition; drv.${outputName}.outPath;
             |             ^
          216|           };
       … while evaluating the attribute 'makeFlags' of the derivation 'cryptodev-linux-1.12-5.15.92'
       at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/ofborg-evaluator-0/pkgs/stdenv/generic/make-derivation.nix:286:7:
          285|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          286|       name =
             |       ^
          287|         let
Cannot nix-instantiate `cryptodev.passthru.tests' because:
error: attribute 'tests' in selection path 'cryptodev.passthru.tests' not found

ofborg is having issues. please test locally,


Weird behavior with Console.logValue(..)

Describe the bug
console.logValue(..) is acting weirdly when outputting random numbers.

To Reproduce
Steps to reproduce the behavior:

Go to https://makecode.com/_ehjPhHKz839Y
run program
go to simulator
See error (seems to be random but fairly consistent with 100 iterations)
The value is most often 2, but occasionally comes out as a 3

Expected behavior
Not having random numbers show up in output
Additional context
Add any other context about the problem here.

We plan to get rid of Pins & Console for Arcade.
Above behavior is by design. Console combines similar outputs with a prefix of number of occurrences. For example: if you just print 2 100 times it looks like following

Just to be clear. Console & Pins will stay for javascript and will go away for blocks


onPress is not working

Bug
When I am adding onPress to a Text, it works sporadically for all devices!
Tried adding onPress directly to the Text and to the Group as well. Didn't work.
Secondly, on a separate note, onPress as a whole does not work for certain android devices. (like 1 plus 6t) any idea why?
Code
If I am adding onPress to each component separately
<Svg width={width} height={height}>
  <G x={0} y={topY}>
        {data.map(
          ({ id, text }) => (
            <G key={id}>
              <Path
                d={path}
                ...
                onPress={() => handleOnPress(id)}
              />

              <Text
                x={X}
                y={Y}
                ...
                onPress={() => handleOnPress(id)}
              >
                {text}
              </Text>
            </G>
          ),
        )}
  </G>
</Svg>

If I am adding onPress to the Group
<Svg width={width} height={height}>
  <G x={0} y={topY}>
        {data.map(
          ({ id, text }) => (
            <G key={id} onPress={() => handleOnPress(id)}>
              <Path
                d={path}
                ...
              />
              <Text
                x={X}
                y={Y}
                ...
              >
                {text}
              </Text>
            </G>
          ),
        )}
  </G>
</Svg>

Environment info
React native info output:
 System:
    OS: macOS 11.4
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 2.14 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 15.2.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.0.10 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.2 AI-202.76<IP_ADDRESS>22048
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 15.0.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.1 => 0.64.1

Library version: 12.1.0

I also had the same problem on android and solved it using PanResponder.
const Button = ({x, y}: {x:number; y:number}) => {
  const panResponder = PanResponder.create({
    onStartShouldSetPanResponder: () => true,
    onPanResponderGrant: () => {
      console.log(index);
    },
  });

  return (
    <G x={x} y={y} {...panResponder.panHandlers}>
      ...
    </G>
  );
};

Bug
When I am adding onPress to a Text, it works sporadically for all devices! Tried adding onPress directly to the Text and to the Group as well. Didn't work.
Secondly, on a separate note, onPress as a whole does not work for certain android devices. (like 1 plus 6t) any idea why?
Code
If I am adding onPress to each component separately
<Svg width={width} height={height}>
  <G x={0} y={topY}>
        {data.map(
          ({ id, text }) => (
            <G key={id}>
              <Path
                d={path}
                ...
                onPress={() => handleOnPress(id)}
              />

              <Text
                x={X}
                y={Y}
                ...
                onPress={() => handleOnPress(id)}
              >
                {text}
              </Text>
            </G>
          ),
        )}
  </G>
</Svg>

If I am adding onPress to the Group
<Svg width={width} height={height}>
  <G x={0} y={topY}>
        {data.map(
          ({ id, text }) => (
            <G key={id} onPress={() => handleOnPress(id)}>
              <Path
                d={path}
                ...
              />
              <Text
                x={X}
                y={Y}
                ...
              >
                {text}
              </Text>
            </G>
          ),
        )}
  </G>
</Svg>

Environment info
React native info output:
 System:
    OS: macOS 11.4
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 2.14 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 15.2.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.0.10 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.2 AI-202.76<IP_ADDRESS>22048
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 15.0.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.1 => 0.64.1

Library version: 12.1.0

did you find solution to this

I also had the same problem on android and solved it using PanResponder.
const Button = ({x, y}: {x:number; y:number}) => {
  const panResponder = PanResponder.create({
    onStartShouldSetPanResponder: () => true,
    onPanResponderGrant: () => {
      console.log(index);
    },
  });

  return (
    <G x={x} y={y} {...panResponder.panHandlers}>
      ...
    </G>
  );
};

please can you help me with similar issue

awesome！

this is awesome, solve my question
`
function SVGTouchableOpacityG({ onPress, children }) {
const [isPressed, setIsPressed] = useState(false)
const panResponder = PanResponder.create({
    onStartShouldSetPanResponder: () => true,
    onPanResponderGrant: () => {
        console.log('press in')
        setIsPressed(true)
    },
    onPanResponderTerminate: () => {
        console.log('terminate')
        setIsPressed(false)
    },
    onPanResponderRelease: () => {
        if (isPressed) {
            console.log('release')
            setIsPressed(false)
            onPress()
        }
    },
})

const fillColor = isPressed ? 'rgba(255, 255, 255, 0.5)' : 'transparent'
return (
    <G {...panResponder.panHandlers}>
        {children}

        <Rect
            x="0"
            y="0"
            width={100}
            height={100}
            stoken={'red'}
            fill={fillColor}
        />
    </G>
)

}
`

Hello @dion-george  @cauyyl ,
I tried to reproduce that problem but couldn't.
If you still have that problem feel free to open a new issue.
Thank you.


[WIP] feat: add Data component

LGTM

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-next@1c38506). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             release-next     #404   +/-   ##
===============================================
  Coverage                ?   79.97%
===============================================
  Files                   ?       80
  Lines                   ?     6792
  Branches                ?      801
===============================================
  Hits                    ?     5432
  Misses                  ?     1351
  Partials                ?        9

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 1c38506...cc1db83. Read the comment docs.

1.0.0-alpha.95


add mp-spdz prototype, data generator, and readme

@martinthomson any concerns merging this into main?
You can see #51 for the conversation on the original PR.

merged with #59 to get formatting checks for .py and .mpc files

with a huge shout out to @algebravic, I refactored this to no longer use the ugly exec hack and instead use vector commands!

the only thing I'm unsure about here is using argparse. it ends up causing the compiled program to be named with the 1 numrows_power and ipa_verbose variable when used, e.g. compiling withL
../../MP-SPDZ/compile.py -C -R 32 ipae2e 5 ipa_verbose

requires you to run:
../../MP-SPDZ/Scripts/ring.sh -R 32 ipae2e-5-ipa_verbose

I think the ENV variables was probably a better hack... curious if anyone else has thoughts.

cc @benjaminsavage check it out, much better now!!


[ko] Update outdated files in dev-1.22-ko.1 (M52)

Partially fix: #29257

[x] M52.  content/en/docs/setup/production-environment/tools/kubeadm/control-plane-flags.md   | 140(+L) 20(-)

@seokho-son 넵~~
/assign

/approve

/lgtm


e2ePrometheusOnlyUpdatedOnRelevantChanges: Check for range

Instead of checking if a resource was updated exactly x times, check if
the amount of updates is within a range.
The test should prevent repeadet (>100) updates by the Prometheus
Operator. Kubernetes updates resources by itself, e.g. the status
fields. This amount stays within limits. Thereby checking if the
statefulset was updated between 1 and 3 times is enough.

This is a follow up for https://github.com/coreos/prometheus-operator/pull/1382

lgtm, thanks for taking care of this! :+1:


[Sessions] Use deviceSimulatorModel only for compatibility with Crashlytics

deviceSimulatorModel can work on simulators and devices.
It will also have similar outputs as deviceModel on a device.

Crashlytics will only use deviceSimulatorModel, so this PR updates Sessions to do the exact same thing.
#no-changelog

That API actually predates AQS - I believe it's used by other SDKs.


Error when trying to use component api

Hi there. I'm using angular 2.2.1 and when I try to use ViewChild according to your given example it throws an error. My component's setup is:
import { Component, ViewChild } from '@angular/core';
...
export class ShareComponent {
  @ViewChild('dayPicker') dayPicker: DpDayPickerComponent;

  public openDatePicker(type) {
     this.dayPicker.api.open();
  }
}

When I call openDatePicker from template I get an exception:

error_handler.js:48 EXCEPTION: Error in ./ShareComponent class ShareComponent - inline template:41:10 caused by: Cannot read property 'api' of undefined
ErrorHandler.handleError @ error_handler.js:48
next @ application_ref.js:298
schedulerFn @ async.js:89
SafeSubscriber.__tryOrUnsub @ Subscriber.js:223
SafeSubscriber.next @ Subscriber.js:172
Subscriber._next @ Subscriber.js:125
Subscriber.next @ Subscriber.js:89
Subject.next @ Subject.js:55
EventEmitter.emit @ async.js:81
NgZone.triggerError @ ng_zone.js:280
onHandleError @ ng_zone.js:259
ZoneDelegate.handleError @ zone.js:236
Zone.runTask @ zone.js:157
ZoneTask.invoke @ zone.js:335
error_handler.js:50 ORIGINAL EXCEPTION: Cannot read property 'api' of undefined

@karolisgrinkevicius, I updated the demo. Please see if it helps you. if not please create some plunker or demo project so I can test it and try to help.

Where can I find your updated demo?

https://vlio20.github.io/ng2-date-picker/

@karolisgrinkevicius , did it help?

closing this for now.


ThorVG API: Revise the Canvas::clear() API

issues 1779: Revise the Canvas::clear() API
new api function was added
/**
 * @brief Clear the target buffer that used for the drawing.
 *
 * @param[in] r The red color channel value in the range [0 ~ 255]. The default value is 0.
 * @param[in] g The green color channel value in the range [0 ~ 255]. The default value is 0.
 * @param[in] b The blue color channel value in the range [0 ~ 255]. The default value is 0.
 * @param[in] a The alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque. The default value is 0.
 *
 * @return Result::Success when succeed, Result::InsufficientCondition otherwise.
 */
virtual Result clear(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;

Moved to https://github.com/thorvg/thorvg/pull/1798


Reorder Forms on left hand navigation panel

Top - Observations
Environmental
Trip
Survey

Tested - Pass - Happy to close ticket


IOS – Selecting a picture has a delay

IOS (9.x/ 10.x): Currently when you select a picture, it needs some seconds to be actually marked as selected (depends on the file size).
While the imagePicker needs time to select the picture and the user presses on the picture again, then the imagePicker selects the picture 2 times. When you deselect the picture one copy of the picture still exists and still selected, but not visible selected in the GUI.

On iOS the image is resized upon selection, on Android it's done when you've finished selecting images.
To speed up iOS selection I've changed compression rules a bit and it's now 2 to 3 times quicker (version 2.1.8).


close down project

See #154

There are some dotfiles left over (e.g. .jscsrc) but looks good to me :+1:


Issue #102 - added data about 'Use Services as your model' + remove business logic from controllers

Issue #102:

Added a section for controller + code example
Added a section for services + code example

Looks good to me!


UniPT on NLP tasks

Nice work! @Paranioar
I noticed that the paper mentioned UniPT based on the T5 large model performed well on NLP tasks such as GLUE benchmark.But I didn't find the relevant code on GitHub...So could you please provide a copy of the code in NLP field?

Sorry for the late reply. I am too busy lately. I will organize it later and release it together with the SHERL project.