Rails 5.0.0.beta2   Unknown key: :order

ruby: ruby 2.2.3p173
rails: Rails 5.0.0.beta2
Rails 5.0.0.beta2 fails on startup with this error:
/Users/../.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta2/lib/active_support/core_ext/hash/keys.rb:79:in `block in assert_valid_keys': Unknown key: :order. Valid keys are: :class_name, :anonymous_class, :foreign_key, :validate, :autosave, :table_name, :before_add, :after_add, :before_remove, :after_remove, :extend, :primary_key, :dependent, :as, :through, :source, :source_type, :inverse_of, :counter_cache, :join_table, :foreign_type, :index_errors

Had the same problem, I solved this using master branch.
gem 'acts-as-taggable-on', github: 'mbleigh/acts-as-taggable-on'

Ok, marvelous. Thank you.  Worked like a charm.

Rails 5 Beta 4, still works perfectly.
You have saved my day


ModSec Audit logs in JSON format - not JSON?

Describe the bug
I'm running ModSec as a library for testing purposes (with GoTestWAF, but that's not important I don't think). It is printing JSON audit files (one per request) to the file system.  Field time_stamp looks corrupted though as I gaze and the files with JSON that won't parse cos "time_stamp": "\u0014\u00108....\u0006" is choking subsequent parsers (like the one in browsers).
Source code question
In src/transaction.cc, should c_str() be called twice?
    std::string ts = utils::string::ascTime(&m_timeStamp).c_str();

    .. snip ..

    LOGFY_ADD("time_stamp", ts.c_str());

Hi @paul-hammant,
could you show your relevant configuration? I've never faced any issue like this - and I think the regression test framework covers all scenario (haven't checked this specific one), so I would wonder if this is a new issue (if it is). But with a config snippet I try to check that.


Flag field in the Transport struct not to cache blank responses

We have an issue with Cloudflare CDN that we sometimes receive zero-length response even though in the next request we may get correct content. The problem is that this zero-length response get cached and we start showing it on our page as well. By introducing additional bool field in the Transport struct (like SkipZeroResponse), we may use it later in RoundTrip method before cache.Set() to find out if Content-Length is zero and then skip storing to cache. I am willing to submit PR for this. So this would be just an optional behaviour.

I think you could fix your problem with a separate roundtripper that deals with this weird situation - detect the zero-length, and add a header that prevents caching before it is processed by this one. So I don't think adding a flag makes sense in this library.

OK, thank you.


Write unittest for optimizer

This test uses mock package.
fix #71

We need to clarify its behavior when gpu arrays and cpu arrays are mixed.

LGTM. CPU/GPU behavior (mixing CPU/GPU arrays in one optimizer, moving to/from CPU/GPU during optimization, etc.) should be discussed in another issue.


[MNT] Extend python support to 3.10

Reference Issues/PRs

Fixes #2079

What does this implement/fix? Explain your changes.

Does your contribution introduce a new dependency? If yes, which one?

What should a reviewer concentrate their feedback on?

Any other comments?

PR checklist

For all contributions

[ ] I've added myself to the list of contributors.
[ ] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[ ] I've added unit tests and made sure they pass locally.

For new estimators

[ ] I've added the estimator to the online documentation.
[ ] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

Nice!
Fingers crossed...

@lmmentel, it seems the syntax you are using is not working as intended, as in "install only if python < 3.10"?
The CI installs still seem to try installing stan etc

@lmmentel, it seems the syntax you are using is not working as intended, as in "install only if python < 3.10"?
The CI installs still seem to try installing stan etc

Which platform? Any logs you can share?

windows 3.10 logs

windows 3.10 logs

windows CI uses conda so that's why pystan is installed (see https://github.com/alan-turing-institute/sktime/blob/d6d2e129edad2233bd4df7511147c3c769cbbad9/.github/workflows/test.yml#L74)

closed in favour of #2661 which is the only current practical approach to deal with the test failures due to version incompatibility of soft dependencies


feat: add support for webpack5

What kind of change does this PR introduce? (bugfix, feature, docs update, improvement)
feature
What is the current behavior? (You can also link to an open issue here)
it doesn't work with Webpack5
What is the new behavior (if this is a feature change)?
Make it compatible with Webpack5
Does this PR introduce a breaking change?
no
Please check if the PR fulfills contributing guidelines
ok
but some Webpack5 changes caused the test to be error
for example “MultiEntryPlugin”

i think it due to nodejs version conflict
eslint 7.0 need 12.0.0 but .travis is 8.10.0

Looking forward to seeing this get in!

@kisenka Is there a plan to merge this PR for upcoming webpack 5 support?

@kisenka Is there a plan to merge this PR for upcoming webpack 5 support?

+1 -- this is the last Webpack library we're using (at least that I'm aware of 🤞 ) that still needs to get updated before we can upgrade to Webpack 5. 👀

Likewise- we've been eagerly awaiting this update!

Sorry to bug but any updates on this? What work is left that's preventing this from getting merged down...?!

@kisenka can this be at least released in a beta release? It's the only loader remained preventing us from upgrading to webpack 5.

Great work! I can only recommend the merge, because it solves the problem with Webpack5 compatibility.
Workaround tip, as long as the PR is not merged: Fork the repository of @mayako21126 and create a private NPM package here in Github.
That way I bridge the time when you can work with the package here again.

Webpack 5 officially reaches the release candidate: https://github.com/webpack/webpack/releases/tag/v5.0.0-rc.0
It would be nice this PR gets merged

This worked for me. Looking forward to a release version.

This branch has worked great for me with webpack 5.
Webpack 5 is released two days ago.
Would there be an effort to merge this?

merge please.

Great work! I can only recommend the merge, because it solves the problem with Webpack5 compatibility.
Workaround tip, as long as the PR is not merged: Fork the repository of @mayako21126 and create a private NPM package here in Github.
That way I bridge the time when you can work with the package here again.

@christophstockinger @mayako21126 I tried to fork the repo with the changes from this PR. Unfortunately, the webpack-5 environment does not start and therefore I can not release a private package. The guide in CONTRIBUTING.md is a little rough. How did you manage to get this to work?
bootstrap
# git clone # from https://github.com/mayako21126/svg-sprite-loader
# git checkout add-support-webpack5

$ sh scripts/build.sh

#...

Running node v12.18.1 (npm v6.14.5)
yarn install v1.22.4
info No lockfile found.
[1/4] Resolving packages...
warning<EMAIL_ADDRESS>Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
[2/4] Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^10.0.0,^11.0.0,^12.0.0,>=14.0.0". Got "12.18.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
webpack-5 env installed

release
$ yarn release

$ node scripts/build-runtime.js
/.../svg-sprite-loader/scripts/build-examples-dll.js:32
      throw new Error(msgs.join('\n'));
      ^

Error: BUILD EXAMPLES ERRORS
Module not found: Error: Can't resolve 'svg-sprite-loader' in '/.../svg-sprite-loader/examples/browser-sprite-with-dll'

@rohrlaf, I don't know what "private package on Github" means, and how to make it, so this is what I did. It may be a bit incorrect or suboptimal, but worked for me.
So I:

made a fork
npm run build:runtime to get *.build.js files in runtime directory
corrected version in package.json to  "version": "4.99.99", to avoid any conflicts with official versions
pushed this files to repo
url to repo in package.json:

"svg-sprite-loader": "git+http://[your_host]/svg-sprite-loader-fork.git#[commit_hash]",

Note, my git server uses http.
Maybe that will be ok for you.

Can this be merged?

@rohrlaf, I don't know what "private package on Github" means, and how to make it, so this is what I did. It may be a bit incorrect or suboptimal, but worked for me.

@shameleo Thanks for your help, I tried to make it work but still not running for me. Replaced svg-sprite-loader with the patch from @mayako21126, but the react-styleguidist will not work.
With "private package" I meant publishing it on a private registry, as we can not alter svg-sprite-loader on the NPM registry.
$ git clone git@github.com:mayako21126/svg-sprite-loader.git
$ git checkout add-support-webpack5
$ npm/yarn install
$ npm run/yarn build:runtime

# change name to "@myorg/svg-sprite-loader" and "publishConfig" in package.json

$ npm login # login into the private registry
$ npm/yarn publish

Nevertheless, for the node_modules your HTTP approach or the package publishing should not matter. I still can make the build work, although doing the same steps to generate the runtime files.
Error with @mayako21126's patch:
(node:16489) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
        Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
        Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.

Error with current<EMAIL_ADDRESS>TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
    at Hash.update (internal/crypto/hash.js:82:11)
    at BulkUpdateDecorator.update (myproject/node_modules/webpack/lib/util/createHash.js:49:14)
    at NormalModule.updateHash (myproject/node_modules/webpack/lib/NormalModule.js:1042:8)
    at Compilation.createModuleHashes (myproject/node_modules/webpack/lib/Compilation.js:2599:12)
    at myproject/node_modules/webpack/lib/Compilation.js:1952:11
    at Hook.eval [as callAsync] (eval at create (myproject/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (myproject/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
    at myproject/node_modules/webpack/lib/Compilation.js:1914:36
    at Hook.eval [as callAsync] (eval at create (myproject/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (myproject/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
    at Compilation.seal (myproject/node_modules/webpack/lib/Compilation.js:1905:27)
    at myproject/node_modules/webpack/lib/Compiler.js:981:20
    at myproject/node_modules/webpack/lib/Compilation.js:1724:4
    at eval (eval at create (myproject/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:48:1)
    at myproject/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:332:11
    at myproject/node_modules/neo-async/async.js:2830:7
error Command failed with exit code 1.

It looks like there's a https://github.com/JetBrains/svg-sprite-loader/pull/365 pull request that's also supposed to fix this library on Webpack 5. Not sure which pull request is better 🙂

@Slashgear, Sorry to bother you, but are you still a maintainer for this repository?

It looks like there's a #365 pull request that's also supposed to fix this library on Webpack 5. Not sure which pull request is better slightly_smiling_face

@Bosch-Eli-Black thanks for pointing this out. #365 is based on<EMAIL_ADDRESS>whereas this PR is based on<EMAIL_ADDRESS>Nevertheless, both version cause the same deprecation warning and never finish the build for me: DeprecationWarning: Compilation.assets

It looks like there's a #365 pull request that's also supposed to fix this library on Webpack 5. Not sure which pull request is better slightly_smiling_face

@Bosch-Eli-Black thanks for pointing this out. #365 is based on<EMAIL_ADDRESS>whereas this PR is based on<EMAIL_ADDRESS>Nevertheless, both versions cause the same deprecation warning and never finish the build for me: DeprecationWarning: Compilation.assets

Ah, cool; I hadn't noticed that difference.
Are you sure the build is hung and isn't just still running? I know I've seen some reports saying that upgrading to Webpack 5 increased the project's initial build time. Just curious what might happen if you left the build running for, say, 15 minutes XD

Great work! I can only recommend the merge, because it solves the problem with Webpack5 compatibility.
Workaround tip, as long as the PR is not merged: Fork the repository of @mayako21126 and create a private NPM package here in Github.
That way I bridge the time when you can work with the package here again.

@christophstockinger @mayako21126 I tried to fork the repo with the changes from this PR. Unfortunately, the webpack-5 environment does not start and therefore I can not release a private package. The guide in CONTRIBUTING.md is a little rough. How did you manage to get this to work?
bootstrap
# git clone # from https://github.com/mayako21126/svg-sprite-loader
# git checkout add-support-webpack5

$ sh scripts/build.sh

#...

Running node v12.18.1 (npm v6.14.5)
yarn install v1.22.4
info No lockfile found.
[1/4] Resolving packages...
warning<EMAIL_ADDRESS>Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
[2/4] Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^10.0.0,^11.0.0,^12.0.0,>=14.0.0". Got "12.18.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
webpack-5 env installed

Update<EMAIL_ADDRESS>breaks compatibility with Node 12 LTS, 5.3.7 was released as a fix.
release
$ yarn release

$ node scripts/build-runtime.js
/.../svg-sprite-loader/scripts/build-examples-dll.js:32
      throw new Error(msgs.join('\n'));
      ^

Error: BUILD EXAMPLES ERRORS
Module not found: Error: Can't resolve 'svg-sprite-loader' in '/.../svg-sprite-loader/examples/browser-sprite-with-dll'

do you installed nvm?
I solved nodejs version conflict with it

now work with 5.0.0-rc.6

@mayako21126 @Bosch-Eli-Black I found the culprit. As I was trying to publish the forked patches for svg-sprite-loader I published the packages in our private registry with @orgname/. As it seems, either Webpack or this loader has problems with scoped package names, but also the Webpack build was not throwing any errors. Now that I use the package without the @orgname/ scope, things run smoothly :sweat_smile:

If this PR is good, I'd love to see it merged and released.
We'd like to move to Webpack 5 here (because of module federation), but this plugin is a blocker.

Now that we use the package without the @orgname/ scope, things run smoothly 😅
What is the full package name for that fork, which works with Webpack 5? (I'd like to use it, until the official svg-sprite-loader package is update with the fix)

Now that we use the package without the @orgname/ scope, things run smoothly sweat_smile

What is the full package name for that fork, which works with Webpack 5? (I'd like to use it, until the official svg-sprite-loader package is updated with the fix)

Sorry to disappoint, my company policies did not allow me to publish an open source package. We only have it available from our private registry.
How I did it:

apply changes from https://github.com/JetBrains/svg-sprite-loader/pull/365 to latest version 5.0.0 of this loader
npm build:runtime
rename loader name in package.json to (prefix)-svg-sprite-loader (as @scope/` does not work)
npm login to the registry for upload
npm publish to release this package

Webpack Maintainer here 👋 can we get some official movement or merges on this project? If dead then i can fork it and maintain a copy. But there needs to be some update since users seem to have patched the problems it had

Webpack Maintainer here 👋 can we get some official movement or merges on this project? If dead then i can fork it and maintain a copy. But there needs to be some update since users seem to have patched the problems it had

Can't wait to see it.

Webpack Maintainer here 👋 can we get some official movement or merges on this project? If dead then i can fork it and maintain a copy. But there needs to be some update since users seem to have patched the problems it had

@ScriptedAlchemy considering the last commit to master was over 6 months ago and (as far as I can tell) there hasn't been any signs of movement on getting this OK'd and merged, I'm starting to think forking might be our only option here 🙁

Hey, folks!
Unfortunately, the maintainer of this project passed away.
Currently, I need some time to get into and check pull requests. I'll start with this PR next week.

@d3x42 Damn. I am so, so sorry to hear that - my sincere condolences. 😞
Take all the time you need (and really appreciate you letting us know).

That's really sad to hear 😟  @kisenka seemed like a nice guy, on the occasions that I had to talk to him.

Looking forward to seeing this get in!

I beg of you, just merge this PR already, it's been like half a year.
We have entire projects that can't update to webpack 5 just because of this one loader.

Thank you, very appreciated.

Thank you for merging this but it looks like the CI is stuck and I guess we won't get a release until it passes?

@matthewma7 Yes, build already queued.

@kisenka Please review and publish a release with this feature.

@SevenOutman the guy is dead, bro. He's not going to publish anything. Read the message history above.

@shakhbulatgaz sorry to hear that :(

Currently, I didn't have access to publish it in npm, so I'll try to find someone who could grant it. After that, I'll publish the release.

If the maintainer of an npm package is deceased, NPM support can help transfer ownership to a new maintainer. I saw this happen recently with the firebase-mock package: https://github.com/soumak77/firebase-mock/issues/160
In this case, it may be easier (eg. less of a waiting delay) since the package repo was hosted under an organization, rather than an individual's Github account.

5.1.1 published

Great job, but plugin have dependency from incompatible version of html-webpack-plugin
https://github.com/JetBrains/svg-sprite-loader/blob/d5ddfef3784fa179a57fd35f2f3ebb3a9064c076/package.json#L38

when i upgrade to v5.1.1, this error still exist. @d3x42   @rohrlaf
    at Hash.update (internal/crypto/hash.js:58:11)
    at BulkUpdateDecorator.update (/Users/qiliu/gaoding/delarue/node_modules/webpack/lib/util/createHash.js:49:14)
    at NormalModule.updateHash (/Users/qiliu/gaoding/delarue/node_modules/webpack/lib/NormalModule.js:1048:8)
    at Compilation.createModuleHashes (/Users/qiliu/gaoding/delarue/node_modules/webpack/lib/Compilation.js:2619:12)
    at hooks.optimizeChunkModules.callAsync.err (/Users/qiliu/gaoding/delarue/node_modules/webpack/lib/Compilation.js:1957:11)
    at Hook.eval [as callAsync] (eval at create (/Users/qiliu/gaoding/delarue/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/qiliu/gaoding/delarue/node_modules/webpack/node_modules/tapable/lib/Hook.js:18:14)
    at hooks.optimizeTree.callAsync.err (/Users/qiliu/gaoding/delarue/node_modules/webpack/lib/Compilation.js:1917:36)
    at _err0 (eval at create (/Users/qiliu/gaoding/delarue/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:18:1)
    at handleCompilationDonePromise.then (/Users/qiliu/gaoding/delarue/node_modules/html-webpack-plugin/lib/cached-child-compiler.js:237:53)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:55321) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:55321) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.```

@ogonkov Fell free to add PR with updates

Great job, but plugin have dependency from incompatible version of html-webpack-plugin. I guess 6.x version should be published instead, with dependencies update.
https://github.com/JetBrains/svg-sprite-loader/blob/d5ddfef3784fa179a57fd35f2f3ebb3a9064c076/package.json#L38

https://github.com/JetBrains/svg-sprite-loader/pull/422


ReproZip automatic shell/consolidated database

(high-level idea, needs brainstorming)
Similarly to noWorkflow or Git, the .reprozip-trace folder in the project directory would contain past versions of the experiment (inputs, outputs, dependencies, binaries (sources?)), in a queryable format, allowing the user to find old results, use new inputs on old software versions, query how an output file was created, run new code in a previous environment, etc.
To do that:

[ ] Come up with a better storage format, that would accept multiple versions of the same files (Git? file_archive?)
[ ] Change C tracer to store files during execution
[ ] New interface to automatically trace runs with their metadata in that database. RPZ packages would be created by extracting a subset of these runs/files from the database. Deleting runs would use some kind of garbage collection (like Git)
[ ] Query metadata
Needs new unpacker to easily be able to re-run past environments (setting up a separate Docker container is heavy, and will hog unnecessary disk space)

I started work on this in a new branch. Went with flat file storage + SQLite3 database, where all the metadata is stored (basically a table: run id, path, UNIX perms, content hash).
Looks very doable, but line between reprozip & reprounzip becomes fuzzier.


This is amazing tool

Men you're a genius great tools how about implementing layers and support for mask, to mask area like in this composition
This is a mockup for a tool i have in mind and a canvas to visualize the layers comp.

For example, this is your tool if you see I would like to mask the flag with the same hoodie mask as a clipping mask.

Looks like there is a bug when I zoom out the image disappear

Hi @kakachiex2

thanks for your ideas, your mock is really nice and in fact I had in mind something similar. I'am learning how to do code things in comfy so i'm not yet sure this is possible/easy to achive but I will look into it.  for masking I am using nodes from other suites.
for zindexing manipulation in the compositor is not straightforward I admin, expecially in complex cases and see how it can be improved.
regarding the zoom out thanks for reporting the bug! It's a known issue and I think it's a limitation of Comfy. When zooming out a bit also other parts of all nodes, like text, disappear. I will check if it is possible to fix it and open a bug for it.

Thanks for replaying good work on this tool keep it flowing..!

Looks like there is a bug when I zoom out the image disappear

@kakachiex2 this is now fixed in the latest update.

masks (with auto apply) are coming with pr #26
clipping is possible but not yet planned.

I have basic knowledge of coding HTML | CSS | JAVA SCRIPT in trying to recreate my layer node mockup in comfyui let see how far I can go.


gradle distDocker: docker cp cli:/cli/dist/ "/home/travis/build/openwhisk/openwhisk/tools/cli/build/distributions/"' failed with exitCode 1

Even the build succeeded, each time to run "gradle distDocker", we will get the following error:
Successfully built 8ff513a5c6cd

:tools:cli:removeDistribution UP-TO-DATE

:tools:cli:distTar

Executing 'docker rm -f cli'

Executing 'docker run --name cli whisk/cli'

Executing 'docker cp cli:/cli/dist/ "/home/travis/build/openwhisk/openwhisk/tools/cli/build/distributions/"'

Command 'docker cp cli:/cli/dist/ "/home/travis/build/openwhisk/openwhisk/tools/cli/build/distributions/"' failed with exitCode 1

Executing 'docker rm -f cli'

:tools:cli:tagImage

Executing 'docker tag -f whisk/cli whisk/cli:latest'

:tools:cli:pushImage SKIPPED

:tools:go-cli:distDocker

This is not some blocking issue, but we need to find out the cause and fix it.

@dubeejw can you take a look?

@rabbah, I can take a look. I think I know why the error is occurring anyway.


[Cloud Bug]: Show dates in observability in local time

Cloud Issue #337

Issue fixed as a result of this PR: https://github.com/Agenta-AI/agenta/pull/1565


kafka plugin occur errror when to indicate callback in lambda expression

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
hello, when use lambda expression to indicate kafka callback, there has not to generate inner class, and  it does not to trigger define class event, not to match "org.apache.skywalking.apm.plugin.kafka.define.CallbackInstrumentation", so has class cast error in KafkaProducerInterceptor.

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

@wu-sheng ,this issue can be resolve by https://github.com/apache/skywalking/pull/4826, that is a simple way to resolve it. glad to tell me, if anyone have better method.


No Signature under provided delay, permission and keys??

Error
transaction declares authority '{"actor":"gemin....","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [], provided keys ["EOS6wK74NhZ2CwLheYs.....","EOS7reqTZy8TKzK1jPEiyD......"], and a delay max limit of<PHONE_NUMBER> ms....
Please assist in resolving this. I have no idea what i have done

This question is probably best suited for the stack exchange https://eosio.stackexchange.com/
But to briefly explain, you don't have the private keys for the account  gemin in your wallet.  If you are using cleos with keosd, you can import keys with the command cleos wallet import

Connect with our  team representatives to help resolve your issue and troubleshooting .
Connect here: direct.lc.chat/14158209/
Hours of Operation
24/7 (Ready to fix issues)


update config structure

const algonaut = new Algonaut({
    BASE_SERVER: 'https://testnet-algorand.api.purestake.io/ps2',
    INDEX_SERVER: 'https://testnet-algorand.api.purestake.io/idx2',
    LEDGER: 'TestNet',
    PORT: '',
    API_TOKEN: { 'X-API-Key': process.env.API_TOKEN }
});

-->
const algonaut = new Algonaut({
    BASE_SERVER: 'https://testnet-algorand.api.purestake.io/ps2',
    INDEX_SERVER: 'https://testnet-algorand.api.purestake.io/idx2',
    LEDGER: 'TestNet',
    PORT: '',
    API_TOKEN: process.env.API_TOKEN,
    API_TOKEN_HEADER: 'X-API-Key'
});

thoughts @enceladus ?

This is definitely an improvement but I think we should maybe build this
into a bigger change.
It would be nice if you could load a testnet and mainnet server at once,
dynamically switching between them with a CURRENT_LEDGER parameter.
But it should also support loading one node that's completely "offline",
like a sandbox node that is neither testnet nor mainnet.
It'd be a big & breaking change to the configuration, though, and how Algod
is implemented, so let's give it some thought.
On Tue, Aug 16, 2022 at 6:38 AM spencer cap @.***>
wrote:

const algonaut = new Algonaut({
BASE_SERVER: 'https://testnet-algorand.api.purestake.io/ps2',
INDEX_SERVER: 'https://testnet-algorand.api.purestake.io/idx2',
LEDGER: 'TestNet',
PORT: '',
API_TOKEN: { 'X-API-Key': process.env.API_TOKEN }});
-->
const algonaut = new Algonaut({
BASE_SERVER: 'https://testnet-algorand.api.purestake.io/ps2',
INDEX_SERVER: 'https://testnet-algorand.api.purestake.io/idx2',
LEDGER: 'TestNet',
PORT: '',
API_TOKEN: process.env.API_TOKEN,
API_TOKEN_HEADER: 'X-API-Key'});
thoughts @enceladus https://github.com/enceladus ?
—
Reply to this email directly, view it on GitHub
https://github.com/thencc/algonautjs/issues/36, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAERQXJISU43KI2I73TAHK3VZMLLVANCNFSM56UKNJTA
.
You are receiving this because you were mentioned.Message ID:
@.***>

k yes yes, makes sense. let's pike it


View method for user assignments

We need a view method that returns one user's assignments with details of the task included.

SURR view method needs to have a unit test.

Once #52 is merged from PR #89 this is good to go.

I also hope I assumed correctly that a regular user needs access to this view through the object owner role.

Correct.
On Sat, Jan 28, 2012 at 2:15 AM, John O'Connor
<EMAIL_ADDRESS>wrote:

I also hope I assumed correctly that a regular user needs access to this view through the object owner role.


pyupm_rotaryencoder returns decreasing values

I have RotaryEncoder v1.1 from Grove Indoor Environment Kit.
I tried to use it with code example from IoT DevZone, but for some reasons encoder returns me only decreasing values in both rotating directions. My encoder is connected to D2 pin.

I asked Intel community for help, for seems it is not common situation. So I think it is either something in upm library, or I have broken piece of hardware.

Hi, I only have v1.0 for the Rotary Encoder and the examples work fine with that. I do recall that the interrupt edge mode was set to rising only for compatibility with both Galileo and Edison, and that's not ideal. Also, there is no HW or SW debouncing done, that would have to be addressed in the application. A side effect of this was that sometimes, at the end of a counterclockwise turn, the position would change in the other direction by 1 or 2 units. Nothing near what you're showing though, as while turning you would still get the right values.
It might be that v1.1 was changed and behaves differently. I will try to get my hands on one and look into this further!

Can I help you somehow? Get any from controller?

If you happen to have an oscilloscope you could take a look at the output on D2 & D3 to see if they match this:

Unfortunately, I wasn't able to find any available oscilloscope right now. Let me know, if I can be useful somehow else.

No worries. Still waiting on my Indoor Environmental Kit, I will let you know what's going on once I get it.

Sorry but one I have in the Environmental Kit is also v1.0. Thus I will have to order a new one and that will probably take a few days.

Hi, I got the v1.1 encoder, it works just fine and I figured out what your issue is. You are not getting a signal on the second pin of the rotary encoder. Hence if you initialize the sensor on D3 & D4 for instance, but you connect the encoder on pins D2 & D3 on the board, you'll see the exact behavior you described. If the pins are matching in your case there must be something wrong with either the encoder or the wire. Hope this helps!


Allow passing nil to functions as nil interface{}

Released at https://github.com/antonmedv/expr/releases/tag/v1.4.4


Queries reaching unbound but not getting any reply

I can't see anything obvious in unbound logs. Can see the queries like below in unbound logs but no obvious errors.
[1687321952] unbound[1:0] info: 28RDdc mod1 rep ntllaboratory.com. HTTPS IN
[1687321952] unbound[1:0] debug: close of port 4722
[1687321952] unbound[1:0] debug: close fd 11
[1687321952] unbound[1:0] debug: serviced send timer
[1687321952] unbound[1:0] debug: EDNS lookup known=0 vs=0
[1687321952] unbound[1:0] debug: serviced query UDP timeout=3008 msec
[1687321952] unbound[1:0] debug: inserted new pending reply id=44dd
[1687321952] unbound[1:0] debug: opened UDP if=0 port=26992
[1687321952] unbound[1:0] debug: comm point start listening 10 (-1 msec
docker-compose
version: "2.1"
services:
adguard:
container_name: adguard
image: adguard/adguardhome:latest
cap_add:
- NET_ADMIN
networks:
ag_network:
ipv4_address: <IP_ADDRESS>
volumes:
- /srv/dev-disk-by-uuid-726c5e38-c8dc-4689-bd4c-dcbff76b78f9/appdata/docker/adguard/Work:/opt/adguardhome/work
- /srv/dev-disk-by-uuid-726c5e38-c8dc-4689-bd4c-dcbff76b78f9/appdata/docker/adguard:/opt/adguardhome/conf
ports:
- 53:53/udp
- 67:67/udp
- 68:68/tcp
- 68:68/udp
- 80:80/tcp
- 443:443/tcp
- 853:853/tcp
- 3009:3000/tcp
#Unbound
unbound:
image: klutchell/unbound:build-gh-renovate-product-os-flowzone-5.x
container_name: unbound
ports:
- 5053:53/tcp
- 5053:53/udp
networks:
ag_network:
ipv4_address: <IP_ADDRESS>
volumes:
- /etc/localtime:/etc/localtime:ro
- /srv/dev-disk-by-uuid-726c5e38-c8dc-4689-bd4c-dcbff76b78f9/appdata/docker/unbound:/etc/unbound
networks:
ag_network:
name: ag_network
driver: macvlan
driver_opts:
parent: eth0
ipam:
config:
- subnet: <IP_ADDRESS>/24
gateway: <IP_ADDRESS>
ip_range: <IP_ADDRESS>/30

Are you using a custom configuration file, or just the defaults?
Have you tested DNS lookups to unbound directly, or only via adguard?
What is returned by dig @localhost -p 5053 dnssec.works on the host?

Defaults. Tried directly by pointing to the unbound ip witj dig command, returns server times out. Can't run on host as I'm not bale to connect to the docker container unbound. Is there an entry point in the dockerfile?

The image is distroless so there is no way to log into the container, by design.
Have you tried without mounting the /etc/unbound volume? You said you were using the default config so there is no need to mount that directory, and it would rule out an issue with your config.
Also, could you try without the custom IP configuration in the dockerfile to make sure it's not an issue with your ipam setup?

Yes tried without mounting too. How do I do that? Modify dicker file & create a new image?

@khadanja are you still experiencing this issue?


js: migrated webhooks index page to vue components

Signed-off-by: Vítor Avelino<EMAIL_ADDRESS>

This is the first of three parts of the webhooks refactoring. I'm splitting the PRs because I want to avoid a huge and almost impossible PR to be reviewed. The other two parts are the webhook show page and webhook headers.

I guess that you are leaving API methods for later ?

I guess that you are leaving API methods for later ?

Correct.

It's green and good to be reviewed. :wink:

Good job :clap:


Updated S2S whitelist

https://tools.hmcts.net/jira/browse/EM-3062

Not required. As this change is required in dm-store.


MongoError: can't get regex from filter doc

Hi. Great project!
I just signed up for a mongodb.com free tier account.
I installed your server and tried to connect to this DB, but nothing was working.. and it was displaying error messages.
The network tab showed that this request:
  http://localhost/databases?includeCollections=true

was returning:
  400 Bad Request
  MongoError: can't get regex from filter doc Error parsing value [{$not [{$regex {"pattern": "system.+$", "options": ""}}]}] to RegEx: Must specify $regex field

This regex pattern is used in two places:

listing databases with all associated collections
listing collections for a single database

In both cases, I replaced:
  .listCollections({ name: { $not: { $regex: /system.+$/ } } }).toArray()

with:
  .listCollections().toArray()

..and now the server works properly.
I don't know if this cloud service  is a special case.. but I just wanted to make a PSA about this issue.
Would it be worth considering a cli option to prevent using this regex filter?
ex: mongo-gui --all-collections -p 80 -u ...

Windows 7 SP1
node v16.14.0
mongodb v5.0.6

fixed.


Fixed typos and updated spelling wordlist.

The docs build failure seems unrelated.
Merged in e42a720ba22a51c68d2316d425234a197eaff467.
Dankjewel!

Any ideas why those words needed to be added the wordlist? I haven't looked into where Sphinx gets its dictionary from, but there have been reports of similar errors on other systems and it would be nice if we could pinpoint the reason for this and possibly add it as an FAQ.

From IRC: "on the 'wordlist commit': the Sphinx dictionary that is being used is aspell-en_US. The words that were added in the commit were not present in that dictionary, but were used in the documentation. Arch linux."
Another question is if we need to add both lower and uppercased version of the same words.

Adding just upper or lowercase would imply doing a case insensitive check agains the wordlist, which might not be correct for names, acronyms and abbreviations.
Examples:

'Swiss army knife' vs. 'swiss army knife'
'DoS' (Denial of Service) vs. 'DOS' (Disk Operating System) vs. 'dos' (incorrect)


[Designer] GIF support

Automatically generated task. Any updates to the title and body will be overwritten. Do NOT modify the labels.
Designer implementation of #2871

GIFs already work in Designer


feat(loki): rename collection

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/LokiJS-Forge/LokiJS2/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

Coverage increased (+0.02%) to 92.73% when pulling 38274afecc5efa5e64dc6714b620341f95ad187e on rename_collection into 6c135357258e693a9983f2aa78302df4f8fc8091 on master.


feat: handle non-local files with grace

This task aims to resolve all of the issues in the Related items section below. The tasklist clarifies how we plan to accomplish this.
### Tasks
- [ ] feat(files): users know whether files are local or not before they click them
- [ ] feat(files): when offline, files/folders are not clickable if the user would not be able to view the content/children
- [ ] feat(files): users can replicate files locally with an action
- [ ] https://github.com/ipfs/ipfs-webui/issues/1248
- [ ] https://github.com/ipfs/ipfs-webui/issues/1691

Some details about a method forward for this at https://github.com/ipfs/ipfs-desktop/issues/2492#issuecomment-1620846856
Related items

https://github.com/ipfs/ipfs-desktop/issues/2492
https://github.com/ipfs/ipfs-webui/issues/1691
https://github.com/ipfs/ipfs-webui/issues/961
https://github.com/ipfs/ipfs-webui/issues/1248

@SgtPooki @kt-wawro
Planning to work on this after closing https://github.com/ipfs/ipfs-webui/pull/2255

@SgtPooki @lidel
About:

feat(files): Users can now see whether files are local or remote before clicking them.

To determine if a file is local, I'm using the following commands:
ipfs block stat --offline CID   # ipfs.block.stat(cid, { offline: true })

I’m retrieving all blocks for the current directory and checking if they are local or not by using:
ipfs dag get CID   # ipfs.dag.get(f.cid)

I modified the dirStats function in actions.js. Initially, I retrieved all the links for the listed files and checked if they were local. However, this turned out to be time-consuming. So, empirically, I now check only the first link and assume:

If one link CID is found to be local, the file is marked as local.
If one link CID is offline, the file is marked as remote.
If the directory list exceeds 300 entries, I stop checking and mark it as undefined.

/**
 * @param {IPFSService} ipfs
 * @param {CID} cid
 * @param {Object} options
 * @param {string} options.path
 * @param {boolean} [options.isRoot]
 * @param {import('./utils').Sorting} options.sorting
 */
const dirStats = async (ipfs, cid, { path, isRoot, sorting }) => {
  const entries = await all(ipfs.ls(cid)) || [];

  // Workaround for a regression in the IPFS HTTP Client that causes
  // `ls` on an empty dir to return a list with the dir itself.
  // @see https://github.com/ipfs/js-ipfs/issues/3566
  const res = (entries.length === 1 && entries[0].cid.toString() === cid.toString()) ? [] : entries;
  const files = [];

  // Caution: There was a historical performance issue when too many directories were present
  let dirCount = 0;

  for (const f of res) {
    const absPath = join(path, f.name);
    let file = null;

    if (dirCount < 1000 && (f.type === 'directory' || f.type === 'dir')) {
      dirCount += 1;
      file = fileFromStats({ ...await stat(ipfs, f.cid), path: absPath });
    } else {
      file = fileFromStats({ ...f, path: absPath });
    }

    // Check if the file is local
    const refs = await ipfs.dag.get(f.cid);
    // Extracting all CIDs
    const refsCids = refs.value.Links.map(link => link.Hash['/']);

    if (dirCount > 300) {
      file.isLocal = undefined;
    } else if (refsCids.length === 0) {
      file.isLocal = true;
    } else {
      file.isLocal = true;
      const myCid = refsCids[0];
      const cidDecoded = CID.decode(myCid);

      try {
        const res = await ipfs.block.stat(cidDecoded, { offline: true });
        console.log(`myCid=${cidDecoded}, res=${JSON.stringify(res, null, 2)}`);
      } catch (error) {
        file.isLocal = false;
        console.error(`Error fetching stats for cid=${cidDecoded}:`, error);
      }
    }
    files.push(file);
  }
};

The UI looks like this:

No icon for local files.
A cloud symbol for remote files.
A question mark symbol for files with an unknown state.
{ isLocal === undefined ? '❔' : !isLocal && '☁' }

PS: Try the Project Apollo Archives and XKCD archives
Thoughts?

@SgtPooki @lidel
About

feat(files): when offline, files/folders are not clickable if the user would not be able to view the content/children

I wanted to check whether the browser is offline or online in JavaScript by using the navigator.onLine  property, which returns a boolean value
How ever not all browser are compliant like safari on mac.
So I after browsing for info on forums, I thought to add an additional check, let's say once every 60 secs getting google icon to see if we're really on line.
if (navigator.onLine) {
    console.log("You are online");
} else {
    console.log("You are offline");
}

// Check if we are online

const CHECK_INTERNET_STATUS = 60 * 1000; // 60 seconds in milliseconds

function isGoogleOnline() {
  return new Promise((resolve) => {
    const img = document.createElement('img');
    img.onerror = () => resolve(false);
    img.onload = () => resolve(true);
    img.src = 'https://www.google.com/favicon.ico?_=' + new Date().getTime();
  });
}

// Function to check status and log the result
function checkInternetStatus() {
  isGoogleOnline().then((isOnline) => {
    if (isOnline) {
      console.log("You are online!");
    } else {
      console.log("No internet connection.");
    }
  });
}

// Run the check every 60 seconds
setInterval(checkInternetStatus, CHECK_INTERNET_STATUS);

// Optionally, run it immediately on page load as well
checkInternetStatus();

If we're offline I'll apply this class to shade/unclick the file view
.greyed-out {
  color: grey;
  pointer-events: none; /* This will prevent clicking */
  opacity: 0.5;
}

Should I choose only to use navigator.onLine  property or use also the get image workaround, but I'm afraid in some cases it could fail even if we're not offline and shade the file content
Thoughts?

hey @acul71, thanks for the ping. We shouldn't include a dependency on a service like google.. I think a simple check for a 'hello world' CID should be sufficient for a backup online check? such as a fetch for bafkqae2xmvwgg33nmuqhi3zajfiemuzahiwss or similar.
If we query the local kubo node it could resolve immediately (due to being an inline CID) even if we're not actually online, so i'm thinking maybe a light fetch request to trustless-gateway.link?

const url = 'https://trustless-gateway.link/ipfs/bafkqae2xmvwgg33nmuqhi3zajfiemuzahiwss?format=raw';

async function headRequest(url) {
  try {
    const response = await fetch(url, {
      method: 'HEAD',
    });

    if (!response.ok) {
      throw new Error(`HTTP error! status: ${response.status}`);
    }

    // Log status code
    console.log('Status Code:', response.status);
  } catch (error) {
    console.error('Error making HEAD request:', error);
  }
}

headRequest(url);

About

feat(files): users can replicate files locally with an action

I'm planning to modify doFilesFetch that handles the procedure.
After the command const cid = await ipfs.files.cp(srcPath, dst) I'm doing ipfs.refs(srcPath, { recursive: true }) to actually get all the blocks. Is this the way or ?
I saw that for large content It can take a long time to complete and no visual status (except console messages for the moment) is given
'''javascript
/**

Adds file under the src path to the given root path. On completion will
trigger doFilesFetch to update the state.
@param {string} root
@param {string} src
@param {string} name
*/
doFilesAddPath: (root, src, name = '', downloadLocally = false) => perform(ACTIONS.ADD_BY_PATH, async (ipfs, { store }) => {
ensureMFS(store)

const path = realMfsPath(src)
const cid = /** @type {string} */(path.split('/').pop())

if (!name) {
  name = cid
}

const dst = realMfsPath(join(root, name))
const srcPath = src.startsWith('/') ? src : `/ipfs/${cid}`

try {
  console.log(`Adding ipfs.files.cp(${srcPath}, ${dst}) downloadLocally=${downloadLocally}`)
  const cid = await ipfs.files.cp(srcPath, dst)
  console.log(`Adding ipfs.files.cp(${srcPath}, ${dst}) = ${cid}`)

  // ipfs refs --recursive --help
  if (downloadLocally === true) {
    for await (const ref of ipfs.refs(srcPath, { recursive: true })) {
      if (ref.err) {
        console.error('refs: ', ref.err)
      } else {
        console.log('refs: ', ref)
        // output: "QmHash"
      }
    }
  }
  return cid
} finally {
  await store.doFilesFetch()
}

}),

@SgtPooki @lidel About:

feat(files): Users can now see whether files are local or remote before clicking them.

To determine if a file is local, I'm using the following commands:
ipfs block stat --offline CID   # ipfs.block.stat(cid, { offline: true })

I’m retrieving all blocks for the current directory and checking if they are local or not by using:
ipfs dag get CID   # ipfs.dag.get(f.cid)

I modified the dirStats function in actions.js. Initially, I retrieved all the links for the listed files and checked if they were local. However, this turned out to be time-consuming. So, empirically, I now check only the first link and assume:

If one link CID is found to be local, the file is marked as local.
If one link CID is offline, the file is marked as remote.
If the directory list exceeds 300 entries, I stop checking and mark it as undefined.

..........
lidel (from Slack)
Monday at 4:58 PM
i think heuristic and proposed UX sounds sensible, you may run into trouble with big HAMT-sharded directories but people dont open such big directories with webui anyway.
something you may explore is checking directory in a streaming fashion, or maybe even improving kubo RPC.
what  you can do today in CLI (i dont remember if kubo-rpc-client in JS supports this in streaming fashion):
ipfs ls --stream --size=false --resolve-type=false --offline /ipns/en.wikipedia-on-ipfs.org/wiki/  will list content of directory without fetching root blocks of children (and you will get Error if you dont have enough blocks to enumerate directory
ipfs ls --stream --size=true --resolve-type=true --offline /ipns/en.wikipedia-on-ipfs.org/wiki/  will also check size and type of every child, triggering its fetch, so if any of children is not local, you will get error like
Error: block was not found locally (offline): ipld: could not find bafybeihn2f7lhumh4grizksi2fl233cyszqadkn424ptjajfenykpsaiw4
What we could add to Kubo RPC, is --is-local=true|false  which would return additional field for every item in directory informing you if the root is local or not.
This way we could do ipfs ls --stream --size=false --resolve-type=false  --is-local=true /ipns/en.wikipedia-on-ipfs.org/wiki/  (using new flag instead of --offline and fetching all roots ) and this way it would not error on first missing block, but enumerate directory without doing extra work.
React
4:59
anyway, maybe open a PR or issue and we can discuss there?  feels like useful feature, but we also should not add extra 1-2 requests per file
5:00
in my mind, locality check is a niche feature, most of users will have data locally, no need for them to pay penalty of those additional checks , so better to add  locality status to RPC, just like we get file size i guess?
##############################
@lidel @SgtPooki
I've been trying to profile the added code I find out that this is the time added by the additional check:
time_X                  43 files    0.152 seconds
time_Apollo_albums.txt  105 files   0.422 seconds
time_XKCD_Archive.txt   1013 files  1.429 seconds

Maybe what I can do is submit this solution in the PR and open an issue or feat request in kubo, to let this info (local or not) come back with ipfs.files.stat.
It seems to me reasonable to wait some fraction of a second in average to get the info. And then when the kubo feat will be implemented, change the code accordingly.
Let me know, what to do..
/**
 * @param {IPFSService} ipfs
 * @param {CID} cid
 * @param {Object} options
 * @param {string} options.path
 * @param {boolean} [options.isRoot]
 * @param {import('./utils').Sorting} options.sorting
 */
const dirStats = async (ipfs, cid, { path, isRoot, sorting }) => {
  const entries = await all(ipfs.ls(cid)) || []
  // Workarounds regression in IPFS HTTP Client that causes
  // ls on empty dir to return list with that dir only.
  // @see https://github.com/ipfs/js-ipfs/issues/3566
  const res = (entries.length === 1 && entries[0].cid.toString() === cid.toString())
    ? []
    : entries
  const files = []

  // precaution: there was a historical performance issue when too many dirs were present
  let dirCount = 0
  // let fileCount = 0

  for (const f of res) {
    const absPath = join(path, f.name)
    let file = null

    if (dirCount < 1000 && (f.type === 'directory' || f.type === 'dir')) {
      dirCount += 1
      file = fileFromStats({ ...await stat(ipfs, f.cid), path: absPath })
    } else {
      file = fileFromStats({ ...f, path: absPath })
    }

    // Start timing
    const startTime = performance.now()
    // If dirCount > 300 stop checking and mark isLocal as undefined
    if (dirCount > 300) {
    // if (fileCount > 300) {
      file.isLocal = undefined
    } else {
      // fileCount += 1
      // Check if file is local
      const refs = await ipfs.dag.get(f.cid)
      // Extracting all CIDs
      const refsCids = refs.value.Links.map(link => link.Hash['/'])
      // console.log(refsCids)
      // console.log(`refs=${JSON.stringify(refs, null, 2)}`)
      if (refsCids.length === 0) {
        file.isLocal = true
      } else {
        file.isLocal = true
        // for (const myCid of refsCids) {
        const myCid = refsCids[0]
        const cid = CID.decode(myCid)
        // console.log(cid) // debug lucas
        try {
          // console.log(`myCid=${myCid} cid=${cid.toString()}`)
          // const res = await ipfs.block.stat(cid, { withLocal: true, offline: true })
          // const res = await ipfs.block.stat(cid, { offline: true })
          await ipfs.block.stat(cid, { offline: true })
          // console.log(`myCid=${cid}, res=${JSON.stringify(res, null, 2)}`)
          // break
        } catch (error) {
          file.isLocal = false
          console.error(`Error fetching stats for cid=${cid}:`, error)
          // break
        }
      }
    }
    // End timing and log the duration
    const endTime = performance.now()
    // const duration = (endTime - startTime) / 1000 // Convert to seconds
    const duration = (endTime - startTime)
    // console.log(`Time taken to check if file is local: ${duration.toFixed(3)} seconds`)
    console.log(`${startTime} Time taken to check if file is local: ${duration}`)

    files.push(file)
  }

@lidel @SgtPooki
About:

https://github.com/ipfs/ipfs-webui/issues/1248

What is the exact meaning of files, pins, blocks, local repo ?
Right know It's like this:

I assume that:

local repo is the same of ALL BLOCKS ("Total size of blocks on your entire IPFS node; this includes everything in Files, plus all locally pinned items and any temporary cached data")
files is the same of FILES ("Total size of data in the current directory (if a subdirectory, the size of all data in Files is also displayed)")
pins: What is exactly (The number of pinned CIDs?)
blocks: What is exactly (The number of all blocks from the root ?)

About the expandable thingy (▶) About this numbers:
Right now there is a tool-tip when you do a mouse over the label:

Should I have to keep this approach (info on mouse over) and/or add the expandable thingy (▶) ?

What is the exact meaning of files, pins, blocks, local repo ?

Name
Old name
Meaning

files
all blocks
The size of all the files including local and remote

pins
n/a
The number of items pinned

blocks
n/a
The number of total blocks in the MFS store

local repo
files
The size of all blocks actually stored in your kubo blockstore

Should I have to keep this approach (info on mouse over) and/or add the expandable thingy (▶) ?

I believe we want to add the expandable section so we can provide more information. It may not look great when expanded though, so we might need to pivot. However, let's start there

What is the exact meaning of files, pins, blocks, local repo ?

@acul71  the issue https://github.com/ipfs/ipfs-webui/issues/1248 you linked is from 2019 and is how old UI looked like. It was simplified since then (removed noise like pins and blocks).
I wrote down my understanding of the current state of that header (and the sources of values) in https://github.com/ipfs/ipfs-webui/issues/1248#issuecomment-2477025399.


Fix workspace in convolution being bigger than anticipated

In certain situations nstep and nstep_ can be of equal size and that leads to problem with calculating the required workspace size in the allowed maximum.
For context see : https://github.com/dmlc/MXNet.jl/issues/14#issuecomment-156332531

can you fix the lint error https://travis-ci.org/dmlc/mxnet/jobs/90885451? @antinucleon please do a review on this

Ok this should have fixed the whitespace lint error, also I rebased against current master.


After installing Volar and disabling the default TypeScript one, still getting red error highlighting on certain imports

I have followed the steps in the Readme to fix the red error highlighting on my import statements, however it seemed to fix all imports in the view files, but it does not fix the import in the main App.vue file.
view component:
<script setup lang="ts">
import { RouterLink } from "vue-router";
defineProps<{
  title: string;
}>();
</script>

App.vue file
<script setup lang="ts">
import { RouterView } from "vue-router";
import HomeHeader from<EMAIL_ADDRESS>// <-- red error highlighting appears
</script>

<EMAIL_ADDRESS>This should also work, but still gets the error highlighting:
"./components/HomeHeader.vue";
App works as expect, just the error highlighting is wrong.

Disabled the ESlint and Prettier extension in VScode and all is good now.


[Feature] Implement a Client

What was changed
Adding a Client implementation to communicate with the Temporal server
Why?
Crucial part of the SDK
Checklist

Closes #4

How was this tested:
Integration tests with the Temporalite included, unit test to follow

Any docs updates needed?
No

Please note that there are a few features intentionally left out to keep the PR size contained (which was achieved with various degrees of success 😅). The follow ups include:

Updating RBS signatures
Add YARD comments with argument descriptions for public API
Write unit tests for all newly added classes
Abstract Proto serializers
Implement serialization for RetryPolicy
Implement converters and codecs
Define exception hierarchy and use it instead of the blanket Temporal::Error
Implement follow_runs for await_workflow_result
Add timeouts to await_workflow_result


Failures email: add Marco to the list

Coverage remained the same at 29.619% when pulling d18b33be002efd8c58c17da912b5286c437cab15 on calixteman:marco_likes_failures into 513f54e7ff0cccc2d68ae169df60c8cf624b0cf1 on mozilla:master.


Why encoder_hidden_state is used in the motion module?

Can you explain why encoder_hidden_state is used in the motion module? The motion module as expressed in the paper is a vanilla temporal attention, not cross-attention.

https://github.com/guoyww/AnimateDiff/blob/cf80ddeb47b69cf0b16f225800de081d486d7f21/animatediff/models/unet_blocks.py#L411

As I looked Inside of the motion module's attention (VersatileAttention), encoder_hidden_states become the hidden_states, so ultimately the attention operates as self-attention. In other words, encoder_hidden_states is not used in the motion module's attention.

But it seems  that these do not prove that the encoder_hidden_states  are  none and replaced by the hidden_states.

You should check the TemporalTransformerBlock in motion_module.py. When creating VersatileAttention block, the cross_attention_dim is None since attention_block_types are [ "Temporal_Self", "Temporal_Self" ]. Then you can check that the encoder_hidden_states are none and replaced by the hidden_states.


standalone_2/io/http_basic_test/0 Timeout (expected Pass)

There are new test failures on [dart2js] Add coverage of read/write closed world flags....Add a method to clear all artifacts in FileResolver.
The tests
standalone_2/io/http_basic_test/0 Timeout (expected Pass)

are failing on configurations
dartkp-linux-release-arm64

This is most likely a flake. I see no reason why this test would fail on one specific configuration. Also none of the commits touch anything single architecture related. Opening issue to track potential future flakes and fix.

Multi test 0 = // VMOptions=--enable-isolate-groups

Duplicate of https://github.com/dart-lang/sdk/issues/36097 JIT support.


Federation: VNC should be enable to zone VMs if accessing zone Sunstone

Enhancement Request
Description

Be able to access VM VNC when using the zone Sunstone service. Current check only enable VNC buttons when using the MASTER zone.
Use case
NaN
Interface Changes
NaN

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Duplicated by #738


Improve handling of the metadata

A few basic functions that I would find useful, from the perspective of creating pipelines that generate/process derivatives in a BIDS-compliant manner:

[x] A function for changing a BIDS filename, based on changes to specific key/value pairs (i.e., changing, adding, and removing key/value pairs to a name, and maintaining the proper order of fields in the name).
[ ] A function for changing one or several fields in a .json metadata file (e.g., to generate a new metadata file after applying some transformation / preproc step to a dataset)
[x] A non-private version of bids-matlab's get_metadata function. I frequently find myself wanting a simple function to check a specific metadata field of a single file, without having to run both bids.layout and bids.query. I understand the rationale for keeping get_metadata private, but from my perspective it would be very useful to have a public version of something like this command.

Originally posted by @bmdeen in https://github.com/bids-standard/bids-matlab/issues/60#issuecomment-716181111
See also comments:
https://github.com/bids-standard/bids-matlab/issues/60#issuecomment-717327122

Originally posted by @gllmflndn

@bmdeen: good point about get_metadata: we should have a user-level helper function to query the metadata of a given file.

Add a function for changing one or several fields in a .json metadata file (e.g., to generate a new metadata file after applying some transformation / preproc step to a dataset)


Continuum Support

Updated the DeviceFamilyStateTrigger to support continuum.
Note: This change bumps the target SDK required to be 10563 as it requires a new API (DiagonalSizeInInches). If it's run on anything less than that, it should still behave as it used to as there are API checks in place.

After some thought, I think this is misleading for the trigger, since it's not checking the device family, but also screen size. However there's a built-in trigger for screen size already - I suggest using either that, or a separate trigger for Continuum specifically


huge logs "capture is stopping during Commit" and  "there are unknown captures during commit"

What did you do?

create changefeed for MySQL sink
Run sysbench workload
Inject CDC leader failures

What did you expect to see?
There should not be too many logs
What did you see instead?
Huge logs seen, and it lasts for long time.

$ wc -l ticdc-2023-02-26T12-06-40.813.log
341398 ticdc-2023-02-26T12-06-40.813.log
$ grep "capture is stopping during Commit"  ticdc-2023-02-26T12-06-40.813.log | wc -l
255886
$ grep "there are unknown captures durin"  ticdc-2023-02-26T12-06-40.813.log | wc -l
85296

$ head -n1 ticdc-2023-02-26T12-06-40.813.log
[2023/02/26 11:42:59.212 +00:00] [INFO] [replication_set.go:693] ["schedulerv3: capture is stopping during Commit"] [tab
leState="table_id:377 span:<{table_id:377,start_key:7480000000000001ff795f720000000000fa,end_key:7480000000000001ff795f7
30000000000fa}> state:Stopping checkpoint:<checkpoint_ts:439722100284194816 resolved_ts:439723433365078023 > stats:<> "]
 [captureID=0773432b-b501-49ba-9ea6-13d4b205db52] [replicationSet="{\"Changefeed\":{\"Namespace\":\"default\",\"ID\":\"o
wner-switch-sync\"},\"Span\":\"{table_id:377,start_key:7480000000000001ff795f720000000000fa,end_key:7480000000000001ff79
5f730000000000fa}\",\"State\":\"Commit\",\"Primary\":\"\",\"Captures\":{\"0773432b-b501-49ba-9ea6-13d4b205db52\":\"Undet
ermined\",\"bd6f1e54-a052-4fa1-a829-fa79c21a9d07\":\"Secondary\"},\"Checkpoint\":{\"checkpoint_ts\":439722100284194816,\
"resolved_ts\":439723074975171138},\"Stats\":{\"stage_checkpoints\":null}}"]

$ tail -n1 ticdc-2023-02-26T12-06-40.813.log
[2023/02/26 12:06:40.813 +00:00] [INFO] [replication_set.go:693] ["schedulerv3: capture is stopping during Commit"] [tab
leState="table_id:347 span:<{table_id:347,start_key:7480000000000001ff5b5f720000000000fa,end_key:7480000000000001ff5b5f7
30000000000fa}> state:Stopping checkpoint:<checkpoint_ts:439722099511132172 resolved_ts:439723805884809232 > stats:<> "]
 [captureID=0773432b-b501-49ba-9ea6-13d4b205db52] [replicationSet="{\"Changefeed\":{\"Namespace\":\"default\",\"ID\":\"o
wner-switch-sync\"},\"Span\":\"{table_id:347,start_key:7480000000000001ff5b5f720000000000fa,end_key:7480000000000001ff5b
5f730000000000fa}\",\"State\":\"Commit\",\"Primary\":\"\",\"Captures\":{\"0773432b-b501-49ba-9ea6-13d4b205db52\":\"Undet
ermined\",\"bd6f1e54-a052-4fa1-a829-fa79c21a9d07\":\"Secondary\"},\"Checkpoint\":{\"checkpoint_ts\":439722099511132172,\
"resolved_ts\":439723074935586875},\"Stats\":{\"stage_checkpoints\":null}}"]

Versions of the cluster
[2023/02/26 10:06:56.361 +00:00] [INFO] [version.go:47] ["Welcome to Change Data Capture (CDC)"] [release-version=v6.7.0
-alpha] [git-hash=00bfd0d0580d59977adf91ea9c1e237f787d0b6c] [git-branch=heads/refs/tags/v6.7.0-alpha] [utc-build-time="2
023-02-25 11:32:40"] [go-version="go version go1.20.1 linux/amd64"] [failpoint-build=false]

/severity major

/assign @hi-rustin

Could you elaborate "Inject CDC leader failures"?

/assign @asddongmen
/unassign @hi-rustin

It never happens again.
If you encounter it again, feel free to reopen this issue and please contact me.


Jobs are failing to render on "My Jobs" page

some jobs in "My Jobs" page can't be shown

console:
ProfileJob.svelte:36 TypeError: t.arguments is not iterable
    at ProfileJob.svelte:23:58
    at async ProfileJob.svelte:41:9

JobId: 2ece3cba-a326-4877-85b1-9cc083a8c83d
JobId: 22b73bce-9415-4c33-b5a4-21ec30a0d19e

b99b-4c8e-ae73-2d221b568112/junit/get_all => generated 30 bytes in 7 msecs (HTTP/1.1 200) 3 headers in 85 bytes (1 switches on core 0)
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]: [ERROR] <<IP_ADDRESS> - https://argus.scylladb.com/api/v1/test-info?testId=22b73bce-9415-4c33-b5a4-21ec30a0d19e - api.test_info> - error_handlers::handle_api_exception - Exception in api.test_info
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]: Traceback (most recent call last):
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/cassandra/cqlengine/query.py", line 775, in get
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     obj = self[0]
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:           ~~~~^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/cassandra/cqlengine/query.py", line 573, in __getitem__
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     return self._result_cache[s]
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:            ~~~~~~~~~~~~~~~~~~^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]: IndexError: list index out of range
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]: During handling of the above exception, another exception occurred:
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]: Traceback (most recent call last):
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     rv = self.dispatch_request()
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:          ^^^^^^^^^^^^^^^^^^^^^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/app/argus/backend/service/user.py", line 261, in wrapped_view
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     return view(*args, **kwargs)
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/app/argus/backend/controller/api.py", line 385, in test_info
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     info = service.get_test_info(test_id=UUID(test_id))
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/app/argus/backend/service/argus_service.py", line 156, in get_test_info
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     test = ArgusTest.get(id=test_id)
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:            ^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/cassandra/cqlengine/models.py", line 700, in get
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     return cls.objects.get(*args, **kwargs)
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/cassandra/cqlengine/query.py", line 763, in get
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     return self.filter(*args, **kwargs).get()
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:   File "/home/argus/.cache/pypoetry/virtualenvs/argus-alm-HqUqk8xE-py3.12/lib/python3.12/site-packages/cassandra/cqlengine/query.py", line 777, in get
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]:     raise self.model.DoesNotExist
Nov 20 10:26:38 ip-10-0-2-112 bash[875345]: cassandra.cqlengine.models.DoesNotExist

first sign of trouble, is at 15:05:
Nov 19 15:05:33 ip-10-0-2-112 bash[847502]: [ERROR] <<IP_ADDRESS> - https://argus.scylladb.com/api/v1/test/22b73bce-9415-4c33-b5a4-21ec30a0d19e/runs?limit=10 - api.testrun_api.get_ru
ns_for_test> - error_handlers::handle_api_exception - Exception in api.testrun_api.get_runs_for_test
Nov 19 15:05:33 ip-10-0-2-112 bash[847502]: [pid: 847502|app: 0|req: 4215/283616] <IP_ADDRESS> () {58 vars in 3584 bytes} [Tue Nov 19 15:05:32 2024] GET /api/v1/test/22b73bce-9415-4c33-b5a4-21ec30a0d19e/runs?limit=10 => generated 74 bytes in 28 msecs (HTTP/1.1 200) 3 headers in 85 bytes (1 switches on core 1)
Nov 19 15:06:00 ip-10-0-2-112 bash[847501]: [ERROR] <<IP_ADDRESS> - https://argus.scylladb.com/api/v1/test/22b73bce-9415-4c33-b5a4-21ec30a0d19e/runs?additionalRuns[]=fb7d3111-9329-4e0e-a237-715b6874a7ef&additionalRuns[]=f28b76ff-626d-43a5-9250-41452e831d06&limit=10 - api.testrun_api.get_runs_for_test> - error_handlers::handle_api_exception - Exception in api.testrun_api.get_runs_for_test

Those jobs seem to refer to a non-existent test. I'll send out a pr to handle this more gracefully, but the problem is that you were assigned to a run that doesn't have a test_id or has a stale/old test_id.

Those jobs seem to refer to a non-existent test. I'll send out a pr to handle this more gracefully, but the problem is that you were assigned to a run that doesn't have a test_id or has a stale/old test_id.

how that can happen ?

Those jobs seem to refer to a non-existent test. I'll send out a pr to handle this more gracefully, but the problem is that you were assigned to a run that doesn't have a test_id or has a stale/old test_id.

how that can happen ?

In the first case - the run was submitted before a test was created for it (but it should make it impossible for you to be assigned to it). In the second case, somebody deleted the test after the run was submitted. I'll see if it's something else.

2ece3cba-a326-4877-85b1-9cc083a8c83d

This run does not exist in Argus. The page should display 404.

looking at the job with https://argus.scylladb.com/tests/scylla-cluster-tests/2ece3cba-a326-4877-85b1-9cc083a8c83d causes internal server error

The issue here is that there's a typo on the error message - it's a testId, not jobId. Need to add a 404 page instead of just crashing with 500 if you try a broken link.

Those jobs seem to refer to a non-existent test. I'll send out a pr to handle this more gracefully, but the problem is that you were assigned to a run that doesn't have a test_id or has a stale/old test_id.

how that can happen ?

In the first case - the run was submitted before a test was created for it (but it should make it impossible for you to be assigned to it). In the second case, somebody deleted the test after the run was submitted. I'll see if it's something else.

This test has been removed. I'll add additional handling to indicate that this happened to the user. It seems that whoever removed the test didn't remove the runs and they were assigned to you.

A test was removed ? from Argus, from Jenkins ?
It's from the admin panel ?

Those jobs seem to refer to a non-existent test. I'll send out a pr to handle this more gracefully, but the problem is that you were assigned to a run that doesn't have a test_id or has a stale/old test_id.

how that can happen ?

In the first case - the run was submitted before a test was created for it (but it should make it impossible for you to be assigned to it). In the second case, somebody deleted the test after the run was submitted. I'll see if it's something else.

This test has been removed. I'll add additional handling to indicate that this happened to the user. It seems that whoever removed the test didn't remove the runs and they were assigned to you.

A test was removed ? from Argus, from Jenkins ?
It's from the admin panel ?

Most likely someone did so from Admin panel, yes. There's an option there to keep the runs but remove the test, which is what probably happened.

Those jobs seem to refer to a non-existent test. I'll send out a pr to handle this more gracefully, but the problem is that you were assigned to a run that doesn't have a test_id or has a stale/old test_id.

how that can happen ?

In the first case - the run was submitted before a test was created for it (but it should make it impossible for you to be assigned to it). In the second case, somebody deleted the test after the run was submitted. I'll see if it's something else.

This test has been removed. I'll add additional handling to indicate that this happened to the user. It seems that whoever removed the test didn't remove the runs and they were assigned to you.

A test was removed ? from Argus, from Jenkins ?
It's from the admin panel ?

Most likely someone did so from Admin panel, yes. There's an option there to keep the runs but remove the test, which is what probably happened.

Why would we need such an option ?

Those jobs seem to refer to a non-existent test. I'll send out a pr to handle this more gracefully, but the problem is that you were assigned to a run that doesn't have a test_id or has a stale/old test_id.

how that can happen ?

In the first case - the run was submitted before a test was created for it (but it should make it impossible for you to be assigned to it). In the second case, somebody deleted the test after the run was submitted. I'll see if it's something else.

This test has been removed. I'll add additional handling to indicate that this happened to the user. It seems that whoever removed the test didn't remove the runs and they were assigned to you.

A test was removed ? from Argus, from Jenkins ?
It's from the admin panel ?

Most likely someone did so from Admin panel, yes. There's an option there to keep the runs but remove the test, which is what probably happened.

Why would we need such an option ?

For archival purposes I suppose, we can switch it to default delete, so that only if you really want to keep old runs (or maybe you want to move them, but that's a different feature we should implement)

Those jobs seem to refer to a non-existent test. I'll send out a pr to handle this more gracefully, but the problem is that you were assigned to a run that doesn't have a test_id or has a stale/old test_id.

how that can happen ?

In the first case - the run was submitted before a test was created for it (but it should make it impossible for you to be assigned to it). In the second case, somebody deleted the test after the run was submitted. I'll see if it's something else.

This test has been removed. I'll add additional handling to indicate that this happened to the user. It seems that whoever removed the test didn't remove the runs and they were assigned to you.

A test was removed ? from Argus, from Jenkins ?
It's from the admin panel ?

Most likely someone did so from Admin panel, yes. There's an option there to keep the runs but remove the test, which is what probably happened.

Why would we need such an option ?

For archival purposes I suppose, we can switch it to default delete, so that only if you really want to keep old runs (or maybe you want to move them, but that's a different feature we should implement)

What's the point of saving old runs, if you can't get to them on Argus UI ? sounds kind of pointless to me

What's the point of saving old runs, if you can't get to them on Argus UI ? sounds kind of pointless to me

In the rare cases someone remembers that they were important, I guess. I added that button back when we weren't sure how long we should retain argus runs and if we ever should delete them.


Potential nil pointer dereference in vSphere.FilterVMByID()

While unlikely due to how mo.VirtualMachine values are collected by the internal/vsphere library, it is possible that when accessing the MOID value here that the vm.Summary.Vm field (*types.ManagedObjectReference) will be unset:
https://github.com/atc0005/check-vmware/blob/d8d13f41da7e74e1239f0e1b6af53ac95d965e80/internal/vsphere/vms.go#L338-L343
It looks like I can instead access the MOID via vm.Self.Value (using embedded mo.ManagedEntity, which in turn embeds an mo.ExtensibleManagedObject and it an embedded types.ManagedObjectReference)
All of this without relying on the vm.Summary.Vm pointer to be non-nil.

At a glance, the vsphere.FilterVMByID() function is used by the vsphere.GetVMsFromDatastore() function here:
https://github.com/atc0005/check-vmware/blob/d8d13f41da7e74e1239f0e1b6af53ac95d965e80/internal/vsphere/vms.go#L241
which in turn is used by the check_vmware_datastore plugin to generate a list of all VMs residing on a specific datastore.


Advice: the 'Empty View' should stay in center of list instead of its parent container.

hello, I found a problem while learning your code. see the usage below:

then, you add "Empty View" into the parent of mListView (see EmptyLayout.java:463)
You view looks like this:

Obviously, I want the picture in center of list view instead of its parent.

Now I make a little change at EmptyLayout.java:changeEmptyType(), you can easily understand.
~~~
    // insert views in the root view
    if (!mViewsAdded) {
        RelativeLayout.LayoutParams lp = new LayoutParams(mListView.getWidth(), mListView.getHeight());
        lp.topMargin = mListView.getTop();
        lp.leftMargin = mListView.getLeft();
        RelativeLayout rl = new RelativeLayout(mContext);
        rl.setLayoutParams(lp);
        if (mEmptyView!=null) {
            rl.addView(mEmptyView);
            RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) mEmptyView.getLayoutParams();
            layoutParams.addRule(RelativeLayout.CENTER_IN_PARENT);
            mEmptyView.setLayoutParams(layoutParams);
        }
        if (mLoadingView!=null) {
            rl.addView(mLoadingView);
            RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) mLoadingView.getLayoutParams();
            layoutParams.addRule(RelativeLayout.CENTER_IN_PARENT);
            mLoadingView.setLayoutParams(layoutParams);
        }
        if (mErrorView!=null) {
            rl.addView(mErrorView);
            RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) mErrorView.getLayoutParams();
            layoutParams.addRule(RelativeLayout.CENTER_IN_PARENT);
            mErrorView.setLayoutParams(layoutParams);
        }
        mViewsAdded = true;

        ViewGroup parent = (ViewGroup) mListView.getParent();
        parent.addView(rl);
        mListView.setEmptyView(rl);
    }
~~~

Thanks for your good code.

I don't know whether I can commit my change to your repos. however, I did it.

Wish this view support more projs.
If made any trouble, I'm sorry for that.

Nice change.@walfud
I want use this library to show network error UI.
Thx for your code~

Just fork this repo and pull a request~

I did that. @johnwatson5412
The repo: https://github.com/walfud/android-empty-layout.git


Explain the naming convention and function calls for Actions in LW Co…

…mponents.

Description

[ ] Visual changes (if any) are shown using screenshots/recordings of before and after.

Code style

[ ] composer cs command has been run.

Testing

[ ] Changes have been tested.

Documentation

[ ] Documentation is up-to-date.

This caught me out in the past, great to document it.


Ci differences

In pyiron_workflow I'm running into a problem where the tests hang, and when cancelled I ultimately get pympipool complaints that the test files were not importable modules.
I found these lines where "." is getting added to the pythonpath (similar for mpiexec), and notice that pympipool workflows follow a pattern of cd tests; python -m unittest discover ., while the centralized workflows skip the CI and simply invoke things in the pattern python -m unittest discover tests. From my experiments in pyiron_workflow it looks like this is what's making the difference.
Here I want to double check that hypothesis and test two-work arounds. If the hypothesis is correct, I'll open a corresponding issue.

Unittests_by_path fails as anticipated:
Traceback (most recent call last):
  File "/home/runner/work/pympipool/pympipool/pympipool/backend/mpiexec.py", line 90, in <module>
    main()
  File "/home/runner/work/pympipool/pympipool/pympipool/backend/mpiexec.py", line 46, in main
    input_dict = interface_receive(socket=socket)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pympipool/shared/communication.py", line 147, in interface_receive
    return cloudpickle.loads(socket.recv())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'test_meta'
Error: The action has timed out.

Here it sensibly has a timeout set and fails cleanly instead of hanging forever, which is a minor improvement I can learn for the pyiron_workflow tests.
Very nicely, both versions of my "patch" to the environment passed and facilitate discovering the tests by a path.
This can be closed, but I'll leave it open until the corresponding issue is resolved in case that has any impact on viewing the test logs.


Add configuration files for JMX support.

Description of changes:
1. rules/*.yaml
The JMX Metric Insight and the JMX Metric Gatherer have different pre-defined target systems (activemq, tomcat, etc.) and even different metrics within each shared target system (https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/9765). This is an effort to unify the metrics being generated by deferring to the Gatherer's definition files.
By placing it in the same path as the JMX Metric Insight resources, the rule files can be overwritten and referred to directly.
> gradlew build
> jar tf otelagent/build/libs/aws-opentelemetry-agent-1.33.0-SNAPSHOT.jar | grep jmx
inst/META-INF/io/opentelemetry/instrumentation/io.opentelemetry.jmx-metrics.properties
inst/io/opentelemetry/javaagent/shaded/instrumentation/javaagent/jmx/
inst/io/opentelemetry/javaagent/shaded/instrumentation/javaagent/jmx/JmxMetricInsightInstaller.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/AttributeInfo.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/BeanAttributeExtractor.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/BeanFinder$1.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/BeanFinder.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/BeanGroup.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/DetectionStatus.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/JmxMetricInsight.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricAttribute.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricAttributeExtractor.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricConfiguration.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricDef.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricExtractor.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricInfo$Type.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricInfo.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricRegistrar$1.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/engine/MetricRegistrar.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/yaml/
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/yaml/JmxConfig.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/yaml/JmxRule.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/yaml/Metric.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/yaml/MetricStructure.classdata
inst/io/opentelemetry/javaagent/shaded/instrumentation/jmx/yaml/RuleParser.classdata
inst/jmx/
inst/jmx/rules/
inst/jmx/rules/activemq.yaml
inst/jmx/rules/hadoop.yaml
inst/jmx/rules/jetty.yaml
inst/jmx/rules/kafka-broker.yaml
inst/jmx/rules/tomcat.yaml
inst/jmx/rules/wildfly.yaml
inst/jmx/
inst/jmx/rules/
inst/jmx/rules/jvm.yaml
inst/jmx/rules/kafka-consumer.yaml
inst/jmx/rules/kafka-producer.yaml
inst/jmx/rules/kafka.yaml
inst/jmx/rules/tomcat.yaml
inst/jmx/view.yaml

This makes it easier for users to specify the target systems via environment variables.
OTEL_JMX_TARGET_SYSTEM: jvm, tomcat

This results in
petclinic [otel.javaagent 2024-06-14 20:27:36:575 +0000] [main] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.yaml.RuleParser - jvm: found 5 metric rules
petclinic [otel.javaagent 2024-06-14 20:27:36:607 +0000] [main] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.yaml.RuleParser - tomcat: found 6 metric rules
petclinic [otel.javaagent 2024-06-14 20:27:37:731 +0000] [pool-8-thread-1] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.engine.MetricRegistrar - Created Gauge for jvm.classes.loaded
petclinic [otel.javaagent 2024-06-14 20:27:37:738 +0000] [pool-8-thread-1] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.engine.MetricRegistrar - Created Counter for jvm.gc.collections.count
petclinic [otel.javaagent 2024-06-14 20:27:37:739 +0000] [pool-8-thread-1] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.engine.MetricRegistrar - Created Counter for jvm.gc.collections.elapsed
petclinic [otel.javaagent 2024-06-14 20:27:37:740 +0000] [pool-8-thread-1] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.engine.MetricRegistrar - Created Gauge for jvm.memory.heap
petclinic [otel.javaagent 2024-06-14 20:27:37:740 +0000] [pool-8-thread-1] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.engine.MetricRegistrar - Created Gauge for jvm.memory.nonheap
petclinic [otel.javaagent 2024-06-14 20:27:37:745 +0000] [pool-8-thread-1] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.engine.MetricRegistrar - Created Gauge for jvm.memory.pool.usage
petclinic [otel.javaagent 2024-06-14 20:27:37:745 +0000] [pool-8-thread-1] INFO io.opentelemetry.javaagent.shaded.instrumentation.jmx.engine.MetricRegistrar - Created Gauge for jvm.threads.count

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Are https://github.com/aws-observability/aws-otel-java-instrumentation/pull/898 relevant?


Simplified goFor implementation.

Signed-off-by: Bartek Plotka<EMAIL_ADDRESS>

You awesome tests passes (: @GiedriusS

I think you were focused on fixing just this last piece. Always try to thing in bigger picture, sometimes going back and rethinking bigger piece is easier then workaround details (:


Remove ensurePopup

To confirm event signing, we already use 'Confirm in nsec.app' button in the banner, which opens up the popup.
Now, the login flow should do the same. When we click login/signup, we show the spinner screen and 'Connecting to provider...' label, until we receive auth_url. If we receive it, spinner is hidden, and we show 'We have connected to your provider, click Continue', and one button 'Continue' - clicking on it should do window.open(auth_url) - we open the auth_url directly (not about:blank first -> then auth_url), and we do it on button click only.

Done


[WIP] [FINE] Fog google upgrade (to 1.3.3)

Cherry-picked version of https://github.com/ManageIQ/manageiq-providers-google/pull/54 for FINE release.
Depends on: https://github.com/ManageIQ/manageiq/pull/17258
Required by: https://github.com/ManageIQ/manageiq-providers-google/pull/64

@simaishi So it turns out I would need the https://github.com/ManageIQ/manageiq/pull/17258 in Fine, otherwise I'm getting a dependency conflict. Can you please cherry-pick those changes? If you would prefer me cherry-picking the commit from https://github.com/ManageIQ/manageiq/pull/17258 in here, I can do that as well.

@tumido Backported https://github.com/ManageIQ/manageiq/pull/17258

Dependency conflict should be solved by https://github.com/ManageIQ/manageiq-gems-pending/pull/369. However I can't test it locally, since I'm not able to build puma and rugged native extensions (openssl conflict). Huh... I'm trying to find a way how to test this.

Deps are fine with current PR HEAD and when the required https://github.com/ManageIQ/manageiq-gems-pending/pull/369 is used. Once that is merged the Travis should pass.
@miq-bot remove_label wip

@simaishi I've finally figured out what was wrong! This can be merged now. Should I do changes on labels for this or for the original PR (https://github.com/ManageIQ/manageiq-providers-google/pull/54)?


@OneToMany + Composite PK + ForeignKeyContainer

DBFlow Version: 3.1.1
Issue Kind (Bug, Question, Feature): Question
Suppose:
@Table(database = Database.class, name = "as")
public class A extends BaseModel {
    @Column
    @PrimaryKey
    private String id;

    @ForeignKey(saveForeignKeyModel = false)
    @PrimaryKey
    @Column
    private ForeignKeyContainer<B> bForeignKeyContainer;

    private List<C> cs;

    @OneToMany(methods = {OneToMany.Method.ALL}, variableName = "cs")
    public List<C> getCs() {
        if (cs == null || cs.isEmpty()) {
            cs = SQLite.select()
                    .from(C.class)
                    .where(C_Table.???.eq(???))
                    .queryList();
        }
        return cs;
    }

}

@Table(database = Database.class, name = "bs")
public class B extends BaseModel {
    @Column
    @PrimaryKey
    private Long id;

    private List<A> as;
}

@Table(database = Database.class, name = "cs")
public class C extends BaseModel {
    @Column
    private Long id;

    @ForeignKey(saveForeignKeyModel = false, onDelete = ForeignKeyAction.CASCADE)
    @Column
    private A a;
}

Problem: How can I get the ForeignKeyContainer, "exposed" as Property<ForeignKeyContainer<B>> a_bForeignKeyContainer in C_Table, to compare, in the where method, with the composite PK in class A? Property class doesn't seems suited to this.
PS.: I'm assuming that with the ForeignKeyContainer I can, at this moment, call #toModel() and do the comparing with the composite PK.

since ForeignKeyContainer are no more in 4.0.0-beta1 and up, I suppose I can close this since you can use stubbed relationships now.


Pod is not coming up after applying chi [ClickHouseInstallation]

After applying the ClickHouseInstallation (chi) configuration, the pod is not coming up as expected. This issue is preventing the ClickHouse instance from being operational.
 kubectl get chi -n ns-rm-yb-clicktt --kubeconfig=kubeconfig.txt
NAME        CLUSTERS   HOSTS   STATUS
cliff-rmi

coul you share
kubectl get pod --all-namespaces -l app=clickhouse-operator --kubeconfig=kubeconfig.txt ?

no repro


[QA] Add PHP-CS-Fixer

Automatically check some CS rules as described in #30
FYI : the config and the fixes are in 2 separate commits. I can change those independently if you wish to change a setting.

The latest psalm version gives this issue:
ERROR: RedundantCondition - src/Psl/Str/convert_encoding.php:27:5 - Type string for $result is never false (see https://psalm.dev/122)
    Psl\invariant(false !== $result, 'Unable to convert $string from $from_encoding to $to_encoding.');

ERROR: RedundantCondition - src/Psl/Str/convert_encoding.php:27:19 - string can never contain false (see https://psalm.dev/122)
    Psl\invariant(false !== $result, 'Unable to convert $string from $from_encoding to $to_encoding.');

Haven't touched the file. Is it safe to remove the invariant check?

Pull Request Test Coverage Report for Build 644

23 of 23 (100.0%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 642:
0.0%

Covered Lines:
1750

Relevant Lines:
1750

💛  - Coveralls

okay; you can go ahead and remove that check.


Aliases keep reverting to much older version

We're happy to provide more details. This affects all of our projects and has happened 4 times in past 24 hours!

Hi @tjkohli
It would be great to get more details. Are you still having this problem?

Thank you for creating this issue!
Please note that – in order for us to be able to handle each support request with care – we have to consume all of them through a unified pipeline that makes it easier for us to prioritize and track the progress.
In turn, the Issues tab on this repository is best only be used for reporting bugs in any part of our system, that we can immediately act on.
For detailed support requests (like the one you just posted), please contact us at<EMAIL_ADDRESS>so that our team can help you out directly.


dep: Bump libpcap version to 1.10.4

Automatic bump to version 1.10.4, downloaded from https://www.tcpdump.org/release/libpcap-1.10.4.tar.gz.
After merge, consider releasing a new version of pcap-release.

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


[search] log additional headers

After removing the ones from the default list, these are left from the service:
Access-Control-Allow-Credentials
Access-Control-Allow-Headers
Access-Control-Allow-Methods
Access-Control-Allow-Origin
Access-Control-Expose-Headers
Access-Control-Max-Age
Access-Control-Request-Headers
Access-Control-Request-Method
elapsed-time
Location
OData-MaxVersion
OData-Version
Origin
Prefer
throttle-reason

/cc @bterlson in case he objects to anything on this list being logged

Related to Azure/azure-sdk-for-java#8686

My bad -- Access-Control shouldn't be on that list.

My bad -- Access-Control shouldn't be on that list.

no worries, removed it!

These seem good to me. I think the CORS headers can be added to the default allow list in core-http?


Bugfix/261 trade not completed

Coverage decreased (-0.02%) to 93.646% when pulling ffb0221c5536593b017c4017b823a4e44976de28 on bugfix/261-trade-not-completed into 67e7a6334741a69fad96d002007bb339b2541c41 on release/1.11.2.


Working on #if directives, Part I.

This PR made significant changes to the parser to meet the syntax parsing requirements of the #if directive const expression:

Added a RecursiveParseFunctions class to fix errors for recursive syntax patterns.
Implemented a simple algorithm that models the syntax construction process as generating Lines, which are then used to generate the AST Tree.

bors r+


Make multiple

Cpp solution of codechef problem Make Multiple.

Great work @aasthaparoha please give this repo a star if it really helped you to complete your PR.
Also follow me for follow back if you want to get connected with me for any such open source contribution program. Thank you 😊


treewide: Use genericBuild or runPhase to run phases manually whenever appropriate

Description of changes
stdenv.mkDerivation phases may come to the builder as a environment[shell variable containing the build command, an empty environment/shell variable, or a bash function. The bash function are generally provided by stdenv/generic/setup.sh or setup hooks, and the regular variable from the Nix Language attributes, while setup hooks may still provide string-like phases to refer to another phase implementation, such as configurePhase=cmakeConfigurePhase and buildPhase="ninjaBuildPhase".
However, developers sometimes forgot about that, and assume that phases like unpackPhase, patchPhase, configurePhase, buildPhase to always be functions and fixupPhase strings. Even if it was specified that way, it could be later overridden via <pkg>.overrideAttrs into another form.
This PR aims to fix such issues tree-wide, by searching with regular expression Phase$ and replacing direct call/direct eval with phases="..." genericBuild, runPhase whenever appropriate.
As runPhase unpackPhase additionally change the CWD to $sourceRoot, eval "${unpackPhase:-unpackPhase}" is used when such cd "$sourceRoot" is not desired.
This was an initial effort for #298838, in which I originally plan to change some phases implementation provided by stdenv/generic/setup.sh to string form (something like : "${buildPhase:=makeBuildPhase}").

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@ofborg build unbound unbound.tests

@ofborg build wineWow64Packages.full wineWowPackages.full
@ofborg build k2pdfopt
@ofborg build mercurial mercurial.tests
@ofborg build tlaplusToolbox
@ofborg build avidemux
@ofborg build swift
@ofborg build haskellPackages.std
@ofborg build acl2
@ofborg build boringssl
@ofborg build gobject-introspection-unwrapped gobject-introspection
@ofborg build libfprint
@ofborg build godot3-mono.make-deps
@ofborg build xcbuild
@ofborg build adom
@ofborg build megacli


Remove expired token when running a build

I like the overall concept, made a few small remarks on naming

@teoljungberg @thorncp @salbertson Ready for another look, especially the reset_token method.

A few remarks, looks good to squash and merge