Copy blobs from a container to another container using Azure CLI under Data Lake Storage Gen2 account

Hello,
In Data Lake Storage Gen2 accounts, can we use Azure CLI to copy blobs from a container to another container?
I tried to use the command "az storage blob copy start" to copy blobs, and it showed this result:
"The command failed with an unexpected error. Here is the traceback:
Blob API is not yet supported for hierarchical namespace accounts. ErrorCode: BlobApiNotYetSupportedForHierarchicalNamespaceAccounts
<?xml version="1.0" encoding="utf-8"?><Error>BlobApiNotYetSupportedForHierarchicalNamespaceAccounts<Message>Blob API is not yet supported forhierarchical namespace accounts.  ......"
Seeking confirmation on this and whether there is any other az cli/powershell command available for copying blobs under different containers in Data Lake Storage Gen2 accounts. Thank you.

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

ID: 46d15a48-4780-edbb-4485-121f901cbac9
Version Independent ID: fc65764c-2d2a-4901-5c31-82b4566bf3bc
Content: Known issues with Azure Data Lake Storage Gen2
Content Source: articles/storage/blobs/data-lake-storage-known-issues.md
Service: storage
Sub-service: data-lake-storage-gen2
GitHub Login: @normesta
Microsoft Alias: normesta

@tina-ho Thanks for the Comment. We are actively investigating and will get back to you soon.

@tina-ho  I would suggest the easiest  option is to use Azure Storage Explorer or You can try the following script based on Azcopy. It will list all containers in a storage account, and copy them to another storage account one by one by AzCopy .
https://docs.microsoft.com/en-us/azure/storage/scripts/storage-common-transfer-between-storage-accounts. If the issue still persists. I would recommend to create a forum thread with screenshot of the error message
I'd recommend posting your question in https://social.msdn.microsoft.com/forums/azure/en-US/home?forum=windowsazuredata since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


test change for packit

Signed-off-by: Lokesh Mandvekar<EMAIL_ADDRESS>

/packit copr-build

/packit copr-build

/packit copr-build

Hey @lsm5!
You picked the harder route of onboarding to packit using a source-git workflow. That's intended for downstream maintainers who cannot use packit in the upstream projects - which is not your case I presume :)
You can look at my PR over here: https://github.com/TomasTomecek/libpod/pull/1
With that configuration, you should be getting builds of PRs for all Fedora versions (including rawhide).


Metric name path bug fix.

Fixes #68

metric_name argument changed as path.
Both relative and absolute paths are available for use.

LGTM


karma 1.4.0 broke IE8 support

Expected behaviour
Running karma in IE8 is possible.
Actual behaviour
IE8 does not work anymore.
Environment Details

Karma version (output of karma --version):
Relevant part of your karma.config.js file

Karma version: 1.4.1
My karma config is available here
Steps to reproduce the behaviour

Start karma with something like

karma start test/karma.conf.js --no-single-run

navigate to <IP_ADDRESS>:9876 once it loads
notice that there are errors in the console.

I noticed this first when greenkeeper updated the dependency to karma 1.4.0. After several travis build retries, it still wouldn't connect to IE8 (see build).
It looks like it's related to the socket.io update and probably broke inadvertently.
Dropping back down to version 1.3.0 of karma, everything works great still.
Potential solutions, they're not mutually exclusive:

add the es3 preset to make sure that words like default are quoted properly.
investigate why the socket.io update causes an error
drop support for IE8 in a major update

I'd be happy to try and help making the first two options happen. In the meantime, I'm staying with the 1.3.0 version of karma.

Here's greenkeeper's issue against the videojs project which alerted me to this: https://github.com/videojs/video.js/issues/3946

Thank you for the report. If you could help us figure out what exactly the issues are, that would be great. As far as I understood socket.io broke IE8 but fixed it later at which point I upgraded the dependency. But it sounds like sth ist still not right.
Agreed on using ES3 preset, want to do a PR for that?

I'll make a PR for the es3 preset and I'll investigate the socket.io thing. Thanks for the quick response!

The es3 preset PR: https://github.com/karma-runner/karma/pull/2557

So, the socket.io issue is that uglify 2.7 disabled support for IE8 in a minor version update. Since karma  uses the minified file it broke. Switching to the unminified file works great. I'll open an issue/PR against socket.io-client

I opened up an issue against socket.io-client: https://github.com/socketio/socket.io-client/issues/1063
Unfortunately, I can't help out anymore with this this week (most likely). It seems like the problem isn't even in socket.io-client but in a dependency.
An easy workaround is to serve the socket.io-client file manually and only use the unminified file as that one works.
I'll check back in next week.

Does anyone know of a workaround for this? I can't seem to get IE8 working even if I downgrade Karma to 1.3.0.

@exogen Sizzle uses Karma 1.1.1 and it seems to work with IE 8 and even 7: https://travis-ci.org/jquery/sizzle.

@mgol Thanks for the tip! After I couldn't get 1.1.1 to work either, I started looking at other dependencies. It works after swapping out karma-mocha/mocha/expect.js for karma-jasmine/jasmine-core, so I guess one of those deps broke IE8 compatibility. Karma 1.3.0 does indeed work with IE8 (latest is still broken however).

@exogen look at https://github.com/karma-runner/karma-jasmine/issues/105 and https://github.com/karma-runner/karma-mocha/issues/104 maybe this is your case

Can anyone in this thread verify that this issue is fixed on master with socket.io version 2.0.3?

I had a test run in Video.js using the latest karma from github and it seems to be working: https://travis-ci.org/videojs/video.js/builds/313129759
There's also been a lot of things happening in the repo since the last release, so, another release would be awesome!

@dignifiedquire any change we could get a new release of karma? The update to socket.io seems to have fixed this issue. Thanks!

2.0.0 is out and seems to be working great! Closing this issue as addressed. Thanks!

Great to hear, and sorry for it taking so long.
On 21. Dec 2017, 19:11 +0100, Gary Katsevman<EMAIL_ADDRESS>wrote:

2.0.0 is out and seems to be working great! Closing this issue as addressed. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

It happens, thanks for your hard work!


Metrics drill-down

Have drill-down metrics in the same way as we have drill-down charts

for today: continue studying how metric drill down works and continue implementing the code

Tested and confirming that works as expected.
"added": [
    {
      "what": [
        "ability to drill down metrics, by clicking on a data entry inside the metrics block.",
        "Based on the configuration it can either filter an existing record list on the page, that is showing the records from the same module as the metric, or open a new record list in a modal."
      ],
      "why": [
        "to make it easier for users to filter record lists based on metrics data, in order to view the details of said data."
      ],
      "refs": [
        "https://github.com/cortezaproject/corteza/pull/1184/commits/80bd7478d0a57c971297b1d314e97e574fb3473c",
        "https://github.com/cortezaproject/corteza/pull/1184/commits/6bb607b2daec638734bed46f06f26a42bce7b54c",
        "https://github.com/cortezaproject/corteza/pull/1184/commits/8a57dec14bc0622a7d5b125befa933acaa8f8e33",
        "https://github.com/cortezaproject/corteza/pull/1184/commits/321a7973634aafc84ec02e8ef31aca545784dcf6"
      ]
    }
  ]


Non-runnable tests can be continuously run

Type: Bug
Using the Testing API (i.e. within an extension):

Create a test item, "A", that includes the tag id: runnable.
Create a test item, "B", that does not include that tag.
Create a run profile with tag id: runnable and supportsContinuousRun: true.

A is runnable and continuously runnable - that is, it correctly shows the run (triangle) button and the continous run (eye) button. B is not runnable, which is correct. However, B is continuously runnable.

CC @connor4312

@firelizzard18 can you verify?

/verified

Confirmed, I can now mark my fake test items as non-runnable and it works as I'd expect.


Web view to edit connection settings

I think it would be neat if we could add a webview with simple input boxes and lists that would let the user manage the current connection settings (instead.getConfig()).
This might make it nicer than having to keep editing the JSON file.
The user would click 'Save', pass the new values back to the app and the app would call set to update the config (or maybe we need a setMany too?)

If anyone would be interested in building the UI for this, please let me know. I can do the actual forms and functionality, but the design won't be that good.

Decided against the above. It had some external deps like formio, bootstrap and fontawesome.. which I don't really want to ship with the extension.

Looks like this could be great for the design, but not sure how to handle the library list still. https://bendera.github.io/vscode-webview-elements/pages/getting-started/

Well I incorporated that frontend framework into the extension and made it easy for us to extend the UI. I only added two basic component types but it will be easy to add more!
https://github.com/halcyon-tech/code-for-ibmi/blob/master/docs/api/custom-ui.md


error matrix2loess.pl

$ perl /home/lixingze/software/cworld-dekker/scripts/perl/matrix2loess.pl -i fastq.sample_Chr1.sample_Chr1.matrix
Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.
Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.
Error in plot.window(...) : 'ylim' It's not worth it
Calls: plot -> plot.default -> localWindow -> plot.window
in addition: Warning messages:
1: In min (x): all parameters in Min do not exist; Reply inf
2: In max (x): all the parameters in Max do not exist; Reply inf
Stop execution
Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.
Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.
Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.
Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.
Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.

Hi, I have the same problem, is there any solution?

@valderpan - can you post an example input matrix + command?  I can take a look.  Seems like it is something with the date print.

@blajoie - Hi, thank you for your attention.
First of all, I created a 50kb resolution matrix from the output of hic-pro (iced_matrix and bed) using a in-house script.
Then, run the script matrix2loess.pl:
perl ./cworld-dekker-scripts/perl/matrix2loess.pl -i Test.hg19_9.50kb.matrix
In the output, I found that the values in the columns loessExpectedValue and loessExpectedStdev in the .loess.gz file are both NA, which should be the problem of the error reported in the script.
Attached below is my matrix file, can you give me some tips? Thanks a lot!
Test.hg19_9.50kb.matrix.gz

@blajoie - Hi, thank you for your attention.
I think I have solved this problem. The reason is that the MATRIX I generate is not symmetric, only half of the matrix has values. When I corrected it to a symmetric matrix, no error was reported.


How to migrate to go modules?

I'm just wondering if anyone has a good tip on how to migrate from gb to the newly landed go modules (previously vgo).
There seem to be a few important steps:

[x] convert vendor/manifest
[x] create go.mod
[ ] rewrite import paths

rewrite import paths
I'm working in a project with 255 files and they're all using gb src-relative paths. I've been trying to figure out some automated way to rewrite the import paths to absolute project paths. So far, no dice.
convert vendor/manifest to go get
I'm actually just starting to use go (the big project is something I've inherited), so it was quicker for me to write this in node.
convert-manifest-to-go-mod.js:
'use strict';

// How to use private repos that require authentication:
// https://github.com/golang/go/issues/26134#issuecomment-403885803

var fs = require('fs');
var manifest = JSON.parse(fs.readFileSync('./vendor/manifest', 'utf8'));
manifest.dependencies.forEach(function (dep) {
  console.log('go get ' + dep.importpath + '@' + dep.revision);
});

touch go.mod
node convert-manifest-to-go-mod.js > go-get.sh
bash go-get.sh

If you need a quick node installer to run that: https://git.coolaj86.com/coolaj86/node-installer.sh
bash <(curl -fsSL bit.ly/node-installer)

create go.mod
You can't use go mod init with gb projects. However, it's fairly easy to work around that.
The go.mod file needs an import (possibly something like github.com/username/project, though I prefer to use my own domain)
go.mod:
module example.xyz/go/mypkg

require (
)

You also need to add an import comment to the package <name> declarations:
-package main
+package main // import example.xyz/go/mypkg

Here's where things get messy: go build doesn't support relative import paths and gb build appears to not have a way of specifying an absolute package, so it seems like I can't do the transformation gracefully a little at a time.

I just did go mod init in a GB-using directory and it automatically picked up vendor/manifest and created a mostly reasonable go.mod for me (at least as much as it can given that vendor/manifest doesn't persist things like tags by default):
$ GO111MODULE=on go mod init
go: creating new go.mod: module foobar
go: copying requirements from vendor/manifest

I do this
$ pushd /Users/me/awesome.io/secret/sauce
$ ls
src/
vendor/
static/
bin/
README.md

$ GO111MODULE=on go mod init

go: cannot determine module path for source directory /Users/me/awesome.io/secret/sauce (outside GOPATH, no import comments)

(note: there's some other files that show up in ls that I don't think are relevant - docker, circleci, etc, but this is an inherited codebase, so I don't know too much yet)
I remedy with this:
$ GOPATH=/Users/me
$ export GOPATH

src/sauce/main.go
package sauce // import "awesome.io/secret/sauce"

I get the same result.
Now, I don't even know how gb build knows which files to build or where they are.

If you don't understand how gb currently builds your code, then I'd wager you're going to have a very difficult time understanding how to switch from gb over to Go modules.  Perhaps you need to spend a little more time with the source you're working with first to understand how it works / what it's doing?  I'd also recommend spending some time learning how gb works (it's not very complex at a high level if you understand how go build works, but it is a little difference since it is a way to avoid the GOPATH on versions of Go that didn't support modules).
  I'm not a maintainer of gb (just an interested contributor), but I don't feel like there's really anything for gb itself to do here (especially since go mod init already supports gb's vendor/manifest file format for conversion).

This works fine
gb build

And I am familiar with the current code. And I know how to use go's "normal" way of doing things with abs paths and such. It's important to me to switch the imports over so that I don't have to fight against gb (which, for all the great good it has provided, appears to be unmaintained and is probably not particularly necessary moving forward) for go test, godoc, etc, etc.
It seems like gb has brought a lot of value to a lot of people for a long time. I can only imagine it contributed significantly to the community discussion and tooling that has lead to go modules proper.
Could you point me to some small sample projects? I was looking around for quite a bit before I posted here.

Sure, just for the sake of illustration (and because it's something I've been meaning to do), I've just converted https://github.com/tianon/gosleep from using gb to using Go modules:
https://github.com/tianon/gosleep/commit/af5b6562f838eb9e620158ca4525091712d69a94
The only steps I did for the actual conversion were the following:

mv src/gosleep/*.go ./ (so our code isn't using the gb-introduced src/ directory anymore which hides the code from Go's default search paths)
update main.go to include package main // import "github.com/tianon/gosleep" (so go mod knows where we're supposed to be without a GOPATH)

$ GO111MODULE=on go mod init
go: creating new go.mod: module github.com/tianon/gosleep
go: copying requirements from vendor/manifest
$ GO111MODULE=on go mod verify
go: finding github.com/jessevdk/go-flags v0.0.0-20170212220246-460c7bb0abd6
go: finding github.com/jinzhu/now v0.0.0-20170212112655-d939ba741945
go: finding go.tianon.xyz/progress v0.0.0-20170120223140-598c27a6e143
go: finding golang.org/x/crypto v0.0.0-20170508154713-122d919ec1ef
all modules verified

as an extra step, I updated go.mod to reference github.com/jessevdk/go-flags via the v1.4.0 release version (instead of the commit vendor/manifest was pointing to) and ran go mod tidy

(I also use Docker for building release binaries there, so you can see some Docker-related changes in that commit as well.)

Thanks for that.
FYI: this is what was the most helpful for me after trying govers and gofmt -w -r '"thing" -> "otherthing"', etc:
find . -type f -print0 | xargs -0 sed -i '' 's:"modulename/:"awesome.io/secret/sauce/modulename/:g'

Good old fashioned sed. Note the sed -i '' for macOS compat.
I put the leading " and the trailing / to disambiguate other occurrences of the module name in the code.


Runs cargo update

I (and a few other sources, notably the tgstation docker build github action) aren't able to compile rust-g on the latest rust version due to the git2 library, which needs an update to work. Tested and seems to work when I try it.
Note, I'm unable to work with rust much beyond this so if more is needed I may not be able to do it

you should really do a release when you update this

I'm a rust babby, sorry

I'm a rust babby, sorry

the release still gotta be done tho 👁

delegated to @Mothblocks

It's on my todo, I'll get to it tomorrow.


[Feature Request] Show word count and the duration of the test in the report.

Now the information shown in the report is very limited, only WPM, CPM, accuracy, mistakes and attribution in -quotes.
I have some text files having paragraphs exceeded thousand characters, which takes a lot of time to complete the test.
I would like to know the duration that I performed the test, but I do not want to manually count the words in the previous paragraph and do the math ( word count / WPM), or start a counter when I start a test.

Just found out the WPM is CPM/5 in the source code... why?

From my reading, this is to simplify the calculation. I have seen similar code in similar programs. Primarily, the issue is that this program supports live WPM counts as you go through an exercise.  Having different methods to count live and upon completion might cause a large mismatch that would make the live count misleading.


Fibonacci in Cairo

Description

Create a script in Cairo that calculates the Fibonacci of a given number.

Steps

Add the new script in the scripts directory.

@danielcdz I just finished a cairo bootcamp and am looking for opportunities to contribute to the starknet eco system and i feel this is an opportunity for me to leverage all i learnt during the bootcamp kindly assign me the above task
ETA <= 24hrs

Hi @danielcdz I have been practicing a lot of leetcode problems and would be able to share a solution within an hour should I get the task.

Will be achieved by writing Fibonacci calculation in Cairo using a simple iterative approach.
ETA: 1 hour.

May I take this issue on?

Hello i need my first issue for begin, thank you for your attention !

I would like to work on this issue

I’d love to work on this task.

May I try my hand at this?
My name is Gideon Bature, a Software Engineer with experience building Starknet based smart contracts, using Cairo. If given this issue, I should be able to send my first PR within 48 hrs.
Thank you!

I’d like to help with this.

Hi I from Dojo Coding
1- I try implement a recursive function for fibonnaci
2- test the script
3- upload the script
thank you so much :)

Hi,
May I handle this issue?

Hi, I am proficient Blockchain developer  expert in Cairo , Rust and Solidity  and also in web development.
I have  contributed many cairo ,rust  projects like chainevents , arkprojects etc  .   please /assign  this issue .
Thank You

Could I take over this issue?

Can I be assigned to this? Am a web 2 frontend developer, a solidity smart contract developer/auditor and a cairo smart contract developer. Am a graduate of Starknet Cairo Bootcamp. I have successfully done tasks assigned to me in OnlyDust. If assigned this i would complete it within 1 day.

Hi, I am proficient Blockchain developer  expert in Cairo , Rust and Solidity  and also in web development.
please /assign  this issue .
Thank You


Don't include e_os.h from header files in the include/ tree

On some platforms, including e_os.h with a relative path from another
include file is risky, as it can cause build failures because of how
the compiler interacts with the platform.
Let's just not, and instead include it from the .c files that need it.

Is there an issue moving e_os.h into one of the include/crypto or include/internal directories instead?

Is there an issue moving e_os.h into one of the include/crypto or include/internal directories instead?

Not really, and I have such a branch too.  I just wanted to see what the impact would be to just remove that inclusion.  Did I get served!!!

See #17641


Styles duplication

Reproduction:
https://github.com/midnightcoder-pro/stylus-duplication-demo
Unfortunately stylus-loder works same way

This is the expected behaviour. By importing 2 separate styl files from index.js, you're invoking 2 separate instances of the loader that know nothing about each other. After compiling, the 2 separate outputs are concatenated by extract-css-chunks-webpack-plugin. This works the same with any other loader.
To deduplicate your CSS output you should use optimize-css-assets-webpack-plugin. extract-css-chunks-webpack-plugin has a section that explains how to configure this properly.

This does not solve the problem with imports
At the output, I get pieces of the form:
.column,.flex{display:flex}
.center,.flex,.modal{display:flex}

If CSS deduplication isn't working well enough in your project, then you need to change how you import your styl files. This is unfortunately a fundamental "issue" with the way Webpack works, and there isn't a way around it at the loader level.

It's worth mentioning that if you're importing a common styl file from multiple other styl files, you should use @require instead of @import to make sure it's not imported twice.

Yes, as you can see in my repo, I used @require, but it also duplicates extended classes

In your demo repo you are using @import. But it makes no difference in this case since you're only importing it, as far as Stylus is aware of.
https://github.com/midnightcoder-pro/stylus-duplication-demo/blob/6a91db3785cb014af49577569386f9378bf1d31e/src/child.styl#L2

Oops. I fixed the demo

Now it produces:
.box{border-width:2px;border-style:solid;padding:0` 20px;margin:0 6px;max-width:400px}
.child{border-style:dotted;border-color:green}
.box,.child{border-width:2px;border-style:solid;padding:0 20px;margin:0 6px;max-width:400px}
.child{border-color:red}

The optimize-css-assets-webpack-plugin plugin doesn't help

You didn't set up optimize-css-assets-webpack-plugin properly. Please read the docs that I linked. It should be added to optimization.minimizer, not to plugins.
terser-webpack-plugin also needs to be added explicitly otherwise your JS won't be minimized.
const TerserJSPlugin = require('terser-webpack-plugin')
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')

module.exports = {
  ...
  optimization: {
    minimizer: [
      new TerserJSPlugin(),
      new OptimizeCSSAssetsPlugin(),
    ],
  },
  ...
}

Nothing changed, I updated the demo

I'm not sure what else you're expecting, but with the way you're importing and extending selectors, that as deduplicated as it can possibly be. There isn't a single selector that's duplicated in your output.

I need the result to be something like this:
https://github.com/midnightcoder-pro/stylus-duplication-demo/blob/single-entry/dist/bundle.css

Well then don't import your styl files separately. Use an index.styl file.
But even then Stylus isn't going to magically combine your .child selectors for you.

Okay, it's crutches, but there's probably no other way out
Of course, I would like it to work as composing in css-loader, otherwise, the meaning of modules is lost

It works exactly like plain CSS with css-loader. Each styl files imported from index.js is compiled to CSS and then passed to css-loader. However, styl files imported from other styl files are not handled by Webpack, they are handled by the Stylus compiler. So these imports are not modules like files imported from js files.
Maybe since the latest updates you can get stylus-loader to do what you want since it uses Webpack to resolve imports as modules in styl files, but I don't know if it will work or how you would do it.

I'll try, in any case, thank you

No problem. Best of luck!


[LLM Runtime] add shared memory support ccl to parallel context

Type of Change
use shared memory ccl when TP in only one physical machine, other case use oneCCL.
This feature will make the TP run fast when model only run on single physical machine.

https://github.com/intel/intel-extension-for-transformers/pull/639#pullrequestreview-1747529692
can you add related CI to verify the effect?


Refine NeuralChat UI readme

Type of Change
bug fix
API not changed
Description
Refine NeuralChat UI readmes
Expected Behavior & Potential Risk
Users can follower the UI readme to deploy frontend.
How has this PR been tested?
Only README update.
Dependency Change?
No.

HPU test is not related with the change. The PR can be merged first.


AcquireToken seems to be an older version of ADAL.

Can you update with a recent one?

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

ID: 0ae356d8-506d-42b6-6375-2c2b2f1a6769
Version Independent ID: c8a4023d-9c52-98ff-2c45-9b7462bc7125
Content: Connect to Dynamics 365 for Customer Engagement web services using OAuth (Developer Guide for Dynamics 365 for Customer Engagement apps)
Content Source: ce/developer/connect-customer-engagement-web-services-using-oauth.md
Service: crm-online
GitHub Login: @JimDaly
Microsoft Alias: jdaly

It is.
Newer samples have updated to newer versions of ADAL, but this topic does need refresh.

This is a very old issue. All the content in Power Apps> Dataverse has been updated to MSAL now. Work to do the same for the on-premises content has started.


Is it possible to make support of graphile/postgraphile?

Hello, thanks for the great plugin!
I was wondering if it's possible to make it compatible with https://github.com/graphile/postgraphile tool?
It makes a graphql api from existing postgresql tables. This tandem would be awesome.
Data retrieving is working already, but there are minor differences in mutations, for example postraphile makes it this way:

input TodoInput {
  id: Int
  label: String!
  isCompleted: Boolean
}

input CreateTodoInput {
  clientMutationId: String
  todo: TodoInput!
}

type Mutation {
  createTodo(
    input: CreateTodoInput!
  ): CreateTodoPayload

...and so on.

It would be awesome when this plugin is compatible to as much API designs as possible.
Unfortunately there is no real standard and every lib and every app cooks its own soup :(
However I'm very open and thankful for Pull Requests to support other libs :)

Ok, I will give it a try :)

Very nice! When you need help, please ask. You can also our slack channel for quick discussions ;)
I think we have to change the heuristics that analyze the schema and change how the queries are generated based on that. A good starting point is to look at the connectionMode.
However I advice you to wait until I have merged #66 because that touches every file of the project and you'll get in conflict hell when you start working before I have finished that :D

Ok, thank's for the info

#66 is merged now.

Good joob! ;)

@aynanov Did you begin some work regarding postgraphile support ? Or did you find an alternative ?
@phortx What are now the advices/guidelines to work on this eventual support as #66 has been merged ? I mean where should I start if I take the time to dive into in coming weeks ?

No, I did not begin (

@kevinmarrec nothing special here :) the README describes anything relevant how to work with the repo. Just give it a try and ask when something is bothering you :) Thanks!

https://github.com/vuex-orm/plugin-graphql/pull/89 should bring everything we need for this :)

@phortx Good stuff ! Will take a look :D

Merged (but not released yet). I close this, feel free to reopen if the problem isn't solved for you :)


Add foreignKey method to ColumnSchemaBuilder for improve migration syntax

It is enhancement. Add foreignKey method to ColumnSchemaBuilder for improve migration syntax
What is the expected result?
$this->createTable('table1', [
    'id' => $this->primaryKey(),
    'table2_id' => $this->integer()->foreignKey('name_of_fk', 'table2', 'id'),
]);

What do you get instead?
$this->createTable('table1', [
    'id' => $this->primaryKey(),
    'table2_id' => $this->integer(),
]);

$this->addForeignKey(
    'name_of_fk',
    'table',
    'table2_id',
    'table2',
    'id'
);

Closed in favour #13
https://github.com/yiisoft/db-migration/issues/13#issuecomment-321755849
https://github.com/yiisoft/db-migration/issues/13#issuecomment-322033250


Issue Getting Login Url Using the List Url

Hello, when I log out of amazon and put in my list url, I get the following screen:

This doesn't look like it is the intended path.
Do you have any ideas how else to get the login url?

Update. Just modified the url you had as a default and was able to use that successfully. Here is the us equivalent:
https://www.amazon.com/ap/signin?openid.pape.max_auth_age=3600&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Falexaquantum%2Fsp%2FalexaShoppingList&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_alexa_quantum_us&openid.mode=checkid_setup&language=en_GB&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0


Add distributed.print to debugging docs

While talking with users recently, distributed.print has been useful for debugging, but folks tend to not know about it because we only have API docs for it. This PR increases the visibility of distributed.print for users by adding it to the debugging doc page. This seems like a natural fit to me, but I'm definitely open to suggestions if folks thinks there's a better place for this prose to live.
cc @phofl for visibility

Here's the rendered version for the relevant section of docs https://dask--10435.org.readthedocs.build/en/10435/how-to/debug.html#printing


Define is_int only when it is needed

is_int is only needed when scaling is True, otherwise it is defined and never used.
Also I deleted the x is which I believe to be a bug, because the function does not give the correct output for an int e.g 2.
I'm not sure whether if scaling should elif scaling

Coverage remained the same at 96.517% when pulling 9c2bf90f217a5275eb7414af890c82348001ca20 on JulianWgs:patch-1 into 252ab67f2c950b2eaf37cfb60c6e95a39e110006 on eerimoq:master.

I would agree on both accounts. Thanks.

What about the elif scaling?

You mean elif to decode_choices, pass branch?

I see no problem here.
1.) You fixed the lambda.
2.) You narrowed its scope.
3.) You did not change logic.
The pass above seems to be a deliberate decision to return using the regular code path if a choice cannot be decoded. Otherwise nothing would be returned.

Okay something is up with the decode_choices and scaling. In the example given in issue https://github.com/eerimoq/cantools/issues/271 both are set to True. This would produce different results when refactoring to elif (also replacing pass with return value).

Looking at cantools.database.can.database.Database.decode_message both decode_choices and scaling default values are True. At least in my code I keep it that way. Therefore both paths in _decode_field are always executed. @eerimoq Do you know why it is implemented this way? Couldn't both values not inferred by the message?

I am not sure I get your point. If decode_choices is true, the function will return when the choice could be resolved. Could you rephrase your point?

As a background: decode_choices and scaling are both options for the user to alter the decoding behavior. If decode_choices is set to false, cantools will not resolve choices to their description. If scaling is set to false, cantools will not apply the raw->physical translation but keep it raw instead.
Since both are true, the default behavior is: Return the choice if this field has choices associated with it and one matches. If not, do business as usual and return the physical value.


Bug: witgen happily generates invalid witness, instead of throwing an error when it can't do it

To reproduce, go to commit 05c6f3e2ba506de, from PR #320, and run:
$ cargo run --release -- riscv-asm -o tmp -f riscv/tests/instruction_tests/generated/divu.S

It will execute with no errors, but the generated witness is invalid, as pilcom can tell you:
$ $PILCOM/src/main_pilverifier.js tmp/commits.bin -c tmp/constants.bin -j tmp/divu.pil.json

Duplicate of the better explained #322


xlrd documentation keeps vanishing.

Details

Project URL: https://github.com/python-excel/xlrd
Build URL (if applicable): https://readthedocs.org/projects/xlrd/
Read the Docs username (if applicable<EMAIL_ADDRESS>
Expected Result
http://xlrd.readthedocs.io/en/latest/ should show the documentation for xlrd
Actual Result
Shows a maze page / 404 for some users in some locations. Rebuild helped for a bit but the problem keeps coming back.

See:

#3034
https://github.com/python-excel/xlrd/issues/229
https://github.com/python-excel/xlrd/issues/226
https://github.com/python-excel/xlrd/issues/222

Hi @cjw296! It seems the problem is already solved. I'm closing this issue. Please, feel free to reopen it if you consider.

@humitos - what was done to solve it? Did anyone check in with the reporters above?

@cjw296 I'm not sure, actually. A couple of changes to RTD where done and deployed since this issue was reported and I wasn't able to reproduce it again.

Okay, well, I'll ask people to post here and then you can re-open if there are further problems. Thanks for taking a look!

Not an issue at this time


testcontainer not reusing container if stopped

Hi, thanks for the great libraries.
Why does Testcontainers not reuse containers if they are stopped? Is this a bug or some limitation? My expectation is that Testcontainers just start existing stopped containers instead of creating new ones
Thank you

Hello! It is a good point. The use case just hasn't come up until now 🙂 The implementation currently only looks for running containers. It would be easy enough to remove this filter and if the container is stopped, start it. PR is welcome!

I've taken a stab at this in #849. Had some issues with bound ports, but think I found an okay solution


Prices should be Decimal instead of float

Using float for prices can lead to precision issues.

Fixed.


AddressManager uses almost 100% CPU when no internet

This problem happens in Wasabi Wallet and I think there is no workaround. The details are here:
https://github.com/zkSNACKs/WalletWasabi/issues/2193

on it

Should be fixed on version 4.2.5 https://github.com/MetacoSA/NBitcoin/commit/78b2f07a22c5f190ef01e0c424f8628cfebc1724


Access Yumi States from yumipy

I couldn't seem to get the logs (robot states) message via yumipy.  Is there some other dependencies that we need in order to access those messages, say in ros-topics or rviz.

There are two ways to get robot states or poses. If you have a YuMiRobot object you can call its get_state or get_pose commands on the left or the right arm. You can also use YuMiSubscriber by calling its get_state or get_pose on the left and right arm. YuMiSubscriber can be used even when the RAPID server is not running, which is useful for collecting state information during lead-through mode.


[ServiceBus] Delete batch messages

ToDo:

[ ] Add tests/samples

Test session receiveDelete

Test session PeekMode

Test session NEXT_AVAILABLE

Test session session_id

Test non-session receiveDelete

Tests non-session PeekMode

Test empty queue and deleteBatch time utcnow()

Test full queue and deleteBatch time utc before all msgs

Test 3 msgs with max_message_count of 10

Test max_message_count of 1000 and 10 msgs to be deleted etc.

Test trying to PeekMsgs right after deleting them : sometimes not deleting all messages and am able to peek some
deleting the 1st msg sent not all 3 -- if you sleep for 5 minutes in between sending/deleting you can delete all.

Test trying to ReceiveDelete msgs right after deleting them

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-servicebus

change naming to delete_messages, test up to 4k msgs

/azp run python - servicebus - tests

/azp run python - servicebus - tests

/azp run python - servicebus - tests

/azp run python - servicebus - tests

/azp run python - servicebus - tests

/azp run python - servicebus - tests

/azp run python - servicebus - tests

/azp run python - servicebus - tests


cant submit driver to sign

Please Help Me:
We want to visit  [https://partner.microsoft.com/dashboard/hardware/Search]  use account<EMAIL_ADDRESS>but show Deactivated, error info:
CorrelationID: 3cc3acef-4837-44ba-9ba9-42fdeaec39f9
Correlation Vector: eQjuPdU6iUyYKhFn.2
Date: 28 9月 2022 09:49:00 +00:00

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

ID: 9c82359b-d6a0-4f42-a6e1-a5e83f1edfeb
Version Independent ID: 9c82359b-d6a0-4f42-a6e1-a5e83f1edfeb
Content: Get support for Partner Center dashboard issues - Windows drivers
Content Source: windows-driver-docs-pr/dashboard/hardware-submission-support.md
Product: windows-hardware
Technology: dashboard
GitHub Login: @anaharris-ms
Microsoft Alias: anaharris

This appears to be an account issue. Please contact Support.


ignore get last known element for now until fix in 3.4.0

This pull request introduces 1 alert when merging dd90429ae59ebbc620f2dfd76a8a45dbe05f8418 into 885f7749c68ecc629ce61043dbf7465e7a996f60 - view on LGTM.com
new alerts:

1 for Unused variable

Comment posted by LGTM.com


Get rid of submodules

Things will start to get really weird if there are cross-package references. jd should be used.

Done with https://github.com/PreetamJinka/cistern/commit/460167ec0250640164838ec885dde45004b51b5d.


[FEA] Add shims for Spark 3.2.3

Spark 3.2.3 release is in progress, need to add shims to support it.

Duplicated with https://github.com/NVIDIA/spark-rapids/issues/6024.


Tik 171

This PR fixes issue #171. It now passes the expression result through term2string to properly print it out.

Fixed base in merge request

@olwmc Thanks for acting on this so promptly.  Feel free to merge and close this issue.


Misc change to testdir

This doesn't change any actual behavior of test.
Summary:

Add missing indivisudal tests to NEW_TESTS
Update or fix README.txt
Remove test85.ok

test85.in has been removed by 4ff4814 due to updating to new-style-test

(This is a rebased PR of #4159.)

Thank you for merging.


Remove access to LanguageFrontend in passes

A LanguageFrontend should only exist during parsing, however we use it currently in a very hacky way to transfer certain information to the passes. We should extract these information needed into a new class (e.g. LanguageFeatures) and make this available to every node. This would also solve certain issues with multi-language projects.

Would also fix https://github.com/Fraunhofer-AISEC/cpg/issues/59

See decisions in https://github.com/Fraunhofer-AISEC/cpg/blob/language-frontend-end/cpg-core/specifications/languageFrontendEnd.md for the implementation.


Cannot connect and download atlas in certain country

Hi: Thanks for developing this wonderful tool.
I'm stationed in China and I found I could not download atlas such as "allen_mouse_25um", thus cannot use brainrender.
Each time I run: "brainrender-gui" in cmd, it returns connection error.
VPN doesn't seem to help either:  I have VPN and I have access to google.com in my browser but I cannot do this with brainrender.
Is it possible that these resources (all those needed in the pipeline) could be downloaded elsewhere that could be more easily reachable to Chinese users? (Such as shared in google drive ?)
And If I managed to downloaded these resources by myself, where should I put these files locally?
Please help and let more people enjoy brainrender !
Thanks for any help！

Update： I finally succeeded after several attempts in different VPN nodes.
The command I used :  brainglobe install -allen_mouse_25um
(I didn't succeed with “brainrender-gui” so I tried this. Not sure if this is important, just a note)
I think I can close this for now :)

happy you found a solution!


Delete cluster during installation of Service Hub

How to categorize this issue?

/kind enhancement
What would you like to be added:
I would like to have option for delete force.
Why is this needed:
Because example I install Kyma and something wrong and stuck I need to delete the Kyma deploy and then delete the cluster, but when I delete the cluster is stuck on this message.

Action required
Cleaning up the cluster failed as some resource are stuck in deletion. Please remove these resources properly or a forceful deletion will happen if this error persists.
task "Cleaning extended API groups" failed: 1 error occurred:

retry failed with context deadline exceeded, last error: remaining objects are still present: [*v1beta1.CustomResourceDefinition /installations.installer.kyma-project.io]

I'm waiting the cluster to force delete but nothing change. I need to go in the terminal and run this to process deleting.
kubectl delete CustomResourceDefinition --all

/close in favor of #3110 and #4212


Error in run of kmer_lsi.py

I ran through the test data set without issue, and am using your scripts on a metagenomic data set ~100 GB.  Our cluster uses SLURM job submission, so I'm trying to do a dry run on my desktop (mac) before adapting the scripts.  Haven't had any real issues until the "Calculating the SVD (streaming!)" step, when I got following error/traceback.  I don't have any experience with Pyro4, but it looks like it doesn't know how to "serialize" the numpy array.  Any ideas?  Let me know if I can provide you any other helpful information.
python LSA/kmer_lsi.py -i ./hashed_reads/ -o ./cluster_vectors/
2015-11-04 00:31:32,643 : INFO : using distributed version with 5 workers
2015-11-04 00:31:32,643 : INFO : updating model with new documents
2015-11-04 00:31:32,643 : INFO : initializing 5 workers
2015-11-04 00:31:33,112 : INFO : preparing a new chunk of documents
Traceback (most recent call last):
File "LSA/kmer_lsi.py", line 41, in
lsi = hashobject.train_kmer_lsi(corpus,num_dims=len(hashobject.path_dict)*4/5,single=singleInstance)
File "/Users/seanleonard/Desktop/LatentStrainAnalysis/LSA/streaming_eigenhashes.py", line 82, in train_kmer_lsi
return models.LsiModel(kmer_corpus,num_topics=num_dims,id2word=self.path_dict,distributed=True,chunksize=200000)
File "/Library/Python/2.7/site-packages/gensim/models/lsimodel.py", line 329, in init
self.add_documents(corpus)
File "/Library/Python/2.7/site-packages/gensim/models/lsimodel.py", line 382, in add_documents
self.dispatcher.putjob(job)  # put job into queue; this will eventually block, because the queue has a small finite size
File "/Library/Python/2.7/site-packages/Pyro4/core.py", line 171, in call
return self.__send(self.__name, args, kwargs)
File "/Library/Python/2.7/site-packages/Pyro4/core.py", line 394, in _pyroInvoke
compress=Pyro4.config.COMPRESSION)
File "/Library/Python/2.7/site-packages/Pyro4/util.py", line 167, in serializeCall
data = self.dumpsCall(obj, method, vargs, kwargs)
File "/Library/Python/2.7/site-packages/Pyro4/util.py", line 476, in dumpsCall
return serpent.dumps((obj, method, vargs, kwargs), module_in_classname=True)
File "/Library/Python/2.7/site-packages/serpent.py", line 78, in dumps
return Serializer(indent, set_literals, module_in_classname).serialize(obj)
File "/Library/Python/2.7/site-packages/serpent.py", line 250, in serialize
self._serialize(obj, out, 0)
File "/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatch[t](self, obj, out, level)
File "/Library/Python/2.7/site-packages/serpent.py", line 369, in ser_builtins_tuple
serialize(elt, out, level + 1)
File "/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatch[t](self, obj, out, level)
File "/Library/Python/2.7/site-packages/serpent.py", line 369, in ser_builtins_tuple
serialize(elt, out, level + 1)
File "/Library/Python/2.7/site-packages/serpent.py", line 291, in _serialize
f(self, obj, out, level)
File "/Library/Python/2.7/site-packages/serpent.py", line 552, in ser_default_class
self._serialize(value, out, level)
File "/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatch[t](self, obj, out, level)
File "/Library/Python/2.7/site-packages/serpent.py", line 431, in ser_builtins_dict
serialize(v, out, level + 1)
File "/Library/Python/2.7/site-packages/serpent.py", line 291, in _serialize
f(self, obj, out, level)
File "/Library/Python/2.7/site-packages/serpent.py", line 551, in ser_default_class
raise TypeError("don't know how to serialize class " + str(obj.class) + ". Give it vars() or an appropriate getstate")
TypeError: don't know how to serialize class <type 'numpy.ndarray'>. Give it vars() or an appropriate getstate
Thanks!

Hi,
I apologize for the super slow response - somehow missed this.
Are you still having this problem? If you could send me the output of "ls
-l" for hashed_reads/ and cluster_vectors/ that would help me to diagnose
the problem. Sometimes a failure in an earlier step could lead to this
problem.
On Wed, Nov 4, 2015 at 1:42 AM, Sean Leonard<EMAIL_ADDRESS>wrote:

I ran through the test data set without issue, and am using your scripts
on a metagenomic data set ~100 GB. Our cluster uses SLURM job submission,
so I'm trying to do a dry run on my desktop (mac) before adapting the
scripts. Haven't had any real issues until the "Calculating the SVD
(streaming!)" step, when I got following error/traceback. I don't have any
experience with Pyro4, but it looks like it doesn't know how to "serialize"
the bumpy array. Any ideas? Let me know if I can provide you any other
helpful information.
python LSA/kmer_lsi.py -i ./hashed_reads/ -o ./cluster_vectors/
2015-11-04 00:31:32,643 : INFO : using distributed version with 5 workers
2015-11-04 00:31:32,643 : INFO : updating model with new documents
2015-11-04 00:31:32,643 : INFO : initializing 5 workers
2015-11-04 00:31:33,112 : INFO : preparing a new chunk of documents
Traceback (most recent call last):
File "LSA/kmer_lsi.py", line 41, in
lsi =
hashobject.train_kmer_lsi(corpus,num_dims=len(hashobject.path_dict)*4/5,single=singleInstance)
File
"/Users/seanleonard/Desktop/LatentStrainAnalysis/LSA/streaming_eigenhashes.py",
line 82, in train_kmer_lsi
return
models.LsiModel(kmer_corpus,num_topics=num_dims,id2word=self.path_dict,distributed=True,chunksize=200000)
File "/Library/Python/2.7/site-packages/gensim/models/lsimodel.py", line
329, in init
self.add_documents(corpus)
File "/Library/Python/2.7/site-packages/gensim/models/lsimodel.py", line
382, in add_documents
self.dispatcher.putjob(job) # put job into queue; this will eventually
block, because the queue has a small finite size
File "/Library/Python/2.7/site-packages/Pyro4/core.py", line 171, in
call
return self.
send(self.__name, args, kwargs) File
"/Library/Python/2.7/site-packages/Pyro4/core.py", line 394, in _pyroInvoke
compress=Pyro4.config.COMPRESSION) File
"/Library/Python/2.7/site-packages/Pyro4/util.py", line 167, in
serializeCall data = self.dumpsCall(obj, method, vargs, kwargs) File
"/Library/Python/2.7/site-packages/Pyro4/util.py", line 476, in dumpsCall
return serpent.dumps((obj, method, vargs, kwargs),
module_in_classname=True) File
"/Library/Python/2.7/site-packages/serpent.py", line 78, in dumps return
Serializer(indent, set_literals, module_in_classname).serialize(obj) File
"/Library/Python/2.7/site-packages/serpent.py", line 250, in serialize
self._serialize(obj, out, 0) File
"/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatcht http://self, obj, out, level File
"/Library/Python/2.7/site-packages/serpent.py", line 369, in
ser_builtins_tuple serialize(elt, out, level + 1) File
"/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatcht http://self, obj, out, level File
"/Library/Python/2.7/site-packages/serpent.py", line 369, in
ser_builtins_tuple serialize(elt, out, level + 1) File
"/Library/Python/2.7/site-packages/serpent.py", line 291, in _serialize
f(self, obj, out, level) File
"/Library/Python/2.7/site-packages/serpent.py", line 552, in
ser_default_class self._serialize(value, out, level) File
"/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatcht http://self, obj, out, level File
"/Library/Python/2.7/site-packages/serpent.py", line 431, in
ser_builtins_dict serialize(v, out, level + 1) File
"/Library/Python/2.7/site-packages/serpent.py", line 291, in _serialize
f(self, obj, out, level) File
"/Library/Python/2.7/site-packages/serpent.py", line 551, in
ser_default_class raise TypeError("don't know how to serialize class " +
str(obj.__class) + ". Give it vars() or an appropriate getstate")
TypeError: don't know how to serialize class . Give it vars() or an
appropriate getstate
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/brian-cleary/LatentStrainAnalysis/issues/7.

Also - you might want to try running the test data using the streaming svd
(locally), just to see if you have the correct environment.
On Tue, Dec 1, 2015 at 10:12 AM, Brian Cleary<EMAIL_ADDRESS>wrote:

Hi,
I apologize for the super slow response - somehow missed this.
Are you still having this problem? If you could send me the output of "ls
-l" for hashed_reads/ and cluster_vectors/ that would help me to diagnose
the problem. Sometimes a failure in an earlier step could lead to this
problem.
On Wed, Nov 4, 2015 at 1:42 AM, Sean Leonard<EMAIL_ADDRESS>wrote:

I ran through the test data set without issue, and am using your scripts
on a metagenomic data set ~100 GB. Our cluster uses SLURM job submission,
so I'm trying to do a dry run on my desktop (mac) before adapting the
scripts. Haven't had any real issues until the "Calculating the SVD
(streaming!)" step, when I got following error/traceback. I don't have any
experience with Pyro4, but it looks like it doesn't know how to "serialize"
the bumpy array. Any ideas? Let me know if I can provide you any other
helpful information.
python LSA/kmer_lsi.py -i ./hashed_reads/ -o ./cluster_vectors/
2015-11-04 00:31:32,643 : INFO : using distributed version with 5 workers
2015-11-04 00:31:32,643 : INFO : updating model with new documents
2015-11-04 00:31:32,643 : INFO : initializing 5 workers
2015-11-04 00:31:33,112 : INFO : preparing a new chunk of documents
Traceback (most recent call last):
File "LSA/kmer_lsi.py", line 41, in
lsi =
hashobject.train_kmer_lsi(corpus,num_dims=len(hashobject.path_dict)*4/5,single=singleInstance)
File
"/Users/seanleonard/Desktop/LatentStrainAnalysis/LSA/streaming_eigenhashes.py",
line 82, in train_kmer_lsi
return
models.LsiModel(kmer_corpus,num_topics=num_dims,id2word=self.path_dict,distributed=True,chunksize=200000)
File "/Library/Python/2.7/site-packages/gensim/models/lsimodel.py", line
329, in init
self.add_documents(corpus)
File "/Library/Python/2.7/site-packages/gensim/models/lsimodel.py", line
382, in add_documents
self.dispatcher.putjob(job) # put job into queue; this will eventually
block, because the queue has a small finite size
File "/Library/Python/2.7/site-packages/Pyro4/core.py", line 171, in
call
return self.
send(self.__name, args, kwargs) File
"/Library/Python/2.7/site-packages/Pyro4/core.py", line 394, in _pyroInvoke
compress=Pyro4.config.COMPRESSION) File
"/Library/Python/2.7/site-packages/Pyro4/util.py", line 167, in
serializeCall data = self.dumpsCall(obj, method, vargs, kwargs) File
"/Library/Python/2.7/site-packages/Pyro4/util.py", line 476, in dumpsCall
return serpent.dumps((obj, method, vargs, kwargs),
module_in_classname=True) File
"/Library/Python/2.7/site-packages/serpent.py", line 78, in dumps return
Serializer(indent, set_literals, module_in_classname).serialize(obj) File
"/Library/Python/2.7/site-packages/serpent.py", line 250, in serialize
self._serialize(obj, out, 0) File
"/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatcht http://self, obj, out, level File
"/Library/Python/2.7/site-packages/serpent.py", line 369, in
ser_builtins_tuple serialize(elt, out, level + 1) File
"/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatcht http://self, obj, out, level File
"/Library/Python/2.7/site-packages/serpent.py", line 369, in
ser_builtins_tuple serialize(elt, out, level + 1) File
"/Library/Python/2.7/site-packages/serpent.py", line 291, in _serialize
f(self, obj, out, level) File
"/Library/Python/2.7/site-packages/serpent.py", line 552, in
ser_default_class self._serialize(value, out, level) File
"/Library/Python/2.7/site-packages/serpent.py", line 271, in _serialize
return self.dispatcht http://self, obj, out, level File
"/Library/Python/2.7/site-packages/serpent.py", line 431, in
ser_builtins_dict serialize(v, out, level + 1) File
"/Library/Python/2.7/site-packages/serpent.py", line 291, in _serialize
f(self, obj, out, level) File
"/Library/Python/2.7/site-packages/serpent.py", line 551, in
ser_default_class raise TypeError("don't know how to serialize class " +
str(obj.__class) + ". Give it vars() or an appropriate getstate")
TypeError: don't know how to serialize class . Give it vars() or an
appropriate getstate
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/brian-cleary/LatentStrainAnalysis/issues/7.

Hi, I am having the same issue.  Here is the error message:

Hm. So it's still not clear to me if it's the environment.
Can you see if you are able to run the distributed version of the SVD on
the test data? The "Getting started" stuff uses the single instance version
of the SVD, but you should be able to run the test data up to that point,
and then try the SVD with a couple of different workers.
This will help us clarify if you can run that portion of the code at all,
or if there is maybe something funky in the data that is fed into the SVD.
Also, I note that you're setting up your PATH after starting all Pyro
processes...not sure if this is significant (or intentional).
On Mon, Dec 14, 2015 at 3:07 PM, russianconcussion<EMAIL_ADDRESS>
wrote:

Hi, I am having the same issue. Here is the error message:
—
Reply to this email directly or view it on GitHub
https://github.com/brian-cleary/LatentStrainAnalysis/issues/7#issuecomment-164544723
.

Okay, I'll check those: first, setting up the path before starting Pyro4, then running the  test data with a few workers. Thanks, Brian!

Hi, Brian,
I killed two birds with one stone and exported my PATH before running Pyro4 on the test data.  Here is the output, which looks pretty much the same.  It's still complaining about numpy:
KmerLSI_path1st.err.txt
KmerLSI_path1st.out.txt
How much more time would it take to run the single instance version?

No problem with the multithreading; that was a red herring. Just trouble with Pyro4.

Hi, Brian,
Okay, so I've been able to successfully run a 2nd large dataset (~240Gb) through kmer_lsi.py on single-thread mode, but it takes days.  The problem with using Pyro4 still persists with this dataset, though.
Are you sure that this isn't the problem:
https://pythonhosted.org/Pyro4/tipstricks.html#pyro-and-numpy
Is there any way I can edit kmer_lsi.py to test if this is the problem?
Thanks for your time!

Just wondering if this was ever solved? Even though it seems to successfully run on the test dataset provided with the repo, it seems to produce the error for my test dataset.

Hi, @sunitj, FWIW I'm afraid I wasn't able to solve it myself and I haven't heard from Brian Cleary since December.  It's pretty clear to me that the lsi script works fine in single-thread mode (as it's run on the test dataset), but I cannot get it to work on multiple cores/nodes with the Pyro4 library.  Pyro4 complains about the numpy format, but I'm not sure exactly how to fix this in kmer_lsi.py.

I'm seeing the same issue. As @russianconcussion  suggested, I'm simply running it single threaded for now.

I've gotten past the serialization error by inserting the following before launching the pyro4 nameserver:
export PYRO_SERIALIZERS_ACCEPTED=serpent,json,marshal,pickle
export PYRO_SERIALIZER=pickle

I'm now getting this error:
Date: Wed Feb 10 08:47:29 HST 2016
2016-02-10 08:48:03,862 : ERROR : failed to initialize distributed LSI (unknown name: gensim.lsi_dispatcher)
Traceback (most recent call last):
  File "LSA/kmer_lsi.py", line 41, in <module>
    lsi = hashobject.train_kmer_lsi(corpus,num_dims=len(hashobject.path_dict)*4/5,single=singleInstance)
  File "/mnt/lysine/assemblies/CSHLII/eigenomes/LatentStrainAnalysis/LSA/streaming_eigenhashes.py", line 82, in train_kmer_lsi
    return models.LsiModel(kmer_corpus,num_topics=num_dims,id2word=self.path_dict,distributed=True,chunksize=200000)
  File "/opt/virtualenv/eigengenomes/lib/python2.7/site-packages/gensim/models/lsimodel.py", line 326, in __init__
    raise RuntimeError("failed to initialize distributed LSI (%s)" % err)
RuntimeError: failed to initialize distributed LSI (unknown name: gensim.lsi_dispatcher)
Date: Wed Feb 10 08:48:03 HST 2016

I have it working.
I am not using a distributed cluster, though, just a monolithic multi-core machine with loads of RAM. This does enable multithreading though.
I generated the stock bash script with python LSFScripts/create_jobs.py -j KmerLSI -i ./ and added the following lines to the generated script LSFScripts/KmerLSI_Job.q:
export PYRO_SERIALIZERS_ACCEPTED=serpent,json,marshal,pickle
export PYRO_SERIALIZER=pickle
export PYRO_NS_HOST=localhost
export PYRO_NS_PORT=65431
export PYRO_HOST=localhost

...and executed th script with bash LSFScripts/KmerLSI_Job.q
I was having problems with address collisions on my server (hence the HOST and PORT settings) and with serialization as @russionconcussion and @sunitj experienced.

I encountered the same issue using @russianconcussion's SGE scripts on an Amazon Web Services starcluster.  @jmeppley's workaround solved my multi-threading problem, and I also used screen and ran the bash command in the background for convenience.  Thanks all!

Does anyone know if @jmeppley's solution will work on a distributed system? If not, how can it be adapted to do so?


Add text encoding example to readme

Issue #, if available: #70
Description of changes:
Adds additional instruction to the best practices section of the README explaining how text encoding can be configured if needed.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

We're currently processing your upload.  This comment will be updated when the results are available.


[ NEW ] : Add Links to Privacy Policy and Terms of Service on Login/Signup Pages

the current login signup page does not contain any link to privacy policy or terms of service
This issue proposes the inclusion of clear links to the Privacy Policy and Terms of Service on the login and signup pages. Providing these links ensures users can easily access important information regarding their data and usage rights before creating an account or logging in, enhancing transparency and compliance with privacy regulations.
@mdazfar2 please assign me this task under
GSSOC extd 24
Hacktoberfest 24

@mdazfar2 please assign me this task , i really want to contribute to this project .

Hey @KAUSHIKRM-36, the Terms and Conditions and Privacy page are already on our website. Please check again and raise the issue accordingly. Thank you.

@mdazfar2 i meant there is no direct link provided on the sign up page , its a standard practice

this section could contain a link like

please assign me this task @mdazfar2

@KAUSHIKRM-36, I cannot understand. Please share a screen recording or any relevant screenshot so I can understand.

this section could contain a link like

please assign me this task @mdazfar2

When both options are already available in the footer, why is it necessary to keep them there? Please ignore this issue for now.

this section could contain a link like

please assign me this task @mdazfar2

When both options are already available in the footer, why is it necessary to keep them there? Please ignore this issue for now.

okay fine


Peer to Peer Code Review

Hey @batoorsohail , 👋🏿
Good work so far with this project 🚀 . Most of the requirements are met, however, there are some few changes♻ we would like you to make

Your readme.md file still contains details from Awesome Book. Kindly correct them and give accurate details of your current projects. A detailed readme file with accurate description provides context and helps collaboration from other programmers. Kindly refer to this link for an accurate readme template.

Kindly check these lines of your index.html and wrap them inside a
 since it a best practice and ensures Semantic structure to wrap all lists inside a parent.

Hi @frempongdev , 👋
Thanks for your time and the code review. I will try to fix them today. 😄


[padinfo] collabscroll scroll changes

Update Alternate Evos to say "All Collab Monsters" and show like
...., 1001, 1002, **1003**, 1004, 1005, .... etc instead of showing the tree

#853 invalidated this


Refactor error pages to use a template.

Tested all the pages navigating to http://aman.zulipdev.org:9991/accounts/do_confirm/123 and testing each of the error pages by pasting their content into link_malformed.html.
Typical error page:

before
after

Fixes #28526
I will remove the css related to row-fluid and container in a separate PR to keep that independent of this change.

Merged, thanks @amanagr! Great to see this simplified.

A good follow-up could be making a templates/zerver/portico_error_pages/ directory containing these, to clean up the temples/zerver/ root directory.


[zl sort] doesn't sort capital letters correctly

If we have Upper Case letters, they get sorted before Lower Case.

that's expected behaviour


Type annotation pyi file and tests

Add the Shadow.pyi from python/typeshed#1554 to this repo and add

a stub for structs and
a stub for fusedtype.

Add a test using mypy to test the stub file used if the tag mypy  is added.
Therefore add mypy to the test-requirements.txt.
Add the mypy tag to  pure_py3 and an explicit type annotation for Struct2, because mypy does not automatically infer the type when the typedef function is called.

Thanks. Since this is not complete and ready for merging yet, I've created an updated branch at #1965 for further improvements.


Readme doesn't state target possibility

It is possibe to specify the target as second parameter, but that is not stated in the readme. I found out that it was possible by looking through the code. It would be nice if this could be added.

+1

Closed thanks to @kamikaz1k


Public Archive of benchmark-operator

benchmark-operator is no longer being maintained or used within Red Hat.
I am proposing we move the repo to a public archive.

@jtaleric @krishvoor we are planning to use this operator for our RH OCP v4.14 cluster performance test. But since you mentioned no longer maintained i am afraid we should look for another tool/operator.
Could you please guide me for another operator/tool i can use for performance test? I came across kubestone.
Mainly planning to test for
[Network performance]
[Disk performance]
[HTTP performance]
[Kubernetes resources performance]

Hi @a-thorat, we have

[Network performance]

k8s-netperf will help you with East-West Network Testing

[Kubernetes resources performance]

kube-burner is a performance and scale test orchestration toolset.
Kube-burner will help you perform some of these:
Create, delete, read, and patch Kubernetes resources at scale.
Prometheus metric collection and indexing.
Measurements.
Alerting.

[HTTP Performance]

If you are looking for a workload with benchmark termination as HTTP, edge, reencrypt & passthrough you can take a look at ingress-perf

@krishvoor
Thank you for your response.
Surely, will explore provided directions and check how good fit with our env.
Thank you and Appreciate your help.


Problems connecting to storage

I'm trying to kick ache off. I've built a model and then am using the following to run -
./ache startCrawl /tmp/output /home/user/Desktop/topic/topic_config /home/user/Desktop/topic/topic.seeds /home/user/Desktop/topic/topic_model /home/user/Downloads/langdetect-03-03-2014/profiles

I get the same issue on ache when I check it out from continuum.io's repo. The issue is not dissimilar to this one https://github.com/memex-explorer/memex-explorer/issues/357
The following issue happens, and keeps happening. Is there anything I need to configure with regards to configuration?
I've used the config from your repo, with my seeds and my model.
Any ideas?
Erro de comunicacao: Connection refused
Dormindo 5 mls
[11/MAR/2015:13:56:19] [SocketAdapterFactory] [produce] [localhost:1988]
Erro de comunicacao: Connection refused
crawler_group_2_0:Connection refused
focusedCrawler.crawler.CrawlerException: crawler_group_2_0:Connection refused
	at focusedCrawler.crawler.CrawlerImpl.selectUrl(CrawlerImpl.java:250)
	at focusedCrawler.crawler.Crawler.run(Crawler.java:258)
java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:579)
	at java.net.Socket.connect(Socket.java:528)
	at java.net.Socket.<init>(Socket.java:425)
	at java.net.Socket.<init>(Socket.java:208)
	at focusedCrawler.util.storage.socket.StorageRemoteAdapter.getSocket(StorageRemoteAdapter.java:78)
	at focusedCrawler.util.storage.socket.StorageRemoteAdapter.defaultMethod(StorageRemoteAdapter.java:180)
	at focusedCrawler.util.storage.socket.StorageRemoteAdapter.select(StorageRemoteAdapter.java:300)
	at focusedCrawler.util.storage.distribution.StorageRemoteAdapterReconnect.select(StorageRemoteAdapterReconnect.java:265)
	at focusedCrawler.crawler.CrawlerImpl.selectUrl(CrawlerImpl.java:213)
	at focusedCrawler.crawler.Crawler.run(Crawler.java:258)
R>crawler_group_2_0>Sleeping 5000 mls.
RM>crawler_group>crawler_group_0_0>Time(3708):Sleeping as a consequence of this problem: 'crawler_group_0_0:Connection refused':selectUrl() linkStorage.
RM>crawler_group>crawler_group_1_0>Time(3694):Sleeping as a consequence of this problem: 'crawler_group_1_0:Connection refused':selectUrl() linkStorage.
RM>crawler_group>crawler_group_2_0>Time(3673):Sleeping as a consequence of this problem: 'crawler_group_2_0:Connection refused':selectUrl() linkStorage.
RM>crawler_group>crawler_group_3_0>Time(3707):Sleeping as a consequence of this problem: 'crawler_group_3_0:Connection refused':selectUrl() linkStorage.
RM>crawler_group>crawler_group_4_0>Time(3704):Sleeping as a consequence of this problem: 'crawler_group_4_0:Connection refused':selectUrl() linkStorage.
R>crawler_group_0_0>Total time is 5007 mls [5000,0,0,0,0,0,0,5000,0]

Glad someone else is coming across this problem. I was able to fix this problem on my local machine by using proper model files provided by our data scientist Christine. Unfortunately, this did not work in the case of our deployed servers, which are still suffering from this problem, despite using the same model files that I used on my local machine.
I'll talk with Christine today and see what the status is of our ache debugging, and I may be able to tackle this problem freshly by creating new model files on our deployment server.
I'll let you know how it goes, since we are in the same boat :).

I'm also trying to reproduce this error and understand what is going on. I'll let you know if I find something.

So we managed to fix this on our deployment box by redeploying it on a new machine. We never managed to figure out why it was failing, and were never able to reproduce the bug. Wish I could help you guys out.

What version are you running? Is it the version from branch master of this repository?
Here's what I found so far about this problem. The ACHE crawler has three main services: TargetStorage, LinkStorage and CrawlerManager. This exception happens when the TargetStorage tries to communicate with the LinkStorage, but the LinkStorage is not running.
When running the crawler using the command ache startCrawl, all services are started at the same time in different threads of the same process. Sometimes the TargetStorage tries to connect to LinkStorage, but the LinkStorage has not finished initializing yet, so this exception happens. As the TargetStorage tries to reconnect automatically, everything works fine when the LinkStorage is ready. In this case, this is not a real problem, but the logs are misleading.
When each service is started in a different process, if the LinkStorage dies the same problem will happen. You need to restart the LinkStorage process in this case.
I've been working on improving the logs and detect any problems that may cause the LinkStorage stops working. This changes will be pushed to this repository soon.

Already fixed in commit 0c066bc480c787cd1f2cb1d6d1eeb0f23db2a29a


Should cmd_states have an off-nominal roll column?

It is a derived parameter, but so is pitch and we've got that in the database.
And if we don't add the column, should the code to compute off nominal roll over a set of states live in cmd_states?

This can be computed on-the-fly.  It certainly seems reasonable to do so by introducing the concept of computed state columns.

And I should have said the same thing about pitch years ago...


fix example for examples/createSocialGraph.py

example createSocialGraph.py not work probably

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   79.68%   79.68%
=======================================
  Files          12       12
  Lines        1925     1925
=======================================
  Hits         1534     1534
  Misses        391      391

Impacted Files
Coverage Δ

pyArango/connection.py
61.15% <0%> (ø)
:arrow_up:

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 144c487...37d593b. Read the comment docs.

All good thanks!


Did it change since?

> In the .NET Framework version 2.0,
> In version 1.0 of the .NET Framework,
> In version 1.1 of the .NET Framework
These preambles imply the sentence topics that follow them only apply to that version and not versions before and not versions after.  Are some of them actually "Starting with version X.X of ..." ?

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

ID: ed9b2a1c-66c1-5054-bff1-67d0ebc12089
Version Independent ID: d1ffa572-246c-e85c-1491-2e08f34f4c52
Content: Making an Image Easier to Debug
Content Source: docs/framework/debug-trace-profile/making-an-image-easier-to-debug.md
Product: dotnet-framework
GitHub Login: @mairaw
Microsoft Alias: mairaw

Thanks for your comment @StingyJack. We try to make future-proof content, when we know the changes are introduced at a certain version but this article probably hasn't been reviewed in a long time. So the most typical case will be "Starting with version X.X of ..."
@karelz can you point someone who could help us understand what has changed since with that area?

I think you are saying the sentences should begin as "Starting with..." rather than "In...", right?

Yes, except when we really wanna call out something from a particular version. But I don't know in the case of this particular topic, if the correct thing would be in or starting with. This might have changed a lot since 2.0.

The exception to "starting with" is 1.0 -- since it was the first version, any explicit mention of 1.0 typically means the behavior is limited to 1.0 and was changed in 1.1.

I am fairly confident, that all comments are meant as "X.Y+", so all can be replaced with "Starting with ..." (except the 1.0 call out from @rpetrusha).
@noahfalk can you (or someone on debugger team) please double check? See this page.

yeah that seems accurate to me


Requirements with square brakects

Dependency tree is incorrect if any of the package names contains square brackets. For example requirements.txt of firebase-admin lists google-api-core[grpc]; however, the relevant row of the output of pipdeptree -p firebase-admin is - google-api-core [required: >=1.14.0,<2.0.0dev, installed: 1.22.4], so [grpc] is missing.

I think by square brackets you mean extra requirements. There's an open PR #132 for this.

Thank you.


Change how docs are updated

This PR changes the process to update our documentation.
Following semantic versioning we will have branches that follow the current minor version (e.g. 0.3, 0.4 etc.). When we merge some modification to the docs, Travis CI will run the deploy_docs.sh script, which will check if the modification is being made to the branch that refers to the current released version. If that is the case, Travis will build the documentation and push the updated docs to the ross-website repo.
This avoids updating the documentation on every push to the master branch which can cause inconsistencies between the released version and the website docs.

This PR has the same problem than the last one regarding the test_fluid_flow.py file.

The problem is related to an update on matplotlib version 3.2.0.
You can see here in this commit.
We will have to remove the ax.axis("equal").

I see. They released a new version two days ago.

The problem is that matplotlib should raise this error for a polar plot, which is not the case here.
I tried to run the test_fluid_flow.py file separately and all the tests passed. There is something else occurring. I will keep investigating why this is happening.

The problem is that matplotlib should raise this error for a polar plot, which is not the case here.
I tried to run the test_fluid_flow.py file separately and all the tests passed. There is something else occurring. I will keep investigating why this is happening.

Same here, I tested test_fluid_flow.py via anaconda prompt and everything was passing

Fixed the problem. The commit got a little polluted because of the formatting, but basically the problem was the calling the function without providing a new matplotlib axes. This would trigger the plt.gca() which would get the current axes that in this case had a polar projection.


Unit test remote MDX sanitzer plugin

Related to https://github.com/carbon-design-system/carbon-platform/pull/740
Things to do:

[ ] Convert MDX sanitizer plugin to its own package in our monorepo

[ ] See if there's anything we need to update in the GH actions config

[ ] Convert existing impl to TypeScript (not much to do here since there's already a lot of good optional chaining in place)
[ ] Create a test fixtures directory with input files for unit tests
[ ] Go crazy with unit tests to try and break it

Hey team! Please add your planning poker estimate with ZenHub @andreancardona @francinelucca @jdharvey-ibm


Error in building security-analytics plugin with version <IP_ADDRESS> and <IP_ADDRESS> at : compileJava task

What is the bug?
I was trying to build https://github.com/opensearch-project/security-analytics plugin with version <IP_ADDRESS> and <IP_ADDRESS> but its getting failed at compileJava task

Task :compileJava
/home/abhi/security-analytics/src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java:249: warning: non-varargs call of varargs method with inexact argument type for last parameter;
new OpenSearchStatusException(String.format(Locale.getDefault(), "User doesn't have read permissions for one or more configured index %s", detectorIndices), RestStatus.FORBIDDEN)
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
/home/abhi/security-analytics/src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java:787: error: incompatible types: MonitorType cannot be converted to String
Monitor.MonitorType.DOC_LEVEL_MONITOR, detector.getUser(), 1, docLevelMonitorInputs, triggers, Map.of(),
^
/home/abhi/security-analytics/src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java:888: error: incompatible types: MonitorType cannot be converted to String
Monitor.MonitorType.DOC_LEVEL_MONITOR, detector.getUser(), 1, docLevelMonitorInputs, triggers, Map.of(),
^
/home/abhi/security-analytics/src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java:1058: error: incompatible types: MonitorType cannot be converted to String
MonitorType.BUCKET_LEVEL_MONITOR, detector.getUser(), 1, bucketLevelMonitorInputs, triggers, Map.of(),
^
/home/abhi/security-analytics/src/main/java/org/opensearch/securityanalytics/transport/TransportIndexDetectorAction.java:1780: error: incomparable types: MonitorType and String
if (MonitorType.BUCKET_LEVEL_MONITOR == it.getMonitor().getMonitorType()) {
^
/home/abhi/security-analytics/src/main/java/org/opensearch/securityanalytics/util/DetectorUtils.java:112: error: incomparable types: MonitorType and String
it -> Monitor.MonitorType.BUCKET_LEVEL_MONITOR == it.getMonitor().getMonitorType()
^
/home/abhi/security-analytics/src/main/java/org/opensearch/securityanalytics/util/MonitorService.java:70: warning: non-varargs call of varargs method with inexact argument type for last parameter;
log.error("Error deleting monitors", e.getSuppressed());
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
5 errors
2 warnings

Task :compileJava FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileJava'.

Compilation failed; see the compiler error output for details.

Try:

Run with --info option to get more log output.
Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 13s
1 actionable task: 1 executed
How can one reproduce the bug?
Steps to reproduce the behavior:

Clone the security-analytics plugin
Try to build it wither on amd64 or ppc64le arch VM.
You will see error in compileJava task

What is the expected behavior?
The security-analytics plugin should get built and should generate tarball.
What is your host/environment?

OS: Linux

Issues got fixed for security-analytics plugin while building on ppc64le arch using below command.
 ./gradlew build --no-daemon --refresh-dependencies -x integTest -x test -Dopensearch.version=2.15.0 -Dbuild.snapshot=false -Dbuild.version_qualifier= -Dbuild.lib.commit_patches=false


More Style Options for Text Editor/Doc Incorrect?

Describe the feature
Hello again!  I've started digging around and working with this lovely framework and I'm really liking it so far.  It has a ton of potential!
I'm currently trying to display output that would theoretically be streamed in over time as messages arrive to the client I'm writing.  Like a chat program.  From what I've read in the docs and tried it seems like the text editor set to read only is exactly the widget for this text (I imagine that I'd stream updates to the buffer as appropriate)
However, for this case I don't really want the line numbers.  I'd really like either a less opinionated (style wise) widget for something like this, but I'd also be happy if I could turn off the numbers as well.
I thought that perhaps I could hide them by setting the color when I saw:
// LineNumberColor is the color used for the side bar containing the line numbers.
// This should be set in Stylers like all other style properties.
LineNumberColor image.Image

However I can't seem to figure out how I am supposed to do that, is the doc string for this no longer correct?  Am I maybe barking up the wrong tree here?

Thank you for your feedback, and apologies for the unclear documentation. The best way to turn off line numbers for a text editor is this:
ed.Buffer.Options.LineNumbers = false

We can definitely improve the documentation soon to make that clearer. The docs for LineNumberColor are not wrong, but that property is rarely relevant (it is already transparent by default). The default text editor styles are somewhat opinionated, but they are fully customizable, so once we elaborate the documentation, that should be fine.
For your specific use case, you may also be interested in texteditor.OutputBuffer (see here in our terminal emulator for an example; I can also provide more help if you need it).
If it is plaintext/HTML for a chat program, you could also use a core.Text widget or htmlcore and call Update() to keep it in sync (see here in our AI client for an HTML example). I am happy to give guidance for any of these approaches.

Ahh, that did the trick!  I was looking at the editor itself and didn't think to check the buffer itself.
Honestly the docs so far have been the biggest struggle.  As I slowly wrap my head around the Cogent way of doing things I'm continually impressed at how clean and sane it is.
I'm a back end dev and I'm usually really frustrated by how awkward and convoluted front end frameworks are, I'm having a pretty good time with Cogent so far though!

That's great to hear! Improving the documentation is definitely very high on our priority list.

OK, I was able to progress further, but now I have two more things that are stumping me.  For a quick test I just wired up the input (text box) to the same io.Pipe() as the OutputBuffer is reading,  that example was great.
The output editor is currently set non selectible, non hoverable, and read only.  The idea being that it will display incoming messages.
I set StartFocus() on my input box and on launch it has focus as expected.  I can immediately type and hit enter (I tried both with OnKeyChord switching on the keymap.Enter value,  and with OnChange) and I can see the output in the output box.  After I write to the pipe in the handler I call SetText to clear the input text and SetFocusEvent() to return focus there.
Problem is the focus doesn't switch back, I'm actually not completely sure where it goes.  It may briefly be on that output editor because I can see the text cursor (not animated) on the new line.  I can manually set focus back to the input box and it behaves normally.  I can also select the output editor and see the text cursor animate.
Setting abilities.Focusable to false doesn't seem to help either.
This is the focus debug trace for the following steps:

Start app
Type foo into text input box and hit enter
Manually change focus back to input box

/Cogent Core scene SetFocusEvent: /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene Already Focus: /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene SetFocusEvent: Failed /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene SetFocusEvent: <nil>
/Cogent Core scene Losing focus: /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene SetFocusEvent: /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene SetFocusEvent: /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene Already Focus: /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene SetFocusEvent: Failed /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene SetFocus: /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene Already Focus: /Cogent Core scene…rame-1/text-field-0
/Cogent Core scene SetFocus: Failed /Cogent Core scene…rame-1/text-field-0

The layout of the app so far is the core body with two frames inside of it.  One frame holds the output text editor, the second holds the input text box.

Yes, the text field event handler is handling the KeyChord event later and defocusing the text field at that point. Because that handler also calls e.SetHandled(), it doesn't work to do OnFinal, so calling e.SetHandled() in your event handler is the best approach as you said.


add AbsolutePositionalEmbedding

Codecov Report

Merging #56 (9f52427) into main (0f32f67) will increase coverage by 0.05%.
The diff coverage is 100.00%.

:exclamation: Current head 9f52427 differs from pull request most recent head aeb11b1. Consider uploading reports for the commit aeb11b1 to get more accurate results

@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   93.65%   93.71%   +0.05%
==========================================
  Files          42       43       +1
  Lines        1797     1814      +17
==========================================
+ Hits         1683     1700      +17
  Misses        114      114

Impacted Files
Coverage Δ

src/hearth/modules/__init__.py
100.00% <100.00%> (ø)

src/hearth/modules/embeddings.py
100.00% <100.00%> (ø)

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 0f32f67...aeb11b1. Read the comment docs.


WebP Upload Issue with undefined height

Link to reproduction
No response
Describe the Bug
When uploading a WebP image to a collection that is defined as an "uploadable" collection, if no height is defined in an imageSizes array child (as per the documentation to keep aspect ratio), a NaN is provided to the sharp "resize" function (for the top value) which causes Sharp to send an error message.
More details:
In my imageSizes array I have entries formatted as follows:
{
        name: 'large',
        width: 900,
        height: undefined
},
...

When I attempt to upload a WebP file, I get the following Sharp error: Expected integer for top but received NaN of type number. This is stack traced to /node_modules/sharp/lib/resize.js:476:16 & /node_modules/payload/src/uploads/imageResizer.ts:312:19
After reviewing the source code, it looks like all WebP images for Payload are hardcoded as animated images (/node_modules/payload/dist/uploads/imageResizer.js:179)  (even though in my case my WebP image is a static file) which then forces the first condition of the ternary conditional on line 219. resizeHeight is not defined in the imageSizes array entry so we get undefined - safeResizeHeight which causes the NaN. My fix was to modify line 219 and check for a value on resizeHeight:
Original : const maxOffsetY = fileIsAnimated ? resizeHeight - safeResizeHeight : scaledImageInfo.height - safeResizeHeight;
Fixed: const maxOffsetY = fileIsAnimated && resizeHeight ? resizeHeight - safeResizeHeight : scaledImageInfo.height - safeResizeHeight;
To Reproduce

Create a STATIC WebP file (i.e. export JPG as WebP with Photoshop)
Create uploadable collection in Payload
Define imageSizes array with undefined in height values
Attempt to upload WebP file

Payload Version
2.19.3
Adapters and Plugins
npx create-payload-app@latest with Postgres

I have the exact same issue on Payload 3.0.0-beta.43 and Sharp 0.33.4.
If I do not specify the height at all, I get:
ERROR: FileUploadError: There was a problem while uploading the file. at generateFileData (webpack-internal:///(rsc)/./node_modules/payload/dist/uploads/generateFileData.js:232:15)
If I specify the height as any number or undefined, I get:
 ERROR: ValidationError: media validation failed: sizes.image.height: Cast to Number failed for value "NaN" (type number) at path "height"

I have the exact same issue on Payload 3.0.0-beta.43 and Sharp 0.33.4.
If I do not specify the height at all, I get: ERROR: FileUploadError: There was a problem while uploading the file. at generateFileData (webpack-internal:///(rsc)/./node_modules/payload/dist/uploads/generateFileData.js:232:15)
If I specify the height as any number or undefined, I get:  ERROR: ValidationError: media validation failed: sizes.image.height: Cast to Number failed for value "NaN" (type number) at path "height"
For me the suggested maxOffsetY fix did not work.

@todor0v can you post a full error stack-trace. Seems you may need to adjust the code pertaining to the specific Cast to Number failed for value "NaN" (type number) at path "height" error for a fix for your version of Payload.

@kirillminiaev Of course:

@kirillminiaev Of course:

@todor0v your error seems to be related more to your database: MongoDB. It's as if the database model expects there to be a "height" value for your resizing and when a NaN value is passed, the internal Model validation kicks in and spews the error. So in your case, I would think either a height is required (and the Payload team needs to address a workaround) or code needs to ensure that a NaN is not passed to the model. Ultimately, it could be that whatever data is passed to the Next Ctea.js:20:17 line needs to be pre-processed to validate the height parameter. At least that is where I would start my debugging process if I were you.

Fairly certain this is the fix https://github.com/payloadcms/payload/pull/6729

Fairly certain this is the fix #6729
Let's verify in the next 2.x release.

@denolfe thank you. Looking forward to the next release with the fix implemented.

@PatrikKozak, just upgraded to 2.20.0 and the issues persists. Not sure if you were planning to push the fix with this next release. My original fix patched the issue in 2.20.0

Hey @kirillminiaev
I have a fix for the issue here.
V3 fix is here
We'll get these merged either today or tomorrow!

Thank you @PatrikKozak@


Performance Enhancements

via pavlovscat on hackernews
move these things into initWiv() and cache them:
var speed = parseFloat(wivCurve.parentNode.dataset.wivSpeed)
var height = parseFloat(wivCurve.parentNode.dataset.wivHeight)
var tightness = parseFloat(wivCurve.parentNode.dataset.wivTightness)
var thickness = parseFloat(wivCurve.parentNode.dataset.wivThickness)
var ctx = wivCurve.getContext("2d");
do this once on init, the canvas context remembers it anyway:
ctx.strokeStyle = wivCurve.parentNode.dataset.wivColor != undefined ? wivCurve.parentNode.dataset.wivColor : "#FF0000"
don't convert numbers and strings all the time, use numbers and init them to 0
//current frame is tracked on per wiv basis. This is to help with speed calculations
if (parseFloat(wivCurve.dataset.count) > 100000) {
wivCurve.dataset.count = "0";
}
wivCurve.dataset.count = (wivCurve.dataset.count ? parseFloat(wivCurve.dataset.count) : 0) + speed;
parseFloat(wivCurve.dataset.count) also is used a lot in that loop.
And don't set unneccessary canvas state, this should happen only once per draw loop iteration: [edit, actually, as I said above, the canvas contexts remember it individually, so do this once in initWiv(), and not in the draw loop at all, yay!]
ctx.lineWidth = thickness;

That's all just at first glance, but I bet you, this would help with slow laptops and whatnot :) Such "small" things really add up when you do them 60 times per second * number of borders. I don't know if setting the canvas width or height to the value it has anyway to clear it (instead of clearing/drawing a rectangle explicitly) is still a useful thing to do, but you might try that as well.

Merged into master. Seeing 3-4% CPU utilization reduction


Update Distance & Direction Widget based on UI Feedback on from WAB Dev team

We need to incorporate the suggested changes from the UI/UX lead from WAB team.
Changes are embedded in these zips:

icons (1).zip
Distance and Direction (1).zip

Actions needed to complete this issue:

[x] Review changes
[x] Fold in changes
[x] Test changes
[x] Push to Devtopia

@kgonzago you added the QC Verify (Automated) label. Is there an automated test being created?

@adgiles @kgonzago What is the level of effort associated with the changes?

Dev effort complete, pushed up to Devtopia in this PR https://devtopia.esri.com/WebGIS/arcgis-webappbuilder/pull/11973

@topowright @dfoll @ACueva
now showing in the daily build (01 Mar 18), good to test

Step 6 of "Create ellipses interactively" needs updated to say something to the effect of "Use the Draw Ellipse tool to designate the ellipse center."

Looks good.


[UI] UI change for Login Page

Description
Improve the UI of Login page to be more attractive
Current Behavior
The current UI is minimalist.
If you're going to work on this issue, create a new issue explaining your changes and mention this issue.

Hello @Vignesh025,
I would like to work on this,
can you please assign this to me under Hacktoberfest.

Hi @villAsh ,
Could you please create a new issue outlining all the specific changes you intend to make? Additionally, kindly reference this issue (issue #3) in the body of the new issue you create.
Thank you!

I want to work on this issue. Please assign this issue to me.

Hey @BinaryBhakti , Create a new issue stating all the changes you want to make and mention this issue like (issue #3). I'll review it and assign it to you.

Hi there,please assign this issue to me.

Hey @aditi13y , Create a new issue stating all the ideas that you have in improving the UI for the login page. I'll assign it to you.

Hey @aditi13y , Are you working on this issue?

Hi @Vignesh025  can you assign me this issue i will make PR within a day. Thanks!

@itsadi-24 , you can proceed.

Yes i'm working on it

@Vignesh025 i have submitted my PR


vcf2db without samples

Hi there,
I annotated a VCF of Clinvar variants using vcfanno and would like to create a database using vcf2db. However, there are no samples in the VCF. I tried adding a fake sample in the header and then making a ped file to go along with this, but am getting an error with this:
File "cyvcf2/cyvcf2.pyx", line 932, in cyvcf2.cyvcf2.Variant.gt_bases.get (cyvcf2/cyvcf2.c:22059)
ValueError: range() step argument must not be zero
I am guessing this is because there are no genotypes? Is there anyway to upload this vcf without samples? I have attached 2 VCFs that are each 1000 lines. The one that has _Copy in the title is the original; the other one has the fake sample added. I also attached my fake ped file.
 You can't just leave them blank.
Also, you need to add a FORMAT header field to define what GT is (https://samtools.github.io/hts-specs/VCFv4.2.pdf).
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality">

Here's a super barebones python script that will add a fake FORMAT and sample field to a vcf
#!/usr/local/bin/python3

import sys
import gzip

vcf = sys.argv[1]
sample_name = sys.argv[2]

for line in gzip.open(vcf,'r'):
    line = line.decode('utf-8')
    if line[0:2] == '##':
        print(line[:-1])
    elif line[0:2] == '#C':
        print('##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">')
        print('##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality">')
        print('##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read Depth">')
        print(line[:-1] + '\tFORMAT\t' + sample_name)
    else:
        line = line.split()
        line = line[:-1]
        print('\t'.join(line) + '\t.\tGT:GQ:DP\t0/1:100:100')


Add composer.json

Add support for composer handling of bootstrap-select

@leejinlin Can you mark bootstrap-select/bootstrap-select as abandoned on Packagist and set snapappointments/bootstrap-select as the replacement package?


[Refactor] Modified check_if_content_exists to explicitly check container length

This prevents potential IndexErrors
-Added tests

Summary by Sourcery
Refactor the check_if_content_exists method to explicitly check the container length, preventing potential IndexErrors, and add corresponding tests to ensure correct functionality.
Bug Fixes:

Prevent potential IndexErrors by explicitly checking the container length in the check_if_content_exists method.

Tests:

Add parameterized tests for the check_if_content_exists method to verify behavior with different container lengths.

@sourcery-ai review

@sourcery-ai review

@sourcery-ai review