Fix for uvloop

Seems the original motivation was reusing code from _check_closed, but this doesn't work with uvloop.

I really don't remember why I added the self._check_closed call there. Having a look both at asyncio and uvloop code, this call is done before the task_factory is called:
https://github.com/python/cpython/blob/21b3e04c13212b29e8c35ffc36eed8603fde08f4/Lib/asyncio/base_events.py#L281
https://github.com/MagicStack/uvloop/blob/45e177555d78066b9d7fa01c0049d89e43b7f794/uvloop/loop.pyx#L1142
do you mind updating your MR removing that line and adding a test that checks that if the loop is closed, a Runtime error is raised? :)

Thanks a lot!
I want to add some tests for checking uvloop compatibility, once done I'll make a new release

Awesome!

Just released 0.4.2 with your changes and the uvloop tests

Great! Thanks a bunch!


stdenvBootstrapTools: inherit {cross,local}System

Description of changes

It's expected that attributes in the top-level package set will all use that package set, but this wasn't the case for the bootstrap tools. This led some very confusing behaviour:

pkgsMusl.stdenvBootstrapTools would build glibc bootstrap tools

stdenvBootstrapTools was always cross compiled, even if Nixpkgs wasn't, because it always set crossSystem.  This also didn't match the behaviour of using make-bootstrap-tools.nix as an entrypoint, where crossSystem would default to null.

For the Linux stdenv, I've made the ideal fix, which is to make pkgs an argument rather than taking the arguments for pkgs, and then re-importing it.  This means it'll always use exactly the same package set that's calling it, and should also mean faster eval due to not importing Nixpkgs twice.
The Darwin stdenv is more complicated, and I'm not able to easily test it, so I wasn't confident in making the same fix there.  Instead, I've just made sure crossSystem and localSystem are set to the correct values so they're not always cross compiled and match the parent package set's. It would still be preferable if somebody could make Darwin's make-bootstrap-tools.nix take pkgs as an argument, rather than all the arguments for pkgs.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg build stdenvBootstrapTools

Not sure what happened on aarch64-darwin, let's retry.
@OfBorg build stdenvBootstrapTools

Not sure what happened on aarch64-darwin, let's retry.
@ofborg build stdenvBootstrapTools

The unpack and test attributes for the Darwin bootstrap tools seem to be out of date. For x86_64-darwin, there's some unnecessary but mostly harmless extra handling of rpaths in unpack, but for aarch64-darwin, it needs to be more careful to not break the signatures when rewriting the install names of the shipped .dylibs. It's easy enough to fix, but the test attribute also needs some attention before it will pass and I've ran out of time for now.
I don't think you need to worry about aarch64-darwin for this PR.

Looks like this PR caused hydra to silentry drop all the stdenvBootstrapTools jobs as it's an empty attrset now, Proposed possible fix: https://github.com/NixOS/nixpkgs/pull/182058


Add two factor authentication to backend Django Admin

http://django-two-factor-auth.readthedocs.io/en/stable/installation.html

Moved to https://github.com/toladata/ActivityAPI/issues/22


SCons: Don't override cl flags on msvc

Fixes an issue mentioned in #91883, where using msvc overwrites a handful of command-line build flags.

Thanks!


Getting a 404 loading<EMAIL_ADDRESS>

Hello. I'm getting a 404 from aurelia-configuration on a fresh install:
<EMAIL_ADDRESS>-> 404
My config file is at /config/config.json which should be the default.
My main.js is as follows:
export function configure(aurelia) {
  aurelia.use
    .standardConfiguration()
    .developmentLogging()
    .plugin('aurelia-configuration', config => {
      config.setCascadeMode(false);
      config.setEnvironments({
        development: ['localhost', '192.168.*.*'],
        production: ['brandonftaylor.com', 'www.brandonftaylor.com']
      });
    })
    .plugin('aurelia-validation');

The stack trace from Chrome Developer Tools:
system.js:4 Uncaught (in promise) Error: XHR error (404 Not Found) loading<EMAIL_ADDRESS>	Error loading<EMAIL_ADDRESS>    at o (http://localhost:9000/jspm_packages/system.js:4:12694)
    at XMLHttpRequest.s.onreadystatechange (http://localhost:9000/jspm_packages/system.js:4:13219)t @ system.src.js:4597g @ system.src.js:4597(anonymous function) @ system.src.js:4597

Thoughts?

I also have this problem. Any solution for this please?

+1

Me, too.

+1

I had the same issue

I am looking into this. It is a path issue I am going to solve.

Any progress on this?  Trying to figure out if I need to remove this plugin or try to figure out how to fix it.  My app is currently broken.

Just write this in your package.json file:
"aurelia-configuration"<EMAIL_ADDRESS>Place it under
"jspm": {
"dependencies": {
}
It basically makes sure you use an older version and it will not update the plugin to a newer one

As @SamuelCaudenberg points out the older version should suffice for the moment. I am currently working on a more streamlined version that fixes the issues. Alternatives to this plugin for more simple needs are simply creating a JSON file and then importing it like a normal file. This means you lose the deep extend, environment merging, etc though. Working as fast as I can, sorry guys.

Thanks Samuel - I tried the 1.0.5 - didn't go back far enough.  Dwayne - I appreciate the plugin - nicely done and available for free.  I'm not trying to be pushy - just trying to figure out which way to jump for a near term delivery.  I also hate to take your time away from the book which has saved me a LOT of time and pain.

@wshayes Haha not pushy at all. I do aim to get on this ASAP, possibly today actually. I want to change how the files are loaded, well abstract it out because now we have System.js and Webpack users to contend with, which complicates things a little bit from a loading perspective.

how to resolve this problem,who know

Use the 1.0.4 version —>  jspm install<EMAIL_ADDRESS>which works with jspm

On May 4, 2016, at 11:53 PM, date13<EMAIL_ADDRESS>wrote:
how to resolve this problem,who know
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/Vheissu/Aurelia-Configuration/issues/43#issuecomment-217071942

Version 1.0.6 is working for me.
On Thu, May 5, 2016, 6:26 AM William Hayes<EMAIL_ADDRESS>wrote:

Use the 1.0.4 version —> jspm install<EMAIL_ADDRESS>which
works with jspm

On May 4, 2016, at 11:53 PM, date13<EMAIL_ADDRESS>wrote:
how to resolve this problem,who know
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub <
https://github.com/Vheissu/Aurelia-Configuration/issues/43#issuecomment-217071942

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Vheissu/Aurelia-Configuration/issues/43#issuecomment-217119958

Does the latest release fix this for everyone?

Actually I still have this issue - installed plugin an hour ago:
Error: XHR error (404 Not Found) loading<EMAIL_ADDRESS>	Error loading<EMAIL_ADDRESS>

nope still getting the error

yeap, the same error.

:+1:
Even if I add the required file manually I get error's about the dependencies of Container and after that some markup creation error.
The Container has the aurelia-loader.Loader but only DefaultLoader is there.

Experiencing this error with 1.0.8, override fix above did not resolve the issue for me.

I'm also experiencing this with a fresh install of 1.0.8. No warnings on the install either.
Thanks for looking into this.

Version 1.0.8 works fine, but when you install it manually, not by jspm install (look at #47)

+1

This should be fixed latest release 1.0.9

w00t. Can't wait to try 1.0.9 out.

The issue still persists in 1.0.9.

For anyone interested in a fix: https://github.com/Vheissu/Aurelia-Configuration/pull/50#issue-162105753

Getting the same issue with aurelia-configuration 1.0.13 - using webpack (from the skeleton es6 webpack)
/config/config.json 404 (Not Found)


feat(entity): add consumer for entity events in entity service #121

There are some indentation changes, you do it on purpose ?

There still some events such as grant/revoke access to entities for users, update users/groups roles.
Have we planned how to implement them ?

There still some events such as grant/revoke access to entities for users
This is part of the Iteration 2
This will be done thanks to an API.

update users/groups roles.
This is already handled thanks to append. (for further details, you can check : https://github.com/easy-global-market/keycloak-spi-kafka


More functions for the file manager

Feature Request
Feature Information:
File manager:

AMP should be able to select several files at the same time.
(So you can copy, move or delete several files.)

AMP should be able to move files.

The User should also be able to access the data in the file manager via e.g the Filezilla Client, as this is more reliable when sending data. (If the internet is gone for a short time, AMP will abort completely, while filezilla will continue afterwards.)

I confirm:

[x] that I have searched for an existing feature request matching the description.

These are planned features. If you're on Linux you can use Filezilla without any extra setup, just by connecting via SCP.

AMP has built in SFTP support now rendering this largely obsolete.


sparse is not passed in init function of StableEmbedding

In this line instead of passing the sparse parameter, False is passed. Is this intended? It's a little confusing since the default for sparse is True here but False in torch.nn.Embedding

Good catch! Thank you for reporting this! I will fix this with the next release. Feel free to create a pull request!


An interface for extensions to provide new part types.

It would be nice if it was possible to add new part types with extensions.
As well as the code for the Numbas runtime, which I reckon you can already add, we also need code to display the part, which should belong to the theme, and a specification of an editing interface for the question editor to use.
At the moment, part types in the editor are defined with by an object with a few settings: a name, a list of tabs, a knockout viewmodel, and functions to save and load to/from the question JSON format. Then there's a django template to render the corresponding HTML
The only bits of that that I'm not comfortable with exposing publicly are the knockout viewmodel and the django template - both are very implementation-specific, and would cause a headache if I changed the way the editor works in future.
A JSON format to specify just what the options are, without the ability to give any code to do anything clever with the UI, would at least allow a basic editor interface to be created in a fairly future-proof way. And if we're restricting the format of the options, then we can write generic code to load and save the part.
So, I imagine an extension package which adds a new part type would look like this:

myextension.js - code for the exam runtime
myextension.css - CSS for the exam runtime
myextension_part_types.json - specification of part types

myextension_part_types.json will look like the following:
[
    {
        name: 'mypart',
        niceName: 'My part type',
        has_marks: true,
        tabs: [
            {name: 'marking', niceName: 'marking', icon: 'pencil', fields: ['correctanswer','precision']},
            {name: 'extras1', niceName: 'Extra options 1', icon: 'asterisk', fields: ['magicword','requiremagicword']}
        ],
        fields: [
            {
                name: 'correctanswer',
                label: 'Correct answer',
                type: 'jme',
                show_preview: true,
                help_text: 'The answer the student should write'
            },
            {
                name: 'precision',
                label: 'Checking precision',
                type: 'number',
                min: 0,
                max: 100,
                help_text: "How accurate should the user's answer be, in microsmoots?"
            }
            {
                name: 'magicword',
                niceName: 'Magic word',
                type: 'string',
            },
            {
                name: 'requiremagicword',
                niceName: 'Require the magic word?',
                type: 'boolean',
                default: true
            }
        ]
    }
]

The editor would interpret this spec to create the relevant viewmodel and HTML, and the exam compiler and runtime would use it to create the XML/HTML representation of the part as well as the Numbas.Part class to actually run it.

These days, extensions bundle a .cpt file containing a definition of a part type.


No need for extra code in createContainer?

Just something that caught my eye:
export default function(component, actions, mapStateToProps) {

    function mapDispatchToProps(dispatch) {
        return bindActionCreators(actions, dispatch);
    }

    return connect(mapStateToProps, mapDispatchToProps)(component);
}

Seems like mapDispatchToProps here is unnecessary because connect() already implements this shortcut. You can pass action creators to connect() instead of mapDispatchToProps and it will work exactly like this.

Hi @gaearon, I didn't know that, many thanks for pointing that out.
Updated in 44930f893ed9d4b14d4e86ff5f0700809876b0d2.


ebusd: fix logging overrides

Description of changes
This fixes #292131 - currently we specify --log=all:<level>, which overrides all other log areas. Specifying this first allows the further log areas to be specified without being replaced.
Closes #292131.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

@nathan-gs I'm happy with this but haven't built locally, happy to look into that for checking either the aarch64-linux or x86_64-darwin box

@bobrippling can you see if you can mark your PR as non-draft?

Thanks for confirming - undrafted and ready to go

@globin @happysalada would you be willing to review & merge. Thx

@bobrippling if https://github.com/NixOS/nixpkgs/pull/264893 gets merged first, you might need to adjust this one.


Add TypeScript decorator support

This pull request adds decorator support to TypeScript input only.

I don't think we should support decorators for the initial version. Given it's not really an accepted standard yet. Even though TS aims to support it.

@timneutkens decorators are the reason many people choose TypeScript -- not supporting them won't get us far. It's TypeScript's responsibility to migrate people when they switch to the new specification, which probably isn't going to happen until proposal-decorators reaches stage 4 / stage 3 🚀.

Just my pinch of salt: if decorators are used a lot in Vue for TS or in Angular, I've never seen a React project using decorators (in 2 years).

It'd affect MobX users, mainly.


⚠ ClamAV has degraded performance

In a31f92e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 204 ms

Resolved: ClamAV performance has improved in 84bec18.


Basic mouse support?

It would be super awesome if illwill could emit basic mouse events!
Any chance this will be implemented? :)

@enthus1ast illwillWidgets looks quite cool! I'll play around a bit with it later when I'll have some time!


NumberInput not binding null and defaulting to 0

The null check introduced in the recent fix (https://github.com/carbon-design-system/carbon-components-svelte/commit/402de56029f6c400df335e8182be65c79cc5dd9f) is invalid due to the fact that an input's value is always a string.
This causes '' to be coerced to 0 instead of returning null.
REPL

Fixed in v0.57.0.


User can not go in internet and not resolve internal dns

Many thanks for this script, is very userfull.
I have this problem:
client is able to connect to vpn but after connection client does not go in internet and is not able to resolve internal dns.
I think is iptables and route problem but I am not able to fix.  My internal dns server have on network card with <IP_ADDRESS> ip and second network card used to go in internet with <IP_ADDRESS> ip.

I don't think this problem is related to script. It would have been better if you could said, which Distro you are using!
Anyway, I think this problem is related to ip masquerading. Just enable it, restart OVPN server, and you should be good to go.

This is probably related to mssfix bug/
solution:
echo 'mssfix 1200' >> /etc/openvpn/server.conf

Could be the same as https://github.com/Nyr/openvpn-install/issues/267, or could be that your server is behind a NAT and you are not setting that up correctly.
Either way I'm closing since it's either a duplicate or not an issue with the script.


Fix package lock issue

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added many documentation comments; added a "nodoc" tag.

In this update, I have added comments for several builtin modules, listing them in include/builtins/k-reference.k . Kompile this file with the option --backend=doc to generate k-reference-doc.tex. The comments I have added are far from complete, and there are many sections labeled "TODO" that include some question about functionality that should be filled in by people more knowledgeable than I.
I have added a "nodoc" tag to indicate productions that should not be included in the documentation. This is used to hide productions that are essential to internal mechanics but are never used by end users, especially hooking rules.
The greatest difficulty I've encountered is attempting not to display output from modules not included in the original file (which, thusfar, has been k-reference.k). By recursively importing files, many modules are imported that do not include functionality of interest to the end user, and including them in the reference manual would be a mistake. However, determining which modules are imported from the main file and subsequently not producing or deleting latex output from modules imported from outside the main file has proven to be fairly difficult by the time the definition is passed through the BackendFilter. If anyone has any ideas about this, I would like to hear them.
There are some other things I would like to know:
-What are the available color options for configuration cells? As an end user, I've often wanted to have a complete list.
-Where are the functions of the family asValue()? Those are important to know about.
-How much do we want to say about things not directly included in .k files, like KResults and Configurations? Should talking about those be relegated to a piece of documentation separate from this "reference manual," or is it relevant enough to include?

Will this ever get merged?

Can one of the admins verify this patch?


Optimize the CSI code for rescanning the device

Rescanning the newly attached volume to the node is causing the plugin to wait more time.
Sometimes, too many rescans running in the background and new volume creations fail as the system is busy.

/ assign

/assign

Explored SCSIs, LUNs, Disk Attachment Steps.
Currently we are using two methods to scan the newly attached disks.
Method 1: Rescanning the scsi bus by executing the script /usr/bin/rescan-scsi-bus.sh
Method 2: Rescanning the host scsi adapters one by one ex: echo "- - -" > /sys/class/scsi_host/host0/scan
Both of the above methods are used one after the other on NodeStageVolume Operation.
Rescanning the SCSI bus prints too many logs on the UI and some times hung executing which causes the infinite wait for NodeStageVolume.
Sample output
[root@madhan-1-kube-1-22-2 ~]# /usr/bin/rescan-scsi-bus.sh

Scanning host 0 for  SCSI target IDs  0 1 2 3 4 5 6 7, all LUNs
Scanning host 1 for  all SCSI target IDs, all LUNs
 Scanning for device 1 0 0 0 ...^M Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 1 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 01
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 3 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 03
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 10 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 10
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 11 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 11
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 12 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 12
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 13 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 13
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 14 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 14
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 15 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 15
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 16 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 16
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 17 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 17
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 18 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 18
      Vendor: IBM      Model: 2145             Rev: 0000
      Type:   Direct-Access                    ANSI SCSI revision: 06
 Scanning for device 1 0 0 19 ...
................
................
................
................
................
................
0 new or changed device(s) found.
0 remapped or resized device(s) found.
0 device(s) removed.

Where as scanning the host adapters is faster and not printing anything on the terminal.
Which also does the same operation of scanning the new device on each host's scsi adapter.
Sample output
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host0/scan
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host1/scan
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host2/scan
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host3/scan
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host4/scan

Conclusion
RescanSCSIBus can be removed and RescanSCSIHost Adapters can only be used

Created a disk and attached to the node from IBM Cloud.
Disk WWN:<PHONE_NUMBER>8181D628000000000048D8
Getting the disks by id:
[root@madhan-1-kube-1-22-2 powervs-csi-driver]# ls -lF /dev/disk/by-id/
total 0
lrwxrwxrwx. 1 root root 10 Nov 20 00:08 dm-name-mpatha -> ../../dm-0
lrwxrwxrwx. 1 root root 11 Nov 20 00:08 dm-name-mpatha1 -> ../../dm-14
...
...
lrwxrwxrwx. 1 root root 10 Nov 20 00:08 dm-uuid-mpath-360050768108181d62800000000004027 -> ../../dm-0
lrwxrwxrwx. 1 root root 10 Nov 20 00:08 dm-uuid-mpath-360050768108181d628000000000044f3 -> ../../dm-8
...
...
lrwxrwxrwx. 1 root root 10 Nov 24 06:54 scsi-360050768108181d62800000000004027 -> ../../dm-0
lrwxrwxrwx. 1 root root 11 Nov 20 00:08 scsi-360050768108181d62800000000004027-part1 -> ../../dm-14
...
...
lrwxrwxrwx. 1 root root 11 Nov 20 00:08 wwn-0x60050768108181d62800000000004027-part1 -> ../../dm-14
lrwxrwxrwx. 1 root root 11 Nov 20 00:08 wwn-0x60050768108181d62800000000004027-part2 -> ../../dm-15

Disk  with expected WWN not found.
Scanning the host adapter
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host0/scan
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host1/scan
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host2/scan
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host3/scan
[root@madhan-1-kube-1-22-2 ~]# echo "- - -" > /sys/class/scsi_host/host4/scan

Expected disk WWN found:
[root@madhan-1-kube-1-22-2 powervs-csi-driver]# ls -lF /dev/disk/by-id/
total 0
...
...
...
lrwxrwxrwx. 1 root root 11 Nov 24 06:54 wwn-0x60050768108181d628000000000048d8 -> ../../dm-41
...
...
...


chore(*): update CoreOS to 766.3.0

Gets Deis back on the stable channel and reverts #3992. I tested and don't see the issue about multiple simultaneous docker pulls now.

Does this work just fine with the Docker-in-builder staying at 1.5? And we can bump AWS version by just changing contrib/utils.sh? That is awesome!

@carmstrong yes, we have to leave Docker-inside-builder at 1.5.0 for now. It's a bit confusing to have Docker 1.7.1 on the hosts, but there's no conflict.

LGTM. :ship:

Do these leading hashes not change ever?

I guess not; I copied it afresh from the current CoreOS Azure provisioning doc.

Do these leading hashes not change ever?

They haven't changed on us yet, although that's no guarantee.

code LGTM

@mboersma As far as you know, could it work with Deis 1.10 ?

@laurrentt yes, CoreOS 766.3.0 works fine with Deis v1.10--I've tested that configuration many times now.

@mboersma Thanks !


解决#3395问题，修复mysql grant问题

修复https://github.com/alibaba/druid/issues/3395这个问题

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

没有testcase？

我第一次提交pr，testcase怎么弄

testcase已经增加了，测的时候修改数据库配置合创建一个用户

这种依赖环境的TestCase，集测怎么跑？


[Feature request] messaging

Allow the player to use /msg to comunicate to the bot and the bot also replies in messages

For now you can do this just by attempting to load the same profile twice.
Example in settings.js
"profiles": [
      "./andy.json",
      "./andy.json",
      // add more profiles here, check ./profiles/ for more
      // more than 1 profile will require you to /msg each bot indivually
  ],

It will only load one bot and will use /msg

For now you can do this just by attempting to load the same profile twice.
Example in settings.js
"profiles": [
      "./andy.json",
      "./andy.json",
      // add more profiles here, check ./profiles/ for more
      // more than 1 profile will require you to /msg each bot indivually
  ],

It will only load one bot and will use /msg.
For it only replying in messages it's much more complex. You could try in the profile .json after each {"role": "assistant", "content": " entry adding a /msg yourname
This might break things but if you mess with it and just use your username it could maybe work.

your message doesnt make sence

The bot will use messages if it detects that there are multiple bots being loaded. @EIegance suggestion is to  modify settings.js such that it thinks it is loading two bots (and will this use msg instead of chats) but actually only one bot will be loaded.


Used lifeline should grey out if used once on the same level

-Used lifeline should stay disabled throughout the level if used once.

Additionally, If user used the lifeline on Question : 5, it should start displaying from the same question itself.

50-50 lifeline won't display if used once throughout the level.
However, phone a friend is unlimited


STR-503: use OsRng consistently

Description
Switches all uses of thread_rng() to OsRng.
Type of Change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature/Enhancement (non-breaking change which adds functionality or enhances an existing one)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Refactor

Checklist

[x] I have performed a self-review of my code.
[x] I have commented my code where necessary.
[x] I have updated the documentation if needed.
[x] My changes do not introduce new warnings.
[ ] I have added tests that prove my changes are effective or that my feature works.
[x] New and existing tests pass with my changes.

Related Issues
None.

I've never seen any issued raised with thread safety of OsRng, but don't have a definitive answer. It was actually considered for direct use in thread_rng, but rejected for performance reasons that shouldn't apply here.
I agree that the use of imports for OsRng is preferable. The initial goal was to minimize changes for easier review, but you're right that this is a good time to shore things up.
One additional change that I made at one point was to prefer direct use of fill_bytes (provided by RngCore) for constructing random byte arrays, instead of relying on gen (provided by Rng) for a standard distribution. I have no particular reason to distrust the distribution-based approach, but my spidey sense tells me that the more direct and obvious byte-filling approach is a more conservative approach.

Concur with suggestions but looks good.

wait for the rebase and the upcoming changes before merging

Marking as draft to address review suggestions and merge conflicts.

I would expect it to be thread safe, it'd be weird if it wasn't.

@storopoli Are suggestions applied?

I would expect it to be thread safe, it'd be weird if it wasn't.

If it isn't thread safe, much (most?) of the Rust cryptographic ecosystem is in trouble...


upgrade common

Coverage increased (+0.01%) to 1.078% when pulling c61cd3d6418857a62a498a3ce16d0a2cb1912bd7 on alvita:upgrade into 942e05e1742cdb5c848655bdcbd485407537eaf9 on ringcentral:master.


Toggling working files shows error

VSCode Version:1.0.0
OS Version: OS X 10.11.3

Steps to Reproduce:

Press ⌘K ↑	for toggling working file

Error

This works as expected, but you have to press ⌘K  (then release ⌘) ↑


Do not use sqrt_2 in device code (fixes #2208)

Also, apply same changes on the cpu side.

Nice, thanks for the fix :)


GPII-3248: wrapup final comments

Address additional comments from prematurely merged PR:

https://github.com/gpii-ops/gpii-infra/pull/111#discussion_r218914336
https://github.com/gpii-ops/gpii-infra/pull/111#discussion_r218913486

@javihernandez, @mrtyler - I've carried over some of your comments from https://github.com/gpii-ops/gpii-infra/pull/111 over to this PR. Can you give it a once over?

LGTM


[purchase] Listing purchase page needs a width constraint / grid column

@sprrwhwk I don't think this is an issue anymore but would be good if you could please check
If not, please just close this one.

btw the create a listing feature is turned off in production but I assume you can still see the underlying code in your dev environment.

btw the create a listing feature is turned off in production but I assume you can still see the underlying code in your dev environment.

Will the feature be re-enabled in the future?

Will the feature be re-enabled in the future?

yes but may be a few months. dependant on a carbonmark contract upgrade which is currently under discovery.

@jabby09 This doesn't seem to be an issue any longer

Screenshot


move babel to devDependencies

@conorhastings
Babel is not required for using the package, only building it, so it should not be listed as a dependency, but a devDependency.
We're trying to use this package in a monorepo using Yarn workspaces, and we're having issues with Babel 6 clashing with Babel 7.
This PR should fix that.

@conorhastings anything preventing this?

sorry have so many repos, i miss things sometimes

published as 2.1.0

@conorhastings Thanks! :)
@sampi Could you please remove the internal workaround since this is fixed now? :)


Linux compilation issues

Hey,
I have a newest version of CEF, but after adding all lib files into appropriate folders into ThirdParty I get those issues:

In file included from /home/adam/perforce/StreamingVlc/Plugins/BLUI/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Blu/Module.Blu.gen.cpp:4:
In file included from /home/adam/perforce/StreamingVlc/Plugins/BLUI/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/Blu/BluEye.gen.cpp:8:
/home/adam/perforce/StreamingVlc/Plugins/BLUI/Source/Blu/Public/BluEye.h:264:12: error: use of undeclared identifier 'CefBrowser'
        CefRefPtr<CefBrowser> browser;
                  ^
/home/adam/perforce/StreamingVlc/Plugins/BLUI/Source/Blu/Public/BluEye.h:271:3: error: unknown type name 'CefWindowInfo'
                CefWindowInfo info;
                ^
/home/adam/perforce/StreamingVlc/Plugins/BLUI/Source/Blu/Public/BluEye.h:272:3: error: no template named 'CefRefPtr'
                CefRefPtr<BrowserClient> g_handler;
                ^
/home/adam/perforce/StreamingVlc/Plugins/BLUI/Source/Blu/Public/BluEye.h:273:3: error: unknown type name 'CefBrowserSettings'
                CefBrowserSettings browserSettings;
                ^
/home/adam/perforce/StreamingVlc/Plugins/BLUI/Source/Blu/Public/BluEye.h:292:3: error: unknown type name 'CefMouseEvent'
                CefMouseEvent mouse_event;
                ^
/home/adam/perforce/StreamingVlc/Plugins/BLUI/Source/Blu/Public/BluEye.h:293:3: error: unknown type name 'CefKeyEvent'
                CefKeyEvent key_event;
                ^
/home/adam/perforce/StreamingVlc/Plugins/BLUI/Source/Blu/Public/BluEye.h:57:2: error: cannot initialize return object of type 'UObject *' with an rvalue of type 'UBluEye *'
        GENERATED_BODY()
        ^~~~~~~~~~~~~~~~

Apart from standard libs I also added more, here is part of Blu.Build.cs :

			PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Linux/lib", "libcef.so"));
			PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Linux/lib", "libEGL.so"));
			PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Linux/lib", "libGLESv2.so"));
			PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "cef/Linux/lib", "libcef_dll_wrapper.a"));

			PublicIncludePaths.AddRange(
				new string[] {
					Path.Combine(ThirdPartyPath, "cef/Linux")
				});

Those libraries I've got from official download website. I also tried to build with this instruction, but BluBrowser: https://github.com/getnamo/BluBrowser but this also did not help.
Could you be so kind and help out with this one?
Kind Regards,
Adam.

There currently isn't a linux build. You'll need to modify BluBrowser to make a process equivalent of blu_ue4_process.exe found in BLUI/ThirdParty/cef/Win/shipping along with matching static libs. It's quite an involved process unfortunately and why we don't currently have a linux build unless a programmer spends the time and resources to make one.

can't you just download the cef precompiled binaries for the linux build and place it there? same if you want a newer version of cef on windows?

if not is there a specific way it needs to be built for unreal?

See https://github.com/getnamo/BluBrowser for solution to build the process. I believe only minor modifications are used for the build.


fix map doesn't look right when the game is paused (issue #119)

The issue was that the same camera is used for drawing the game, and the map, and the zoom did not get updated while the game was paused (and the skull icons did not get animated as well).
I extracted the zoom code in SolCamera so that it could be called when the game is paused.

Hooray Jenkins reported success with all tests good!


add LDAP Integration

LDAP Integration
Setup Testing LDAP Server, like OpenLDAP (if required)
For a quick but complete setup of OpenLDAP, please refer to my blog here
Below assumes that you have set up LDAP Server with exact users, groups data and exposed as "ldap://<IP_ADDRESS>:10389".

Login to main Team
$ fly login -t concourse4 -c https://<IP_ADDRESS> -k -u bright -p CHANGEME
$ fly -t concourse4 teams -d
name  users         groups
main  local:bright  none

Create New Team(s)
Create different teams with --ldap-user and/or --ldap-group:
$ fly -t concourse4 set-team -n ldap-user --ldap-user=admin1 --non-interactive && \
  fly -t concourse4 set-team -n ldap-group --ldap-group=admins --non-interactive && \
  fly -t concourse4 set-team -n ldap-user-and-both --ldap-user=admin1 --ldap-group=admins --non-interactive

$ fly -t concourse4 teams -d
name                users         groups
ldap-group          none          ldap:admins
ldap-user           ldap:admin1   none
ldap-user-and-both  ldap:admin1   ldap:admins
main                local:bright  none

SIT
Overall conclusions:

User
Which team to log into
Teams can be viewed
Operations eababled?

admin1
ldap-user
all 3 teams
Yes

admin1
ldap-group
all 3 teams
Yes

admin2
ldap-group
ldap-group and ldap-user-and-both only
Yes

admin1
ldap-user-and-both
all 3 teams
Yes

admin2
ldap-user-and-both
ldap-group and ldap-user-and-both only
Yes

TL;DR -- you may simply ignore the rest as it really works as expected :)
Do the necessary preparation:
$ wget https://raw.githubusercontent.com/brightzheng100/concourse-demo/master/pipeline-ring.yml

Note: better use Chrome Incognito window to perform each of below login steps to avoid potential token/session pollution.

Login To Team ldap-user And Test It Out
Login using the test account: admin1/secret.
$ fly -t concourse4 login -n ldap-user -k
$ fly -t concourse4 teams -d
name                users        groups
ldap-group          none         ldap:admins
ldap-user           ldap:admin1  none
ldap-user-and-both  ldap:admin1  ldap:admins

Test:
$ fly -t concourse4 sp -p pipeline-ring -c pipeline-ring.yml && \
  fly -t concourse4 up -p pipeline-ring && \
  fly -t concourse4 trigger-job -j pipeline-ring/job-ring -w && \
  fly -t concourse4 dp -p pipeline-ring -n

started pipeline-ring/job-ring #1

initializing
...
running sh -exc date
echo "I love Concourse!"
+ date
Thu Oct 18 05:39:34 UTC 2018
+ echo 'I love Concourse!'
I love Concourse!
succeeded
...

Conclusion:

As admin1 is explicitly specified in ldap-user and ldap-user-and-both and also belongs to group admins, so it displays all 3 teams as its teams;
User admin1 can do the expected operations.

Login To Team ldap-group And Test It Out
Login using both test accounts: admin1/secret and admin2/secret.
Login as admin1/secret
$ fly -t concourse4 login -n ldap-group -k
$ fly -t concourse4 teams -d
name                users        groups
ldap-group          none         ldap:admins
ldap-user           ldap:admin1  none
ldap-user-and-both  ldap:admin1  ldap:admins

Test:
$ fly -t concourse4 sp -p pipeline-ring -c pipeline-ring.yml && \
  fly -t concourse4 up -p pipeline-ring && \
  fly -t concourse4 trigger-job -j pipeline-ring/job-ring -w && \
  fly -t concourse4 dp -p pipeline-ring -n

started pipeline-ring/job-ring #1

initializing
...
running sh -exc date
echo "I love Concourse!"
+ date
Thu Oct 18 05:39:34 UTC 2018
+ echo 'I love Concourse!'
I love Concourse!
succeeded

Conclusion:

As admin1 is explicitly specified in teams ldap-user and ldap-user-and-both and also belongs to group admins, so it displays all 3 teams as its teams;
User admin1 can do the expected operations.

Login as admin2/secret
$ fly -t concourse4 login -n ldap-group -k
$ fly -t concourse4 teams -d
name                users        groups
ldap-group          none         ldap:admins
ldap-user-and-both  ldap:admin1  ldap:admins

Test:
$ fly -t concourse4 sp -p pipeline-ring -c pipeline-ring.yml && \
  fly -t concourse4 up -p pipeline-ring && \
  fly -t concourse4 trigger-job -j pipeline-ring/job-ring -w && \
  fly -t concourse4 dp -p pipeline-ring -n

started pipeline-ring/job-ring #1

initializing
...
running sh -exc date
echo "I love Concourse!"
+ date
Thu Oct 18 05:39:34 UTC 2018
+ echo 'I love Concourse!'
I love Concourse!
succeeded

Conclusion:

As admin2 belongs to group admins, so it displays 2 related teams as its teams;
User admin2 can do the expected operations.

Login To Team ldap-user-and-both And Test It Out
Login using both test accounts: admin1/secret and admin2/secret.
Login as admin1/secret
$ fly -t concourse4 login -n ldap-user-and-both -k
$ fly -t concourse4 teams -d
name                users        groups
ldap-group          none         ldap:admins
ldap-user           ldap:admin1  none
ldap-user-and-both  ldap:admin1  ldap:admins

Test:
$ fly -t concourse4 sp -p pipeline-ring -c pipeline-ring.yml && \
  fly -t concourse4 up -p pipeline-ring && \
  fly -t concourse4 trigger-job -j pipeline-ring/job-ring -w && \
  fly -t concourse4 dp -p pipeline-ring -n

started pipeline-ring/job-ring #1

initializing
...
running sh -exc date
echo "I love Concourse!"
+ date
Thu Oct 18 05:39:34 UTC 2018
+ echo 'I love Concourse!'
I love Concourse!
succeeded

Conclusion:

As admin1 is explicitly specified in teams ldap-user, ldap-user-and-both and also belongs to group admins, so it displays all 3 teams as its teams;
User admin1 can do the expected operations.

Login as admin2/secret
$ fly -t concourse4 login -n ldap-group -k
$ fly -t concourse4 teams -d
name                users        groups
ldap-group          none         ldap:admins
ldap-user-and-both  ldap:admin1  ldap:admins

Test:
$ fly -t concourse4 sp -p pipeline-ring -c pipeline-ring.yml && \
  fly -t concourse4 up -p pipeline-ring && \
  fly -t concourse4 trigger-job -j pipeline-ring/job-ring -w && \
  fly -t concourse4 dp -p pipeline-ring -n

started pipeline-ring/job-ring #1

initializing
...
running sh -exc date
echo "I love Concourse!"
+ date
Thu Oct 18 05:39:34 UTC 2018
+ echo 'I love Concourse!'
I love Concourse!
succeeded

Conclusion:

As admin2 belongs to group admins, so it displays 2 related teams as its teams;
User admin2 can do the expected operations.

All done!

thanks! sorry for the delay.


Fix the problem while doing first call for service to gateway using p…

Fixes / New Feature #
Fix for pollconsul provider for the first request to any service while API gateway uses pollconsul provider.
Proposed Changes

Fix the problem of first request before timer will start fetching services from consul

@TomPallister  could you have a look? :)

Hi @TomPallister , could you please have a look? :)

I could have a look...

Hi Przemyslaw!
Could you resolve merge conflicts first, please?
Don't forget to update your feature branch by latest top-commits from base:develop branch!

Przemyslaw!
There are a lot of merge conflicts!
I guess current feature branch is outdated.
It is better to backup your changes to some folder. And re-fork the Ocelot repo. SO, you will have top commits from head repo. And create new feature branch from develop. Apply your code changes. Make new PR please!
Or go to my forked Ocelot repo. And it says: "This branch is up to date with ThreeMammals/Ocelot:develop."
I can add you as Contributor. You will be able to create feature branches.
Do you have an intention to have some pair programming?

Przemyslaw,
I thought you needed my help to resolve merge conflicts. 😉
The feature branch has been rebased onto ThreeMammals:develop successfully!
I've additionally linked to the issue from your past comment.
Good luck during code review!

@raman-m This should be addressed in https://github.com/ThreeMammals/Ocelot/pull/1670, no?

@ggnaegi commented on Sep 18

Yes, it is addressed, but this PR has extra enhancement of injecting IMemoryCache object into PollConsul constructor! 😉

@ggnaegi commented on Sep 18

Yes, it is addressed, but this PR has extra enhancement of injecting IMemoryCache object into PollConsul constructor! 😉

Like @RaynaldM I think, we are mixing concerns here...

@przemyslawandruszewski
In future we can inject caching interface, but it should not be memory cache, otherwise Ocelot will duplicate all collections from Consul service... I understand, you've tried to improve the performance, but the root cause is
Sorry, cannot accept it nowadays. Cache must be more abstract. And we cannot add this caching forcibly, so configuration property is required.
If you have an intention to contribute, please return back with reopen or message.
Again, Thanks you for the PR!

#1294 will be fixed by #1670


Corpus components must use the new Compoisition API Syntax

The CorpusQuery and CorpusText components still use the options API. This breaks in production when using const { $api } = useNuxtApp(); useNuxtApp() only works in script setup lang="ts"> context.
Listening http://[::]:3000
[Vue Router warn]: uncaught error during route navigation:
Error: nuxt instance unavailable
    at useNuxtApp (file:///Users/simar/vicav-vue3/.output/server/chunks/app/server.mjs:160:13)

We also want to use the composition API as much as possible and the code looks much simpler when using it.
Please refer to https://vuejs.org/api/sfc-script-setup.html

Steps to reproduce:
npm run build
npm run start
# new terminal
curl localhost:3000

@simar0at This tasks seems very obsolete. We could close it by now.


@cloudflare/pages-plugin-graphql does not return GraphQL Playground

To reproduce, create a new pages project, and create a function with the code shown on the Cloudflare Pages Docs.
Note that when running wrangler pages dev or having a published project, accessing the GraphQL endpoint results in a 404 instead of the GraphQL playground. However, the usual GraphQL API still works as expected.

I'm having the same issue, though I've only tested with local wrangler pages dev --compatibility-date=2023-03-26 .

is there a workaround or a fix?

Looks like the issue is related to #24 and #32
Is assets: loader/protocol is still supported by CF/wrangler?
https://github.com/cloudflare/pages-plugins/blob/c9bdd1e8a10ad276958c399111a1e5293574af4f/packages/graphql/functions/index.ts#L39


I had improved name input system and the game was continuing even it got finish, so I corrected that. And also improved its responsiveness.

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #853

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you  @YaShRaJ0P , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


CDropdownDivider and CDropdownHeader aren't defined in the index.d.ts file

When reporting a bug, include:

Operating system and version (Windows, Mac OS X, Android, iOS, etc...): irrelevant - MacOS
Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser): irrelevant - Chrome
Reduced test cases and potential fixes using CodePen or JS Bin

@coreui/react definitions file doesn't export <CDropdownDivider> nor `

thanks @Ygilany fixed with v3.4.1


Leftover key transformation?

Hi
When trying to debug this issue at TranslatableBootForms, I stumbled upon the following code which seems to be the underlying cause:
FormBuilder.php line 222:
public function getValueFor($name)
{
    $name = $this->transformKey($name);

    if ($this->hasOldInput()) {
        return $this->getOldInput($name);
    }

    // ...
}
//...
protected function getOldInput($name)
{
    return $this->escape($this->oldInput->getOldInput($name));
}
//...
protected function transformKey($key)
{
    return str_replace(['.', '[]', '[', ']'], ['_', '', '.', ''], $key);
}

IlluminateOldInputProvider.php line 21:
public function getOldInput($key)
{
    return $this->session->getOldInput($this->transformKey($key));
}
//...
protected function transformKey($key)
{
    return str_replace(['.', '[]', '[', ']'], ['_', '', '.', ''], $key);
}

Is there any specific reason why transformKey() is called twice throughout this process (in getValueFor() and getOldInput())?
Right now, the following transformations will occur to e.g. en[title]:
en[title] --> en.title --> en_title
As you can see, there seems to be a superfluous transformation since en.title should be the key to search for in old input session store.

@JesseLeite Any thoughts on this? Looks like that  was introduced in this PR: https://github.com/adamwathan/form/pull/78

Oh no ...git blamed! I'll look into it.

Fixed and tagged v0.8.3! Thanks.

Thanks for the quick follow-up!


some updates and fixes to v5 docs

disclaimer: there are mistakes which can be done at anytime (sorry if there was), so it's recommended to check whether if these changes are correct or not, a review on any of the changes to docs done here is appreciated on what to fix ^_^

Thanks for collaboration, but probably you've forgot to read contribution template.

Thanks for collaboration, but probably you've forgot to read contribution template.

i probably didn't noticed this, thanks for informing me about it, since i didn't read template, i might close this as i messed up a little bit


Fix a bug where modifiers' effects continue after they're removed

[x] CHANGELOG.md's "Unreleased" section has been updated, if applicable.

Linked from modifier removal detection issue. No one should have to do this.


[Improvement] Custom checkbox

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
Make additional checkboxes for veryfing if user complies with text.
i.e.
[ ] I am 18+ years old.
Describe your ideal solution
somewhere in settings to define these probably optional / required toggle.
Version
Docker 81d82cbcbaefcc9be02c2c9a05ccee55e5eabc58f26c9eeb82d2c936cc9448f9
Environment
ZITADEL Cloud
Additional Context
No response

Hei @MichalNemec
Do I understand you correctly that you want additional fields on the user registration page?
Our registration page, should cover the standard use cases.
If you need more customization we recommend building your own registration page.
You can add additional fields and store that values to the user metadata (key value).

Do I understand you correctly that you want additional fields on the user registration page?

Yes, I agree, that it should cover standard use case. If there cannot be any additions, i understand.
It was just a thought to expand it more, so people dont have to create completely custom login/register because of checkboxes and compliances.


hotkey only mode

this would stop running if the s&q button is pressed and not add the stop resets and quit button to the option screen. it may be better to implement by not setting running to true. when enabled, this would give consistent s&q button behavior for categories where the player is allowed to leave the world.

I think to implement this I'd want to switch atum to a default config screen that has an entry redirecting to the create new world menu and more entries for the additional options (hotkey only, demo mode and we could potentially move the reset key there too)

in my 20w14inf port I couldn't find anywhere nice to put the demo button so yeah that config screen should probably be done before porting, I can do it tomorrow maybe


'find_initial_guess' in dcm.py

loaded Q has an explicit definition: 1e4. No estimation done at all

ba4f88cb1ba52e33d7028db12c120d54cbeb935b has updated iterative definitions of Q and Qc.
Still not perfect, as when I started with Q = Qc = 10, scipy.optimize.curve_fit worked without errors at Q=Qc=100 and thus the lmfit.fit function gave incorrect fitted parameters.
Maybe with Q=Qc=1000 as the initial value, it will be better. But I need to test with other data too and chat with Corey Rae.

Estimated time to complete: 1-2 hours

diameter of complex circle after cable delay has been removed gives info about Q and Qc
d = Q/Qc


Feature/updated docs for how to report security issues

Purpose

Give the user instructions on how to report security issues
Changes

Updated the docs -- specifically the CONTRIBUTING.md page, with instructions on how to report security issues.
Side effects

Ticket

https://openscience.atlassian.net/browse/OSF-6111

Cherry-picked the relevant commit: fbc4dc656434f9a6e0b9d1822fc90f37ca7b2b9c


chore(Topology/Sheaves/Forget): port an example from a comment

I left the example in the docs, so that it shows up in doc-gen, and I duplicated it outside of the docs, so that it does not rot.

bors merge


Possibility for normalization by the number of FEL pulses:

We need a possibility to normalize the binned signal by the number of FEL pulses or the intensity monitor of the free electron laser.
Preferred solution:
Please add a way to specify that the SED processor can be operated in the per-electron mode (standard), or a new "per-pulse"-mode. This way, we could instantiate a second processor in per-pulse-mode, which can be used for normalization.
We also considered to include an additional 'per pulse'-dataframe in SED, but this would significantly alter the structure of the code and will reduce the performance if normalization is not needed.

I'm not 100% sure if that works, but it appears to me that you can select the index via the config parameter dict "channels"
self.all_channels: dict = self._config.get("channels", {})
It should be straight forward to create two instances with different configs

@yacremann I believe you would want the old ddMicrobunches table, right?
If I am not mistaken, this can be obtained from the current dataframe by droppping the electron index, and leaving only the per-pulse channels, as @rettigl correctly suggests
I can look into making a simpler access to generating this, as is it indeed useful to normalize FEL intensity, but also delay stage positions (less crucial with the current laser system).

I was also thinking about this in the context of lab experiments. In principle, such a normalization histogram could be derived from a per-electron dataframe, if every electron has a timestamp, which could be generated for the FLASH data, and is already implemented for our data.

We can provide a notebook with said idea of filtering, or it can be part of the workflow within the context of workflow manager (makes more sense).

a notebook or example of the exact use case for the required feature is always greatly appreciated!
If I remember correctly, the most use of the per-pulse dataframe consisted in binning 1D traces in parallel to the final binning array to use as normalization arrays. This should be easy to implement in the workflow-manager/processor class.

I have thought about this a bit. In principle, maintaining two dataframes seems a bit redundant and a good design choice. On the other hand, deriving e.g. a "time per electron" column out of time stamps or bunch numbers probably creates a substantial amount of overhead, so maybe the former approach might perform much better...

@rettigl I am also not sure that generating a per-pulse dataframe from the per-electron dataframe is efficient. In addition, it will be necessary to remove duplicates, which is likely slow.
Also, I guess this is a functionality which ideally does not require the user to access the ("private") dataframe directly. I think this should be a functionality accessible from the processor class.
About normalization: Sometimes we will need to just normalize against the number of EL pulses, sometimes it will be necessary to normalize against pulse energy measurement devices (the normalization is then also done per bin).
From this point-of-view, I still think the most flexible and simplest solution will be to use two config files and generate a per-electron and per-pulse processor.

PR #116 implements normalization histograms both from a timed (aka per shot) dataframe, or alternatively from a timestamp column.
Regarding the last reason you bring: Even shots that don't provide electrons should be propperly normalized for if timestamps are correctly applied, because then the next electron will just get assigned a longer time.

@zainsohail04 This could now be implemented for the FLASH loader in PR#116


Update block-list.txt

Incorrect ruling on Dashboard, adding links manually

figured out how to update Dashboard's records


UploadStatus: excessive callbacks

Describe the bug
When navigating from MyObservations to a new ObsEdit screen with no evidence, there is sometimes a console warning. According to the stack trace, it looks like this has to do with the animation in UploadStatus, which is likely still rendering after a user leaves the screen.
WARN  Please report: Excessive number of pending callbacks: 501. Some pending callbacks that might have leaked by never being called from native code
Screenshots

Additional context
I believe Ken-ichi experienced the same bug with slightly different repro steps. Fwiw, we're both trying this from the obs-edit-bottom-sheets branch, but I think it's worth an issue since it seems to be coming from UploadStatus, not any of the new code in this branch.

I can take a look at this

Haven't been able to replicate this in v0.19.0+67


BC1 compression artefacts

Hi,
We're finding that converting textures with the BC1 format is resulting in colour artefacts in the final image which are quite obvious in our game when the texture is large and stretched.
A zoomed in section of our source image looks like this:

The result of BC1 compression looks like this:
Notice the purple and green colour tints which have been added.

We've tried using -bcuniform and -bcdither but these still resulted in colour problems in the final image.
Attached is the source TGA we are using:
WindowTexture.zip
Any help/assistance would be greatly appreciated.
Alex

Classic DXTn block compression is going to have difficulty with smooth black & white gradients as it's just the nature of the way the compression works (a single color segment with two R5G6B5 end-points has to closest-match all four pixels in a block). As such, that particular image is probably not a great fit.
In fact, why not just use DXGI_FORMAT_R8_UNORM to store it as monochrome image that is already much smaller than the original R8G8B8A8 version but without the artifacts of block compression? You will need to handle replicating the channel data in the shader but it's easy and cheap to do.
Another option for monochrome data is to use BC4_UNORM  which is supported on all Direct3D Hardware Feature Level 10.0 or better cards, although I suspect for the smooth gradient you'd be better off sticking with R8_UNORM.

Thank you for the detailed reply @walbourn!


Fix 'Scenario' typo in the docs

Description

Just a simple typo fix.
Secnario -> Scenario

Checklist

[ ] Does npm test pass with this change (including linting)?
[ ] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Hello! Do I need to complete the checklist for this simple doc change?
I honestly don't wanna clone the repo locally just to run npm test, specially since it should never fail (unless it checks the docs somehow).

Thanks!

@HeCorr Thank you!


Update guestbook-logs-metrics-with-elk.md

sync with english version

/label tidy/merge-method-squash

/label tide/merge-method-squash

/approve

/lgtm


Clarify configuration options

How can eye be configured? As it puts its current pid/sock into $HOME/.eye/pid|sock - where to put user-config ($HOME/.eye/config.eye is not working) or system-wide eye-config? (/etc/eye/config.eye would be nice).

Our deploy: we create dir /projects/eye/ and symlink projects configs into it, and have the crontab line @reboot /usr/local/bin/eye load /projects/eye which is load all configs from that folder on reboot.
Also, from 0.7 version eye auto loads (with first start):
/etc/eye.conf
~/.eyeconfig

in this files you can configure some common eye logger options and others...

Thanks for pointing this out - should be documented somewhere.


A few fixes in order to make it run.

Hello!
Thank you so much for sharing this tutorial repository!
I've found two issues following the instruction in the README.md. I believe, I've fixed them in a57f9de and 6431e80.
Also I've added an alternative instruction using pyenv package manager in ebf094c.
Thank you again!

@z80, great job, thank you!


Update code style

This updates Spotless 6.21.0 -> 6.22.0, Detekt 1.23.0 -> 1.23.3, Detekt Compose Rules 0.1.11 -> 0.3.2 and ktlint 0.50.0 -> 1.0.1.
Unfortunatelly ktlint from version 1.0.0 introduced breaking changes by switching from intellij_idea to ktlint_official as default code style and enabling a set of new rules by default. Some of the rules are not very compatible with our project and how Android Studio is able to format code. The problematic rules have been disabled for now.
The configuration has been altered to reduce the ammount of changes. But as the updated ktlint now properly checks for max_line_length some changes to previously missed code had to be done.
DevicePreviews have been renamed to PreviewDevices to follow Google's naming convention for @Preview annotations.
Depends on: #7311

Did you use spotlessApply to reformat the code? Some lines that don't exceed 120 characters have been reformatted. Maybe there's a bug in there somewhere?

The spotlessApply tripped over several places where it wasn't able to automatically apply the formatting rules. Mostly max-line-length but also other issues. I had to fix them manually. Once done I run spotlessApply to fix the remaining issues automatically or disabled some of the new rules.

close this in favor of #7328 and #7326


Fix broken menu link on PDP

Related issues
https://github.com/DivanteLtd/vue-storefront/issues/1734
Short description and why it's useful
Fix for broken menu link on PDP
Contribution and currently important rules acceptance

[x] I read and followed contribution rules
[x] I read the TypeScript Action Plan and adjusted my PR according to it
[x] I read about Vue Storefront Modules and refactoring plan for them

can you please fix the conflict?

@filrak ready


Hotfix version issue

Hotfix to this problem
Thanks a lot for the suggestion, @sgugger !
(merging them so that I can fix the broken links in the prod 😊)

merging them so that I can fix the broken links in the prod 😊


Mentions in posts are disappearing

https://forumet.vimla.se/t5/Idéer/Bonus-lojalitetsprogram-för-Vimlas-medlemmar/idi-p/722/page/2#comments

I think we should add the username into the userMapping.json so we can lookup these on the fly upon importing threads. If it goes well, it should just be about replacing the text.

@martinloman fixat, kommer ut vid nästa uppdatering


Add potion editing for tipped arrow

Allow tipped arrow to edit potion effect

Will be implemented in 2.2.0


Adding toMap() function.

added a public method to convert the contact to a map using the existing static _toMap(Contact contact) function.

Pull Request Test Coverage Report for Build 2

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-3.03%) to 96.97%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/contacts_service.dart
0
2
0.0%

Totals

Change from base Build 1:
-3.03%

Covered Lines:
64

Relevant Lines:
66

💛  - Coveralls

Notes still have to be added to the Android contacts

I see them in there?

If anyone feels like actually saving the notes to the phone please do, and I will merge this asap

When you say this, you're referring to saving it to the contact, right?
Just double checking.
On Wed, Oct 10, 2018, 7:37 AM Clovis NICOLAS<EMAIL_ADDRESS>wrote:

If anyone feels like actually saving the notes to the phone please do, and
I will merge this asap
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/clovisnicolas/flutter_contacts/pull/33#issuecomment-428597406,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV-HfZzXzbhaOE9ZkPF7cVvfTLJjEQ6bks5ujgYZgaJpZM4WgJKH
.

Yes, when adding and when fetching a contact, in the class ContactsServicePlugin.java, in the methods

getContactsFrom
--> The contact's notes should be fetched
addContact
--> The contact's notes should be updated

Understood. I'm researching it now.

Yo Any update guys?


Changes Default Javascript dialogs to custom Prompts

Fixes #779
Describe the changes you have made in this PR -
I have changed the default Javascript dialogs to custom Prompts as per issue #779
Screenshots of the changes (If any) -

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage remained the same at 81.774% when pulling 1f22aecdab382c35163e696aa8822ef9ccef6db4 on Prerna-0202:Popups#779 into 29f98c87dd976f9106968ec4277131127f5b9fe0 on CircuitVerse:master.

@Prerna-0202 I think the input font color should be white to have high visibility. WDYT?

@Prerna-0202 I think the input font color should be white to have high visibility. WDYT?

Yes right, I will change it ...

Thanks a lot for trying this out. Some issues that I noticed from the top

Seems like there is a small padding on the top of the simulation area
When you try to save an unnamed project, the UI kinda bugs out.

Finally. This is a huge PR to review. Is it possible if you can break it into peices for a set of related prompts changed to dialog boxes?

Sure @gr455, I will make different pr for each prompt, so that, it can be easily reviewed and I will solve these issues which you have said  ...

Thanks a lot for trying this out. Some issues that I noticed from the top

Seems like there is a small padding on the top of the simulation area
When you try to save an unnamed project, the UI kinda bugs out.

Finally. This is a huge PR to review. Is it possible if you can break it into peices for a set of related prompts changed to dialog boxes?

Sure @gr455, I will make different pr for each prompt, so that, it can be easily reviewed and I will solve these issues which you have said ...

Thank you so much!


Error message not shown when file too large

Hi,
Some of my fonts weren't embedding, despite the logs printed out from debug=true saying they were being encoded. When I set the maxImageSize to Infinity, the fonts were embedded. There were no logs or error messages printed explaining why the fonts were not being embedded, which would be a helpful thing.
It would also be nice to mention the default maxImageSize in the documentation.
Thanks!

:+1: After noticing in the docs that no default for maxImageSize was set I wasn't expecting that my large font file be excluded. And agree this should be in the debug logs as I checked these first.
Thanks.


Allow two-letter factoids (for short acronyms)

Oh, hello! I don't suppose the 3-letter minimum could be removed so that our org can still use factoids for all the short 2-letter acronyms we need to keep track of :) Thanks!

Wierd. In a few different browsers, the above "review" textarea won't let me type. But anyhoo, I'll type here :)
I actually am using this with non-technical folks, and after some thought, realized that spaces was probably simpler for them. (In the same way that programmers do filenames with hyphens, but laypersons choose spaces :) )
So if it doesn't hurt anything, can we consider leaving it as-is?

If all you're interested in is spaces, I think [\s\w]{2,} would be safer, right? Is there a reason to allow other special (literally any) character?


Support for open-source server-side data store

Could you add support for new open-source server-side data store?
I found this good open-source alternatives to Firebase:

http://feathersjs.com
http://telepat.io
http://socketcluster.io
https://rethinkdb.com

Could you choose best server-side solution for Lovefield?

The short answer is that there is no "best" server-side solution for Lovefield, and we welcome contributions for back store implementations that support different data store (see firebase_*.js in lib/backstore as an example).
The long answer:
My belief is that different applications have different needs and "best" for everyone is illogical. As a result, Lovefield is designed to be back store agnostic so that the users can swap their storage technology. As mentioned in our FAQ, the team is not omniscient nor omnipotent, and we are unlikely to support back stores that are not standard or Google-owned.
However, the beauty of open-source allows community to offer the power of sharing. I'll be more than happy to see contributions that bridge Lovefield to other back stores, e.g. MongoDB, or the server-side data store listed above.


Prepare v0.49.0

Google Cloud PHP v0.49.0
google/cloud-bigtable v0.1.1

google/gax is now required at ^v0.29. (#820)

google/cloud-bigquery v0.6.0

Job::queryResults() call now defaults to 0ms timeout. (#817)

google/cloud-container v0.1.1

google/gax is now required at ^v0.29. (#820)

google/cloud-core v1.15.0

Configuration options passed to Google\Cloud\Core\ServiceBuilder::__construct() will now be passed to services constructed using any ServiceBuilder factory methods. Configuration passed directly to the factory methods will be preferred over ServiceBuilder constructor config. (#816)

google/cloud-dataproc v0.1.1

google/gax is now required at ^v0.29. (#820)

google/cloud-debugger v0.1.0

Added support for Google Stackdriver Debugger. (#716)

google/cloud-dlp v0.4.3

google/gax is now required at ^v0.29. (#820)

google/cloud-error-reporting v0.7.3

google/gax is now required at ^v0.29. (#820)

google/cloud-firestore v0.3.2

google/gax is now required at ^v0.29. (#820)

google/cloud-language v0.11.2

google/gax is now required at ^v0.29. (#820)

google/cloud-logging v1.8.1

google/gax is now required at ^v0.29. (#820)

google/cloud-monitoring v0.7.3

google/gax is now required at ^v0.29. (#820)

google/cloud-oslogin v0.1.1

google/gax is now required at ^v0.29. (#820)

google/cloud-pubsub v0.11.2

google/gax is now required at ^v0.29. (#820)

google/cloud-spanner v1.0.1

google/gax is now required at ^v0.29. (#820)

google/cloud-speech v0.10.2

google/gax is now required at ^v0.29. (#820)

google/cloud-trace v0.5.1

google/gax is now required at ^v0.29. (#820)

google/cloud-videointelligence v0.8.3

google/gax is now required at ^v0.29. (#820)

google/cloud-vision v0.8.2

google/gax is now required at ^v0.29. (#820)

Miscellaneous

google/gax is now required at ^v0.29. (#820)

@dwsupplee PTAL again. I dropped BigQuery back to a minor release and added debugger.

@chingor13 would you like to coordinate releasing debugger, or should we be good to go at anytime?

@dwsupplee good to go anytime


v1.6 docs target fix

#10419 -- Documentation: Lock dependency to fix build (@Ropes)

Clean backport (no changes necessary)
Once this PR is merged, you can update the PR labels via:
$ for pr in 10419; do contrib/backporting/set-labels.py $pr done 1.6; done

This change is

test-docs-please


Compare imputation performance using tskit.lshmm and BEAGLE

Analyses to identify an example where imputed genotypes are clearly different between tskit.lshmm and BEAGLE. This will help further refinement of tskit.lshmm.

Merging this for now, but the results comparing lshmm and truth don't make sense.

Addresses #6


How can I only use mask and images to train Instance segmentation, such as Mask2former?

In a cell segmentation competition, I only get mask and image.But this is a typical instance segmentation task.I can train in mmsegmentation , but I want to use Mask2former.
I would appreciate it ，if you could give me an example.
About my dataset is very common in semantic segmentation.Background 0 ,Interior 1 ,Boundary 2.I can easy train in mmsegentation

have you tried to load your gt by using https://github.com/open-mmlab/mmdetection/blob/3b72b12fe9b14de906d1363982b9fba05e7d47c1/mmdet/datasets/pipelines/loading.py#L473-L481

Thanks for you advice.I will follow the logic of LoadPanopticAnnotations load my dataset .  And I want to confirm that if I haven't  anchor box  I alse can train instance segmentation in mmdet.

I think it may work, but you should make sure the model do not need gt_bboxes during training.

Thanks for your reply .Mask2former needn't bboxes during training.
class LoadPanopticAnnotations(LoadAnnotations):
    """Load multiple types of panoptic annotations.

    Args:
        with_bbox (bool): Whether to parse and load the bbox annotation.
             Default: True.
        with_label (bool): Whether to parse and load the label annotation.
            Default: True.
        with_mask (bool): Whether to parse and load the mask annotation.
             Default: True.
        with_seg (bool): Whether to parse and load the semantic segmentation
            annotation. Default: True.
        file_client_args (dict): Arguments to instantiate a FileClient.
            See :class:`mmcv.fileio.FileClient` for details.
            Defaults to ``dict(backend='disk')``.
    """

I only have every image and mask（About my dataset is very common in semantic segmentation.Background 0 ,Interior 1 ,Boundary 2.）  So how to set this bool?I can't find about  the interpretation  oft  _label  _mask _seg


Feature/tokenomics module

Hey @AustinoBombino, just letting you know that I'm merging this pull request so it can be included in the v0.1.0 release. I'll add the documentation updates in a separate pull request for the next release. Thanks!


Getting error while starting webdriver and running protractor command.

[16:10:07] I/launcher - Running 1 instances of WebDriver
[16:10:07] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[16:10:08] E/launcher - session not created: This version of ChromeDriver only supports Chrome version 80
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'DESKTOP-XXXX', ip: 'X.X.X.X', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_221'
Driver info: driver.version: unknown
remote stacktrace: Backtrace:
Ordinal0 [0x00520AE3+1706723]
Ordinal0 [0x004868C1+1075393]
Ordinal0 [0x003FDFA9+516009]
Ordinal0 [0x00390554+66900]
Ordinal0 [0x0038CCE2+52450]
Ordinal0 [0x003ABFD7+180183]
Ordinal0 [0x003ABDDD+179677]
Ordinal0 [0x003A9D4B+171339]
Ordinal0 [0x00391D4A+73034]
Ordinal0 [0x00392DC0+77248]
Ordinal0 [0x00392D59+77145]
Ordinal0 [0x0049BB37+1162039]
GetHandleVerifier [0x005BA7C6+508998]
GetHandleVerifier [0x005BA504+508292]
GetHandleVerifier [0x005CF617+594583]
GetHandleVerifier [0x005BB036+511158]
Ordinal0 [0x00493FFC+1130492]
Ordinal0 [0x0049D49B+1168539]
Ordinal0 [0x0049D603+1168899]
Ordinal0 [0x004B5B05+1268485]
BaseThreadInitThunk [0x77156359+25]
RtlGetAppContainerNamedObjectPath [0x77E97B74+228]
RtlGetAppContainerNamedObjectPath [0x77E97B44+180]
[16:10:08] E/launcher - SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 80
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'DESKTOP-XXXX', ip: 'X.X.X.X', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_221'
Driver info: driver.version: unknown
remote stacktrace: Backtrace:
Ordinal0 [0x00520AE3+1706723]
Ordinal0 [0x004868C1+1075393]
Ordinal0 [0x003FDFA9+516009]
Ordinal0 [0x00390554+66900]
Ordinal0 [0x0038CCE2+52450]
Ordinal0 [0x003ABFD7+180183]
Ordinal0 [0x003ABDDD+179677]
Ordinal0 [0x003A9D4B+171339]
Ordinal0 [0x00391D4A+73034]
Ordinal0 [0x00392DC0+77248]
Ordinal0 [0x00392D59+77145]
Ordinal0 [0x0049BB37+1162039]
GetHandleVerifier [0x005BA7C6+508998]
GetHandleVerifier [0x005BA504+508292]
GetHandleVerifier [0x005CF617+594583]
GetHandleVerifier [0x005BB036+511158]
Ordinal0 [0x00493FFC+1130492]
Ordinal0 [0x0049D49B+1168539]
Ordinal0 [0x0049D603+1168899]
Ordinal0 [0x004B5B05+1268485]
BaseThreadInitThunk [0x77156359+25]
RtlGetAppContainerNamedObjectPath [0x77E97B74+228]
RtlGetAppContainerNamedObjectPath [0x77E97B44+180]
at Object.checkLegacyResponse (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\error.js:546:15)
at parseHttpResponse (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\http.js:509:13)
at C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\http.js:441:30
at processTicksAndRejections (internal/process/task_queues.js:93:5)

From: Task: WebDriver.createSession()

at Function.createSession (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver.js:769:24)
at Function.createSession (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\chrome.js:761:15)
at createDriver (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\index.js:170:33)
at Builder.build (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\index.js:626:16)
at Hosted.getNewDriver (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\built\driverProviders\driverProvider.js:53:33)
at Runner.createBrowser (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\built\runner.js:195:43)
at C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\built\runner.js:339:29
at _fulfilled (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:834:54)
at C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:863:30
at Promise.promise.promiseDispatch (C:\Users\B Priyanka\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:796:13)

[16:10:08] E/launcher - Process exited with error code 199

Seems like issue with capabilities. Can you please ping your capabilities here

@Harsha509  with the same capabilities it was working from the last few months.

Yes it will work. from chrome 76+ there are few changes in javascript in each chromedrivers as chrome now purely listens to webdriver protocols and few legacy protocols are deprecated.

okay. apologies i have overlooked. which version of chrome youre using ? if you are using 80 have you done webdriver-manager update

Yes, I am updating and starting webdriver-manager.

Okay. if u update and start the webdriver-manager i would like to look into logs from webdriver-manager start. can you please provide ?

After updating protractor I can run the test suite now.

Great.


hybrid web renderer

Is it possible to create a hybrid web renderers rather then combined web and liveview under one application?  This question might be because i am new here and I am trying to understand if this is possible.

There was some discussion of embedding web only components in liveview applications in https://github.com/DioxusLabs/dioxus/issues/1988. However, Dioxus will be moving support for liveview into a community maintained crate in the future in favor of fullstack. Fullstack acts kind of like a hybrid between web and liveview. Ideally, you get all the offline support and web-sys compatibility of web while still interacting with the server inline in your application with server functions.

@ealmloff thank you for quick response it does make sense.  Ideally if you convert liveview and web as composite components it can maybe provide the architecture freedom for being utilized in fullstack or standalone.  Just a food for thought.  Not sure what is the feasibility of it, but i have seen that this kind of architecture can solve most requirements without consolidating purpose focused features.

We eventually want to merge liveview into fullstack, but this particular issues feels much closer to #1988 than that.


Text Area Input Component for Cred Newpop Web

I would like to propose a new feature for Cred Newpop Web, which involves the addition of a text area input component. Currently, Cred Newpop Web provides various input components such as text fields but a text area input is noticeably missing. This feature would greatly enhance the usability and flexibility of Cred Newpop Web's user interface.

I would like to take on the task of implementing the requested text area input component for Cred Newpop Web


Allow certificate inspection on policy signature verification (including fulcio extensions)

These changes are necessary to fully enable https://github.com/in-toto/witness/pull/353 to work. Also note that this PR contains a fix for a panic in the case of a []RunResult of length 0 (implying an error) getting returned from Run.

lgtm!


How to get cc3m_embeddings

Hi Authors,
How did you get cc3m_embeddings.npy ? Do you use the trained vision encoder and linear project layer? Or you only use the method of  Vector database(I don't know about the Vector database at all)
Thank you!

Hi, I realized this script wasn't added before, so here it is now: https://github.com/kohjingyu/gill/blob/main/scripts/extract_img_embs.py
Hope that helps!


Cypher ANTLR grammar file does not include sub queries

I tried the cypher antlr grammar:
https://github.com/neo4j/cypher-editor/blob/6f476d6e4d73eacb12f922ebe5e6d2c7e11d67df/packages/antlr4/src/Cypher.g4#L149C14-L149C14
It seems the grammar is outdated and does not consider subqueries. It fails to parse the following queries, e.g.:
UNWIND [0, 1, 2] AS x
CALL {
  RETURN 'hello' AS innerReturn
}
RETURN innerReturn

(from https://neo4j.com/docs/cypher-manual/current/clauses/call-subquery/ )
as well as
MATCH (person:Person)
WHERE EXISTS {
    (person)-[:HAS_DOG]->(:Dog)
}
RETURN person.name AS name

and
MATCH (person:Person)
WHERE EXISTS {
  MATCH (person)-[:HAS_DOG]->(dog:Dog)
  WHERE person.name = dog.name
}
RETURN person.name AS name

(from https://neo4j.com/docs/cypher-manual/current/syntax/expressions/#existential-subquery-simple-case )
Suggestion:
Include subqueryclauses like this
subqueryClause :  CALL SP? '{' SP? query? SP? '}' ;

and add the exists sub query to the expressions:
expression : orExpression | existsSubQuery;

existsSubQuery : EXISTS SP? existsSubQueryBody;

existsSubQueryBody: subquery | subqueryPatternBody ;

subqueryPatternBody: '{' SP? pattern ( hint )* ( SP? where )? SP? '}' ;

Note that I am not a cypher expert so the above may be wrong or incomplete.

I found that the grammar also does not support node label expressions (patterns) and relationship type patterns as in:
MATCH (p:Person|(!Organization))-[:(KNOWS&!HURTS)]->(:Person) RETURN p

also function calls in a RETURN are not working when the function names use "keywords":
MATCH (p) RETURN p, labels(p), types(p)

I think I was able to improve the grammar for my purposes but I lost some of the original functionality, so this is merely a note about the shortcomings of the current file. I don't require a fix anymore, but others may do.


Pandas TA MACD not in line with TA Lib

pandas_ta not in line with talib probably because of wrong calculation of EMA9 for signal line (consequence of bug in EMA calculation, see above

@dnabb,
New stable version v0.3.14b should help resolve this Issue. Please let me know otherwise.
You can toggle talib mode if you have TA Lib also in your environment. See help(ta.macd).
$ pip install pandas_ta

Thanks,
KJ

Hello @dnabb,
I assume by no response that the solution provided was sufficient. Thus I will be closing this issue in a few days.
Kind Regards,
KJ

@twopirllc
I still see the problem with v0.3.14b. I currently use talib=False to work around, but I want to know what result  I'm getting is when I set talib=True.
The expected result of the first macd is -55.390257.
import pandas as pd
import pandas_ta as ta

def main():
    df = pd.DataFrame(
        [
            11286, 11325, 11238, 11593, 11509, 11233,
            11147, 11045, 10913, 10970, 10972, 10903,
            11051, 10888, 10837, 10884, 10831, 11065,
            10988, 11138, 10961, 11043, 10957, 11036,
            11000, 11010, 10975, 10934, 10937, 10905,
            10943, 10950, 11123, 11269, 11331, 11346,
            11477, 11715, 12916, 12772, 13124, 13098,
            13416, 13922, 13030, 13272, 13319, 13843,
            13884, 13777, 13887, 13820, 13990, 13619,
            13709, 13810, 13846, 13878, 13889, 14204,
            14000, 13878, 13967, 13781, 13840, 13802,
            13876, 13476, 13561, 13401, 13549, 13470,
            13671, 13739, 13974, 13571, 12303, 12636,
        ],
        columns=["close"],
    )
    ta_result = df.ta.macd(talib=False)
    talib_result = df.ta.macd(talib=True)

    print(ta_result.iloc[25])
    print(talib_result.iloc[25])

if __name__ == "__main__":
    main()

$ python --version

Python 3.10.5

$ pip freeze

numpy==1.22.4
pandas==1.4.2
pandas-ta==0.3.14b0
python-dateutil==2.8.2
pytz==2022.1
six==1.16.0
TA-Lib==0.4.24

$ python main.py

MACD_12_26_9    -55.390257
MACDh_12_26_9          NaN
MACDs_12_26_9          NaN
Name: 25, dtype: float64
MACD_12_26_9    NaN
MACDh_12_26_9   NaN
MACDs_12_26_9   NaN
Name: 25, dtype: float64

Hello @hakumaku,
Yeah. That's not what is intended. 🤔  Thanks for letting me know.
I'll reopen and take a look at it again when I get a chance. Unfortunately I am overwhelmed with so many outstanding issues, I do not have an expected time frame to resolve this. 😑
Kind Regards,
KJ


Can't configure a cryptoKeyReader via ReaderBuilder.loadConf

Describe the bug
I'm trying to configure a CryptoKeyReader with a FlinkPulsarSource.
The Pulsar docs suggest you can configure such a crypto key reader by passing a value for property called cryptoKeyReader.
Here's where those properties are used (on creating the Flink Pulsar source).
The evaluating code tries to deserialize a config object from the property map.
But what would be the value in such a map? It's  not  the class name, as I naively assumed.
If I understand the code correctly, the value doesn't even matter, because the object mapper tries to instantiate an  interface. Resulting in the following error:
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.apache.pulsar.client.api.CryptoKeyReader` (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information
I also asked about this in the flink-connector channel on Slack. But unless I'm missing something, I think it's a bug in Pulsar. Or at least a misleading documentation. Raising this issue to clarify.
(If the calling code was under my control, I could, of course, just use the setter for the crypto key reader. I might do a PR about it here or in the pulsar-flink project. However, I want to clarify the intended usage first. Moreover, I have doubts that my use case is so useful, since most of the time you'll want to configure the crypto key reader.)
To Reproduce
Here's a unit test illustrating what I was trying to do:
@SuppressWarnings("unused")
public static class MyCryptoKeyReader implements CryptoKeyReader {

	@Override
	public EncryptionKeyInfo getPublicKey(String keyName, Map<String, String> metadata) {
		return null;
	}

	@Override
	public EncryptionKeyInfo getPrivateKey(String keyName, Map<String, String> metadata) {
		return null;
	}
}

	@Ignore("Illustrates wrong usage.")
	@Test
	public void readerBuilderLoadConfWithCryptoKeyReaderClassValueTest() throws Exception {

		@Cleanup
		PulsarClient client = PulsarClient.builder().serviceUrl("pulsar://localhost:6650").build();

		Map<String, Object> config = new HashMap<>();

		/*
		* This is what I first assumed.
		* This ISN'T how it works!
		* The `loadConf` method expects a _serialized_ `CryptoKeyReader` at this point.
		*/

		config.put("cryptoKeyReader", "org.apache.pulsar.client.impl.BuildersTest$MyCryptoKeyReader");

		ReaderBuilderImpl<byte[]> builder = (ReaderBuilderImpl<byte[]>) client.newReader()
		.loadConf(config);

		Class<?> clazz = builder.getClass();
		Field conf = clazz.getDeclaredField("conf");
		conf.setAccessible(true);
		Object obj = conf.get(builder);
		assertTrue(obj instanceof ReaderConfigurationData);
		//noinspection rawtypes
		assertTrue(((ReaderConfigurationData)obj).getCryptoKeyReader() instanceof MyCryptoKeyReader);

}

It reproduces the error mentioned above.
Expected behavior
I inspected a property where I could pass a class name of a CryptoKeyReader implementation with a no-arg constructor, which would be instantiated on loading the config.
Desktop (please complete the following information):
uname -a
Linux otto 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Additional context
Same question in the Pulsar Slack.
Issue 7579 is similar.

Created #386 in the streamnative/pulsar-flink project.

The issue had no activity for 30 days, mark with Stale label.

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.


dbsize return wrong number of key

Hi,
-dbsize: return 22596 (the same the result of command: info keyspace)
-keys *: return 425 (return a set with 425 elements)
-scan: return 425 (return a list with 425 elements)
Could you please check it.
Thank you.

https://github.com/yinqiwen/ardb/wiki/ARDB-Commands
https://github.com/yinqiwen/ardb/issues/363

Thanks for your information


vue.common.dev.js:630 [Vue warn]: Missing required prop: "text"

Hi, I get this error when add this <vue-speech-recognition/>  <vue-speech-synthesis/>in mine component.  I had register VueSpeech in boostrap file import VueSpeech from '@codekraft-studio/vue-speech' and `Vue.use(VueSpeech);'. Can you help me?

yes, sorry it's mine fault, the documentation in the readme file is incomplete..
checkout the working demo source code to see how is used, the speech synthesis requires a given text property with the text to sythetize

OO thank you for a replay. And please find a little bit time to update readme. It's awesome package and will be nice to have a nice readme.

yes I will update it as soon as possible with at least a getting started guide for the components.
thanks for using this plugin! If you have any user-feedback or suggestion about the usage feel free to say it!

Hi,I didn't like to make new issue here because some developers count issues instead of some other things. Can you tell me how to solve this issue. When I click on record icon it didn't record me nothing and still blocked even I click on ask if need. I use chrome browser and app is run localy in virtual host: http://testproject.test  . Is there any issue with virtual host and did host need to be https to that feature works? Or I miss something.

it should ask for permissions first, check if you haven't blocked permissions for that particular site (or all sites) check this google reference in case, eventually check if your microphone is available through the system.

unfortunately the online demo is no more available but you can try to clone the project locally and serve it with npm run serve it should start the development server with the old demo at http://localhost:8080/ and you can try if you can record your voice with the recognition component

Here is demo video for that:
https://streamable.com/gqwkk
And in console when I click on recording button it's just console log "Voice recognition ended."

ok, I will take a look a it this afternoon when I come back from work and let you know what could be the problem, thanks for your patience by the way!

Maybe I findout what is the issue with work on localhost:
https://medium.com/@Carmichaelize/enabling-the-microphone-camera-in-chrome-for-local-unsecure-origins-9c90c3149339
maybe it will helps you and maybe you can mention in documentation ;)

interesting! I will add it in the documentation.
actually I didn't know that before, since I mostly develop from localhost and is threat like a safe origin.
in your case probably depends on the fact that you are developing from a custom hostname and chrome is blocking you even if you click on allow because of the security policies.
I'm happy to hear that is working now, also few updates are coming soon since I realized this module needs few fixes and more features.

It's happened because I use homestead and virtual host. I think that make that issue. (I send you friend request in linkedin so we can talk privatly :) )


v0.1.1: UnicodeDecode Error while launching through Refinery

Dataset Used: https://www.dropbox.com/s/59i4mot0qhy2xdl/heatmap_scatterplot_demo.csv?dl=0
docker logs:
(refinery-platform)vagrant@refinery:/vagrant/refinery$ docker logs f1ef0d37de0d
args from __main__: demo: False
files: [<_io.TextIOWrapper name='/refinery-datanormalizedCounts.csv.gz' mode='r' encoding='UTF-8'>]
diffs: [<_io.TextIOWrapper name='/refinery-dataDE_H460_treament_ko_vs_wt_all.csv.gz' mode='r' encoding='UTF-8'>, <_io.TextIOWrapper name='/refinery-dataDE_H2009_treament_ko_vs_wt_all.csv.gz' mode='r' encoding='UTF-8'>]
most_variable_rows: 500
port: 80
profile: False
html_error: False
debug: False
api_prefix: /visualizations/HeatmapScatterplot-653bca82-acdc-4dc7-9627-30288a63177e/
Traceback (most recent call last):
  File "app_runner_refinery.py", line 111, in <module>
    app_runner.main(args)
  File "/app_runner.py", line 91, in main
    server = init(args=args, parser=parser)
  File "/app_runner.py", line 44, in init
    dataframes = file_dataframes(args.files)
  File "/app_runner.py", line 22, in file_dataframes
    frames.append(tabular.parse(file))
  File "/app/utils/tabular.py", line 11, in parse
    dialect = Sniffer().sniff(file.readline())
  File "/usr/local/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Good catch!
    # We could use read_csv with separator=None...
    # but that requires the python parser, which seems to be about
    # three times as slow as the c parser.
    dialect = Sniffer().sniff(file.readline())
    file.seek(0)
    with warnings.catch_warnings():
        # https://github.com/pandas-dev/pandas/issues/18845
        # pandas raises unnecessary warnings.
        warnings.simplefilter("ignore")
        dataframe = read_csv(
            file,
            index_col=0 if col_zero_index else None,
            dialect=dialect
        )

Pandas read_csv claims it can handle gzip... But I'm trying to sniff the delimiter first (because if I pre-sniff, I can use the C parser, and that's a lot faster.), and that sniffing can't handle zipped files. so...
Hopefully there is an option to unzip just the first few K? But first look at the file extension to see if that's necessary.