Config flow could not be loaded: {"message":"Invalid handler specified"}

Using Raspberry Pi 5, Home Assistant's OS version:
Core 2024.1.0.dev20231218
Supervisor 2023.12.0
Operating System 11.4.dev20231223
Frontend 20231218.0.dev
I installed HACS, restarted the system.
Installed this Ariston Integration, restarted the system.
Then I tried to add a device/integration and after selecting the option Ariston, I'm welcomed with the following error:

Using Config flow could not be loaded: {"message":"Invalid handler specified"}

I've found this in the logs
2023-12-26 08:53:51.351 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.ariston.config_flow
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 834, in get_platform
    cache[full_name] = self._import_platform(platform_name)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 851, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/ariston/__init__.py", line 25, in <module>
    from .const import (
  File "/config/custom_components/ariston/const.py", line 68, in <module>
    class AristonBaseEntityDescription(EntityDescription, ABC):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
2023-12-26 08:53:51.356 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration ariston: Exception importing custom_components.ariston.config_flow

Yea, after the 2024.1 update, the Ariston Addon stopped wirking...

same for me

Same issue here. Most probably this is related to the following:
support constants deprecation/

I restored the 2023.12 core till the problem will be resolved. We need an ariston addon update or a HA core core update ?


homebrew_bootsnap: disable on ARM.

From https://github.com/Homebrew/homebrew-core/pull/70310/checks?check_run_id=1823920962 this looks very broken indeed.

Review period skipped due to critical label.


I have a thought about suricata.so

Elasticsearch version:
Moloch version:
OS name and version:
How was Moloch built/installed: (rpm, deb, easybutton, ...)
Provide logs, stack traces and steps to reproduce:

CONTENT
suricata.so  can parse the eve.json to pcap and then make all the data to es and show?.
also the way that it must conbine the ether and only getting the alerts from eve.log?.

Github is only for bugs and feature requests, please use slack for questions.


Class row in div component

Hi, this is my first day with blitzar. I use this with quasar framework.
I try do:
{
    span: 1,
    label: 'Test',
    component: 'div',
    componentStyle: 'border: solid thin goldenrod; padding: 0.5em',
    class: 'row',
    slot: [
      {
        component: 'div',
        slot: 'AAA',
        class: 'col bg-red'
      },
      {
        component: 'div',
        slot: 'BBB',
        class: 'col bg-blue'
      },
      {
        component: 'div',
        slot: 'CCC',
        class: 'col bg-orange'
      }
    ]
  },

I get this:

AAA

BBB

CCC

And I hope to get the row class in the first div

AAA

Consequently I see the divs stacked instead of seeing them in columns
Jose

Doing this I get what I want.
Using componentClasses, but only in first div, in the internal div I keep using class. If replacement class by componentClasses stops working
{
    span: 1,
    label: 'Test',
    component: 'div',
    componentStyle: 'border: solid thin goldenrod; padding: 0.5em',
    componentClasses: 'row',
    slot: [
      {
        component: 'div',
        slot: 'AAA',
        class: 'col bg-red'
      },
      {
        component: 'div',
        slot: 'BBB',
        class: 'col bg-blue'
      },
      {
        component: 'div',
        slot: 'CCC',
        class: 'col bg-orange'
      }
    ]
  },

@josejachuf yes, you've correctly deduced the correct schema in this case!
you need to use componentClasses, because it's what will be used on your component, in this case the div. Because class is what's applied to the outer class, which is the div with the label etc.
The inner components inside a slot have slightly different behaviour, because they do not render fields with labels, but the direct component you define. That's why on those inner divs you can use class directly.
It's a bit getting used to, I agree. : S
If you have any suggestions for syntax improvement, let me know!

I am resurrecting this discussion because I wonder whether a fully functional field (labels, component etc) could be placed in a slot? That would be great for fine tuning the "layout" of a form.

It depends on what exactly you want to do/achieve.
I feel a little bit that complex fine tuning requirements most of the time lead to very complex schema's, so you're usually better off writing  your own custom form in a Vue file without Blitzar in that case.
But I'm still interested in hearing your exact use case or what you are trying to build.

My use case is about separating the form logic (definition of the fields, visibility condition, validation) from its "layout": advanced users (eg interviewer) with a large screen would prefer to have all fields in a single page for efficiency (and then the layout needs to be as compact as possible with a responsive grid), whereas regular users (eg respondent) would need more guidance, with a multi-page form and one or few fields per page. A "printable" rendering is also another possible layout. Depending on the context, the Blitzar form's schema would be generated to match the desired layout.
Then in place of using the quite limited span property for instance, being able to place fields inside any slot would be a great improvement in that regard. Note that I am not expecting having a "layout" concept in Blitzar, just having the possibility to implement it would be great.

@ymarcon sounds like a cool concept. In this case I'd rather improve the layout features of Blitzar than allowing any component to render in slot.   : )
Working with slot gets complex fast to support in all use cases, and it will potentially open up the door to a bunch of edge cases I gotta go fix then... 😅
I'm interested however to give Blitzar better layout tools.
I'd like to ask you to please read this post:
https://github.com/CyCraft/blitzar/issues/8#issuecomment-815372546
and offer any thoughts and ideas in that thread. : )


kubeconfig cluster.proxy-url is being ignored by kube client

I was checking the remote cluster API with a target private cluster in GKE. I had setup a service proxy to connect from the flux cluster to the remote cluster, but it does not work as the cluster.proxy-url field in kubeconfig is being ignored by Flux.
I confirmed it by checking the https://github.com/fluxcd/pkg/blob/main/runtime/client/kubeconfig.go#L70 code.
Would it be possible to use proxy-url? I understand it might not be a small change since it's on the pkgs.

Also just hit this issue. Having flux ignore the proxy-url means we can't deploy to downstream clusters :(

I was able to patch kubeconfig.go with the following diff, which allows the proxy-url property to be used:
diff --git runtime/client/kubeconfig.go runtime/client/kubeconfig.go
index 1cf0a3b..74e6750 100644
--- runtime/client/kubeconfig.go
+++ runtime/client/kubeconfig.go
@@ -91,6 +91,8 @@ func KubeConfig(in *rest.Config, opts KubeConfigOptions) *rest.Config {
                        KeyData:    in.TLSClientConfig.KeyData,
                }

+              out.Proxy = in.Proxy
+
                out.Username = in.Username
                out.Password = in.Password
                out.BearerToken = in.BearerToken

I wasn't able to perform a build of the pkg project because of a compile error elsewhere in the project. but I could monkey-patch the runtime folder into the kustomize-controller project to build a docker image in order to at least verify that the change worked.
I'll happily create a pull request if requested.

Thanks Stefan, have created the PR here: https://github.com/fluxcd/pkg/pull/747


API.onComplete() now called when youtube video playback ended.

https://github.com/NamPNQ/bower-videogular-youtube/issues/24

This is already fixed.
See https://github.com/NamPNQ/bower-videogular-youtube/blob/master/youtube.js#L120


Add Support For Node 22.1.0

Description
Update supported node version to include node ^22.1.0.
Note:

This PR follows on the changes from #142 which was rejected since node 21.7.1 was not LTS, whereas 22.1.0 should be.

Testing

[X] Upgrade your local version of node to 22.1.0 (nvm install 22.1.0 if using nvm).
[X] Running npm install installs all dependencies correctly (after upgrading to node 22.1.0).
[X] Running npm run lint lints the project correctly.
[X] Running npm run test runs all tests and all tests pass.

Checklist

[X] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[X] All active GitHub checks for tests, formatting, and security are passing
[X] The correct base branch is being used, if not the default branch (I'm assuming the main branch is the correct, most up-to-date branch in this instance)

Can anyone approve this to get the latest node LTS release supported please ?

How can we help to make this PR merged :) ?

I've updated the branch, but it needs approval from a maintainer so the pipelines can run again.

Are any maintainers willing to approve this?
Node 22 is the current LTS now.

We're really bumping into this one. @kishore7snehil Do you think this PR is ok for merge ?


Move router code from main.jsx to rounters/index.jsx

Rapport de Ticket
Description
The code for router is in main.jsx and nothing in routers/
Comportement Attendu
Import router in main.jsx
Comportement Actuel
N/A
Type de Problème

[ ] Bug
[ ] Demande de Fonctionnalité
[X] Amélioration
[ ] Question
[ ] Autre (veuillez spécifier)

I would like to work on this issue please assign it to me.

Hii @Bam92 Could you please assign me this issue?

@siddharthisrani can you take another issue? I've assigned it to @AACHAL2303PATIL.


Integration Test - Release - 2021/12/23 09:53:08

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

#please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign NonAllowedUser

#unassign PRMergerTest1


Multi-camera with RSUSB - Follow-up

Somewhat overdue - This PR should complete the work by @radfordi in #5615.
Should address - #5614, #6084, #5935
This also addresses additional issue -
rs-multicam with multiple depth-cameras when using LIBUVC backend (Jetson family, Mac, Raspberry Pi, RK family, and more)
@MartyG-RealSense - I couldn't find the relevant ticket, but I know this was a problem for multiple users, please feel free to reference this PR within any relevant tickets.

@dorodnic   Thanks very much.  I recall that the multiple-camera cases I handled that were affected by this were primarily Jetson users such as Nano and Xavier who were experiencing issues such as camera detection failing when more than one camera was inserted into a powered USB hub (which some users found was fixable by an awkward workaround of inserting the cameras in a very specific order).
I will locate those cases and link them to this pull.   Thanks again!

Thanks @MartyG-RealSense
I think we need to be careful when discussing multi-camera issues in general - there are many different things that can go wrong.
I have encountered issues with Jetson USB port and specific types of USB hubs, but unfortunately, this PR will not solve them. We will continue working on it
This will, however, fix the more basic problem of multiple cameras using rs2::pipeline on these platforms.

@dorodnic  there was a new Jetson Xavier case just posted on the ROS GitHub involving problems with 2 cameras (only 1 at a time works most of the time) but with direct connection to the board instead of using a hub.  That sounds as though it may fit your description of a pipeline related issue?


Rearranging field in Sign-Up Form

I created the form with three field Full Name, Email & Password. In default signUp form Full Name field is not there, So, I added like this,
AccountsTemplates.addField({
    _id: 'fullname',
    type: 'text',
    displayName: "Full Name",
    required: true
});

And i don't want Confirm Password. So, removed it.
AccountsTemplates.configure({
    confirmPassword: false,
    ....
});

But Now i what to rearrange Field. i.e.
 |=====================|
 |     Full Name       |
 |=====================|
 |       Email         |
 |=====================|
 |      Password       |
 |=====================|

After going through the meteor-useraccounts/core Guide.
Here is my code:
var pwd = AccountsTemplates.removeField('password');
var email = AccountsTemplates.removeField('email');

AccountsTemplates.addField([
    {
        _id: 'fullname',
        type: 'text',
        displayName: "Full Name",
        required: true
    },
    email,
    pwd
]);

It is throwing me this error:
Exception in template helper: TypeError: Cannot read property 'form' of undefined

Here is my code at MeteorPad
Stack Overflow

Try in the following order
AccountsTemplates.addField({
  _id: 'fullname',
  type: 'text',
  displayName: "Full name",
  placeholder: {
    signUp: "Full name"
  },
  required: true,
  minLength: 1,
  trim: true
});

var email = AccountsTemplates.removeField('email');

AccountsTemplates.addField(email);

var password = AccountsTemplates.removeField('password');

AccountsTemplates.addField(password);

This is working for me

Thanks a lot @sasikanth513 . It works.

@iampappu after a quick look, it seems your first code missed putting removed fields back in again.
The following should also work:
var password = AccountsTemplates.removeField('password');
var email = AccountsTemplates.removeField('email');

AccountsTemplates.addField({
  _id: 'fullname',
  type: 'text',
  displayName: "Full name",
  placeholder: {
    signUp: "Full name"
  },
  required: true,
  minLength: 1,
  trim: true
});

AccountsTemplates.addField(email);
AccountsTemplates.addField(password);

Hi @iampappu and @splendido . Accordingly to the guide, you were using the wrong API to add multiple fields, It is not AccountsTemplates.addField(<object>),  you have to use AccountsTemplates.addFields(<array>)(in plural) to add multiple fields at once, so the following code should work:
var password = AccountsTemplates.removeField('password');
var email = AccountsTemplates.removeField('email');

AccountsTemplates.addFields([
  {
    _id: 'fullname',
    type: 'text',
    displayName: "Full name",
    placeholder: {
      signUp: "Full name"
    },
    required: true,
    minLength: 1,
    trim: true
 },
 email,
 password
]);


New frr image

Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
New FRR image for the kube-burner-ocp web-burner workload

cc @krishvoor


feat(bar)!: update label and text_value to accept Into<>

BREAKING CHANGE: label and text_value now accept Into<> types, which
breaks type inference.
- Bar::default().label("foo".into());
+ Bar::default().label("foo");

- Bar::default().text_value("bar".into());
+ Bar::default().text_value("bar");

Sorry for the force push. While trying to satisfy Clippy, I accidentally sent two commits for the same thing.

No probs - I often do this too when fixing up small inconsequential issues (typos, clippy, docs etc. with commits)

Thanks again - rebased and merged


Output appears multiple times

Guessing it's because you write it for every file read?

Resolved in 652af143e4c26e691e5482a16922a58be9f21743


Bug 🐛: Navigation issue

:red_circle: Project Title : Navigation issue
:red_circle: Bug :I noticed that we couldn't navigate back to the main/home page after viewing the project details. A 404 error is occured.
:red_circle: Category :  Front-end
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : Priyanka Pragada
GitHub Profile Link : https://github.com/Priya-49
What is your participant role? GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@Priya-49 Assigned to you.

@Avdhesh-Varshney Upon further review, I've discovered that the issue I raised regarding the 404 error seems to be specific to my browser environment. I apologize for any confusion this may have caused. It appears that the problem is not with the project itself but rather with my browser configuration or extensions.

@Priya-49 ok np. For further communication, you can join my discord server.


fix mem gc when load regression failure due to error msg update

The error msg for memory shortage is changed from "Process has no memory available" to "less than low water mark".
Proposed changes
Issue Number: close #xxx

run buildall


[Proposal] Made External Pipeline primary tool for CSS/JS handling

Middleman is very flexible static site generator. It allow to render md to html, or erb to xml or json. And I think it is what it should focus and be major benefit for this. It should not do job about JS/CSS, only help to some tool, which will do this.
My proposal:

remove primary dependency from coffee-script, uglifier, execjs, sassc gems (leave them as dev deps with renderer tests)
Leave sass and coffee script renderers, but require this gems only if this renderer used (so person will need add sassc gem in Gemfile if needed sass renderer from middleman)
Improve docs about usage js/css builders with "External Pipeline"

Usage with webpack + webpack-assets-manifest
Usage with  vite (we have https://github.com/ElMassimo/vite_ruby )
Usage with parsel.js
Usage with snowpack
... maybe more...

If we want, we can add assets helpers with support manifest json from build systems (example: https://github.com/rwpod/rwpod.github.io/blob/www/lib/rwpod_helpers.rb#L12-L52)

So in config we will have:
set :external_pipeline_manifest, '.build/manifest.json'

# later in templates

<%= assets_manifest_path 'application.js' %>
<%= assets_manifest_path 'app', 'js' %> # if json manifest is nested
<%= javascript_manifest_tag 'app', 'js' %> # if json manifest is nested
<%= stylesheet_manifest_tag 'app', 'css' %> # if json manifest is nested

So need to here what do you think @tdreyno ?

I think that is a very good idea. With sprockets long dead and the fact that we already have tooling for integrating with arbitrary CLI tools, this could drastically simplify the project.

Thanks @tdreyno . Will work on PRs


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.10.96",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=20c51a4c52208f98e27308c456a1951778f41fa5"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "20c51a4c52208f98e27308c456a1951778f41fa5",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "usb: xhci-plat: fix crash when suspend if remote wake enable\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.96 by commit 20c51a4c52208f98e27308c456a1951778f41fa5. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000189


tool: Toggle Expand/Collapse does not show up

It is no longer possible to expand/collapse a node in the tree view.
There is an existing class ToggleExpandedActionImpl that can be used for this.
This was added with #48

The context menu now displays the options "Collapse/Expand All" again.


Kind action

Fixes #N/A
Description
This stages a workflow to be able to run the kwok controller in kind clusters. This just sets up the environment, and disables the presubmit, so that we're not creating kind clusters without actually running any tests on them.
How was this change tested?
testing GHA on my own fork
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
11 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 78.756%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/scheduling/nodeclaim.go
2
91.53%

pkg/controllers/node/termination/terminator/eviction.go
2
88.89%

pkg/controllers/provisioning/scheduling/preferences.go
7
86.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
8341

Relevant Lines:
10591

💛  - Coveralls

83430a8 shouldwork
Let us pray it does :)

/lgtm


Building with worker threads results in error from the worker, 'cannot find electron'

Describe the bug
I've been running these in development for a while and they run correct.  In my packaged app I get MODULE_NOT_FOUND when attempting to run the scripts.
requireStack: Array(2), name: 'Error', message: "Cannot find module 'electron'\nRequire stack:\n- C:\\…s\\app.asar\\out\\main\\updateFilesWorker.b4a10f6f.js'
code "MODULE_NOT_FOUND".....

In my main/index.js this is a snippet of how I kick off the worker -
ipcMain.handle('update-files', async (event) => {
  runWorker(createUpdateFilesWorker)
    .then((result) => {
      console.log('Worker completed successfully:', result);
      console.log('Running subsequent code after worker completion.');
      return mainWindow.webContents.send(
        'file-update-complete',
        getObjectWithLengths(result.result)
      );
    })
    .catch((error) => {
      console.error('Worker encountered an error:', error);
      console.log('Handling subsequent code after worker error.');
    });
});

The runWorker.js I use in various handlers to send (right now 2) different scripts to the worker -
import createUpdateTagsWorker from './updateTagsWorker?nodeWorker';
import createUpdateFilesWorker from './updateFilesWorker?nodeWorker';

const runWorker = (createWorkerFn, msg) => {
  return new Promise((resolve, reject) => {
    const worker = createWorkerFn(msg);

    // Handle messages from the worker
    worker.on('message', (result) => {
      console.log('Result, result);
      if (result.error) {
        reject(new Error(result.error));
      } else {
        resolve(result);
      }
    });

    // Handle errors from the worker
    worker.on('error', (err) => {
      console.error('Worker error:', err);
      reject(err);
    });

    // Handle worker exit
    worker.on('exit', (code) => {
      if (code !== 0) {
        const errorMessage = `Worker stopped with exit code ${code}`;
        console.error(errorMessage);
        reject(new Error(errorMessage));
      }
    });

    // Start the worker
    worker.postMessage(msg);
  });
};

export default runWorker;

to save space I'll just post the relevant part of a script -
parentPort.on('message', async (/* message */) => {
  try {
    const result = await processFiles();
    parentPort.postMessage({ result });
  } catch (error) {
    parentPort.postMessage({ error: error.message });
  }
});

I've gone through the worker example and outside of me not using typescript I'm not finding anything different.
I posted this as a question in the discussions area but it seems there hasn't been any discussion there as of late I needed to raise this issue here.
Electron-Vite Version
1.0.29
Electron Version
20.3.2
Vite Version
3.1.8
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

This doesn't seem to be a worker problem. You should not use the Electron module in worker and your can only use the nodejs module.

Not sure where I'm using the Electron module,  you referring to the 'mainWindow.webContents.send' ?

Different error - 'the path argument must be of type string. Received undefined.
I cloned the worker example and went over it repeatedly.  Not seeing where my error could be , maybe a bug in Vite ?

I think it is still necessary to check whether the electron module is referenced. You can try upgrading electron-vite to enjoy a better way of using work.

https://electron-vite.org/guide/dev#worker-threads
https://github.com/alex8088/electron-vite-worker-example

Thank you! I finally figured the problem just not the solution.  The script I'm passing has 1/2 dozen imports, a few npm packages and some scripts.  I'm guessing I need some additional lines in editor-builder.yml / electron-vite.config.
Anyway, yes, I scaffold the latest into another project.  Once I get passed this issue I'll consider upgrading this project.  Electron always concerns me more when upgrading.
If you don't mind I'll close this out once I fix things.

So in my worker script I have these imports -
import { parentPort, workerData, isMainThread } from 'worker_threads';
import fg from 'fast-glob';
import { parseMeta } from './utility/index.js';
import { v4 as uuidv4 } from 'uuid';
import {
  roots,
  playlistExtensions,
  audioExtensions,
  fileExtensions
} from '../constant/constants.js';

import { getFiles, insertFiles, deleteFiles } from './sql.js';

Including 1 or all throw errors and the worker exits.
I commented them out and just created a simple function for the worker to perform.  It worked.  So my question if anyone knows how to get those imports working ? The imports are in the out/build/chunk files so it must be worker_thread related. I tried adding those packages to asarUnpack but that didn't help.
I put the worker itself in ```
rollupOptions: {
input: {
index: resolve(__dirname, 'src/main/index.js'),
updateFilesWorker: resolve(__dirname, 'src/main/updateFilesWorker.js')
}
}
I don't think the file needs that though as it shows up in the chunks dir anyway.


Improve install/upgrade by trying global composer command first

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets

License
MIT

I only have composer globally installed and hubkit doesn't come with a composer.phar or the installation mention downloading it, so it will possibly always error on first install.
So I've updated the install and upgrade script to check if composer is globally installed, otherwise it does a fallback to composer.phar in the local directory.

I use alias composer=composer.phar 😄
Would this change require a new release?

Ah that's why 😄 For me it doesn't need a new release now, dependencies didn't change and I've locally patched the upgrade file.

Thank you @acrobat


Ansible+Mitogen ignores interpreter_python global variable

Hello,
I'm running the Git version of Mitogen as of commit a60c6c14a2473c895162a1b58a81bad0e63d1718. It seems that after the changes in #658, Ansible+Mitogen respects the ansible_interpreter_python variable, but not the [defaults]/interpreter_python of ansible.cfg, as described in https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html#interpreter-discovery. Although this can be easily worked around, I do find the current behaviour a bit confusing.

I'm running ansible 2.9.9+dfsg-1 from Debian unstable on my host:
$ ansible --version
ansible 2.9.9
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/james/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.8.5 (default, Aug  2 2020, 15:09:07) [GCC 10.2.0]

The target machines run Debian 10 with Python 2.7.16 and 3.7.3 installed.
Expected behaviour (strategy=linear)
$ ansible staging -m setup -a 'filter=ansible_python_version'
redacted.hostname | SUCCESS => {
    "ansible_facts": {
        "ansible_python_version": "3.7.3"
    },
    "changed": false
}
redacted.hostname | SUCCESS => {
    "ansible_facts": {
        "ansible_python_version": "3.7.3"
    },
    "changed": false
}

Behaviour with strategy=mitogen_linear:
$ ansible staging -m setup -a 'filter=ansible_python_version'
[WARNING]: Platform linux on host redacted.hostname is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change this. See
https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information.
redacted.hostname | SUCCESS => {
    "ansible_facts": {
        "ansible_python_version": "2.7.16",
        "discovered_interpreter_python": "/usr/bin/python"
    },
    "changed": false
}
[WARNING]: Platform linux on host redacted.hostname is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change this. See
https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information.
redacted.hostname | SUCCESS => {
    "ansible_facts": {
        "ansible_python_version": "2.7.16",
        "discovered_interpreter_python": "/usr/bin/python"
    },
    "changed": false
}

Editted by @moreati: clarify variable vs config distinction.

😱 oh no, I missed interpreter_python support when adding in #658 . Definitely a bug, not sure when I'll be able to get to this but it'll be fixed up at some point 👍 thanks for filing.

As a note to this .. it also doesn't expand it if a jinja2 template is used .. which we do for venv ( ye $DIETY I wish ansible would support venv more natively!!! )
ansible_python_interpreter: "{{ lookup('env','ANSIBLE_HOME')}}/venv/bin/python"
Setting a relative path does work .. but that's not interchangable with the default strategy .. which wants a ful path.

As a note to this .. it also doesn't expand it if a jinja2 template is used .. which we do for venv ( ye $DIETY I wish ansible would support venv more natively!!! )
ansible_python_interpreter: "{{ lookup('env','ANSIBLE_HOME')}}/venv/bin/python"
Setting a relative path does work .. but that's not interchangable with the default strategy .. which wants a ful path.

Just saw the PR in #658 now supported .. so ignore.

Is there a timeline of when there will be a new release? I've tested against master branch and the discovery works in my tests, but I'm unable to use it till there is a new version released.

A new release will happen after #715 lands. I had planned for it to be released a lot earlier but the tests are proving to be a pain... 😞 things that work locally fail in Azure DevOps for some reason. I reeeeally wanna release before the end of the month, and I will try to make that happen.

It's not ideal but in the meantime you could peg to the current master hash of the repo in your pip install as a temporary workaround to a new release :)

Best solution is to make a group_var/all.yml for each of your inventories

@dsgnr new rc tags have been made:
https://github.com/dw/mitogen/releases/tag/v0.2.10-rc.0 -> Ansible < 2.10
https://github.com/dw/mitogen/releases/tag/v0.3.0-rc.0 -> Ansible 2.10+
both tags have the fix (not interpreter_python, but ansible_interpreter_python). They're mostly ready, aside from a few edge cases that have been found (v0.3.0 specifically, 0.2.10 doesn't have these), and some changelogs

/check


Update addp phone number to be optional

Codecov Report

Merging #121 (9a93d3e) into master (9c90f1f) will decrease coverage by 0.31%.
The diff coverage is 52.27%.

@@             Coverage Diff              @@
##             master     #121      +/-   ##
============================================
- Coverage     54.14%   53.82%   -0.32%
- Complexity      451      453       +2
============================================
  Files            92       92
  Lines          1932     1947      +15
  Branches        227      237      +10
============================================
+ Hits           1046     1048       +2
- Misses          820      825       +5
- Partials         66       74       +8

Impacted Files
Coverage Δ

...u/address/logic/commands/AddInternshipCommand.java
0.00% <0.00%> (ø)

...eedu/address/logic/commands/EditPersonCommand.java
95.89% <ø> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
9.67% <ø> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...seedu/address/logic/commands/AddPersonCommand.java
75.00% <33.33%> (-6.40%)
:arrow_down:

src/main/java/seedu/address/model/AddressBook.java
46.49% <50.00%> (+1.84%)
:arrow_up:

...rc/main/java/seedu/address/model/person/Phone.java
70.00% <50.00%> (-10.00%)
:arrow_down:

.../java/seedu/address/storage/JsonAdaptedPerson.java
81.25% <60.00%> (-6.25%)
:arrow_down:

...in/java/seedu/address/logic/parser/ParserUtil.java
45.71% <66.66%> (-2.12%)
:arrow_down:

...c/main/java/seedu/address/model/person/Person.java
93.18% <75.00%> (-2.17%)
:arrow_down:

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

LGTM 👍


Add syntax highlighting to Tutorial py snippets

Check the preview of the Markdown file on GitHub for full effect.

Thanks!


some commands not working

great work here. I have noticed commands such as 'cd' and 'cat' not working. For example, with 'cd', I get:

exec: "cd": executable file not found in $PATH

and with 'cat', I get:

exit status 1

When I run the proposed commands in a separate terminal, they all work properly.
I'm just starting to use the tool, and most other commands are working well directly from your program. I think your tool has great potential as a self-learning tool for linux beginners or even more experienced users, since it acts as an interface between the users' thoughts and the appropriate terminal command.

i get a different output although there is no description of the command.
see here....
(base) bly@pop-os:~$ lcg cat
Completed in 3.64 seconds
┌────┐
│ ls │
└────┘
Are you sure you want to execute the command? (Y/n): y
anaconda3
BASH
cNotebook
Desktop
Documents
Downloads
fauxpilot
models
Music
mycapture.cap
my_pinephone_scripts
numba_cuda
Pictures
Public
python101notebook
python_networking_scripts
Videos
(base) bly@pop-os:~$ lcg cd
Completed in 0.61 seconds
┌────┐
│ ls │
└────┘
Are you sure you want to execute the command? (Y/n): y
anaconda3
BASH
cNotebook
Desktop
Documents
Downloads
fauxpilot
models
Music
mycapture.cap
my_pinephone_scripts
numba_cuda
Pictures
Public
python101notebook
python_networking_scripts
Videos

$ uname -a

Linux archlinux 6.2.2-arch1-1

can you execute cd or cat without invoking the lcg tool?

It's valid; it will happen on the shell built-in. I will try to figure it out if I have some time

Same issue here. Exit code 2.

Exit code 2 signifies invalid usage of some shell built-in command.
Examples of built-in commands include alias, echo, and printf.

Closed execute feature was replaced with copy to clipboard


Include target name in the cache key

Right now, our cache key includes rustc --version but does not include the target name. This can be a caching problem if someone wants to test multiple targets on the same commit and with the same Rust version, which is entirely reasonable (e.g. #54), if a bit rare.

Hi, @obi1kenobi. Can you please point out exactly where in the codebase cache key is located?

This is it: https://github.com/obi1kenobi/cargo-semver-checks-action/blob/e275dda72e250d4df5b564e969e1348d67fefa52/src/rustdoc-cache.ts#L30
It's constructed from a few different components, but all the building blocks are in the same file so it shouldn't be too hard to see what the key structure currently looks like.

@obi1kenobi  Can you please take a look at my PR and suggest changes in it, if required?

@memark if you might have the time and interest, this would be a good issue to tackle to make the target selection a bit more robust.
Otherwise, there's some risk that runs using different targets might end up inappropriately sharing a cache, which could lead to erroneous results.

Sure, I'd be happy too.
In the declined PR you mentioned that a lot of Rust coding needed to be done in addition to the TypeScript changes. Does that still hold true, and if so what changes would that be?


Update Cargo.toml in README.md

I guess it was forgotten during update.

Ah I always overlook this :D Cheers!


fixed minor grammar error. using -UPN parameter

There are 3 changes proposed in this pull request:

Update of Select and Where-Object keywords
Update of a minor grammar error
Implementation of a -UPN parameter to the admin's UPN does not have to be stored in the file

Thanks for considering it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: TravColbert sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Job Notification From CL Post
Hey I see your job Resume in CL
and I have a task For you To Do
It's a Short and Easy task Like Copy Paste
and if you able to do it i'll pay you.
So if Interested and to know more then
Reply below 'YES'<EMAIL_ADDRESS>

Job Notification From CL Post
Hey I see your job Resume in CL
and I have a task For you To Do
It's a Short and Easy task Like Copy Paste
and if you able to do it i'll pay you.
So if Interested and to know more then
Reply below 'YES' my email<EMAIL_ADDRESS>


Regular doc updates (early Dec)

Misc. changes including the tickets below:

Closes #843
Continues #833
Addresses https://github.com/iterative/dvc.org/pull/821#pullrequestreview-324417528
Closes #825
Closes #848
Starts addressing #855

Thanks Ivan. Actually I still want to add a few things. Will remove WIP and re-request your review then.

Thanks!


Make Readme & Test with Jest

Create README text and assets including screenshots and gifs
Ensure all tests are passing with Jest

Integrated prior to: commit 2594b8b2a62d213ef0e9c944a1ea2273f062db2d .


Gii can not generate model from mysql tables

When I try to use Model Generator
PHP Warning – yii\base\ErrorException

in .../vendor/yiisoft/yii2-gii/src/generators/model/Generator.php at line 523
array_flip(): Can only flip STRING and INTEGER values!

mysql 8
php 7.3
Yii 2.0.17
centos 7

Can you show your table schema including relations as the error is in the section that builds relations.


Issue 132: NPEs popup in Model Differences view

Added a label provider which resolves EObject proxies and delegates to
the UMLFilteredLabelProvider who knows how to deal with UML models
including stereotypes.
Signed-off-by: Ernesto Posse<EMAIL_ADDRESS>

Reviewed by @elder4p. Fixes the issue.

closes 132

Fixes #132


callib call errors due to  missing library argument

I had an error using the monitor interface. I think at these places (might be more, I didn't regexp-search) the first argument of the library obj.libname has to be added. It worked in my case.

By the way:
Great Work! Thank you and  everyone involved for creating and maintaining this great interface !

Thanks for reporting! Preparing a new release with a fix now.

Done in https://github.com/dss-extensions/dss_matlab/releases/tag/0.14.3-1


Deposit Inclusion Reward?

A honest proposer should pick deposit from contract logs and add it to the beacon block body to propose when it's his/her slot.
A rational proposer may not do that without proper incentives, the proposer could simply stop on boarding new validators, locking out new comers through self interest or just laziness.
I wonder if proposer should be rewarded for deposit inclusion and maybe penalized(?) for not including existed deposits?

One possibility here is to not only enforce ordering of deposits (using an additional counter in the state), but to use this in relationship to the max known from the recent eth1 info to make adding deposits to blocks a validity condition if state.deposit_counter < state.latest_eth1_data.max_known_deposit_count

make adding deposits to blocks a validity condition

:+1: This mitigates two problems:

beacon blocks not processing Eth1 deposits
validator's dilemma where Eth2 validators don't bother staying in sync with Eth1

Closing in favour of #675 (we agreed on mandatory deposits).


Transfer Save Bug

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'Nuzlocke.app/saves'
Click on 'Transfer save'
The code won't be a code, but the following message:

414 Request-URI Too Large

414 Request-URI Too Large
cloudflare

I've used the site for 2 nuzlockes (Pokémon Y and Pokémon Alpha Sapphire), and it has happened to both of them.
Expected behavior
I was supposed to be given a code to transfer my nuzlocke data.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: Opera
Version: The newest as of writing this

Additional context
I believe this happens when there is too much data stored in the nuzlocke. When I had only completed 2 gyms I got a completely fine code, but later on I got this error message instead.

Hey @Sabber234 - thanks for raising, annoyingly this is a known issue which I think started when introducing the Death Epitaph feature... Although could have happened before
Since The epitaphs are long plain text strings which are added as query parameters, a lot of the hosting CDNs limit the request size before it even hits the servers 😕  I've considered filtering out this data, but that also feels not great since transferring would almost always cause data loss.
I've tried to configure the CDNs to allow larger headers/request URIs but they don't seem to adhere to the changes.

If you could go into the dev console and run the window.nz.size() command, and paste the results here that would be useful.
I'm also working on a feature to allow downloading & importing of save data to and from a file which should be ready later today. (see #112 & #121)

@Sabber234 this should now be addressed.
I've done a fairly large refactor of the share functionality, and these limits shouldn't be encountered anymore!
It should also allow you to transfer saves with epitaphs in as well (see #123)


Unescaped special characters in query parameters result in empty path used for route matching

If query parameter in the URL contains special characters, the START_LINE_RE regex doesn't match, which results in extract_start_line returning an empty (undef) start line, discarding the entire URL and thus not matching any routes and returning a 404. This happens mostly with curl, because curl doesn't url-encode URL parameters automatically:
curl -s 'http://localhost:3000/route/wont/match?q=straße'

Fix: Make $START_LINE_RE a little more lax. Even if a parameter does contain weird stuff, the URL should still be processed for route matching etc.

Could you elaborate on "a little more lax"? And what do the respective RFCs say on the topic? Are there security implications?

It might also be worth checking what common web servers like Apache and Nginx accept.

nginx: curl -s 'http://localhost/route/wont/match?q=straße' -> "GET
/route/wont/match?q=stra\xC3\x9Fe HTTP/1.1"
apache: curl -s 'http://localhost/route/wont/match?q=straße' -> "GET
/route/wont/match?q=stra\xc3\x9fe HTTP/1.1"
On Mon, Mar 2, 2015 at 4:15 PM, Sebastian Riedel<EMAIL_ADDRESS>wrote:

It might also be worth checking what common web servers like Apache and
Nginx accept.
—
Reply to this email directly or view it on GitHub
https://github.com/kraih/mojo/issues/751#issuecomment-76825306.

Thanks @Grinnz, i think we can try being a little more relaxed.

I'm a little late, but I found this in RFC 3986:

In local or regional contexts and with improving technology, users
might benefit from being able to use a wider range of characters;
such use is not defined by this specification.  Percent-encoded
octets (Section 2.1) may be used within a URI to represent characters
outside the range of the US-ASCII coded character set if this
representation is allowed by the scheme or by the protocol element in
which the URI is referenced.  Such a definition should specify the
character encoding used to map those characters to octets prior to
being percent-encoded for the URI.

I'm not sure how to interpret this. I think it either says "non-ascii characters may be used (only) WHEN they're percent-encoded" or "you may use percent-encoded octets to represent non-ascii characters (but you don't have to)".

I think it's an interesting discussion. This is the relevant part of the url spec (http://www.w3.org/Addressing/URL/url-spec.html):

This specification makes no assumptions or requirements about the character sets, if any, referred to  the (decoded) octets a URL. Character codes other than those allowed by the syntax shall not be used unencoded in a URL.

IMHO in HTTP spec (http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3) there is no way to specify the character set used in the url. Theres is only a header Accept-Charset to specify accepted character sets in the responso. Did i read that correctly?


pauli.evolve() needs a major speedup

What should we add?
@aeddins-ibm found that pauli.evolve() can be quite slow, and we can get substantial performance improvement from using private methods for special cases.
Since pauli.evolve() is the main entry-point / user-interface, it should be fast. There are probably some simple things that can be done to dramatically speed it up. But it needs some profiling to see what's causing the slowdown.
Here's a code that shows pauli.evolve() is 10,000x slower than calling _evolve_cx() on individual instructions. Some of this is expected since CX is a special case of clifford. But a) we should have faster ways of dealing with special cases of self-adjoint cliffords and b) is there some other overhead from validation/type-checking?
from qiskit import QuantumCircuit
from qiskit.quantum_info.operators.symplectic.base_pauli import _evolve_cx
from qiskit.quantum_info import Clifford, Pauli, PauliList, random_pauli_list, SparsePauliOp
import time

n = 65
paulis_per_instance = 100
instances = 100

qc = QuantumCircuit(n)
qc.cx(range(n-1),range(1,n))
cliff = Clifford(qc)

result1 = random_pauli_list(n, paulis_per_instance*instances)
result2 = result1.copy()

start = time.time()
result1 = result1.evolve(cliff,frame='s')
print('time using evolve:',time.time()-start)

start = time.time()
for gate in qc.data:
    _evolve_cx(result2, gate[1][0]._index, gate[1][1]._index)
print('time using _evolve_cx:',time.time()-start)

print('same answer?',result1 == result2)

time using evolve: 33.13418793678284
time using _evolve_cx: 0.0023658275604248047
same answer? True

@chriseclectic observed that we should do pauli.evolve(qc) and not pauli.evolve(cliff), which will be just as fast as calling the private method.
I'm still wondering if evolution by clifford can be sped up when the clifford is made up of lots of CX or CZ which are easy to invert.

Here is an updated code with some additions:
from qiskit import QuantumCircuit
from qiskit.quantum_info.operators.symplectic.base_pauli import _evolve_cx
from qiskit.quantum_info import Clifford, Pauli, PauliList, random_pauli_list, SparsePauliOp
import time

n = 65
paulis_per_instance = 100
instances = 100

qc = QuantumCircuit(n)
qc.cx(range(n-1),range(1,n))
cliff = Clifford(qc)

result1 = random_pauli_list(n, paulis_per_instance*instances)
result2 = result1.copy()
result3 = result1.copy()
result4 = result1.copy()

start = time.time()
result1 = result1.evolve(cliff,frame='s')
time1 = time.time()-start
print('time using evolve s:',time.time()-start)

start = time.time()
result2 = result2.evolve(cliff,frame='h')
time2 = time.time()-start
print('time using evolve h:',time.time()-start)

start = time.time()
result3 = result3.evolve(qc)
time3 = time.time()-start
print('time using evolve qc:',time.time()-start)

start = time.time()
for gate in qc.data:
    _evolve_cx(result4, gate[1][0]._index, gate[1][1]._index)
time4 = time.time()-start
print('time using _evolve_cx:',time.time()-start)

print('same answer?',result1 == result4, result2 == result3)

outputs:
time using evolve s: 70.19226288795471
time using evolve h: 65.28276705741882
time using evolve qc: 0.006928682327270508
time using _evolve_cx: 0.003778696060180664
same answer? True True

In this case, the adjoint calculation is not much of a bottleneck since there is only one clifford (and 100 paulis), so the calculation is only done once, hence there is not much difference between the options h and s.
The main problem is that _evolve_clifford has two nested for loops (and I'm not sure how these can be avoided).
https://github.com/Qiskit/qiskit-terra/blob/a0b9a846f93a1e580c876b8fb37ae5d10436f594/qiskit/quantum_info/operators/symplectic/base_pauli.py#L281
As @chriseclectic suggested, pauli.evolve(qc) is much faster, almost as using _evolve_cx since it updates the clifford tableaux directly after each gate using _append_circuit
https://github.com/Qiskit/qiskit-terra/blob/a0b9a846f93a1e580c876b8fb37ae5d10436f594/qiskit/quantum_info/operators/symplectic/clifford_circuits.py#L22
@aeddins-ibm - do you think that using pauli.evolve(qc) gives the desired speedup for your use-case?

Nested for loops are known to be slow in python. To make matters worse, this implementation starts with pauli_list = [] and keeps growing it, which requires repeated memory allocations.
It will be faster to allocate the full array size first. Also it will be faster to use vectorized numpy operations rather than for loops.
Also the initializaiton of identity paulis as Pauli('I' * n) will be slow since it has to string parse to build the initial array.. the identity Pauli can be initialized directly.

I think the PR you may be thinking of was to do with Clifford.compose?  That's #7483.  We didn't merge that at the time because of #7269 heavily modifying the Clifford class, but it seems like we ended up not doing anything with StabilizerTable any time soon.  We could merge #7483 for Terra 0.21, potentially.  That said, #7483 doesn't touch Pauli.evolve, so that PR won't change this one, but I imagine much of the vectorisation strategy could be ported.
Just for the future:

To make matters worse, this implementation starts with pauli_list = [] and keeps growing it, which requires repeated memory allocations.

This is generally nowhere near as bad as you might expect.  There are more memory allocations involved than doing pauli_list = [None]*length and mutating, but it's not quadratic complexity because Python (and any modern growable array implementation) amortises it to linear time by overallocating each growth by a constant ratio.  Here's three ways of constructing the simplest possible list, with zero cost to build any of its elements:
In [2]: %%timeit
   ...: l = []
   ...: for _ in [None]*1_000_000:
   ...:     l.append(None)
48.9 ms ± 1.13 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

In [3]: %%timeit
   ...: l = [None]*1_000_000
   ...: for i in range(1_000_000):
   ...:     l[i] = None
38.4 ms ± 545 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

In [4]: %%timeit
   ...: l = [None for _ in [None]*1_000_000]
26.6 ms ± 1.07 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

[None]*1_000_000 is essentially fastest iterator for construction and iteration - for comparison, that takes 3.22ms on my machine.  Using a list comprehension is the fastest way, and mutating indices is marginally faster, but they're all linear.  For 10,000,000 elements instead, the timings are 445ms, 386ms and 222ms respectively.  If you're spending more than 22ns to build each element (which is around the time taken to access a single class attribute), the list construction time is unlikely to matter too much.

What do we think about this? Tried to draw inspiration from the multiplication table in #7483. I'm not sure how bad the memory cost of the einsum call is though.
    # axes: [pauli_list, input q (or p), output Q]
    idx = np.concatenate((self.x, self.z), axis=1)
    x_out = idx.dot(adj.table.X)%2
    z_out = idx.dot(adj.table.Z)%2
    phase_out = idx.dot(adj.table.phase)

    uptri = np.zeros((2*self.num_qubits, 2*self.num_qubits), dtype=bool)
    uptri[np.triu_indices_from(uptri)] = True
    commutations = np.einsum('qQ, pQ, qp -> qp', adj.table.Z, adj.table.X, uptri)
    phase_out += np.einsum('lq,lp,qp -> l', idx, idx, commutations)

    return PauliList.from_symplectic(z=z_out, x=x_out, phase=(phase_out%2)*2 )

Sorry about the error above, I think this is correct. The bug was that I was confused how boolean types were handled inside matrix multiplication. Now it converts the arrays to integers first as a dumb fix, which has some cost (perhaps it can be avoided somehow). There is also some memory cost of the einsum call.
Assuming it's correct, does this seem like an appropriate replacement for the for loops?
    idx = np.concatenate((self.x, self.z), axis=1) # axes: [pauli_list, input q (or p)]
    x_out = idx.dot(adj.table.X.astype(int))%2
    z_out = idx.dot(adj.table.Z.astype(int))%2
    phase_out = idx.dot(adj.table.phase.astype(int))

    uptri = np.zeros((2*self.num_qubits, 2*self.num_qubits), dtype=bool)
    uptri[np.triu_indices_from(uptri)] = True
    commutations = np.einsum('qQ, pQ, qp -> qp', adj.table.Z.astype(int), adj.table.X.astype(int), uptri.astype(int))
    phase_out += np.einsum('lq,lp,qp -> l', idx, idx, commutations)

    return PauliList.from_symplectic(z=z_out, x=x_out, phase=(phase_out%2)*2 )

@jakelishman thanks - you are right that doesn't look too bad.
@aeddins-ibm did you test the above for your example? how is performance?

Have to apologize again as there is still an error with the phase (this is a learning exercise for me). I think it's because I did not yet account for the extra phase from commuting the X gates in the input Pauli object (self) past the Z gates from the stabilizer table (also need to add self.phase at the end but that's easier).
Regarding timing, as written above it was ballpark ~100 times faster than the old evolve, but still ~100 times slower than calling _evolve_cx in a loop. Being somewhere in the middle is perhaps not surprising given that (as others have pointed out) it will be more expensive to process the large N-qubit stabilizer matrix than to process the smaller matrices of the constituent 2-qubit-gates.

OK, understood the difference between phase and _phase at the last second, so here's updated code after all. It could probably be simplified (maybe avoid the astype(int) calls) and definitely needs updating to support qargs but hopefully that's not too bad.
Here's the updated code:
def _evolve_clifford_new(pauli, other, qargs=None, frame="h"):
    self = pauli
    """Heisenberg picture evolution of a Pauli by a Clifford."""

    # Get action of Pauli's from Clifford
    if frame == "s":
        adj = other
    else:
        adj = other.adjoint()

    idx = np.concatenate((self.x, self.z), axis=1) # axes: [pauli_list, input q (or p)]
    x_out = idx.dot(adj.table.X.astype(int))%2
    z_out = idx.dot(adj.table.Z.astype(int))%2
    _phase_out = 2*idx.dot(adj.table.phase.astype(int)) # this sums phase/2 over all Pauli rows, but we want to sum _phase/2.
    _phase_out += idx.dot(np.sum(adj.table.X.astype(int) * adj.table.Z.astype(int),axis=1))

    # extra phase from commuting all X rightward past all Z:
    uptri = np.zeros((2*self.num_qubits, 2*self.num_qubits), dtype=int)
    uptri[np.triu_indices_from(uptri,k=1)] = 1
    commutations = np.einsum('qQ, pQ, qp -> qp', adj.table.Z.astype(int), adj.table.X.astype(int), uptri.astype(int))
    _phase_out += 2*np.einsum('lq,lp,qp -> l', idx.astype(int), idx.astype(int), commutations.astype(int))
    out = PauliList.from_symplectic(z_out, x_out)
    out._phase = (self._phase + _phase_out)%4
    return out

Here's the test showing it gives correct results for random inputs, with speed improvement of ~100x compared to for-loop-based evolve:
from qiskit.quantum_info import random_pauli_list, random_clifford
import time

n = 7
paulis_per_instance = 13
instances = 10

agreed = []
for _ in range(10):
    cliff = random_clifford(n)
    result1 = random_pauli_list(n, paulis_per_instance*instances)
    result2 = result1.copy()

    start = time.time()
    result1 = _evolve_clifford_new(result1, cliff,frame='s')
    print('time using new evolve:',time.time()-start)

    start = time.time()
    result2 = result2.evolve(cliff,frame='s')
    print('time using evolve:',time.time()-start)

    print('agreed?',result1 == result2)

Output:
time using new evolve: 0.001493215560913086
time using evolve: 0.1083841323852539
agreed? True
time using new evolve: 0.0009107589721679688
time using evolve: 0.10019421577453613
agreed? True
time using new evolve: 0.0008382797241210938
time using evolve: 0.11111712455749512
agreed? True
time using new evolve: 0.0006940364837646484
time using evolve: 0.09914803504943848
agreed? True
time using new evolve: 0.0006570816040039062
time using evolve: 0.10026311874389648
agreed? True
time using new evolve: 0.000453948974609375
time using evolve: 0.10394597053527832
agreed? True
time using new evolve: 0.0007090568542480469
time using evolve: 0.10787606239318848
agreed? True
time using new evolve: 0.0007600784301757812
time using evolve: 0.10610795021057129
agreed? True
time using new evolve: 0.0008609294891357422
time using evolve: 0.10302495956420898
agreed? True
time using new evolve: 0.001020193099975586
time using evolve: 0.10412406921386719
agreed? True

This version also handles qargs. I will try to make a PR with this in place of the for-loop-based _evolve_clifford method; pasting it here first in case I can't figure out how to do that.
def _evolve_clifford_new(pauli, other, qargs=None, frame="h"):
    self = pauli
    """Heisenberg picture evolution of a Pauli by a Clifford."""

    # Get action of Pauli's from Clifford
    if frame == "s":
        adj = other
    else:
        adj = other.adjoint()

    if qargs is None:
        qargs_ = slice(None)
        num_act = self.num_qubits
    else:
        qargs_ = list(qargs)
        num_act = len(qargs_)

    ret = self.copy()
    ret._x[:,qargs_] = False
    ret._z[:,qargs_] = False

    idx = np.concatenate((self.x[:,qargs_], self.z[:,qargs_]), axis=1) # axes: [pauli_list, input q (or p)]
    ret._x[:,qargs_] = idx.dot(adj.table.X.astype(int))%2
    ret._z[:,qargs_] = idx.dot(adj.table.Z.astype(int))%2
    ret._phase += 2*idx.dot(adj.table.phase.astype(int)) # this sums phase/2 over all Pauli rows, but we want to sum _phase/2

    # extra phase from commuting all X rightward past all Z:
    uptri = np.zeros((2*num_act, 2*num_act), dtype=int)
    uptri[np.triu_indices_from(uptri,k=1)] = 2
    np.fill_diagonal(uptri, 1) # combines with earlier sum of phase/2 to total sum of _phase/2
    commutations = np.einsum('qQ, pQ, qp -> qp', adj.table.Z, adj.table.X, uptri)
    ret._phase += np.einsum('lq,lp,qp -> l', idx, idx, commutations)
    ret._phase = (ret._phase)%4
    return ret

nice work @aeddins-ibm !

Modified the code to be simpler. Basically the new code eliminated for loops, but seemed to be scaling worse b/c of building an N x N matrix, so I reverted to the old nested-for code (which did not need that matrix), but replaced one of the two for loops with a PauliList operation (below for reference). This seems to roughly match or else outperform the nested-for code for all cases, including the important case of many qubits. And is maybe more readable.
Just need to figure out tox / lint stuff I think then will try the PR again.
 def _evolve_clifford(self, other, qargs=None, frame="h"):

        """Heisenberg picture evolution of a Pauli by a Clifford."""

        if frame == "s":
            adj = other
        else:
            adj = other.adjoint()

        if qargs is None:
            qargs_ = slice(None)
        else:
            qargs_ = list(qargs)

        is_pauli_list = len(self.x.shape) > 1

        ret = self.copy()
        ret._x[:,qargs_] = False
        ret._z[:,qargs_] = False

        # pylint: disable=cyclic-import
        from qiskit.quantum_info.operators.symplectic.pauli_list import PauliList

        idx = np.concatenate((self._x[:,qargs_], self._z[:,qargs_]), axis=1)
        for idx_, row in zip(idx.T, PauliList.from_symplectic(z=adj.table.Z, x=adj.table.X, phase=2*adj.table.phase)):
            if idx_.any():
                if is_pauli_list:
                    ret[idx_] = ret[idx_].compose(row, qargs=qargs)
                else:
                    ret = ret.compose(row, qargs=qargs)

        return ret


[Info] Air purifier 2S aka zhimi.airpurifier.mc1

Unfortunately the miio library currently does not support the 2S model with the device string zhimi.airpurifier.mc1 and the newer firmwares do not allow to get the hex token with the miio discover command.
To make the adapter work with this device, follow these steps:

Install the adapter
Login via SSH to your ioBroker server
cd /opt/iobroker/node_modules/iobroker.mihome-airpurifier/node_modules/miio/lib
nano models.js
Insert 'zhimi.airpurifier.mc1': AirPurifier, (mind the coma!) just below the // Air Purifier 2S section
Upload the modified adapter with the command iobroker upload mihome-airpurifier
Follow this instructions to get the hex token (Android only). With IOS you can achieve the same with an unencrypted iTunes backup

Additional information:
This Russian site has a modded Android Mi Home apk. This shows the token under Network Information of the respective devices.
Warning:
A quick Virus Total scan did not show any malicious results. Nevertheless be careful with unknown/modded apps.

There's already an open PR for the miio library.
https://github.com/aholstenson/miio/pull/185
Should be fixed soon in this adapter

I wish I would share your optimistic view. For me this library unfortunately seems pretty unmaintained. The PR is open since October and the last committ is May.

https://github.com/jghaanstra/miio/commits/master would be an option as it seems active.

@Sineos Can you please try this branch in your ioBroker installation:
https://github.com/JoJ123/ioBroker.mihome-airpurifier/tree/fix/miioVersion
I've included the miio from jghaanstra in the package.json

Basically it works, except that a recent commit added a small bug leading to a crash. See https://github.com/jghaanstra/miio/pull/2
Controls also work for me, except the level control. New value is not ack'd and the device does not change
mihome-airpurifier.0 | 2019-04-08 19:01:48.451 | debug | mode: favorite
mihome-airpurifier.0 | 2019-04-08 19:01:48.222 | debug | stateChange mihome-airpurifier.0.control.manuallevel  {"val":100,"ack":false,"ts":1554750108220,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1554750108220}

Following the discussion in the a.m. PR, the @jghaanstra fork is also a bad choice.
My vote would be forking this fork, correcting the modified humidifier2.js (irrelevant for the purifier series anyway) and using this one.
Should anyone pick-up the development or bring good addition, they could be cherry picked or the dependency changed.
The above mentioned issue about setting the level was false alarm: Works in current master as well as in /fix/miioVersion

Can you create the fork? Then I will integrate your fork an we go with this
to master & npm :)
Sineos<EMAIL_ADDRESS>schrieb am Di., 9. Apr. 2019, 20:52:

Following the discussion in the a.m. PR, the @jghaanstra
https://github.com/jghaanstra fork is also a bad choice.
My vote would be forking this fork, correcting the modified humidifier2.js
(irrelevant for the purifier series anyway) and using this one.
Should anyone pick-up the development or bring good addition, they could
be cherry picked or the dependency changed.
The above mentioned issue about setting the level was false alarm: Works
in current master as well as in /fix/miioVersion
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JoJ123/ioBroker.mihome-airpurifier/issues/11#issuecomment-481389910,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlIop3U_XFzjTYCHQOmYKqGiKk1olU6Nks5vfOF8gaJpZM4Y87XT
.

Be my guest :-)
https://github.com/Sineos/miio

@Sineos  I've update the branch fix/miioVersion
Can you please give it a try again, then I will merge it to master.

Works nicely on my side 👍

merged and available on npm in version 0.0.6 :) Thx for the help.


suggestion for easily start with different config

adding  different config to npm run start commands

When running  npm start -- -p 5000 -c config/config-file.json
to get file config
We should dynamically update .acl file too to http://localhost:5000
@prefix   acl:  <http://www.w3.org/ns/auth/acl#>.
@prefix  foaf:  <http://xmlns.com/foaf/0.1/>.

<#authorization>
    a               acl:Authorization;
    acl:agentClass  foaf:Agent;
    acl:mode        acl:Read;
    acl:mode        acl:Write;
    acl:mode        acl:Append;
    acl:mode        acl:Delete;
    acl:mode        acl:Control;
    acl:accessTo    <http://localhost:3000/>;
    acl:default     <http://localhost:3000/>.

otherwise, there is no permission

When running  npm start -- -p 5000 -c config/config-file.json
to get file config
We should dynamically update .acl file too to http://localhost:5000
@prefix   acl:  <http://www.w3.org/ns/auth/acl#>.
@prefix  foaf:  <http://xmlns.com/foaf/0.1/>.

<#authorization>
    a               acl:Authorization;
    acl:agentClass  foaf:Agent;
    acl:mode        acl:Read;
    acl:mode        acl:Write;
    acl:mode        acl:Append;
    acl:mode        acl:Delete;
    acl:mode        acl:Control;
    acl:accessTo    <http://localhost:3000/>;
    acl:default     <http://localhost:3000/>.

otherwise, there is no permission

We should dynamically update .acl file too to http://localhost:5000

Updating ACL files automatically is dangerous.
This ACL file has been automatically created by AclInitializer, with the right port at the moment of execution.
What we could do is make the URL relative.

We should dynamically update .acl file too to http://localhost:5000

Updating ACL files automatically is dangerous.
This ACL file has been automatically created by AclInitializer, with the right port at the moment of execution.
What we could do is make the URL relative.

it's up to you ;-) i'm trying to explore some examples https://github.com/scenaristeur/solid-client/blob/main/community-server/fetch.html
do you have example for creating POD ? rdf update... ?

it's up to you ;-) i'm trying to explore some examples https://github.com/scenaristeur/solid-client/blob/main/community-server/fetch.html
do you have example for creating POD ? rdf update... ?

RDF examples at https://github.com/solid/community-server-demos

RDF examples at https://github.com/solid/community-server-demos

yeah i've seen them, but any sparql, or POD example ?
& Happy New Solid Year !

yeah i've seen them, but any sparql, or POD example ?
& Happy New Solid Year !

SPARQL examples in there; not yet pod creation. Happy new year 🙂

SPARQL examples in there; not yet pod creation. Happy new year 🙂

thxs i saw example 5, ok, i'll try it

thxs i saw example 5, ok, i'll try it

oh i see sparql is based on virtuoso... is it compatible with Fuseki too ?

oh i see sparql is based on virtuoso... is it compatible with Fuseki too ?

It's compatible with the SPARQL specification. Any compatible endpoint will do.

It's compatible with the SPARQL specification. Any compatible endpoint will do.


Unclear Solution Description

[Enter feedback here]
Sorry, I have no clue how to "Add a VHD on the file share and mount VHD over SMB from the client to perform files operations against the data." Pointers or clarification would be appreciated here. Thanks.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c2ab0c47-e61d-0419-1e75-29172fcbe097
Version Independent ID: 796337da-9f25-5d68-6c40-2f73263a5bfa
Content: Azure Files performance troubleshooting guide
Content Source: articles/storage/files/storage-troubleshooting-files-performance.md
Service: storage
Sub-service: files
GitHub Login: @gunjanj
Microsoft Alias: gunjanj

@PatrickMessierGoC Thanks for your comment. We will review the issue and get back to you shortly.

@PatrickMessierGoC  Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.  I'd recommend posting your question in https://azure.microsoft.com/en-us/support/community/ since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Afya Yangu  - App Name & App Icon

[ ] Create app variant for Afya Yangu with the name afya yangu
[ ] Load app login icons attached here - for login page and startup icon. Design screens are here

@ageryck the Figma link attached does not seem to work. However, here are the login screen designs currently supported. https://www.figma.com/file/gDW2MxoHNI77hv1O49xgAk/FHIR-Apps-~-Design-System?node-id=4310%3A48293
My assumption is the first image will be used in place of the logo and the second one in place of the app icon.

@ageryck the Figma link attached does not seem to work. However, here are the login screen designs currently supported. https://www.figma.com/file/gDW2MxoHNI77hv1O49xgAk/FHIR-Apps-~-Design-System?node-id=4310%3A48293
My assumption is the first image will be used in place of the logo and the second one in place of the app icon.

@dubdabasoduba  you are right [on your assumptions], the request is not super urgent only wanted to have them taken care of ahead of product release

this feels like a good first issue, added label


Add check for coinbase maturity for transparent outputs

Implementation of https://github.com/KomodoPlatform/zebra/issues/11 .

Tested on a testnet, works all right: throws ImmatureTransparentCoinbaseSpend error on an incoming block with a spent immature coinbase.

There is only a note: the original komodo has removeForReorg() mempool function which clears transactions spending coinbases which may become immature due to the reorg. Apparently zebra does not have such code. I think we can add an additional issue for this.


This does not work<EMAIL_ADDRESS>

It does not work for me. Not with the pipable syntax and not without. I used rxjs 5.5.10.
I used the @TakeUntilDestroy() and had an empty OnDestroy method.
Actual subscription:
constructor(private store: Store<fromAnnualWorks.State>) {
this.store.pipe(
takeUntil(this.destroyed$),
select(fromDocs.getRequestBelcotaxResponse))
.subscribe((res: RequestBelcotaxResponse) => {
this.processBelcoTaxResponse(res);
});
}

can you reproduce with stackblitz? It works in my application.

I'll see if I can find the time. Leaving this comment here though since i'm curious if anyone else is having the problem.

Do you have a stackblitz where it works?

Closing the issue. https://stackblitz.com/edit/ngx-take-until-destroy


Fix multiple issues related to Next.js module resolution, CartItemPro…

Fixes: #199
Description of the Issues Addressed:

Module Resolution Issue with next/navigation

Problem: TypeScript cannot find the module 'next/navigation' or its corresponding type declarations.
Solution: Verified module existence, reinstalled dependencies, and ensured correct import format. Updated tsconfig.json.

Type Error in CartItemProps Interface

Problem: TypeScript throws an error indicating that the quantity property is missing from the CartItemProps type.
Solution: Updated the CartItemProps interface to include the quantity property.

Type Error in Summary Component

Problem: TypeScript shows an error for the quantity prop binding element.
Solution: Correctly typed the quantity prop in the Summary component.

TypeScript Error in handleAddQuantity Function

Problem: Parameter 'data' implicitly has an 'any' type.
Solution: Explicitly typed the data parameter to ensure proper type inference.

Steps Taken to Resolve:

Verified module existence in node_modules.
Reinstalled dependencies.
Checked Next.js version compatibility.
Ensured correct import format.
Updated TypeScript configuration in tsconfig.json.

Versions:

Next.js: [Insert version number]
TypeScript: [Insert version number]

Environment:

Operating System: [Your OS]
Node.js version: [Insert version number]
npm/yarn version: [Insert version number]

Additional Information:

Updated the CartItemProps interface in ./app/(routes)/cart/components/cart-item.tsx to include the quantity property.
Correctly typed the quantity prop in the Summary component.
Explicitly typed the data parameter in the handleAddQuantity function.

Proposed Changes:

Updated CartItemProps interface.
Correctly typed quantity prop in Summary component.
Explicitly typed data parameter in handleAddQuantity function.
Verified module resolution for next/navigation.

Please review the changes and merge the pull request.

@iamabhishek2828  Can you tell me how to get URL of authentication.


[WIP] Registry SDK changes for get/list/create operations

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

Lingering Issues:

[ ] Description isn't being added to created registries
[ ] Need unit tests for newly-unhardcoded to_rest_object functions for system acr/storage objects
[ ] (Probably out of scope) Need count value which causes inputted system storage to be duplicated
[ ] Need to review parsing of created registry (doesn't seem to be displayed the same way as list/show)

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


[Guidance] Module import that calls createApp never resolving (says "pending")

Describe the bug
I'm working with modules and working with SSR with vite. In my client entry, when I make a call to createApp or createSSRApp or even createRouter then the script/module will "hang" or stay pending on load.
Here is what the network says in dev tools:

The HTML that is loading the file looks like this:

<!DOCTYPE html>

<meta charset="UTF-8">

SSR content

with the entry file for the module just making a call like this:
// in the client
const app = createApp()

This is a strange bug and since it's SSR related its hard to give a reproduction.
Finally, since this is module/vite related I was thinking this might be a known workflow mistake that I'm making and was hoping for any clarification or guidance about what I'm doing wrong. ]
Edit: After further trial and error, it appears the issue comes from the size of the generated module. It appears this issue starts occurring at around 16kb size.

@yyx990803 not sure if this is a bug or not. Is there a cache being used somewhere with a 16kb limit that isn't altered?

This appears to be related to the stream / pipe highWaterMark limit which defaults to 16.4kb...
The serve-static module used by express pipes the static file using: stream.pipe(res)
This is just a hunch at the moment, digging further.

My best guess currently is that:

Makes the request to the express server with a non-http streaming request that somehow then triggers the Node Writeable stream limit of 16kb.  There is currently very little doc on using these so that's where it stands.

Why does being SSR-related make it hard to reproduce? Can you push the setup to GH and give us the link?

@aleclarson ya you're right, should have done that!
Here is a simplified repo:
https://github.com/fiction-com/vite-testing

@yyx990803 any thoughts on this one?

Finally, I switched to Koa, realizing that most the work with Vite is being done with it instead of Express.
Happy to report that it's working as expected with that server.
Conclusion is that there is a bug either with Express static or Vite or a combination of the two. It's related to the 16kb chunk limit on streams.


[BEAM-7181] Re-adding broken IT tests after python container update.

This is is part of a series of PRs with goal to make Apache Beam PY3 compatible. The proposal with the outlined approach has been documented here: https://s.apache.org/beam-python-3.
This PR fixes support for Avro by making fastavro the default Avro implementation for Python3. Python2 continues to use avro library as the default.
CC: @Juta @RobbeSneyders

This PR re-adds fixes BEAM-7181, BEAM-7182 and BEAM-7183, by just re-adding the tests. The tests work again because of PR #8546 [to be merged].

Run Python Postcommit

Run Python PostCommit

Run Python PostCommit

retest this please

Run Python Postcommit

@pabloem could you please merge? Thank you!

Thanks, @fredo838 !

Looks like there is already https://github.com/apache/beam/pull/8550 that also re-adds other excluded tests associated with the same issues. I'll try to re-run tests there and if they pass, we can merge https://github.com/apache/beam/pull/8550 instead.

I think we can close this in favor of #8550 .


Wiki Rate Limiter

Because of standard API usage limitations, Idunn cannot make more than 200 requests per second to Wikipedia API.
This PR proposes a rate limiter upon a Redis service.
To activate the limiter you have to define the variable "WIKI_API_REDIS_URL".
If this variable is not set then Idunn doesn't limit its external requests number.

Regarding the Redis resilience I tested locally the scenario of a Redis service interruption with Idunn requests before, during and after the interruption without any problem: Idunn always sends an answer.
Should we do a test for that ?

@antoine-de I added the test 'test_rate_limiter_with_redis_interruption'


run command nbdev_build_lib got  KeyError: 'copyright'

i am running command nbdev_build_lib, got：
:~/openthings/nbdev_template$ nbdev_build_lib
Traceback (most recent call last):
  File "/home/supermap/anaconda3/bin/nbdev_build_lib", line 8, in <module>
    sys.exit(nbdev_build_lib())
  File "/home/supermap/anaconda3/lib/python3.6/site-packages/fastscript/core.py", line 73, in _f
    func(**args.__dict__)
  File "/home/supermap/anaconda3/lib/python3.6/site-packages/nbdev/cli.py", line 21, in nbdev_build_lib
    write_tmpls()
  File "/home/supermap/anaconda3/lib/python3.6/site-packages/nbdev/export2html.py", line 334, in write_tmpls
    write_tmpl(config_tmpl, 'user lib_name title copyright description', cfg, cfg.doc_path/'_config.yml')
  File "/home/supermap/anaconda3/lib/python3.6/site-packages/nbdev/export2html.py", line 326, in write_tmpl
    vs = {o:cfg.d[o] for o in nms.split()}
  File "/home/supermap/anaconda3/lib/python3.6/site-packages/nbdev/export2html.py", line 326, in <dictcomp>
    vs = {o:cfg.d[o] for o in nms.split()}
  File "/home/supermap/anaconda3/lib/python3.6/configparser.py", line 1233, in __getitem__
    raise KeyError(key)
KeyError: 'copyright'

add following to setting.ini,success:
copyright = openthings
description = test

Hi openthings!
I was following the nbdev tutorial and got virtually the same issue as you had:
(nbdev) ➜  nbdev_test git:(master) ✗ nbdev_build_lib
Traceback (most recent call last):
  File "/opt/anaconda3/envs/nbdev/bin/nbdev_build_lib", line 8, in <module>
    sys.exit(nbdev_build_lib())
  File "/opt/anaconda3/envs/nbdev/lib/python3.9/site-packages/fastcore/script.py", line 104, in _f
    tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/opt/anaconda3/envs/nbdev/lib/python3.9/site-packages/nbdev/export2html.py", line 477, in nbdev_build_lib
    write_tmpls()
  File "/opt/anaconda3/envs/nbdev/lib/python3.9/site-packages/nbdev/export2html.py", line 469, in write_tmpls
    write_tmpl(config_tmpl, 'user lib_name title copyright description', cfg, path/'_config.yml')
  File "/opt/anaconda3/envs/nbdev/lib/python3.9/site-packages/nbdev/export2html.py", line 460, in write_tmpl
    vs = {o:cfg.d[o] for o in nms.split()}
  File "/opt/anaconda3/envs/nbdev/lib/python3.9/site-packages/nbdev/export2html.py", line 460, in <dictcomp>
    vs = {o:cfg.d[o] for o in nms.split()}
  File "/opt/anaconda3/envs/nbdev/lib/python3.9/configparser.py", line 1254, in __getitem__
    raise KeyError(key)
KeyError: 'copyright'

I tried your solution in setting.ini, but unfortunately it didn't work for me, right now it looks like this:
[DEFAULT]
# All sections below are required unless otherwise specified
host = github
lib_name = nbdev_test
# For Enterprise Git add variable repo_name and company name
# repo_name = analytics
# company_name = nike

user = KBodolai
description = "testing nbdev"
keywords = test
author = myname
author_email =<EMAIL_ADDRESS>copyright = Copyrightinfo

Any idea of why this happens or how I can fix it?
Thanks!


Add new <arrow-[left and right]-double> icons

Duplicates ❌

[X] I have searched the existing icons or assets and requests.

Which Figma library is concerned?
Vitamin Icons
Remix icon check (only for icons)

[x] I have searched if the icon is already available on Remix.

Icon or Asset name
arrow-left-double and arrow-right-double
Icon or Asset description
Action : Used to denote the very end or the very beginning of a list
Wayfinding  : Used to help users Icons to go at the end of the list or go back to the beginning
Concept : used to represent that there is a beginning and a end to a list of elements in a page.
Education : Used to give users more information about the how he can go back to the beginning o go at the end of a list
Icon or Assets keywords
No response
Icon or Asset author
No response
Icon or Asset SVG code
<svg>...</svg>

Are there any other important details?
No response

Thank you for your contribution. Unfortunately, we won't be able to add any more icons as we need to focus on the new version of the design system.
We understand this may cause some inconvenience, and I sincerely apologize for any disruption this may cause. The icons you currently have can still be used locally in your projects.
They will be incorporated into the upcoming version, which is expected to be released in a few months.
Thank you once again for your understanding. Your contributions are greatly appreciated, and I'm confident that the new design system will bring many exciting improvements.


Structuring and extending the MRTK UNET components and example

Overview
The current "SharingWithUNET" example is basically everything there is concerning UNET. I've been using UNET for all my shared experiences on HoloLens and WMR devices and think there is a lot of potential for reusable components and better documentation here.
The current example contains components / code that can be made reusable and useful for any UNET based project. I'd suggest creating a "SharingWithUNET" folder in the MRTK, analog to the current "Sharing" folder. Refactor the example and move components not specific to the example itself into the new MRTK UNET folder.
Why is this useful?

Developers who chose to use UNET get a headstart using MRTK prefabs and components for UNET
The example becomes more lightweight
These changes provide a base for futher UNET contributions. I have a lot of code / components from past projects I'd like to get into the MRTK that help with UNET. But right now, I just don't know where to start and where to add them.
The current UNET code / components are not well structured and really hard to separate into logic pieces. This is a chance to refactor some of the code and have clear responsibilities.

So is there any way to get involved or to know what the plans are?

https://github.com/Microsoft/MixedRealityToolkit-Unity/projects/5#card-9450839

Thanks Stephen!

Hey - With unet being deprecated. What is the plans for this issue going forward?
There is a Community maintained versions of unet below.
https://github.com/vis2k/Telepathy Low Level API
https://github.com/vis2k/Mirror/ High Level API

Likely not. We're looking at using webRTC or Photon for our new initial sharing offerings in vNEXT

Deprecation has been delayed, and UNet will be moved to a package: https://forum.unity.com/threads/unet-deprecation-thread.543501/
New API, in Alpha, looks terribly unready: https://github.com/Unity-Technologies/multiplayer

Hey folks, a proposal for some webrtc work that could eventually morph into a larger solution (note: this is just my personal opinion) addressing the above can be found in #3590 - cross-linking for context.

Bulk closing older HTK bug. Please reopen if you can repro this issue in MRTK v2.
Thanks!
Yoyo


docs: Add i18n notice in README

Signed-off-by: ErikQQY<EMAIL_ADDRESS>

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


[api-major] Refactor viewer components initialization to reduce their dependency on the global PDFJS object

Since PR #9185 is, at this point in time, the main remaining blocker for PDF.js 2.0, I've tried to split that one up a bit to hopefully be able to move forward here. As indicated in https://github.com/mozilla/pdf.js/pull/9185#issuecomment-365308082 this PR will result in a less than ideal intermediate state, but hopefully that's acceptable.
Fixes #4919.
Fixes #9322.
@timvandermeij Sorry to ask, but I'm hoping that you might be willing (time permitting) to review this?

/botio-linux preview

Really good. I'll take a close look in the coming days.

/botio test

Thank you for improving this! It's quite a bit to review, but I really like how this simplifies things. The subtle improvements for the text layer are also good to have.

@yurydelendik, @timvandermeij Thank you both for helping review this!

I coincidentally came across this change, and I believe that the decision to not migrate preferences is taken too lightly. The Chrome extension allows administrators to control PDF.js via the preferences, and it is important that these identifiers are stable. Even if you don't want to write migration code, I'd appreciate if you ping me whenever there is a backwards-incompatible preference change. This is also necessary so I can mention the new preference name in release notes.
This is the second time that I notice breaking changes to preferences. For the previous one (hand tool -> hand+cursor tool), I wrote this migration code: https://github.com/mozilla/pdf.js/commit/19549bb7d6191cc6e79cc806b0fbf9c0598db192 (similar logic needs to be applied here).
@Snuffleupagus Do you want to write migration code for your change here, or should I do it?

[...] and I believe that the decision to not migrate preferences is taken too lightly.

Generally I'd agree that we should always try to migrate preferences, however I think there's extenuating circumstances in this case!
Given that these changes will be release with PDF.js 2.0, which is an increase in the major version number, backwards incompatible changes ought to be allowed/expected. Otherwise, as far as I'm concerned, there doesn't seem to be much reason to increase the major version number.
Furthermore, please note that a number of backwards incompatible API changes have already been made, and there's more to come as well; see https://github.com/mozilla/pdf.js/projects/5.

I'd appreciate if you ping me whenever there is a backwards-incompatible preference change. This is also necessary so I can mention the new preference name in release notes.

That's a fair point, sorry about that!

Do you want to write migration code for your change here, or should I do it?

Unfortunately I don't have time, and my sole focus right now is to get https://github.com/mozilla/pdf.js/projects/5 over the line to avoid holding up future releases any longer.
Also, as indicated above, I'm not totally convinced that migrating is necessary here.

The Chrome extension is built off master, so it's already using 2.x.
As the maintainer of the Chrome extension, internal API changes are not really that significant. What matters is the external, user-facing changes, such as preferences.
I'll create a new issue and assign it to me.

Eventually these changes will also make it into Firefox, won't it? Firefox is also already using 2.x, shouldn't these preferences be migrated in Firefox too?

Eventually these changes will also make it into Firefox, won't it?

That's correct.

Firefox is also already using 2.x, shouldn't these preferences be migrated in Firefox too?

Considering that the preferences are not that easily accessible in the UI, but rather available through about:config, I wouldn't worry too much about it since nothing will outright "break" here.
Assuming that a user manually set disableTextLayer, the worst thing that will happen is that the text is now selectable/searchable again. As for enhanceTextSelection, that is/was still somewhat experimental and consequently I wouldn't worry about it.


Better MANUAL updater

Problem:
Currently, MANUAL plugin updating mode only downloads them to downloads foler and that's all.
Solution:
Command for example .mupdate (manual update or similar) could replace jars in plugins folder with jars in downloads folder.

Commands for manual updating:
.uplugins or .update plugins - Downloads and installs latest updates for all plugins
.uplugin <name> or .update plugin <name> - Downloads and installs the latest update for the plugin
.userver or .update server - Downloads and installs the latest update for the server
.ujava or .update java - Downloads and installs the latest update for the java installation
.uself or .update self - Downloads and installs the latest update for the AutoPlug-Client

yes


[BUG] Typing issue with @microsoft/applicationinsights-web v2.7.0

Description/Screenshot
It seems that after the release of the @microsoft/applicationinsights-web v2.7.1 - apps with version v2.7.0 and TypeScript not working correctly anymore.
TS2322: Type 'ReactPlugin' is not assignable to type 'ITelemetryPlugin'.

Steps to Reproduce
Simple library with following deps:
"dependencies": {
    "@microsoft/applicationinsights-react-js": "3.0.5",
    "@microsoft/applicationinsights-web": "2.7.0",
    "axios": "0.21.1",
    "qs": "6.9.1",
    "reflect-metadata": "0.1.13"
  },

Initialize app:
this.pluginInstance = new ReactPlugin();
this.insightsInstance = new ApplicationInsights({
      config: {
        instrumentationKey,
        disableFetchTracking: false,
        enableRequestHeaderTracking: true,
        enableResponseHeaderTracking: true,
        extensions: [this.pluginInstance],
      },
    });

this.insightsInstance.loadAppInsights();

OS/Browser: Windows
SDK Version [e.g. 22]:
How you initialized the SDK: NPM

Expected behavior
No breaking changes in typing between patches of the library.
Additional context
Add any other context about the problem here.

After upgrade @microsoft/applicationinsights-web" from  2.8.8" to 2.8.9" in my react project , the error occurs again.  It seems that the microsoft-applicationinsights-core-js dependency has conflict versions (e.g. 2.8.8 vs 2.8.9)
Type 'ReactPlugin' is not assignable to type 'ITelemetryPlugin'.
Types of property 'setNextPlugin' are incompatible.
Type '(next: import("../.yarn/virtual/@microsoft-applicationinsights-core-js-virtual-e8bb66ad9c/0/cache/@microsoft-applicationinsights-core-js-npm-2.8.8-c65c41fa9e-473e210e57.zip/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/ITelemetryPlugin").ITel...' is not assignable to type '(next: import("../.yarn/virtual/@microsoft-applicationinsights-core-js-virtual-9a8911a1d7/0/cache/@microsoft-applicationinsights-core-js-npm-2.8.9-98cea3c981-8066707bb0.zip/node_modules/@microsoft/applicationinsights-core-js/types/JavaScriptSDK.Interfaces/ITelemetryPlugin").ITel...'.
Types of parameters 'next' and 'next' are incompatible.

Hmm, I just checked every commit from 2.8.8 to 2.8.9 and there was not any changes to any types, including the ITelemetryPlugin interface....
The only possible change was the 2.8.9 is not using ^1.1.7 of dynamicProto (which is used internally to help with the instance creation), but this does not affect the exported types and likewise applicationinsights-shims is now ^2.0.2 and this is also not involved with any types...
Can you try cleaning your local yarn packages? (I don't use / know yarn) as it's looking like some form of local conflict...
react has this as it versions
"@microsoft/applicationinsights-core-js": "^2.8.5",
"@microsoft/applicationinsights-common": "^2.8.5",
So with the release of 2.8.9, your code should only be referencing v2.8.9 and not 2.8.8 at all...

@MSNev, thanks for quick response, I did clean yarn cache but it didn't help. I tried to delete the old yarn.lock file and reinstalled every packages to regenerate the new lock file, the problem is gone...seems its yarn (PNP) related.


BaseTextVectorizer  - LabelsSource getter is protected

Issue Description
In BaseTextVectorizer class the getter method getLabelsSource is protected.
The expected behaviour was for it to be a public method, in order to predict label through its calculated index.
Version Information
DL4J version 0.9.1
ND4J version 0.9.1
Windows 10
No CUDA

Please explain, what exactly you're trying to do.

Hi raver119,
After calculating the index of the nearest neighbor (from a list of datasets) to my text input, I need to access the list of labels to retrieve the index label.

I eventually bypassed this by setting the labelNames at my original DataSet.


Advanced Tab - Link users with same email

To enable the link of accounts with the same email. It will only occur if the email was verified before.

Suggested: Links accounts with the same e-mail address. It will only occur if both e-mails are previously verified

Done


emitting empty paragraphs

See dom.html changes in https://github.com/whatwg/dom/commit/10b6cf1ba02806220d5461a3bdb7939728b73635. Probably another bug resulting from parsing HTML using regular expressions?

No, I don't parse HTML with regexes. I do parse Markdown with them, because that's the accepted way to do Markdown.  But HTML parsing is done with html5lib.
But this is unrelated to that.  Notice that there's a <p> in the original, too.  It's just that the default minification strategy strips comments, so now you're left with nothing inside the <p>.
I can't delete empty elements in general (you might have intended them!), but I can track which paragraphs are added by the Markdown parsing, and kill any that end up empty.  They can't be created that way - it can only happen if they had content during parsing, and then got their child nodes ripped out afterwards - so it should be safe to kill them.

Fixed by removing comments at Markdown-parsing time. (Ok, ok, now I'm actually parsing HTML with regex, a little bit. But comments are a super-simple corner of HTML, and I verified that this'll work correctly for all valid HTML comments.  (And most invalid, as long as you're not doing <!foo> or something.)
I manually checked this against DOM, and it fixes things up - there's actually several empty <p> elements caused by this already lying dormant in DOM, and now they're gone.
There's one error introduced - fixing that now.

Error's fixed, DOM builds just fine now.

I don't understand how the processing works. If you parse the HTML first, then remove the comments, then handle markdown, how can there be a problem? If you do the markdown first, you're parsing HTML with regular expressions.
I also noticed I can't put HTML comments inside an IDL block. That's another sign that HTML is not being parsed and then passed along from some kind of tree.

I parse Markdown first, then HTML.  (You can't go in reverse, you lose a ton of information.)  But aside from some very trivial handling of "this line starts with a block-level tag, require the contents to be indented", it's doesn't do any HTML-level parsing at all.

I also noticed I can't put HTML comments inside an IDL block. That's another sign that HTML is not being parsed and then passed along from some kind of tree.

Can you provide more detail?  I'm not seeing any problems with comments inside of IDL.

Something like
interface ParentNode {
  [SameObject] readonly attribute HTMLCollection children;

  <!--Element? querySelector(DOMString selectors);
  [NewObject] NodeList querySelectorAll(DOMString selectors);-->
};

broke the parser. I ended up putting the comment after the IDL block.
(I think that parsing the markdown before the HTML is a problem. ecmarkup doesn't seem to do that, instead opting for special elements where markdown is processed within. It looks a lot cleaner too than the mishmash bikeshed has.)

Something like
[snip]
broke the parser.

Doesn't anymore, as far as I can tell. If it still does for any case, let me know.


More than 3 tools not visible in th chat interface

Hello,
I have created 5 tools , only 3 are getting visible under the chats .. not sure if there are any limitations ? can anyone clarify

I did not see the scroll bar.. my bad.