Validation trigger on "Change" event

From the code I have looked at, it looks like validation is only triggered on key events, blur/focus events.
I use several plugins for custom input fields, which hide the original text field and replace it with nameless select inputs (i.e. combodate.js, tokenfiled.js, etc).  All of these plugins set the original input as display none (or push off screen) so that they remain serializable.  When the specialised fields are set by the user, they update the original input's value and then fire a change event on the original input.
Unfortunately validation does not happen on the original fields until form submit happens.
I tried a workaround bu doing something like the following:
$('#original_element').on('change', function(evt){
    $(this).trigger('blur');
}

and
$('#original_element').on('change', function(evt){
    $(this).valid();
}

But I get weird results.  The error message will show up, but then when another field is focused, the error class disappears from the element (well the element wrapper), and it is also kind of a kludgy way of doing it.
Would it be possible to have validator also listen to on change events as well?

Hello,
Im having the same issue. Need to validate selects tag   on changes event is triggered.
this is not solved yet?

Here is a temporarily solution I use:
$('form select').each(function(){
	var event = $._data(this, 'events');
	if(!event || !event.change) {
		$(this).bind("change", function() {
			$(this).blur().focus();
		});
	}
});

@cybersubtype Thanks...
I solved following @pratik60 recomendations...
Thanks a lot guys!

I find it pleasantly amusing how such old posts help people, on here or stack overflow :-)


Fix 44 - Detect binary (CBOR) and skip rules engine processing in the 0MQ even…

…t subscriber; ugly but works for now
Signed-off-by: Jim White<EMAIL_ADDRESS>

ARM build failure reportedly caused by missing nss component.
Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so at sun.security.pkcs11.Secmod.initialize(Secmod.java:193) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:218)

Recent reports find that OpenJDK alpine base image is missing nss component.

This Alpine 3.7-3.9 bug was recently filed. Seems the 3.6 image is likely also exhibiting the error.

Workaround is to add nss separately (via Dockerfile.aarch64):
RUN apk add --no-cache nss

Thanks for digging out the nss lib error Toby.  That fix worked.  Looking for approval to merge.

@tsconn23 I think you may be only reviewer with write access to this repo.


17 vulnerabilities issues

There is a vulnerability issue with packages

Hi @dilas12345
Please provide examples of vulnerabilities in order to correct them

I ran npm install express and npm didn't report anything, at least. But please follow https://github.com/expressjs/express/blob/master/Security.md


62 Implement DataAccess Layer

Add a Data Access Layer to the project. It handles CRUD for Bid and Signal models.

Also waiting on adding the workflow to be merged to [main]

#70

Needs a version tag before being merged as well.

Rebased the branch from main to resolve the merge conflicts


Update sound-swapper

Update to plugin version 2.0.
Added:

additional configuration options (whitelist, blacklist, volume)
new method of loading sounds to allow for overlapping effects
debug overlay to view sound ids

Please remove enabledByDefault = false in the plugin's descriptor
LGTM otherwise

Fixed


Master Security Group Rule Does Not Match Terraform Configuration

Description
I have attempted to add a specific rule for auto-generated master security group to allow SSH access. The rule is to allow port 22 access from anything on the internal network of my VPC. However, the result in AWS shows that it is open to all ports, not just 22.
I have the following section in my module configuration
master_security_group_rules = {
    "default" : {
      "cidr_blocks" : [
        "<IP_ADDRESS>/0"
      ],
      "description" : "Allow all egress traffic",
      "from_port" : 0,
      "ipv6_cidr_blocks" : [
        "::/0"
      ],
      "protocol" : "-1",
      "to_port" : 0,
      "type" : "egress"
    },
    "ssh_access" : {
      "cidr_blocks" : [data.terraform_remote_state.shared_state.outputs.shared_vpc_cidr],
      "description" : "Allow ssh traffic",
      "from_port" : 22,
      "ipv6_cidr_blocks" : ["::/0"],
      "protocol" : "-1",
      "to_port" : 22,
      "type" : "ingress"
    }
  }

Here is a screen shot of the respective SG ingress table.

As you can see it created the rule but for every port, not just 22.
The terraform state for the rule looks correct...
{
    "index_key": "ssh_access",
    "schema_version": 2,
    "attributes": {
      "cidr_blocks": [
        "<IP_ADDRESS>/16"
      ],
      "description": "Allow ssh traffic",
      "from_port": 22,
      "id": "sgrule-4093924578",
      "ipv6_cidr_blocks": [
        "::/0"
      ],
      "prefix_list_ids": null,
      "protocol": "-1",
      "security_group_id": "sg-04d6a320e7f0178ca",
      "security_group_rule_id": "",
      "self": false,
      "source_security_group_id": null,
      "timeouts": null,
      "to_port": 22,
      "type": "ingress"
    },
    "sensitive_attributes": [],
    "dependencies": [
      "data.aws_vpc.vpc",
      "data.terraform_remote_state.shared_state",
      "module.emr.aws_security_group.master"
    ]
  }
]
    }

The state for the security group itself does match what is in AWS but it doesn't match the rule...
"ingress": [
    {
      "cidr_blocks": [
        "<IP_ADDRESS>/16"
      ],
      "description": "Allow ssh traffic",
      "from_port": 0,
      "ipv6_cidr_blocks": [
        "::/0"
      ],
      "prefix_list_ids": [],
      "protocol": "-1",
      "security_groups": [],
      "self": false,
      "to_port": 0
    }
...
]

Versions

Module version [Required]: 1.0.0

Terraform version: 1.4.6

Provider version(s): AWS v5.5.0

Reproduction Code [Required]
See above, using code that closely follows the private instance_groups https://github.com/terraform-aws-modules/terraform-aws-emr#private-cluster-w-instance-group
Steps to reproduce the behavior:
I am using terraform cloud with workspaces
Expected behavior
The SSH rule should be just port 22
Actual behavior
The SSH rule is all ports
Terminal Output Screenshot(s)

Your syntax is incorrect and you have all IPc6 in the CIDR block. Please try below:
locals {
  master_security_group_rules = {
    default = {
      cidr_blocks      = ["<IP_ADDRESS>/0"],
      description      = "Allow all egress traffic",
      from_port        = 0,
      ipv6_cidr_blocks = ["::/0"],
      protocol         = "-1",
      to_port          = 0,
      type             = "egress"
    }
    ssh_access = {
      cidr_blocks = [data.terraform_remote_state.shared_state.outputs.shared_vpc_cidr],
      description = "Allow ssh traffic",
      from_port   = 22,
      protocol    = "tcp",
      to_port     = 22,
      type        = "ingress"
    }
  }
}

closing with guidance provided above - please feel free to respond if still facing issues


setup filesystem implicitly to load ressource out of JAR file

SqlFeaturesIterable.class.getResourceAsStream("/sql_features.tsv") will setup the filesystem implicitly load the resource as stream

LGTM


找不到依赖

Running "flutter pub get" in chat-demo-flutter...
Because timuikit depends on bugly any which doesn't exist (could not find package bugly at http://pub.oa.com), version solving failed.

问题已解决，辛苦重新pull，然后安装


Blocked Domains trying to transition from updated to updated

Hello, I noticed that now that we don't try to comunicate with blocked domains aac75dd4c3f9a5d4e17ab590c5dae421cc7c6591 and 83b57a0998d60fa3edef1d9395cda36b452f8e60 the blocked domains are trying to go from outdated to outdated and failing during this transition.
takahe-stator-1  | Traceback (most recent call last):
takahe-stator-1  |   File "/takahe/stator/runner.py", line 238, in clean_tasks
takahe-stator-1  |     task.result()
takahe-stator-1  |   File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 449, in result
takahe-stator-1  |     return self.__get_result()
takahe-stator-1  |            ^^^^^^^^^^^^^^^^^^^
takahe-stator-1  |   File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
takahe-stator-1  |     raise self._exception
takahe-stator-1  |   File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
takahe-stator-1  |     result = self.fn(*self.args, **self.kwargs)
takahe-stator-1  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
takahe-stator-1  |   File "/takahe/stator/runner.py", line 268, in task_transition
takahe-stator-1  |     result = instance.transition_attempt()
takahe-stator-1  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
takahe-stator-1  |   File "/takahe/stator/models.py", line 216, in transition_attempt
takahe-stator-1  |     raise ValueError(
takahe-stator-1  | ValueError: Cannot transition users.domain: blob.cat: from updated to updated - not a declared transition

Btw, I edited the error message code locally to show the target of the failure.
I'm not yet super familiar with the underlying stator code, so I'm not sure if this is caused by a race condition or other issue but I noticed that checking the domains after the error its state keeps as updated, but the state_next_attempt is not incremented so it keeps failing again periodically.

Actually, I think the right solution here is to allow that transition - I deliberately didn't want to move to outdated so that someone reading the logs might think we were communicating. Doing the transition will reset the timer to 7 days again, as well, so it shouldn't busy loop.

So, how to block it from failing and also to be constantly queued in the stator loop? Implement an updated to updated transition and send the next check to datetime max value? But also then if we need to unblock a domain,  should we reset the date?

Ah ok got it. Accept the update to go through so the timer bumps 7 days, I'll follow this way.


Proxy is running but browser not connect with grpc Server

Hi i have created envoy proxy. Proxy is running on port 8080 when ever i call port from browser so its show me error code 12 but cant show any message actually browser are not connecting with grpc server.grpc server was running on port 9090 i have also given in envoy.yaml file but its not working
I am using reactjs so here my code to connect with grpc proxy which will connect me to grpc server
const client = new TodoServiceClient('http://localhost:8080');
as i given my proxy port is 8080 thats why i am calling that port from react but it given me code 12 sometimes gives me and cross origin erros.Cors is also enable.
My react clientside is running on port 8081.
This is my Docker file
FROM envoyproxy/envoy:latest CMD /usr/local/bin/envoy -c ../../envoy.yaml -l trace --log-path /tmp/envoy_info.log
My docker compose file
version: '3'
services:
  envoy:
    build:
      context: ./
      dockerfile: ./envoy/docker/Dockerfile
    image: grpcweb/envoy
    ports:
      - "8080:8080"
    links:
      - echo-server

My envoy.yaml file
admin:
  access_log_path: /tmp/admin_access.log
  address:
    socket_address: { address: <IP_ADDRESS>, port_value: 8081 }

static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address: { address: <IP_ADDRESS>, port_value: 8081 }
    filter_chains:
    - filters:
      - name: envoy.http_connection_manager
        config:
          codec_type: auto
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains: ["*"]
              routes:
              - match: { prefix: "/" }
                route: { cluster: echo_service }
              cors:
                allow_origin:
                - "*"
                allow_methods: GET, PUT, DELETE, POST, OPTIONS
                allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web
                max_age: "1728000"
                expose_headers: custom-header-1,grpc-status,grpc-message
                enabled: true
          http_filters:
          - name: envoy.grpc_web
          - name: envoy.cors
          - name: envoy.router
  clusters:
  - name: echo_service
    connect_timeout: 0.25s
    type: logical_dns
    http2_protocol_options: {}
    lb_policy: round_robin
    hosts: [{ socket_address: { address: <IP_ADDRESS>, port_value: 9090 }}]

My client side React code
const client = new TodoServiceClient('http://localhost:8080');
  var request = new Todo();
  request.setTodo('My todo');
  // request.setDescription("My description")
  var metadata = {'custom-header-1': 'value1'};
  var call = client.insert(request, metadata, function(err, response) {
    if (err) {
      console.log("My error",err.code);
      console.log("My error message",err.messge);
    } else {
      console.log(response.getMessage());
    }
  });

Please guide me what i am doing wrong i have also running docker i run proxy server using docker-compose up -d envoy everything is running fine but when i call proxy from browser because proxy is the main way to connect with gRPC server.Its how me error code 12
This issue will help everyone whose working on react and other library of web so please help me there is no tutorial of this.
Thanks.

This is an issue for grpc/grpc-web


[wip] json format support of learner and model payload

make rabit checkpoint (learner and tree) json format, helps with front end visualization(zoom in and zoom out with "debugger" as new tree were added in fly) as well as backward compatibility moving forward.
detail discussion here
https://github.com/dmlc/xgboost/pull/4808#discussion_r323065856
master ticket
https://github.com/dmlc/xgboost/issues/3980

I have a WIP PR doing it.  It will take some time.

got it.


some smaller clean-up

I totally agree to keeping Owl as simple (and clean) as possible, because I really like it that way. I just think that if there is a function in R7RS or one of the popular SRFIs, it makes little sense to re-invent the wheel by using different names and/or argument order (although I'm aware that Owl predates some of the standards). That makes it harder for Schemers to get started with Owl.

Fair enough. I'd be ok with changing such definitions to match Scheme.


Added environment.yml for simpler conda installation

Simpler conda installation by using environment.yml requirements.
conda env create -f python2.7-environment.yml
Linux or Mac: source activate catalyst
Windows: activate catalyst

Ok. I added a conda python-dev package that should hopefully handle all those issues.


(BKR-1548) Totally disable getty when using docker

beaker-docker must run containers in privileged mode with an /sbin/init
entrypoint to successfully simulate a full operating sytem. This
combination can cause the container to open virutal consoles on the host
machine. These getty processes regularly consume 100% of CPU; they are
not automatically killed when the container is destroyed, and must be
cleaned up manually.
tty1 getty services were already disabled as part of the default set of
image commands for docker platforms, but this did not prevent the
behavior for other ttys. Replacing the getty executable with a copy of
/bin/true successfully disables all of them.
https://github.com/moby/moby/issues/4040 describes this issue and the workaround (and mentions beaker-docker explicitly).

The spec tests should be updated here to reflect your changes:
https://github.com/puppetlabs/beaker-hostgenerator/blob/2ffc6e815ae6e87208cd0b87bb771e868b1d7edd/test/fixtures/per-host-settings/every-hypervisor.yaml#L52-L54

Oops, thanks! I've updated the fixture and things are passing for me locally now


Parser problems

Some current parser problems, checked against ARIA and Cakewalk.

[x] recursive dollar variable expansions (#230)
validity: ARIA, Cakewalk

If the variable expands to another string with dollar, it should be expanded again.
Example:
#define $A 1
#define $B $A
$B

⇒ 1

[x] stop reading the #define value at the first space (#230)
validity: ARIA

#define $A foo bar

In ARIA, the value of A is foo. Anything which follows is parsed like SFZ syntax.
In Cakewalk, the value of A is foo bar.
This means also in ARIA you can write such things as:
#define $A foo #define $B bar

[x] don't left-trim the #define value (probable bug, not implemented unless necessary)
validity: ARIA

Example:
#define $A   foo

The value of A will be "  foo", with the spaces included.
In Cakewalk, the value is left-trimmed.

[ ] expand the dollar variables across several tokens of the grammar
validity: ARIA, Cakewalk

Example:
#define $MyOpcodes sample=*sine
//This form Cakewalk-only:  #define $MyOpcodes pitch_keycenter=69 sample=*sine
<region> $MyOpcodes

In Cakewalk, the example is treated as two opcodes in a region.
In ARIA, this is only the first opcode in the region, because is stopped reading the value at the first space. (see other case above)

Since there's apparently out there some ARIA files which depend on
Example: #define $A 1 #define $B 2
We should decide a middle-ground solution for compatibility.
One idea is to examine the text under cursor when meeting a space. (eg. just after "1" in the example above)
If the lookahead is '#', '<', or some "opcode=[...]", we may stop reading the value there, otherwise continue.

So the 4th item

expand the dollar variables across several tokens of the grammar (validity: ARIA, Cakewalk)

is also handled by #230?

No this one is significantly harder in the state of things.
Hopefully, there aren't many files out there using this crazy form.
When tokens are expanded as a result of $-expansion, there isn't an adequate SourceRance to assign to them.
This would have to be handled in a simliar way to how libclang does.
Essentially it's a distinction between a file location and a semantic location, where the latter points to the content of a macro expansion.
Then after having this, the next problem is to reexamine the way how to process the character stack.
In case of ungetting chars, it has to track whether the character source is from a $-expansion or from file, and keep the state accordingly.

[ ] more fun with ARIA and definitions
#define $give <region> #define $me$ sample=* $give$me$sine

Meh. I was hopeful about this one thinking "Ho, having #define $MyOpcodes opcode1=value1 opcode2=value2 ... would be a compatible way to implement composition rather than hierarchies in SFZ file" but it doesn't work in ARIA then...


Sitemap-based testing and slightly better output

Addresses #5 by adding sitemap pulling through bash command line prompt.
It also attempts to start the addressing of #7 by providing a stdout representation of the findings that can be looked at in the outputting HTML, as well as inline in a CLI version.
I found the reasoning for a bash-based solution is due to playwright needing tests scoped in the current file level.  Using a promise or async results in the wrong scope occurring when defining the test.  By using IO to retrieve the list, we perform a blocking action, resulting in the tests occurring at the right scope level.
Acceptance criteria

[ ] Can run pnpm run sitemap https://yalesites.yale.edu and a sitemap.links file is created

[ ] The sitemap.links file is a text file containing return-delimited URLs from the sitemap.xml file.

[ ] Running npx playwright test ./tests/axe-sitemap.spec.ts results in a running test of the sitemap.links URL contents
[ ] The output of an errored page has a stdout section at the bottom, listing the violations in a slightly more readable format.  (more of a proof of concept than a finished item)
[ ] Running pnpm run a11y https://yalesites.yale.edu results in a sitemap.links file being retrieved and the a11y tests being ran as an all-in-one-run solution.

@myvaughn Fixed ;)

I'll merge this first, and then make documentation changes to the docs one on how to run this.


Upgrade flow to 0.112.0

Move all of node_modules under declarations
Add @adeira/flow-bin

Move all of node_modules under declarations

Considering the large number of FlowFixMe annotations added in the PR, what's the reasoning behind this? Have there been changes in Flow that motivate it?

Add @adeira/flow-bin

What's the benefit of adding this as a dependency?

[declarations] up until recent version (0.111 or 0.110) was broken, so modules was added to untyped instead to silence warnings from within react-native itself. This has led to us also typing our code without types for these modules. Now that declarations is fixed, we should not make future errors here, but rather silence the ones we have and fix them in the future. Fixing these errors within one PR would make this PR way too big.
Add @adeira/flow-bin is for the moment the same as<EMAIL_ADDRESS>which is being used in universe, kiwicom/flow-bin is no longer maintained, while adeira/flow-bin is.
It does some caching, making flow faster.


ValueError: expected 5D input (got 4D input)

Having the same issue here. What was that about?

./torch/nn/modules/instancenorm.py
def _check_input_dim(self, input):
reshape (N,C,H,W) to  (N,C,1,H,W)

    if input.dim() != 5:
        raise ValueError('expected 5D input (got {}D input)'
                         .format(input.dim()))

The issue will be solved but the coreml model is terrible


Fix issue when using multiple maps.

Signed-off-by: liaan<EMAIL_ADDRESS>

@LiaanM What issue does this solve?  Can you please describe what this is intended to address?

When more than one map is used at the same time the document.getElementsByClassName('basemap') selects all the basemap icons and changes the active icon for all maps but only changes the active layer of the currently selected map.  This causes the other maps to be unable to switch between map layers as the active icon does not correspond to the active layer.  Adding the map container id to the 'basemap' selector allows each basemap to operate independently on each map.

Thanks @LiaanM 🎉  - I simplified a bit from your original fix.  Thanks for reporting the issue and submitting a fix!
I added examples/multiple_maps.html to prove the fix works.


Attention needed! Likes and comments temporary fix.

Hello
I had created this repo months ago and at that time I had to create a temporary fix of the following things:-

Liking a post -

// Under utils/handlers/user.js
function like(user, like, _id, cb) {
	User
	.findOne(user)
	.exec((err, obj) => {
	//	if (!obj) return cb("Does not exist.",null);
		//console.log(obj);
		for(var i=0;i<obj.posts.length;i++) {

			if(obj.posts[i]._id == _id) {
					obj.posts[i].likes.push(like.by);
					obj.delete(); // Need to fix this
					var newUser = new User({
							username:obj.username,
							password:obj.password,
							firstname:obj.fn,
							lastname:obj.ln,
							dob:obj.dob,
							bio:obj.bio,
							profile_pic:obj.profile_pic,
							posts:obj.posts,
							followers:obj.followers,
							likes:obj.likes,
							lastLogin:new Date(),
					});

					newUser.save((err, res) => {
							cb(err, true);
					})

					}
				}

	})
}

In function like(),
I couldn't save the document after pushing the like into the post array of a user.
I tried
obj.posts[i].likes.push(like.by);
// and then simply did
obj.save(() => {});

This is not working...and not saving the updated document.

Comments -
Same issue as above

What did I do as a temporary fix.
I pushed the like into post array and then deleted the original doc and then created a new doc with updated like/comment.
Regards,
Divy Srivastava

Have you tried obj.save()???

Now works using this code
					obj = new User(obj);
					obj.save((err) => {cb(err, true)})```

Thanks!
Issue resolved
Achievement Unlocked! lol


Prevent Access to Tables not Specified in ABI

[ ] verify the table type matches
[ ] verify that a table name can only be used for a single index
[x] verify that the ABI definition doesn't define multiple tables with the same name

These checks can be skipped during replay

Investigating.

verify that the ABI definition doesn't define multiple tables with the same name
Already done by setcode call to AbiSerializer ctor, which calls setabi, which compares size of AbiSerializer map of tables to Abi vector of tables.

@bytemaster
"verify the table type matches"
There are 2 ways I can see this being done.  It could be checked in the store/read_*** wasm_interface intrinsic methods, but this would be a lot of wasted checks, since each wasm store/read only needs to be verified once.
So I am thinking that this needs to be done in the load, and the ModuleInstance analyzed.
"verify that a table name can only be used for a single index"
This really should be "verify that every code's table name can only be used for a single index", right?  And then doesn't the fact that we verify that the ABI definition doesn't define multiple tables with the same name and that we "verify that the table type matches" already ensure this?
Also, I am presuming these are only performed if an ABI is provided, are there any checks we want to perform if there is no ABI?  Like ensure that table reads and writes are consistent with each other?

Would think that this information has to be available in the processed WASM structure, but having a hard time identifying it.  If it isn't we could identify it as we process the WASM.

@bytemaster
Needs Clarification:
I am presuming the intent of this is safety (ensuring table access is consistent with ABI), not security, is that correct?
The statement about "these checks can be skipped during replay" sounds like these checks were planned to occur every time the code runs, but this seems to be a cost that shouldn't have to be incurred every time the code runs, vs. either using data in the existing loaded WASM structure (if it is possible) or else added to the WASM structure processing.  If I don't get clarification on this I will plan to do the checks as the code is run, since that comment seems to assume this.
If the ABI is not provided, should a "lazy" ABI table definition be constructed as the code is run through, to ensure a table only has one type?  Until I hear otherwise, I will assume the answer to this question is "yes".
For "verify that a table name can only be used for a single index", I will not do anything on this till I get clarification on exactly what it means.

"verify the table type matches"
Assuming this means that  the indextype matches, since that is available in the code, but actually identifying the type involved would require parsing the wast.
Working on tests.

Still working on adding tests.

Resolved by #573


Added method to use curl with a minimum TLS version specified as

Added method to use curl with a minimum TLS version specified as argument.

LGTM!


Load gif animation multiple times, not play from the first frame

description

load a gif file like this: AssetImage("xx.gif")
2.this time the gif play start from the first frame
3.the widget disposed, and load again, this time the gif don't start from the first frame.

This problem is more obvious when using gif on  banner swiper
my analysis
I had read the flutter code about image load, I guess it is maybe caused by flutter cached the codec of the image, and the codec object include current frame information.
and i solve this problem by call codec.getNextFrame() proper times, set the current frame point to the last frame.But this is not too stable, because codec does not export an interface for get the current potion.
I hope
I want to start from the first frame every time I play a gif
flutter --version
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (3 weeks ago) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0

When you are loading the gif the second time, you're getting a cached version.  Sounds like we need to somehow make sure to give you frame one when you pull it from the cache.

Hi @peasfarmer,
Can you confirm if you still experience this issue on latest Stable version (1.20.2) ?
Thanks.

@darshankawar
Thank you for solving this problem, I will test this problem in these two days.

Unfortunately, I found that it didn’t work. I have upgraded to 1.20.2 and wrote a demo. The demo loads a Swiper, There are 5 gifs in the swiper,each gif counts down from 25, first frame is show 25. In the first round, they all start from 25, but when the second round started it was wrong.and i print log found the gif widget had call dispose.
I don’t know if my test method is wrong, I look forward to your reply

Screenrecord.mp4.zip
flutter_gif.zip

I'm going to close this as WAI.
You can avoid caching this image when you dispose as follows:
  AssetImage image;

  @override
  void initState() {
    super.initState();
    image = AssetImage(widget.asset);
    print('${widget.asset} initState');
  }

  @override
  void dispose() {
    print('${widget.asset} dispose');
    image.evict();
    super.dispose();
  }

And then use the image property instead of creating a new AssetImage in each build.

@dnfield
think you,this problem solved.


Fix: Pass iframe data on every call

Problem solved
This removes any assumptions of the iframe's local storage persistence.

PR-Codex overview
This PR focuses on fixing the flaky authentication state in Progressive Web Apps (PWAs) by enhancing the InAppWalletIframeCommunicator and IframeCommunicator classes to properly manage local storage and client information.
Detailed summary

Added localStorage, clientId, and ecosystem as parameters to IFrameCommunicatorProps.
Modified the constructor of IframeCommunicator to accept and assign localStorage, clientId, and ecosystem.
Updated onIframeLoadedInitVariables to retrieve authentication data from localStorage.
Enhanced message posting to include initialization data with every request to handle storage resets.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Merge activity

Oct 16, 11:04 PM EDT: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Use torch.nan_to_num replace numpy wrapper one

@jinyouzhi, thanks for the PR. How can we avoid breaking backwards-compatibility with older pytorch versions >= 1.12?

@jinyouzhi, thanks for the PR. How can we avoid breaking backwards-compatibility with older pytorch versions >= 1.12?

Great advice! I checked torch doc and find nan_to_num function added at torch 1.8, if 1.12 is better one please let me know, Thank you for review!


Hardware id and release counters

Greetings,
I have implemented release counters and hardwareIDs in all the relevant Uptane modules, including errors and exceptions linked to it.
I have also demonstrated 3 attacks:

Image_rollback_attack : A compromised director attempting to install an image with an outdated release counter.
Confused_bundle_attack : A compromised director attempting to install an image with mismatching release counters.
Sneaky_director_attack : A compromised director attempting to install an image with mismatching hardware IDs. Basically, intending to install an image on an ECU which it was not meant for through leveraging the ECU Serial.

All these attacks can be called in the script through the following, please see the function definitions for more advanced function calls:
The names correspond with the usual demos.
image_rollback_attack
di.image_rollback_attack("Attack1.img")
dd.image_rollback_attack("Attack1.img")
dp.update_cycle()
ds.update_cycle()
confused_bundle_attack
di.confused_bundle_attack("Attack2.img")
dd.confused_bundle_attack("Attack2.img")
dp.update_cycle()
ds.update_cycle()
sneaky_director_attack
di.sneaky_director_attack("Attack3.img")
dd.sneaky_director_attack("Attack3.img")
dp.update_cycle()
I have also added a couple of launch_* files that are just python scripts to launch the demo
use:
python -i launch_[name].py

(Also, don't stress about the gaps: it's expected that I'll find things, or we wouldn't need to bother with code reviews. Do try to check each comment afterwards to make sure it has been addressed, though, so the reviewer isn't going through again and catching the same issues. Note that Github will collapse the comments if the code they're attached to has been changed, but that doesn't mean the comment has been addressed; that makes it easier to miss some, so keep an eye out.)


Running TF-Slim inception model fails with spark 2.1.0 and Yarn

I am running TF-slim inception example(train_image_classifier.py) example on spark 2.1.0 with 3 node yarn cluster.spark submit command is below,
${SPARK_HOME}/bin/spark-submit --master yarn --deploy-mode cluster
--queue ${QUEUE}
--num-executors 3
--executor-memory 4G
--py-files ~/slim.zip
--conf spark.dynamicAllocation.enabled=false
--conf spark.yarn.maxAppAttempts=1
--conf spark.executor.heartbeatInterval=40s
--conf spark.executor.cores=1
--conf spark.ui.view.acls=*
--archives hdfs://<IP_ADDRESS>:8020/user/tflow/Python.zip#Python
--conf spark.yarn.maxAppAttempts=3
--conf spark.yarn.appMasterEnv.PYSPARK_PYTHON=/usr/bin/python3
--conf spark.executorEnv.LD_LIBRARY_PATH="$HADOOP_HOME/lib/native:$JAVA_HOME/jre/lib/amd64/server"
--conf spark.executorEnv.CLASSPATH=$($HADOOP_HOME/bin/hadoop classpath --glob):${CLASSPATH}
${TFoS_HOME}/examples/slim/train_image_classifier.py
--dataset_dir ${DATASET_DIR}
--train_dir hdfs://mcpip:8020/user/tflow/slim_train_yarn
--dataset_name flowers
--dataset_split_name train
--model_name inception_v3
--checkpoint_path hdfs://mcpip:8020/user/tflow/pretrainedmodels/inception/inception_v3.ckpt
--checkpoint_exclude_scopes InceptionV3/Logits,InceptionV3/AuxLogits
--trainable_scopes InceptionV3/Logits,InceptionV3/AuxLogits
--max_number_of_steps 1
--batch_size 32
--num_ps_tasks 1
each node is of 16GB and i have given multiple tries allocating more and more memory but each time, spark web ui shows executors failed with OutOfMemory error.I wonder why running spark job for very small flower dataset fails. while the same job runs fine when I run on standalone cluster manager (yarn).
I doubt whether there is a support from TFoS on spark 2.1.0 + yarn . can you plz confirm ?

I also checked executors logs and I found something weird.I fond the following error on ps node.
2017-10-26 07:51:23,476 INFO (MainThread-5469) Stopping all queues
17/10/26 07:51:23 ERROR executor.Executor: Exception in task 0.0 in stage 1.0 (TID 9)
org.apache.spark.api.python.PythonException: Traceback (most recent call last):
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000004/pyspark.zip/pyspark/worker.py", line 174, in main
process()
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000004/pyspark.zip/pyspark/worker.py", line 169, in process
serializer.dump_stream(func(split_index, iterator), outfile)
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 2407, in pipeline_func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 2407, in pipeline_func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 2407, in pipeline_func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 2407, in pipeline_func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 346, in func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 794, in func
File "/usr/local/lib/python3.5/dist-packages/tensorflowonspark/TFSparkNode.py", line 532, in _shutdown
queue = mgr.get_queue(q)
File "/usr/lib/python3.5/multiprocessing/managers.py", line 628, in temp
token, exp = self._create(typeid, *args, **kwds)
File "/usr/lib/python3.5/multiprocessing/managers.py", line 522, in _create
id, exposed = dispatch(conn, None, 'create', (typeid,)+args, kwds)
File "/usr/lib/python3.5/multiprocessing/managers.py", line 83, in dispatch
raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError:
Traceback (most recent call last):
File "/usr/lib/python3.5/multiprocessing/managers.py", line 195, in handle_request
result = func(c, *args, **kwds)
File "/usr/lib/python3.5/multiprocessing/managers.py", line 351, in create
obj = callable(*args, **kwds)
File "/usr/local/lib/python3.5/dist-packages/tensorflowonspark/TFManager.py", line 34, in
TFManager.register('get_queue', callable=lambda qname: qdict[qname])
KeyError: 'input'
I am attaching the complete logs here.

I also checked executors logs and I found something weird.I fond the following error on ps node.
2017-10-26 07:51:23,476 INFO (MainThread-5469) Stopping all queues
17/10/26 07:51:23 ERROR executor.Executor: Exception in task 0.0 in stage 1.0 (TID 9)
org.apache.spark.api.python.PythonException: Traceback (most recent call last):
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000004/pyspark.zip/pyspark/worker.py", line 174, in main
process()
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000004/pyspark.zip/pyspark/worker.py", line 169, in process
serializer.dump_stream(func(split_index, iterator), outfile)
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 2407, in pipeline_func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 2407, in pipeline_func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 2407, in pipeline_func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 2407, in pipeline_func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 346, in func
File "/tmp/hadoop-tflow/nm-local-dir/usercache/tflow/appcache/application_1508909713301_0007/container_1508909713301_0007_01_000001/pyspark.zip/pyspark/rdd.py", line 794, in func
File "/usr/local/lib/python3.5/dist-packages/tensorflowonspark/TFSparkNode.py", line 532, in _shutdown
queue = mgr.get_queue(q)
File "/usr/lib/python3.5/multiprocessing/managers.py", line 628, in temp
token, exp = self._create(typeid, *args, **kwds)
File "/usr/lib/python3.5/multiprocessing/managers.py", line 522, in _create
id, exposed = dispatch(conn, None, 'create', (typeid,)+args, kwds)
File "/usr/lib/python3.5/multiprocessing/managers.py", line 83, in dispatch
raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError:
Traceback (most recent call last):
File "/usr/lib/python3.5/multiprocessing/managers.py", line 195, in handle_request
result = func(c, *args, **kwds)
File "/usr/lib/python3.5/multiprocessing/managers.py", line 351, in create
obj = callable(*args, **kwds)
File "/usr/local/lib/python3.5/dist-packages/tensorflowonspark/TFManager.py", line 34, in
TFManager.register('get_queue', callable=lambda qname: qdict[qname])
KeyError: 'input'
I am attaching the complete logs here.
driver-logs.txt
ps-logs.txt
worker-0-logs.txt
worker-1-logs.txt

Thanks @leewyang
I was able to run the script and could see the outputs on tensorboard.
Plz close the issue.
Thnaks again for you help :)

Your welcome.


.NET Framework 4.5

Erm.
Finding out this 3D tool (open3mod) needs ".NET Framework 4.5" ... at installation ... is a major bummer.
As Win.Xp user this means a no go.
It would be nice to now in Advanced if something will run, or not, on your computer/OS.
Seriously dislike Dot.Net (Great MS tactic though)
Do like, and use, AssimpView (which by the looks of it is terminated. Bummer 2)

I'll be updating the binaries in the next days. Current head is 3.5 only.


Search query Looking for '__soft_deleted' column

My test returns this error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column '__soft_deleted' in 'where clause' (SQL: select count(*) as aggregate from `posts` where __soft_deleted = 0 AND MATCH(country,state,city,address,patient_avatar) AGAINST(Ismail IN NATURAL LANGUAGE MODE) and `posts`.`deleted_at` is null)
Any suggestion to solve this problem?
NB: I am using scout for first time.

In my case, I was trying to search for only deleted models. This worked for me:
Model::search($text, function ($query) {
    return $query->onlyTrashed();
});

In my case, I was trying to search for only deleted models. This worked for me:
Model::search($text, function ($query) {
    return $query->onlyTrashed();
});

I am trying to query onlyTrashed models but this solution did not work for me - I still get the same error as OP.
I have changed the 'soft_delete' boolean to 'true' in app/scout.php, and flushed & re-indexed using php artisan scout.
Anything else to try here?

In my case, I was trying to search for only deleted models. This worked for me:
Model::search($text, function ($query) {
    return $query->onlyTrashed();
});

This pushed me in the right direction; I'm running this:
MyModel::search($text, function ($query) {
    return $query->onlyTrashed();
});

While having the 'soft_delete' boolean set to 'false' in app/scout.php - it didn't work with this boolean set to true as I would then run into the error mentioned at the top of this issue.

In my case, I was trying to search for only deleted models. This worked for me:
Model::search($text, function ($query) {
    return $query->onlyTrashed();
});

This pushed me in the right direction; I'm running this:
MyModel::search($text, function ($query) {
    return $query->onlyTrashed();
})->get();

While having the 'soft_delete' boolean set to 'false' in app/scout.php - it didn't work with this boolean set to true as I would then run into the error mentioned at the top of this issue.

Thanks, work also for me with callback in search method and config boolean set to false.


Document how to deploy a federated architecture

I had the impression from the talk at the UGM there were some scripts to deploy a federated set of zones which could be used for testing e.g. upgrades, but I don't see them in this repository, have I missed them?
Also a section on how to spin them up would be helpful - there is an example of how to run a single docker container, but not the wider infrastructure.

Standing up a federated zone, etc. is a feature of the irods_testing_environment.
This repo is for building the server, icommands, and plugin packages.

Ooh, that makes sense. The README should probably point to that!

My suggested wording; https://github.com/irods/irods_development_environment/pull/68


 Could you please add one?

@johanneswilm I think that the license is that during creation of the repo, I forget to add it. Can you guide me how to add license to a repo after creating it. Thank you in advance.

@r-e-d-ant You just create a file called LICENSE at the root of the repo and you then paste one of the default license texts into it. There are detailed instructions here: https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository

Thank you @johanneswilm,
Now the repository got a License. :)


Add hover and focus states to breadcrumbs in page headers

Adds hover effect to page header breadcrumbs. This gives the user immediate feedback making it more obvious that these are clickable. It also gives keyboard users feedback with a focus state. The hover style is consistent with that of the links in tables.

cc @jfurrow

Love it! :ship:


Fixed #31331 -- Switched MySQL to group by selected primary keys.

ticket-31331

Well that's an interesting one, MySQL always require columns in HAVING to be present in the GROUP BY independently of whether or not they are functionally dependent otherwise it errors out with an unhelpful "Unknown column 'col' in 'having clause'"

Thanks for the wording review as usual @timgraham.

@charettes Thanks :star: I pushed tiny edits.


Adding Mysterium Network token

MYST is a native token of Mysterium Network.
You can find more information about token and project here: https://mysterium.network/token
Mysterium is being actively developed. You can see activity on GitHub: https://github.com/mysteriumnetwork

Hi @chompomonim  - There is a new requirement that the logo has to be in SVG format. Can I ask you to add it as a replacement for the PNG one? Thanks
Also, I have not idea why but tests were not triggered for that PR - maybe after images changes it will be started

@xrn I have missed this your comment. Sorry for delay in adding .svg logo.

@xrn I have missed this your comment. Sorry for delay in adding .svg logo.

Hi @chompomonim - can you remove png file from this PR?

Hi @chompomonim - can you remove png file from this PR?

.png icon deleted

.png icon deleted

Already added


[ML-DSA] Measure stack frame size on CI

This PR contains a script for obtaining stack frame measurements in ML-DSA and checking they don't exceed a given limit.
It also introduces a new job on the ML-DSA CI for running the script and
From the script docs:
This script runs cargo stack-sizes to obtain stack frame sizes for
functions in the crate. It

temporarily installs the cargo stack-sizes tool,
temporarily reconfigure the crate to the requirements of cargo
stack-sizes (installs a minimal Rust nightly toolchain and sets a
bogus version in Cargo.toml),
runs the stack-sizes tool on a given example.

The script will then print all stack frame sizes it collects in
increasing order and will exit normally if the FRAME_SIZE_LIMIT is
not exceeded by any of them. If the limit is exceeded the script
will error and print the name of the offending function.
Before exiting, the script will restore the previous state of the
crate and uninstall the stack-sizes tool.
Usage:
    ./stack-sizes.sh <example>

where <example> is an example program as you would run it with cargo  run --example <example>.

After some testing and discussion, the tool might not be as precise as we hoped. (Some discussion on this.)
Closing this in favor of a different approach for now.


Can't add or edit filters for some dashboards

Hi
I ran into a problem when trying to add new filters or edit old ones, but I can't do this. No error warnings in the UI, just changes are not applied, but in the logs and Developer tools of my browser I see 400(Bad Request).
For some dashboards, when I try to change filters, I see "Unknown Error".
Another cannot find the last value in the filters. And in Developer tools I see This may indicate you have invalid references in your dashboard and the references to id: CHART-explore-407-1 should be removed.
Please, see the screenshots.
This is not true for all dashboards, only for those that were created a long time ago. I thought the problem was with the version update, but I have installations for dev and prod with the same version and the problem only occurs in the dev env.
superset db upgrade and superset init has no errors.
The last update of the "latest" image tag was over a week ago and everything was working as expected until yesterday.
How to reproduce the bug

Go to 'Dashboards'
Click on dashboard
Press Add/Edit Filters
Get an error or proceed to the next step
Try to change or add anything
Press 'Save' button
Nothing changed

Expected results
Filters and changes are applied
Actual results
Nothing changed or different error in the UI.
Screenshots

Environment

browser type and version: Google Chrome
superset version: 0.0.0-dev
python version: 3.8.16
any feature flags active:
'ENABLE_TEMPLATE_PROCESSING': True,
'DASHBOARD_VIRTUALIZATION': True,
'ALLOW_FULL_CSV_EXPORT': True,

Checklist

It looks like the problem was related to the version I was using. Fixed with update.


Add @Freezable property wrapper.

@Freezable wraps differentiable values and provides toggleable trainability via the isFrozen property.
When isFrozen is true, accesses to value have a derivative of zero.

Example:
struct FreezableDense : Layer {
    @Freezable var weight: Float
    @Freezable var bias: Float

    // Workaround for internal storage property.
    var freezableWeight: Freezable<Float> {
        get { $weight }
        set { $weight = newValue }
    }

    @differentiable
    func callAsFunction(_ input: Float) -> Float {
        return input * weight + bias
    }
}

var dense = FreezableDense(weight: 2, bias: 3)
print(gradient(at: dense) { dense in dense(4) })
// TangentVector($weight: 4.0, $bias: 1.0)

dense.freezableWeight.isFrozen = true

print(gradient(at: dense) { dense in dense(4) })
// TangentVector($weight: 0.0, $bias: 1.0)

@dan-zheng @rxwei so this property is for the eval mode of a model? and can also be later on used for saving and loading models right?

Property wrappers are defined as structs and so it makes sense that the @Freezable annotation is capitalized. However, it kind of looks inconsistent when all the other annotations are in camel-case. Could we maybe add an argument such as @_propertyWrapper(label: "freezable"), so that it can be referenced in camel-case as well for consistency?

Property wrappers are defined as structs and so it makes sense that the @Freezable annotation is capitalized. However, it kind of looks inconsistent when all the other annotations are in camel-case. Could we maybe add an argument such as @_propertyWrapper(label: "freezable"), so that it can be referenced in camel-case as well for consistency?

This is because the property wrapper proposal is setting a new standard for attributes in Swift: All custom attributes start with a capital letter, and all compiler builtin attributes use camel case.

Thanks @rxwei! I was not aware of the new standard.

LGTM, but please underscore for now until we get more experience.

Done in https://github.com/tensorflow/swift-apis/pull/250/commits/7c96679d7bb2063be3208d8b477eacf32927f906.

Merging @_Freezable as an underscored API.
Added to agenda for the next Swift for TensorFlow design meeting.


Using this component as a simple floating icon

Hello,
Is there a way I can use this component as a simple floating icon that forwards users an external link so they can use WhatsApp web or WhatsApp app on mobile phones? I actually wrapped this component with an  tag so I can use it this way, but the popup still opens and does not look good with my UI. I could add a simple icon to my app but it's a template that I don't know well and could not find a better icon than yours.
here is how it looks on the web page I'm working on: https://istanbul-yazilim.vercel.app/

how to capture event on click whatsapp icon


port kong's ring-balancer to orange

This is premature pull , hope to acquire some advice
Signed-off-by: Zhao Junwang<EMAIL_ADDRESS>

dynamic upstream is a plan in progressing for Orange v0.7. your pr could be a reference for this feature.
in my plan, dynamic upstream should be implemented as a plugin which would not break any current feature or usages such as divide upstream plugin.
users should consider whether they should use divide upstream or dynamic upstream by themselves. we'd better not restrict this point.
anyway, feel free to give any advice or implementation for this feature.

how to use ?

if could combine  thisa and  divid upstream may be more better job ! 👍

@noname007 this feature uses mashape's ring-balancer, https://github.com/Mashape/lua-resty-dns-client, so that should be installed first.
$ luarocks install lua-resty-dns-client
$ luarocks install penlight

@sumory in my current design, I am doing the dynamic upstream at the end of access context, at this time, the upstream_url has been already set. I handled with the upstream_url to see whether this is a upstream stored in the database, if it is, proxy_pass to the orange_upstream, otherwise it will remain its original target.
I like your proposal about implements this in a separate plugin, just one concern: what if we have same rules in both plugins? Not sure about this, just think it might be a little complicated to make sure the user won't add same rule in both plugins.

i think no one will add same server to the same upstream :)
your design good ，i can set the upstream url by divid upstream plug 。 good!

http://blog.soul11201.com
2017-08-03 11:02 GMT+08:00 Zhao Junwang<EMAIL_ADDRESS>
@sumory https://github.com/sumory in my current design, I am doing the
dynamic upstream at the end of access context, at this time, the
upstream_url has been already set. I handled with the upstream_url to see
whether this is a upstream stored in the database, if it is, proxy_pass to
the orange_upstream, otherwise it will remain its original target.
I like your proposal about implements this in a separate plugin, just one
concern: what if we have same rules in both plugins? Not sure about this,
just think it might be a little complicated to make sure the user won't add
same rule in both plugins.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sumory/orange/pull/138#issuecomment-319854983, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIHtAOd-iKevG5kywVOtDTD9huIkzfGZks5sUTgsgaJpZM4Oq3ly
.

i more like another commit !

http://blog.soul11201.com
2017-08-03 15:06 GMT+08:00 Zhao Junwang<EMAIL_ADDRESS>
@zhjwpku commented on this pull request.
In orange/utils/utils.lua
https://github.com/sumory/orange/pull/138#discussion_r131066696:

@@ -193,6 +193,25 @@ function _M.load_module_if_exists(module_name)
end
end

+--- checks the hostname type; ipv4, ipv6, or name.
+-- Type is determined by exclusion, not by validation. So if it returns 'ipv6' then
+-- it can only be an ipv6, but it is not necessarily a valid ipv6 address.
+-- @param name the string to check (this may contain a portnumber)
+-- @return string either; 'ipv4', 'ipv6', or 'name'
+-- @usage hostname_type("<IP_ADDRESS>")  -->  "ipv4"
+-- hostname_type("::1")              -->  "ipv6"
+-- hostname_type("some::thing")      -->  "ipv6", but invalid...
+function _M.hostnameType(name)
another question, do you prefer to use git commit --amend to address the
PR edit, or just another commit?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sumory/orange/pull/138#discussion_r131066696, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIHtALjZxmLJXwPkmPZ14rjQ692DuC8vks5sUXF8gaJpZM4Oq3ly
.

@sumory @noname007 Hi guys, please review the UI part, I am not good at JavaScript, sorry if I made some mistakes :)

good job

when i visit uri: /balancer by pull this code, i got some exception ,and i saw 404 at the error.log/

@noname007 can you paste(make a gist or pastebin) the error, so i can have a look?

@zhjwpku
2017/11/06 22:52:23 [error] 62058#0: *38 [lua] server.lua:59: func(): 404! not found., client: <IP_ADDRESS>, server: , request: "GET /balancer/selectors?_=1509979943518 HTTP/1.1", host: "<IP_ADDRESS>:9999", referrer: "http://<IP_ADDRESS>:9999/balancer"

@noname007  pls double check the file orange/plugins/balancer/api.lua is there. I am not sure what your codebase is, can you push your working space code to a git branch so we can discuss the code. Sorry about the trouble.

@zhjwpku
github上 pull request的代码实际上是有一个分支的，把git配置好后，就能获取到你pr的代码。因此和你pr的代码是一致的。
这个是在dashboard中打开balancer 图标时候发生的的。
看这个错误，可能是是没有路由到。不知道是不是你有什么配置。

@noname007 这个插件我们已经在用了，目前还没有遇到过你说的问题。我抽时间部署一台新的机器上试一下，之后给你结果~

@noname007 我把代码调整了一下，另外写了一篇部署的文档  Orange Balancer 安装及使用，你看下是否能够解决你之前遇到的问题

would you please pull this pr to branch v0.7.0-dev?

@sumory sorry but as far as i can see, the destination branch is already v0.7.0-dev, teach me how if i am wrong ;)

this feature has been merged into v0.7.0-dev branch. hope you will take more effort for v0.7.0 release. 😃


sdk/state: in IngestTx end early if channel is closed or hasn't been opened

WHAT
end the IngestTx process early and return error if the channel hasnt been opened or has been closed
WHY
if the channel doesn't exist it shouldnt be updating its state
closes https://github.com/stellar/experimental-payment-channels/issues/282

I'm curious if this error causes the console example to error unexpectedly and therefore if we need to handle errors differently further up the stack. The reason I'm wondering this is because ingestion happens on another go routine I think we will call IngestTx when we're not supposed to. It might be all fine.

I just ran through the example with opening, couple of payments, then closing. Didn't see anything out of ordinary, I might not have tested the case correctly though. Going to merge for now and then can make that fix you mentioned if it is breaking afterward


Not able to connect to the DNS after setting up custom domain

App Id:d2nxsn1faxo9t7
Region: us-east-1
Step: custom domain
Status: Blank hits (unreachable)

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
I have setup the GoDaddy hosting for my amplify app. My amplify app is connected to a simple React github repository and working fine for the amplify.com URL but when I connected to GoDaddy via CNAME for subdomain and pointed that to the amplify.com URL, the subdomain url is not working anymore.
abc.xyz.com/ is returning the empty unreachable blank. Browser is not able to load any data.
Should I be doing the configuration of pointing the subdomain to xxxx.cloudfront.net ?
Error message
Browser does not load with ERR_CONNECTION_TIMED_OUT

I am experiencing a similar issue. Have a DNS CNAME record on Cloudflare that throws HTTP 404 - but in the Amplify console everything looks fine and I doubled checked that both CNAME under "View DNS records" are set properly on Cloudlfare.

Hi @ojassinha, I tried navigating to your domain at "pulse-staging.optacity.com" and it seems to load correctly.  Are you still experiencing an issue?

Closing this issue, please feel free to reopen if you are still having trouble.

App Id:d2nxsn1faxo9t7
Region: us-east-1
Step: custom domain
Status: Blank hits (unreachable)

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
I have setup the GoDaddy hosting for my amplify app. My amplify app is connected to a simple React github repository and working fine for the amplify.com URL but when I connected to GoDaddy via CNAME for subdomain and pointed that to the amplify.com URL, the subdomain url is not working anymore.
abc.xyz.com/ is returning the empty unreachable blank. Browser is not able to load any data.
Should I be doing the configuration of pointing the subdomain to xxxx.cloudfront.net ?
Error message
Browser does not load with ERR_CONNECTION_TIMED_OUT

@ojassinha were you able to figure this one out?

I'm having the same issue. How did you fix this?


Update contact email on BC DevEx app

I have identified the below pages on the DevEx app - https://bcdevexchange.org  that have the old email link (BCDevelopersExchange@gov.bc.ca). Can you please change to the new contact email address<EMAIL_ADDRESS>
Contact Us button at bottom of page: https://bcdevexchange.org
The “Become a partner” link on the drop down menu and "Become a Partner" button on the https://bcdevexchange.org page near bottom
The email link in the footer of each page

complete


Please add a license file

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind,  I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

https://github.com/Debdut/github.zsh-theme/blob/main/LICENSE
Done, thanks!


Feature/modernize

As it turned out, the codebase which passed travis tests two years ago do not successfully test in travis anymore end of 2019. In an attempt to fix them, I also took the liberty to update tox and its interaction with travis, switched from unittest to pytest (to enable smarter test fixtures to even test more of this package's functionality in the future), and sprinkled some more modern touches (like pyproject.toml). Hope you like it. :)

Sorry for the delay. I have quite busy recently and since I was never truly convinced by the approach taken by pyvisa-sim it went under my radar. Your changes looks fine so I am gonna merge. Thanks for your contribution.
bors r+

bors r+

PyYAML seems to not be available anymore on 3.4.  @croesnick  could you remove it from the build matrix ? Anyway Pyvisa will drop support for Python 2 and support only Python 3.6+ onward like many other projects these days.

@MatthieuDartiailh: Seems like we had a "good" timing as PyYAML dropped support for Python 3.4 in version 5.3. As PyVISA still seems to support Python 3.4 in its most recent version, I suggest to simply pin PyYAML to version <5.3.

bors r+

Bors r+


Restriction of the mode of transport

At one of the public transport stop, I would like to see only one view, for example, only buses.
What could I change in this code?

Right now the component doesn't have a filter function, but you can add one.
For example, like this (open for discussion):
filters:
  - type: bus,tram
  - name: M27,N117

Next you will need to write code that will take this configuration variable into account and store only the necessary departures. Somewhere here: https://github.com/vas3k/home-assistant-berlin-transport/blob/main/custom_components/berlin_transport/sensor.py#L161

Thank you, but I'm not a real welder, I just found a mask in the trash :)

Thank you, but I'm not a real welder, I just found a mask in the trash :)

I think you can do something like this with existing component:
sensor:
  - platform: berlin_transport
    departures:
      - name: "S+U Schönhauser Allee"
        stop_id: 900110001
        bus: true # not really needed as true is default, but added for clarity
        suburban: false
        subway: false
        tram: false
        ferry: false
        express: false
        regional: false


ricochet: init at 1.1.1

Please DO NOT MERGE until #11974 has been merged as this PR depends on my entry in maintainers.nix that comes with #11974.
That being said, ricochet does seem to work fine.

/cc @ttuegel as I don't have much experience with the Qt infrastructure and would appreciate a code review.

I have tested it and can confirm it works. Only thing that would be nice is a .desktop file.

One thing I've noticed is that the memory usage of this thing is insane. I'm getting 340 MB right after startup, almost 500MB after some usage. Is this normal?


Removed/Alternative Solution for SAS Token for app service backup

SAS key expired after 30 days, require to re-run to refresh the key;
regardless this can be achieve by Schedule Run on the pipeline, but due to multiple application, its quite hard to track and monitor the scheduling part.
If the Token is not refresh/re-new, the error will be shown as below:

@iriahk89


"emissive strength" should have a separate field in StandardMaterial, rather than needing large color channel values

Bevy version
0.13
What you did
After updating to 0.13, tried updating my Bevy render settings to approximate what I see in Blender (at least as well as they had under 0.12).
What went wrong
I got everything looking pretty good other than emissive materials, which were too dim. I tried poking around for the Bevy equivalent of Blender's "emissive strength" material option expecting to find a component somewhere that is separate from the color or texture used foe emission.
After looking around for a while, I asked on discord and learned that color channel values can go above 1.0 in the case of the emissive field, and there is no separate field for emissive strength.
IMO, this is problematic because:

allowing arbitrarily large color channel values breaks the semantics of colors that one would expect from working in basically any software that manipulates color (and indeed goes against Bevy's documented color semantics, which specify bounded channel values)
semantically, color is literally orthogonal to emissive strength (coordinate in a bounded color space vs an intensity)
using large channel values defies expectations from other tools (i.e. Blender) where you manipulate color separately from emissive strength
It interacts weirdly with emissive_texture -- if I want to brighten an emissive texture, it feels super weird an non-ergonomic to specify e.g. emissive: Color::linear_rgb(100.0, 100.0, 100.0),

I encounter the same issue when exporting a blender model with emissive color and strength of 20. In bevy, the emissive color is not emissive at all. If I increase the strength in blender to be something like 2000, then the bevy will render it with glowing effect. However, 2000 strength in blender is just too bright to be usable.
It looks like the emissive color + strength defined in blender is not rendered consistently in bevy.


WinRM differences (NTLM) between PowerShell-Core and PowerShell-Native?

Hi guys, working on deprecating some Python script I've been using in favor of pwsh core. I'm simply trying to connect over WinRM with NTLM (Negotiate) as the authentication mechanism and powershell-core seems to act differently from powershell native. I'm using the docker://microsoft/powershell container to test.
There error message that powershell-core emits is:
acquiring creds with username only failed An invalid name was supplied SPNEGO cannot find mechanisms to negotiate For more information, see the about_Remote_Troubleshooting Help topic.
This message implies that the ntlm hash isn't being exchanged, but that'd be strange unless some capability is missing. So is that really the case, or is there some capability that powershell-core or maybe the hosted container is missing?
Target WS-Management version
PS C:\Users\user> Test-WSMan -ComputerName $h -Authentication Negotiate -Credential $creds

wsmid           : http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd
ProtocolVersion : http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd
ProductVendor   : Microsoft Corporation
ProductVersion  : OS: 6.2.9200 SP: 0.0 Stack: 3.0

Windows vs Windows
PS C:\Users\user> $creds = Get-Credential -UserName root

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Message: default root password
PS C:\Users\user> $h
<IP_ADDRESS>
PS C:\Users\user> New-PSSession -ComputerName $h -Credential $creds -Authentication Negotiate | Set-Variable -Name s
PS C:\Users\user> $s

 Id Name            ComputerName    ComputerType    State         ConfigurationName    Availability
 -- ----            ------------    ------------    -----         -----------------    --------
 19 Session19       <IP_ADDRESS>   RemoteMachine   Opened        Microsoft.PowerShell ...lable

PS C:\Users\user> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.2580
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.2580
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

PowerShell-Core (docker://microsoft/powershell:latest) vs Windows:
PS /> $creds = Get-Credential -UserName root

PowerShell credential request
Enter your credentials.
Password for user root: *********************

PS /> $h
<IP_ADDRESS>

PS /> Enter-PSSession -ComputerName $h -Credential $creds -Authentication Negotiate
Enter-PSSession : Connecting to remote server <IP_ADDRESS> failed with the following error message : acquiring creds with username only failed An invalid name was supplied SPNEGO cannot find mechanisms to negotiate For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ Enter-PSSession -ComputerName $h -Credential $creds -Authentication N ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (<IP_ADDRESS>:String) [Enter-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed

PS /> $psversiontable

Name                           Value
----                           -----
PSVersion                      6.1.2
PSEdition                      Core
GitCommitId                    6.1.2
OS                             Linux 4.14.96-coreos #1 SMP Mon Jan 28 05:16:10 -00 2019
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Try the step-by-step https://blog.quickbreach.io/ps-remote-from-linux-to-windows/

Freaking awesome. Thanks. The Windows box was already configured properly. Was totally an issue with the microsoft/powershell container not supporting NTLM out of the box.
Closing since it turns out this issue is in the wrong tracker and should be in the PowerShell-Docker tracker.

Ftr, the NTLM support for the microsoft/powershell container is being resolved by PowerShell/PowerShell-Docker#124.

I'm working on adding it to the Docker images


Update cats-helper to 3.5.0

About this PR
📦 Updates com.evolutiongaming:cats-helper from 3.2.0 to 3.5.0
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.evolutiongaming", artifactId = "cats-helper" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.evolutiongaming", artifactId = "cats-helper" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:semver-spec, commit-count:1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.5%) to 75.299%

Files with Coverage Reduction
New Missed Lines
%

scassandra/src/main/scala/com/evolutiongaming/scassandra/syntax.scala
1
58.82%

scassandra/src/main/scala/com/evolutiongaming/scassandra/CreateClusterJ.scala
2
52.17%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
378

Relevant Lines:
502

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 4 files lost coverage.
Overall coverage remained the same at 74.803%

Files with Coverage Reduction
New Missed Lines
%

scassandra/src/main/scala/com/evolutiongaming/scassandra/PoolingConfig.scala
1
91.18%

scassandra/src/main/scala/com/evolutiongaming/scassandra/ReplicationStrategyConfig.scala
1
75.0%

scassandra/src/main/scala/com/evolutiongaming/scassandra/CreateClusterJ.scala
2
56.0%

scassandra/src/main/scala/com/evolutiongaming/scassandra/SocketConfig.scala
2
46.15%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
380

Relevant Lines:
508

💛  - Coveralls


What is setting the font style in Pmenu?

NVIM v0.3.1
Build type: Release
iTerm2
What's causing this weird outline-ish font for the typed part of the match in the Pmenu?  In the screen shot below it is the num part of the match.

I don't think this is necessarily NCM's fault. I see it in the readme as well, so whomever created that animated screenshot has the same effect as well.
Thanks!

https://github.com/ncm2/ncm2-match-highlight

Things I've ruled out:

It isn't iTerm vs Terminal.
It isn't the gruvbox theme.
It isn't Neovim 0.3.1; it's in 0.2.2 as well.

@roxma  Thank you very much.  Hopefully this will help people in the future.


Step extension doesn't load in some case

Describe the Bug
Step extensions transform, set-body, set-header, set-property doesn't load when importing existing YAML. Not yet isolated if a problem is in step extensions code or in kaoto-ui.
Steps to Reproduce the Bug or Issue

Import this Kamelet YAML - https://github.com/KaotoIO/kaoto-ui/blob/main/src/store/data/examples/kamelet.evil-eip.yaml
Click transform step
Click Config tab
The default Config tab shows where the step extension with syntax selector should

Screenshots or Videos
https://user-images.githubusercontent.com/265462/217016544-c30f417c-5995-45df-8215-261035c19909.mp4
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

I was hitting that issue too when playing on OperateFirst.

@igarashitm I assume this worked when you were developing the extension. But did this ever work on production or is a new thing? Do we know that?


containerd support

Hi this PR fixes agent when running on containerd cluster.
Signed-off-by: tombokombo<EMAIL_ADDRESS>

Hi!
Could you please add a test case for this? (like this one)

Hi, sure, new test is passing.

Thank you for your contribution!


support front camera

close #37

BC Ko, could you merge the pull requests that are there and do a new pub?
It might help some people. Also, it seems we should make it AndroidX compatible. It is not a lot of work, but perhaps you can do it so that it can all be done in one swoop.

On 7 Mar 2019, at 03:35, BC Ko<EMAIL_ADDRESS>wrote:
@bcko approved this pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/bcko/flutter_qrcode_reader/pull/38#pullrequestreview-211575704, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlM2VP8biOt2mNp-_A_lgrB1aIT_5OEks5vUHsFgaJpZM4bhgf3.

Vriendelijke Groeten,
Johan Henselmans
<EMAIL_ADDRESS>+31 6 51362675


Quote ctl arguments before passing to omnibus-ctl

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

I just removed the commit that triggered the travis run. Sorry if that was the wrong thing to do. It appears that we've lost the record that the travis run was successful.

@marcparadise Can we get this added to byop-phase-1 PR please?

Would you be able to open the PR against that branch?

byop-phase-1 branch has already been merged so i'm going to open a new PR against master


Remove default file creation from logger

Resolves #39

The whole logging.py file can be removed. Instead of importing magql_logger, do logging.getLogger(__name__) to get a logger for each specific module that does logging.
Also, there's a bunch of places that use logger.error instead of raising an error, but that can be addressed in another PR.

Completely removed logging.py. Replaced some logging with logging.getLogger(__name__), a few others with exceptions. Removed inconsistent comparator error reporting, to be re-added later.


Will this WG stay in this REPO with the reconcilitaion

Basically thats it? How does what happening with Io.js and node foundation effect this repo? Will this working (and the others) still on their own.

yes :)


updated ina219 to work with nano

Description

Migrated Ina219 device to nF.
Motivation and Context

Fixes https://github.com/nanoframework/Home/issues/856

How Has This Been Tested?

I validated sample runs successfully with KeeYees ESP-WROOM-32 CP2102 and HiLetgo INA219 (https://www.amazon.com/dp/B07VL8NY32?psc=1&ref=ppx_yo2_dt_b_product_details)
Screenshots
Types of changes

[x] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (work on Unit Tests, has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@rschiefer happy new year! 😃
Can you please let us know if you're planning to wrap up this one or not.

OK. Please just rebase so this one can be merged.

working to fix the build

@rschiefer thanks for the efforts, I fixed the latest issues ;-)

Thanks @Ellerbach!


OS X interface list too limited

The comment here says it all ;)
https://github.com/datasift/storyplayer/blob/develop/src/php/DataSift/Storyplayer/PlayerLib/StoryContext.php#L213-L214
en0 and en1 are generally used for first two physical interfaces. On most Macs that will be built-in WiFi and built in Ethernet port.
So story player works great for me if I am connected to WiFi. But at my workstation when I plug in cinema display with it's fixed Ethernet cable (en4), story player stops working. Actually that's not quite true - it works as long as wifi is turned on (even though I'm actually using ethernet connection). Same would happen with any other network device (Bluetooth is en3, other USB or similar devices would presumably have higher numbers)
The simplest thing that would avoid confusing others in future woul be to bump up the en* ones tried in the line linked above. up to en4 would work for me I'd assume having a cinema display is not that uncommon (perhaps turning of WiFi is...). Not sure how you would decide where to stop though...
Dunno if you want to bump up the numbers you check to catch this case? It's probably rareish but it's pretty confusing when it comes up. Seems less than ideal that changing wifi status when I'm not even using WiFi makes my test framework stop running...

We've overhauled this code for Storyplayer-2.0.0. I don't have a cinema display to test on, but hopefully we've fixed this bug for you now?


UI: Filter functionality

Hey, thank you for an awesome project
I have two questions regarding filters

When I choose one filter, the number of search result for other shows 0 match
Is it any way to change from checkbox to radio, in other words is any way to use OR logic instead of AND when you choose multiple filters?

Legend:
Image 0 - all is fine
Image 1 - one filter is active
Image 2 - two filters are active

I have a long-standing issue for an OR filter concept (issue #7) but that hasn't been implemented yet. Step one will be to implement some kind of API for the underlying Pagefind JS to pass an OR filter through, and then step two will be to add support in some way to the Pagefind UI. Nothing yet for this sorry!

When I choose one filter, the number of search result for other shows 0 match

This is currently intentional since only AND filtering is supported — the numbers update to show you how many results there will be if that filter is selected (in addition to any currently selected filters)

I'll close this issue for now so we don't split the threads — but feel free to continue the conversation in #7 🙂

@bglw thank you for an answer