fix(compiler): avoid converting &nbps; to spaces (fix #11059)

The regex for whitespace was too strict and was causing $nbps; chars to
disappear from templates when whitespace: 'condense' is set. Changing the rule
to avoid converting non-breaking white space chars into regular spaces.
Fixes #10485
Fixes #11059
What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

What is the expected version number of this pr?
@Justineo @yyx990803

What is the expected version number of this pr, And when will the patch version be released?

Ask again~ , Can someone answer my question
@posva  @yyx990803  @Justineo

As planned earlier, we'll come back for Vue 2.x after Vue 3 is officially released.

hey @Justineo just want to check in. Any updates planned for this one?

@posva We're not really getting much of a response regarding a timeline for this one. Any idea when this can ship?

I also have the problem. is there any advancement on this subject ?

I also have the problem. is there any advancement on this subject ?


move test code that connects to a db into separate module

I've started a branch (SingingBush : pipeline/integration_testing) to move some of the testing out of the main source.
The code I want to do away with is

source/app.d
source/mysql/test/*.d

Those source files are all running tests against a MySQL instance, they pulling into a separate test project. I also see the existing examples directory as being pointless. it's used as a test and it's not particularly good as an example anyway.
In my branch I've got a tests/ directory as so:
tests/
    source/app.d   <-- covers same stuff that `source/app.d` and `examples/homePage/example.d` used to have
    dub.sdl        <-- has x2 configurations, one of which uses vibe
    docker-compose.yml   <-- allows user to locally spin up MySQL in same way that the CI will
    README.md

It will need some more work to get all the test scenarios from source/mysql/test/regression.d moved across. I'll raise a merge request.

eek, you move too fast! I'm already working on this and nearly done.
I've moved all test code out of the main library, and moved app.d to its own thing (it's really not a test).
Just take a break for a bit, after I get my branch going, maybe you can help me set up the CI for it.

ok, no problem. I'll wait for your changes

See my branch. I think it's good (very easy to update the testing, great job!): https://github.com/schveiguy/mysql-native/tree/splittests
Look at that beautiful straightforward dub.sdl file ;) If it passes tests, I'll make a PR, and we can discuss.

closing as this is resolved by #235


EntityFrameworkExtras.EFCore5 nuget package is empty

https://github.com/zzzprojects/EntityFrameworkExtras/blob/f0f4a41482f676910aa2650bd2ab7d4ebefea2c2/EntityFrameworkExtras.EFCore5/EntityFrameworkExtras.EFCore5.csproj#L29
Hello,
I wanted to use this library on EFCore 5 but it's impossible to reference in my code. I guess it's because this line is missing in csproj:
<Import Project="..\EntityFrameworkExtras.Shared\EntityFrameworkExtras.Shared.projitems" Label="Shared" />
Can you please fix it ?

Hello @bfalala ,
Thank you for reporting, you are indeed right!
It should be done later tomorrow or tonight (it seems GitHub is currently bugged, we cannot push code since the last 3h).
Best Regards,
Jon

Sponsorship
Help us improve this library
Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Hello @bfalala ,
A new version has been released today and the missing code committed: https://github.com/zzzprojects/EntityFrameworkExtras/blob/master/EntityFrameworkExtras.EFCore5/EntityFrameworkExtras.EFCore5.csproj#L30
Let me know if everything is now working as expected.
Best Regards,
Jon

Hello @JonathanMagnan,
It's working fine now 👍
Thanks !


sbomqs score directly from git URLs

closes: #266
This PR add support for sbomqs score command to score directly from git URLs. Till now it funtionality limited to local files. For example:
$ sbomqs score -b <sbom.spdx.json file>
New feature supports:
$ sbomqs score -b  https://github.com/interlynk-io/sbomqs/blob/main/samples/
or
$ sbomqs score -b https://github.com/interlynk-io/sbomqs/blob/main/samples/sbomqs-spdx-syft.json
or
$ sbomqs score -b  https://github.com/spdx/ntia-conformance-checker/blob/main/tests/data/ -b
or
$ sbomqs score -b  https://github.com/spdx/ntia-conformance-checker/blob/main/tests/data/SPDXSBOMExampleTests/ -b

Example:
$ go run main.go score https://github.com/interlynk-io/sbomqs/blob/main/samples/ -b
Enumerating objects: 561, done.
Counting objects: 100% (561/561), done.
Compressing objects: 100% (354/354), done.
Total 561 (delta 363), reused 330 (delta 190), pack-reused 0
7.7     spdx    2.3     json    samples/photon.spdx.json
6.5     cdx     1.4     json    samples/sbomqs-cdx-cgomod.json
6.5     spdx    2.3     json    samples/sbomqs-spdx-sbtool.json
6.4     spdx    2.3     json    samples/sbomqs-spdx-syft.json

@viveksahu26 not sure cloning the entire repo just to get the files is a good idea. Is there a way just to pull files that are sboms. We can fix what extensions we look at.

So, yeah @riteshnoronha . It is possible to implement in a different way i.e. apart form cloning whole repo:

Basically fetching URL directly. Which gives the information related to files and it's content. And then writing it's content to a file in a memory instead of local storage.

@viveksahu26 let me know if this is ready for review

@viveksahu26 let me know if this is ready for review

Yeah it's ready for review...

Hey @riteshnoronha , remove complexity which were there due to 2 reasons:

handling response in bit different way
support for directory, for example: https://github.com/interlynk-io/sbomqs/tree/main/samples. So, now removed support for dir, only support for file url is there: https://github.com/interlynk-io/sbomqs/blob/main/samples/sbomqs-spdx-syft.json

Some extra debug information is being printed.
https://repo1.maven.org/maven2/io/dropwizard/dropwizard-core/4.0.1/dropwizard-core-4.0.1-cyclonedx.json does not work.

If we support urls then this should work.

Should work in all places we support file names. e.g compliance etc


Upgrading from istio 1.4 to 1.8 api issues

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
[ ] Docs
[X] Installation
[ ] Networking
[X] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[X] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Upgrading istio from 1.4 to 1.8 breaks the API versions of gateways and virtual services.
I deploy istio resources v1alpha3 and everything works fine in istio 1.4. By uninstalling istio 1.4, and installing istio 1.8 all the resources in gateway and virtual services change to v1beta1 API version. If i delete and redeploy, again the API version change tov1beta1. In both cases, ingress traffic doesn't reach the target pod
By beginning from an empty cluster and installing istio 1.8 from scratch everything works fine, with v1alpha3 API resources.
Steps to reproduce the bug
Install istio 1.4.5 with helm charts.
Deploy a demo nginx deployment and verify it works
Uninstall helm charts of istio 1.4.5
Delete CRDs
Delete galley validating webook
Install base helm chart of istio 1.8
Install operator chart 1.8
Redeploy istio resources. Verify ingress traffic to demo nginx works
How was Istio installed?
Istio 1.4 installed with helm2
Istio 1.8 operator and base charts installed with helm3
Environment where the bug was observed (cloud vendor, OS, etc)
GKE cluster in GCP

Closing as issue is fixed. Was just a restart of the workloads :(


feat: array step function

Checklist

[x] New Extension
[x] New Test
[ ] Changed more than one extension, but all changes are related
[ ] Trivial change (doesn't require changelog)

Inspired from ruby's step

          2 Messages

:book:
Executed 189 tests, with 0 failures (0 unexpected) in 4.696 (5.014) seconds

:book:
Executed 174 tests, with 0 failures (0 unexpected) in 4.352 (4.502) seconds

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #427 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #427     +/-   ##
=========================================
+ Coverage   40.44%   40.55%   +0.1%
=========================================
  Files          49       49
  Lines        2193     2197      +4
=========================================
+ Hits          887      891      +4
  Misses       1306     1306

Impacted Files
Coverage Δ

Sources/ArrayExtensions.swift
82.94% <100%> (+0.54%)
:arrow_up:

Continue to review full report at Codecov.

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

Hmm im not sure how to implement this for multi dimensional array. Will close this PR


[AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6485

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/6107


Big Https protocol file can't be downloaded

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version:
IOS Mobile
Operating system and its version:
windows 10
PDF.js version:
the newest one
Is a browser extension:

Steps to reproduce the problem:

to view a big file(the link of this file is https protocol) online by PDF.JS . File size is around 100M, it seems the PDFJS will send two requests to the server as the following  screenshot.  The first request is try  to fetch the file using https as the file link is https, and somehow it finds the file size is large and there may be another request  to download the file ,however the second downloading request is using http protocol (not using https anymore,my file is link to the https protocol).

What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
My webstie is using https protocol.If a file(the file address is https url) is to large, the PDFJS will send http(it seems something goes wrong here) request to download by the browser. When i debug,  the error can be easily discovered
" that request has been blocked;  content must be served over HTTPS " .

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

* PDF.js version:
  the newest one

Please provide the actual version number when reporting an issue, since the information given doesn't really help. (Is it the latest stable version, the latest beta version, or the latest master version? Furthermore, what's "newest" can change quickly, making the information difficult to decipher.)

My website is using https protocol.

As-is this issue is unfortunately not actionable, please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us on the IRC channel -- keep in mind that just code snippets won't help us troubleshoot the problem.


Restaurant Management System

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #932
Replace issue_no with the issue number which is fixed in this PR
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

the code is copied from here.


docs: correct linearizable and snapshot read concern description

My apologies. I made a mistake in my previous pull request.
I just copied the comment from read preference part and forgot to update some text for read concern.

Good catch, thanks :+1:


Gitness repository extension

Github provide a discussions which we usually used for documentation and the review co-ordination purpose, does Gitness have same things or any plan for adding new feature.
Can any one share steps to write our own custom plugin for comments and discussion using Drone and Gitness.

Hey @rainfall-tejaswini, I'm not sure I understand the first part of your question regarding the github discussions, could you elaborate?

Can we access Gitness local repository using Plugin and can you send me the format of its...

hey @rainfall-tejaswini , not sure I got exactly what you meant but we do have custom plugins which perform some action given some input. You can look at all the env variables which are exposed to build steps using printenv in a step. You can write a plugin implementation (a docker container which performs some task given some input) and integrate that into your pipeline. But sounds like what you are describing here would probably be a new feature for adding support for discussions on gitness.

HI, How to write your own custom plugin and integrate in gitness? I am also looking for the same solution

implementation

Writing custom plugin create image push that on docker hub and utilize same in plugin.. that I have tried but not working.
If anyone has specific working example that will help

I think there may be some confusion in this thread.  As I understand, the ask is to provide a feature similar to GitHub Discussions (screenshot below for reference).  Plugins can only be used to add features to pipelines (a Gitness plugin is equivalent to a GitHub Action or CircleCI orb);  plugins cannot be used to add core functionality and screens to the product.
(please correct me if I am misunderstanding the feature request)


Problem with completion for external/vendores packages since 1.11

Since upgrading to go1.11, I noticed that gocode can no longer complete for external packages. It usually just displays invalid type.

Using vim with vim-go and ncm2
Switching to nsf/gocode is giving me autocomplete again
I tried launching the server with additional flags in debug, but always the same issues
Double checked packages are go installed

What version of Go are you using (go version)?
go version go1.11.1 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/d/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/d/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.11.1/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.11.1/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/1h/rlfwrw850qv10pfcnpfrkpxw0000gq/T/go-build866640166=/tmp/go-build -gno-record-gcc-switches -fno-common"

What is the debug output of gocode?
2018/10/26 13:44:44 -------------------------------------------------------
2018/10/26 13:44:44 Elapsed duration: 1.270449ms
2018/10/26 13:44:44 Offset: 0
2018/10/26 13:44:44 Number of candidates found: 1
2018/10/26 13:44:44 Candidates are:
2018/10/26 13:44:44   var msg *invalid type
2018/10/26 13:44:44 =======================================================

What (client-side) flags are you passing into gocode?
gocode -s -debug -source -unimpord-packages -builtin

I've been watching this. go version go1.11 linux/amd64
using emacs with gocode, autocomplete does not work for external packages for example protobuf and some types are invalid 0f94242ccdb9fae06fce2c81cedafee64251e018:

works but emacs freezes completely every few minutes: c797e02c1ebebfdad6ba94ca8814a4a52270a5fc

@frzifus: your case sounds a bit different to me, as the difference between those commits is that I removed the default fallback behavior of importing from source, if no .a files are found for a package. Have you built your package and its dependencies? My guess is that the invalid types you see are packages that don't have a corresponding .a file in $GOPATH/pkg.

@stamblerre yes! I tested it with fresh vscode, fresh sublime and fresh vim environment to rule out it's a problem with my editor config, and the behavior is the same.

@dvcrn: are you using a regular $GOPATH layout with go build? In the screenshot above, is that a vendored dependency?

Thought of something else: I went back a few commits on gocode and wanted to see if I still have problems and yeah they were gone and gocode suggested just fine. Then tried to find the commit when it stops working
https://github.com/mdempsky/gocode/commit/4d2079acab8b3a6c0de16dd0f674c4960eba1453
2018/10/28 14:42:15 -------------------------------------------------------
2018/10/28 14:42:15 Elapsed duration: 15.12695ms
2018/10/28 14:42:15 Offset: 0
2018/10/28 14:42:15 Number of candidates found: 3
2018/10/28 14:42:15 Candidates are:
2018/10/28 14:42:15   package context
2018/10/28 14:42:15   var client *pubsub.Client
2018/10/28 14:42:15   var ctx context.Context
2018/10/28 14:42:15 =======================================================

https://github.com/mdempsky/gocode/commit/aef9c05e4dae07a5772c6c1a59b5f86ff821b828
2018/10/28 14:43:39 -------------------------------------------------------
2018/10/28 14:43:39 Elapsed duration: 3.832839ms
2018/10/28 14:43:39 Offset: 0
2018/10/28 14:43:39 Number of candidates found: 3
2018/10/28 14:43:39 Candidates are:
2018/10/28 14:43:39   package context
2018/10/28 14:43:39   var client invalid type
2018/10/28 14:43:39   var ctx context.Context
2018/10/28 14:43:39 =======================================================

So https://github.com/mdempsky/gocode/commit/aef9c05e4dae07a5772c6c1a59b5f86ff821b828 is for me when the invalid type stuff starts happening

It's not obvious to me why https://github.com/mdempsky/gocode/commit/aef9c05e4dae07a5772c6c1a59b5f86ff821b828 would cause the problem. It seems like a dependency package is not being resolved correctly, so if you are interested in debugging this further, I would try adding logs to print out in the Import function https://github.com/mdempsky/gocode/blob/5d5a61bb99f0bd165af975a7886446c0bcedc85d/internal/cache/importer.go#L87 to make sure that the package is able to be imported properly.
If you want to test if https://github.com/mdempsky/gocode/commit/aef9c05e4dae07a5772c6c1a59b5f86ff821b828 is the problem, I would try syncing to head, and then manually reverting that change to see if it fixes the problem. Just a reminder - make sure you run gocode close anytime you want to test a new version.
I'm sorry, I wish I could be more helpful in debugging this issue, but unfortunately I can't reproduce the problem :(

I am experiencing the same issue where all variables and returned values from methods are marked as invalid types. This happens when a package is located outside the GOPATH and inside. Though reverting back to aef9c05 does not seem to resolve the issue. @stamblerre I will add some logs from the ImportFrom method in a bit.

Logs from ImportedFrom method:
fmt.Println("ImportFrom:", importPath, srcDir, mode)

ImportFrom: net/http /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom: os /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom: strings /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom: github.com/gorilla/mux /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
2018/10/29 19:47:28 Elapsed duration: 17.671715ms
2018/10/29 19:47:28 Offset: 0
2018/10/29 19:47:28 Number of candidates found: 2
2018/10/29 19:47:28 Candidates are:
2018/10/29 19:47:28   package rest
2018/10/29 19:47:28   var router invalid type
2018/10/29 19:47:28 =======================================================

@jeroenrinzema: thanks for debugging this! can you try logging the if the returned "pkg" value is non-nil? Errors can occur silently here, but I will try to add a bit more debug logging soon.

@stamblerre sure. I am logging all plausible return values. I noticed that the gocode is unable to locate the package even though the package exists.
ImportFrom: github.com/jeroenrinzema/commander /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom error: stat : no such file or directory

Full log:
ImportFrom: net/http /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom return values: package http ("net/http") <nil>
ImportFrom: os /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom return values: package os ("os") <nil>
ImportFrom: strings /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom return values: package strings ("strings") <nil>
ImportFrom: github.com/gorilla/mux /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom error: stat : no such file or directory
ImportFrom: github.com/jeroenrinzema/commander /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector 0
ImportFrom error: stat : no such file or directory

Do the .a files for these packages exist in your $GOPATH/pkg directory?

@stamblerre yes:
bash-3.2$ ls /Users/jeroenrinzema/go/src/github.com/jeroenrinzema/commander-boilerplate/connector
Dockerfile	README.md	controllers	go.mod		go.sum		main.go		rest		vendor		websocket```

@jeroenrinzema: This version of gocode doesn't work with modules, so if you're using modules, you will need to use https://github.com/stamblerre/gocode.
Also, sorry I should've clarified, I actually meant if you could run ls /Users/jeroenrinzema/go/pkg/*/github.com/jeroenrinzema/commander-boilerplate. The * is just to sub in whatever architecture you're on.

@stamblerre thank you i will take a look at that project

Did the same, debut output:
2018/10/30 10:34:10 -------------------------------------------------------
2018/10/30 10:34:10 Error parsing input file (outer block):
2018/10/30 10:34:10  /Users/d/go/src/github.com/dvcrn/myproject/pubsubclient/bar/client.go:27:4: expected selector or type assertion, found ';'
2018/10/30 10:34:10  /Users/d/go/src/github.com/dvcrn/myproject/pubsubclient/bar/client.go:29:2: expected ';', found err
ImportFrom: context /Users/d/go/src/github.com/dvcrn/myproject/pubsubclient/bar 0
Return values:  package context ("context")
ImportFrom: encoding/json /Users/d/go/src/github.com/dvcrn/myproject/pubsubclient/bar 0
Return values:  package json ("encoding/json")
ImportFrom: github.com/dvcrn/myproject/pubsub /Users/d/go/src/github.com/dvcrn/myproject/pubsubclient/bar 0
Return values:  stat : no such file or directory
ImportFrom: fmt /Users/d/go/src/github.com/dvcrn/myproject/pubsubclient/bar 0
Return values:  package fmt ("fmt")
ImportFrom: time /Users/d/go/src/github.com/dvcrn/myproject/pubsubclient/bar 0
Return values:  package time ("time")
2018/10/30 10:34:10 Elapsed duration: 10.456388ms
2018/10/30 10:34:10 Offset: 0
2018/10/30 10:34:10 Number of candidates found: 3
2018/10/30 10:34:10 Candidates are:
2018/10/30 10:34:10   func Send(ctx context.Context, message Message) error
2018/10/30 10:34:10   var publisher invalid type
2018/10/30 10:34:10   var topicName string
2018/10/30 10:34:10 =======================================================

(sanitized actual package names)
It can't import github.com/dvcrn/myproject/pubsub  so I checked pkg/ for the a files
d@Davebook:~/go/pkg/darwin_amd64/github.com/dvcrn/myproject> ll
total 760
drwxr-xr-x  3 d  staff      96 Oct 29 11:32 auth
drwxr-xr-x  3 d  staff      96 Oct 29 11:32 bank
-rw-r--r--  1 d  staff  157978 Oct 29 11:33 database.a
-rw-r--r--  1 d  staff   35330 Oct 29 11:33 env.a
drwxr-xr-x  3 d  staff      96 Oct 29 15:22 grpcclient
-rw-r--r--  1 d  staff   34758 Oct 29 17:28 grpcclient.a
-rw-r--r--  1 d  staff   60320 Oct 29 11:33 logger.a
-rw-r--r--  1 d  staff   91802 Oct 30 10:39 pubsub.a     <-------
drwxr-xr-x  3 d  staff      96 Oct 29 11:24 pubsubclient

Same example as above:
2018/10/30 11:53:26 -------------------------------------------------------
ImportFrom: context /Users/d/go/src/github.com/dvcrn/myproject/src/foo/infrastructure/pubsub 0
Return values:  package context ("context")
ImportFrom: fmt /Users/d/go/src/github.com/dvcrn/myproject/src/foo/infrastructure/pubsub 0
Return values:  package fmt ("fmt")
ImportFrom: cloud.google.com/go/pubsub /Users/d/go/src/github.com/dvcrn/myproject/src/foo/infrastructure/pubsub 0
Return values:  stat : no such file or directory
2018/10/30 11:53:26 Elapsed duration: 3.310163ms
2018/10/30 11:53:26 Offset: 0
2018/10/30 11:53:26 Number of candidates found: 1
2018/10/30 11:53:26 Candidates are:
2018/10/30 11:53:26   var msg *invalid type
2018/10/30 11:53:26 =======================================================

pkg/
d@Davebook:~/go/pkg/darwin_amd64/github.com/dvcrn/myproject/vendor/cloud.google.com/go> ll
total 1200
drwxr-xr-x  3 d  staff      96 Oct 28 14:17 compute
-rw-r--r--  1 d  staff   95470 Oct 30 10:47 iam.a
drwxr-xr-x  4 d  staff     128 Oct 28 14:17 internal
drwxr-xr-x  4 d  staff     128 Oct 28 14:17 pubsub
-rw-r--r--  1 d  staff  514964 Oct 30 10:47 pubsub.a         <----

Project with the same deps that works:
2018/10/30 12:08:27 -------------------------------------------------------
2018/10/30 12:08:27 Error parsing input file (outer block):
2018/10/30 12:08:27  /Users/d/go/src/github.com/dvcrn/otherproject/main.go:37:4: expected selector or type assertion, found ';'
2018/10/30 12:08:27  /Users/d/go/src/github.com/dvcrn/otherproject/main.go:38:2: expected ';', found f
ImportFrom: cloud.google.com/go/pubsub /Users/d/go/src/github.com/dvcrn/otherproject 0
Return values:  package pubsub ("github.com/dvcrn/otherproject/vendor/cloud.google.com/go/pubsub")
2018/10/30 12:08:27 Elapsed duration: 5.414639ms
2018/10/30 12:08:27 Offset: 0
2018/10/30 12:08:27 Number of candidates found: 1
2018/10/30 12:08:27 Candidates are:
2018/10/30 12:08:27   var c *pubsub.Client
2018/10/30 12:08:27 =======================================================

pkg/
d@Davebook:~/go/pkg/darwin_amd64/github.com/dvcrn/otherproject/vendor/cloud.google.com/go> ll
total 1208
drwxr-xr-x  3 d  staff      96 Oct 28 14:20 compute
-rw-r--r--  1 d  staff   93562 Oct 30 11:54 iam.a
drwxr-xr-x  4 d  staff     128 Oct 28 14:20 internal
drwxr-xr-x  4 d  staff     128 Oct 28 14:20 pubsub
-rw-r--r--  1 d  staff  521434 Oct 30 11:54 pubsub.a    <----

I am very confused why this isn't working. I'll try and see if I can revert that commit and if it changes something

Good news - I reverted https://github.com/mdempsky/gocode/pull/71 onto latest master and the autocomplete is working fine again. I'm guessing something in the cache implementation is messing with things?
If i can help debug this more to find the source of the problem, please let me know! For now I'll just be using my own local version of gocode with the reverted change

Hm, seems like the function that's failing is gcexportdata.Find, since the stat fails on an empty filename. Do you have any symlinks or anything that could throw off that function (though it doesn't look like you do)? Do you possibly have an out-of-date copy of golang.org/x/tools? It could be worth trying go get -u github.com/mdempsky/gocode to update the dependencies. Otherwise, I'd suggest putting log statements inside of the gcexportdata.Find function.

@marwan-at-work: can you try putting in log statements like the ones above? I'd be curious to see if gcexportdata.Find is causing the problem for everyone.

@stamblerre I created a reproduction repo with the output you requested in the readme: https://github.com/marwan-at-work/gocodedebug

@marwan-at-work I think there's a typo in your repro. You import gocodebug but the directory is named gocodedebug

@DisposaBoy the name of the github repo shouldn't matter (as long as you place it correctly in your GOPATH you'll be able to reproduce the issue) -- but thanks for the note, I'll update the code to reflect the same import path

@stamblerre I tried updating all the dependencies and re-installing gocode, but the problem persists. I will add log statements and report back!

I started debugging through what happens underneath and think I made some progress. I think it happens because I have a src/ directory in my project:
Debug from build.go when it tries to find the vendor folder:
/Users/d/go/src/github.com/dvcrn/myproject/src/foo/infrastructure/pubsub/vendor
/Users/d/go/src/github.com/dvcrn/myproject/src/foo/infrastructure/vendor
/Users/d/go/src/github.com/dvcrn/myproject/src/foo/vendor
/Users/d/go/src/github.com/dvcrn/myproject/src/vendor
/Users/d/go/src/github.com/dvcrn/myproject/src/foo/infrastructure/pubsub/vendor
/Users/d/go/src/github.com/dvcrn/myproject/src/foo/infrastructure/vendor
/Users/d/go/src/github.com/dvcrn/myproject/src/foo/vendor
/Users/d/go/src/github.com/dvcrn/myproject/src/vendor

The actual vendor/ is under /Users/d/go/src/github.com/dvcrn/myproject/vendor but it never gets to try that one.
So I compared both projects and inside the project that isn't working, srcDir that is passed to ImportFrom is /Users/d/go/src/github.com/dvcrn/myproject/src/foo/infrastructure/pubsub
In the project that is working, srcDir is simply /Users/d/go/src/github.com/dvcrn/otherproject
I wanted to debug this further but couldn't in the short I had figure out where ImportFrom is being called from.
My thought: the src/ in the project is confusing whatever is constructing the srcDir

I have exactly the same issue.
@dvcrn fyi, I dont have src directory in my project and the issue is still there.

Not sure if this is related to the above. For me (go 1.11, Windows 10) auto-complete is not working for any external (under GOPATH or vendor) packages outside of GOROOT. Debugging gocode I traced the behavior to importer.joinPath in importer.go. This function is converting underscores to dashes in the GOOS_GOARCH part of the path. It is not clear to me why this is being done, but causes the search for binaries to fail, as the directory in my case has underscores (i.e. pkg/windows_amd64). Can anybody shed some light as to why this conversion is being done (maybe I'm missing something obvious)?

I just pushed https://github.com/mdempsky/gocode/commit/0af7a86943a6e0237c90f8aeb74a882e1862c898, which I hope will correct the problem. Please let me know if this works better.

Thanks @stamblerre. No changes for me, though. Let's see if others have a different experience.

One thing that might be contributing to this, at least for me, is that I don't see a new .a file under pkg/darwin_amd64 for my project. Running go install and go build doesn't produce any .a files. The files I have there are older, and hence don't contain my new changes. Now that I have deleted them, they don't reappear after running go install.
Has Go changed how it generates these files?

@parhamdoustdar: there should not be any changes in the way that .a files are produced. If you run go list -json on the name of your package, it should list the location of the .a file under "Target".

FWIW, the behaviour did change around go1.10 with the introduction of the build cache.
go install will not create the .a file inside GOPATH unless you install it explicitly or use go install -i.
That means that if you do go install pkg, pkg.a will be created, but deps.a will not (unless you used -i).
To see where the compiled package really is you need to use .Export i.e. go list -f '{{.Export}}' -export import/path instead of go list -f '{{.Target}}' import/path.

@stamblerre Thanks for looking into this issue.
I solved the problem by running:
go clean -cache
go build -i

@philippfranke: thanks for letting me know - I think that building with -i is the correct solution for now. I will try to add a fix this week that will use the export data in the build cache.

I have the same issue and I've been trying installing previous commits of this repo and found out that I get the invalid type issue in all commits from 312a05504ee71febf5018e40fa8512c20df72d43.

The -i flag fixed my issue.
This makes me think that maybe these are two different issues with the same symptoms?

Yeah it sounds like different issues to me too.
Just a bit to extra from my side: Coworkers updated gocode and ran into the same issue as me on the same codebases, so it's not just my machine. I'll see if I find some time this weekend to debug this further and report back!

I just hid the caching feature behind a flag since so many people had issues with it (https://github.com/mdempsky/gocode/commit/68f5472551baee41050cc975fa6e7cb7ad829024). If I have a chance to test it further I will try to work on resolving these issues.


Support using a script-local function when setting a *func option

Thank you for working on this.
The test works thanks to the x flag passed to feedkeys(), but in practice the feature does not work.  If we remove x, we still get an error:
vim9script
def CountSpaces(type = ''): string
    if type == ''
        return 'g@'
    endif
    normal! '[V']y
    echomsg getreg('"')->count(' ')
    return ''
enddef
set operatorfunc=s:CountSpaces
nnoremap <expr> <F4> <SID>CountSpaces()
['a b c d e']->setline(1)
feedkeys("\<F4>_")

E120: Using <SID> not in a script context: s:CountSpaces

And an interactive usage is closer to feedkeys() without the x flag, than with it.
You can check this by removing feedkeys() from the previous snippet, and typing <F4>_ manually.  Again, you should get the previously mentioned error.

Although, I'm not sure the issue is with this PR.  This is an issue which I noted a long time ago.
If a mapping is defined in a Vim9 script, and it's pressed by feedkeys() with the x flag, the Vim9 syntax is used:
vim9script
nnoremap <F3> <Cmd>1yank<cr>
feedkeys("\<F3>", 'x')

E1050: Colon required before a range: 1yank

But this might be unexpected, because usually in a mapping, it's the legacy syntax which is used (even in a Vim9 script):
vim9script
nnoremap <F3> <Cmd>1yank<cr>
feedkeys("\<F3>")

no error

Hi,
On Thu, Dec 16, 2021 at 7:27 PM lacygoill @.***> wrote:

Thank you for working on this.
The test works thanks to the x flag passed to feedkeys(), but in practice
the feature does not work. If we remove x, we still get an error:
vim9scriptdef CountSpaces(type = ''): string
if type == ''
return 'g@'
endif
normal! '[V']y
echomsg getreg('"')->count(' ')
return ''enddefset operatorfunc=s:CountSpacesnnoremap   CountSpaces()
['a b c d e']->setline(1)feedkeys("<F4>_")
E120: Using  not in a script context: s:CountSpaces
And an interactive usage is closer to feedkeys() without the x flag, than
with it.
You can check this by removing feedkeys() from the previous snippet, and
typing _ manually. Again, you should get the previously mentioned
error.

I tried using the above script with the patch. I don't see the E120 error.
It properly counts and prints the number of spaces. I tried using both
feedkeys()
to send  and by manually pressing _.
Are you testing this script with the patch?
Regards,
Yegappan

Although, I'm not sure the issue is with this PR. This is an issue which I
noted a long time ago.
If a mapping is defined in a Vim9 script, and it's pressed by feedkeys()
with the x flag, the Vim9 syntax is used:
vim9scriptnnoremap  1yankfeedkeys("<F3>", 'x')
E1050: Colon required before a range: 1yank
But this might be unexpected, because usually in a mapping, it's the
legacy syntax which is used (even in a Vim9 script):
vim9scriptnnoremap  1yankfeedkeys("<F3>")
no error

I don't know why but I can't reproduce anymore.  Now, the feature works as expected with the patch.
Sorry for the confusion, and thank you again for the new syntax.

There is still another possible issue.  In Vim9, we never need s:.  Except here:
vim9script
def CountSpaces(type = ''): string
    if type == ''
        return 'g@'
    endif
    normal! '[V']y
    echomsg getreg('"')->count(' ')
    return ''
enddef
set operatorfunc=CountSpaces
nnoremap <expr> <F4> <SID>CountSpaces()
['a b c d e']->setline(1)
feedkeys("\<F4>_")

E117: Unknown function: CountSpaces

Vim only looks for CountSpaces in the global namespace; it doesn't look in the script-local one.
It seems weird that we can drop s: everywhere, except when setting a '*func' option.

It seems weird that we can drop s: everywhere, except when setting a '*func' option.

Never mind, it's a different issue.  There are other corner cases, where we can't drop s:.  I'll open a separate issue later.


Key binding condition for "is merging conflicts"?

It would be great if there is a way to express the key binding condition of merging conflicts. That way I can bind the same key to "move to next change" and "move to next conflict" and let VSCode do the right thing smartly.
Looks like there is another person who would like this as well.

This would also enable when-clauses to be added to the commands this built-in extension contributes, stopping them from appearing in the command palette when they're not valid (see #90705):
https://github.com/microsoft/vscode/blob/355eea22ea9a98a5d0517ffeae5bd176e96bb185/extensions/merge-conflict/package.json#L24-L85

FYI, looks like there's a PR for this now: https://github.com/microsoft/vscode/pull/97613


Store records in 'records' key or similar to enable collection metadata for pagination etc.

It would be useful to be able to store request meta.
This would open the door to pagination, storing the request order in 'map' mode, a 'busy' flag for fetch operations, etc.
It would require us to store records in a property within the reducer state.
Instead of the state looking like{ ...records }, I guess the dream might be
{
  records: {
    ...records
  },
  pagination: {
    totalResults: 10,
    resultsPerPage: 5,
    order: [1,2,3,4,5,6,7,8,9,10]
  }
  busy: false
}

so we can do something along the lines of
const resultsForPage = selectPage(state, 1).map(id => selectRecord(state, id))
but I'm happy to start with
{
  records: { ...records },
  busy: true
}

Possible concerns:

Selectors will break, as they'll need to look inside state[reducerKey]records for their records rather than going straight to state[reducerKey]. We can either accept this as a breaking change or introduce the envelope/meta approach as an option and use a selector across the library to get the record list.
The size of the library will grow, in which case it might be worth thinking about some kind of modular architecture for the non-records meta, but I don't think the refactor I'm proposing will be many lines, it's more likely to be an issue if/when we begin thinking about storing sort order, pagination etc.

What do you think, @sporto,  worth a PR?

Nothing prevents you from implementing your own reducers next to the ones provided by reduxCrud!
IMHO the structure you propose might not suit everybody's need.
Just to give you a concrete example, let's say you want to have a busy flag when fetching.
const busyReducerFor(name) => {
  const actionTypes = reduxCrud.actionTypesFor(name);
  return (state = false, action) => {
    switch (action.type) {
      case actionTypes.fetchStart:
        return true
      case actionTypes.fetchSuccess:
      case actionTypes.fetchError:
        return false
    }
    return state
  }
}

const reducer = combineReducers({
  resources: reduxCrud.Map.reducersFor('users'),
  busy: busyReducerFor('users')
})

@hwaterke, yeah, you're absolutely right, it's probably best to keep redux-crud as a smaller library and add functionality as needed. I can imagine package size/complexity spiralling as new functionality is added and differing use cases stretch the API.
Thanks for the example :)


Small variations in sonalyze output in runs on the same data

There are two variations I've observed:

records are transposed in the output, ie the sort order is not total
there are small variations in the calculated results, I see this in peak RAM use for jobs for example

The first one is more a matter of taste than anything, but it comes down to improving the predicate used by sortableSummaries in jobs/print.go.  For testing purposes we can pass the output through sort and we'll have something more stable.
The second one is more worrisome.  Here's the diff from two adjacent runs of jobs (the outputs have been post-sorted to avoid the first problem):
2139c2139
< 2141439   ec-veronsua                 0d 3h35m   int-3    1690     2866      25       34        0        0         0           0            STAR,gzip,sh,sh <defunct>
---
> 2141439   ec-veronsua                 0d 3h35m   int-3    1690     2865      25       34        0        0         0           0            STAR,gzip,sh,sh <defunct>
7692c7692
< 610538    ec-bthj                     0d 1h50m   c1-11    840      867       20       22        0        0         0           0            features,kromosynth,kromosynth-gRPC,kromosynth-rend,quality_mood
---
> 610538    ec-bthj                     0d 1h50m   c1-11    840      866       20       22        0        0         0           0            features,kromosynth,kromosynth-gRPC,kromosynth-rend,quality_mood
57631c57631
< 685540    ec-milas                    0d 2h15m   c1-26    1591     1917      60       79        0        0         0           0            java,mutect2_v3.sh
---
> 685540    ec-milas                    0d 2h15m   c1-26    1591     1918      60       79        0        0         0           0            java,mutect2_v3.sh
57721c57721
< 685670    ec-milas                    1d11h30m   c1-9     3439     50489     144      226       0        0         0           0            java,mutect2_v3.sh,perl
---
> 685670    ec-milas                    1d11h30m   c1-9     3439     50490     144      226       0        0         0           0            java,mutect2_v3.sh,perl
60543c60543
< 691952    ec-edwardfb                 0d14h10m   gpu-5    1945     4249      84       120       350      376       94          94           python
---
> 691952    ec-edwardfb                 0d14h10m   gpu-5    1945     4250      84       120       350      376       94          94           python
70421c70421
< 708211    ec-milas                    0d15h30m   c1-22    3301     37799     116      207       0        0         0           0            java,mutect2_v3.sh,perl
---
> 708211    ec-milas                    0d15h30m   c1-22    3301     37800     116      207       0        0         0           0            java,mutect2_v3.sh,perl
72660c72660
< 711767    ec-koenvg                   0d10h 0m   c1-19    567      631       30       31        0        0         0           0            python,python3.11
---
> 711767    ec-koenvg                   0d10h 0m   c1-19    567      630       30       31        0        0         0           0            python,python3.11

(Command: sonalyze jobs -data-dir ~/sonar/data/fox.educloud.no -u - -from 2024-05-01 -to 2024-06-30)
There's usually a small difference - one ULP - in the memory readings.  This is probably some kind of numeric instability, which may in turn come down to the order in which records are processed, but it would be good to verify that, and if so, to fix it.

The best idea I've had so far is that the field list should imply a sort order, and output is always sorted according to all the fields.  This is not a pancea: field selection could be such that two records are indistinguishable.  So the bigger hammer is to sort according to the requested fields, and then sort according to all the other fields, in some predictable order.


Fetch policy

This PR gives the user the ability to specify the cache policy for a particular query. It does this with a new @cache decorator which looks like:
query AllItems @cache(policy: CacheOrNetwork) {
    ...
}

There are 3 different policies that can be specified:

CacheOrNetwork:  will first check if a query can be resolved from the cache. If it can, it will return the cached value and only send a network request if it wasn't present.
CacheAndNetwork: will use cached data if it exists and always send a network request after the compmonent has mounted to retrieve the latest data
NetworkOnly: will never check if the data exists in the cache and always send a network request

This PR also implements garbage collection for the cache which is based on a simple hereustic that will retain data for a configurable number of queries (default 10). For a concrete example, consider the example app that has 3 routes. If you load one of the routes and then click between the other two 5 times, the first route's data will still be resolvable (and the counter will reset). If you then toggle between the other routes 10 times and then try to load the first route, a network request will be sent. This number is configurable with the cacheBufferSize config value (name pending).
todo:

[x] Document policies
[x] CacheAndNetwork in the presence of pagination should retain the full loaded page
[x] Make default cache policy customizable
[x] avoid double query with CacheAndNetwork if initial load was loaded from the network

Awesome! If you like me to test it you can publish under next and i will see once i got some free time.

Fantastic! There are still some small things I would like to address before doing that but I should have something in a few days that's ready for you.

@pixelmund i think its ready for you to test. You should be able to get the version with @next

@AlecAivazis Nice! Hope i can get to it soon.

I've just tested it in my project and as far as i can tell it is working fine! I've tried NetworkOnly and CacheOrNetwork for now.

That's a little terrifying and exciting at the same time haha. Thanks for checking it out! I'll give it a few more days of poking at my end in case one of us finds something before merging

You're welcome! Yeah, don't have that much time right now, but i can try to play around a little more soon!

@pixelmund - mind pulling this down and giving it another shot? I finally addressed the last bit I wanted to get in before merging this - calling refetch now reloads the entire current page

@AlecAivazis sure but i don't know when i will get to it.

Okay, i finally got around to fixing an issue I found with CacheAndNetwork. I think this is good to go but i'm going to let it simmer for a few more days.


Fix deployment of site

The old Netlify image we used is no longer available, and the current ones (Ubuntu 16.04 and 20.04) both fail:
11:18:23 PM: Build ready to start
11:18:27 PM: build-image version: 6ebfb829398e07eb99ad5455777162ff19838822 (xenial)
11:18:27 PM: build-image tag: v3.10.5
11:18:27 PM: buildbot version: 7eafb394e33f42f945c880ce4ac17c149867813a
11:18:27 PM: Building without cache
11:18:27 PM: Starting to prepare the repo for build
11:18:27 PM: No cached dependencies found. Cloning fresh repo
11:18:27 PM: git clone https://github.com/reactjs/React.NET
11:18:30 PM: Preparing Git Reference refs/heads/main
11:18:30 PM: Parsing package.json dependencies
11:18:31 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: 'site/jekyll' versus '' in the Netlify UI
11:18:31 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'site/jekyll/_site' versus '' in the Netlify UI
11:18:31 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'bundle exec jekyll build' versus '' in the Netlify UI
11:18:31 PM: Starting build script
11:18:31 PM: Installing dependencies
11:18:31 PM: Python version set to 2.7
11:18:32 PM: Downloading and installing node v8.17.0...
11:18:32 PM: Downloading https://nodejs.org/dist/v8.17.0/node-v8.17.0-linux-x64.tar.xz...
11:18:33 PM: Computing checksum with sha256sum
11:18:33 PM: Checksums matched!
11:18:35 PM: Now using node v8.17.0 (npm v6.13.4)
11:18:35 PM: Started restoring cached build plugins
11:18:35 PM: Finished restoring cached build plugins
11:18:35 PM: Attempting ruby version 2.7.2, read from environment
11:18:36 PM: Using ruby version 2.7.2
11:18:36 PM: Using bundler version 1.14.5 from Gemfile.lock
11:18:37 PM: Successfully installed bundler-1.14.5
11:18:37 PM: 1 gem installed
11:18:37 PM: Using PHP version 5.6
11:18:37 PM: Started restoring cached ruby gems
11:18:37 PM: Finished restoring cached ruby gems
11:18:37 PM: Installing gem bundle
11:18:38 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/rubygems.rb:932: warning: __FILE__ in eval may not return location in binding; use Binding#source_location instead
11:18:40 PM: /opt/buildhome/.rvm/gems/ruby-2.7.2/gems/bundler-1.14.5/lib/bundler/rubygems_integration.rb:516: warning: in `eval'
Fetching gem metadata from https://rubygems.org/.........
11:18:40 PM: Fetching version metadata from [https://rubygems.org/..](https://rubygems.org/)
11:18:40 PM: Fetching dependency metadata from [https://rubygems.org/.](https://rubygems.org/)
11:18:40 PM: Unable to use the platform-specific () version of sprockets (2.12.4) because it has different dependencies from the ruby version. To use the platform-specific version of the gem, run `bundle config specific_platform true` and install again.
11:18:40 PM: Unable to use the platform-specific () version of jekyll-assets (0.9.2) because it has different dependencies from the ruby version. To use the platform-specific version of the gem, run `bundle config specific_platform true` and install again.
11:18:40 PM: Unable to use the platform-specific () version of nokogumbo (2.0.2) because it has different dependencies from the ruby version. To use the platform-specific version of the gem, run `bundle config specific_platform true` and install again.
11:18:40 PM: Installing blankslate <IP_ADDRESS>
11:18:41 PM: Installing sass 3.4.23
11:18:41 PM: Installing thor 0.19.4
11:18:41 PM: Installing fast-stemmer 1.0.2 with native extensions
11:18:42 PM: Installing colorator 0.1
11:18:42 PM: Installing highline 1.6.21
11:18:42 PM: Installing crass 1.0.6
11:18:42 PM: Installing ffi 1.9.18 with native extensions
11:18:51 PM: Installing hike 1.2.3
11:18:51 PM: Installing liquid 2.5.5
11:18:51 PM: Installing rb-fsevent 0.9.8
11:18:51 PM: Installing maruku 0.7.0
11:18:51 PM: Installing posix-spawn 0.3.13 with native extensions
11:18:52 PM: Installing yajl-ruby 1.1.0 with native extensions
11:18:53 PM: Installing redcarpet 2.3.0 with native extensions
11:18:55 PM: Installing safe_yaml 1.0.4
11:18:56 PM: Installing multi_json 1.12.1
11:18:56 PM: Installing rack 1.6.12
11:18:56 PM: Installing tilt 1.4.1
11:18:56 PM: Installing mini_portile2 2.4.0
11:18:56 PM: Using bundler 1.14.5
11:18:56 PM: Installing parslet 1.5.0
11:18:56 PM: Installing bourbon 3.2.4
11:18:56 PM: Installing classifier 1.3.4
11:18:57 PM: Installing commander 4.1.6
11:18:57 PM: Installing rb-inotify 0.9.8
11:18:57 PM: Installing rb-kqueue 0.2.4
11:18:57 PM: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
11:18:57 PM: current directory:
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/yajl-ruby-1.1.0/ext/yajl
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/bin/ruby -I
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0 -r
11:18:57 PM: ./siteconf20220310-1397-1m3fl74.rb extconf.rb
11:18:57 PM: creating Makefile
11:18:57 PM: Creating deploy upload records
11:18:57 PM: current directory:
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/yajl-ruby-1.1.0/ext/yajl
11:18:57 PM: make "DESTDIR=" clean
11:18:57 PM: current directory:
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/yajl-ruby-1.1.0/ext/yajl
11:18:57 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
11:18:57 PM: make "DESTDIR="
11:18:57 PM: compiling yajl.c
11:18:57 PM: compiling yajl_alloc.c
11:18:57 PM: compiling yajl_buf.c
11:18:57 PM: compiling yajl_encode.c
11:18:57 PM: compiling yajl_ext.c
11:18:57 PM: yajl_ext.c: In function ‘yajl_encode_part’:
11:18:57 PM: yajl_ext.c:117:21: warning: variable ‘status’ set but not used
11:18:57 PM: [-Wunused-but-set-variable]
11:18:57 PM:      yajl_gen_status status;
11:18:57 PM:                      ^
11:18:57 PM: yajl_ext.c: In function ‘rb_yajl_parser_parse’:
11:18:57 PM: yajl_ext.c:442:17: warning: variable ‘stat’ set but not used
11:18:57 PM: [-Wunused-but-set-variable]
11:18:57 PM:      yajl_status stat;
11:18:57 PM:                  ^
11:18:57 PM: In file included from
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/include/ruby-2.7.0/ruby.h:33:0,
11:18:57 PM:                  from yajl_ext.h:32,
11:18:57 PM:                  from yajl_ext.c:24:
11:18:57 PM: yajl_ext.c: In function ‘rb_yajl_encoder_enable_json_gem_ext’:
11:18:57 PM: yajl_ext.c:852:22: error: ‘rb_cFixnum’ undeclared (first use in this function)
11:18:57 PM: rb_define_method(rb_cFixnum, "to_json", rb_yajl_json_ext_fixnum_to_json,
11:18:57 PM: -1);
11:18:57 PM:                       ^
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/include/ruby-2.7.0/ruby/ruby.h:2799:104:
11:18:57 PM: note: in definition of macro ‘rb_define_method’
11:18:57 PM: #define rb_define_method(klass, mid, func, arity)
11:18:57 PM: rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func),(arity));
11:18:57 PM: ^
11:18:57 PM: yajl_ext.c:852:22: note: each undeclared identifier is reported only once for
11:18:57 PM: each function it appears in
11:18:57 PM: rb_define_method(rb_cFixnum, "to_json", rb_yajl_json_ext_fixnum_to_json,
11:18:57 PM: -1);
11:18:57 PM:                       ^
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/include/ruby-2.7.0/ruby/ruby.h:2799:104:
11:18:57 PM: note: in definition of macro ‘rb_define_method’
11:18:57 PM: #define rb_define_method(klass, mid, func, arity)
11:18:57 PM: rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func),(arity));
11:18:57 PM: ^
11:18:57 PM: yajl_ext.c: At top level:
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-self-assign’
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’
11:18:57 PM: Makefile:244: recipe for target 'yajl_ext.o' failed
11:18:57 PM: make: *** [yajl_ext.o] Error 1
11:18:57 PM: make failed, exit code 2
11:18:57 PM: Gem files will remain installed in
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/yajl-ruby-1.1.0 for inspection.
11:18:57 PM: Results logged to
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/yajl-ruby-1.1.0/gem_make.out
11:18:57 PM: An error occurred while installing yajl-ruby (1.1.0), and Bundler cannot
11:18:57 PM: continue.
11:18:57 PM: Make sure that `gem install yajl-ruby -v '1.1.0'` succeeds before bundling.
11:18:57 PM: Error during gem install
11:18:57 PM: Build was terminated: Build script returned non-zero exit code: 1
11:18:57 PM: Failing build: Failed to build site
11:18:57 PM: Finished processing build request in 30.509594942s

maybe we just need to upgrade the Jekyll version?

Yeah that was my first thought too
On Thu, Mar 10, 2022 at 02:20, Daniel Lo Nigro @.***>
wrote:

The old Netlify image we used is no longer available, and the current ones
(Ubuntu 16.04 and 20.04) both fail:
11:18:23 PM: Build ready to start
11:18:27 PM: build-image version: 6ebfb829398e07eb99ad5455777162ff19838822 (xenial)
11:18:27 PM: build-image tag: v3.10.5
11:18:27 PM: buildbot version: 7eafb394e33f42f945c880ce4ac17c149867813a
11:18:27 PM: Building without cache
11:18:27 PM: Starting to prepare the repo for build
11:18:27 PM: No cached dependencies found. Cloning fresh repo
11:18:27 PM: git clone https://github.com/reactjs/React.NET
11:18:30 PM: Preparing Git Reference refs/heads/main
11:18:30 PM: Parsing package.json dependencies
11:18:31 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: 'site/jekyll' versus '' in the Netlify UI
11:18:31 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'site/jekyll/_site' versus '' in the Netlify UI
11:18:31 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'bundle exec jekyll build' versus '' in the Netlify UI
11:18:31 PM: Starting build script
11:18:31 PM: Installing dependencies
11:18:31 PM: Python version set to 2.7
11:18:32 PM: Downloading and installing node v8.17.0...
11:18:32 PM: Downloading https://nodejs.org/dist/v8.17.0/node-v8.17.0-linux-x64.tar.xz...
11:18:33 PM: Computing checksum with sha256sum
11:18:33 PM: Checksums matched!
11:18:35 PM: Now using node v8.17.0 (npm v6.13.4)
11:18:35 PM: Started restoring cached build plugins
11:18:35 PM: Finished restoring cached build plugins
11:18:35 PM: Attempting ruby version 2.7.2, read from environment
11:18:36 PM: Using ruby version 2.7.2
11:18:36 PM: Using bundler version 1.14.5 from Gemfile.lock
11:18:37 PM: Successfully installed bundler-1.14.5
11:18:37 PM: 1 gem installed
11:18:37 PM: Using PHP version 5.6
11:18:37 PM: Started restoring cached ruby gems
11:18:37 PM: Finished restoring cached ruby gems
11:18:37 PM: Installing gem bundle
11:18:38 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/rubygems.rb:932: warning: FILE in eval may not return location in binding; use Binding#source_location instead
11:18:40 PM: /opt/buildhome/.rvm/gems/ruby-2.7.2/gems/bundler-1.14.5/lib/bundler/rubygems_integration.rb:516: warning: in `eval'
Fetching gem metadata from https://rubygems.org/.........
11:18:40 PM: Fetching version metadata from https://rubygems.org/..
11:18:40 PM: Fetching dependency metadata from https://rubygems.org/.
11:18:40 PM: Unable to use the platform-specific () version of sprockets (2.12.4) because it has different dependencies from the ruby version. To use the platform-specific version of the gem, run bundle config specific_platform true and install again.
11:18:40 PM: Unable to use the platform-specific () version of jekyll-assets (0.9.2) because it has different dependencies from the ruby version. To use the platform-specific version of the gem, run bundle config specific_platform true and install again.
11:18:40 PM: Unable to use the platform-specific () version of nokogumbo (2.0.2) because it has different dependencies from the ruby version. To use the platform-specific version of the gem, run bundle config specific_platform true and install again.
11:18:40 PM: Installing blankslate <IP_ADDRESS>
11:18:41 PM: Installing sass 3.4.23
11:18:41 PM: Installing thor 0.19.4
11:18:41 PM: Installing fast-stemmer 1.0.2 with native extensions
11:18:42 PM: Installing colorator 0.1
11:18:42 PM: Installing highline 1.6.21
11:18:42 PM: Installing crass 1.0.6
11:18:42 PM: Installing ffi 1.9.18 with native extensions
11:18:51 PM: Installing hike 1.2.3
11:18:51 PM: Installing liquid 2.5.5
11:18:51 PM: Installing rb-fsevent 0.9.8
11:18:51 PM: Installing maruku 0.7.0
11:18:51 PM: Installing posix-spawn 0.3.13 with native extensions
11:18:52 PM: Installing yajl-ruby 1.1.0 with native extensions
11:18:53 PM: Installing redcarpet 2.3.0 with native extensions
11:18:55 PM: Installing safe_yaml 1.0.4
11:18:56 PM: Installing multi_json 1.12.1
11:18:56 PM: Installing rack 1.6.12
11:18:56 PM: Installing tilt 1.4.1
11:18:56 PM: Installing mini_portile2 2.4.0
11:18:56 PM: Using bundler 1.14.5
11:18:56 PM: Installing parslet 1.5.0
11:18:56 PM: Installing bourbon 3.2.4
11:18:56 PM: Installing classifier 1.3.4
11:18:57 PM: Installing commander 4.1.6
11:18:57 PM: Installing rb-inotify 0.9.8
11:18:57 PM: Installing rb-kqueue 0.2.4
11:18:57 PM: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
11:18:57 PM: current directory:
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/yajl-ruby-1.1.0/ext/yajl
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/bin/ruby -I
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0 -r
11:18:57 PM: ./siteconf20220310-1397-1m3fl74.rb extconf.rb
11:18:57 PM: creating Makefile
11:18:57 PM: Creating deploy upload records
11:18:57 PM: current directory:
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/yajl-ruby-1.1.0/ext/yajl
11:18:57 PM: make "DESTDIR=" clean
11:18:57 PM: current directory:
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/yajl-ruby-1.1.0/ext/yajl
11:18:57 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
11:18:57 PM: make "DESTDIR="
11:18:57 PM: compiling yajl.c
11:18:57 PM: compiling yajl_alloc.c
11:18:57 PM: compiling yajl_buf.c
11:18:57 PM: compiling yajl_encode.c
11:18:57 PM: compiling yajl_ext.c
11:18:57 PM: yajl_ext.c: In function ‘yajl_encode_part’:
11:18:57 PM: yajl_ext.c:117:21: warning: variable ‘status’ set but not used
11:18:57 PM: [-Wunused-but-set-variable]
11:18:57 PM:      yajl_gen_status status;
11:18:57 PM:                      ^
11:18:57 PM: yajl_ext.c: In function ‘rb_yajl_parser_parse’:
11:18:57 PM: yajl_ext.c:442:17: warning: variable ‘stat’ set but not used
11:18:57 PM: [-Wunused-but-set-variable]
11:18:57 PM:      yajl_status stat;
11:18:57 PM:                  ^
11:18:57 PM: In file included from
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/include/ruby-2.7.0/ruby.h:33:0,
11:18:57 PM:                  from yajl_ext.h:32,
11:18:57 PM:                  from yajl_ext.c:24:
11:18:57 PM: yajl_ext.c: In function ‘rb_yajl_encoder_enable_json_gem_ext’:
11:18:57 PM: yajl_ext.c:852:22: error: ‘rb_cFixnum’ undeclared (first use in this function)
11:18:57 PM: rb_define_method(rb_cFixnum, "to_json", rb_yajl_json_ext_fixnum_to_json,
11:18:57 PM: -1);
11:18:57 PM:                       ^
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/include/ruby-2.7.0/ruby/ruby.h:2799:104:
11:18:57 PM: note: in definition of macro ‘rb_define_method’
11:18:57 PM: #define rb_define_method(klass, mid, func, arity)
11:18:57 PM: rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func),(arity));
11:18:57 PM: ^
11:18:57 PM: yajl_ext.c:852:22: note: each undeclared identifier is reported only once for
11:18:57 PM: each function it appears in
11:18:57 PM: rb_define_method(rb_cFixnum, "to_json", rb_yajl_json_ext_fixnum_to_json,
11:18:57 PM: -1);
11:18:57 PM:                       ^
11:18:57 PM: /opt/buildhome/.rvm/rubies/ruby-2.7.2/include/ruby-2.7.0/ruby/ruby.h:2799:104:
11:18:57 PM: note: in definition of macro ‘rb_define_method’
11:18:57 PM: #define rb_define_method(klass, mid, func, arity)
11:18:57 PM: rb_define_method_choose_prototypem3((arity),(func))((klass),(mid),(func),(arity));
11:18:57 PM: ^
11:18:57 PM: yajl_ext.c: At top level:
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-self-assign’
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
11:18:57 PM: cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’
11:18:57 PM: Makefile:244: recipe for target 'yajl_ext.o' failed
11:18:57 PM: make: *** [yajl_ext.o] Error 1
11:18:57 PM: make failed, exit code 2
11:18:57 PM: Gem files will remain installed in
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/yajl-ruby-1.1.0 for inspection.
11:18:57 PM: Results logged to
11:18:57 PM: /opt/build/cache/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/yajl-ruby-1.1.0/gem_make.out
11:18:57 PM: An error occurred while installing yajl-ruby (1.1.0), and Bundler cannot
11:18:57 PM: continue.
11:18:57 PM: Make sure that gem install yajl-ruby -v '1.1.0' succeeds before bundling.
11:18:57 PM: Error during gem install
11:18:57 PM: Build was terminated: Build script returned non-zero exit code: 1
11:18:57 PM: Failing build: Failed to build site
11:18:57 PM: Finished processing build request in 30.509594942s
maybe we just need to upgrade the Jekyll version?
—
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/issues/1283, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHGCFV6DSNTXV7GANEBSF3U7GPEVANCNFSM5QLYAQWQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Bug within streaming operator equation (intra-voxel calculations)

First version of streaming operator formula:

Second version of streaming operator formula where E_1(tau) is solved by scipy.special.exp1:

Attached is an image of the Lewis and Miller textbook used to derive this streaming operator.

Current thoughts: the streaming operator is different than a probability. It does not require the domain to be within [0,1].
Using assumptions to remove tau and Q from the double integrals in equation 5-34, we can compute the integrals easily. We are left with a*(1/2)*E1(tau) where a equals the entire x domain (x_max - x_min).

Current thoughts: the streaming operator is different than a probability. It does not require the domain to be within [0,1].
Using assumptions to remove tau and Q from the double integrals in equation 5-34, we can compute the integrals easily. We are left with a*(1/2)*E1(tau) where a represents the entire x domain (x_max - x_min).

This simplifies things one step too far.  You need for tau to be resolved on at least the resolution of a voxel, requiring the integral over a to be considered as a sum

Meeting with Micah:
Investigate Lewis and Miller further and write out solving for H and for f and then computing flux_i from there. This way we could use P_ii and P_ii' that are already derived for us. After understanding the information further, meet with Paul to discuss future implementations and how we should go about simplifying the problem.

The only issue is that P_ii and P_ii' are derived for integrating across the zones rather than our stochastic solution.  I'm not sure how it translates to 3-D

$$ \text {Lewis and Miller equation 5-34:} $$
$$
\Phi_i = \frac{1}{\Delta_i} \int_{x_{i-\frac{1}{2}}}^{x_{i+\frac{1}{2}}} \int_{0}^{a} \frac{1}{2} E_1[\tau(x, x')] Q(x') dx' dx
$$
$$ \text{Assuming optical path and source are independent of x:} $$
$$
\Phi_i \approx \int_{0}^{a} \frac{1}{2} E_1[\tau(x_i, x_j)] Q(x') dx'
$$
$$ \text{Reducing the domain integral to a summation of n voxel-sized integrals:} $$
$$
\Phi_i \approx \sum_{n} \int_{\text{left-voxel-edge}}^{\text{right-voxel-edge}} \frac{1}{2} E_1[\tau(x_i, x_j)] Q(x') dx'
$$
$$ \text{Using Monte Carlo quadrature to approximate the integral within each voxel:} $$
$$
\Phi_i \approx \int_{\text{left-voxel-edge}}^{\text{right-voxel-edge}} \frac{1}{2} E_1[\tau(x_i, x_j)] Q(x') dx' \approx \Delta_i \cdot \frac{1}{N} \sum_{k=1}^{N} \frac{1}{2} E_1[\tau(x_i, x_j)] Q(x_k)
$$


resolves #765 resolve custom cache directory to an absolute path

@mojavelinux 👍 I apologize for taking a long time to land this, I've been facing a family tragedy, and have just been starting to do a tiny bit of open-source work again. I'll get a candidate release of this out the door for you soon, so you can test things out.

@mojavelinux try npm i nyc@next this update should have your changes.

No need to apologize. I completely understand. My heartfelt condolences to you and your family, from your family in open source. :heart: Thank you for taking the time away from your family to review and merge this change.

Fix confirmed!

Thanks again!
While I now understand where nyc puts the cache by default, defining it explicitly in my package.json file makes me feel a lot more comfortable. I can now do that thanks to this fix:
  "nyc": {
    "cache": true,
    "cacheDir": "node_modules/.cache/nyc"
  }


Add pyinvoke task

Ensure git tag matches package versions before uploading

Codecov Report

Merging #23 (dbf1eb6) into main (43d2789) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   92.60%   92.66%   +0.05%
==========================================
  Files          11       11
  Lines         690      736      +46
==========================================
+ Hits          639      682      +43
- Misses         51       54       +3

Impacted Files
Coverage Δ

aiohttp_pydantic/oas/view.py
94.40% <0.00%> (-0.38%)
:arrow_down:

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 43d2789...dbf1eb6. Read the comment docs.


Fix python bindings on macOS

This works on Linux & macOS. Ran into issues removing the -Bsymbolic flag and linking the Python library.
I was able to get things working by making my own distutils setup file.
Fixes #81.

@hwwhww could you verify this works for you?


simple eip-4844 interface for mcl

Tests passed for me locally.

Seems it's broken https://github.com/sifraitech/kzg/actions/runs/3446437047/jobs/5751336744 . Please fix.

Sorry, opened #172


Do not load assets in production + new environment for precompilation

Loading asset-pipeline related gems moved into a new group called assets
This group of gems is not loaded in the production environment
Symlinked production environment as assets
The new environment is dedicated for asset precompilation because it loads the gems from its group
Asset precompilation when building the appliance is forced in the new environment
When trying to precompile from production a warning is shown and the task is aborted

@miq-bot add_label performance, ui, technical_debt

@JPrause could you please build (or help me building) an appliance using this branch?

CC @simaishi (not sure what process you use for precompiling assets)

@jrafanie we're already testing it with Satoe :) and it works ^^

@jrafanie we're already testing it with Satoe :) and it works ^^

:tada:  :clap: :bow:
@skateman When this is ready for review, please add a description of this PR detailing what this buys us and what this new enviroment means... Thanks!

@jrafanie @kbrock @simaishi ready for final review :)

ok. LGTM :shipit: - @jrafanie you good with this?

@jrafanie please review

@skateman Can you rebase and retry this quickly with rails 5?
I'm good with this.  I'll let @matthewd comment on whether we're ready to merge this once @skateman gives his :+1: on rails 5.

@matthewd suggested some changes, i'm working on them

Please let us know when you are done making those changes

@skateman what is the status of this PR?

@chessbyte this one is stalled at the moment, I need to discuss more with @matthewd

@matthewd ready for review

@skateman what is the status of this PR?

Probably can be closed if we merge #7577


HR Partner - has stopped thier bugbounty program

The HR Partner program at https://github.com/disclose/disclose/blob/master/bug-bounty-list/bug-bounty-list.json#L3213
has stopped their program as mentioned in their security page
https://www.hrpartner.io/security.html

NOTE: We currently DO NOT have a bug bounty programme in place

--
Regard,
Bugbaba

Latest update changed HR Partner's details for "bug_bounty" from true to false.


Feature : Revamping the particular Group page

Is your feature request related to a problem? Please describe
There are several Areas ,in a group page, which needs improvements such as:

The absence of search functionality for members/mentors.
Overflow issues with mentor/member names.
The need for a new/modern card design and updated icons.
Inclusion of additional details such as the total number of mentors/members.

Describe the solution you'd like
I would like to propose a new Design for the group page whose Figma Design is Here
This new Group Page will have  following features :

search functionality for members/mentors.
New card which looks modern and resolve overflow naming issues.
Include additional details like number of member and mentors

Figma Design Mockup
Describe alternatives you've considered
No response
Additional context
No response
Are you working on this?
Yes

Hello @tanmoysrt bhaiya @nitin10s bhaiya, can you please review the issue,
and please provide any suggestions if any bhaiya
i try to keep this design as similar as the groups page so that there is consistency between pages

@tanmoysrt Could you please assign this issue to me if it has not yet been addressed?


[type: refactor] update frontend resources.

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2471 (1e66cc1) into master (6963cea) will decrease coverage by 0.30%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2471      +/-   ##
============================================
- Coverage     59.29%   58.98%   -0.31%
+ Complexity     4051     4025      -26
============================================
  Files           639      639
  Lines         18127    18127
  Branches       1689     1688       -1
============================================
- Hits          10748    10693      -55
- Misses         6534     6583      +49
- Partials        845      851       +6

Impacted Files
Coverage Δ

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
51.57% <0.00%> (-12.64%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
71.28% <0.00%> (-9.91%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...in/response/strategy/NettyClientMessageWriter.java
69.56% <0.00%> (-4.35%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
62.50% <0.00%> (-4.17%)
:arrow_down:

...ache/shenyu/admin/model/dto/DataPermissionDTO.java
59.25% <0.00%> (-3.71%)
:arrow_down:

...yu/plugin/grpc/resolver/ShenyuServiceInstance.java
96.29% <0.00%> (-3.71%)
:arrow_down:

... and 22 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 6963cea...1e66cc1. Read the comment docs.


Remove BEL_FF (etc) naming

A lot of the objects were named BEL_FF and BLK_BB. This was originally because we didn't have any way to attach metadata to the objects, so it was encoded as part of the name.
Now we have metadata support, we should move the info into metadata and go back to having human readable + understandable names.

Looks like I've broken some edges;
Warning 92878: in check_rr_node: RR node: 158 type: OPIN location: (10,1) pin: 62 pin_name: CLBLL_L.CLBLL_LL_A[0] has no out-going edges.
Warning 92879: in check_rr_node: RR node: 159 type: OPIN location: (10,1) pin: 63 pin_name: CLBLL_L.CLBLL_LL_AMUX[0] has no out-going edges.
Warning 92880: in check_rr_node: RR node: 160 type: OPIN location: (10,1) pin: 64 pin_name: CLBLL_L.CLBLL_LL_AQ[0] has no out-going edges.
Warning 92881: in check_rr_node: RR node: 161 type: OPIN location: (10,1) pin: 65 pin_name: CLBLL_L.CLBLL_LL_B[0] has no out-going edges.
Warning 92882: in check_rr_node: RR node: 162 type: OPIN location: (10,1) pin: 66 pin_name: CLBLL_L.CLBLL_LL_BMUX[0] has no out-going edges.
Warning 92883: in check_rr_node: RR node: 163 type: OPIN location: (10,1) pin: 67 pin_name: CLBLL_L.CLBLL_LL_BQ[0] has no out-going edges.
Warning 92884: in check_rr_node: RR node: 164 type: OPIN location: (10,1) pin: 68 pin_name: CLBLL_L.CLBLL_LL_C[0] has no out-going edges.
Warning 92885: in check_rr_node: RR node: 165 type: OPIN location: (10,1) pin: 69 pin_name: CLBLL_L.CLBLL_LL_CMUX[0] has no out-going edges.
Warning 92886: in check_rr_node: RR node: 166 type: OPIN location: (10,1) pin: 70 pin_name: CLBLL_L.CLBLL_LL_COUT[0] has no out-going edges.
Warning 92887: in check_rr_node: RR node: 167 type: OPIN location: (10,1) pin: 71 pin_name: CLBLL_L.CLBLL_LL_CQ[0] has no out-going edges.
Warning 92888: in check_rr_node: RR node: 168 type: OPIN location: (10,1) pin: 72 pin_name: CLBLL_L.CLBLL_LL_D[0] has no out-going edges.
Warning 92889: in check_rr_node: RR node: 169 type: OPIN location: (10,1) pin: 73 pin_name: CLBLL_L.CLBLL_LL_DMUX[0] has no out-going edges.
Warning 92890: in check_rr_node: RR node: 170 type: OPIN location: (10,1) pin: 74 pin_name: CLBLL_L.CLBLL_LL_DQ[0] has no out-going edges.
Warning 92891: in check_rr_node: RR node: 171 type: OPIN location: (10,1) pin: 75 pin_name: CLBLL_L.CLBLL_L_A[0] has no out-going edges.
Warning 92892: in check_rr_node: RR node: 172 type: OPIN location: (10,1) pin: 76 pin_name: CLBLL_L.CLBLL_L_AMUX[0] has no out-going edges.
Warning 92893: in check_rr_node: RR node: 173 type: OPIN location: (10,1) pin: 77 pin_name: CLBLL_L.CLBLL_L_AQ[0] has no out-going edges.
Warning 92894: in check_rr_node: RR node: 174 type: OPIN location: (10,1) pin: 78 pin_name: CLBLL_L.CLBLL_L_B[0] has no out-going edges.
Warning 92895: in check_rr_node: RR node: 175 type: OPIN location: (10,1) pin: 79 pin_name: CLBLL_L.CLBLL_L_BMUX[0] has no out-going edges.
Warning 92896: in check_rr_node: RR node: 176 type: OPIN location: (10,1) pin: 80 pin_name: CLBLL_L.CLBLL_L_BQ[0] has no out-going edges.
Warning 92897: in check_rr_node: RR node: 177 type: OPIN location: (10,1) pin: 81 pin_name: CLBLL_L.CLBLL_L_C[0] has no out-going edges.
Warning 92898: in check_rr_node: RR node: 178 type: OPIN location: (10,1) pin: 82 pin_name: CLBLL_L.CLBLL_L_CMUX[0] has no out-going edges.
Warning 92899: in check_rr_node: RR node: 179 type: OPIN location: (10,1) pin: 83 pin_name: CLBLL_L.CLBLL_L_COUT[0] has no out-going edges.
Warning 92900: in check_rr_node: RR node: 180 type: OPIN location: (10,1) pin: 84 pin_name: CLBLL_L.CLBLL_L_CQ[0] has no out-going edges.
Warning 92901: in check_rr_node: RR node: 181 type: OPIN location: (10,1) pin: 85 pin_name: CLBLL_L.CLBLL_L_D[0] has no out-going edges.
Warning 92902: in check_rr_node: RR node: 182 type: OPIN location: (10,1) pin: 86 pin_name: CLBLL_L.CLBLL_L_DMUX[0] has no out-going edges.
Warning 92903: in check_rr_node: RR node: 183 type: OPIN location: (10,1) pin: 87 pin_name: CLBLL_L.CLBLL_L_DQ[0] has no out-going edges.

FYI - These are actually all the outputs;
      <!-- Tile Outputs -->
      <output name="CLBLL_LL_A" num_pins="1"/>
      <output name="CLBLL_LL_AMUX" num_pins="1"/>
      <output name="CLBLL_LL_AQ" num_pins="1"/>
      <output name="CLBLL_LL_B" num_pins="1"/>
      <output name="CLBLL_LL_BMUX" num_pins="1"/>
      <output name="CLBLL_LL_BQ" num_pins="1"/>
      <output name="CLBLL_LL_C" num_pins="1"/>
      <output name="CLBLL_LL_CMUX" num_pins="1"/>
      <output name="CLBLL_LL_COUT" num_pins="1"/>
      <output name="CLBLL_LL_CQ" num_pins="1"/>
      <output name="CLBLL_LL_D" num_pins="1"/>
      <output name="CLBLL_LL_DMUX" num_pins="1"/>
      <output name="CLBLL_LL_DQ" num_pins="1"/>
      <output name="CLBLL_L_A" num_pins="1"/>
      <output name="CLBLL_L_AMUX" num_pins="1"/>
      <output name="CLBLL_L_AQ" num_pins="1"/>
      <output name="CLBLL_L_B" num_pins="1"/>
      <output name="CLBLL_L_BMUX" num_pins="1"/>
      <output name="CLBLL_L_BQ" num_pins="1"/>
      <output name="CLBLL_L_C" num_pins="1"/>
      <output name="CLBLL_L_CMUX" num_pins="1"/>
      <output name="CLBLL_L_COUT" num_pins="1"/>
      <output name="CLBLL_L_CQ" num_pins="1"/>
      <output name="CLBLL_L_D" num_pins="1"/>
      <output name="CLBLL_L_DMUX" num_pins="1"/>
      <output name="CLBLL_L_DQ" num_pins="1"/>


WIP - Added max_connection_request_limit in oc_chef_authz pool config

Signed-off-by: jan shahid shaik<EMAIL_ADDRESS>Description
Added max_connection_request_limit in oc_chef_authz pool config for testing high CPU usage issue after upgrade from 12.3.1.
Configuration details:
'max_connection_request_limit' limits the max number of requests allowed per ibrowse_http_client connections.This config is used by oc_httpc_worker module while adding the oc_chef_authz pool.
Issues Resolved
https://getchef.zendesk.com/agent/tickets/28268
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[ ] Full omnibus build and tests in buildkite pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/main/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

Pipeline Information-
Adhoc - https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/3271#a8238a5d-5017-493e-8b4e-b1299db68a25

Closing in favor of https://github.com/chef/chef-server/pull/2929


question: issues with table output for nn.Recurrence

I'm attempting to implement nn.FastLSTM with nn.Recurrence as a learning exercise. The only modification I thought that I'd need to make was to add another nn.FlattenTable() to adapt for the input being { input, {prevOutput, prevCell} } instead of {input, prevOutput, prevCell}.
I get issues with the nn.SelectTable(3) when it tries to get the prevCell value. I suspect it's because the way I'm instantiating nn.Recurrence isn't forwarding through a zero tensor for the prevCell.
I'm digging through the comments in nn.Recurrence now but any guidance would be appreciated. At present, I'm calling lstm = nn.Recurrence(rm, hiddensize, 1) where rm is essentially seq from nn.FastLSTM with the extra nn.FlattenTable call and the self.inputSize and self.outputSize declared outside of the scope of the module class (to make it work in the first place).
Apologies if this is a convoluted question.

As usual, your tests sorted out the issue.
I need outputSize to be {{hiddensize}, {hiddensize}}, as it is here.

@willfrey Glad you were able to sort that out!


clearTables mojo

Added a new mojo to the maven plugin, clearTables. This mojo will remove all tables from all schemas in all dbmses in the speedment.json configuration file. This way, it becomes possible to clean up tables no longer present in the database.

Great news. Before I can accept the pull request, you need to sign the contributor license as described here:
https://github.com/speedment/speedment/blob/master/CONTRIBUTING.md
This will protect your work and also make sure we can use your code in the open-source project.

Thuis is nooit my forte contribution, so there should be one of those from me already.
Verzonden door BlueMail
Op 29 aug. 2017 08:35, om 08:35, "Per-Åke Minborg"<EMAIL_ADDRESS>schreef:

Great news. Before I can accept the pull request, you need to sign the
contributor license as described here:
https://github.com/speedment/speedment/blob/master/CONTRIBUTING.md
This will protect your work and also make sure we can use your code in
the open-source project.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/speedment/speedment/pull/505#issuecomment-325568850

I remember that but I cannot find "ractoc" in the list of people who signed. Did you sign under another alias? I am confused...

Maybe Mark Schrijver?
Verzonden door BlueMail
Op 29 aug. 2017 08:35, om 08:35, "Per-Åke Minborg"<EMAIL_ADDRESS>schreef:

Great news. Before I can accept the pull request, you need to sign the
contributor license as described here:
https://github.com/speedment/speedment/blob/master/CONTRIBUTING.md
This will protect your work and also make sure we can use your code in
the open-source project.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/speedment/speedment/pull/505#issuecomment-325568850

I have carefully reviewed the list of signers and your name is not on the list. Would it be possible for you to sign? We have no person signed form the Netherlands or no one with your alias or name.


Feedback for “Q&A”

Payed 5 dollars,
But the mailbox did not receive the program,
My mailbox is<EMAIL_ADDRESS>Backup mailbox<EMAIL_ADDRESS>Payment pictures have been uploaded

Thank you for your support! I found that it was because the email was incorrectly filled out at the time of purchase. I have re-sent the email according to the email you provided.


SPIKE: Forms

Background
While in South Africa it was very clear that NAG needs the ability to define their own forms and form fields. In addition to the standard form sections for organization (such as profile, infrastructure, income, etc) there are large surveys (or assessments) as well. At the moment, there are two assessments in use by NAG 1) the "Organisational Development" assessments and 2) "Programme assessments". These assessments (or surveys) are used somewhat like a workflow to assess the maturity of an organization on a certain topic. The assess the current state and provide a roadmap for the org to get to the next step. These assessments are currently Word documents printed and kept in two copies. One copy with the future leader and the other is kept at NAG. Future leaders are spending most of their time in the community and at the org sites. They are often adding new details to the assessment. Each month the future leader review each organization with their Future Leader mentors. The mentors then copy each change (page by page) by hand to the second copy as they discuss challenges and successes regarding the orgs they are responsible for.
Assessment types

Organizational Development

Essentially an assessment of how the organization is doing managing the business. This includes things like business plan, funding and advertising, etc.
So far, I think there will only be one org dev assessment.

Programme

There will be a Programme assessment associated with whatever organization type the org is. For example, if its a crecshe (preschool) then the programme assessment will be and ECD assessment. If the org is a Youth Development Center, then the programme assessment will be Youth Development.
* There may be more than one since an organization can be more than one type.

Assessment Details

Assessments will be questions organized in groups based on topic.
And within each group will typically be 3 (or more) sub groups.

These subgroups represent a maturity lifecycle essentially. Group 1 maybe an immature org, group 2 is a maturing org and group is a fully matured org in that section.
Each of those subgroups is a different set of questions.

Along with each group sub-group is also a narrative log.

The most important thing about an assessment in just the quantitative primitive responses in the form, but also the contextual "qualitative" narratives that go with it. The combination of the quantitative survey responses and the narratives overlaid on a timeline enable each assessment to show whether or not progress is being made. From a technical perspective, it is imperative that we capture not only the primitives, and the story around each change that is made, but that we also capture each and every version of the assessment independently. I'm getting too much int he weeds for this spike. On to the requirements....
Requirements

Ability for the administrator to create their own forms
a. Ability to organize form inputs into groups and sub-groups
b. Ability to skip to next group based on the answer to a question. For example, if I answer no to question 1a, don't take me to 1b which says "if you answered yes to 1a" etc. Ideally its UX is more like a online survey tool. (This may not be a show stopper if we're not able to get this in round 1...maybe this is an advanced feature we add later?)
c. Ability for the dynamic form to be persisted similar to the rest of the app (ember data). Is this possible with a dynamic form where an ember model is maybe not possible to create ahead of time?
d. Ability to support the majority of form types an preferably styled or styleable via bootstrap or ace.

This is spike only where we research possible solutions and in the end, make a recommendation on what to implement.
Here is the actual organizational development progress form that they use:
DOC: https://drive.google.com/open?id=0B6vCF2ZegthIdHRDek1fbC1lZEdQVmVVY0FvT2l0aWZlYWU0&authuser=0
PDF: https://drive.google.com/open?id=0B6vCF2ZegthINDJXb3hRdGR1bTg&authuser=0
Here is another type of assessment. This is a program-specific assessment for ECD:
https://drive.google.com/open?id=0B6vCF2ZegthIek5sSk12LWtydEhpdDJ2LUZxLXpGQTZqZkFN&authuser=0

I'm thinking we probably don't even need a javascript library for this. The basic ember primitives should actually work pretty well. When viewing a stored assessment we would load the data as a list of fields which would contain the information necessary to build a simple view of the form from a generic template.
Ember.Controller.extend({
  fields: [FormField.create({
    type: 'text',
    label: 'Organization Name',
    value: ''
  })
});

{{#each field in fields}}
  {{#if field.isText}}
    <label for="{{field.name}}">{{field.label}}</label>
    <input type="text">{{field.value}}</input>
  {{/if}}
{{/each}}

The route would identify which assessment to display and by proxy where to save the assessment. The controller would simply provide the data to the template which would render the assessment.
We could easily add additional concepts to the model such as Sections, Instructions or Header/Footers as we determine the sorts of requirements the assessments will have. We'd also want to come up with some sort of admin UI to create the assessments, but I'm thinking in our first pass we could manually create the data in firebase for the basic Organization assessment.

I'll code up a sample UI where we put in raw json to define the form and then you can preview it. I'll also add a basic UI to the organization to view/edit the form. It won't save the form responses for now.

Do you want to do anything to help?


Vertical alignment for image and title

Nice UIControl !!
Just missing Vertical alignment for image and title. Like this.

I know It can be fix using titleEdgeInsets & imageEdgeInsets, but it would be great if control have this functionality too.
Thanks.

@toseefkhilji implemented in: https://github.com/loregr/LGButton/releases/tag/1.0.1


Callback x events - sizeColumnsToFit

Hi, taking a look in the src code, I believe that I didn't find a away to get a response when the sizeColumnsToFit() really did finish.
It's interesting provide some callbacks or events to bind and be executed after that kind of stuff; in my case I need to print a grid just after be resized, currently I'm using a $timeout workaround.
Thanks!

when you call sizeColumnsToFit(), it's not asynchronous, so when the call returns, it's already complete!!

Strange, when I resize the parent DOM e call sizeColumnsToFit(), it takes up to 10 seconds to fit in the new size, but the function already returned and is done (calling window print before fiting).


Switching from Obsidian: Syncing Issues, Bugs, and Conflicts

The user switched from Obsidian to Joplin and Asana due to syncing issues, bugs, and conflicts. They prefer free and efficient tools like Joplin and Asana over laggy Obsidian with multiple extensions.

Summarized feedback from<EMAIL_ADDRESS>
The user switched from Obsidian to Joplin and Asana due to syncing issues, bugs, and conflicts. They prefer free and efficient tools like Joplin and Asana over laggy Obsidian with multiple extensions.


docs: conventional commits badge

Pull Request Test Coverage Report for Build 63

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

Totals

Change from base Build 61:
0.0%

Covered Lines:
55

Relevant Lines:
62

💛  - Coveralls


fix(TS): add xxxByDisplayValue TS typings

What:
Add TypeScript declarations for new xxxByDisplayValue functions
Why:
Those functions can't easily be used by TS users otherwise
How:
Copied + tweaked existing xxxByValue declarations
Checklist:

[ ] Documentation (N/A)
[ ] Tests (N/A)
[x] Ready to be merged
[x] Added myself to contributors table

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: declared types in models repository - I153

Closes #153
Fixed incorrectly generated import prefix on the models website.
Changes

Added statement to declare the SERVER_ROOT environment variable.
Corrected syntax of generated import statement.

Screenshots or Video

Current state-

After fix-

Author Checklist

[x] Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
[x] Commits messages follow AP format
[x] Merging to main from fork:branchname

@dselman. Could you please see if any changes are required?


Using the pageable response from ListCollectionIds

This is a breaking API change, but it allows us to use a Java iterator to fetch all collection IDs. Right now, the total number of IDs is capped at 20.
I removed the unit tests since I am unable to figure out how to build a ListCollectionIdsPagedResponse :/ Let me know if you have a suggestion.

LGTM; I'll let Garrrett +2

Feedback addressed. FirestoreException now inherits from BaseGrpcServiceException.

LGTM

Merged for @schmidt-sebastian


[hotfix] [docs] Translate a Chinese comment into English

I translate a Chinese comment in the sample code into English for more people to understand it.

@flinkbot run azure

@flinkbot run azure

@liuzhuang2017 please merge this 🙏

@diohabara  Sorry, I don't have permission to merge this. @dianfu , Sorry to bother you, can you help @diohabara merge it? Thank you.