Removing specific user roles from modern folders.

We use Modern Folders in orchestrator  2019.10.15, where users have multiple roles for folders in the tenant. When we provision these roles we use the command "Add-UiPathFolderUserRoles "
We would like to remove this role using a powershell command.
Example:
We have a user "John Doe" with two roles Business User + Business Runner to a modern folder named  "TAX" in our tenant Default.
We would like to remove the Business Runner role from the TAX folder, and keep the other role Business User.

If i'm not mistaken, The web UI seems to use /odata/Folders/UiPath.Server.Configuration.OData.AssignUsers to achieve this.

Oh Add-UiPathFolderUserRoles !

Function Remove-UserFromFolderRole($Token, $UserEmail, $UiPathFolderName, $UiPathRoleName, $Tenant, $Env)
{
$UiPathFolder = Get-UiPathFolder -AuthToken $Token -DisplayName $UiPathFolderName
$FolderUsers  = Get-UiPathFolderUsers -Id $UiPathFolder.Id -AuthToken $Token
$UiPathRole = Get-UiPathRole -AuthToken $Token -Name $UiPathRoleName
$FolderUsers  = Get-UiPathFolderUsers -Id $UiPathFolder.Id -AuthToken $Token
$FolderUser = $FolderUsers|Where { $.UserEntity.UserName -eq $UserEmail }
$NotRole = $FolderUser.Roles|Where { $.Id -ne $UiPathRole.Id}
$RolesToKeep = @()
foreach($Role in $NotRole) {
$RolesToKeep += $Role.Id
}
Add-UiPathFolderUserRoles -Id $UiPathFolder.Id -AuthToken $Token -UserIds $UiPathUser.Id -RoleIds  $RolesToKeep
}

In order to remove a specific user role from a folder the same command Add-UiPathFolderUserRoles should be used with the roles to keep as parameter.The endpoint will remove the roles which were previously added and are not passed as parameter anymore.


Update citations to v1.4.1

also updates "how to cite" to the readthedocs to include zenodo and JOSS

shoot, too many commits, i'll fix

fixed, just one commit now


ASAGA should use cpp_history always

https://github.com/X-DataInitiative/tick/blob/master/tick/solver/base/first_order_sto.py#L168
https://github.com/X-DataInitiative/tick/blob/master/tick/solver/base/first_order_sto.py#L240

@Mbompr this requires some thought I think


Feature: app-jvm.yml support for international name aliases

我按自己的理解添加了jvm的国际化描述，不知道翻译是否准确到位，如果有更好的建议希望可以指出~

Checklist

[x]  I hereby agree to the terms of the HertzBeat CLA
[x]  I have read the Contributing Guide
[x]  I have written the necessary doc or comment.
[x]  I have added the necessary unit tests and all cases have passed.

正确的没有问题👍
@all-contributors please add @Calvin979  for code

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Correct, no problem👍
@all-contributors please add @Calvin979 for code


"Maximum call stack size exceeded" in bundle caused by babelHelpers

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[ ] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
Environment:
OS: Linux 4.4
Node: 9.4.0
Yarn: Not Found
npm: 6.2.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
react: ^16.3.1 => 16.4.0
react-native: ^0.55.4 => 0.55.4
Description
Currently trying to produce a bundle for both our Android and iOS applications so we can release internal test builds before releasing a new update to our apps in the store.
The bundle is produced fine however error messages appear whenever trying to use any RN component in our Android / iOS apps.
**iOS error message **

Android error message

Line 1214 of the android bundle shows this line
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== (typeof Symbol === "function" ? Symbol.prototype : "@@prototype") ? "symbol" : typeof obj === "undefined" ? "undefined" : babelHelpers.typeof(obj);
Which is apart of the following code block.
var babelHelpers = global.babelHelpers = {};
 babelHelpers.typeof = typeof Symbol === "function" && babelHelpers.typeof(typeof Symbol === "function" ? Symbol.iterator : "@@iterator") === "symbol" ? function (obj) {
   return typeof obj === "undefined" ? "undefined" : babelHelpers.typeof(obj);
 } : function (obj) {
   return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== (typeof Symbol === "function" ? Symbol.prototype : "@@prototype") ? "symbol" : typeof obj === "undefined" ? "undefined" : babelHelpers.typeof(obj);
 };

I've managed to locate whenever this error starting appearing in our earlier commits and the only way I was successful in getting  rid of it was by removing our .babelrc config and updating our paths so they're using relative paths and not absolute paths (using the alias in the .babelrc config).
Ideally we want to use the alias as it makes it a lot easier whenever moving files in the project and also easier for testing.
I've seen two similar issues already having been posted. Neither of which offers an insightful solution.
https://github.com/facebook/react-native/issues/19620
https://github.com/facebook/react-native/issues/19788
In case it helps here is both our .babelrc file and package.json
.babelrc
{
  "presets": ["env", "react", "react-native"],
  "plugins": [
    ["module-resolver", {
      "root": ["./reactediting"],
      "alias": {
        "common": "./src/common",
        "editing": "./src/editing",
        "medals": "./src/medals",
        "mybag": "./src/mybag",
        "assets": "./assets/",
        "testModels": "./__test__/models"
      }
    }]
  ]
}

package.json
{
  "name": "ShotScopeRN",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start"
  },
  "rnpm": {
    "assets": [
      "../../app/src/main/assets/fonts/"
    ]
  },
  "dependencies": {
    "babel": "^6.23.0",
    "babel-plugin-module-resolver": "^3.1.1",
    "es6-symbol": "^3.1.1",
    "lodash": "^4.17.10",
    "react": "^16.3.1",
    "react-dom": "^16.4.1",
    "react-native": "^0.55.4",
    "react-native-animatable": "^1.2.4",
    "react-native-check-box": "^2.1.0",
    "react-native-image-crop-picker": "^0.20.1",
    "react-native-maps": "^0.21.0",
    "react-native-share": "^1.0.27",
    "react-native-social-share": "^1.5.0",
    "react-native-sortable-list": "0.0.20",
    "react-native-svg": "^6.2.2",
    "react-native-text": "0.0.7",
    "react-native-view-shot": "^2.3.0",
    "react-redux": "^5.0.6",
    "redux": "^3.7.2",
    "redux-thunk": "^2.2.0",
    "rn-viewpager": "^1.2.9",
    "spherical-geometry-js": "^1.0.1",
    "svgr": "^1.8.1"
  },
  "devDependencies": {
    "@babel/preset-env": "^7.0.0-beta.49",
    "babel-core": "^6.26.3",
    "babel-jest": "^23.0.1",
    "babel-preset-env": "^1.7.0",
    "babel-preset-react": "^6.24.1",
    "enzyme": "^3.3.0",
    "enzyme-adapter-react-16": "^1.1.1",
    "jest": "^23.0.1",
    "jest-cli": "^23.0.1",
    "jsdom": "^11.11.0",
    "redux-mock-store": "^1.5.1",
    "regenerator-runtime": "^0.11.1"
  }
}

@loganfsmyth pinging you in case you or if you would know any babel maintainer who could provide some help with this

Yes. I upgraded to 0.56 and had the same issue.


chore: Update the banner from Development preview to Service preview

What this PR does / why we need it:
Update the text on the banner from "Development preview" to "Service preview"
Which issue(s) this PR fixes
fixes # https://issues.redhat.com/browse/MGDCTRS-583
Verification steps

http://localhost:6006/?path=/story/shared-development-preview-development-preview--show-dev-preview
Is there any work left / what's next :
Special notes for your reviewer:

That would require changing the component name. I don't disagree but it's a breaking change that will require human intervention on app-services-ui

:tada: This PR is included in version 1.30.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Dynamic/runtime type names auto-completion for python.

For python code debugging, does vscode support the dynamic/runtime type names auto-completion, just as the things done by ipython/jupyter?
Regards,
HY

/extPython


⚠ File access has degraded performance

In f0abb91, File access (https://fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 4958 ms

Resolved: File access performance has improved in 30c54f1 after 8 minutes.


Vulnerability roundup 85: findbugs-3.0.1: 1 advisory [8.8]

search, files

[ ] CVE-2018-1000011 CVSSv3=8.8 (nixos-20.03, nixos-unstable)

Scanned versions: nixos-20.03: a84b797b28e; nixos-unstable: 22c98819ccd. May contain false positives.

CVE-2018-1000011: The CVE is not about Findbugs itself but the Jenkins' FindBugs plugin.


[ELASTIC-96] Fix incorrect port bug in get_elasticsearch_master

Just hit the master-0 node

retest this please

retest this please


Live preview the selected quick open file in an unpinned editor

This is an idea for a feature.
Use case
I am a developer in a codebase that has files with the same or similar names. When I go to quick open one of these files I often have to guess which file is the right one because the full path isn't enough context for me to quickly remember which is the right one. I end up opening multiple files until I guess correctly and find the one that I really want.
FWIW, there are almost 70 non-unique file names in vscode. Many of these are pairs of interface and implementation. This happens in private code bases as well.
find src/ -name *.ts | grep '\([^/]\+\)$' -o | sort | uniq -c | sort -r | head -n 20

Proposal

User types a query into quick open (e.g. "actions.ts").
After a delay of no more input, the selected option (i.e. the file that would open if you hit enter) opens in an unpinned editor.
Cursoring up/down in the quick open list updates the unpinned editor with the selected file.
Hitting enter closed quick open and pins the editor.

Imagine a new unpinned editor behind quick open is live updating as I am cursoring up/down here:

It isn't ideal that the quick open would obscure part of the file, but it would be better than nothing.
Thoughts?

+1, miss this since I moved from Sublime

/duplicate https://github.com/Microsoft/vscode/issues/8939


And if the user dont do the login

There's some callback to know if the user just back from browser to the app after doing nothing, just using the android back button?
Is possible deal with this?

I don't think the library deals with this very well, will leave this issue open for when I have time to think of a possible solution

Any progress on a solution here, @adamjmcgrath? I'm hitting a need for this tonight.

@adamjmcgrath I think you can deal with this using react-native App state and checking when it comes from background, there you can check if it came from url like accounts.googe.com... or similar for other providers and expose some sort of event like canceled? Because in successful scenario user will be redirected to url scheme specified by them?

This should be fixed by https://github.com/adamjmcgrath/react-native-simple-auth/pull/102


Hogtalk: Mike Cook, AI Researcher

I've arranged for a new upcoming Hogtalk, in January, with Dr Michael Cook. Mike will join us for a fireside chat led by me, which then opens to a general Q&A.
I want to be this the first Hogtalk we open up to the community. Feedback, interview topics and specific questions welcome below!
Who is speaking?
Mike is an AI researcher who currently holds a research fellowship at the Royal Academy of Engineering in Queen Mary University. He focuses on the field of computational creative and AI-related design.
Mike is the founder of the ProcJam Procedural Generation gamejams, has written a book about Twitterbots and is a member of Knives and Paintbrushes. More info on his website.
Did you say 'computational creativity'?
Yep. That's the field of trying to create software which is capable of human-level creative acts. The Wikipedia page is worth a look if you like heady philosophical questions, such as:

Is it possible for an AI to paint a portrait that we would consider to be a work of art?
Is it possible for software to emulate the human process of writing a joke?
How do we define human creativity? Should computational creativity be analogous?

There's also a lot of practical work in this space. Mike, for example, has previously created the ANGELINA AI, which is an AI capable of designing, making, testing and evaluating simple games.
What can Mike speak about and not speak about?
I've interviewed Mike before and he's a great person to speak to. He's an expert on AI, game design and computational creativity as broad fields. If you want specific prompts, how about:

The ethical questions of AI development
AI in software design and content generation
The philosophy and definition of art
Automated software evaluation

There are unlikely to be areas of his work which Mike cannot talk about.
When and where is the talk happening?
Time is 6 Jan, 5PM BST.
The talk will take place virtually, over Zoom. We will record the call.
Next steps
All the below are actions for @joethreepwood unless otherwise noted.

[x] Intro the idea internally, write this issue, discuss on Sprint, etc.
[x] Lock in a date with Mike, get it in the calendar and update this issue
[x] Write a list of questions and do general interview prep
[x] Get feedback on topics to focus on
[x] Invite and promote this to the PostHog community
[x] Do the talk, record it

Hello! I really want to be there for the interview, where will the link to the zoom call be when the interview starts?
I'm very interested in Dr. Cook's work, thank you for setting this up.

You can reserve your space here. The link was shared in the announcement in our user slack https://posthogusers.slack.com/archives/CT7HXDEG3/p1638889419278300

Thank you!

Unfortunately, Mike let me know that he's currently too sick (waiting on a positive result) to do this at the agreed date. It looks like we're going to have to delay by 10-14 days until he feels better. I'll plan something out and reschedule soon.

Well, I think that went OK.


Limiting autocomplete results

Hi! Nice module.
Tell me please, how can i limit autocomplete results?

Just edit the 53 line in angucomplete-alt.js adding a filter to the ngRepeat directive like this:
ng-repeat="result in results | limitTo: 10
You can set the limit you prefer. In my case: 10


Application cannot go ahead except step into function InitiliseTelemetry()

If I run the VstsSyncMigrator.exe or debug the application by F5 without any break point, application will stop at "Trace.WriteLine(string.Format("SessionID: {0}", telemetryClient.Context.Session.Id));" of function "InitiliseTelemetry()", but if I comments the trace listeners in config file, it works, the listener in config file is "myAppInsightsListener".

There is a bug. Comment out the listener...
I'm fix it tomorrow, unless you want to submit a PR... Since you found it you should get the credit.


InteractiveQueryService using KafkaStreams deprecated API

Based on this discussion we should replace the deprecated call w/ the newer API in KafkaStreams.
When we do make the change, ensure this will not cause any issues w/ versions of kafka-streams < 3.3.1.

Resolved via https://github.com/spring-cloud/spring-cloud-stream/commit/d650f9e1e89a3d70291b22e102bf4d3af3dbf101


[bugfix][apperance]Patch index.html

Someone put in a button script

I approve.

One more approval...


2.1.6 Breaking changes

Hi everyone,
We recently updated from 2.1.5 to 2.1.6 and, without changing any source code we started seeing the following error on the startup of our application:
ApplicationInsights:The URL object is failed to create. [   TypeError [ERR_INVALID_URL]: Invalid URL: Azure.KeyVault.Secrets.SecretClient.getSecret       at onParseError (internal/url.js:279:9)       at new URL (internal/url.js:355:5)       at NodeClient.TelemetryClient.trackDependency (/app/node_modules/applicationinsights/out/Library/TelemetryClient.js:106:36)       at /app/node_modules/applicationinsights/out/AutoCollection/diagnostic-channel/azure-coretracing.sub.js:29:28       at Array.forEach (<anonymous>)       at /app/node_modules/applicationinsights/out/AutoCollection/diagnostic-channel/azure-coretracing.sub.js:22:21       at Function.CorrelationContextManager.runWithContext (/app/node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js:65:20)       at OpenTelemetryScopeManagerWrapper.with (/app/node_modules/applicationinsights/out/AutoCollection/AsyncHooksScopeManager.js:39:70)       at subscriber (/app/node_modules/applicationinsights/out/AutoCollection/diagnostic-channel/azure-coretracing.sub.js:21:56)       at /app/node_modules/diagnostic-channel/dist/src/channel.js:44:25 {     input: 'Azure.KeyVault.Secrets.SecretClient.getSecret',     code: 'ERR_INVALID_URL'   } ]
Reverting back to 2.1.5 was our approach since we could not figure out what to change on our end.
Thank you for your time.

Same on Node:v14.17.6
"dependencies": {
"@azure/service-bus": "7.3.0",
"@azure/storage-blob": "12.7.0",
"applicationinsights": "2.1.6",
}
and can confirm that reverting back to 2.1.5 fixes the problem.

Same issue here:
Node: v14.17.5
OS: Windows and Linux
    "dependencies": {
        "@azure/storage-blob": "12.7.0",
        "@azure/storage-queue": "12.6.0",
        "applicationinsights": "2.1.6"
    }

ApplicationInsights:The URL object is failed to create. [
  TypeError [ERR_INVALID_URL]: Invalid URL: Azure.Storage.Queue.QueueClient-receiveMessages
      at onParseError (internal/url.js:279:9)
      at new URL (internal/url.js:355:5)
      at NodeClient.TelemetryClient.trackDependency (server\node_modules\applicationinsights\out\Library\TelemetryClient.js:106:36)
      at server\node_modules\applicationinsights\out\AutoCollection\diagnostic-channel\azure-coretracing.sub.js:29:28
      at Array.forEach (<anonymous>)
      at server\node_modules\applicationinsights\out\AutoCollection\diagnostic-channel\azure-coretracing.sub.js:22:21
      at clsBind (server\node_modules\cls-hooked\context.js:172:17)
      at Function.CorrelationContextManager.runWithContext (server\node_modules\applicationinsights\out\AutoCollection\CorrelationContextManager.js:62:131)
      at OpenTelemetryScopeManagerWrapper.with (server\node_modules\applicationinsights\out\AutoCollection\AsyncHooksScopeManager.js:39:70)
      at subscriber server\node_modules\applicationinsights\out\AutoCollection\diagnostic-channel\azure-coretracing.sub.js:21:56)
      at server\node_modules\diagnostic-channel\dist\src\channel.js:44:25
      at Array.forEach (<anonymous>)
      at ContextPreservingEventEmitter.publish (server\node_modules\diagnostic-channel\dist\src\channel.js:40:23)
      at Span.span.end (server\node_modules\diagnostic-channel-publishers\dist\src\azure-coretracing.pub.js:62:62)
      at QueueClient.receiveMessages (server\node_modules\@azure\storage-queue\dist\index.js:5107:18)
      at processTicksAndRejections (internal/process/task_queues.js:95:5) {
    input: 'Azure.Storage.Queue.QueueClient-receiveMessages',
    code: 'ERR_INVALID_URL'
  }
]


pip install: No module named '_itkIndexPython' - no attribute 'swig'

I'm trying to install the python package by running pip install itk-montage in a fresh conda environment with Python 3.7.7 under ubuntu 18.04. The installation seems to work and I get:
>>> import itk
>>> dir(itk.Montage)

['DataObjectDecorator', 'Image', 'ImageSource', 'ImageToImageFilter',
'MaxPhaseCorrelationOptimizer', 'MaxPhaseCorrelationOptimizerEnums',
'NMinimaMaximaImageCalculator',
'PhaseCorrelationImageRegistrationMethod',
'PhaseCorrelationImageRegistrationMethodEnums',
'PhaseCorrelationOperator', 'PhaseCorrelationOptimizer',
'SimpleDataObjectDecorator', 'Tile', 'TileConfiguration',
'TileMergeImageFilter', 'TileMontage',
'_LazyITKModule__belong_lazy_attributes', '__doc__', '__loader__',
'__name__', '__package__', '__spec__', 'image_source',
'image_to_image_filter', 'lazy_attributes', 'loaded_lazy_modules',
'max_phase_correlation_optimizer',
'phase_correlation_image_registration_method',
'phase_correlation_operator', 'phase_correlation_optimizer',
'tile_merge_image_filter', 'tile_montage', 'vector']

But then I'm not sure how to use it (any python example?) and I start to encounter errors:
>>> itk.Montage.TileMontage
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[minicondaenv]/lib/python3.7/site-packages/itkLazy.py", line 52, in __getattribute__
    itkBase.LoadModule(module, namespace)
  File "[minicondaenv]/lib/python3.7/site-packages/itkBase.py", line 99, in LoadModule
    module = loader.load(swig_module_name)
  File "[minicondaenv]/lib/python3.7/site-packages/itkBase.py", line 220, in load
    module.__loader__.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "[minicondaenv]/lib/python3.7/site-packages/itk/MontagePython.py", line 113, in <module>
    from itkPhaseCorrelationOperatorPython import *
  File "[minicondaenv]/lib/python3.7/site-packages/itk/Configuration/../itkPhaseCorrelationOperatorPython.py", line 106, in <module>
    import itkIndexPython
  File "[minicondaenv]/lib/python3.7/site-packages/itk/Configuration/../itkIndexPython.py", line 15, in <module>
    import _itkIndexPython
ModuleNotFoundError: No module named '_itkIndexPython'

and if I try a second time (or try to use something else):
>>> itk.Montage.TileMontage
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[minicondaenv]/lib/python3.7/site-packages/itkLazy.py", line 52, in __getattribute__
    itkBase.LoadModule(module, namespace)
  File "[minicondaenv]/lib/python3.7/site-packages/itkBase.py", line 61, in LoadModule
    swig.update(this_module.swig)
AttributeError: module 'itk.MontagePython' has no attribute 'swig'

Installing the main itk package first with conda manager conda install -c conda-forge itk results in the same error.
The installation instructions are not very clear, so I assumed that pip install itk-montage is all I need and build instructions that come after refer to an alternative installation method:

To build the C++ module, either enable the CMake option in ITK's build configuration

Is it correct? Else what am I missing and where is the build configuration file?

We need to update the Python package for changes in the recently release itk-5.1.
I am working on a few examples.

python -m pip install --upgrade itk-montage

will address the import errors.

python -m pip install --upgrade itk-montage did not change anything. However with --force-reinstall or a fresh install I now get a different error:
>>> import itk
>>> itk.Montage.TileMontage
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[minicondaenv]/lib/python3.7/site-packages/itkLazy.py", line 52, in __getattribute__
    itkBase.LoadModule(module, namespace)
  File "[minicondaenv]/lib/python3.7/site-packages/itkBase.py", line 99, in LoadModule
    module = loader.load(swig_module_name)
  File "[minicondaenv]/lib/python3.7/site-packages/itkBase.py", line 220, in load
    module.__loader__.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "[minicondaenv]/lib/python3.7/site-packages/itk/MontagePython.py", line 113, in <module>
    from itkPhaseCorrelationOperatorPython import *
  File "[minicondaenv]/lib/python3.7/site-packages/itk/Configuration/../itkPhaseCorrelationOperatorPython.py", line 106, in <module>
    import itkIndexPython
  File "[minicondaenv]/lib/python3.7/site-packages/itk/Configuration/../itkIndexPython.py", line 8, in <module>
    from . import _ITKCommonPython
ImportError: attempted relative import with no known parent package

and on second call the same 'swig' missing attribute as before.

Is this reproducible in a fresh conda environment?

Ah, it seems the package did not get deployed properly, and the dependencies are not strict enough to pull in the required itk package version. I will re-release and follow up.

yes the error was the same in a fresh conda environment. Now with itk-montage 0.5.1 just released on pypi and after manual install of missing numpy dependency:
>>> import itk
>>> itk.Montage.TileMontage
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[minicondaenv]/envs/montage/lib/python3.8/site-packages/itkLazy.py", line 52, in __getattribute__
    itkBase.LoadModule(module, namespace)
  File "[minicondaenv]/envs/montage/lib/python3.8/site-packages/itkBase.py", line 99, in LoadModule
    module = loader.load(swig_module_name)
  File "[minicondaenv]/envs/montage/lib/python3.8/site-packages/itkBase.py", line 220, in load
    module.__loader__.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "[minicondaenv]/envs/montage/lib/python3.8/site-packages/itk/MontagePython.py", line 75, in <module>
    from itk.itkPhaseCorrelationOperatorPython import *
  File "[minicondaenv]/envs/montage/lib/python3.8/site-packages/itk/itkPhaseCorrelationOperatorPython.py", line 437, in <module>
    @itkHelpers.accept_numpy_array_like
AttributeError: module 'itkHelpers' has no attribute 'accept_numpy_array_like'

itk-montage version 0.5.3 is now available, pulling in the numpy requirement and fixing this error.

It's now working, thanks. As far as installation goes, this issue can be closed.
Usage remains a mystery to me though. Can it be used with loaded numpy arrays (converted to itkImage) or only through a TileConfiguration.txt file?

Thanks for the feedback. It can work on images in NumPy arrays. I'll follow up here after we have a few examples.

Example added via #184.


chore: fix example app for the newer version of mcumanager

Fixing example app to work with the newer version of mcumanager

Self Review:

[ ] Appropriate test coverage
[ ] Relevant Documentation updated

Smoke Tests:

[ ]

Closing this now we've moved to Expo.


error trainning print 'Initial iteration: %i'%(self.iter+1)   SyntaxError: invalid syntax

I am trainning colorization but it apperence a bug, can you tell me it come from you project or my lmdb dataset? I am newbie and hear is log:
I0816 11:17:49.565140 12297 layer_factory.hpp:77] Creating layer data
I0816 11:17:49.574599 12297 db_lmdb.cpp:35] Opened lmdb /home/ID/caffe-rc5/examples/draw/draw_train_lmdb
I0816 11:17:49.574626 12297 net.cpp:84] Creating Layer data
I0816 11:17:49.574637 12297 net.cpp:380] data -> data
I0816 11:17:49.574985 12297 data_layer.cpp:45] output data size: 40,3,176,176
I0816 11:17:49.575086 12297 net.cpp:122] Setting up data
I0816 11:17:49.575095 12297 net.cpp:129] Top shape: 40 3 176 176 (3717120)
I0816 11:17:49.575106 12297 net.cpp:137] Memory required for data: 14868480
I0816 11:17:49.575116 12297 layer_factory.hpp:77] Creating layer img_lab
I0816 11:17:49.577070 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.578773 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.580446 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.582123 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.583827 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.585499 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.587162 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.589007 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.590741 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.592401 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.594074 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.595671 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.597316 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.599025 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.600615 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.602229 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.603808 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.605463 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.607041 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.608664 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.610369 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.611999 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.613672 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.615299 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.616926 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.618705 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.620426 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.622099 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.623750 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.625425 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.627096 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.628756 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.630365 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.631958 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.633611 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.635215 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.636791 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.638662 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.640295 12298 data_layer.cpp:73] Restarting data prefetching from start.
I0816 11:17:49.641973 12298 data_layer.cpp:73] Restarting data prefetching from start.
File "/home/ID/colorization/resources/caffe_traininglayers.py", line 213
print 'Initial iteration: %i'%(self.iter+1)
^
SyntaxError: invalid syntax
Thank you for help!

I solved it! Syntax python 3.x of 'print' has changed compared to 2.x


[FEAT] connect: add repartition support

[ ] the test is not great but idk how to do it better since rdd does
not work with spark connect (I think)
[ ] do we want to support non-shuffle repartitioning?

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3382  👈 (View in Graphite)
#3373 : 3 other dependent PRs (#3375 , #3377 , #3379 )
#3359
#3351
#3350 : 2 other dependent PRs (#3346 , #3376 )
#3362 : 1 other dependent PR (#3363 )
#3355 : 3 other dependent PRs (#3354 , #3357 , #3360 )
#3342 : 6 other dependent PRs (#3344 , #3345 , #3348  and 3 others)
#3341 : 3 other dependent PRs (#3309 , #3326 , #3343 )
main

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


When I use sum calculation, the value is wrong

As title,when I use the sum calculation
The value of 12/21 00:00~01:00 is 474000 (100000 + 150000 + 24000 + 200000)
But the chart only shows 200000, I guess that value is the last one

When I use the count calculation, I have the same problem, it only returns 1 data.
The correct answer is 4 times

Thanks for reporting. This is a known bug. The max and min uses the extents of the fields rather than the aggregation. If you know (approximately) the min and max of the aggregation, you can set it yourself under Field options.


BatchInput seems to be deprecated in latest openai/baselines

Hi, this is somewhat related to Issue #13 .
As of 3/11/2019, openaI/baselines does not support BatchInput in baselines.deepq.utils anymore.
The change was made in commit 24fe3d6576dd8f4cdd5f017805be689d6fa6be8c May 21, 2018.
It seems like BatchInput has been changed to ObvservationInput.
openai/baselines issue #524 also states this issue, but there were no replies made yet.
Since ObvservationInput only accepts gym spaces, I'm not really sure how to modify enjoy_mineral_shards.py to run on the latest baselines since the code below will not work anymore.
def make_obs_ph(name):
      return U.BatchInput((64, 64), name=name)

I think I should be using a code something like the below, but if I do so I would get another error saying ValueError: Convolution expects input with rank 4, got 2 while building the act.
def make_obs_ph(name):
      U.ObservationInput(Box(low=-32.0, high=32.0, shape=(2,)), name=name)

Thanks in advance!

Any progress?

any updates?

I ended up copy pasting BatchInput from the history of the utils file and using it.
Have you encountered this error?
ValueError: Convolution expects input with rank 4, got 3

I also get:
ValueError: Convolution expects input with rank 4, got 3
After doing this:

It also looks like some of the utility functions have moved. In enjoy_mineral_shards.py and deepq_mineral_shards.py, add somewhere at the top:
import baselines.deepq.utils as U2
Change all: U.BatchInput, U.load_state, U.save_state
to: U2.BatchInput, U2.load_state, U2.save_state

I also get:
ValueError: Convolution expects input with rank 4, got 3
After doing this:

It also looks like some of the utility functions have moved. In enjoy_mineral_shards.py and deepq_mineral_shards.py, add somewhere at the top:
import baselines.deepq.utils as U2
Change all: U.BatchInput, U.load_state, U.save_state
to: U2.BatchInput, U2.load_state, U2.save_state

The error is with tensorflow. I tried to change the input to BatchInput function to ( #, #, 1), and modify input samples to the dimension accordingly.

I'll go back to building my own basic examples to teach myself. That fix is beyond me for now.


[feature] Support usage as a library?

Description
I have a small internal Go tool that I use for automating different AWS tasks. But before using that tool I currently have to run the AWS CLI to authenticate. It would be nice if I could bundle this package into my tool as an alternative to installing it separately.
Describe the solution you'd like
Maybe some documentation or response here indicating whether supporting this is something you would be interested in or there is anything your foresee as a problem/blocker for this use case.

Hi @eberkund
Thanks for reaching out! Your request sounds quite similar to #71
In the pkg folder are some methods for dealing with SSO token and credentials are already exposed. Did you have a look there?
But I assume you would also like to utilize the account and role prompt?

I am closing this stale issue for now. Please feel free to open it any time again.


x/tools/gopls: deep completions for types in structs show non-type items

What did you do?
Typed string in a struct definition, to define a field.
What did you expect to see?
A list of completions of types as I typed string, correct for the context I'm typing in.
What did you see instead?

The first two are normal completions, and make sense. The last three are deep completions, but only the first is actually a type.
Build info
golang.org/x/tools/gopls v0.1.6
<EMAIL_ADDRESS>h1:3vwhnwNtccN9z6m7XLN6gNYSTWI05rXHP4xxpMBeqe8=
<EMAIL_ADDRESS>h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=
<EMAIL_ADDRESS>h1:1YT4tWqCW/31CBxEx+em+l1xN+VLaear67KgTPgqVy8=
<EMAIL_ADDRESS>h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc=

Go info
go version go1.13 linux/amd64

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/jake/.cache/go-build"
GOENV="/home/jake/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/jake/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/jake/zikaeroh/hortbot/hortbot/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build514825024=/tmp/go-build -gno-record-gcc-switches"

cc @muirrn

Thanks for noticing this. Coincidentally I was just working on a fix to prefer type names in this situations. Let me push it.
Note that even with my change it is still possible to get non-type completion items. Even if we expect a type name, we don't exclude non-type items, so they can still show up.

Are there any situations where completions that don't look like <type> or <package>.<type> would bring more types in? I'd think it's safe to exclude anything that isn't referring to a type in the current scope or another package, but maybe you're erring on the side of sorting rather than hiding bad completions.

I'd think it's safe to exclude anything that isn't referring to a type

Yes, I think you are right. As long as we are 100% confident a type name is required, we can exclude non-type candidates.

maybe you're erring on the side of sorting rather than hiding bad completions

That is definitely true also. If things are sorted properly there isn't much of a downside to including more candidates. We'll eventually be smarter about this.
Please give my CL a try and see if it makes a difference. You might need the first CL in the series as well to merge cleanly.


Print failing test cases when terminated in --no-kill mode

I recently run bun in Drone CI with the --no-kill flag to try and find new crashes as I was already aware of the ones found in a regular run.
It seems that bun copes really well with timeout and SIGTERM in general as I get the following output:
Summary stats
=============
Fuzzers alive : 48
Total run time : 1 days, 15 hours
Total execs : 55 million
Cumulative speed : 18851 execs/sec
Pending paths : 0 faves, 22869 total
Pending per fuzzer : 0 faves, 476 total (on average)
Crashes found : 4843 locally unique

12:50.01:Terminating the remaining fuzzing processes in response to SIGTERM.
It's likely that this job could benefit from more fuzzing time
- consider running it in an environment with more available cores or allowing
the fuzzers more time to explore the state space, if possible.

Do you think it would be possible to print the crashes input in the same way they are during a normal run when bun is terminated during a --no-kill run?
I'm happy to work on a patch if you think that would be a worthy addition!

Might also be nice to change the exit status of the no-kill mode depending on whether there were crashes or not as I think it currently just exit with 0 no matter what.
I'll work on that as well!


Add support to sound null safety

When using sound null safety, this the Localizations.of method will return a LocalizeStrings? result, so, we should add some code like this:
static LocalizeStrings? of(BuildContext context) {
return Localizations.of(context, LocalizeStrings);
}
then, intl_translation:extract_to_arb and intl_translation:generate_from_arb will report error like:
Error in parsing lib/src/localize_strings.dart, no messages extracted.
Unhandled exception:
Invalid argument(s): Parsing errors in lib/src/localize_strings.dart
#0      MessageExtraction._parseCompilationUnit (package:intl_translation/extract_messages.dart:117:7)
#1      MessageExtraction.parseContent (package:intl_translation/extract_messages.dart:102:14)
#2      MessageExtraction.parseFile (package:intl_translation/extract_messages.dart:87:12)
#3      main. (file:///Users/unalone/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/intl_translation-0.17.10+1/bin/generate_from_arb.dart:113:33)
#4      MappedListIterable.elementAt (dart:_internal/iterable.dart:417:31)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:343:26)
#6      main (file:///Users/unalone/opt/flutter/.pub-cache/hosted/pub.flutter-io.cn/intl_translation-0.17.10+1/bin/generate_from_arb.dart:116:23)
#7      _startIsolate. (dart:isolate-patch/isolate_patch.dart:299:32)
#8      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
pub finished with exit code 255

Guess that's why I get an error building on latest Flutter master
Because intl_translation >=0.17.7 depends on intl >=0.15.3 <0.17.0 and every version of flutter_localizations from sdk depends on intl 0.17.0-nullsafety.2, intl_translation >=0.17.7 is incompatible with flutter_localizations from sdk.

please add, I cannot build my app on flutter head because of that

@nt4f04uNd That's unrelated to null safety, your issue is: https://github.com/dart-lang/intl_translation/issues/114

@Iarssn the message clearly point out to what this issue is related and that are dependency bounds of the packages. I changed upper bound to be 0.17.1 and it's compiling for me now

@nt4f04uNd That's unrelated to null safety, your issue is: #114

Hello, I am having this same issue after updating to beta channel.
I have tried adding
dependency_overrides:
  analyzer: '0.40.6'

and
dev_dependencies:
  analyzer: '0.40.6'

Yet I am having the same issue
.... depends on flutter_localizations any from sdk which depends on intl 0.17.0-nullsafety.2, intl 0.17.0-nullsafety.2 is required.
Upgrading to 0.17.0 intl packages gives me:
Because intl_translation 0.17.10+1 depends on intl >=0.15.3 <0.17.0 and no versions of intl_translation match >0.17.10+1 <0.18.0, intl_translation ^0.17.10+1 requires intl >=0.15.3 <0.17.0.
Can you point me to what I am not understanding?

It's most likely because you are on the beta channel.
I'd stay clear of anything but stable until nullability is fully done and on stable.

The issue is that I have a demo of a web version, of an app, which I need to update because of a bug...and now I can't.
Any ideeas?

Sorry no, then I can't help.
Maybe @davidmorgan can chip in any ideas?

I managed to downgrade the flutter sdk on beta channel and it finally worked.
Thank you.

any eta? when this issue will be fixed

any eta? when this issue will be fixed

just fork the repo and change the version constant or use mine, it's working just fine
https://github.com/nt4f04uNd/intl_translation
then do
dev_dependencies:
  intl_translation:
    git:
      url: https://github.com/nt4f04uNd/intl_translation

not sure if this is needed
dependency_overrides:
  analyzer: 0.40.1

just fork the repo and change the version constant or use mine, it's working just fine
https://github.com/nt4f04uNd/intl_translation
then do
dev_dependencies:
  intl_translation:
    git:
      url: https://github.com/nt4f04uNd/intl_translation

not sure if this is needed
dependency_overrides:
  analyzer: 0.40.1

With https://github.com/localizely/intl_utils package we extended this intl_translation package and with just released version 2.0.0 it supports Flutter 2.0 and null-safety.
The migrations is simple. You just use it with this command:
flutter pub run intl_utils:generate

any update?

I believe I have the same issue. Since migrating a production app to null safety I can no longer run intl_translation:generate_from_arb, I get the following error:
> Executing task in folder esc_core: dart run intl_translation:generate_from_arb --output-dir=lib/src/l10n/messages --no-use-deferred-loading lib/src/l10n/messages.dart lib/src/l10n/arb/intl_*.arb <

Building package executable... (3.6s)
Built intl_translation:generate_from_arb.
Error in parsing lib/src/l10n/messages.dart, no messages extracted.
Unhandled exception:
Invalid argument(s): Parsing errors in lib/src/l10n/messages.dart
#0      MessageExtraction._parseCompilationUnit (package:intl_translation/extract_messages.dart:117:7)
#1      MessageExtraction.parseContent (package:intl_translation/extract_messages.dart:102:14)
#2      MessageExtraction.parseFile (package:intl_translation/extract_messages.dart:87:12)
#3      main.<anonymous closure> (file:///home/jimmyff/.pub-cache/hosted/pub.dartlang.org/intl_translation-0.17.10+1/bin/generate_from_arb.dart:113:33)
#4      MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:342:26)
#6      main (file:///home/jimmyff/.pub-cache/hosted/pub.dartlang.org/intl_translation-0.17.10+1/bin/generate_from_arb.dart:116:23)
#7      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:281:32)
#8      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
The terminal process "bash '-c', 'dart run intl_translation:generate_from_arb --output-dir=lib/src/l10n/messages --no-use-deferred-loading lib/src/l10n/messages.dart lib/src/l10n/arb/intl_*.arb'" terminated with exit code: 255.

Terminal will be reused by tasks, press any key to close it.

Is this issue still unresolved? It's been open for 15 months now... :worried:

I am temporarily using this package until the official one is updated:
https://pub.dev/packages/intl_generator
Seems to be a drop in replacement.

Closing in favor of #165 .


Getting date.getTime is not a function

Getting date.getTime is not a function error  from toTimestamp present in helpers.ts
On broadcasting '/cosmos.authz.v1beta1.MsgGrant' message
On  16.9.0 osmojs version
function toTimestamp(date) {
      const seconds = numberToLong(date.getTime() / 1e3);
      const nanos = date.getTime() % 1e3 * 1e6;
      return {
        seconds,
        nanos
      };
    }

Hi
Is it possible that the expiration field's set to a string while it's type's date?

we provide expiration time in seconds (number)

we provide expiration time in seconds (number)

I see, please set the expiration field a Date type


Move and zoom camera to make points visible

It would be useful if the camera could automatically position itself and zoom in/out so that a list of points is completely visible.
Solution idea:

Take a list of points
wrap it into a Geometry
use following existing functionalty

ArcgisMapview.setViewpointGeometryAsync(Geometry, padding)
Android:
https://developers.arcgis.com/kotlin/sample-code/change-viewpoint/
iOS
https://developers.arcgis.com/swift/sample-code/change-viewpoint/

Closed in #56


How to handle popup login window?

Hi Team,
Is there a way to login when I get a popup login window?

OnPrem v8.2

for anyone interested on a workaround, I handled this by making my test run not in private mode and use a profile specifically created just for testing.
more information in selenium page:
https://github.com/SeleniumHQ/selenium/issues/854


⚠ Bofrost.at has degraded performance

In f91698d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1176 ms

Resolved: Bofrost.at performance has improved in 87fa852.


libpath'find_lib_path' returns absolute path for libxgboost.dll on Windows; setup install fails

Environment info
Operating System: Windows 7
Compiler: MSVC++ 12 (Visual Studio 2013)
Package used (python/R/jvm/C++): Python 3.4.4
xgboost version used: 0.6
If installing from source, please provide

The commit hash (git rev-parse HEAD): e7fbc8591fa7277ee4c474b7371c48c11b34cbde
Logs:

Install libxgboost from: ['C:\\Python34\\XGBoost\\python-package\\xgboost\\../..
/lib/libxgboost.dll']
running install
running bdist_egg
running egg_info
writing requirements to xgboost.egg-info\requires.txt
writing xgboost.egg-info\PKG-INFO
writing dependency_links to xgboost.egg-info\dependency_links.txt
writing top-level names to xgboost.egg-info\top_level.txt
reading manifest file 'xgboost.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'xgboost\include'
warning: no files found matching '*' under directory 'xgboost\src'
warning: no files found matching '*' under directory 'xgboost\make'
warning: no files found matching '*' under directory 'xgboost\rabit'
warning: no files found matching '*' under directory 'xgboost\lib'
warning: no files found matching '*' under directory 'xgboost\dmlc-core'
warning: no previously-included files matching '*.o' found anywhere in distribution
warning: no previously-included files matching '*.a' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'xgboost.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
error: Error: setup script specifies an absolute path:

    C:\Python34\XGBoost\python-package\xgboost\..\..\lib\libxgboost.dll

setup() arguments must *always* be /-separated paths relative to the
setup.py directory, *never* absolute paths.

If you are using python package, please provide

The python version and distribution - 3.4.4 official build for Win64
The command to install xgboost if you are not installing from source - python.exe setup.py install (via setuptools)

Steps to reproduce

Download source code of xgboost from github
mkdir build && cd build && cmake .. -G"Visual Studio 12 2013 Win64"
Open xgboost.sln with VS2013 and build all solution with Release configuration, for x64 platform. You'll get lib/libxgboost.dll library.
cd ..\python-package && python.exe setup.py install

What have you tried?

Replace file path in SOURCES.txt file - this has no effect, cuz this file is overwritten every time
Change python-package/MANIFEST.in and exclude lib directory - this has no effect, cuz there is no rule for .dll file
Replace python-package/setup.py, line 19
LIB_PATH = libpath['find_lib_path']()
to
LIB_PATH = ['../lib/libxgboost.dll']
This was the solution.
By the way, this is an issue, and XGBoost team maybe will solve this in a proper way.

I have also met this errror in centos 6.5 64. I search solutions and decide to edit the python-package/setup.py.
Just set 38th "include_package_data=False" then I execute "python setup.py install" succussfully. Finally "import xgboost as xgb" is correct.

@anddelu include_package_data=False is a must since it uses MANIFEST.in for package maintenance and this only affects the installation, not the path. I think your last step of rebuilding xgboost is the right solution where include_package_data=False should remain as it is.

I was running into the same error on Linux running Anaconda Python 3.5.
I think I fixed it by making the following modifications to setup.py:
diff --git a/python-package/setup.py b/python-package/setup.py
index 27fc212..ec9b806 100644
--- a/python-package/setup.py
+++ b/python-package/setup.py
@@ -7,7 +7,7 @@ from setuptools import setup, find_packages
 # import subprocess
 sys.path.insert(0, '.')

-CURRENT_DIR = os.path.dirname(__file__)
+CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))

 # We can not import `xgboost.libpath` in setup.py directly since xgboost/__init__.py
 # import `xgboost.core` and finally will import `numpy` and `scipy` which are setup
@@ -17,6 +17,7 @@ libpath = {'__file__': libpath_py}
 exec(compile(open(libpath_py, "rb").read(), libpath_py, 'exec'), libpath, libpath)

 LIB_PATH = libpath['find_lib_path']()
+LIB_PATH = [os.path.relpath(LIB_PATH[0], CURRENT_DIR)]
 print("Install libxgboost from: %s" % LIB_PATH)
 # Please use setup_pip.py for generating and deploying pip installation
 # detailed instruction in setup_pip.py


GitHub workflow: Cache dependencies

Hi,
is there a reason that the workflow doesn't cache Maven dependencies between runs? Pretty sure it would shave off 3-4 min per run.

I find downloading of deps an important part of Maven's and mvnd's functionality that should not not be faked during testing. If we cache deps we may prevent ourselves from seeing many kinds of issues that have to do with concurrent reading/writing to local Maven repo.

Thanks for answering, that makes sense!


panic: avl: could not find node

panic: avl: could not find node cc17901df20f06d798e5a553a00d6c1a

goroutine 48 [running]:
github.com/perlin-network/wavelet/avl.(*Tree).mustLoadNode(...)
        /src/avl/tree.go:297
github.com/perlin-network/wavelet/avl.(*Tree).mustLoadLeft(0xc0017baba0, 0xc000287290, 0xc000f894a8)
        /src/avl/tree.go:332 +0xbb
github.com/perlin-network/wavelet/avl.(*node).lookup(0xc000287290, 0xc0017baba0, 0xc000042060, 0x22, 0x30, 0x22, 0xffffffffffffffff, 0xc000287170, 0x0)
        /src/avl/node.go:246 +0xf6
github.com/perlin-network/wavelet/avl.(*node).lookup(0xc000287170, 0xc0017baba0, 0xc000042060, 0x22, 0x30, 0x22, 0x1, 0xc000286f30, 0x0)
        /src/avl/node.go:249 +0x18d
github.com/perlin-network/wavelet/avl.(*node).lookup(0xc000286f30, 0xc0017baba0, 0xc000042060, 0x22, 0x30, 0x22, 0xffffffffffffffff, 0xc000286e10, 0x0)
        /src/avl/node.go:251 +0x221
github.com/perlin-network/wavelet/avl.(*node).lookup(0xc000286e10, 0xc0017baba0, 0xc000042060, 0x22, 0x30, 0x22, 0x1, 0x0, 0x203000)
        /src/avl/node.go:249 +0x18d
github.com/perlin-network/wavelet/avl.(*node).lookup(0xc000032090, 0xc0017baba0, 0xc000042060, 0x22, 0x30, 0x30, 0x40de26, 0xc000042060, 0xc000042060)
        /src/avl/node.go:251 +0x221
github.com/perlin-network/wavelet/avl.(*Tree).Lookup(0xc0017baba0, 0xc000042060, 0x22, 0x30, 0x22, 0xc000042060, 0x1, 0x30)
        /src/avl/tree.go:99 +0x5b
github.com/perlin-network/wavelet.readUnderAccounts(0xc0017baba0, 0xe6e1c5a99ef1a568, 0x9f155a1789a13618, 0x589eeb073c27dc36, 0x18327e9529358b44, 0x14a926e, 0x1, 0x1, 0xc0017baba0, 0xbffe70, ...)
        /src/db.go:258 +0xf1
github.com/perlin-network/wavelet.ReadAccountStake(0xc0017baba0, 0xe6e1c5a99ef1a568, 0x9f155a1789a13618, 0x589eeb073c27dc36, 0x18327e9529358b44, 0x0, 0x0)
        /src/db.go:149 +0x64
github.com/perlin-network/wavelet.CollectVotesForSync(0xc000194240, 0xc00019a1c0, 0xc00025ade0, 0xc0000ba690, 0x2)
        /src/vote.go:64 +0x4c2
created by github.com/perlin-network/wavelet.(*Ledger).SyncToLatestRound
        /src/ledger.go:908 +0x11e

This happened on restart so apparently we are not flushing the AVL tree atomically somewhere.
Temporary work around is to wipe the DB when this case is detected (manually).  This workaround has been added to Wavelet-Stack.
We can also have the node optionally wipe the database when this condition is hit, so on next restart it will resync and start working.
The solution is to track down where the atomic update of the AVL to DB isn't happening and fix it

@losfair didn't we have this issue before? did we come to some sort of resolution last time?

Solution to this would be a graceful shutdown (to ensure no write to the avl tree is happening, and the backing database is fully synced).

yes, but what if the process is simply killed? thats actually what happened here

Graceful shutdown requires handling of SIGINT and SIGTERM at least. Those two signals cover most of the cases where a process is "killed".

ok, what if computer manually shut down?)
i mean, don't you think we need some backup plan to check whether db is corrupted or not?
someone can manually mess it as well

or just deleting db files/folder would be a "solution" in that case?

PR #244

I haven't seen this issue since we've implemented graceful shutdown and reduced the amount of restarts needed.  I'm going to close this out and if we have the issue again we can resume looking into it.


MSID: 98531 Version: 1 DOI: 10.1101/2<IP_ADDRESS>7975

MSID: 98531
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>7975
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=98531
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>7975

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/98531v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>7975
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/98531/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

error: [journal-ref-article-title] This journal reference (id c7) has no article-title element.
error: [journal-ref-article-title] This journal reference (id c27) has no article-title element.


Core elements added.

In this PR I add essential elements for further pyleco modules.
I ask you to look at Message, which is a real important for all the other things, and at protocols.py which contains the API definitions (which I will propose in LECO as commands, different Components have to offer).
Content:

rpc_generator contains a helper class to generate json rpc calls and to interpret the response.
protocols contains class stubs defining what a Component has to offer, or what a Communicator has to offer. Communicator is a pyleco tool, which a software (e.g. a GUI) may use to send and receive LECO messages. For example the Directors require a Communicator.
message contains the omnipotent Message
serialization contains helper classes to (de)serialize data, could be included in message.
errors contains error objects (to check error ids, which are not yet defined)
test contains helper classes for tests, for example FakeSockets

P.S: Don't worry about the large line number: I have a lot tests and every file has their copyright notice...

Thanks for your thorough review, @bilderbuchi
I see, that some confusion arose. Here is my concept regarding Message:
"real" attributes (not via property) are the frames defined by LECO.
Access to the information in the frames (e.g. namespace and name in the full_name of a sender or receiver) is done via properties (read_only).
In order to do this data extraction only once (instead of twice for namespace and name), I use a cache, which stores the extracted values at first request.
Similarly, the data property (and constructor argument) is used for the content of the first payload frame (for example our json request).

Thanks for your extensive review.
The protocol definitions (except for the Communicator) will enter the LECO protocol as "message types" (https://github.com/pymeasure/leco-protocol/issues/29), so the two are closely related.
I have tests in place, which verify, that the Components follow the Protocols, so it is very helpful to define the Protocols first.

Now one question remains: should we remove sender_name and sender_node, as they are accessible via sender_elements.name and sender_elements.namespace?
I'd say yes (less code to maintain)
Similarly, the string versions can be reduced to sender_elements_str (restoring symmetry)

:shrug: I don't have an opinion on this, do as you prefer please. :-)

I removed the name related entries (and their string counterparts). We can always add them later again, but removing them is difficult, once they have been added.
I'll remove also the header parts, except for the conversation_id, which is important (to know which message is the answer to a certain request).
I already did write (and test) the code. Tomorrow I'll push it.
WIth that, we will have the first part of pyleco 😁

I removed all the string properties from Message. We can always add them later, if we deem it useful.


Add middleware.next validation tests

This does seem odd to collect the calls but not test them.  👍 to adding this.  One nit:
function () {

Standard formatting requires a space after the function keyword.


ISO code consistency: Upper-case or lower-case?

For language variants we have the following folder names:

de-CH
fr-CA

But also:

pt-br
zh-cn
zh-hk
zh-tw

To ensure consistency:

All folders must be lowercase
Dialect / variant must be uppercase

@synesthesiam @balloob ?

I agree, this should be what we do for consistency.


Feature request: Alignment of controls and text.

Hi,
Great work so far.
I wonder, if we could get a "Controls to the left" feature?
I have placed your extension in the upper left corner, and in this configuration it would be better to have "Icon | Controls | Information" rather than "Icon | Information | Controls".
As the information is of variable length, this would make certain the controls don't move, when the information changes.
Further, if one were to place this to the right of the screen, "Information (text-aligned right) | Icon | Controls" might be preferable?
And last, in a center placement, a fixed width option might make sense with the information either being clipped or scrolling in the available space?

Thanks for replying. This looks like a great idea, I will add it in the next update. Cheers!

Added it in the latest release!


Notification Hubs - Support for Apple (APNS) Token based

Notification Hub
Need support for the new Token-Based authentication-mode used by Apple (APNS)

Hi @PeterOscarsson can you work on this? Not sure I have the necessary bandwidth to implement this feature, sorry about that!


Add Buildable interface

Looks good for me, thanks!

Oops, I just updated the branch.  I had forgotten to put BuildableExtManual in prelude.rs.

As I remember we disable it for some reason, but not remember for what :(

Also please regen with right versions of gir and gir-files

About https://github.com/gtk-rs/glib/issues/219#issuecomment-325376884: this can cause need to specify trait function that need called, Ex. Widget::set_name(&btn, "name") instead btn.set_name("name"),
if this function is infrequently used, then its not big problem.

Hmmm, I'm not convinced that my git submodules are set up correctly... I just did "make" and that downloaded them.  How can I check this?
set_name() is indeed not used very often; it's for styles and themes.

Ah, the dark magic of git submodules!

I've rebased this to master, updated the submodules, and regenerated.  Now all the auto/* get the Buildable interface as appropriate.

:+1:

@federicomenaquintero  Thanks
👍 too.

Just waiting for CIs and then we merge. (please remind me if I forget!)

I restarted appveyour

CI passed here too.

Thanks!

Awesome, thanks!


Implement is_alive method

https://github.com/napalm-automation/napalm-base/pull/128

This has been implemented on all existing drivers.


Set naga capabilities corresponding to wgpu features

Objective
At the moment all extra capabilities are disabled when validating shaders with naga:
https://github.com/bevyengine/bevy/blob/c7c08f95cb784afc366eb2dcedd21d9d40e72d32/crates/bevy_render/src/render_resource/shader.rs#L146-L149
This means these features can't be used even if the corresponding wgpu features are active.
Solution
With these changes capabilities are now set corresponding to RenderDevice::features.

I have validated these changes for push constants with a project I am currently working on. Though bevy does not support creating pipelines with push constants yet, so I was only able to see that shaders are validated and compiled as expected.

bors try

bors r+


Update generator.py

fixing url + prompts + controlnet api

I'm making some improvement so this doesn't need immediate merging


Improve publishing Nuget properties

Add README
Add existing LICENSE file
Add projects links to be visible in Nuget UI
Add icon to package.
Specify version prefix (allow differentiate local/ci/rtm version if needed)

Hi Andrii, thanks! This looks good to me, though admittedly I'm not very familiar with the F# build and packaging. From what I remember you are publishing this package to nuget yourself. Maybe we could automate this process and test it more... I imagine that would be useful?

For now I gradually test how things should work. Basically F# packaging is simple calling dotnet pack which is standard way for devs in .Net of doin things.
I really want to automate it more, but since I have limited time and have to balance other packaging priorities. Think about it as I trying to smooth all kinks without bothering you guys too much. If somebody want to know more about process, I’m ready to answer all questions.

I have a very capable makefile setup, Forge, that is almost working with FSharp (some F* system changes need to be handled for the latest revision). I'll add this to it.


Use a proper case-insensitive sorting algorithm for sidebar

So that IO type and io namespace are next to each other in the sidebar.
https://hackage.haskell.org/package/rfc5051

Ported that library to elm and now sort using it, with the exception of patches, which I always sort to be at the end of the list.


fix mountoptions don't allow blank space issue

Just FYI. I fixed a common bug in blobfuse flexvol driver, e.g. If we specify mountoptions: "--file-cache-timeout-in-seconds=120 --use-https=true", since there is a blank space there, flexvol driver could never parse that correctly and eventually mount failed, I fixed this issue by specify JSON=$2 before exec mount $* in line#148
@ritazh @khenidak

BTW, I also optimized the deployment scripts by using azure-custom-script-extension:
https://github.com/Azure/kubernetes-volume-drivers/tree/master/flexvolume/blobfuse#option1-use-azure-custom-script-extension-to-install-blobfuse-driver-on-every-agent-vm
Origianl k8s daemonset for some flexvol drivers won't work since some drivers need install packages, e.g. blobfuse


Change js lib paths

Out of the box the examples don't work due to the paths to the libs in the index.html that are not correct.

Thanks. I will have to look into the gruntfile and check if we have to change some things there as well. Until now we were using grunt dev to start a local server that would serve those files. But it is probably unnecessary. And the changes you proposed are already implemented in the gh-pages branch.

This is currently incompatible with the way we load editable.js from the .tmp folder when developing. We could move the index.html file directly into the project folder but as of now I'd rather not do this to keep things a bit more separated.


Undefined array key "hashtags" error whilst using  | urlify filter on tweet text

This error gets thrown when a tweet doesn't have any hastags. The error seems to occur on this line:
foreach($this->_unique_array($tweet['entities']['hashtags'], 'tag') as $hashtags) {
It potentially just needs an additional check to ensure the hastags array is defined prior to this running?
The new filter was added in 4.1.0  after my FR https://github.com/percipioglobal/craft-tweet-feed/issues/7

Hi @andrewhawkes,
Can you show me where you are using the | urlify filter on please?

Cutdown version without all the markup:
{% set tweets = craft.tweetfeed.tweets(6,'author_id,context_annotations','&exclude=retweets,replies&user.fields=id,profile_image_url,username') %}

{% if tweets and tweets | length %}

  {% for tweet in tweets %}

    <p>{{ tweet | urlify | raw }}</p>

  {% endfor %}

{% endif %}

Thanks for the feedback, I'll add it to our list to solve 👍🏼

Hi @andrewhawkes,
Can you check if the new release fix this issue for you? You can re-open the issue if this is not resolved


Make base directories

Always having to make the same empty directories so they exist when I'm ready to dev is weak work.
Base directories

[ ] ~/go
[ ] ~/src
[ ] ~/bin
[ ] ~/envs
[ ] ~/.vim_swap
[ ] ~/.vim_undo

This was fixed with fabric, but now it's not because we're using ansible. Work is tbd.


 I noticed this issue long time ago and I am planing to fix it in the next major release (version 2) since it is a breaking change and not backward compatible.
Thank you


fix deployment issue in CAP starter scenario by using SAP HANA Cloud service

resolves https://github.com/SAPDocuments/Issues/issues/425

still I am getting error - I am using BAS and connecting CAP project in BAS to HANA Cloud instance. Can you please provide steps to get rid of this issue.


Why the manual is formatted with tw=78?

Bram, what is the reason that the manual is formatted with tw=78? And not e.g. tw=79, which is the default for gq. (This simple question bothered me for years!)

John @.***> [220531 21:13]:

Sorry for using issue tracker to ask a question, but I simply don't
know how to get an answer from Bram himself.

Typically, sending to the group @.*** (alias
@.) or @. (alias @.***) will
accomplish what you wanted, whether or not you explicitly address the
question to Bram.
In the README at github.com/vim/vim under the heading Information you
will find a pointer to a page describing the mailing lists.
...Marvin


Is it necessary to have the "max_ground_height"

As explained in the following code comment, it seems that the "max_ground_height" param is there to project "ground_height", "groud_dist" and "robot_height" to the same reference level surface. Why is this necessary?
      // Get the point on the ground at a heigh of       // planning_params_.max_ground_height       projected_edge_pt(2) -=           (ground_height - planning_params_.max_ground_height);

Sorry for the late reply.
The max_ground_height is the height above the ground at which a vertex in the graph is projected to get before doing the collision checking.

Thanks for the explanation. I tested it on flat surface, it worked as explained and expected. I will do more tests on uneven surfaces today.


Allow to exclude some letters from generator

Using some of an English letters cause a ambiguity. So it's hard to guess which one was used. As an example in some fonts it's hard to guess between 'o' and '0' (zero), or 'l' (small L) and 'I' (capital i). It's better not to use them at all.

This issue has also been addressed with a better font that distinguishes between the ambiguous characters.


[SPARK-42132][SQL] Deduplicate attributes in groupByKey.cogroup

What changes were proposed in this pull request?
This deduplicate attributes that exist on both sides of a CoGroup by aliasing the occurrence on the right side.
Why are the changes needed?
Usually, DeduplicateRelations rule does exactly this. But the generic QueryPlan.rewriteAttrs replaces all occurrences of the duplicate reference with the new reference, but CoGroup uses the old reference for left and right group attributes, value attributes, and group order. Only the occurrences in the right attributes must be replaced.
Further, the right deserialization expression is not touched at all.
The following DataFrame cannot be evaluated:
val df = spark.range(3)

val left_grouped_df = df.groupBy("id").as[Long, Long]
val right_grouped_df = df.groupBy("id").as[Long, Long]

val cogroup_df = left_grouped_df.cogroup(right_grouped_df) {
  case (key, left, right) => left
}

The query plan:
== Physical Plan ==
AdaptiveSparkPlan isFinalPlan=false
+- SerializeFromObject [input[0, bigint, false] AS value#12L]
   +- CoGroup, id#0: bigint, id#0: bigint, id#0: bigint, [id#13L], [id#13L], [id#13L], [id#13L], obj#11: bigint
      :- !Sort [id#13L ASC NULLS FIRST], false, 0
      :  +- !Exchange hashpartitioning(id#13L, 200), ENSURE_REQUIREMENTS, [plan_id=16]
      :     +- Range (0, 3, step=1, splits=16)
      +- Sort [id#13L ASC NULLS FIRST], false, 0
         +- Exchange hashpartitioning(id#13L, 200), ENSURE_REQUIREMENTS, [plan_id=17]
            +- Range (0, 3, step=1, splits=16)

Does this PR introduce any user-facing change?
This fixes correctness.
How was this patch tested?
Unit test in DataFrameSuite.

Ideally, QueryPlan.rewriteAttrs would not replace occurrences id#0L# with id#13L in all fields of CoGroup, but only in rightDeserializer, rightGroup, rightAttr, rightOrder:
case class CoGroup(
    func: (Any, Iterator[Any], Iterator[Any]) => TraversableOnce[Any],
    keyDeserializer: Expression,
    leftDeserializer: Expression,
    rightDeserializer: Expression,
    leftGroup: Seq[Attribute],
    rightGroup: Seq[Attribute],
    leftAttr: Seq[Attribute],
    rightAttr: Seq[Attribute],
    leftOrder: Seq[SortOrder],
    rightOrder: Seq[SortOrder],
    outputObjAttr: Attribute,
    left: LogicalPlan,
    right: LogicalPlan) extends BinaryNode with ObjectProducer { ... }

Can one of the admins verify this patch?

cc: @cloud-fan @viirya @gengliangwang For help with reviews.

+CC @HyukjinKwon, @cloud-fan

Fixed in #41554.


[Bug]: Rating widget appears broken on dropping into canvas

Is there an existing issue for this?

[X] I have searched the existing issues

Description
On dropping a Rating widget onto canvas on a 13" laptop, with Fluid width selected - the Rating widget seems cutoff on Release url.
Steps To Reproduce

On the release url, create a new page. Make sure the Canvas size is fluid width.
Drag and drop the rating widget.
The widget stars are cutoff.

This is not the issue on Prod. If Canvas size is made - Desktop, Tablet Large or Mobile device - this issue is not seen. Problem is seen in Fluid width and Tablet.
Display - 13" screen.

Public Sample App
No response
Version
Release

Reproducible, we can increase the default width to be more but this looks like a bigger problem across widget drops.
Whenever a widget drops, we need to make sure it looks best in every possible resolution. A few ways to do this

Responsive default data - Today only the width is responsive, but if we also had different default widget behavior for different widths this would be better
For smaller grid sizes or no. of grids the widget width when dropped should be increased to make sure there is a fixed range of px value for it

For now we will increase the width of the rating widget to make sure it doesn't break across any screen size.

Assuming the impacted apps are being built on mobile and tablet for easier calcuation.
Stats

Stat
Values

Reach
215

Effort (months)
0.5


vimPlugins.copilot-lualine: init at 2024-09-03

Description of changes
Added vim Plugin for copilot.lua integration with lualine. Works locally.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@figsoda sorry for nagging you but any chance you could take a look at this? Or ping someone with merge rights? Thanks!

I noticed this plugin relies on copilot-lua & lualine-nvim. Would it be possible to add them as dependencies, similar to here?

Should be done now, please recheck.

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

x86_64-linux

:white_check_mark: 2 packages built:

vimPlugins.copilot-lualine
vimPluginsUpdater

aarch64-linux

:white_check_mark: 2 packages built:

vimPlugins.copilot-lualine
vimPluginsUpdater

x86_64-darwin

:white_check_mark: 2 packages built:

vimPlugins.copilot-lualine
vimPluginsUpdater

aarch64-darwin

:white_check_mark: 2 packages built:

vimPlugins.copilot-lualine
vimPluginsUpdater


TWG Request 2021/06/28 - Treasury Assets per Index Token

From Matt:
Is there a way to do the following calc:
Sum of USDC & DPI in USD terms dividend by qty of INDEX in circulating supply. Then a seperate calc, same numerator with total INDEX supply as the denominator
This metric would show hold much of the current INDEX price is essentially cash on hand

@jackiep00 could we rename this issue so it is a bit more descriptive? Thanks!

@jackiep00 moved this to "in progress"

Additional requests that I'm going to bundle in with this:

Can we create a price to sales ratio similar to nexus mutual for INDEX using total supply and then circulating supply?
a) Held INDEX (cumulative)
b) Hold INDEX - passive
c) Hold INDEX - via LP positions
d) Rate of change - 3 variables above on a daily/weekly basis
e) 7 day trading vol
f) 30 day trading vol
g) Standard deviation in token price against USD
h) Standard deviation in token price against ETH
i) Correlation coefficient INDEX to ETH over the last 90 days
j) Correlation coefficient INDEX to ETH since genesis

asking for additional clarification

Another few requests:

From Madila:
May not be 100% treasury related but close enough so will post here.
Can we get a graph showing the value of $INDEX sat at the staking contracts over time? Maybe worth having a USD one and a unit one also showing flows.

My thinking here is if LM'ing is turned off / reduced, people may unstake their LP positions, therefore claiming the rewards. That's a fair bit of as of now illiquid Index potentially becoming liquid at once. Could be fun.
MVI
https://etherscan.io/tokenholdings?a=0x8f06FBA4684B5E0988F215a47775Bb611Af0F986
DPI v0.1
https://etherscan.io/tokenholdings?a=0x8f06FBA4684B5E0988F215a47775Bb611Af0F986
DPI v0.2
https://etherscan.io/tokenholdings?a=0xB93b505Ed567982E2b6756177ddD23ab5745f309

From Matt:
are you able to predict forward when INDEX tokens are to be released from the year 2 and year 3 vesting contracts ?
I’d like to have a year 1, 2 and 3 vesting contract distribution all shown in a single chart. Like number of INDEX that comes available to the community per day
More details here:
https://github.com/SetProtocol/index-coop-smart-contracts/blob/master/contracts/token/Vesting.sol#L54
Total vesting amount *
(current timestamp - last time claim was called) / (vesting end time - vesting begin time)
e.g. 100 INDEX vesting over 1 year. Last time claimed: 1 week ago would be:
100 INDEX * 604800 seconds (1 week) / 31556926 seconds (1 year) = 1.916 claimable INDEX
I’m thinking a cumulative chart from 6/10/2020 through to 06/10/2023

Closing prices instead of average prices
we were looking at this query https://duneanalytics.com/queries/44939/127055 for month-end balances and noticed the price appears to be using an average of the price throughout the day by minute.  Could we use a midnight UTC price given we will primarily be using it for "closing the books" so to speak

more requests:
From Matt
4. Further to this @jackiepoo is it possible to look back through the staking contract, see what wallet address retrieved INDEX and then has a sell INDEX for ETH transaction within 48 hour window ? This would give us a ratio of portion of INDEX from LM sold on market upon being retrieved from LM staking contract

Is it possible to pick up the number of LP token in the MVI staking contract ?
Address: 0x5bc4249641b4bf4e37ef513f3fa5c63ecab34881
If we can create a chart showing the Qty of LP tokens staked in the contract, a cumulative and daily net change would be great data.
We can then create an APR chart which utilises the daily USD value of INDEX and the rate at which INDEX is being distributed. Distribution is 3,286 INDEX over 30 days, so like 109.53 INDEX per day

Once i get the Treasury Assets approved, I'll close this issue and organize these requests into new issues with priorities and complexity estimates and whatnot


Rename getQueryLog to fetchQueryLog

Why are the changes needed?

Rename ExecuteStatement#getQueryLog to ExecuteStatement#fetchQueryLog, to suppress IDEA complaination Accessor-like named method has Unit result type and make it more readable.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #691 (96c0c26) into master (a2f1e22) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #691      +/-   ##
==========================================
- Coverage   80.56%   80.51%   -0.05%
==========================================
  Files         122      122
  Lines        4738     4738
  Branches      574      574
==========================================
- Hits         3817     3815       -2
- Misses        600      601       +1
- Partials      321      322       +1

Impacted Files
Coverage Δ

...org/apache/kyuubi/operation/ExecuteStatement.scala
80.48% <100.00%> (ø)

...org/apache/spark/kyuubi/SQLOperationListener.scala
92.30% <0.00%> (-5.13%)
:arrow_down:

Continue to review full report at Codecov.

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

thanks, merged to master for v1.3.0


Performing KMEANS Clustering on Dataset

Hello,
I have a single cell NGS data that I am trying to further analyze beyond the analysis that we get from 10x Genomics. I see that there is Louvain clustering, etc. However, for the analysis, especially those that are visually concerned, I would like to use K-MEANS with k = 6, how do I assert this in ScanPy.
Please, any help you may be able to provide will be useful
Thank you,
JPV95

There is no way to do it in Scanpy. You can use scikit learn for it. 🙂


⚠ Mobitopup has degraded performance

In c3568cc, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 14730 ms

Resolved: Mobitopup performance has improved in c047bc4.


Fix put template

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug Fix

What is the current behavior? (You can also link to an open issue here)
When you do a PUT request in template and you want to change the metadata, it isn't working.

What is the new behavior (if this is a feature change)?
This PR introduce the correct work of PUT method with metadata.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Is there any issue related to this PR in other repository? (such as dojot/dojot)
This is connected to dojot/dojot#779

Other information:

But I'd wait for other reviewers :smiley:


refactor: Simplify SendCoinsDialog::updateCoinControlState

This PR doesn't change behaviour, removes the coin control argument from updateCoinControlState since it's a class member.

Concept ACK on simplifying code.


[BUG]: Form reportValidity() doesn't trigger error messages

Issue description
I'm triggering reportValidty() myself, there's a initial data loading with invalid validations but there's no error shown. I'm triggering the form.reportValidity() myself. It focuses to the input with native error message but no error text message is shown at the component.
Media & Screenshots

Baklava Version
No response
Operating system

OS: [e.g. iOS]: MacOS
Browser [e.g. chrome, safari]: Brave

Priority this issue should have
Low (slightly annoying)
Please review the checkboxes that are applicable.

[ ] This issue is directly related to React

In fact, it sets aria-invalid to true but no text is shown.

Additional note, if you use checkValidity() directly to the input (including of select, textarea etc.) it works. But that's too much work and unintended, it should work on the form pass down to the elements.

Do you use novalidate on parent form element? By default error messages being shown in native popups. But <form novalidate> should pass this responsibility to our components.

If I set noValidate, it doesn't stop the form from submitting.


Run rsync with source as remote

Hey,
I want to run rsync in ruby while the source is the remote server and the destination is the local server.
as I saw in the code the only way I can run rsync is with destination as remote and local as source:
https://github.com/jbussdieker/ruby-rsync/blob/master/lib/rsync.rb#L16
how can I run rsync while the source files is in the remote server?
Thanks

Did you ever figure this out?


Support for SQL single-line comments

This adds some support for SQL single-line comments like the following:
SELECT * FROM test; -- Select some data

Full disclosure: I didn't really read the source code properly, so I don't know if these changes break something. I just adapted the code for C-style single-line comments. But it seems to work fine for me.

Thanks!
Your other PR https://github.com/Waqar144/QSourceHighlite/pull/6 also contains one of the commits from here. Do you want to change this one or close that one? I am fine either way

Yeah, I messed that up. I'll just close the other one. That's probably simpler.

Thanks a lot


4.6-rc-2: JUnit 5 does not load extensions with SeviceLoader and an internal failure that doesn't fail test task

JUnit 5 supports extensions automatic registration via ServiceLoader (https://junit.org/junit5/docs/current/user-guide/#extensions-registration-automatic). If in the same projects resources then
Expected Behavior
They should be included.
Current Behavior
They are not included, and an internal exception occurs but the build does not fail.
Context
Migrating from JUnit 5 plugin to Gradle support. The project I am working on uses service loading feature by defining extensions in the same project test resources.
Steps to Reproduce (for bugs)
This is supported in the current JUnit 5 Gradle plugin (https://junit.org/junit5/docs/current/user-guide/#extensions-registration), but does not appear to be working in the migration.

Create an extension. For example:
package mkobit;
import org.junit.jupiter.api.extension.BeforeEachCallback;
import org.junit.jupiter.api.extension.ExtensionContext;

//@org.junit.jupiter.api.extension.ExtendWith(MyDumbExtension.class)
class MyDumbExtension implements BeforeEachCallback {
  @Override
  public void beforeEach(final ExtensionContext context) throws Exception {
    System.out.println("We should fail");
    throw new RuntimeException("Things should fail!");
  }
}

Add an extry to a file META-INF/services/org.junit.jupiter.api.extension.Extension in the resources directory. In my project, this is in src/test/resources/META-INF/services/org.junit.jupiter.api.extension.Extension

Enable auto registration with system property systemProperty('junit.jupiter.extensions.autodetection.enabled', 'true')
mkobit.MyDumbExtension

Run tests, see internal exception and build succeeds

Extension is not included

Repo example at https://github.com/mkobit/gradle-4.6-junit-5-issue
Your Environment
Gradle 4.6.1
Scan: https://scans.gradle.com/s/zojscmisf4icq

@mkobit thanks for the report! The repo is empty, did you forget to push your example?

Thanks for reporting. This is because your class is package-private and java.util.ServiceClassloader cannot instantiate it. An internal exception is not handled properly.
Of course you can change your class to public as a workaround. Anyway Gradle should take this situation into consideration. I'll fix it soon.

Sorry! Mistakenly did not push up the example.
I think @blindpirate figured out the unhandled exception and my mistake with the ServiceLoader example. I think I may have had a different case for the extension not being discovered, so let me try and reproduce that, too.

Ok, I tried to reproduce the other not getting discovered issue, and I haven't been able to. I'll adjust the title of this issue to reflect the discovered problem.


ModuleNotFoundError: No module named 'msvcrt'

Works fine after removing import msvcrt for Linux

Oh I removed the dependency but forgot to remove the import statement. Will fix in the next commit.


Seems to render the same. Fix #303.

Just a cleanup: Rendering doesn't change. @afred.

@mccalluc do you know why were these here in the first place? Did we have the collapsed nav at one point? I don't remember.

@afred: Maybe they were there to support a hamburger button in mobile views, but I really don't know.

@mccalluc i only now realize that we don't have a hamburger menu. M'oh well.