DISM API asynchron?

I haven't found any information about this. Does the DISM API support concurrency, i.e. parallel calls to mount images, add packages etc.?
Maybe the documentation page can be updated accordingly.

@WebTiger89 Can you please tell us to which article(s) your question applies? This will help us route this issue to the correct writer/team. Thanks

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism/dism-api-reference?view=windows-11
It would be great if this page covers a section about asynchronous capabilities. I have written a powershell script which can mount and install packages to an wim image file in parallel but this works only if both use a different scratch directory. So it seems there is support for parallelization but since there is no documentation about it, it's hard to tell where are the limits etc.

@aczechowski Please help us in resolving this issue. Thanks

That article is outside of the scope of this repository and content team. And unfortunately the windows-hardware repo/content doesn't support public feedback.
I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this issue:

Post to Windows on Q&A. These are moderated by community members who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Unified Support team, such as a Customer Engineer or Customer Success Account Manager.

I'm closing this issue as there's nothing actionable for our team at this time.


[RFE] Keylime docs or configuration could show how to connect more adresses

I keylime docs or in keylime configuration files could be useful to mention how specify more IP adresses for communication. Is possible to specify more adresses via wildcart but there is no mention about this ability. I'm not sure where could be better to place it, if in documentation or in configuration files.

You mean listening addresses like this?
# The verifier server IP address and port
ip = *
port = 8881

It looks to me like the verifier is the only one that can listen on TCP and TCP6 using the wildcard. Neither the rust agent nor the registrar are able to do this otherwise. I am not sure about multiple different IP address and I am not sure whether they would need to, either.

I mean just mention in config, that for verifier could be also possible to listen on multiple adresses with wildcard. It can be usefull for user who will be use keylime.


Router is re-using DOM elements, how could I force a new one?

Hi there — in our code we tend to apply CSS to a component on componentDidMount (specifically, using GSAP for complex animations).
However, when routing around I've noticed that preact-router (or preact itself?) likes to hold onto DOM nodes where possible, rather than creating a new one. This mutability forces us to write code that always resets the CSS state of a component on mount.
Here is an example; where the style is set on mount, and when re-routing to that component the style will already have been set from the previous route change.
Or am I misunderstanding the way preact/vdom works? Is there a way to force the re-creation of a DOM element so I can mutate its styles/etc without concern for how it will break future mounting?
import Router, { Link } from 'preact-router';
import { h, render, Component } from 'preact';

class TestComponent extends Component {

  componentDidMount () {
    if (this.base.style.padding) {
      console.error('Padding is already set...', this.base.style.padding);
    }
    this.base.style.padding = '20px';
  }

  render () {
    return

  }
}

class About extends Component {

  render () {
    return
About

  }
}

class App extends Component {

  render () {
    return

      <Link href="/">TestComponent</Link>..
      <Link href="/about">About</Link>
      <Router>
        <TestComponent path="/" default />
        <About path="/about" />
      </Router>

  }
}

render(<App />, document.body);

Hi there - if you add unique key properties to the children of router, it will always unmount and mount:
class App extends Component {

  render () {
    return

      <Link href="/">TestComponent</Link>..
      <Link href="/about">About</Link>
      <Router>
        <TestComponent key="test" path="/" default />
        <About key="about" path="/about" />
      </Router>

  }
}


Can not import for watchOS

If I import this framework for watch extension,  I get the following error.

2 years passed and this simple issue is still not fixed ...


Add RemoveAnnotationAttribute recipe

What's changed?
New recipe for removing annotation attributes by name
What's your motivation?
This is needed for https://github.com/openrewrite/rewrite-openapi/issues/1
Anything in particular you'd like reviewers to focus on?
How to format attributes to avoid unwanted whitespace.
Anyone you would like to review specifically?
@timtebeek
Have you considered any alternatives or workarounds?
Opted for not changing ChangeAnnotationAttributeName since a dedicated recipe is more discoverable.
Checklist

[x] I've added unit tests to cover both positive and negative cases
[x] I've read and applied the recipe conventions and best practices
[x] I've used the IntelliJ IDEA auto-formatter on affected files

Failure unrelated; merging this one; thanks!


displayItem bug

If displayItem=true
ring of magnetism (botania mod) attracts objects over the chest to the player

The displayed item do not exists in server actually. I'm not sure if this fake ring item does affect objects in server or it is just a client effect.
Anyway, I will add a blacklist function in next release using EpicBanItem amd.you can ban displaying this.


Configure GitHub Actions pipeline for CI/CD

Should now be able to connect via Tailscale ephemeral nodes to configure actions.

This is complete as of #52


Reenable async_task_locals_groups.swift

Resolves rdar://82092187
This was likely the same task group issue as in other places - reenabling the test

@swift-ci please test and merge

@swift-ci please test macOS platform


Drop into an existing CRA project

I really like the idea behind this project, but it still kinda feels like a boilerplate — you have to decide to use react-app-rewired instead of create-react-app at the beginning, right?
Would it be possible to wrap this up in a different way, so that you could take a perfectly normal CRA app and then, instead of ejecting, do something like this:
npm i -D react-app-rewired

--- a/package.json
+++ b/package.json
@@ -3,7 +3,8 @@
   "devDependencies": {
-    "react-scripts": "0.7.0"
+    "react-scripts": "0.7.0",
+    "react-app-rewired": "^1.0.0"
   },
@@ -12,9 +13,9 @@
   "scripts": {
-    "start": "react-scripts start",
-    "build": "react-scripts build",
-    "test": "react-scripts test --env=jsdom",
-    "eject": "react-scripts eject"
+    "start": "react-app-rewired start",
+    "build": "react-app-rewired build",
+    "test": "react-app-rewired test --env=jsdom",
+    "eject": "react-app-rewired eject"
   }
 }

Then suddenly your magic config-overrides.js file gets picked up and you're all good. It feels like this API should be totally possible with the work you've already done, but let me know if I'm missing something.
I really want something like this to exist for people to be able to use babel-plugin-styled-components-named without ejecting. Reckon that's possible?

Hi @geelen
First thanks for your interest in this project - I've been seeking some better use cases and babel-plugin-styled-components-named would be another good one.
I do think what your saying will be possible.  To date I've been waiting on CRA to stabilize to see if this  idea was feasible.

Last week I updated CRA from 0.2.1 to 0.7.0 no issues... so unless something major changes I think we're good on that.

I will invest some time next week to see about setting this up properly via an npm install to make things as automatic as possible.
The current process:
No it's not another boilerplate, it's just not very well explained and very manual at this point.
Given a new app created via CRA.

Copy the scripts folder from this project - these pull (override) the react-scripts configs
Updated your package.json

The scripts section from the CRA app package.json need to repoint to the scripts folder you copied in.
"scripts": {
    "default": "node node_modules/react-scripts/scripts/build.js",
    "start": "node scripts/start",
    "build": "node scripts/build"
  },

You also need to install 2 existing npm packages
You'll need 2 existing npm packages
npm install rewire --save-dev
npm install rimraf --save-dev (I think I'll be able to remove this dep)

Copy in or create the config-overrides.js file.  Update this file as need be.

I'll see what I can do for a more automatic setup and we'll go from there.

Hmm if that's the case I think this should be really straightforward. I might have some time later this week to have a crack at it, but if you get there first then 👍
Btw I think what you want is basically the same as any "command line" NPM project. I've never released one, but I found an article on the NPM blog that makes it sound pretty easy :)
This would also be relevant to CSS Modules, too, since there are a lot of people bugging CRA to include support for that. All it requires is adding ?modules=true to the css-loader but CRA doesn't really expose any way for that to be done.

Cool - I've got actually got a good start on this today.  The way I'm setting it up should be very flexible i.e. we can add loaders etc..
I'll keep rolling and let you know once I have something to work with that you can install via NPM.

@geelen
I'm doing some testing.
I haven't worked with CSS modules yet ...
Given the existing loader lines from the Dev and Pro Webpack configs how would they need to end up like
CRA Dev
{
    test: /\.css$/,
    loader: 'style!css?importLoaders=1!postcss'
},

CRA Prod
{
   test: /\.css$/,
   loader: ExtractTextPlugin.extract('style', 'css?importLoaders=1&-autoprefixer!postcss')
},

Like this?
loader: 'style!css?importLoaders=1&modules=true!postcss'

loader: ExtractTextPlugin.extract('style', 'css?importLoaders=1&modules=true&-autoprefixer!postcss')

I believe so yep!
On Sun., 13 Nov. 2016 at 11:58 am Tim Arney<EMAIL_ADDRESS>wrote:

@geelen https://github.com/geelen
I'm doing some testing.
I haven't worked with CSS modules yet ...
Given the existing loader lines from the Dev and Pro Webpack configs how
would they need to end up like
CRA Dev
{
test: /.css$/,
loader: 'style!css?importLoaders=1!postcss'
},
CRA Prod
{
test: /.css$/,
loader: ExtractTextPlugin.extract('style', 'css?importLoaders=1&-autoprefixer!postcss')
},
Like this?
loader: 'style!css?importLoaders=1&modules=true!postcss'
loader: ExtractTextPlugin.extract('style', 'css?importLoaders=1&modules=true&-autoprefixer!postcss')
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timarney/react-app-rewired/issues/1#issuecomment-260159258,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABa4JPkABMg9VQ8SWJm3WNyXvAgBk_Xks5q9mCrgaJpZM4KwTWV
.

@geelen If you want to toy around with this at some point you can now run
create-react-app your-app-name --scripts-version rewire-react-scripts
That will create a fresh CRA project with a config-overrides.js file in it.  Like the existing repo but via npm install.

With that you can mess with the configs from CRA.
That's a start.
The  babel-plugin-styled-components-named plugin do you know if that can loaded via webpack or only via a .babelrc file?

FYI - just pushed 0.0.6 the sample config-overrides.js file works for CSS Modules
create-react-app your-app-name --scripts-version rewire-react-scripts
Modifiy App.js
import React, { Component } from 'react';
import logo from './logo.svg';
import styles from './App.css';

class App extends Component {
  render() {
    return (

Welcome to React

          To get started, edit src/App.js and save to reload.

    );
  }
}

@geelen can you confirm with that plugin installed -> babel-plugin-styled-components-named
The result in Dev Tools would be:

If yes than this thing works.
config-overrides.js
module.exports = function override (config,env) {

  config.module.loaders[0].query.plugins =  ['styled-components-named'];

  return config;
}

Yep! If you wrote const Title = styled.h1 then that should be the output! 😄

So if you've got an existing CRA project what are the instructions to switch it to this one?

It's just a matter of updating the devDependencies
CRA
"devDependencies": {
    "react-scripts": "0.7.0"
  },

Rewired
"devDependencies": {
    "rewire-react-scripts": "0.0.6"
  },

Outside of that for existing apps at this point you would need to create a config-overrides.js.
I should be able to setup a little script to take care of that part.

Hmm, personally I think it'd be better if it ran alongside react-scripts rather than replaced it. That feels like a less invasive change, and would mean that rewire-react-scripts could be much smaller, containing just the scripts needed rather than a fork of CRA itself.
Would that work?

Ya it's not ideal especially given all I'm doing is wrapping webpack kickoff scripts with a function (init) so I can get a hook - https://github.com/timarney/create-react-app/commit/adf82c34aff39c3c9227fe0dfbe2cb964708c194#diff-8d717038a105d8c7993616152faa1a38
My original 'hack' didn't use a fork but given there's really no hooks the kickoff wasn't clean... The original used rewire to gain access to the configs etc... but given the setup of those scripts i.e. for the build script 'recursive' ran when it was included... than I would just run it again with the rewired version.
Forking the entire repo to make those alterations seems to be best practice at least so far https://github.com/facebookincubator/create-react-app/issues/682
I'm looking to avoid duplicating /  maintaining those entire files (build and start) into a new package to keep the maintenance down.
Given the minimal amount of changes needed to get those hooks working (a few lines really) a fork seemed like the best option to me.
Do you see any paths without duplicating /  maintaining those entire files?

Hahah ok I see the problem. This just took me a while, and I really didn't think it was going to work, but it does!
/* start.js */
var fs = require('fs');
var path = require('path');

var config = require('react-scripts/config/webpack.config.dev')
var override = require(path.resolve(fs.realpathSync(process.cwd()) + '/config-overrides'));

require.cache[require.resolve('react-scripts/config/webpack.config.dev')].exports =
  override(config, process.env.NODE_ENV || 'development');

require('react-scripts/scripts/start')

You load the config, then run your overrides on it, then patch the require.cache so that when you start react-scripts and it loads the config it gets your patched config.
Neat, hey! I had a read through proxyquire which I've used in testing before and it seems like this is a legit butchery of require.cache. But maybe there's something I'm missing...
For the record, I also did a version with two files in case patching require.cache[...].export is bad for some reason:
/* start.js */
var config = require('./dev');

require.cache[require.resolve('react-scripts/config/webpack.config.dev')] =
  require.cache[require.resolve('./dev')];

require('react-scripts/scripts/start')

/* dev.js */
var fs = require('fs');
var path = require('path');

var config = require('react-scripts/config/webpack.config.dev')
var override = require(path.resolve(fs.realpathSync(process.cwd()) + '/config-overrides'));

module.exports = override(config, process.env.NODE_ENV);

This also works, but I prefer the single-file approach.
Oh also your config-overrides template example is invalid, I had to change it to this:
/* config-overrides.js */
module.exports = function override(config, env) {
  var loader = '';
  if (env === 'development') {
    loader = 'style!css?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss';
  } else {
    loader = 'style!css?modules&-autoprefixer&importLoaders=1!postcss';
  }
  // Find the right loader then patch its 'loader' property
  config.module.loaders.forEach(l => {
    if (String(l.test) == String(/\.css$/)) l.loader = loader
  })
  // default override
  return config;
}

What do you think?

Nice that looks ideal - if you like I can add you as a collaborator on this repo get a new branch kicked off with that code.
I'll checkout that proxyquire repo.

Brilliant just gave it a go - seems to work flawless.  Super clean.

Here's an init script I had started on to write entries to the package.json file + copy over the config-ovverides.js file
var fs = require('fs-extra');
var path = require('path');
var pathExists = require('path-exists');
var appPath = fs.realpathSync(process.cwd())
var appPackage = require(path.join(appPath, 'package.json'));

// Setup the script rules
if(!appPackage.scripts) return;
appPackage.scripts['rewire-start'] =  'react-app-rewired/start';
appPackage.scripts['rewire-build'] =  'react-app-rewired/build';

fs.writeFileSync(
  path.join(appPath, 'package.json'),
  JSON.stringify(appPackage, null, 2)
);

var overrideExists = pathExists.sync(path.join(appPath, 'config-overrides.js'));
  if (!overrideExists) {
    // Copy the files for the user
    fs.copySync(path.resolve(__dirname, 'config-overrides.js'), 'config-overrides.js');
  }

I don't think you need to do it, personally. I think you just have manual instructions to npm install react-app-rewired, edit package.json and create config-overrides.js in your local directory. If the example file is quite small and readable it's useful for people to see it and get a sense of what it can do. Something like this maybe?
export default (config, env, { changeLoader, addBabelTransform }) => {
  let cssLoader
  if (env === 'development') {
    addBabelTransform('babel-plugin-styled-components-named')
    cssLoader = 'style!css?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss'
  } else {
    cssLoader = 'style!css?modules&-autoprefixer&importLoaders=1!postcss'
  }
  changeLoader({
    test: /^.css$/
    loader: cssLoader
  })
}

Or how about:
export const dev = ({ changeLoader, addBabelTransform }) => {
  addBabelTransform('babel-plugin-styled-components-named')
  changeLoader({
    test: /^.css$/
    loader: 'style!css?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss'
  })
}

export const production = ({ changeLoader }) => {
  changeLoader({
    test: /^.css$/
    loader: 'style!css?modules&-autoprefixer&importLoaders=1!postcss'
  })
}

Feels like an ok way to pass in helpers...
Probably worth raising another issue for this though, it might be best to not reinvent the wheel and build off webpack-config instead.

Okay pushed up a new branch if you can take a peak (just the start and build files for now) - https://github.com/timarney/react-app-rewired/tree/usecache

Ya I like the idea of building off webpack-config can flesh that out further in another issue.
Sounds good on the setup stuff it's pretty basic now.  Given some good sample config-overrides I think people will get it (CSS Modules maybe Sass and a few others).

👍  looking good. I'll start raising issues for stuff as I think of it, I'll have some time later this week to dive in a bit deeper than the issue tracker :)

Cool sounds good - really happy with this solution.  It's ultimately the vision I had for this repo.  No eject and no fork.  Clean and simple.
Feel free to mod things as you see fit.  I'll do what I can next week as well to push things forward.

@geelen closing this issue as I think I have all discussed back into master ... as you mentioned we can open a new issue for looking at webpack-config.


How to allow access to our react native mobile app without mandatory Google OAuth sign in blocking users progressing (is it possible to easily skip)?

Using this library, means that the current implementation mandates new users to sign into our app using their Google login, or they get blocked and cannot access our app. They MUST sign into the google oauth screen when they are new users. note: our users log in with their email - we don't use the Google OAuth as the way for our users to sign in at login - our users only use the google oauth for one part of our app to activate their health data to sync after they've already logged in with email. This opt in to Google OAuth should be OPTIONAL.
This mandatory login (with no option for users to skip) is a terrible user experience for our users - they should be able to opt in or out of sharing their health data with us, when they are new users  - and if hey do skip/opt out then they should still be able to access our app and not be blocked from progressing through the app (which is the current user experience = they get blocked).
Is there a way our users can "skip" this Google OAuth screen in the current library as it is? or would there need to be code update to add in a 'skip' button on the Google OAuth screen?
Not sure if we're missing something here... Would appreciate all help possible!!
Thank you!!  🤸 🤾♀🥇
Tagging  @StasDoskalenko @aboveyunhai @kristerkari @matiaskorhonen @marcusds @jacquerie @ksetrin

I'm no longer working on a project that uses Google Fit but you need to only call the authorize function once the user has indicated that they want to share their data. What form user onboarding takes is up to you.
Also, tagging anyone who has ever contributed to the repo is pretty bad form and very rude.


Added SQLite header parsing functionality and associated tests

Added header parsing functionality via a getHeaderInfo() function. This function reads the first 100 bytes of a SQLite database file and attempts to reconstruct byte groups into the specific header fields within a Header object. Also added tests to demonstrate updating header values via PRAGMA and verifying updated / default header values.

@SRombauts tell me what you think of this implementation. In the meantime I am looking into getting the tests to pass but still have access to fixed width integer datatypes.

About the compile error, you can use plain old C type (unsigned char/short/int). Alternatively you could apply your pull request to the slqitcpp-3.x branch that is c++11

@SRombauts I am going to go ahead and replace with plain C types for now so it can be available in master. I'll also open a PR with fixed with support for the C+11 branch. Thanks!

Coverage decreased (-1.05%) to 98.955% when pulling afe10c398a3ab904710666cb096858c71643f322 on patrick--:add_header_info into 54c7a189af4f73ae8f5dbec3e4e43c27d37a681c on SRombauts:master.

I left a bunch of comments, but it looks good overall!

Also don't bother to create a different version for c++11, I don't want that we go an rewrite all just for the sake of it

And finally, I have just reached 100% unit test code coverage (for what it's worth) so you should test all cases of error
https://coveralls.io/builds/27840818/source?filename=src/Database.cpp
Basically you have to test also with no filename, no file, and wrong file hezder

@SRombauts okay I will get those tests added.

@SRombauts you mentioned leaving some comments? I might be blind, but I'm not seeing those anywhere.

Sorry, my bad, I didn't know this new review system needed a submit when finished

That's very good, thanks a lot!


Add percolator to galaxy tools

There you go. (Hope it is enough bc I did not RTFM...)

Good enough! :)


Add support for new "main" default branch instead of "master"

https://github.com/github/renaming
I will work on this issue and the others in 1-2 months, when I finish my current projects. Stay tuned! :)

Added in 1.0.0, 3b0dca1a059c08989a2d6042d2a9e642ecc9b939


deploy development software version to production site

We will move the current biosimulations site software to production site.
Punch list

initial configuration changes so that dev site uses dev resources (mongodb, s3 buckets, hpc/slurm config)

clone the production mongo database and S3 buckets to the dev site.
switch the configuration of the dev site (in the deployment/secrets repos) to point to the dev configuration, not production.  the https://patch.biosimulations.dev/projects site will reflect the recent snapshot from the production database and then any new dev content.

make all inter-app links to 'current site' (so bio.dev pages link to bio.dev pages)

with the exception of patch.biosimulations.dev which still points back to .org

HSDS improvements

update HSDS to latest version
if HPC job data push to HSDS endpoint fails, don't fail the job
if data not present in HSDS, but exists as a .h5 file in the files resource, then lazily load it into HSDS upon request.

systematically test dev version for correctness for all actions.
temporarily move manual and automated simulation/publishing activity to dev site

Lucian's scripting of new simulation runs and project creation should point to the dev site.

production mongo database was cloned to dev site for each <> (Files, Metadata, Projects, projectSummary, Simulation Run Logs, Simulation Runs, Simulators, Specifications, Statistics).  This time, dev collections were dropped right before.
mongosh> use biosimulations-prod
mongosh> db.getCollection("<<collection>>").aggregate([ { $merge: { into: { db: "biosimulations-dev", coll: "<<collection>>" }}} ])

all simulation files were cloned from production to dev site
gsutil -m rsync -r -d gs://files.biosimulations.org gs://files.biosimulations.dev
all HSDS files were cloned from production to dev site
gsutil -m rsync -r -d gs://biosim-hsds-prod gs://biosim-hsds-dev


Deploying causes sidekiq to fail to deseralize jobs

I'm not sure what the deploy task currently does but after a deploy sidekiq then fails to load jobs from redis.
There should probably be a shutdown task before deploy and then a start up after the new code has been put in place.

Actually it may be a loading order issue in sidekiq :/
I tried to rerun after restarting sidekiq and it still happened.


om-cli/om-linux

This worked on July 3rd 2019
Stopped working on try on July 10th 2019
Receiving this error:
Upload-Product Job

chmod +x om-cli/om-linux
chmod: cannot access 'om-cli/om-linux': No such file or directory

OM job output:
tag | 2.0.1
body
Was a release to make sure that brew upgrade works.
commit_sha
e2a24e1466d17d7a32c7a36be98e9f87e36f9410
name
2.0.1
tag
2.0.1
url
https://github.com/pivotal-cf/om/releases/tag/2.0.1

This is likely because they changed their release/naming strategy. See also:

https://github.com/pivotal-cf/om/blob/master/CHANGELOG.md#breaking-change
https://github.com/pivotal-cf/om/blob/master/CHANGELOG.md#versioning
https://github.com/pivotal-cf/om/commit/7ae3101d2f64ab6ba34e792636bd74b941bb78bc
https://github.com/starkandwayne/homebrew-cf/issues/17#issue-463986027

Thanks, the docker image was patched. Closing the issue as this should have been resolved by now. If not, then please re-open the issue.
Apologies for the late reply :)


Model with TPUStrategy get InternalError

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Colab (https://colab.research.google.com/)
TensorFlow installed from (source or binary): binary maybe? Colab provided it by default
TensorFlow version (use command below):  v2.6.0-0-g919f693420e 2.6.0
Python version: 3.7.11
Bazel version (if compiling from source):
GPU model and memory:
Exact command to reproduce:

Describe the problem.
InternalError: 7 root error(s) found.
  (0) Internal: {{function_node __inference_train_function_163744}} failed to connect to all addresses
Additional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:
:{"created":"@1630677855.531027249","description":"Failed to pick subchannel","file":"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc","file_line":3009,"referenced_errors":[{"created":"@1630677855.531025671","description":"failed to connect to all addresses","file":"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":398,"grpc_status":14}]}
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
Executing non-communication op <MultiDeviceIteratorGetNextFromShard> originally returned UnavailableError, and was replaced by InternalError to avoid invoking TF network error handling logic.
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional]]
	 [[Pad_9/paddings/_152]]
  (1) Internal: {{function_node __inference_train_function_163744}} failed to connect to all addresses
Additional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:
:{"created":"@1630677855.531027249","description":"Failed to pick subchannel","file":"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc","file_line":3009,"referenced_errors":[{"created":"@1630677855.531025671","description":"failed to connect to all addresses","file":"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":398,"grpc_status":14}]}
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
Executing non-communication op <MultiDeviceIteratorGetNextFromShard> originally returned UnavailableError, and was replaced by InternalError to avoid invoking TF network error handling logic.
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional]]
	 [[cond_14/switch_pred/_140/_90]]
  (2) Internal: {{function_node __inference_train_function_163744}} failed to connect to all addresses
Additional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:
:{"created":"@1630677855.531027249","description":"Failed to pick subchannel","file":"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc","file_line":3009,"referenced_errors":[{"created":"@1630677855.531025671","description":"failed to connect to all addresses","file":"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":398,"grpc_status":14}]}
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
Executing non-communication op <MultiDeviceIteratorGetNextFromShard> originally returned UnavailableError, and was replaced by InternalError to avoid invoking TF network error handling logic.
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional]]
	 [[TPUReplicate/_compile/_10521736726166110026/_4/_194]]
  (3) Internal: {{function_node __inference_train_function_163744}} failed to connect to all addresses
Additional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:
: ... [truncated]

Standalone code to reproduce the issue.
https://drive.google.com/file/d/1ceB5VBwFd87Z0ANa_91vhvrOdG4SJQLY/view?usp=sharing

The problem is not TPU specific. In fact, if you uncomment this cell and run, you can see the same error.
It seems that the problem comes from create_data_generator. tf.keras.preprocessing.sequence.pad_sequences is either misused or buggy.

I reran the colab with a non-TPU runtime and the problem disappeared.
py_function is not supported by cloud TPUs, and unfortunately dataset_generator uses py_function underneath. So you have to find another way reading the data (e.g. from tfrecord file).

@voutcn Thank you for your comment. I will try to fix it by your suggestion. if it works, I will close this issue then. Thank you!

Hi @voutcn, I have tried your tfrecord based solution. Although it still not works, but it changed to other error message:
InvalidArgumentError: 9 root error(s) found.
  (0) Invalid argument: {{function_node __inference_train_function_19837}} Detected unsupported operations when trying to compile graph cond_1_true_17678_rewritten_oc[] on XLA_TPU_JIT: XlaHostCompute (No registered 'XlaHostCompute' OpKernel for XLA_TPU_JIT devices compatible with node {{node outside_compilation_automatic_outside_compilation_cluster_2_host_compute}}
	 (OpKernel was found, but attributes didn't match) Requested Attributes: Tinputs=[], Toutputs=[DT_VARIANT], _outside_compilation_subgraph="automatic_outside_compilation_cluster_2", _xla_original_oc_node_name="outside_compilation_automatic_outside_compilation_cluster_2_host_compute", _xla_token_input_nodes=["_xla_token_arg_node"], ancestors=[], cost_estimate_ns=1000000, key="host_compu..._cluster_2", recv_key="", send_key="", shape_inference_graph=_outside_compilation_shape_inference_cluster_train_function_cond_1_true_17678_rewritten_oc_automatic_outside_compilation_cluster_2[], shapes=[], tpu_core=0){{node outside_compilation_automatic_outside_compilation_cluster_2_host_compute}}
One approach is to outside compile the unsupported ops to run on CPUs by enabling soft placement `tf.config.set_soft_device_placement(True)`. This has a potential performance penalty.

	 [[cond_1]]
	 [[TPUReplicate/_compile/_7726481566909179185/_2]]
	 [[TPUReplicate/_compile/_7726481566909179185/_2/_14]]
  (1) Invalid argument: {{function_node __inference_train_function_19837}} Detected unsupported operations when trying to compile graph cond_1_true_17678_rewritten_oc[] on XLA_TPU_JIT: XlaHostCompute (No registered 'XlaHostCompute' OpKernel for XLA_TPU_JIT devices compatible with node {{node outside_compilation_automatic_outside_compilation_cluster_2_host_compute}}
	 (OpKernel was found, but attributes didn't match) Requested Attributes: Tinputs=[], Toutputs=[DT_VARIANT], _outside_compilation_subgraph="automatic_outside_compilation_cluster_2", _xla_original_oc_node_name="outside_compilation_automatic_outside_compilation_cluster_2_host_compute", _xla_token_input_nodes=["_xla_token_arg_node"], ancestors=[], cost_estimate_ns=1000000, key="host_compu..._cluster_2", recv_key="", send_key="", shape_inference_graph=_outside_compilation_shape_inference_cluster_train_function_cond_1_true_17678_rewritten_oc_automatic_outside_compilation_cluster_2[], shapes=[], tpu_core=0){{node outside_compilation_automatic_outside_compilation_cluster_2_host_compute}}
One approach is to outside compile the unsupported ops to run on CPUs by enabling soft placement `tf.config.set_soft_device_placement(True)`. This has a potential performance penalty.

	 [[cond_1]]
	 [[TPUReplicate/_compile/_7726481566909179185/_2]]
	 [[tpu_compile_succeeded_assert/_5631292401204187139/_3/_5]]
  (2) Invalid argument: {{function_node __inference_train_function_19837}} Detected unsupported operations when trying to compile graph cond_1_true_17678_rewritten_oc[] on XLA_TPU_JIT: XlaHostCompute (No registered 'XlaHostCompute' OpKernel for XLA_TPU_JIT devices compatible with node {{node outside_compilation_ ... [truncated]

It seems is a model implement issue (I used the CRF layer form TF addons). So, I think maybe (I am not 100% sure) it is a data API issue and can be solved by your suggestion. Thank you! And I close this issue for now.


FP MoM: black box

Describe the bug

in the attachment you will see 2 black boxes, they have been created by right-clicking the menu-o-matic dialog menu and drag it in the middle between the tabbed menu and the map (see the attachment again), after you cannot delete them until you close FP and restart it.
W11
FP 1.11.7
Mom last version

Yep, I discovered this too, but couldn't correct it.
As you said, this happens when right-clicking a menu-o-matic dialog menu and drag it on the map.
BUT:

it becomes only a problem, if you then click on the "Remove Toolbar" pop up menu that has appeared, because it closes the menu dialog that is the parent of that empty box and you lost any "connection" to it.

If you don't click on "Remove Toolbar", then you can left click on the same dialog menu to drag'n drop it and it will refresh the position of the empty box and remove it after the dragging.

https://github.com/EdoFro/Freeplane_Menu-o-Matic/assets/35700575/54f7ece8-5754-4730-9ec6-5d6545b4d4e3

I wasn't able to do any of these:

access the empty box after its parent dialog was removed
avoid "remove toolbox" pop up menu from appearing when dragging the dialog

I didn't try these:

remove the dragging box when removing the dialog
interrupt the dragging "state" when removing the dialog

Thank you EdoFro, clear.

I 'll follow your indications

I made a little trick and solved this issue

@Illegit,
Can you please test the new version and tell me if this issue is solved?
#16

here is my test.
I clicked first with the right button a few times and then with the left button and then with the right button again
https://github.com/EdoFro/Freeplane_Menu-o-Matic/assets/35700575/d9d0afb2-f4ac-4981-9410-17c91ef68176

Hi @Illegit,
Did you test the last addon version: #16 ?
any comments?
I also released a new version from TabbedPaneMod. It works better with MoM.

Hi EdoFro, Mom (last version) is working nicely, not any problem with the black box. Now in this version, I understand that to remove a bar after I moved it out of the right panel I need to right-click, click remove bar, and click the X to close the bar. Maybe not so smooth but in any case effective.
It is working well.
I tried even the new tabbed panel: I think it is working appropriately. I do not understand your last changes because normally I do not use those characteristics (at least consciously)
Here are the bars I use every day:

Thanks.

I appreciate your new icons. Well done.

Hi EdoFro, I applied both of your add-ons in the last versions: MoM is working quite well. I have understood that to delete the bar once it has been moved out of the tabbed panel I have first to click remove bar and after delete click the X on the bar (not so smooth, but effective).
About the tabbed panel, I do not understand exactly what are the new changes, it is working well. Maybe I use unconsciously the new characteristics.
I use both every day and here is my last normal tabbed panel with MoM:

it is more readable. Thanks.
PS: I'm curious: how to add other menus to the tabbed panel (as in your image the MDI?)

PS: I'm curious: how to add other menus to the tabbed panel (as in your image the MDI?)

"Place toolbar into tab:"
and the Tab takes the icon of the MoM Package node
--->

I have understood that to delete the bar once it has been moved out of the tabbed panel I have first to click remove bar and after delete click the X on the bar (not so smooth, but effective).

or click the x on the bar, then it returns to the tabbed panel, and there you can right click and delete it.
It is not something I have defined, it works this way and I don't know if I can change it.

"Place toolbar into tab:"

I like it, thanks.

or click the x on the bar, then it returns to the tabbed panel, and there you can right-click and delete it.

My feeling is that this is not an issue, but the normal way how it has to work.

Understood: wow! Everything is smooth. It is increasing the FP usability during teamwork and especially during improvement sessions and analysis activities. this menu personalization is really powerful. Now I'm reviewing my menu tabs for tomorrow's activities.


assign_second_stage is performced only once

the second stage match is performed with decoder's input 'init reference point',  instead of after each layer like other detrs
Have you ever tried to perform label assign after each decoder layer?

IoU assignment uses box inputs, DETR uses box outputs. Using box outputs does not work for IoU assignment.
You could get a new box input after each decoding layer, that we have not tried.


Adding use cases

Added the following use cases:
Help, Add person, List, Edit person, Find person, Delete person, Select person, History, Undo, Redo, Clear, Exit
I will add more to this branch as we add more command and functionality to our AddressBook

Coverage remained the same at 92.159% when pulling 2ef2e64686e7091f6dbf28834f8fd384e52d5c8c on sunarjo-denny:use-cases into f6f67c5de0c66b538d6e6d6722bf90cf393f2a2e on CS2103-F11-B4:master.


How to get a tensorrt model?

Hi,
I want to get the RT-DETR tensorrt models.
But I can't find any code about loading model or custom trained weights.
(I use pytorch.)
Could you explain?

You find some resources for deployment in https://github.com/lyuwenyu/RT-DETR/issues/95
star this repo to follow updates

You find some resources for deployment in #95
star this repo to follow updates

thanks for reply.
is there any code about convert torch model to engine??...
I already saw that link but I can't convert my .pth model to .engine.
I want to convert my .pth to .engine.
could you give me some refer or python codes?
(I tried converting but some error occurred about state_dict after torch2trt, torch.load(".pth")
I will upload my error message 12h later.)

You can use nv tensorrt tools trtexec to convert onnx to trt engine, something like that
trtexec --onnx=xxxx.onnx --saveEngine=xxx.engine --buildOnly --fp16

You can use nv tensorrt tools trtexec.
trtexec --onnx=xxx.onnx --saveEngine=xxx.engine --buildOnly --fp16

Steps in detail to have trt model
https://github.com/PrinceP/tensorrt-cpp-for-onnx?tab=readme-ov-file#rt-detr


fix(mergeMap): allow conccurent to be set as the second argument for …

Description:
Allow concurrent to be supplied as the second argument for mergeMap and mergeMapTo.
Related issue (if exists):
see #1448 for discussion
Perf Details
On my machine the numbers were kind of hit or miss, so it's worth a second look by someone else as well.  But the numbers look to not really be affected all that much.
---------------------------------------------------------------------------------------------------------------------------------------------------
-- BEFORE
---------------------------------------------------------------------------------------------------------------------------------------------------
                                         |                     RxJS 4.0.7 |              RxJS 5.0.0-beta.2 |          factor |      % improved
---------------------------------------------------------------------------------------------------------------------------------------------------
                    mergemap - immediate |                 1,871 (±4.96%) |                24,602 (±5.36%) |          13.15x |        1,215.2%
                                mergemap |                   575 (±4.30%) |                 3,779 (±5.71%) |           6.57x |          556.9%
---------------------------------------------------------------------------------------------------------------------------------------------------
                    mergemap - immediate |                 1,675 (±5.89%) |                20,097 (±5.73%) |          12.00x |        1,100.2%
                                mergemap |                   617 (±5.99%) |                 4,508 (±5.15%) |           7.30x |          630.5%
---------------------------------------------------------------------------------------------------------------------------------------------------
                    mergemap - immediate |                 2,300 (±3.36%) |                28,980 (±3.07%) |          12.60x |        1,159.8%
                                mergemap |                   761 (±3.28%) |                 5,644 (±3.56%) |           7.42x |          641.6%
---------------------------------------------------------------------------------------------------------------------------------------------------
-- AFTER
---------------------------------------------------------------------------------------------------------------------------------------------------
                                         |                     RxJS 4.0.7 |              RxJS 5.0.0-beta.2 |          factor |      % improved
---------------------------------------------------------------------------------------------------------------------------------------------------
                    mergemap - immediate |                 2,156 (±6.06%) |                27,358 (±5.14%) |          12.69x |        1,168.8%
                                mergemap |                   678 (±5.41%) |                 5,260 (±5.54%) |           7.75x |          675.3%
---------------------------------------------------------------------------------------------------------------------------------------------------
                    mergemap - immediate |                 1,781 (±6.55%) |                22,664 (±6.63%) |          12.72x |        1,172.4%
                                mergemap |                   589 (±4.92%) |                 4,865 (±5.04%) |           8.26x |          725.7%
---------------------------------------------------------------------------------------------------------------------------------------------------
                    mergemap - immediate |                 1,998 (±5.14%) |                26,582 (±4.79%) |          13.31x |        1,230.6%
                                mergemap |                   583 (±5.49%) |                 6,060 (±2.12%) |          10.39x |          939.2%
---------------------------------------------------------------------------------------------------------------------------------------------------

what about add type definition test in this PR as well?

Hadn't thought about it, added!

:+1:

Just tried new 'reaction' feature to your PR :)

I'll check this in around today to tomorrow if there isn't additional suggestion.

@david-driscoll @kwonoj wait, I think this should be thought through a bit since we want to have the following:
mergeMap(source, selector, resultSelector?)
mergeMap(source, selector)

Perhaps we should break it out into its own thing such as:
mergeMapConcurrent(source, maxConcurrent, selector, resultSelector?)

@mattpodwysocki what are you saying is the source argument? we've already distinguished between mergeMap and mergeMapTo

I'll put on hold check in to clarify. Just in case, current mergeMap signature supports these.
mergeMap(project);
mergeMap(project, concurrent);
mergeMap(project, resultSelector);
mergeMap(project, resultSelector, concurrent);

The commit message has a typo. conccurent => concurrent

@blesh fixed :smile:

LGTM.

Merged with c003468, thanks @david-driscoll !


useMatchMutate from the example does not revalidate

Bug report
Description / Observed Behavior
In the example linked here, a method is proposed to mutate all keys that match a certain regular expression.
I am trying to revalidate several keys that have a same prefix (e.g. /api/todo and /api/todo?assigned=true), however none of them are revalidated.
There are matching keys in the cache, however they are in the form $req$/api/todo or $err$/api/todo, probably due to running through the serialize utilities.
Expected Behavior
The keys /api/todo and /api/todo?assigned=true are revalidated
Additional Context
SWR version 1.0.1

There should be a key that is just /api/todo. The $req$/api/todo key is for storing the isValidating state, and $err$/api/todo is for storing the error state, so those two don't need to be revalidated.

Hi @shuding, thanks for your answer. Chosing a better regular expression did the trick to remove $err$/... and $req$/... from the keys to mutate. Perhaps it's worth noting somewhere in the doc that keys that are not user-generated are still present in the cache.
As for the problem I encountered, I'll try to reproduce a test case in which /api/todo was not present in the cache, but in the meantime I'll close the issue.


Clicking Prefs override box causes it to disappear

can you replicate? I can't..

Yes, I tried clicking it on, then hitting 'Update' and then clicking in the box again - and it disappeared again.  Seems likely that's what I had done the first time also.

btw I can now reproduce and will fix at some point.

finally got this one fixed!


Date Sequence in Line Charts

Hey there ,
I would like to know whether we can create a date sequence in the X axis of a line chart , for example if I have only two dates which will be start date and end date , is it possible to generate the dates in between in this period automatically in the X axis to plot the data ?

@PraveeshKS It is possible. To get started, prepare some data like the example below.
Link: https://demos.blazorbootstrap.com/charts#blazor-charts-example
In the screenshot below, we are displaying data for 20 overs.


UC 21: As a developer, I want to be able to specify the application and component name on every command

As a developer, I want to be able to specify the application and component name on every command so that it can the command can target a different application or component than the one I’m currently working with and is active
Push component to 2 apps and also push to 2 components of same app:
$ cd my-code-frontend                   // app=app
$ ocd create httpd                          // app=app; name=httpd
$ ocd create httpd httpd2               // app=app; name=httpd2
$ ocd create app example              // app=example
$ ocd app
   Output: app=example
$ ocd create httpd                         // app=example name=httpd
$ ocd push httpd  --app=app        // app=app; name=httpd
$ ocd push httpd2  --app=app      // app=app; name=httpd2
$ ocd push httpd                          // app=example; name=httpd

we need to decompose this. This doesn't have to be in MVP.
MVP can assume working with current application

closing this since we now have --app  flag


ConcavePolygonShape2D not intersected by direct_space_state.intersect_point()

OS: Windows 10
Godot Version: 3.2.2 official
Steps to Reproduce:   Attempt to use direct_space_state to intersect_point() against a ConcavePolygonShape2D.
Reproducible example: ConcavePolyShape2DBugDemo.zip
Note that point intersection works against ConvexPolygonShape2D, but fails against ConcavePolygonShape2D.  See gif:

This is by design. A ConcavePolygonShape2D has no body, it only has a border of segments. This allows for the efficient calculation of collisions against complex concave collision shapes. If you want to determine whether a point is inside a concave collision body, you need to use a ConllisionPolygon2D in Solids build mode.
Note: A CollisionPolygon2D in Segments build mode will create a ConcavePolygonShape2D with the same outcome.

Should this be clarified in the documentation for ConcavePolygonShape2D? Or is it already clear enough?

Yes, it should be clarified in the documentation. The documentation for Physics2DDirectSpaceState.intersect_point() states:

Checks whether a point is inside any shape.


ncnn: fix build

Description of changes
Fixed the build for ZHF (:raccoon: https://github.com/https://github.com/NixOS/nixpkgs/issues/199919) at #ZurichZHF :)

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[] 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/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This is already fixed in #201747


Use JS SDK to detect device information

Summary
Hi! We're currently using Amplitude at our company to track user events' data. However, we use the server-side Batch API for it where we send the information that we tracked ourselves to Amplitude. For determining the device model, we're just parsing the user agent from a client's device ourselves and then passing that info to the API using the device related parameters found here.
All works fine except for iOS. Apple doesn't put device model info in the ua string so we can't determine the model by simple means and Amplitude doesn't populate device info until it has device model as well so events look like this

And shows up as (none) when you try to run analytics on it.
Long story short, is there a way that we could leverage this JS SDK to use in our webpages to track the user device information more accurately? Especially for iPhones and iPads?

Hi @aakashsethi20 as you mentioned you are detecting devices information on your end and passing information in, the device type could be empty if we don't have a corresponding mapping based on the information. In JS SDK, we are using ua-parser library to read device brand and model and send to server in recent versions.

Thanks for the speedy reply @qingzhuozhen! Is it possible to bypass your internal mapping and just put in the device type what we pass in the model?
If the JS SDK is using ua-parser, does it suffer the same shortcoming that we're facing in detecting iOS models? Are there any plans about integrating things like 51Degrees iOS detection that employs more sophisticated tooling to figure out the specific model of an iOS device?

Hi @aakashsethi20 For device type it is not something we expose and not possible to bypass internal mappings. You can use device_model and device_manufacture though to do analytics.
Right now we don't plan to integrate other libraries. That could be some options we explore in the future. For UA-Parser, you can check https://github.com/amplitude/ua-parser-js

@aakashsethi20 Earlier I made some changes to read ios models in ua-parser. It may still not supporting all but some of it. Feel free to contribute or made changes to ua-parser-js if needed.


Helm repo no longer valid

Per your instructions, running helm repo add  appdynamics-charts https://ciscodevnet.github.io/appdynamics-charts results in a 404. The AppD chart seems to have been removed. Has it moved to a new location?

Closing this. We were following AppD 21.3 version documentation and it contained a typo. all is well.


cli version 7.187.1

Summary
Unusual activity with cli version 7.188.1 related to unpackaged metadata for unlocked packages.
Steps To Reproduce:
In your unlocked package project, create a folder for unpackaged metadata files used for apex tests. We have custom profiles in these directories.
Salesforce documentation on unpackaged metadata.
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_dev2gp_unpackaged_md.htm
Create a new package version.
sfdx force package version create -f config/project-scratch-def.json -p  -w 33 -v DEVHUB -x
Expected result
The package version should create successfully.
When I downgrade to sfdx cli version 7.180.0 the same project will package successfully.
$ sfdx force:package:version:create -f config/project-scratch-def.json -p <ID> -w 33 -v DEVHUB -x
 »   Warning: We no longer maintain the current implementation of the "force:package:version:create" command. You should
 »   instead use the "force:package:beta:version:create" command, which is functionally the same. If you run into issues,
 »   file a report against the "force:package:beta:version:create" command on https://github.com/forcedotcom/cli/issues.
Request in progress. Sleeping 30 seconds. Will wait a total of 1980 more seconds before timing out. Current Status='Queued'
Request in progress. Sleeping 30 seconds. Will wait a total of 1950 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 1920 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 1890 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 1860 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 1830 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 1800 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 1770 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 1740 more seconds before timing out. Current Status='Initializing'
Request in progress. Sleeping 30 seconds. Will wait a total of 1710 more seconds before timing out. Current Status='Verifying
metadata'
Request in progress. Sleeping 30 seconds. Will wait a total of 1680 more seconds before timing out. Current Status='Finalizing package version'
sfdx-project.json has been updated.
Successfully created the package version [ID here]. Subscriber Package Version Id: ID
Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=ID
As an alternative, you can use the "sfdx force:package:install" command.

Actual result
The package is throwing errors on the unpackaged components.
$ sfdx --version
sfdx-cli/7.188.1 win32-x64 node-v17.9.1

$ sfdx force package version create -f config/project-scratch-def.json -p <packageID> -w 33 -v DEVHUB -x
Warning: The "force package version create" command has been deprecated. Use "package version create" instead.
Version create.... Create version status: Error
Error (1): Multiple errors occurred:
(1) Analytics Cloud Integration User: An object 'Analytics Cloud Integration User' of type Profile was named in package.xml, but was not found in zipped directory
(2) 6%2E03 Bank Affiliate: An object '6%2E03 Bank Affiliate' of type Profile was named in package.xml, but was not found in zipped directory
(3) 6%2E04 MF Affiliate: An object '6%2E04 MF Affiliate' of type Profile was named in package.xml, but was not found in zipped directory
(4) 6%2E05 General Read Only: An object '6%2E05 General Read Only' of type Profile was named in package.xml, but was not found in zipped directory
(5) 6%2E06 Insurance and Health: An object '6%2E06 Insurance and Health' of type Profile was named in package.xml, but was not found in zipped directory
(6) 1%2E01 Security Administrator: An object '1%2E01 Security Administrator' of type Profile was named in package.xml, but was not found in zipped directory

This error occurs back to version 7.187.1 as far as I can tell. That's as far back as I went.
System Information
Windows 10.
sfdx cli 7.188.1. node 17.9
Additional information

Salesforce Support notes this will be resolved with the upcoming release to the cli.
This issue has been marked as fixed by our engineers and should be resolved in the next CLI release. Once that release has come out if you run into the same or a new issue please feel free to log another case and we can look into it further!
We will run a quick test once the new version is published later this week, or early next week.
Thank you.

Closing this due to inactivity, please let us know if you still experience this issue using latest sfdx.


Setting file owner (chown)?

Q
A

Issue Type
Question

Deployer Version
N/A

Local Machine OS
N/A

Remote Machine OS
N/A

Description
I noticed files are created under the account you use for authentication, but I need the files to have specific user/group, not same as SSH account. What is the best way to do this with Deployer?

If someone else gets stuck a quick workaround for this is to write a custom task, for example:
task('deploy:owner', function () {
  run('chown -R www-data:www-data /var/www/site');
});

Something built-in would be nice though, it's a very common feature.

@khromov
Thank you for your idea. It is good, but it can have use root privilege. We will think about it.

What about writable?

@elfet I assume that chmods the files to be writable? I'm currently deploying a WordPress project and it doesn't play nice if the files are not owned by the web server process... The workaround task I have works well so you can consider adding native chown-capabilities a feature request!

Solved with v4.

But, how was it solved? Looking through the docs, have not found it yet.

Use run('chiwn ...')


Add KINGA Mobile Game For Android And iOS

The game itself is fine with me too. I reached out to the author for clarification about the use of the artwork's compliance with the CC-BY-NC-ND license.


Broken URL at https://registry.field33.com/

I've opened<EMAIL_ADDRESS>Github link is https://github.com/field33/ontologies/tree/main/%40fld33/relations
The link is broken

I'm not currently an user, just browsing around and decided to let you know.

Good catch @msm-code I'll scan for outdated repository links

@msm-code the packages are published with the changes made in the Closing PR


█ Fancyzone ➜ Wheel positioning while Shift

Description of the new feature / enhancement
When selecting a position while Shift+dragging in FancyZone, you can move it by turning the wheel.

*You can switch to a number position in that screen without moving the mouse.
*Allows the user to select the function of positioning only that display or the function of positioning with reference to all displays.
*Up wheel to advance number down. Down wheel to advance number up.
*The forward/backward direction can also be set in the reverse direction.

Scenario when this would be used?
This allows you to determine the fixation location simply by operating the wheel.
Even if you have many displays, it reduces the burden of moving the mouse.
Supporting information
No response

Interesting idea. It would also allow you to differentiate between multiple zones that are overlapping. Current options are limited, especially when zone centres are coincident.


PublicKey is still using checksummed addresses

What happened?
PublicKey - more specifically ToAccountHex() which is also used by ToString() - is using checksummed addresses which were deactivated and postponed to another future version (AFAIK).
Using checksummed addresses causes issues on e. g. cspr.live -> Wallet -> Transfer CSPR -> Casper Signer will error out if using checksummed addresses. casperholders.io has the same issue, too.
I've also used Wireshark to check if the checksummed addresses are returned by RPC calls and saw that RPC responses contain lower-cased addresses which I think is correct -> the Casper .NET SDK is the reason.
Maybe this issue needs to be raised to the Casper Signer and/or cspr.live, too to handle checksummed addresses more carefully and simply lower-case public keys.
Sample code to reproduce:
PublicKey publicKey = PublicKey.FromHexString("0154a4d3a719b76861e56dcd4b5a6ef43814ef3c512346bd6af1d07dc69401c1e9");
Trace.WriteLine(publicKey);

Output (mixed-case):
0154a4d3A719b76861E56DcD4b5A6Ef43814eF3C512346bD6af1D07DC69401C1E9

What did you expect to happen?
Expected output (lower-case):
0154a4d3a719b76861e56dcd4b5a6ef43814ef3c512346bd6af1d07dc69401c1e9

All public keys should be lower case and not using checksummed addresses to avoid confusion and issues as long as it is not officially enabled again.
Are you willing to submit a pull request to fix this bug?
No since I think I would miss something anyway and I'm not sure if this is considered as an issue or not.
An easy and probably hacky fix without running tests etc. could look like this:
Change line 112 in CEP57Checksum.cs:
// Before
return sb.ToString();

// After
return sb.ToString().ToLower();

I didn't run any tests and it is very likely that this breaks something so be warned.

Thanks @GuybrushX  for your detailed explanation.
While Casper nodes return lower-case addresses, the nodes accept and verify correctness of checksummed public keys and account hashes.
Thus, it make sense to keep generating checksummed values and the application integrating the SDK can always do .ToLower() if needed.


Fix "expandable to our own" on website

On the website, "Metro 4 is easily expandable to our own needs" is written. Don't you mean "YOUR own needs" ?

I am not a native english speaker too BTW :)


New version error

With new version of SoapySDRPlay and with SoapySDR from GIT my SDRPlay is not found
This is the output of SoapySDRUtil --info
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Lib Version: v0.6.0-g5e823fc1
API Version: v0.6.0
ABI Version: v0.6-dev
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.6-dev
Module found: /usr/local/lib/SoapySDR/modules0.6-dev/librtlsdrSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6-dev/libsdrPlaySupport.so
Loading modules... done
Available factories...null, rtlsdr, sdrplay,
And this is the output of SoapySDRUtil --find
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
mir_sdr_usb_GetDevices Dev0:vid=1df7 pid=2500 rev=0206 serno=B0002P0001 bus=002 port=001 devAvail=0
No devices found!
How can I get it to work?
Regards
Franco Spinelli

What OS are you running under, I presume some flavour of Linux?
The devAvail=0 looks wrong, it should say devAvail=1
Did the driver install from sdrplay.com go smoothly? Check the driver message log (dmesg) to see that the driver has been installed OK and loading. I think there should also be a udev rules file. My pi3 has
cat /etc/udev/rules.d/66-mirics.rules
#USB devices
SUBSYSTEM=="usb" ATTR{idVendor}=="1df7" ATTR{idProduct}=="2500" MODE:="0666"
SUBSYSTEM=="usb" ATTR{idVendor}=="1df7" ATTR{idProduct}=="3010" MODE:="0666"
Richard

Il 30/12/2016 16:13, gedger ha scritto:

What OS are you running under, I presume some flavour of Linux?

Ubuntu 16.04/64 bit up to date

The devAvail=0 looks wrong, it should say devAvail=1
Did the driver install from sdrplay.com go smoothly? Check the driver
message log (dmesg) to see that the driver has been installed OK and
loading. I think there should also be a udev rules file. My pi3 has

Latest API is installed and is working. All was working, with some
errors as in my issue, with previous version.
And all is working with gr-osmosdr and also with Luaradio
So, I suppose, no problem with API and no problem with UDEV rule:
SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="2500",MODE:="0666"
SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="3010",MODE:="0666"
Regards
Franco Spinelli
IW2DHW

I have done some test and solved the problem.
As first test I have modified Registration.cpp forcing rspDevs[0].devAvail to "1". I have only 1 RSP1 and this worked.
After this SDRUtils show my device ad "available" and CubicSDR is working
So I have search for a kernel module using my RSP1 and found that removing msi2500 will do the job. Now SoapySRTUtil show correctly:
mir_sdr_usb_GetDevices Dev0:vid=1df7 pid=2500 rev=0206 serno=B0002P0001 bus=002 port=001 devAvail=1
After this test the problem was in kernel module but there is no "usb error" as in old post on SDRPlay forum.
And this kernel module don't interferes in correct RSP1 usage.
My device is working with gr-osmosdr and Luaradio (both don't use mir_sdr_getDevices() call) and was working with old SoapySDRPlay
Regards
Franco Spinelli
IW2DHW

Closed due to inactivity to avoid confusion.


Expose a filepicker_field_tag method

The f.filepicker_field method requires a a valid object attribute. Sometimes you want to do an upload and handle it entirely through the onchange event. In my case it's because I am trying to instantiate nested forms after a multi-file upload, one nested form for each file. But I'd still like to use all the config options I've set. A basic filepicker_field_tag method would support this, where you can specify any arbitrary attribute name for the input field.

1

Closed via #120


Added Similarity() for new type IndividualNodes. Fixes #45

This change is

Codecov Report

Merging #47 into master will increase coverage by 0.53%.
The diff coverage is 95.23%.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage    87.7%   88.23%   +0.53%
==========================================
  Files          19       20       +1
  Lines         748      782      +34
==========================================
+ Hits          656      690      +34
  Misses         84       84
  Partials        8        8

Impacted Files
Coverage Δ

document.go
55.81% <100%> (ø)
:arrow_up:

family_node.go
92.85% <100%> (ø)
:arrow_up:

individual_nodes.go
100% <100%> (ø)

individual_node.go
84.8% <50%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


fixed bugs

Modified the port number to 5000 since thats the default in .NET
Modified the path names for the sample so the links work again and modified the csproj name so it matches the sample

@mahoekst : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

Thanks, all. Publishing in this repository is suspended until Tuesday, November 2. Merging will resume Tuesday morning, and we'll merge this approved pull request at that time. Thanks.


@release mode log shows 0 consumers and it closes

I've tried your demo and its good though I've face little problems here.
1.It's showing same local stream and remote streams for same device causing noisy echo.so how to stop receiving own produced stream  as consumer.
2.on debug mode looks like fine but in release mode.streams are closed within a few seconds. as log shows 0 consumers and it closes worker.is it signalr problem?(ps on release mode 10 sec has given to check consumer and then connection/producer/consumer lost)

You can create no consumers for the producer.
https://github.com/albyho/Tubumu.Meeting.Demo/blob/f45e8d4958cbfff1b5680a4cc5ef4b0d271d5586/tubumu-meeting-demo-client/src/App.vue#L952
Yes, the producer will be closed after 10 seconds if there are no consumers. You can change it.
https://github.com/albyho/Tubumu.Mediasoup/blob/4389e5e2046f1c8c23ad3c440e5cdec20027de95/Producer/Producer.cs#L65

Thank you for your quick response and another question,how far it can be scaled? or how many participant can join in single room(ps i've 10 core server 32gig ram.)

See: https://mediasoup.discourse.group/t/experience-with-mediasoup/1578


Publish 10/15/2020 12:58 PM PDT

Docs Build status updates of commit 688714c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteUserInvitations.md
:white_check_mark:Succeeded
View (sharepoint-ps)

teams/teams-ps/teams/Get-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Grant-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/New-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Remove-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Set-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 665f5a8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteUserInvitations.md
:white_check_mark:Succeeded
View (sharepoint-ps)

teams/teams-ps/teams/Get-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Grant-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/New-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Remove-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/Set-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Does CoreNeuron support the simulation of mod files with kinetic scheme or derivimplicit methods on GPU?

We have some mod files implemented with kinetic scheme, and failed to simulate the model with CoreNeuron on GPU. Does CoreNeuron support the simulation of these kinds of mechanisms? Is the python script kinderiv.py helpful? If so, could you please tell us how to use it? Thank you.

@pkuzyc :  To generate optimised code for CPU/GPUs we have been working for new  MOD file to C++ converter called NMODL. That supports all solvers including kinetic schemes.
We haven't made new NMODL compiler as default but we already testing it with our models. We  haven't written detailed instructions with GPU backend yet. Do you have representative MOD file that we can test?

Sorry, I mean NMOD file here. We use kinetic scheme in NMOD file (like the HCN2 mechanism from ModelDB). Is it possible to simulate this kind of NMOD file with CoreNEURON on GPU?

Link errors when generating special-core
I can successfully generate "special-core" using nrnivmodl-core with some general NMOD files. However, when there are some NMOD files implemented with kinetic scheme, it failed.
I used nrnivmodl-core with command:
./nrnivmodl-core /path/to/nmodfiles
and the error is:
coreneuron/coreneuron.cpp:
@E@nvlink error   : Undefined reference to '_ZN10coreneuron13sparse_threadEPNS_9SparseObjEiPiS2_PddiiiiS3_S2_PNS_11ThreadDatumEPNS_9NrnThreadEd' in 'x86_64/libcorenrnmech.a:ca_ch.o'
@E@nvlink error   : Undefined reference to '_ZN10coreneuron17_ss_sparse_threadEPNS_9SparseObjEiPiS2_PddiiiiS3_S2_PNS_11ThreadDatumEPNS_9NrnThreadEd' in 'x86_64/libcorenrnmech.a:hcn12_ch.o'

It seems that it's about the function sparse_thread? Could you please take a look at it? Thank you.

Just to mention that we are still working on this. The problem is not trivial, sorry

I believe this issue has been fixed in #303.
(It's true that we haven't fixed the support in NMODL but that is not a blocker for @pkuzyc I believe).


[BUG]: Kind/Name of result not existing for k8sgpt-operator

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've included steps to reproduce the behavior

Affected Components

[X] K8sGPT (CLI)
[X] K8sGPT Operator

K8sGPT Version
v0.3.16
Kubernetes Version
v1.26.0
Host OS and its Version
No response
Steps to reproduce

run k8sgpt-operator from branch https://github.com/k8sgpt-ai/k8sgpt-operator/tree/feat/integration-support
specify in K8sGPT cr the following

    filters:
    - ConfigAuditReport
    integrations:
      trivy:
        enabled: true
        namespace: trivy-system
        skipInstall: true
    extraOptions:
      backstage:
        enabled: true

You will get an error in the reconciliation loop of the operator because when "backstage.enabled: true" the operator wants to retrieve a label from the original object of the result. For ConfigAuditReport and VulnerabilityReport the name of the result is a combination of two labels which represent the original namespace and original name of the analyzed resource by trivy.
Unfortunately the trivy ConfigAuditReport and VulnerabilityReport resource names are not the same as the original resource. So actually currently the kind is ConfigAuditReport or VulnerabilityReport but the resource name is the name of the original analyzed resource (e.g. Service or DaemonSet).
Example:
Analyzed resource by trivy:
kind: Service
namespace: kube-system
name: kube-dns

the ConfigAuditReport is this
kind: ConfigAuditReport
namespace: kube-system
name: service-kube-dns

the K8sGPT Result is this:
spec.kind: ConfigAuditReport
spec.name: kube-system/kube-dns

Now the problem is that there is no kind "ConfigAuditReport" in Namespace "kube-system" with name "kube-dns".
Either we set in the K8sGPT result the spec.kind "Service" (which would be in the label trivy-operator.resource.kind of the ConfigAuditReport) and the name "kube-dns" or we set the spec.kind "ConfigAuditReport" with the name of the ConfigAuditReport resource.
Expected behaviour
Either we set in the K8sGPT result the spec.kind "Service" (which would be in the label trivy-operator.resource.kind of the ConfigAuditReport) and the name "kube-dns" or we set the spec.kind "ConfigAuditReport" with the name of the ConfigAuditReport resource.
I think the key question is if we want to reference the original resource where the problem happens or in the case if the trivy integration the resource of the trivy report.
Actual behaviour
The operator reconciliation loop fails with
2023-09-21T06:15:52Z    ERROR   Reconciler error        {"controller": "k8sgpt", "controllerGroup": "core.k8sgpt.ai", "controllerKind": "K8sGPT", "K8sGPT": {"name":"k8sgpt-sample","namespace":"sx-k8sgpt"}, "namespace": "sx-k8sgpt", "name": "k8sgpt-sample", "reconcileID": "df729d4d-e1d6-4857-9da8-64a1f7fe8544", "error": "configauditreports.aquasecurity.github.io \"svclb-traefik-a05c84e4\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:324
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:265
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/controller/controller.go:226

Additional Information
No response

@AlexsJones sorry for not responding. You don't need backstage for this. You can install trivy and then configure K8sGPT like in "Steps to reproduce" in https://github.com/k8sgpt-ai/k8sgpt-operator/issues/240#issue-1946856077 .
Then you will hopefully see some results CRs in the K8sGPT namespace and if you look at one you will see that .spec.kind is ConfigAuditReport and .spec.name is the name of an object which the configauditreport analyzed (e.g. a replicaset), but not the configauditreport itself.
So the kind is ConfigAuditReport but the name is the name of a replicaset the ConfigAuditReport was referencing.
In https://github.com/k8sgpt-ai/k8sgpt/pull/678 I tried to set the kind to the original kind (which in that case would be a replicaset), but then the AI prompt would not be set for the ConfigAuditReport.
So my suggestions would be the keep the kind to "ConfigAuditReport" but then set the correct name of the ConfigAuditReport in https://github.com/k8sgpt-ai/k8sgpt/blob/main/pkg/integration/trivy/analyzer.go#L119-L120

@AlexsJones I now created the new PR https://github.com/k8sgpt-ai/k8sgpt/pull/869 which should fix this issue. If you or @matthisholleville have time I would love to get a review


Revert "[WFLY-14439] Move org.apache.thrift module from wildfly-ee to microprofile"

Reverts wildfly/wildfly#14010
@jasondlee I'm reverting this because it should go in the MP4 branch or waiting until that branch is merged.

So do I need to open a new PR targeting MP4?

@jasondlee Unless @kabir says otherwise best is to wait until MP4 is merged, and then do it against master. I think MP4 branch is likely in a phase where it's best to leave it alone.

Fair enough. I'll sit tight and open a new PR once MP4 is merged. I will, though, reject this PR on the JIRA.


Pub Key management doesn't have an "up" navigation

When you go into pubkey management, there is no "up" navigation available to get back to the host list. You have to hit the back arrow key.

I never understood the point of that redundant duplication added in so many apps. But if you're going to add it, you should add it for settings too.


Add "delay" option for Event system

Hello everyone,
Faced with my previous request (#699), I could not find a solution. I would like to suggest that this system be coded:

A system of "delays / timer" activation for an event as I had mentioned like that (delay is 10sec) :

events:
  startq:
    commands:
    - /playsound ac.environment.quests voice <player> ~ ~ ~ 10000.0
    delay: 10

From what I understood it is not so difficult to add as functionality, it would be a real plus for the plugin and give interesting possibilities. For exemple my next plugin use : https://pastebin.com/VVHgi1jz
Not being good enough in coding, I am ready to finance this addition if it is necessary.
Sorry for this new post but you are my only chance

Hello thank you
I wanted to know if what I propose to you is possible. I try with Denizen but it seems very complicated and for now I am facing bugs.
I maintain that I prefer to pay you for the feature to be added.
I thank you for telling me if this is possible.

So I finally found time to look into this, and while you're correct that it wouldn't be difficult to add, there are some problems in doing so. Events (now called Actions in recent builds) are tied to either the start, end, or during a Stage. Although stages can have delays, which would also delay the Event/Action, it doesn't work so well the other way around. It would be possible for an Action to delay to be long enough that a player completes a Stage before the Action happens! In some cases this wouldn't be a problem, as in a lightning strike Action, but for fail-quest, execute-command, and some other Actions, this can cause unintended side-effects.
For example, let's expect Markus will kill some monsters for Stage 1 of a quest in under 30 seconds. So after a 35 second Action delay, we'll use a give-item to hand Markus a Tasty Enchanted Apple, to deliver to a NPC in Stage 2. However, Markus is having trouble killing the monsters, and after 45 seconds, decides to eat the Apple to recover some health! Now when Markus finally reaches Stage 2, they no longer have the Apple necessary to complete the Stage. Oops!
The current system of forcing Actions to occur within a single Stage prevents these kinds of mishaps. If you'd like Actions to occur more frequently during a stage, I'd be open to more triggers (Death, Disconnect, etc.) which could happen more often. Anyway, I'm sorry you had to wait so long for this response. Thanks for your interest in Quests!


Support to sort JSON

Hi @syllant, I am the co-author of Sort JSON and I am using your Lines Sorter plugin very much. Can you add the functionality to sort JSON? I often find myself in need to sort all JSON properties in WebStorm.
Here is an example of the source:
{
  "name": "@bennycode/my-package",
  "version": "1.1.2",
  "description": "Calculates the average.",
  "main": "index.js",
  "scripts": {
    "build": "tsc",
    "tscinit": "tsc --init",
    "prebenny": "echo before benny",
    "benny": "echo benny",
    "pretest": "echo before test",
    "test": "node getAverage.test.js",
    "posttest": "echo after test"
  },
  "author": "bennycode",
  "license": "MIT",
  "dependencies": {
    "ml-array-max": "1.x"
  },
  "devDependencies": {
    "typescript": "4.4.x"
  }
}

I would like to mark all the lines in WebStorm and sort them using your plugin like this:

{
  "author": "bennycode",
  "dependencies": {
    "ml-array-max": "1.x"
  },
  "description": "Calculates the average.",
  "devDependencies": {
    "typescript": "4.4.x"
  },
  "license": "MIT",
  "main": "index.js",
  "name": "@bennycode/my-package",
  "scripts": {
    "benny": "echo benny",
    "build": "tsc",
    "posttest": "echo after test",
    "prebenny": "echo before benny",
    "pretest": "echo before test",
    "test": "node getAverage.test.js",
    "tscinit": "tsc --init"
  },
  "version": "1.1.2"
}

Can you add this feature please?

Hey, your suggestion makes total sense, smart sorting would apply to lots of other cases too (XML, YAML, etc.), but I don't want to add any intelligence nor option to this plugin, I want to keep it focused on the basic need (until it becomes a native feature). Richer plugins such as String Manipulation might be a better fit for your suggestion, I'd recommend that your reach out to them.

Freshly implemented here, you can try it: https://github.com/krasa/StringManipulation/issues/151

Thanks for the fast feedback!
@syllant if you don't mind I will take your code and add JSON sorting to it. Since your code is licensed under WTFPL this shouldn't be a problem.
@krasa your JsonSort class accepts a list of Strings which is exactly what I need to pair it up with SortUtils.defaultSort. Given the idea that I am building a new plugin, what would be the best way to consume your code? Can I integrate it through Maven?

@bennycode Sure, feel free to fork the plugin 👍 Although I'm curious, why do you want to introduce another plugin rather than relying on String Manipulation, since it just introduced the feature you wanted?

why do you want to introduce another plugin rather than relying on String Manipulation

I like the simplicity of your plugin. Looking at "StringManipulation" it doesn't look like I can simply sort columns by hitting Alt + Shift + L, or can I? @krasa
Screenshot of StringManipulation:

You should use Gradle, it supports dependencies https://github.com/krasa/StringManipulation-Localization/blob/f3f4696efea39ff9f9e2a7cbe64d976de455d959/gradle.properties#L16
But I do not have any stable API, the best would be to just copy-paste the code.
I fixed Json sort, it does not need a dialog, but aligning does not have any standard usecase imho, so there is only the generic one.

the best would be to just copy-paste the code

Your code is distributed under Apache License 2.0. Can I just copy your sources into my repo by adding a copyright in the header of that file? Or what's the best way to integrate your code?
Can you maybe export an API for using your code? Modular code would help very much with making it useful for other purposes. 😊

Sure, just copy it and don't worry about it.
It is a super rare request, and I do not produce a perfect code, rather a good enough one and then polish it as needed. So I do not think it is worth it.

I've been experimenting with remembering settings so that repeat action does not show a dialog, and it would be possible to even save it as an extra custom action. Would that solve your problem?

Hey @krasa, thank you very much for offering your help. Adding a memory function to your plugin is maybe a good idea but can also get confusing as a user if you are not sure which function of String Manipulation you have been using last. It also carries the question about a suitable hotkey.
I am a power user of Lines Sorter and got used to hitting "Alt" + "Shift" + "L" on my keyboard for years. That's why I wanted to keep the plugin as-is and just equip it with a function to sort JSON.
@syllant made clear that he wants to keep his plugin to do one thing well (like Unix programs), so I created my own plugin on top of "Lines Sorter" and called it Lines Sorter Plus as it does the same thing plus sorting JSON. 😁
It was a good opportunity to refresh my rusty Java skills.
Thanks a lot to the both of you for walking through some ideas with me. 🙏
Now that I have what I wanted, I can close this topic. You can find my code here: https://github.com/bennycode/linessorterplus/


Example for listen glossaries doesn't work

This example - https://github.com/DeepLcom/deepl-dotnet?tab=readme-ov-file#listing-entries-in-a-stored-glossary doesn't work:
var entries = translator.GetGlossaryEntriesAsync(myGlossary);

foreach (KeyValuePair<string, string> entry in entries.ToDictionary()) {
  Console.WriteLine($"{entry.Key}: {entry.Value}");
}
// prints:
//   artist: Maler
//   prize: Gewinn

.ToDictionary() is not a valid definition, so the example isn't working as expected

Thanks for this report, there is a small error in the example code (the async method is not being awaited.
The following works for me on 1.11.0.
var entries = await translator.GetGlossaryEntriesAsync(myGlossary);

foreach (KeyValuePair<string, string> entry in entries.ToDictionary()) {
  Console.WriteLine($"{entry.Key}: {entry.Value}");
}
// prints:
//   artist: Maler
//   prize: Gewinn

I will fix the readme.


Analyser memory leak

Run presidio under persistent load for a long time.
notice memory in analyser increases over time, eventually the pod will restart.
ruled out recognizers, context and other factors by marking out all code in analyzer's main methods (Apply and analyze) except for nlp_engine.process_text() and memory still increases.
this is aligned with the following github issues on spacy memory increase over time, due to internal cache usage:
https://github.com/explosion/spaCy/issues/3618
https://github.com/explosion/spaCy/issues/3013
https://github.com/explosion/spaCy/issues/285

If you get really stuck, one solution would be to just reload the nlp object periodically.
How much is the memory increase, over how much text?

Hi @honnibal, thanks for your comment!
We did a soak test on one Dv3 vm on Azure (https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes-general#dv3-series-1)
We ran the soak test for 12 hours, with a request with 100 words, ~40 times a second.
So in total we ingested 1.7 million requests = 172 million words. At that point the ram usage was at 6gb which was the maximum allocated for that container.
Memory increase was from 2gb (initial memory usage) to 6gb over the course of 12 hours.
Keep up the good work with Spacy!
cc @balteravishay

Potentially fixed on spaCy's #4486: https://github.com/explosion/spaCy/pull/4486


SQLite doesn't support ANY and ALL operators on subqueries

=======SELECT * FROM tableSubquery WHERE tableSubquery.b = ANY (SELECT tableSubquery.b FROM tableSubquery WHERE tableSubquery.b = 17)=======
Error in query:  near "SELECT": syntax error

Addressed in #25


EventListener and ListenerAdapter at the same time

Can't use EventListener and ListenerAdapter at the same time. JDA forces itself to just use EventListener. It should at least throw an exception instead of being silently quiet.
public class DiscordBotMain {
	public static void main(String[] args) {
		JDA jda = new JDABuilder().setBotToken(###).buildBlocking();
		jda.addEventListener(new DiscordBot());
	}
}

public class DiscordBot extends ListenerAdapter implements EventListener {
	@Override
    public void onMessageReceived(MessageReceivedEvent event)
    {
		System.out.println("Message");
    }

	@Override
    public void onEvent(Event event)
    {
        System.out.println("Event!");
    }
}

it has nothing to do with not being able to use EventListener and ListenerAdapter at the same time. ListenerAdapter literally implements EventListener itself. You are re-implementing that method again.
Furthermore, the re-implementation isn't the problem. You're overriding the onEvent method from the ListenerAdapter and providing your own code. Of course the onEvent method in ListenerAdapter which serves all of those custom methods isn't going to fire correctly.
This is normal java stuff, not a fault of JDA. If you want to do stuff to ALL events before ListenerAdapter filters for you, then do
@Override
public void onEvent(Event event)
{
    System.out.println("Event!");
    super.onEvent(event);
}

Additionally, remove the unneeded implements EventListener from your DiscordBot class. ListenerAdapter implements it already.
Check the source of ListenerAdapter for more information.


odbclient: Proper error message on unsupported elements

We need proper error messages for the scenario shown here https://github.com/boschresearch/pylife/discussions/58#discussioncomment-8053604 i.e. odbclient hits unsupported elements and can't broadcast the stress tensor.

Hello Johannes,
here are two odb-files. The first one ("test-shell-solid-beam_elems") contain solid, shells, beam, and kinematic coupling elements. The second one ("model_w_conn3d2") is the same, but with an addition of a conn3d2 element. If possible, please test both.
test-shell-solid-beam_elems.zip
model_w_conn3d2.zip


Update sites.js

I've added 'jenett. simply. personal.' to the sites.js file - a total of 6 keys pertaining to my site located at https://simply.personal.jenett.org (icon and #random link are in place).

Nice site Joe, I've spent the last hour on it and I feel I haven't even begun scratching the surface. Welcome to the webring :)

Thanks Devine,.
I'm happy to be in such good company. I've visited your site more than a few times - inspiring! And the webring has led to some great discoveries. I'm tickled to join.
Cheers

On Feb 4, 2020, at 9:21 PM, Devine Lu Linvega<EMAIL_ADDRESS>wrote:

Nice site Joe, I've spent the last hour on it and I feel I haven't even begun scratching the surface. Welcome to the webring :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update and fix parameter estimation benchmarks

@devmotion do you know why Turing is failing at precompilation?

Libtask_jll is not (and probably will never be) compatible with Julia 1.7, see eg https://github.com/TuringLang/Turing.jl/issues/1738#issuecomment-988421993.

@staticfloat I updated the benchmarks to v1.7 but they didn't spawn... did I miss a spot? Or is this something to do with the configuration of the agents?


KeyError: 'ltea_3phsum_kwh'

I recently updated to the 0.11 release from 0.10 and am receiving this error.
This may be related to not currently generating power.
Running HA core-2021.10.3
Logger: homeassistant
Source: custom_components/sunpower/sensor.py:263
Integration: SunPower (documentation, issues)
First occurred: 3:59:04 AM (111 occurrences)
Last logged: 9:39:05 PM
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 325, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 456, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 489, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 462, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 273, in state
value = self.native_value
File "/config/custom_components/sunpower/sensor.py", line 263, in native_value
return self.coordinator.data[INVERTER_DEVICE_TYPE][self.base_unique_id][self._field]
KeyError: 'ltea_3phsum_kwh'

I've found out that different version of the API (depending on the model of your panels/inverters) have different fields...
I don't have it in front of me but do you know what type of device you have? If you look over the REST return your ill see like a TYPE_G or TYPE_E or something for your panel/inverters...

I believe this is more robust these days and certainly with most recent changes (today)


Performance problem on input control

Description
The input control is calling the on_change function each time a character is added or deleted. It leads to a great number of calls and creates lags for this control.
You can normally see the lag in this demo: http://tp-production-planning.herokuapp.com/ (it has to be http, sometimes the server is in sleep and will take time to boot).
Solution?
A solution would be to call the on_change/update the state when the user has finished what he wanted to write. We could say that when the input is not selected anymore, it is time for the control to call the on_change and update the state.xxx of the control. We could say that this behavior is optional and is a parameter of the input control.
Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%
[ ] Propagate any change on the demos and run all of them to ensure there is no breaking change
[ ] Ensure any change is well documented

use a timer to send the data only after 250ms if the user stopped typing

Do you think having a buffer on sliders would also be great? Sometimes, I had some lag on sliders too when I update some other data when changing the value.

I'll look into it

I can implement a delay on slider but it's not very user friendly as the "nice" side of the slider is to see the impact on something in real time.
If you have performance issue with slider (I suppose because the data changed is big), you could activate the property always_update (set to False) ie don't always_update so that the update is send only when you release the slider
the always_update_ property would make the n umber slider work like a LoV slider.

What about a global update_latency setting, that whose controls could override?
In a remote server situation, we would set that to 100-200 ms (250 look large to me...).
Locally, 0 would do just fine.
The idea is not to impact the UI code (the pages) to move from one situation to the other...
Would that be tricky to implement?
What are your thoughts?


Change the Rick ashley URL

DO NOT ASK FOR PHISHLETS.
DO NOT ASK FOR HELP CREATING PHISHLETS.
DO NOT ASK TO FIX PHISHLETS.
DO NOT ADVERTISE OR TRY TO SELL PHISHLETS.
EXPECT A BAN OTHERWISE. THANK YOU!
REPORT ONLY BUGS OR FEATURE SUGGESTIONS.

Hello Gretzky I have being testing evilginx2 and its amazyng, I have a couple of questions, I hope you can help me please:
1.- ¿How can I change the Rick Ashley URL to be something else?
2.- ¿Is it possible for evilginx2 to change any word in the target HTML the same way it changes "original-domain.com" to be "my-domain.com"? For example, is it possible to look for a specific word or command in the target HTML  like : "hello" and change it to "sayonara"?
Thankyou very much abd have a nice day.