Inconsistent image loading in torchvision before and after 0.8.0 version

🐛 Bug
The standard ILSVRC2012 validation set dataloader returns different data depending on torchvision version. The problem starts from version 0.8.0. Images loaded by torchvision=<0.7.0 and torchvision>=0.8.0 are shifted by one pixel horizontally relative to each other. This makes model evaluations inconsistent. For example, this is the source of issue when validation scores from code and validation scores are reported in the documentation are different.
To Reproduce
Steps to reproduce the behavior:

Run the code below under two versions of torchvision (<=0.7.0 and >=0.8.0).

import torch
from torchvision import datasets, transforms

# put your dataset path here
dataset_path ='path_to_ILSVRC2012'

val_loader = torch.utils.data.DataLoader(
            datasets.ImageFolder(dataset_path + '/val',
                                 transform=transforms.Compose([
                                     transforms.Resize(256),
                                     transforms.CenterCrop(224),
                                     transforms.ToTensor(),
                                     transforms.Normalize(mean=[0.485, 0.456, 0.406],
                                                          std=[0.229, 0.224, 0.225]),
                                 ])),
            batch_size=1, shuffle=False, num_workers=1, pin_memory=True)

data, target = next(iter(val_loader))
print(data[0])

Check printed values.

Expected behavior
Printed tensors should be the same, but they are shifted by one pixel horizontally relative to each other.
Environment
Here are presented 2 environment options: for torchvision==0.7.0 and for torchvision==0.8.0
PyTorch version: 1.6.0 / PyTorch version: 1.7.0
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A
OS: CentOS Linux 7 (Core) (x86_64)
GCC version: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Clang version: Could not collect
CMake version: Could not collect
Python version: 3.7 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: 10.2.89
GPU models and configuration: GPU 0: GeForce GTX 1080 Ti
Nvidia driver version: 460.32.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] efficientnet-pytorch==0.6.3
[pip3] numpy==1.16.5
[pip3] pytorch-transformers==1.2.0
[pip3] torch==1.6.0/1.7.0
[pip3] torchfile==0.1.0
[pip3] torchvision==0.7.0/0.8.0

PyTorch / torchvision Version: 1.6.0/07.0 // 1.7.0/0.8.0
OS (e.g., Linux):
How you installed PyTorch / torchvision (conda, pip, source): pip
Build command you used (if compiling from source):
Python version: 3.7 (64-bit runtime)
CUDA/cuDNN version: 10.2
GPU models and configuration: GeForce GTX 1080 Ti
Any other relevant information:

Additional context

cc @vfdev-5

Thanks for opening this issue! There was one change made to center_crop I believe to allow for torchscript compatibility (there was a bug in torchscript), but since then we have fixed it in https://github.com/pytorch/vision/pull/3118
Can you check with a torchvision nightly to see if this problem persists?

Thanks for the prompt reply! I have checked loaded images with a torchvision nightly and confirm that output pixels are the same as when I use torchvision<=0.7.0. Thus, the problem is solved.
I suppose that #3152 is also fixed since now ILSVRC2012 evaluation metrics are consistent with documentation.

Thanks for confirming that this has now been changed!
I believe we have fixed the behavior of center crop before @datumbox re-run the evaluations, so I believe the numbers should be compatible with what we should get now.
I'm closing this issue as I believe this has been fixed already, let us know if you find anything else


Release 0.1.1

@JuliaRegistrator register(branch=release)

Registration pull request created: JuliaRegistries/General/9206
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" 3dbaa4b33bbea95bc07c6d5f6bc47068510e3676
git push origin v0.1.1


NullPointerException changeVisibleCellViewsBackgroundForColumn

Hi,
when tap on header of table without data i getting NullPointerException
file: SelectionHandler
line: 341
this:
            AbstractViewHolder holder = (AbstractViewHolder) cellRowRecyclerView
                    .findViewHolderForAdapterPosition(column);

cellRowRecyclerView is null

This seem to be fixed in master (at least after #268 is merged).

@Swat24 the fix was merged in master. Can you close this issue if it works for you?


chore: Fix update_versions.sh to include beyondcorp

This PR resets only the beyondcorp-* module's version.txt

Waiting for Mike's PR: https://github.com/googleapis/google-cloud-java/pull/8621 before I make any further changes

I might have accidentally merged the old main commit in: bd889c0fe23800f3cad72ec53afc380b80d19460
Going to remove that commit. If any issues, I'll create a new PR.


cgo compilation fails when LDFLAGS refers to a response file

What version of Go are you using (go version)?
go version go1.9.2 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/cstrahan/go"
GORACE=""
GOROOT="/nix/store/7q4n0qqrqj4wsl41v8vq3d2zrwwgwpvk-go-1.9.2/share/go"
GOTOOLDIR="/nix/store/7q4n0qqrqj4wsl41v8vq3d2zrwwgwpvk-go-1.9.2/share/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/run/user/2000/go-build236342296=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?
You can reproduce by compiling the following files like so (first replace @pwd@ with the current working directory in repro.params):
gcc -shared -o librepro.so repro.c
go build -o repro main.go

repro.c
int reproduce_me() {
  return 42;
}

repro.params
-L@pwd@ -lrepro

main.go
package main

// #cgo LDFLAGS: -fuse-ld=gold<EMAIL_ADDRESS>// extern int reproduce_me();
import "C"
import "fmt"

func main() {
	x := C.reproduce_me()
	fmt.Printf("Hey look, it worked!  --> %d\n", x)
}

What did you expect to see?
I expected the program to compile successfully.
What did you see instead?
If the response file includes any shared libraries, you'll see errors like:
ld.gold: fatal error: cannot mix -r with dynamic object<EMAIL_ADDRESS>collect2: error: ld returned 1 exit status

Otherwise you'll see "multiple definition" errors like:
ld.gold: error: bazel-out/local-fastbuild/bin/external/envoy/source/common/upstream/_objs/outlier_detection_lib/external/envoy/source/common/upstream/outlier_detection_impl.o: multiple definition of 'Envoy::Upstream::Outlier::DetectorImpl::enforceEjection(Envoy::Upstream::Outlier::EjectionType)'
ld.gold: /run/user/2000/go-link-231334173/000000.o: previous definition here

It's possible that someone using a response file is doing so because they need to avoid some sort of limitation on e.g. argv (as often seen in on Windows). So with that in mind, I would propose the following:

Read the content of response files given by LDFLAGS
When necessary, construct a response file consisting of the appropriate flags within the union of those supplied directly and those given by the response file.

That way we'd fix this particular error, and we'd fix https://github.com/golang/go/issues/18468 at the same time.

If you're curious, I ran into this problem while playing with Bazel, where I was given a response file in my build. In-lining the response file into LDFLAGS resulted in a successful compilation.

Response files are now completely banned, so the fact that they wouldn't work if not banned is no longer an issue.


Are we putting this on GitHub yet?

@thatoddmailbox

@medensqui I will, just let me fool with the domain first.

@medensqui oh btw it now works! you get an under construction page, but it works!

@thatoddmailbox YAY

Done!


[TEMPLATE] - API template using Express-GraphQL

What domain will the project template be based on?
API
If 'Others', please specify the preferred domain.
No response
Particular directory path for the template.
templates/API/GraphQL-APIs/
What tech stacks do you want to include?
Express, GraphQL, Node.js
Brief Description
This template will provide a foundational setup for building GraphQL APIs using Express. It will include configurations for middleware, routing, and sample queries/mutations to help users scaffold their projects quickly using the universal-box init command.
Reference : Apollo-Server-GraphQL
👀 Have you spent some time checking if this issue has been raised before?

[X] Yes
[ ] No

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Would you like to work on this issue?
No

Can you assign this issue to me.


Should fail as add method should not be able to mutate/add property with existing key

https://github.com/AssetMantle/modules/blob/f602fc552ff2bb16b2354dc393180a6855f96679/schema/lists/base/propertyList_test.go#L77

does not procuce exploitable scenario


How to Transform yolov4-custom to .pb

Hi,
I'm using a darknet yolov4-custom model for detecting small objects modified according to this guide darknet-small-objects, which we plan to run on a depthAI device (we will later change to yolov4-tiny, also customized). However, I'm having troubles to adapt your code so I can convert to .pb format (Im following your colab guide to transform darknet to blob)
So far I understand a bit how your code works to transform darknet yolo to tensorflow .pb and I've managed to modify the code for custom classes, anchors and masks. However, one of the modifications made on my custom yolo was set layers = 23 instead of  layers = 54 in the route before the firs yolo layer (L895 in custom .cfg). As I understand, this means that I have to replace up_route_54 in L100 and L102 with up_route_23, but I do not know how to capture up_route_23, any guide or idea?
I've also modified the stride = 2 to stride = 4 in the line just before the modified route. Do I have to change something else related to this stride?.
Thanks!

Hey @frmunozForcast , I'd suggest you stick with YoloV4-tiny for depthai devices if you want the model to work in real time.
However, if you still want to convert the model, you'll need the following changes:

Delete L65 and add up_route_23=net in L61. That is right beforenet = _yolo_res_Block(net,128,8,data_format)

Replace up_route_54 with up_route_23 in L100 and L102
Since _upsample in L100 reads the shape from up_route_23, there's no need in setting another strides to 4 like in CFG file.
Set strides=4 in L165

Best,
Matija

I think adding 3 layers shouldn't be problematic as well. If you edit the code and make it controllable by a flag, feel free to make a pull request :)

Yes it wasn't that difficult, I managed to add both changes on a fork adding an optional flag that points to a config file where the specifics for custom model are defined. However, I have jet to confirm that the models are correctly converted. Once I've checked that, ill send the pull request.
Thank you for your help!


wip: Clean up lifetimes, whitespace at end of lines and folded multi line function definitions into one where suitable

Quick in vim, cleaned up lifetimes for App Arg and SubCommand. Somewhere I broke something. :wink:
DO NOT MERGE

That's me for the night. :zzz:

r=

We'll need to a scrub (as best we can) to see how many code bases this affects. Since this is a breaking change for anyone returning an Arg or App from a function call.
Don't get me wrong, I'm ok with a breaking change for a huge ergonomic win, I just want to be as political about it as possible so as not to make too many people angry that APIs are changing unstably underneath them.
The harder to assess breaking change of this PR is when someone is using a 'static lifetime for any of the "settings" builder methods, and a non 'static lifetime for any of the others because Rust will complain that the non-static lifetime doesn't live long enough. I haven't checked this PR too deeply, but a potential way to solve this is saying all those "settings" lifetimes last at least as long as the Arg name (which must persist as long as the returned ArgMatches is alive.
Thoughts, comments?

The lifetime for 'a as applied to it's fields already guarantees this. It is not saying that they must all have the same lifetime.
And yes, this would be a breaking change and can wait for the next major as it is a low priority.

Sounds good. The major feature I'd be willing to bump to a 2.x is automatic serialization into a Rust struct (a la docopt), so 2.x may be here sooner rather than later.

@kbknapp I might have the time to extend my macro to support this. But I'd like to refactor the macro first. I have been working on my other builder macro today. :-) https://github.com/trustless-fox/icy-crates/blob/master/src/macros.rs
Note: My current approach for handling these builders is a LOT easier to read, extend and with staging, easier to understand the matching levels.

Closing in favor of #258. I'll include the code cleanup after CowStr.


Retrieving events returns incorrect start and end time

Json decode code from plugin to dart code is not using the correct keys. This results in incorrect start and end time of events.

Oh boy
I traced this back to #316. Apparently said dart file changed, but not the corresponding swift and kotlin files.
In any case it seems to only affect retrieval and not saving events. (Otherwise I would found out on my project)
I'll be pushing fixes in the next few hours.
We really need to invest more effort writing tests to prevent these trivial things.

I can confirm that this has been fixed in 4.0.1. Thanks.


add .codespellrc

PR Summary
This PR adds .codespellrc, which our contributors guide already says we have. The line
ignore-regex=^\s*"image/\S+": ".*

should fix the issue we were having with image data in notebooks.
I merged this branch in to #71, which is now passing pre-commits.
Related Tickets & Documents
Closes #72
PR Checklist
General

[x] PR includes a summary of changes
[x] Link relevant issues, make one if none exist

We'll have to adjust the duplicated codespell config on Andy's second climatology PR, but I think that's fine and we can handle it over in that PR.

Yep, on that!


Add option to generate records instead of classes for Strawberry Shake.

[x] inputs
[ ] outputs
[x] entities
[ ] data

Outputs at the moment make no sense since the user only interacts with the interfaces this looses the power of the withers. The equality is already implemented for outputs.


[HOLD] Prohibit bill split from including a workspace chat

Not 100% sure about this, but creating an issue so I don't forget about it. I think this is a bug / flaw in our design that we should fix. Keeping this on HOLD while we discuss.
Problem
When splitting a bill, it is possible to include a workspace chat as a participant. This doesn't really make sense, because it essentially implies that you want to request a portion of an expense to be reimbursed by the owner of the workspace (usually the employer). I don't know of any real-world use case for that, and if there's none then this is potentially confusing.
Solution
Make the product simpler by disallowing a workspace chat from being included as a participant in a bill split.

Sounds like this is intentional for Teachers Unite (where people are are reimbursed 50% for their expenses)


KMS key alias not supported in re_encrypt operation

Thanks for the quick fix on #5957. I believe the same issue is happening with the DestinationKeyId argument for re_encrypt():
>>> kms.re_encrypt(CiphertextBlob=ciphertext, DestinationKeyId="alias/foo")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/rolandcrosby/src/scratch/venv/lib/python3.8/site-packages/botocore/client.py", line 530, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/Users/rolandcrosby/src/scratch/venv/lib/python3.8/site-packages/botocore/client.py", line 960, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.errorfactory.NotFoundException: An error occurred (NotFoundException) when calling the ReEncrypt operation: Invalid keyId alias/foo

Thanks for bringing this to our attention @rolandcrosby-dbt - this should now be fixed as of moto >= 4.1.4.dev13. Please let us know if you run into any other issues!


Hyperlinks in Table of Contents dont work

Anchors are broken in GitHub's mobile version. Unfortunately, there's no way to fix that.

I am checking this on my PC Browser


Increment version 1.2.0

Coverage remained the same at 99.646% when pulling 40cf38a46bec1fc140904a7c72499082f8443727 on 1.2.0 into cf48a0da463dd571a76355cc10806f5d4b18e386 on dev.


启动php-fpm报错，求助各位大神

[www-php@bjoffa5-113-104 ~]$ service php-fpm start
Starting php-fpm: [23-Mar-2016 13:04:53] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[23-Mar-2016 13:04:53] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[  OK  ]

错误提示已经告诉你了需要root启动


⚠ Bofrost.de has degraded performance

In 7f7bfdf, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1417 ms

Resolved: Bofrost.de performance has improved in c944fef after 13 minutes.


:sparkles: Faster uuid generation

Next up on the list of improvements that nobody asked for :-) faster uuid generation!
I noticed in the StorageRecord class that a new uuid4 is always generated when one isn't provided. This seemed important. So I wondered what is the fastest way to generate a uuid, and unsurprisingly, there is a python-rust binding that claims to be 10x faster than the default python uuid library.
https://github.com/aminalaee/uuid-utils
I verified the benchmarks with a timeit script, comparing that with another rust-binding library fastuuid:
import timeit
import uuid

from fastuuid import uuid4 as fastuuid4
from uuid_utils import uuid4 as utiluuid4

def uuid4_hex():
    return uuid.uuid4().hex

def fastuuid4_hex():
    return fastuuid4().hex

def utiluuid4_hex():
    return utiluuid4().hex

if __name__ == "__main__":
    number = 1000000  # Number of executions for timeit

    uuid4_time = timeit.timeit("uuid4_hex()", globals=globals(), number=number)
    print(f"uuid4_hex().hex: {uuid4_time:.6f} seconds")

    fastuuid4_time = timeit.timeit("fastuuid4_hex()", globals=globals(), number=number)
    print(f"fastuuid4().hex: {fastuuid4_time:.6f} seconds")

    utiluuid4_hex_time = timeit.timeit(
        "utiluuid4_hex()", globals=globals(), number=number
    )
    print(f"utiluuid4_hex().hex: {utiluuid4_hex_time:.6f} seconds")

My results:
uuid4_hex().hex: 2.518658 seconds
fastuuid4().hex: 1.306156 seconds
utiluuid4_hex().hex: 0.280322 seconds

0.28 seconds vs 2.5 seconds. That's 9 StorageRecords that can now be generated in the time that it previously took for 1!
It's a drop-in replacement. If maintainers like it as well, maybe it'll make ACA-Py a lil bit faster :-)

FYI. Sonarcloud is working correctly now. I think it's just reporting stuff that already existed in the changed files. We should still fix or ignore issues if they aren't a lot of effort.

@dbluhm @ianco Any opinions on this?

not sure of the mean/variance for the integration tests, but it seems to consistently shave some time off

Recently merged a new workflow for the integration tests. The usually take just over 40mins and the latest run was a bit faster. They can vary a few minutes depending on if other integration tests are running at the same time. This latest run did seem a bit quicker though.

Seems like a low effort way to speed things up. If there ever is a problem with the library, seems like a find and replace across the project would really be all that was necessary to switch back so seems like pretty low risk to add in.


PPO1 and Distributed Training

Hello guys,
I'm using the PPO1 algorithm to execute a distributed training in a specific environment that we've integrated previously. My question is more about how it works.
As far as I understood, the distributed training happens synchronously, averaging the gradients calculated from each worker. So, it seems to me that if I we have 50 workers initially and then change for 100 workers, we will get almost twice of data, but keep doing the same number of updates - which seems to me I'm losing data efficiency. I tried to get more updates faster (make smaller batches and minibatches, or even more optimization epochs, which made the kl loss diverge), but the algorithm converges worse than when I use a single worker.
Can anyone explain me how the distributed training works? and if I really need to change the hyperparameters like this to achieve better learning or ideally the same hyperparameters should work with a single worker and multiple workers?
Thanks in advance!

Hi @luckeciano! Your understanding is correct - the number of updates does not change in the scenario you are describing, rather the batch size to compute update is increasing providing more accurate updates. As for the hyperparameters that work in the distributed setting (especially with 50-100 workers) - I am afraid I don't have a good answer to that, I don't think we have experimented much in that direction (pinging @joschu, he may have a better answer to this). If you need faster convergence in the distributed setting, I'd recommend trying larger learning rates out of general sense that with bigger batches your gradients are more accurate, so it is safer to take bigger steps in the direction of the gradients.


Build docs with public URL

@cadenmyers13
While the build doc CI seems to be working, the https://www.diffpy.org/diffpy.fourigui  URL gives 404. Could you please also confirm this?

Should be resolved once we "release" which will initiate the build-deploy CI.


chore(rest): renamed criteria to idOrCriteria for clarity

resolves #179

This change is

update docs as well


#read_timeout, #open_timeout always return effective values

Fixes #591 — now the timeout accessors of both Request and Resource return the actual value, whether set explicitly, set via :timeout, or using Net::HTTP defaults.
They will only return nil when the timeout is actually infinite.
(Previously it was hard to know whether it's nil because unset, or because infinite.)
The main win IMHO is that this makes it easier to test other libraries that wrap RestClient (real story).
If a library allows setting timeouts (or not setting them!), you'd have to use stubs to test what parameters it passes to RestClient, and it was hard to be certain what is the resulting timeout.
Now it'll be possible to simply ask RestClient back and trust the answer.
Net::HTTP default open_timeout unfortunately depends on Ruby version (infinite up to 2.2, 60 seconds since 2.3.
To preserve existing default behavior on all ruby versions, I resorted to probing Net::HTTP's actual timeouts.  (Added a test that the probing returns nil/60 as expected per ruby version.)
I haven't looked into other rubies defaults e.g. JRuby.  Please review carefully in that regard.

@ab could you review this?

Rebased.  Closing/opening to rerun Travis — passes locally and I see similar log=>nil vs log=>["# => 200 OK ..."] failures in some recent builds, so hope they're not my fault.

Friendly ping @ab — anything I can help to get this reviewed?
(no urgency, just following up on my old PRs)


generated :hover classes seems odd

Description
Whenever I add a :hover to a class the output of it its something like this:
._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n:hover{border-color:blue}

Reproduction
Here you can see it happening:
https://codesandbox.io/s/hoverissue-9386o?file=/src/App.tsx
Expected behavior
the generated output should be smaller
._z4lg8n:hover { border-color: blue; }

Actual behavior
._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n._z4lg8n:hover{border-color:blue}

Thank you for reporting!
This is not a bug, but a feature™. Currently, the specificity of properties and pseudo selectors is controlled through class repetition. This is required to avoid issues with atomicity, e.g. padding-top should take precedence over padding, even when only defined later.
Issue #1 is about improving this behavior. Until then, don’t worry about the length of generated selectors, as gzip and Brotli compression handles repetition without substantial overhead in production.

Oh Cool! :) Thanks for the clarification

Version 0.4.0 addresses this issue by managing precedences without class name repetition. Please give it a try and get back to me if you notice any issues 😊


use IntegrationTests.jl in .ci/src/integTestGen.jl

Open it as draft, because I want to test the package with the QED ecosystem, before I release.

Run integration test in https://github.com/QEDjl-project/QEDcore.jl/pull/62


use https instead of http

Resolves ENG-2817
I think this is all that's needed unless we want the ability to use insecure connections or customize the CAs.
Once merged I'll update the other projects.

When I run curl on this, I'm getting an insecure certificate error.
We should either add a valid lets encrypt certificate to this endpoint or allow insecure tls on the http client.
❯ curl https://analytics.loft.rocks
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Yes the goal is to have a valid lets encrypt certificate.


GAM - Issue with special characters (italian keyboard)

I'm experiencing an issue with special characters (italian keyboard). Basically, using the command "print filelist", I should see the file "2.Attività" but what I see is "2.Attivit├á". Another example is "All. 04 - Patto di integritâ”œÃ¡.docx", which should be "All. 04 - Patto di integrità.docx". So, in these two case, the letter "à" has been converted in "├á" and "â”œÃ¡" by GAM. It happens with a lot of other special characters from the italian keyboard. Is there a way to correctly manage this scenario?
Expected outcome (what are you trying to do?): Create a report using the command "print filelist"
Actual outcome (what errors or bad behavior do you see instead?): The command works properly, but in the output the special characters (such as "à", " ' ", "è") are reported incorrectly

What is: gam version
Show the print filelist command.
Ross
On Tue, Jun 13, 2023 at 11:39 AM alessandroagnino @.***>
wrote:

I'm experiencing an issue with special characters (italian keyboard).
Basically, using the command "print filelist", I should see the file
"2.Attività" but what I see is "2.Attivit├á". Another example is "All. 04 -
Patto di integritâ”œÃ¡.docx", which should be "All. 04 - Patto di
integrità.docx". So, in these two case, the letter "à" has been converted
in "├á" and "â”œÃ¡" by GAM. It happens with a lot of other special
characters from the italian keyboard. Is there a way to correctly manage
this scenario?
Expected outcome (what are you trying to do?): Create a report using the
command "print filelist"
Actual outcome (what errors or bad behavior do you see instead?): The
command works properly, but in the output the special characters (such as
"à", " ' ", "è") are reported incorrectly
[image: image]
https://user-images.githubusercontent.com/124431080/245572823-e29603bb-8c5d-430d-94e9-eb935e0250d8.png
[image: image]
https://user-images.githubusercontent.com/124431080/245573474-f48f0e88-48f0-418d-a0fe-f808961d1f13.png
—
Reply to this email directly, view it on GitHub
https://github.com/GAM-team/GAM/issues/1637, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYL7BKNNVJS3GIMPIZODXLCXVRANCNFSM6AAAAAAZFJIR7Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Ross Scroggs
@.***

The command is:
gam user<EMAIL_ADDRESS>print filelist fields id name createdTime driveId fileExtension mimeType modifiedTime originalFilename size spaces starred teamDriveId trashed version webContentLink webViewLink permissionIds select teamdriveid "myTeamDriveID"
The version is GAM 6.58.

You have Standard GAM, with Advanced Gam you should be able to get what you
want.
See:
https://github.com/taers232c/GAMADV-XTD3/wiki/How-to-Upgrade-from-Standard-GAM
gam redirect csv ./TeamDriveFiles.csv charset utf-8 user "
@.***" print filelist fields id name createdTime driveId
fileExtension mimeType modifiedTime originalFilename size spaces starred
teamDriveId trashed version webContentLink webViewLink permissionIds select
teamdriveid "myTeamDriveID"
Ross
On Tue, Jun 13, 2023 at 11:46 PM alessandroagnino @.***>
wrote:

The command is:
gam user @.***" print filelist fields id name createdTime
driveId fileExtension mimeType modifiedTime originalFilename size spaces
starred teamDriveId trashed version webContentLink webViewLink
permissionIds select teamdriveid "myTeamDriveID"
The version is GAM 6.58.
—
Reply to this email directly, view it on GitHub
https://github.com/GAM-team/GAM/issues/1637#issuecomment-1590571584, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYL3JGWM7MPYEGUFRF73XLFM5TANCNFSM6AAAAAAZFJIR7Q
.
You are receiving this because you commented.Message ID:
@.***>

--
Ross Scroggs
@.***

it works! thank you so much!


Do not abort and dispose of tiles

This pull request aims to remove the ABORT state of tiles, and favor garbage collection over cleanup through disposeInternal().
This turns out to simplify the code in many places.
Fixes #10465.

This appears to fix the problem that I was seeing. Thank you.

Thanks for the review @tschaub!


Clear All Filters not clearing up the "On Time" Request Status Checkbox (Advanced Search for Ministry)

Describe the bug in current situation
On clicking the Clear All Filters in the Advanced Search for Ministry User view, the "On Time" Request Status Checkbox  is not unchecking/clearing up.
Link bug to the User Story
Scenario 10: 'Clear All Filters' of #1654.
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requisites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Log in as ECON Ministry User
Toggle to Advanced Search
Select the "On Time" filter for Request Status.
Click the 'Clear All Filter' button
See error

Actual/ observed behavior/ results
The "On Time" Request Status filter will be selected even if we choose clear all filter.
Expected behavior
All search filters should be removed.
Screenshots/ Visual Reference/ Source

Bug has been fixed, filter clears. Thank you @aparna-aot


version mismatch between grpc and protobufjs

We are having issues loading grpc objects from protobuf builder objects.
prtobufjs : 6.0.2
grpc: 1.0.1
Below is the source code and I get an error when loading grpc objects
grpc.loadObject(this.$builder.ns)
TypeError: Cannot read property 'className' of undefined
at Object.loadObject (node_modules/grpc/src/node/index.js:65:12)
Protobufjs suggested that this is due to mismatch of versions between grpc and protobufjs (i.e. grpc is still using protobuf 5).
https://github.com/dcodeIO/protobuf.js/issues/533
Could you please let us know when the fix for this would be available in grpc ?
Thank you.

This is a really pressing point, can you given an ETA for this?

As soon as #9004 works, the following release with use Protobuf.js 6 instead of Protobuf.js 5.

We tried with grpc 1.1.0-pre1 version but it still seems to be using pbjs 5.0v - https://github.com/grpc/grpc/issues/9500 Could you please let us know when this will be available ?

Could you please provide an ETA for this ?

You should use protobuf.js 5 until 6 is complete. I am completing the 6 PR today and hopefully it will be in soon.

Protobuf.js 6 support is now in master, and will be available in gRPC 1.3.0.

It is now possible to load a Protobuf.js 6 object using grpc.loadObject.


Add SparkyLinux logo

Quick logo I made in some ascii art generator. Still needs some color. This is how it looks like in a picture:

Added my own version of the ascii art. See this commit:
https://github.com/dylanaraps/neofetch/commit/7fb8af4824913db8ed2e330c34c3c545f6d81cad
Thanks for opening this PR.


inRandomOrder return same result

Issue
when i use inRandomOrder to get random result, but i got same result. i know it's may cause by cache. so is it possible to get different result by use some like shuffle ?
Environment
Laravel Version: 5.6.12
Laravel Model Caching Package Version: 0.2.52
PHP Version: 7.2.1
Homestead Version: not use
Operating System & Version: mac os 10.12.6
Stack Trace
Sponsor::currentSeason()
                ->where('type', Sponsor::TYPE_MEDIA)
                ->inRandomOrder()
                ->first();

Thanks for reporting this. In the mean time you can exclude this from caching by adding ->disableCache().
Sponsor::currentSeason()
    ->disableCache()
    ->where('type', Sponsor::TYPE_MEDIA)
    ->inRandomOrder()
    ->first();

We're facing the same issue also. Has there been any progress on a fix for this? Would it help if we created a PR?

Hi @noonanwebgroup, yes, if you would like to take a stab at creating a PR including unit tests that replicate the issue, that would be great. I can't promise that I will accept the PR sight-unseen, and would have to take some time to review and test it afterwards as well.
Sorry for the delays, I have been swamped with work deadlines this last month.

Thanks for the swift reply. Of course, it's not a problem. Thanks for the great library. I'll create a PR tomorrow.

Please try version 0.2.53 or higher, and let me know if that fixes it for you. For now the best solution I was able to find was to disable caching on queries that use inRandomOrder().


Fix getImageUrl utility

Address 'null' issue with getImageUrl utility
Implement inside img_url handlebars helper #68

This won't be required with the new version.


Generating new atsigns runs on older secondary server version

Describe the bug
The new atSign's generated on the mobile apps runs on the older version of the secondary server.
Below are the log snippets of the two atSign "55inline" and "gothiceggplant87"
55inline:
<EMAIL_ADDRESS>  | INFO|2023-01-11 06:49:12.944389|AtSecondaryServer|Secondary server started on version : 3.0.15 on root server : root.atsign.org
<EMAIL_ADDRESS>  |
<EMAIL_ADDRESS>  | INFO|2023-01-11 06:49:12.944518|AtSecondaryServer|Secure Socket open for @55inline !

gothiceggplant87:
|Secondary server started on version : 3.0.15 on root server : root.atsign.org
<EMAIL_ADDRESS>  |
<EMAIL_ADDRESS>  | INFO|2023-01-10 09:24:20.919863|AtSecondaryServer|Secure Socket open for @gothiceggplant87 !
<EMAIL_ADDRESS>  |
<EMAIL_ADDRESS>  | SEVERE|2023-01-10 09:24:42.986653|DefaultVerbExecutor|exception in processing command :from:@gothiceggplant87:clientConfig:{"version":"3.0.49"}: Exception: invalid @sign: Cannot contain !*'`();:&=+$,/?#[]{} characters

Since the secondary version is pointing to an older version (v3.0.15), the new variant of "FROM" which contains the client config fails with an exception which prevents the creation of new connections.
Steps to reproduce
Generate a free atSign on the wavi app:

Select an atSign and enter my email address
Enter the OTP received via email and enter it
Select the new atSign (not the existing atSign's)

Expected behavior
The below exception should be resolved and the app should be able to connect to the secondary server.
SEVERE|2023-01-10 09:24:42.986653|DefaultVerbExecutor|exception in processing command :from:@gothiceggplant87:clientConfig:{"version":"3.0.49"}: Exception: invalid @sign: Cannot contain !*'`();:&=+$,/?#[]{} characters

Were you using an atApplication when the bug was found?
Wavi

This issue might be the potential cause for the following issue: https://github.com/atsign-foundation/apps/issues/759

My initial trouble shooting on this identified that the registry reg.swarm0001.atsign.zone was running with an expired certificate:
Certificate chain
 0 s:CN = reg.swarm0001.atsign.zone
   i:C = US, O = Let's Encrypt, CN = R3
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: Oct 12 07:35:33 2022 GMT; NotAfter: Jan 10 07:35:32 2023 GMT

A new cert had been generated on 12 Dec, but the registry hadn't been restarted since then.
Action #1137 and https://github.com/atsign-foundation/seccheck/issues/24 opened so that this shouldn't happen again, along with https://github.com/atsign-company/secondaries-scripts/issues/62 to make secondary spinup more robust.

Moving this to PR54 as the linked actions aren't done yet, but treat as a tracker, so assigning 0 SP.

Linked actions are complete, closing this ticket as complete


Update validators

This change is

Coverage remained the same at 90.484% when pulling 6bd685fec7cad5d570ac7a3fa0e5c2bca88001c8 on annawzz:a289368434081969_validators_dec into ce6c6d1c338824a97f4fb2cd36c11738e3311481 on openprocurement:a258001251842882_refactoring.


Adding Stop for JobRunner

During destruction phase, if we cannot guarantee that there are no more
incoming messages, we should stop the runner before destructing nodes
to avoid use-after-free.

Depend on

#66


[Accordion] Cannot open nested accordion items using javascript

When using nested accordions, programmatically opening an item in the nested accordion using JavaScript seems not to be working.
I've reproduced the problem here:
https://jsfiddle.net/y6o0p1Lz/1/
The accordion works correctly if you open items by clicking, but not using javascript

Until this is fixed, if anyone is interested, I found that this simple workaround makes it work like intended:
var itemToOpen = 2;
$('#myAccordion .title').get(itemToOpen).click();

@tarockx in your example (https://jsfiddle.net/y6o0p1Lz/1/) the nested items can be opened by addressing the parent accordion with $(".ui.accordion").accordion('open', 2);
here's another fiddle with 3 layers of nested accordions: https://jsfiddle.net/mdhtr/mLwjr4zp/ showing how the use of the 'open' method on the top level accordion does not open the levels above the item that is opened.

@mdhtr : thanks for pointing this out. However, I must say I don't understand the reason why it's implemented like this, it seems needlessly convoluted to me.
Let me explain, maybe I'm missing something here and you can correct me: if I understand your fiddle correctly, to open an item in a nested accordion I need to recursively traverse the "tree of nested accordions" and count all the items that come before the one I want to open, in order to obtain the "global" index of the item, which I can then use to invoke 'open' on the root accordion.
That's much more complicated than calling the function on the accordion I'm interested in and just pass it the "local" index of the item. I don't understand the reasoning behind this choice.

Care of your DOM collision with Semantic UI classes (i.e. 'title', 'content', etc)


adaptive discriminator augmentation?

Does stylegan_xl work with the AugmentPipe step? Looks like the pipeline step is checked in to the repository (https://github.com/autonomousvision/stylegan_xl/blob/main/training/augment.py) but it has been removed from the command-line options. Wondering if you'd had a chance to play with it?

Yes, we compared ADA and Diffaug in Projected GANs Converge Faster, and Projected GANs (which SGXL is using) do not seem to profit from the adaptivity. :)

Thank you for the feedback!


7/13/2021 Publish

Docs Build status updates of commit 4f04170:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d2bd88c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

This comment lists only the first 50 files in the pull request.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.AzureDatabricksManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.AzureDatabricksManagementClientOptions'.

<EMAIL_ADDRESS>
Line 41, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 44, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.OperationsListResponse'.
Line 99, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 102, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.OperationsListNextResponse'.

<EMAIL_ADDRESS>
Line 60, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 88, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 121, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 124, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.PrivateEndpointConnectionsCreateResponse'.
Line 151, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 179, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 182, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.PrivateEndpointConnectionsGetResponse'.
Line 266, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 269, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.PrivateEndpointConnectionsListResponse'.
Line 343, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 346, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.PrivateEndpointConnectionsListNextResponse'.

<EMAIL_ADDRESS>
Line 54, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 57, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.PrivateLinkResourcesGetResponse'.
Line 138, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 141, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.PrivateLinkResourcesListResponse'.
Line 212, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 215, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.PrivateLinkResourcesListNextResponse'.

<EMAIL_ADDRESS>
Line 58, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 85, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 118, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 121, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.VNetPeeringCreateOrUpdateResponse'.
Line 145, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 172, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 175, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.VNetPeeringGetResponse'.
Line 256, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 259, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.VNetPeeringListByWorkspaceResponse'.
Line 335, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 338, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.VNetPeeringListByWorkspaceNextResponse'.

<EMAIL_ADDRESS>
Line 52, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 76, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 103, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 130, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 133, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.WorkspacesCreateOrUpdateResponse'.
Line 154, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 178, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 181, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.WorkspacesGetResponse'.
Line 250, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 253, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.WorkspacesListByResourceGroupResponse'.
Line 320, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 323, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.WorkspacesListByResourceGroupNextResponse'.
Line 385, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 388, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.WorkspacesListBySubscriptionResponse'.
Line 449, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 452, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.WorkspacesListBySubscriptionNextResponse'.
Line 525, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 528, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.WorkspacesUpdateResponse'.

<EMAIL_ADDRESS>
Line 34, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 56, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.SiteRecoveryManagementClientOptions'.

<EMAIL_ADDRESS>
Line 35, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 57, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.SiteRecoveryManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.RecoveryServicesClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.RecoveryServicesClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 51, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.RedisManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 51, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.RedisManagementClientOptions'.

<EMAIL_ADDRESS>
Line 33, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 47, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.RedisEnterpriseManagementClientOptions'.

<EMAIL_ADDRESS>
Line 33, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 47, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.RedisEnterpriseManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.RelayManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.RelayManagementClientOptions'.

<EMAIL_ADDRESS>
Line 31, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 42, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.AzureReservationAPIOptions'.
Line 230, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 233, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.GetAppliedReservationListResponse'.
Line 336, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.AzureReservationAPIGetCatalogOptionalParams'.
Line 339, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.GetCatalogResponse'.

<EMAIL_ADDRESS>
Line 31, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 42, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.AzureReservationAPIOptions'.

<EMAIL_ADDRESS>
Line 31, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 42, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ResourceGraphClientOptions'.
Line 154, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 157, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.ResourceChangeDetailsResponse'.
Line 236, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 239, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.ResourceChangesResponse'.
Line 313, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 316, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.ResourcesResponse'.
Line 381, Column 17: [Warning-xref-not-found] Cross reference not found: 'msRest.RequestOptionsBase'.
Line 384, Column 26: [Warning-xref-not-found] Cross reference not found: 'Models.ResourcesHistoryResponse'.

<EMAIL_ADDRESS>
Line 31, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 42, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ResourceGraphClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.MicrosoftResourceHealthOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.MicrosoftResourceHealthOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ResourceMoverServiceAPIOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ResourceMoverServiceAPIOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.SearchManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.SearchManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ServiceBusManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ServiceBusManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ServiceFabricMeshManagementClientOptions'.

<EMAIL_ADDRESS>
Line 33, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 47, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ServiceFabricMeshManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ServicemapManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.ServicemapManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.SignalRManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.SignalRManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.SqlVirtualMachineManagementClientOptions'.

<EMAIL_ADDRESS>
Line 33, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 47, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.SqlVirtualMachineManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorageManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorageManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorageCacheManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorageCacheManagementClientOptions'.

<EMAIL_ADDRESS>
Line 36, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorageImportExportManagementClientOptions'.

<EMAIL_ADDRESS>
Line 36, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorageImportExportManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorageSyncManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorageSyncManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorSimpleManagementClientOptions'.

<EMAIL_ADDRESS>
Line 33, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 47, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorSimpleManagementClientOptions'.

<EMAIL_ADDRESS>
Line 36, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorSimple8000SeriesManagementClientOptions'.

<EMAIL_ADDRESS>
Line 36, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 50, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StorSimple8000SeriesManagementClientOptions'.

<EMAIL_ADDRESS>
Line 32, Column 1: [Warning-xref-not-found] Cross reference not found: 'https://www.npmjs.com/package/@azure/identity'.
Line 46, Column 17: [Warning-xref-not-found] Cross reference not found: 'Models.StreamAnalyticsManagementClientOptions'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Test unfinished

I'm getting test unfinished in the below scenario. It says that one out of two asserts failed but there is only one assert in the code.
t.test('...', () => {
  const client = new Client()

  const builder = new Builder(
    client,
    '',
    {}
  )

  builder.then(console.log)

  t.same(client.callState.get[0], 'xxx')
})

It works if builder.then(console.log) is removed.

You have to end the test in one of three ways.

Call t.end() when you're done.
Set a plan with t.plan(number) to specify how many assertions you expect (it'll end when it gets the planned amount, and fail if it gets too many)
Return a promise from the test function (eg, by doing t.test(name, async t => ...))

Also, you are calling the t.same() on the root tap object, it should be on the one passed into the test function.
Here's how I'd write it:
t.test('...', async t => { // <-- take subtest as argument, make this an async function
  const client = new Client()

  const builder = new Builder(
    client,
    '',
    {}
  )

  // why does your constructor return a thenable object?
  // are you subclassing Promise or something?
  const result = await builder

  t.same(client.callState.get[0], 'xxx')

  // subtest auto-ends when async function returned promise resolves
})

Alternatively, if I'm wrong about Builder returning a promise-like, you could do this:
t.test('...', t => {
  const client = new Client()

  const builder = new Builder(
    client,
    '',
    {}
  )

  builder.then(console.log)

  t.same(client.callState.get[0], 'xxx')

  t.end() // <-- end explicitly
})

Thanks! It's a snippet from a fluent query builder api. It's thenable because, thening it is what fires the query. :)
Actual usage is like, await serviceClient.collection('blogs').eq('title', 'Title').gt('age', 10)

Cool.  If it's a Promise, I usually await it into a local const, and then do some assertions to make sure I got what I expect.
t.test('some useful description of what is being tested', async t => {
  const result = await new Builder(new Client(), '', {})
  t.equal(result.foo, 'bar', 'or whatever')
  t.match(result, {some: {fields: { expected: 'to be here'}}})
  // etc
})

If the

right, what I understand is that there shouldn't be any pending callbacks when the test function finishes executing or else the test is considered unfinished. (which makes sense)
In this case I am checking that the Builder is internally invoking methods of the Client correctly. Speaking of which, is there a function mocking utility in tap? I've had to roll my own function mocking code, hence the client.callState.get[0]


[Chore] CidHashSet::contains

Summary of changes

Changes introduced in this pull request:

Introduces contains method to CidHashSet.

Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

no green checkmark, no review!


Cannot Sign In

Issue Type: Bug
After Sign In through Github or Microsoft Account both gives the same error. Tried with installig libssl1.1 still same issue.
Error : Starting collaboration session: Could not connect to the server. HTTPS connection failed, verify there are no self-signed certificates or custom cert validation policies blocking Live Share.
Extension version: 1.0.2478
VS Code version: Code 1.47.3 (91899dcef7b8110878ea59626991a18c8a6a1b3e, 2020-07-23T15:51:39.791Z)
OS version: Linux x64 4.15.0-88-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz (4 x 1663)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: unavailable_offviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 2

Memory (System)
7.71GB (0.19GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Hi, thanks for reaching out. We are tracking the issue in #2892.  So I am going to close this as duplicate. Your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to #2892 .

Thanks for reaching out. Can you give us more details about your scenario? Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.


Wallet has issues detecting calling POA network. Switch network and back fixes.

I know this will be hard to pin down, but it becomes an issue after a time with wallet open.
I don't know if this is related only to POA Network, I suspect possibly.

Expected Behavior
When visit dApp
Wallet syncs with network and returns call immediately.

Actual Behavior
When visit dApp
Calls to network are not returned on time, wallet has hanged waiting.

Switching away from network (say to ETH Main) and back again fixes.
https://doperaider.com
It doesn't happen every time - seems to be following use of the wallet for some time.

Browser Used
Chrome

Operating System Used
Macosx, but reported on windows too.

it's not just on the market page - happens in game too on a lot of pages.
the RPC system has been upgraded with extra LB.
Because switching network and back works, means the RPC system is responding ok after that, so it is a client side issue now - something to do with wallet / browser throughput ?

On application we can try to reduce the frequency of the calls. - will try this for some functions to see if it helps

Because switching network and back works, means the RPC system is responding ok after that, so it is a client side issue now - something to do with wallet / browser throughput ?

What I saw was that some requests got lost. If what happened to you was that it stopped to work altogether and even refreshing the page didn't fix it, then I may not have reproduced it. I will give it another try.

I looked into this again. This is what I did and what I observed.
I went to the market page (I only used that page since I don't have a character) and alternated between the first and second page repeatedly.
As mentioned, this generates a lot of transactions and sometimes one of these fails. The failure is a net::ERR_FAILED, which I understand as a connection error (I mean, it's not a 4XX or 5XX response from the server; there is no status code).
When this happens, the page may be blank for some seconds, but after a while it starts working again (I guess this happens because the page refreshes the list of characters after a while). I'm guessing that refreshing the page works too, but I didn't try it because it fixed itself quickly.
So I'm not sure that this is the same that it's happening to you: if you had to change networks in Nifty Wallet, I suppose that refreshing the page didn't work. But I'm out of ideas on how to reproduce this in Core. Is there some testnet where the game works and where I can buy characters so that I can try this in other pages?

Will investigate the market page and write something here soon
On Mon, 6 Aug 2018 at 16:28, Franco Victorio<EMAIL_ADDRESS>wrote:

I looked into this again. This is what I did and what I observed.
I went to the market page (I only used that page since I don't have a
character) and alternated between the first and second page repeatedly.
As mentioned, this generates a lot of transactions and sometimes one of
these fails. The failure is a net::ERR_FAILED, which I understand as a
connection error (I mean, it's not a 4XX or 5XX response from the server;
there is no status code).
When this happens, the page may be blank for some seconds, but after a
while it starts working again (I guess this happens because the page
refreshes the list of characters after a while). I'm guessing that
refreshing the page works too, but I didn't try it because it fixed itself
quickly.
So I'm not sure that this is the same that it's happening to you: if you
had to change networks in Nifty Wallet, I suppose that refreshing the page
didn't work. But I'm out of ideas on how to reproduce this in Core. Is
there some testnet where the game works and where I can buy characters so
that I can try this in other pages?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/poanetwork/metamask-extension/issues/49#issuecomment-410747930,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ah-f6OT71jxIonG1o8Mp293Q93CZpgVAks5uOGCGgaJpZM4Voiax
.


Error exception being thrown after running php artisan view:cache

I've got an error saying directory does not exist in this package vendor directory after running php artisan view:cache. The log looks like the following:-
[2022-01-18 14:46:42] local.ERROR: The "/home/sail/example-app/vendor/spatie/laravel-site-search/src/../resources/views" directory does not exist. {"exception":"[object] (Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException(code: 0): The \"/home/sail/example-app/vendor/spatie/laravel-site-search/src/../resources/views\" directory does not exist. at /home/sail/example-app/vendor/symfony/finder/Finder.php:592) [stacktrace] #0 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/ViewCacheCommand.php(67): Symfony\\Component\\Finder\\Finder->in() #1 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/ViewCacheCommand.php(36): Illuminate\\Foundation\\Console\\ViewCacheCommand->bladeFilesIn() #2 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(242): Illuminate\\Foundation\\Console\\ViewCacheCommand->Illuminate\\Foundation\\Console\\{closure}() #3 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/ViewCacheCommand.php(37): Illuminate\\Support\\Collection->each() #4 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Foundation\\Console\\ViewCacheCommand->handle() #5 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #6 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure() #7 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod() #8 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call() #9 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\\Container\\Container->call() #10 /home/sail/example-app/vendor/symfony/console/Command/Command.php(298): Illuminate\\Console\\Command->execute() #11 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run() #12 /home/sail/example-app/vendor/symfony/console/Application.php(1005): Illuminate\\Console\\Command->run() #13 /home/sail/example-app/vendor/symfony/console/Application.php(299): Symfony\\Component\\Console\\Application->doRunCommand() #14 /home/sail/example-app/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun() #15 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\\Component\\Console\\Application->run() #16 /home/sail/example-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run() #17 /home/sail/example-app/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle() #18 {main} "}

I don't think it's related to the code of our package. As you can see the resources/views directory is part of the package.

Hi Freek, thanks for the feedback. May I know what did you mean by resources/views directory is part of the package? because I happen to not see those directories exist in the package folder.
The faster way to replicate this issue is spin up new laravel repository
`composer create-project laravel/laravel example-app
cd example-app
composer require "spatie/laravel-site-search:^1.0.0"
php artisan vendor:publish --tag="site-search-migrations"
php artisan migrate
php artisan view:cache`

Hi, you're right, I mistakenly thought that we had some views in this package.
I've corrected the service provider. The problem is solved in latest version of the package.
Thanks for reporting.

Glad that helped. Thanks for the fixing and for the really awesome package. 👍


Logman create trace -pf flag

[Enter feedback here]
I believe you need a control file specifically instead of a text file when using the -pf option for logman create trace. I tried a text file and it didn't work, but it did for a control file with one provider per line.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ccf27e81-28f7-52ee-faa6-e604f679d5f3
Version Independent ID: 583aae78-893b-5e4b-d511-4ea30f1a501c
Content: logman create trace
Content Source: WindowsServerDocs/administration/windows-commands/logman-create-trace.md
Product: windows-server-threshold
Technology: manage-windows-commands
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

@t-naprak I think I'm working on something very, very similar to you...
As for the issue, it depends what the definition of a control file is. If it's simply a plain-text file with one provider per line, that sounds identical to the text file described in the documentation.

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


fix PATH format

I'd been getting an error on building on PLATFORM_WEB
$ make PLATFORM=PLATFORM_WEB -B
make raylib_game
make: make: No such file or directory
make: *** [Makefile:311: all] Error 127

here's the path that was being produced in the Makefile
$ make PLATFORM=PLATFORM_WEB -B other
~/.emsdk;~/.emsdk/upstream/emscripten;~/.emsdk/upstream/bin;~/.emsdk/node/14.15.5_64bit/bin;:$(PATH)

here's the path now (which looks better)
$ make PLATFORM=PLATFORM_WEB -B other
~/.emsdk:~/.emsdk/upstream/emscripten:~/.emsdk/upstream/bin:~/.emsdk/node/14.15.5_64bit/bin:/home/byoung/.emsdk/upstream/emscripten:/home/byoung/.emsdk:/home/byoung/.volta/bin:/home/byoung/.local/bin:/home/byoung/bin:/home/byoung/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/go/bin

the $$PATH append was breaking my PATH, but I also noticed the separators used here were ;, fixed that as well, now my builds work as expected.
The builds also worked with the ;, but I think that's only because my PATH was also properly set up outside the Makefile.

My changes might be a bit naive. Discord discussion here: https://discord.com/channels/426912293134270465/661385466766950403/1180186471299305532
Maybe the best route forward is to not try to cover all the cases possible here, and just leave the PATH up to the dev.


splitSearchTerms control

Discussed in https://github.com/filamentphp/filament/discussions/13466

Originally posted by JohnRoux July  4, 2024
There are a couple of things in Filament which are amazing, but don't really work well when you have a lot of data in a table.
Eg: If you have 10m+ records, doing the count(*) to get the total count of records can get reeeeeally slow, and it's not super intuitive as to how to fix that.
Additionally, searching with indexing is hard. But if you swap to $search% you can still get a benefit of at least 1 more level of index lookup.
This can make a pretty huge impact.
Currently I've got a CustomListRecords page which I use, it has simple options like:
    protected bool $simplePagination = false;
    protected bool $splitSearchTerms = true;

So all you need to do is change those flags on your ListRecords page, and you've swapped out.
Is this something that I should make a PR for? Super happy to if that's the case.
Either way, I'd love to contribute a bit towards some Filament at Scale documentation :+1:

Donate 💰 to fund this issue

You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
100% of the funding will be distributed between the Filament core team to run all aspects of the project.
Thank you in advance for helping us make maintenance sustainable!

@JohnRoux this has been implemented in v4 in #14965


Revert "Add description and url for events"

This reverts commit 3f28a5ed61ad0258dc9022afd42594a63831f5b3.
Secure Coding Practices Checklist Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[ ] Input Validation
[ ] Output Encoding
[ ] Authentication and Password Management
[ ] Session Management
[ ] Access Control
[ ] Cryptographic Practices
[ ] Error Handling and Logging
[ ] Data Protection
[ ] Communication Security
[ ] System Configuration
[ ] Database Security
[ ] File Management
[ ] Memory Management
[ ] General Coding Practices

Codecov Report

Merging #236 (4f7e76a) into master (209c0c9) will increase coverage by 23.71%.
The diff coverage is 68.36%.

@@             Coverage Diff             @@
##           master     #236       +/-   ##
===========================================
+ Coverage   50.14%   73.85%   +23.71%
===========================================
  Files          13       25       +12
  Lines         357      719      +362
===========================================
+ Hits          179      531      +352
- Misses        178      188       +10

Impacted Files
Coverage Δ

clean_expired_records.py
0.00% <0.00%> (ø)

historical_system_profiles/mgmt_views/v0.py
100.00% <ø> (ø)

kafka_listener.py
0.00% <0.00%> (ø)

standalone_flask_server.py
0.00% <ø> (ø)

wsgi.py
0.00% <ø> (ø)

..._system_profiles/notification_service_interface.py
35.00% <35.00%> (ø)

...ical_system_profiles/baseline_service_interface.py
39.13% <39.13%> (ø)

historical_system_profiles/archiver.py
54.54% <53.73%> (+54.54%)
:arrow_up:

...torical_system_profiles/drift_service_interface.py
66.66% <66.66%> (ø)

historical_system_profiles/probes.py
66.66% <66.66%> (ø)

... and 31 more

Continue to review full report at Codecov.

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


Home url does not respect any settings in multiple functions

Tested on 1.7.rc10
Situation

Got an template and URL shouldn't end with '/' instead /index.html
Page routing default is /index and systems.
system work even stranger is /index is used compared to indexfoo
Setting for hide home Hide home route in URLs is No

Workaround for link

{{ page.find('/home').url ~ system.pages.append_url_extension }}

Problem with following variables

home_url won't respect anything and falls back to '/' n SourceCode
page.canonical() returns different URLs (after reload)

<link rel="canonical" href="https://dev.docker/."/>
<link rel="canonical" href="https://dev.docker/.html"/>
<link rel="canonical" href="https://dev.docker/index"/>

page.find('/home').url should return the correct url with append_url_extension
page.permalink() returned also without append_url_extension on home - subpages used append_url_extension

Tested as well

Adding different settings like append_url_extension not only in systems, also on home and no effect.
Set  default route to index.html and now only index.html.html works and with /index before /index worked without .html. Looks like some special case.

is this flex pages or legacy pages?

home_url should already take language into account:
Twig.php:
'home_url'          => $pages->homeUrl($active_language),

Pages.php:
    public function homeUrl($lang = null, $absolute = null)
    {
        return $this->baseUrl($lang, $absolute) ?: '/';
    }
...
    public function baseUrl($lang = null, $absolute = null)
    {
        if ($absolute === null) {
            $type = 'base_url';
        } elseif ($absolute) {
            $type = 'base_url_absolute';
        } else {
            $type = 'base_url_relative';
        }

        return $this->grav[$type] . $this->baseRoute($lang);
    }
...
    public function baseRoute($lang = null)
    {
        $key = $lang ?: $this->active_lang ?: 'default';

        if (!isset($this->baseRoute[$key])) {
            /** @var Language $language */
            $language = $this->grav['language'];

            $path_base = rtrim($this->base(), '/');
            $path_lang = $language->enabled() ? $language->getLanguageURLPrefix($lang) : '';

            $this->baseRoute[$key] = $path_base . $path_lang;
        }

        return $this->baseRoute[$key];
    }

It doesn't look like home_url takes the url extension into account.  The append_url_extension option seems to be only partially implemented... it's never been a problem before because it's so rarely used.

I've observed this, too. Grav doesn't take extensions into account by default but tends to strip them out.

If you want .html in your pages, there's already option to add that. Closing this issue as there has been a few fixes for this already.


LicenseModel property in RDS describe_db_instances() response

I'm mocking via decorator in Python and seeing the LicenseModel property returned as "general-public-license" in the response from create_db_instance() in the rds2 package.  Is there a timeline to enable this to be dynamic based on input parameter?
Thanks for your help.

@areese2006 This is now fixed on master. Thanks for speaking up!


redpanda: add rack awareness feature

Set redpanda.rack to the value of the Kubernetes Node's topology.kubernetes.io/zone annotation.
Fixes #86

One comment around rbac.enabled existing and/or it's default being false. I think it would be better to leave this out entirely and then enable it automatically when this (and future features) are enabled by the user.

I made this choice for a couple reasons. One, to ensure that adding privilege is a conscious choice.
The other reason is to allow this chart to be used by unprivileged users. In an enterprise environment, organization units are given a namespace but have not cluster-level privileges. In this scenario, the ServiceAccount, ClusterRole, and ClusterRoleBinding will need to be created by the cluster administrator. The chart user will still be able to use the chart by using the SA assigned to them and not enabling the rbac components.


Domain Named Stripped from Cisco:ios logs

Was the issue replicated by support?
No
What is the sc4s version ?
3.4.5
Is there a pcap available?
Yes
Is the issue related to the environment of the customer or Software related issue?
both
Is it related to Data loss, please explain ?
Protocol? Hardware specs?
The domain name is being stripped off the cisco:ios logs by "splunk-connect-for-syslog\package\etc\conf.d\conflib_splunk\fix_dns.conf"
Last chance index/Fallback index?
No
Is the issue related to local customization?
No
Do we have all the default indexes created?
Yes
Describe the bug
The syslog messages are being forwarded to Splunk, however, SC4S is stripping the domain name off of the device names, causing issues with interfaces that are sending log messages.
For example, the host - "hostname.contoso.com", will have the host= hostname, while the hostname
"lo0.hostname.contoso.com.", will have the host = lo0.
To Reproduce
Steps to reproduce the behavior:
Send cisco:ios logs to SC4S with a hostname such as lo0.contoso.com

@twellinghurst thank you for reporting this. Can you provide an example message to reproduce? I couldn't reproduce this behaviour with our testing data:

Thanks for the quick response:
Here is a raw message captured using tcpdump on the SC4S server -
09:30:16.191278 IP (tos 0x0, ttl 251, id 22614, offset 0, flags [none], proto UDP (17), length 207)
lo0.xxxxxxxxx.xxx.xx.xxx.xxx.51204 > host.xx.xxx.xxx.syslog: SYSLOG, length: 179
Facility local7 (23), Severity notice (5)
Msg: 387769: Oct 12 09:31:00.661 EDT: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: user_account] [Source: <IP_ADDRESS>] [localport: 22] at 09:31:00 EDT Thu Oct 12 2023
And here are the results from this mesasge in Splunk-

@twellinghurst this event worked for me:
echo "<13> Oct 12 09:31:00.661 EDT: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: user_account] [Source: <IP_ADDRESS>] [localport: 22] at 09:31:00 EDT Thu Oct 12 2023" > /dev/udp/<IP_ADDRESS>/514

but I am missing two of your tags and still didn't reproduce the host issue. Do you use local configuration or context files or extra settings in env_file?

all right, I understand, you use SC4S_USE_REVERSE_DNS and you'd like SC4S' FixHostResolver to pass full root domain to be assigned to host. Let me check the reason of the current design

@twellinghurst thank you for reporting this, I will add additional property for fetching full dns

Do you have any ETA on when the additional property will be added? @mstopa-splunk

Hello, we've got a bit on our plate at the moment, but his should be ready in up to 3 weeks

@mstopa-splunk - Thank you for resolving this issue!! Do you know when this will be merged into main?

@twellinghurst this has been merged, please us SC4S_REVERSE_DNS_KEEP_FQDN=yes to go from:

to:


[SPARK-34311][SQL] PostgresDialect can't treat arrays of some types

What changes were proposed in this pull request?

This PR fixes the issue that PostgresDialect can't treat arrays of some types.
Though PostgreSQL supports wide range of types (https://www.postgresql.org/docs/13/datatype.html),  the current PostgresDialect can't treat arrays of the following types.

xml
tsvector
tsquery
macaddr
macaddr8
txid_snapshot
pg_snapshot
point
line
lseg
box
path
polygon
circle
pg_lsn
bit varying
interval

NOTE: PostgreSQL doesn't implement arrays of serial types so this PR doesn't care about them.
Why are the changes needed?

To provide better support with PostgreSQL.
Does this PR introduce any user-facing change?

Yes. PostgresDialect can handle arrays of types shown above.
How was this patch tested?

New test.

Test build #134735 has started for PR 31419 at commit b0c3ba4.

For reviews: Array of series is not implemented in PostgreSQL so I didn't care about series2, series4 and series8.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39321/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39321/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39321/

Test build #134735 has finished for PR 31419 at commit b0c3ba4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134735/

Does this PR supports all types in PostgreSQL? are there unsupported types?

Does this PR supports all types in PostgreSQL? are there unsupported types?

I think so except for serial types as I mentioned above.
Here is all types in PostgreSQL.
https://www.postgresql.org/docs/13/datatype.html

okay, could you copy the statement above into the PR description?

I noticed the previous change didn't cover macaddr8, pg_snapshot, bit varying and interval so I've updated the code and description.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39377/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39377/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39377/

Test build #134788 has finished for PR 31419 at commit ac54aa2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134788/

retest this please.

Test build #134798 has started for PR 31419 at commit ac54aa2.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39386/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39386/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39386/

Test build #134798 has finished for PR 31419 at commit ac54aa2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134798/

Test build #135000 has started for PR 31419 at commit 010413e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39583/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39583/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39583/

Test build #135000 has finished for PR 31419 at commit 010413e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class AlterTableSetLocation(
case class AlterTableSetProperties(
case class AlterTableUnsetProperties(
 implicit class MetadataColumnHelper(attr: Attribute)
class ResolveSessionCatalog(val catalogManager: CatalogManager)

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135000/

@srowen @maropu Do you have any comment on the latest change?

Just so I'm clear, you're saying things like tsvector are already supported, and now tested, and now tsvector[] is also supported?

Yes. tsvector is already supported but it's not tested so I opened #31456.
On the other hand, tsvector[] and other array types added in this PR are not supported before.

@srowen
Ah, you mean how about mapping to StringType by default for array elements?

No i just wondered if I should see tests for the non-array types here. It is OK if it's in another PR. This seems fine if you're ready to merge.

Thanks! Merged to master.


prop, attr, props, attrs, store → p?

All these accessors don't have much application on themselves.
Also, h handles attr along with props - it's just natural to store primitive as attr and prop as full value (derived from incremental-dom).
let props = p(el)
props.x = 1

Having that a proxy object also removes need in store:
let props = p(el)
props.x = 'a'
el.getAttribute('a') // 'a'

The problem is though setting up an observable for all props, esp. for nodes or elements with lots of props.
Also, trouble subscribing (needs converting to v):
let props = p(el)
v(props)({x}) => console.log('x'))
el.x = 1

Maybe creating observables lazily only for the values that are being accessed via props?
That can be an issue for spreading, unless we redefine iterator. But redefining Symbol.iterator does not redefine object spread, therefore creating observables on-get is dangerous for spread.
It's possible to create observable as props[_observable]('a') - even for sub-property. But that's not in the standard though.
Seems that observed props must be defined manually:
let props = p(el, 'x y z')

But then that's ugly for single-prop: let props = p(el, 'x'); props.x. Also, missing props list creates all-observables, which is dangerous.

Mb options, configuring attr/observer?
let props = p(el, {attr: 'x y z', observe: 'x y'})

So seems that autodetected props and typed ones is a way to go.
let likes = p({count: 1, loading: false, async load(){}})
// `count` and `loading` are not in prototype, so automatically observed
// load is function, so skipped

let props = p(el)
// autodetects non-standard defined props and all attributes.
// does not track new appended props

let props2 = p(el, { item: Object })
// tracks `item` prop

let props3 = p(el, { loading: Boolean })
// tracks & syncs `loading` attribute & property

What's the good name for that? p as props, r as props / store or o as options / observe / object?

Done as o.


TST: accuracy of tests made different for singles and doubles

In TestCorrelateReal discriminate the value of decimal keyword in assert_almost_equal for different types, effectively increasing it for double precision array, and lowering it slightly for single precision arrays.
In TestHilbert, relaxed assert_equal to assert_almost_equal with decimal=14.
Changes were prompted by inspection of test failures when replacing numpy.fft and scipy.fftpack with interfaces from mkl_fft in the Intel (R) Distribution for Python*.
@rgommers

LGTM too, merging. Thanks @oleksandr-pavlyk, @larsoner


Add an off-by-default 'unstable' flag

Closes #187

Something strange is going on with Travis, but I'll go ahead and merge this in the mean time.
Thanks again @berwyn!