can not receive the sms for verification account

Dear Colleagues,
One of your colleague Crystal has informed me to submit directly to this page.
I work in a telco company in Albania. My Operator name is PLUS Communication Albania. We have received some complaints from our subscribers that can not receive the verification code for Gmail. The issue happen only for ported numbers in PLUS. For PLUS number, the sms is received.
Find below the numbers that we have tested this issue:
355698393552 - Vodafone Albania ported in PLUS
355688128659 - Telekom Albania ported in PLUS
We have two hubs if this information helps you : BICS and SAP.

Thanks for getting in touch with us through our other colleague!
However, the problem doesn't seem to be with our repository as they're considered valid mobile numbers. For example, see this result: http://libphonenumber.appspot.com/phonenumberparser?number=355688128659&country=AL
However, if there are other numbers being marked invalid, please share any official evidence you may have. See our
guidelines
And to check the latest
result for a given number, see our demo at https://libphonenumber.appspot.com.

Dear Colleague,
The issue is not related if the numbers are valid or not. The problem consists for sms for verification code from Gmail. As I explained before, the sms is not received from ported number in PLUS. Please check the routing from Gmail toward ported number in PLUS.

I'll close this as it's not an issue with the library, but I'll attempt to the find the right owner on the Gmail team and point them to these examples.

Dear Mike,
Can you please inform me if you have escalate the issue #1379?
Br,
Borana
On Tue, Oct 11, 2016 at 10:38 AM, Mike<EMAIL_ADDRESS>wrote:

Closed #1379 https://github.com/googlei18n/libphonenumber/issues/1379.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/libphonenumber/issues/1379#event-819126190,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVmwLUCZPhD8cCFEUXQb0r8gWSjypdZpks5qy0r0gaJpZM4KPp9i
.

Hi Borana,
I received an update today, and my colleague you talked with initially is going to reach out to you again privately since this is out of libphonenumber's scope. Thanks for your patience!


Exporting GCS driver parameters

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "gcs-params-docker" git@github.com:arschles/docker-distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

hi @arschles .  What is the motivation for this?  (also the build is broken)

Hey @RichardScothern - I made this change so that the process for creating a new GCS client was more documentable and type-safe. Currently, the godoc for gcs (not shown at godoc.org because it requires the include_gcs build flag) shows the following as one of the two ways to create a new GCS client:
func New(params driverParameters) (storagedriver.StorageDriver, error) {

Since driverParameters is not exported, there's no documentation on it, and the only other way to create one (implicitly) is with the FromParameters func.
I hope that's a clear enough explanation of my motivation for this change.
Also, I'll fix the tests as soon as I can. Thanks for reminding me of that.

@arschles : the driver is instantiated within the registry from the values in the config file.  This is documented here: https://github.com/docker/distribution/blob/master/docs/storage-drivers/gcs.md.
Do you intend to call NewDriverParameters?

@RichardScothern yep, I do intend to call NewDriverParameters because I'm not going to be using the registry.

I see.  Do you see a need for this function in other drivers?

@RichardScothern I wouldn't need it in other drivers, but I would like to use it in other programs that don't want to use the factory and use the implementations directly.
There's a related conversation about using the level of abstraction just below the factory/registration layer here, and I think this change would help move in that direction.
Anyway, I'll push a fix for the tests shortly.

@RichardScothern I may have a fix for the tests, but I'm finding two things of note that are making verifying my fix a bit more difficult:

make test doesn't fail on the code as it exists in this branch now
make test-full fails intermittently with a panic (see below)

Also, generally speaking is there a build target I can run that mirrors what CircleCI ran to produce the failure?
make test-full panic trace
SIGQUIT: quit
PC=0x5f17b m=0

goroutine 0 [idle]:
runtime.mach_semaphore_wait(0x1003, 0x0, 0x4e3da, 0x55c080, 0x5dd71, 0x6569e0, 0x51d39, 0xffffffffffffffff, 0x3b8a5, 0x7fff5fbff58c, ...)
	/usr/local/go/src/runtime/sys_darwin_amd64.s:407 +0xb
runtime.semasleep1(0xffffffffffffffff, 0x3b8a5)
	/usr/local/go/src/runtime/os1_darwin.go:385 +0xe5
runtime.semasleep.func1()
	/usr/local/go/src/runtime/os1_darwin.go:401 +0x29
runtime.systemstack(0x7fff5fbff590)
	/usr/local/go/src/runtime/asm_amd64.s:278 +0xab
runtime.semasleep(0xffffffffffffffff, 0x0)
	/usr/local/go/src/runtime/os1_darwin.go:402 +0x36
runtime.notesleep(0x657090)
	/usr/local/go/src/runtime/lock_sema.go:169 +0x100
runtime.stopm()
	/usr/local/go/src/runtime/proc1.go:1128 +0x112
runtime.findrunnable(0xc820024a00, 0x0)
	/usr/local/go/src/runtime/proc1.go:1530 +0x69e
runtime.schedule()
	/usr/local/go/src/runtime/proc1.go:1639 +0x267
runtime.park_m(0xc8280b7980)
	/usr/local/go/src/runtime/proc1.go:1698 +0x18b
runtime.mcall(0x7fff5fbff710)
	/usr/local/go/src/runtime/asm_amd64.s:204 +0x5b

goroutine 1 [chan receive, 10 minutes]:
testing.RunTests(0x506700, 0x64d8f0, 0x1, 0x1, 0x1)
	/usr/local/go/src/testing/testing.go:562 +0x8ad
testing.(*M).Run(0xc820045f08, 0x0)
	/usr/local/go/src/testing/testing.go:494 +0x70
main.main()
	github.com/docker/distribution/registry/storage/driver/inmemory/_test/_testmain.go:54 +0x116

goroutine 17 [syscall, 10 minutes, locked to thread]:
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1

goroutine 18 [chan receive, 3 minutes]:
github.com/docker/distribution/vendor/gopkg.in/check%2ev1.(*suiteRunner).runTest(0xc82009e080, 0xc820019810, 0xc8bf490c30)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/check.go:801 +0x57
github.com/docker/distribution/vendor/gopkg.in/check%2ev1.(*suiteRunner).run(0xc82009e080, 0xc8200101c0)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/check.go:606 +0x27e
github.com/docker/distribution/vendor/gopkg.in/check%2ev1.Run(0x44d220, 0xc8200101c0, 0xc8200106c0, 0x2)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/run.go:92 +0x43
github.com/docker/distribution/vendor/gopkg.in/check%2ev1.RunAll(0xc8200106c0, 0x0)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/run.go:84 +0xc3
github.com/docker/distribution/vendor/gopkg.in/check%2ev1.TestingT(0xc82008c000)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/run.go:72 +0x1e4
github.com/docker/distribution/registry/storage/driver/inmemory.Test(0xc82008c000)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/registry/storage/driver/inmemory/driver_test.go:12 +0x21
testing.tRunner(0xc82008c000, 0x64d8f0)
	/usr/local/go/src/testing/testing.go:456 +0x98
created by testing.RunTests
	/usr/local/go/src/testing/testing.go:561 +0x86d

goroutine 19 [select, 3 minutes]:
github.com/docker/distribution/vendor/gopkg.in/check%2ev1.(*resultTracker)._loopRoutine(0xc82008c090)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/check.go:452 +0x3a2
created by github.com/docker/distribution/vendor/gopkg.in/check%2ev1.(*resultTracker).start
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/check.go:432 +0x35

goroutine 141 [runnable]:
github.com/docker/distribution/registry/storage/driver/inmemory.(*file).WriteAt(0xc8280e6f40, 0xc88ace2000, 0x8000, 0x8000, 0xc200000, 0x2a2ee08, 0x0, 0x0)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/registry/storage/driver/inmemory/mfs.go:302 +0x87
github.com/docker/distribution/registry/storage/driver/inmemory.(*writer).Write(0xc8b54aadc0, 0xc88ace2000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/registry/storage/driver/inmemory/driver.go:270 +0x20d
io.copyBuffer(0x7b7358, 0xc8b54aadc0, 0x2a2ee58, 0xc8b54aade0, 0xc88ace2000, 0x8000, 0x8000, 0xc200000, 0x0, 0x0)
	/usr/local/go/src/io/io.go:383 +0x2c9
io.Copy(0x7b7358, 0xc8b54aadc0, 0x2a2ee58, 0xc8b54aade0, 0xc8b54aadc0, 0x0, 0x0)
	/usr/local/go/src/io/io.go:351 +0x64
github.com/docker/distribution/registry/storage/driver/testsuites.(*DriverSuite).TestWriteReadLargeStreams(0xc8200101c0, 0xc8bf490e10)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/registry/storage/driver/testsuites/testsuites.go:288 +0x49c
reflect.Value.call(0x44d220, 0xc8200101c0, 0x6313, 0x453430, 0x4, 0xc88acdff10, 0x1, 0x1, 0x0, 0x0, ...)
	/usr/local/go/src/reflect/value.go:432 +0x120a
reflect.Value.Call(0x44d220, 0xc8200101c0, 0x6313, 0xc88acdff10, 0x1, 0x1, 0x0, 0x0, 0x0)
	/usr/local/go/src/reflect/value.go:300 +0xb1
github.com/docker/distribution/vendor/gopkg.in/check%2ev1.(*suiteRunner).forkTest.func1(0xc8bf490e10)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/check.go:763 +0x498
github.com/docker/distribution/vendor/gopkg.in/check%2ev1.(*suiteRunner).forkCall.func1(0xc82009e080, 0xc8bf490e10, 0xc8b54aaaa0)
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/check.go:657 +0x6f
created by github.com/docker/distribution/vendor/gopkg.in/check%2ev1.(*suiteRunner).forkCall
	/Users/aaronschlesinger/gocode/src/github.com/docker/distribution/vendor/gopkg.in/check.v1/check.go:658 +0x29e

rax    0xe
rbx    0x1003
rcx    0x7fff5fbff518
rdx    0x7fff5fbff590
rdi    0x1003
rsi    0x6569e0
rbp    0x656f80
rsp    0x7fff5fbff518
r8     0x656f80
r9     0x0
r10    0x0
r11    0x286
r12    0x8
r13    0x503a9b
r14    0x9
r15    0x8
rip    0x5f17b
rflags 0x286
cs     0x7
fs     0x0
gs     0x0

DOCKER_BUILDTAGS=include_gcs make test will run the gcs tests.
make test-full is panicing because it runs for longer than test timout limit

hi @arschles .  Any update on this?

Closing, failing tests and no updates. Feel free to rebase and open a new PR if the tests get resolved.


Missing service detail when instrumenting AWS SDK v2

Hi :wave: I'm trying to instrument code that uses V2 of the AWS SDK, using the support added in #277.  When using awsv2.AWSV2Instrumentor per the example in the README, I see the calls to services in the my traces, but there is none of the detail that is captured when using the V1 SDK.
For example, here is a trace using V2.  I can see there was an UpdateItem call which took 774ms, but there is no information captured about why it took that long.

Whereas, a trace using xray.AWS() on the V1 SDK looks like the following.  I can see the table name, see that the bulk of the time was spent on the TLS handshake, see that there were no retries needed, etc.

Is this expected behaviour, and a current limitation of the V2 SDK instrumentation?  Or should I be able to capture the detail of the service trace when using V2?
Thanks!

Yes, I think with current V2 instrumentation you won't be able to capture all the calls details as captured in V1. I think this is the expected behavior and how V2 instrumentation works.

Thanks, @bhautikpip, for the confirmation 👍
I'll close this issue then, since it's working as expected.

Apologies for commenting on a closed issue, and let me know if I should open another issue instead. But I was wondering if we will ever get the same xray trace in V2 that we got in V1, or if this just won't ever be possible?  It is currently a blocker for us moving to aws-sdk-go-v2 and just wanted to know if it will be addressed eventually or if it isn't even possible.

Hi @vishen,
This is unfortunately a limitation at the AWS SDK go v2 level and not something we can control.

@willarmiros No worries, thanks for the response :)


FindById not being added to StateManager

If you FindById on the RedisCollection, the returned objects are not being added to the state manager, hence if you try to Save them the state manager does not see them and does not do anything with those objects.

Facing the same issue

If you FindById on the RedisCollection, the returned objects are not being added to the state manager, hence if you try to Save them the state manager does not see them and does not do anything with those objects.

I've sent PR about this. Maybe needs some review if I'm doing it correctly.


sorting of Process.filter(....)

I have a process filter which should return 2 processes.
I would like to be able to sort the list that is returned so I can test based on the process. ps provide the --sort option, i.e. --sort user or --sort args or --sort pid. Is there such a thing with the Process command?

I guess one solution could be http://stackoverflow.com/questions/403421/how-to-sort-a-list-of-objects-in-python-based-on-an-attribute-of-the-objects ...


fix: failing to import insomnia collection when username/password in auth is null

Description
Solves #3294
When a user creates a request in insomnia, and sets the auth to "Basic", Insomnia will set the value of username and password to empty string.
BUT if the request has been imported from an older insomnia export, these values may be null instead of an empty string. Insomnia will not change the null value and persist it for future exports, unless the field is modified. This results in the collection failing to import as it hits a .match condition which is expecting a string value.
Steps to reproduce:

Clone, setup and start Bruno
Checkout main
Create a file named "example.json" and copy/paste the below json into it
In Bruno, Click "Import Collection", add "example.json" created on (3)
See error message: Import collection failed: An error occurred while parsing the Insomnia collection

Steps to Resolve:

Checkout fix/insomnia-collection-failing-import
Click "Import Collection", add "example.json"

Below i've attached a screenshot showing the example request, and added the json which is the export of that request. Along with an example of the error

{
    "_type": "export",
    "__export_format": 4,
    "__export_date": "2024-10-11T23:53:31.649Z",
    "__export_source": "insomnia.desktop.app:v2023.4.0",
    "resources": [
        {
            "_id": "req_5f21bcb1dec54e998cff46c961e37188",
            "parentId": "wrk_2ac90ac4f46f4382849700f28aa79c4b",
            "modified":<PHONE_NUMBER>025,
            "created":<PHONE_NUMBER>111,
            "url": "www.foo.com/bar",
            "name": "FooBarRequest",
            "description": "",
            "method": "PUT",
            "body": {},
            "parameters": [],
            "headers": [],
            "authentication": {
                "type": "basic",
                "useISO88591": false,
                "disabled": false,
                "username": null,
                "password": null
            },
            "metaSortKey": -1728688987306.25,
            "isPrivate": false,
            "settingStoreCookies": true,
            "settingSendCookies": true,
            "settingDisableRenderRequestBody": false,
            "settingEncodeUrl": true,
            "settingRebuildPath": true,
            "settingFollowRedirects": "global",
            "_type": "request"
        },
        {
            "_id": "wrk_2ac90ac4f46f4382849700f28aa79c4b",
            "parentId": null,
            "modified":<PHONE_NUMBER>068,
            "created":<PHONE_NUMBER>797,
            "name": "FooBarCollection",
            "description": "",
            "scope": "collection",
            "_type": "workspace"
        },
        {
            "_id": "env_d928fbede709438bbb731d59f529b2de",
            "parentId": "wrk_2ac90ac4f46f4382849700f28aa79c4b",
            "modified":<PHONE_NUMBER>510,
            "created":<PHONE_NUMBER>510,
            "name": "Base Environment",
            "data": {},
            "dataPropertyOrder": null,
            "color": null,
            "isPrivate": false,
            "metaSortKey":<PHONE_NUMBER>510,
            "_type": "environment"
        },
        {
            "_id": "jar_5c3d885cb1444684abffe46787000766",
            "parentId": "wrk_2ac90ac4f46f4382849700f28aa79c4b",
            "modified":<PHONE_NUMBER>514,
            "created":<PHONE_NUMBER>514,
            "name": "Default Jar",
            "cookies": [],
            "_type": "cookie_jar"
        }
    ]
}

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.

Merged! Thanks @jake-owen-p !


make the app responsive

hey @Arman-ali-khan-786 , I made the app responsive also positioned it accordingly.
Now its working fine for all screen sizes.
Please check and tell if any other thing needs to be fixed for this issue
thnx

it is not responsive for Galaxy fold screen see to it ok then make a pr again

Ok i'll see to it but why did u closed the pr ?


Add an R function to convert data list to JSON

In R interface, StanModel$new() accepts data as "a JSON string literal, a path to a data file in JSON format ending in “.json”". CmdStanR has handy function write_stan_json() https://mc-stan.org/cmdstanr/reference/write_stan_json.html to write R data list to a JSON file compatible with CmdStan (the function does more than direct write of list in json).

It might be useful to have this in bridgestan without dependency on cmdstanr
It would be awesome to have a function which doesn't require explicitly writing to file, but would just return JSON string literal.

The use case for 2. is when there is a need to instantiate the model with new data with minimal overhead. In the following code snippet sd is a data list, and we update part of the list, call new, and use log density, gradient and Hessian. Based on timing experiments, this is slightly faster than using ``write_stan_json()to write to  a file and passing the file path tonew()`
sd$tau <- draws_sd[s, ]
model <- StanModel$new(model_so, to_stan_json(sd), SEED)

Another use case is when using BridgeStan with brms generated models and data
model_so <- compile_model(write_stan_file(stancode(brms_fit)))
model <- StanModel$new(model_so, to_stan_json(stan_data(brms_fit)), SEED)

to_stan_json() can be modified from write_stan_json by removing references to file (the code is using BSD-3 license).
to_stan_json <- function(data, always_decimal = FALSE) {
  if (!is.list(data)) {
    stop("'data' must be a list.", call. = FALSE)
  }

  data_names <- names(data)
  if (length(data) > 0 &&
      (length(data_names) == 0 ||
       length(data_names) != sum(nzchar(data_names)))) {
    stop("All elements in 'data' list must have names.", call. = FALSE)

  }
  if (anyDuplicated(data_names) != 0) {
    stop("Duplicate names not allowed in 'data'.", call. = FALSE)
  }

  for (var_name in data_names) {
    var <- data[[var_name]]
    if (!(is.numeric(var) || is.factor(var) || is.logical(var) ||
          is.data.frame(var) || is.list(var))) {
      stop("Variable '", var_name, "' is of invalid type.", call. = FALSE)
    }
    if (anyNA(var)) {
      stop("Variable '", var_name, "' has NA values.", call. = FALSE)
    }

    if (is.table(var)) {
      var <- unclass(var)
    } else if (is.logical(var)) {
      mode(var) <- "integer"
    } else if (is.data.frame(var)) {
      var <- data.matrix(var)
    } else if (is.list(var)) {
      var <- list_to_array(var, var_name)
    }
    data[[var_name]] <- var
  }

  # unboxing variables (N = 10 is stored as N : 10, not N: [10])
  jsonlite::toJSON(
    data,
    auto_unbox = TRUE,
    factor = "integer",
    always_decimal = always_decimal,
    digits = NA,
    pretty = TRUE
  )
}

I agree it would be nice if this code could be easier to use outside cmdstanr. That said, I'm not sure BridgeStan is the right place for it, either.
Recently for cmdstanpy I spun off stanio to hold this code, which cmdstanpy now depends on, and so other things like bridgestan could use it more easily. It has both dump_stan_json (returns a string) and write_stan_json (writes to a file). The StanJulia universe did something similar recently
I would suggest seeing if the cmdstanr folks would be willing to do this. Ideally it would be a very small package that could be put on CRAN and both bridgestan and cmdstanr could take a dependency on it

Last time I used BridgeStan, I tried to use a dictionary and then realized I had to go look up JSON literal syntax instead.  I think it would be worth having a dictionary interface for data in BridgeStan.  For R, the equivalent structure is a list.


Angularjs ui draggable not working when js order changes

Hi ,
a.Working scenario of order js files
1.Angularjs
2.Jquery
b.Not working scenario of order js files
1.Jquery
2.Angularjs
Please suggest in both scenarios it is workable.please send the code also ASAP.
@Netflix
Thanks,
Venkat

https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md#got-a-question-or-problem


adding notebooks

@mrocklin the LocalCudaCluster from dask-cuda is described as "experimental", but it would make the "Dask_Hello_World" notebook in this PR so much simpler that I lean towards using it anyway. Thoughts?

I think that the current code in that notebook that we would replace is
probably also experimental, so I say go for it.
On Tue, Feb 5, 2019 at 10:52 AM Randy Gelhausen<EMAIL_ADDRESS>wrote:

@mrocklin https://github.com/mrocklin the LocalCudaCluster from
dask-cuda https://github.com/rapidsai/dask-cuda is described as
"experimental", but it would make the "Dask_Hello_World" notebook in this
PR so much simpler that I lean towards using it anyway. Thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rapidsai/notebooks/pull/34#issuecomment-460714022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszKwoWCe8G6dxEnqryjY19sbevvM9ks5vKbbJgaJpZM4aGhb1
.

@paulhendricks thanks for testing with the 0.5 release. If you'll update the hello world example using LocalCudaCluster instead, this will be good to merge


LIN-465

Description
Need help from:

Unable to adjust the font size. Tried to add a photo/screenshot of "try it out", still doesn't work :((
Slack logo: same issue with the photo, can't align the slack logo with the description

Type of change
Added YouTube badge/icon.

closing it since the issues have been addressed in a different PR.


Webhook mount location is incompatible with older versions of OLM

Bug Report

What did you do?
Attempt to deploy an operator with webhooks generated by SDK v1.1.0 against the release-4.6 version of OLM.
What did you expect to see?
The operator falls back to the old default serving cert mount locations for the release-4.6 version of OLM if the newer  locations aren't populated:
older release-4.6 locations:

/apiserver.local.config/certificates/apiserver.crt
/apiserver.local.config/certificates/apiserver.key

newer master locations:

/tmp/k8s-webhook-server/serving-certs/tls.cert
/tmp/k8s-webhook-server/serving-certs/tls.key

What did you see instead? Under which circumstances?
The operator attempted to use only the new, unpopulated, serving cert mount locations and failed to be deployed:
$ kubectl get events -n operators

55s         Warning   Failed                pod/opentelemetry-operator-controller-manager-9bdd9fcc4-ctr8k     Error: cannot find volume "apiservice-cert" to mount into container "kube-rbac-proxy"
55s         Warning   Failed                pod/opentelemetry-operator-controller-manager-9bdd9fcc4-ctr8k     Error: cannot find volume "apiservice-cert" to mount into container "manager"

Environment
Operator type:

/language go
Kubernetes cluster type:

OpenShift
$ operator-sdk version

v1.1.0
Possible Solution

Fall back to older default mount locations when current locations aren't populated
Document OLM compatibility

Additional context

A patch has been introduced into OLM that mounts serving certs in both the old and new locations. This will not be backported to 4.6 or any earlier releases since it would amount to supporting forwards compatibility with SDK.
Original Issue
Issue: documenting SDK/OLM compatibility

+1. We may have to document the OLM compatibility in general. Also for this specific issue, we could point out that for previous versions of OLM, the workaround is to specify the location of certs while setting up webhook with controller-runtime manager (ex: here).

/kind documentation
/assign


Add support for checking line-break

Related to https://github.com/simple-icons/simple-icons/pull/6880

I don't think SVGLint is the right tool for this. Mostly because it's neither specific to SVGs (other files also benefit from normalized line endings) nor directly relevant to SVGs (the SVGs validity, in general, is not affected by the line endings used).
That said, If you feel strongly that this is something that SVGLint should be able to check for, you can always publish a plugin to npm for it. as far as I can tell you've got everything you need to do that already and if not we can work on improving SVGLint to make it possible. But I'd advise looking for alternative tools (e.g. EditorConfig+EditorConfig-checker) first.
Alternatively, a simpler solution could be just add a (new) custom rule to the SVGLint config file for simple-icons.


Add tox and make travis run tox tests

Add tox.ini file and update .travis.yml to use tox to run tests.

Also, feel free to add yourself as an author :)


Run the example failed-“espflash” No such file or directory (os error 2)

┌─[henry@henrydeMac-mini] - [~/Documents/code/esp-wifi/examples-esp32s3] - [三  5 17, 14:38]
└─[$] <git:(main)> cargo run --example ble --release --features "ble"
   Compiling esp-wifi v0.1.0 (/Users/henry/Documents/code/esp-wifi/esp-wifi)
   Compiling examples-esp32s3 v0.1.0 (/Users/henry/Documents/code/esp-wifi/examples-esp32s3)
    Finished release [optimized] target(s) in 2.35s
     Running `espflash flash --monitor /Users/henry/Documents/code/esp-wifi/target/xtensa-esp32s3-none-elf/release/examples/ble`
error: could not execute process `espflash flash --monitor /Users/henry/Documents/code/esp-wifi/target/xtensa-esp32s3-none-elf/release/examples/ble` (never executed)

Caused by:
  No such file or directory (os error 2)

At first, I thought the file was not found, but it turned out that the "espflash" command was not found
https://github.com/esp-rs/espflash/tree/main/espflash
Installing from this site solves this problem

服了这老六
espflash flash --monitor /Users/henry/Documents/code/esp-wifi/target/xtensa-esp32s3-none-elf/release/examples/dhcp
New version of espflash is available: v2.0.0-rc.3

Error: espflash::connection_failed

  × Error while connecting to device
  ╰─▶ Serial port not found
  help: Ensure that the device is connected and your host recognizes the serial adapter

solution
USAGE:
espflash --monitor <SERIAL> <IMAGE>
EXAMPLE:
espflash --monitor /dev/cu.usbserial-230 /Users/henry/Documents/code/esp-wifi/target/xtensa-esp32s3-none-elf/release/examples/dhcp

I guess the confusion is because in espflash 1.x the syntax is espflash --monitor <SERIAL> <IMAGE> while in espflash 2.x it's espflash flash --monitor <SERIAL> <IMAGE>
I hope we will soon have an official release of espflash 2.0


Behave more like a true browser in terms of caching to improve performance.

The current implementation fully disables all cache used, which makes the server side rendering slower than it could be. (ref)
The browsers cache can be utilised for faster page renders and cache invalidation would work exactly the same way other browsers would need to handle caching:

Normally you can't flush the browser's cache
Normally you can't disable the browser's cache
Normally you can't disable service workers

How cache invalidation would work:

If a service worker is installed it will automatically check on page-load if there is a new version available and will automatically fetch all the latest files.
If it is a classic application, the application would implement cache-headers with additional asset-signing and the application would handle it's self.

I think this is a good point and it'll result in faster page renders.
I'm not sure about the service worker one, your page should really work without a service worker. The really worrying part is service worker cause a lot of developmental pain, its hard to know which service worker you have or when it gets updated. If you push a bad service worker, it might get stuck there forever.
I think I'll reintroduce the browser cache but not the service worker.

Hi Samuelli,
I'm not sure if I completely follow the argument, since the same argument applies to the browser, or am I missing something?

It most definitely does. But this is a service you will be testing in development too, and its strictly intended to make the development story easier.
My experience with SW and from witnessing other people's experience is that when you do encounter an issue, it can be really painful and a huge time sink debugging that issue so I'd like to avoid yet another place where you have to worry about service workers and how that might be impacting inaccurate results etc.
As part of progressive enhancement, an application should work without a service worker, so I don't see any harm from disabling it either.

Fair enough :)


Api not locked by default

How do I lock certain or all api methods so that the user needs to provide correct credentials before being able to reach the method. My example is this :
class ApplicationController < ActionController::API
include ActionController::MimeResponds
include DeviseTokenAuth::Concerns::SetUserByToken
end
Then my api controller :
class TestController < ApplicationController
def test_method
render :text => '"TEST"'
rescue => e
Rails.logger.error "Stack trace:\n#{e.backtrace.map {|l| "  #{l}\n"}.join}"
render :nothing => true, status: 500
end
end
I can get to test method from rest client, no authentication needed. What am I doing wrong?

https://github.com/lynndylanhurley/devise_token_auth#methods

thanks


Feature/homepage text

Replaced homepage text with correct version

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


Reading the LE3 WL Two-Point Correlation Function (Xi +-) from FITS file

This is the pull request for the issue #4.
It reads the $\xi_\pm$ from the FITS file that Martin Kilbinger provided and builds on his code for reading the files. See this issue in the Cloe gitlab. I added a unit test checking the dictionary keys as in the other unit tests and it is passing locally.
I had some comments to the issue, for clarity I will paste them here again.

This reads the $\xi_\pm$  for the 2 point correlation in WL. Martin Kilbinger also sent me a fits file for the COSEBIs for example. Is this all we want for now? The Cloe gitlab issue is titled "2PCF - WL", but the description also mentions other fits files.

Then I have a question related to the "philosophy" of euclidlib. For now, I am including the file photo_data.pyin the photo folder written by Martin Kilbinger and Jingwei Wang who are credited in the same file. Does this work for euclidlib? Otherwise we could shorten this file, because not everything is used (yet) or integrate it somewhere else.

I will have a look at the tests.

Hello @FelicitasKeil, thanks for all the effort and commitment on this. It is highly appreciated.
@ntessore and I have been brainstorming this morning about what's the best approach and philosophy to follow for euclidlib. We would like to maxime the contributions while minimizing the hussle of maintaining the code in the future (as will be used by CLOE, for instance).
As this is our first official PR, it will also pose a learning process for both sides, so thanks in advance for your patience. Nicolas will take over as the reviewer and will suggest few changes to make, starting by:

[ ]  Moving your reading routines to a new .py (suggestion: _le3_2pcf_wl.py)
[ ]  Agree on the name of the functions

On my side, I will investigate if the current internal python dictionary used in the Cells can be easily adptable for the correlation function too.
Thanks again (to both!)

Hello, that all sounds good to me.
I moved my code to a new file _le3_2pcf_wl.py as you suggested and also changed the unit tests accordingly. They are still passing locally.
I am also happy to change the function names if you prefer something different.

Hello @ntessore, thank you for the review. I implemented some changes (see other comments). For the other correlation functions and the corresponding FITS files, I don't have them, but we could ask for them (which might take some time).
If we change from astropy to fitsio, we might not need the photo_data.py file any more. Let me know if we should have a new pull request for that task.

Hello,
The code to read gamma_t and w(theta) is implemented in the Tpcf_Reader class, lines 561 and 568.
@FelicitasKeil I can send you the gamma_t file, I have not yet run w(theta), but will hopefully do this in the next few weeks.
Happy that my code is being used! I don't know how the output of two_point_correlation() is being used further in the pipeline, I assume the IST:L.
But if I may provide some comments, I would recommend to use a class and not a dictionary. Some, I believe, useful functionality is implemented in the classes in photo_data.py, and I am happy to discuss this further. For example, it might be useful to have class functions that return xi+ and xi- independently, or jointly, in a consistent way with corresponding angular scales, depending of whether this is used for plotting or in a 3x2pt data vector. Similarly for E- and B-modes (some but not all estimators have BB). Other checks of metadata contained in the FITS file might be useful as well, e.g. checks of the available redshift combinations, consistency of angular scales between different estimators and the covariance, etc.

Hello @ntessore, thank you for the review. I implemented some changes (see other comments). For the other correlation functions and the corresponding FITS files, I don't have them, but we could ask for them (which might take some time). If we change from astropy to fitsio, we might not need the photo_data.py file any more. Let me know if we should have a new pull request for that task.

Thank you very much for your comments.
Exactly, this task was actually started from the IST:L side where I will continue the implementation and call the functions from euclidlib.

I am happy to change it to a class. However, the other functions, like the angular power spectra, return dictionaries, so I think it should be consistent. Maybe @ntessore or @gcanasherrera can give their opinion on this.

I can implement a choice of returning $\xi_+$, $\xi_-$ or both either in the dictionary or with class functions.

The checks, if all redshift combinations are available and if the angular scales are consistent, are a good idea as well.

I will wait with some of these changes until we decide if we switch to the class structure, because otherwise it would need to be changed again.

Hi @FelicitasKeil! I'm sorry for taking so long to reply. I think the PR is in a really good shape. We had the idea to just merge code more or less as it is, and refactor things at a later stage, when we have amassed a good collection of functionality. So I don't think you need to worry about functions vs classes at this stage.
So I would suggest that

Let's leave it as it is for now, and refactor later if necessary.
I think returning both in the dictionary is good, the user can grab whatever they need. We can make the interface more flexible later, if we see a need for it.
Along the same nice, this will be really cool to have in the future, but let's just get whatever we have available right now merged.

To summarise: Let's get something going first, with the understanding that it will be iterated on later.

Hello @ntessore, thank you for your reply.
I removed the _DictKey format for now. I have the impression that it only makes sense if the dictionary has the same "depth" everywhere. This is no longer the case because I added TH_MIN and TH_MAX at the top level.
I also changed the function name to correlation_functions as you suggested earlier.
As I said, the style tests are not passing due to the added file photo_data.py.
Let me know if you meant anything else with leaving the code more or less as it is.

Hi @FelicitasKeil! I think we should merge this, we can iterate later. @gcanasherrera agree?


Impossible to connect to ollama locally from another pc

What is the issue?
Hello, I'm using ollama on windows but I can't connect to the server from another PC on the local network.
I have already changed the following system environment variables.
OLLAMA_HOST=<IP_ADDRESS>
OLLAMA_ORIGINS=*
Thank you for your assistance.
OS
Windows
GPU
Nvidia
CPU
Intel
Ollama version
0.3.8

Any firewall or anti-virus software installed?  What error does the client give?   What does netstat -nq | findstr 11434 show?

curl <IP_ADDRESS>:11434
curl: (28) Failed to connect to <IP_ADDRESS> port 11434 after 21069 ms: Couldn't connect to server
netstat -nq | findstr 11434
TCP    <IP_ADDRESS>:11434          <IP_ADDRESS>:0              LISTENING
TCP    <IP_ADDRESS>:11434    <IP_ADDRESS>:0              LISTENING
TCP    [::]:11434             [::]:0                 LISTENING

This looks like a firewall issue.  ollama is listening on the right port, but the connection timed out after 21 seconds.  This has the hallmarks of a firewall rule dropping TCP SYN packets.

Thanks you rick-github
curl <IP_ADDRESS>:11434
Ollama is running


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here?


Incompatible with parse.com

Both use OkHttp

can you please elaborate?

The project was very small. I just didn't use the libraries.  I think that If I exclude the okhttp library in one of the libraries(AndroidQuickUtils or parse.com) should work,

You can exclude libraries from a certain library via build.gradle ;)
Sample:
compile('ch.qos.logback:logback-classic:1.0.0') {
  exclude group: 'org.slf4j', module: 'slf4j-api' //by both name and group
 }


Add ribotricer/prepareorfs

Description of feature
Add module for generating candidate orf list for Ribotricer- processes, first in nf-core/modules, then here. See https://github.com/smithlabcode/ribotricer?tab=readme-ov-file#preparing-candidate-orfs.

@pinin4fjords looks like you have taken care of this. Can reopen if I misunderstood


feat: Add num to keywords

Merge activity

Nov 8, 1:12 PM EST: A user started a stack merge that includes this pull request via Graphite.


Ocean bounty :  AWS compute plugin for Brizo

EC2 Compute Plugin for Brizo
How can you help?
We want to implement the Computing EC2 plugin and write the test coverage cases for the same. Brizo is our technical component that interacts with external cloud infrastructure like AWS, Azure etc.
The reference to the AbstractPlugin module used in the Compute EC2 plugin can be seen here

Note - When we talk about Brizo here, we mean 3rd party developer app (in this case, Brizo).

Regarding this implementation, our assumptions about how user should be configuring AWS are (but feel free to point out our errors in this assumptions)

Configure AWS Account to allow access to an external app (Brizo) using an AWS access and secret key pair.
Configure your AWS Account to use ECS Fargate (create a cluster with VPC and subnets associated). To this point, please consider documenting or use some cloud management tool such as Terraform to provide a reproducible path.
Create the needed IAM policy(ies) with the needed permissions (i.e.: creating a Fargate container, IAM create/pass role and manage policies...) and attach them to the Brizo’s user. Keep the policies permissions as restricted as possible.
Also please consider to create IAM role and permissions to attach to the container run in Fargate. The container would need to be accessed in order to run the assets.
You can create/modify the base image used to run the container. This base image would need to download and run a script located in S3, so the base entry point will need to access to a custom S3 location (in the same account), download and execute it.

Please refer to the required AWS SDK for this task. The version (boto3==1.8.7) is mentioned in the requirements as well.
Setup for the task
Before starting the task, you must do the following

You will need to create an AWS user (with secret & access key) with a policy of minimal permissions. This would allow Brizo to run containers in the Fargate cluster.
In order to do this, you will need to create your own AWS account. Everything that needs to be done in this task should be under the free tier.
Creating users are documented in the AWS docs
This task is ideally suited for devs that have some experience in AWS.

What needs to be done?

EC2 Compute Plugin needs to have all the methods implemented in python.
Unit tests for the same must also be written.

We are very happy when

[ ] Our unit test coverage for EC2 Compute Plugin is  >= 85%. We are using pytest framework for testing. We would require the new tests to be written using same setup.
[ ] Pull request for this implementation should go in this repo - https://github.com/oceanprotocol/osmosis-aws-driver

Seen this problem before?
Any help solving this is welcome. Feel free to leave any comments and help someone else to solve it. We might airdrop tokens to someone even if not directly completing bounty.
Questions & Reviews
Pull requests will be reviewed by one of the maintainers or long-term contributors. In case of any additional questions feel free to ask in this thread and we will do our best to add the missing info :)
Things to know
The bounty lifecycle process including payout will be managed using Gitcoin.
We'll be responding to your questions here, but for discussion and clarification we recommend to join also our Gitter channel where our tech community is accessible.
In order to see the PROCN balance in your wallet you'll need to reference the related token contract with address 0xf2aabdd898a0139195b2b5da7387d43a45ded254. If you use a Metamask plugin you'll find the the exact steps here.
Reward
Once the project was reviewed and merged in the master branch, you will receive the reward. PROCN is a proto-Ocean token. Bounty hunters that earn PROCN will be able to convert them 1:1 to Ocean tokens on network launch (Ocean Token will be valued at at 0.22 EUR on network launch). Network launch is expected to happen by Mar 31, 2019. Until then PROCN will be locked and non-transferrable in the ETH wallet to which it is delivered to.
Lastly, even if it is a contest bounty, we will appropriately reward all valuable contributions. We greatly appreciate the value our open source community brings to Ocean and will always award some tokens to all great contributions! 😃

Welcome @cr2fx! Good to have you on bord. If you have any question or get stuck please post to our gitter channel: https://gitter.im/oceanprotocol/Lobby.
Please share here, how you are going to approach the work, what will be your steps and when you are planning to complete.

My debit card doesn't seem to get verified on AWS free tier :/

@cr2fx I think if you've used a credit card in the past, it will not work beyond 12 months of free tier. Do you have another credit or debit card you can use?

@cr2fx I can provide you with access to a free-tier AWS. Please contact me at<EMAIL_ADDRESS>I cannot see your email on Github. Thanks

@neuroleptic unfortunately we will not be able to provide the free AWS tier. You should be able to set one up with a new email and card. Do let us know if you intend on pursuing this task as we are planning on resolving this internally if you are unable to do it.

@Anirudh2490 I can still work on this. Is there a particular deadline when you would like it to be completed by?

@neuroleptic when do you think you can deliver it by?

@Anirudh2490 I've applied to start work on this.

@Anirudh2490 did you stop me from working?

@iamonuwa We are canceling this bounty because it seems specs are not upto date anymore and currently you might not get enough support from dev team as everyone is occupied with the upcoming network launch. We will reissue this bounty once we update the spec and assign you if you would still be hopefully interested in working on it. But, for now we don't want to see you or anyone else struggle with outdated docs. And hence we are cancelling this bounty.

@iamonuwa We are canceling this bounty because it seems specs are not upto date anymore and currently you might not get enough support from dev team as everyone is occupied with the upcoming network launch. We will reissue this bounty once we update the spec and assign you if you would still be hopefully interested in working on it. But, for now we don't want to see you or anyone else struggle with outdated docs. And hence we are cancelling this bounty.

Hi @innoprenuer thank you for responding. Please reach out to me on gitcoin slack with @iamonuwa or on your gitter with same name anytime its up. Am very much available and eager to get this task done at anytime

@iamonuwa sure thing :+1:


Providence V2 Rewrite

Motivation
Providence is useful project:

Superset dashboard made monthly budgetting and accounting much easier.
Lowered accounting balance mismatch by avoiding manual data entry errors.

However it was shut down as

Cloud computing costs were too high to be sustainable AWS Redshift serverless queries that formed the backbone of the analytical queries were very expensive.
Over reliance on self-hosted services:

Infrastructure needed to keep providence running: mangling with K8s manifests, constantly keep services patched. The effort was not worth it for a personal-use project.
High infrastructure overhead to host kubernetes, monitoring services, authentication etc. meant a constantly high baseline infrastructure cost.

Problem
How can redesign Providence to ensure a low cost & low maintainance workload for a single engineer that fits the budget of a college student?
Approach
---
title: Providence V2
---

flowchart LR
    subgraph p[Prefect, Grafana]
      direction TB
      ynab((YNAB)) &  uob((UOB)) & simplygo((SimplyGO)) -->|sinks| b2
      subgraph b2[B2 Bucket]
          direction LR
          raw[Raw: JSON, Excel] --> ib[[Iceberg]]
      end
      ib & dw[(MotherDuck\n DuckDB)] -->|process| compute[[ACI]] --> dw
      dw --> viz(((Superset)))
   end

Managed services Managed services delegates mantainance, operations needed to keep services running to the service provider. They also typically provide auxillary services such as authentication, removing the need to deploy them manually. Finally, there is frequently a low cost or free tier that is sufficient for our needs.

Ochestrator Prefect Free Tier
Monitoring Grafana Free Tier
Compute Azure Container Instances
Storage Motherduck DuckDB free tier.

Scale suitable solutions Since volume of data is not suffciently large, there is no need to reach for expensive, distributed computing data processing solutions. Explore low-cost solutions that still meet our needs instead.

Data Model DBT Core on DuckDB engine.
Data Warehouse Motherduck DuckDB.
Data Lake Apache Iceberg on B2.
Cloud Storage Backblaze B2 (potential egress cost optimisation: route through cloudflare).

Proposals

[ ] #206

Replaced Github Actions compute with Azure Container Instances compute as the former created too high of a complexity overhead and imposed a 10-20s latency penalty per pipeline task.


Unexpected output from core.mapper_connected_components

Running the following lines after the example in readme.md I get a list of twice the size of X.shape[0].
cover = CubicalCover(n_intervals=10, overlap_frac=0.65)
clustering = FailSafeClustering(clustering=AgglomerativeClustering(10), verbose=False)

from tdamapper import core
l = core.mapper_connected_components(X,lens,cover,clustering)

The first X.shape[0] elements of the output list are -1.
I am using version tda-mapper==0.2.0.

@SofiaTorchia Thank you for reporting the bug.
The issue in the size of the output is due to an incorrect assignment of labels:
https://github.com/lucasimi/tda-mapper-python/blob/7cd3814034eea4cb7be8917bfc9b5ee2357ed8d1/src/tdamapper/core.py#L69-L79


Optimum supports AMDGPU　？

Feature request
Onnxruntime supports AMD-ROCM ，
how to compile on optimum
Motivation
Our company is currently testing amdgpu and has learned that optim can accelerate inference on CUDA. We are not sure if it will support ROCM in the future?
Your contribution
none

Hi @taikai-zz, the ORTModel classes support ROCm GPUs for inference with ONNX Runtime, following this PR https://github.com/huggingface/optimum/pull/1546. See as reference https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/amdgpu. However, from internal benchmarks, we did not see very large performance improvements compared to simply using PyTorch.
The status of the support of ROCm GPUs in Hugging Face libraries is summarized in https://huggingface.co/docs/optimum/main/en/amd/amdgpu/overview. Overall, the upstream support in PyTorch makes lots of things easy.


Array --> Display formatter that supports more options and is configurable

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
There are several places  where Arrays and record RecordBatches need to be converted to Strings for display or output purposes which are inconsistent and somewhat inefficient.
The core function is array_value_to_string https://docs.rs/arrow/31.0.0/arrow/util/display/fn.array_value_to_string.html

Note this function is quite inefficient and is unlikely to be suitable for converting large arrays or record batches.

One example of inconsistency is that when pretty printing https://docs.rs/arrow/31.0.0/arrow/util/pretty/index.html and writing out  CSV it is possible to change the display formatting for data / timestamps but such control is not possible in array_value_to_string or while pretty printing.
The current state of the API makes it difficult to add customization like different representations for the NULL value -- see https://github.com/apache/arrow-rs/issues/2474 (cc @JasonLi-cn)
Describe the solution you'd like
What I would like is a configurable array formatter where formatting options can be specified and that does not need to return allocated Strings (but could write directly to a stream if necessary).
Here is how I would like to use it
// configure a formatter object that uses 'NULL' for the null value
// and prints out dates  like "1970-1-2"
let formatter = ArrayFormatter::new()
  .with_null("NULL")
  .with_date_format("%Y-%m-%d");

// format an array cell
println!("array at index 42: {}", formatter.format_array(arr, 42));

// format an entire record batch using the same settings
// looks like the output of `pretty_format_batch`
println!("record batch:\n{}", formatter.format_batch(&batch))

The type signatures would look like
struct ArrayFormatter {
...
}

impl ArrayFormatter {

  /// Format `row` of `array`
  ///
  /// returns `impl Display` to allow printing to `Write` without copying
  pub fn format_array(arr: &dyn Array, row: usize) -> Result<impl Display> {
    ...
  }

  /// Format `batch` into a pretty format using the formatting options
  ///
  /// returns `impl Display` to support printing to `Write` without copying
  pub fn format_batch(batch: &RecordBatch) -> Result<impl Display> {
    ...
  }

...
}

Describe alternatives you've considered

Additional context
Pretty much all of the formatting implementation already exists in the display module after @JayjeetAtGithub 's great work to reduce discrepancies in the CSV writer https://github.com/apache/arrow-rs/pull/3514. I think the core part
To implement this feature, I recommend a series of smaller PRs:

[ ]  starting with creating the basic API that has simple but inefficient implementation that  calls existing methods in display
[ ] Switch the implementations of display to avoid creating intermediate Strings`
[ ] migrate CSV writer to use the new formatter
[ ] Add additional features like "null" format support

I think this is a good first issue as the desired API is spec'd out, and formatting logic already exists -- it just needs to be unified into a new API.

I think I would like to pick this one up, as I have opinions on what this should look like, and I want to take the opportunity to clean up the current code

Another thing I would like out of this API would be a more natural avenue for streaming record batch conversion (as in https://docs.rs/arrow/31.0.0/arrow/util/pretty/fn.pretty_format_batches.html requires me to buffer up multiple batches of conversion which causes pain in the influxdb_iox client, among other things)

label_issue.py automatically added labels {'parquet'} from #3647


Pushouts. Close #403.

@cangiuli @jonsterling Any preference about the order of a, b, c in (pushout a b c [x] f [y] g) and the order of [x] f, [y] g and r in (glue [x] f [y] g r m)?

@jonsterling By the way, I suppose there's freshing in Abt.out, right? I might want to change the implementation of glue because of this...

That order seems fine, but I think Evan's the right person to ask.

@favonia Yes, bound variables are freshened automatically with out.

How exciting!

Thanks. I suppose you approved?


Empty cells

In some cases the algorithm calculates empty cells with 0 half-edges. Based on this pointIntersection(double,double) produce wrong results and the relax() function throws some seg-faults. I think maybe its related to setting some target points outside the bounding box

hm, I haven't seen this before. Could you send me the points and bounding box you run it with to get this result?

Am 20.04.2017 um 08:45 schrieb Mark Dally:

hm, I haven't seen this before. Could you send me the points and
bounding box you run it with to get this result?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mdally/Voronoi/issues/2#issuecomment-295599923,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE7gWTpUd3QLSmP7IIV2mdZVRivNAPjCks5rxv8UgaJpZM4NCW2t.

Points:
{x=1123.7924804690001 y=1208.7784423830001 }
{x=1925.1013183590001 y=2659.8022460940001 }
{x=1026.0461425780002 y=5587.0288085940001 }
{x=3327.6679687500000 y=1125.1007080080001 }
{x=2505.9399414060003 y=3207.0190429690001 }
{x=3731.6088867190001 y=4844.4243164059999 }
{x=6092.5878906250000 y=462.84979248000002 }
{x=4866.3159179690001 y=2476.9313964840003 }
{x=4305.5952148440001 y=4336.7690429690001 }
BB:
{xL=2048.0000000000000 xR=4096.0000000000000 yB=4096.0000000000000
yT=2048.0000000000000 }
With the given points and bonding box the cells with the index 0, 2 and
8 have 0 half edges (with a total of 8 cells)

The issue here is that sites are outside the provided bounding box.
My implementation requires all sites to be inside the box (not on the borders either). Providing sites outside the box results in undefined behavior.

@mdally I am seeing this behavior as well with sites inside the bounding box. Here is a snippet of code that I am using to test the behavior of this library:
    std::shared_ptr<VoronoiGenerator> generator = std::make_shared<VoronoiGenerator>();

    // Test sites:
    std::vector<Point2> sites;
    sites.push_back(Point2(2.5,2.5));
    sites.push_back(Point2(5,5));
    sites.push_back(Point2(7.5,7.5));

    // Bounding box:
    BoundingBox bbox(0,10,0,10);

    // Compute diagram:
    Diagram* diagram = generator->compute(sites, bbox);

    std::cout << "Number of cells: " << diagram->cells.size() << std::endl;
    std::cout << "Number of edges: " << diagram->edges.size() << std::endl;
    std::cout << "Number of vertices: " << diagram->vertices.size() << std::endl;
    std::cout << "Point (1,2) in cell 1: " << diagram->cells.at(0)->pointIntersection(1,2) << std::endl;

    // Loop over all cells and print the corresponding site location and number of half edges.
    for(auto cell : diagram->cells) {
        std::cout << "Cell Site:  (" << cell->site.p.x << ", " << cell->site.p.y << ")" << std::endl;

        std::cout << "Cell half edges: " << cell->halfEdges.size() << std::endl;
        // Loop over all half edges and print starting and end points:
        for(auto edge : cell->halfEdges) {
            std::cout << "Start Point:  (" << edge->startPoint()->x << ", " << edge->startPoint()->y << ")" << std::endl;
            std::cout << "End Point:  (" << edge->endPoint()->x << ", " << edge->endPoint()->y << ")" << std::endl;
        }
    }

The output of the above code is:
Number of cells: 3
Number of edges: 0
Number of vertices: 4
Point (1,2) in cell 1: 1
Cell Site:  (2.5, 2.5)
Cell half edges: 0
Cell Site:  (5, 5)
Cell half edges: 0
Cell Site:  (7.5, 7.5)
Cell half edges: 0

This seems to output the correct number of cells and it even checks if a point is in a polygon correctly. However, I never get any edges (or half edges in a cell). Since I don't get any half edges, I also don't get the starting and ending point coordinates to print. Am I missing something?
(p.s. great work on this, it has been super helpful. Thank you!)


I am a front-end developer in China, and I usually write some blogs. On CSDN, a tech blogging platform in China, it has more than 10,000 followers and 70w page views.
I've written a series of articles about Node-red. The readers loved it.
I've learned about Node-Red's architecture and now I'd like to try and contribute to the Node-Red community.
Do you still need contributors? What are the simple tasks that can be assigned to contributors?
ps：
my blog link
node-red articles

Hi, thanks for making contact.
The best way to talk to us is through the project slack or forum - as explained by the issue template you've not used.
We're always open to contributors - it there a particular area you are interested in?

thanks for your reply。 I am interested in UI layout   and translate to Chinese。

Great. I'm sure the translations could do with some updates!
As I mentioned, the best place to discuss items you'd like to contribute to is either the forum or slack.


Update DeveloperGuide.md

Appedix for manual testing

Codecov Report
Base: 60.66% // Head: 60.66% // No change to project coverage :thumbsup:

Coverage data is based on head (a3e7a30) compared to base (ba5d065).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #249   +/-   ##
=========================================
  Coverage     60.66%   60.66%
  Complexity      553      553
=========================================
  Files           103      103
  Lines          2044     2044
  Branches        206      206
=========================================
  Hits           1240     1240
  Misses          736      736
  Partials         68       68

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


table wrap issue

If the content in the table on the caravans form page (.data-table) is extended beyond a certain point, the whole admin-content pane drops down below the nav bar.  This is happening with some of our test data.

@jamiepreston Can you share a screenshot?

Here's the form before wrapping:

If the viewport gets any smaller this happens on the prototype:

Then the form comes back in at the smaller viewports:

Thanks

@jamiepreston I love a challenge.

@jamiepreston I've just pushed a fix which should work.

Thanks @gavinelliott but I can't see any recent commits - did you push?

I did, but it had a fit over my not being auth'd. Sorted now and should be there for you.

That hasn't sorted it unfortunately mate.  :-(
I'll explain in a bit more detail as to why it's such a big issue in the WFMS app we're developing.  Unlike the prototype, we have a button which moves the user on to the next set of records.  Obviously the data is different on the next page, therefore it's making the table a different width.  On one set of data, the page layout is neatly sitting to the right of the menu, but then pressing the next button makes the whole content div jump down underneath the menu.
Here's a couple of screenshots using the prototype so you can see the effect a longer <td> content has:

Without resizing the window, I've used chrome's developer tools to add a longer DOM (this is the date format provided to us at the minute):

The viewport size I have there is 1380px, using a different browser doesn't seem to make a difference.

No worries, leave it with me. Will have something back across today, it might mean a change to the nav, but will see how I go.

ok great, thanks for looking into it.

How's this looking @gavinelliott, any further forward?

Working on it right now, @jamiepreston, sorry for the delay.

@jamiepreston I've just pushed up some changes which are quite drastic. Give it a huge refresh once you hit the link. I've changed the navigation and am still working on some styling and layout issues.
Overall, you'll notice that if you go to the link > Forms > Sub-menu of WFP Caravans, the table is now full width within the window. Let me know once you've pushed some data in there how it sits. I'll be popping across to your place tomorrow to see Mel so I can chat with you then.

Thanks @gavinelliott I'll check it out now.

This does seem to have fixed the table wrap issue!  There's now no way it can jump under the sub-menu now as it's always underneath.  As you say, there's some other styling and layout issues but this table wrap issue is now resolved.


Hydrator updates EmbedOne instead of replacing (if possible)

Fixes #968
/cc @vkartaviy

Btw - What about EmbedMany case?

@vkartaviy I'll see what I can do about EmbedMany

Handling EmbedMany is far from being trivial and I believe there's no easy way to refresh objects there like proposed with EmbedOne. After discussion with @jwage we think that being consistent is better therefore we're not merging this in


'iam-user' new feature 'policy_arns' not working with 'iam-policy' ARN ouput #246

Hi all,
First of all, thank you for these incredible TF modules ! :)
Description
"policy_arns" parameters in "terraform-aws-modules/iam/aws//modules/iam-user" seems not working as expected when using 'iam-policy' module .arn output
I don't know if it's due to the "policy_arns" from iam-user or to the "arn" output from iam-policy not formatted the right way, or the usage of both together that create issues

[x] ✋ I have searched the open/closed issues and my issue is not listed.
--> New iam-user module feature from 1.58.0, no issue found yet !

Versions

Module version [Required]:
1.58.0
Terraform version:
Terraform v1.5.3
Provider version(s):
provider registry.terraform.io/datadog/datadog v3.28.0
provider registry.terraform.io/hashicorp/aws v4.67.0
provider registry.terraform.io/hashicorp/external v2.3.1
provider registry.terraform.io/hashicorp/local v2.4.0
provider registry.terraform.io/hashicorp/null v3.2.

Reproduction Code [Required]
module "iam-policy-bucket-xxx-local" {
  source  = "terraform-aws-modules/iam/aws//modules/iam-policy"
  version = "5.28.0"

  name        = "xxx-local-policy"
  path        = "/"
  description = "Policy to fully access the specified S3 bucket(s)"

  policy = <<EOF
{
  "Version": "2012-10-17",
  "Statement": [
		{
			"Sid": "S3All",
			"Effect": "Allow",
			"Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket",
        "s3:GetBucketVersioning",
        "s3:AbortMultipartUpload",
        "s3:ListMultipartUploadParts",
        "s3:ListBucketMultipartUploads",
        "s3:DeleteObject",
        "s3:GetBucketLocation",
        "s3:GetObjectVersion"
			],
			"Resource": [
        "${module.bucket-xxx-local.s3_bucket_arn}",
        "${module.bucket-xxx-local.s3_bucket_arn}/*"
			]
		}
  ]
}
EOF
}

module "xxx-local-user" {
  source  = "terraform-aws-modules/iam/aws//modules/iam-user"
  version = "5.28.0"

  name = "xxx-local"

  force_destroy           = true
  password_reset_required = false

  policy_arns = ["${module.iam-policy-bucket-xxx-local.arn}"]
}

Steps to reproduce the behavior:

Use code above, tf plan + tf apply

Expected behavior

Attach policy to user

Actual behavior
Error message displayed :
│ Error: Invalid for_each argument
│
│   on .terraform\modules\bucket-xxx.xxx-local-user\modules\iam-user\main.tf line 50, in resource "aws_iam_user_policy_attachment" "this":
│   50:   for_each = var.create_user ? toset(var.policy_arns) : []
│     ├────────────────
│     │ var.create_user is true
│     │ var.policy_arns is list of string with 1 element
│
│ The "for_each" set includes values derived from resource attributes that cannot be determined until apply, and so Terraform cannot determine the full set of keys that will identify the
│ instances of this resource.
│
│ When working with unknown values in for_each, it's better to use a map value where the keys are defined statically in your configuration and where only the values contain apply-time
│ results.
│
│ Alternatively, you could use the -target planning option to first apply only the resources that the for_each value depends on, and then apply a second time to fully converge.

Terminal Output Screenshot(s)

Additional context
I don't think it's an ordering issue, i checked the state file and tried with 'depends_on' without success to fix it
the only fix I found was copy/pasted full ARN or concatenated/guessed ARN for 'policy_arns' parameter
Also, not using the 'policy_arn' parameter from 'iam-user' module and using another Terraform step like :
resource "aws_iam_user_policy_attachment" "attach_s3_policy_local" {

  user       = module.xxx-local-user.iam_user_name
  policy_arn = module.iam-policy-bucket-xxx-local.arn
}

Make it work perfectly, but we don't use anymore the 'policy_arn' feature which is a shame :/

This submodule needs the following fix that @bryantbiggs had done last year. Looks like this was missed.
https://github.com/terraform-aws-modules/terraform-aws-iam/pull/250
That would resolve the issue.

having the same issue. please take a look

Hi,
Thank for your work / the PR merged !
But, unfortunately, i'm trying 5.30.0 right now, and having the same issue / error message as before :(

as a workaround I am using https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_policy directly rather than the policy_arns var in the same


cmd/compile: cannot compile with alias type used in multiple files

What version of Go are you using (go version)?

$ go version
go version go1.17.6 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="some path"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/contrib/inst/go1.17.6"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/contrib/inst/go1.17.6/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.6"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3458372569=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I have two go file in a package, one with a type definitial and an alias declaration

package compilererror

type A struct {
	c C
}

type O  = A

and a second file with a used type and a using type
package compilererror

type Dummy interface {
//	Dummy(A)
}

type B interface {
	// cannot use O here, because compiler crashes
        // F0(*A)
	F1() (*O, error)
	F2() (*O, error)
}

type C interface {
	F3(*O) error
}

What did you expect to see?
Compiling this package succeeds.
What did you see instead?
Compiling this package results in a compiler error:
compilererror/c.go:21:6: internal compiler error: cannot handle alias type declaration (issue #25838): %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference)

Please file a bug report including a short program that triggers the error.
https://golang.org/issue/new

With go release 1.16  a similar error is reported but with a working error message (not the nil pointer exception) complaining about the type alias.
Possibilities to circumvent this problem.
There are several strange ways to avoid this compile error:

add a dummy interface (as shown in b.go) USING the original type instead of the alias (just uncomment this line)
replace the FIRST occurrence of the alias type (O) in a file by the original type (A) (or just uncomment F0)
rename the file c.go  to be alphabetically before b.c (or just e.g. a.go)
put all the stuff in one file

Thanks for the bug report.  As the error message says, this is a dup of #25838.  See also #50729.  Closing as a dup.


fix(codeowners): change code owners to miso team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Jlegoff/fix azure golden metrics

Relevant information
As a follow up to https://github.com/newrelic-experimental/entity-synthesis-definitions/pull/204, here are the updated definitions for Azure entities
Checklist

[ ] I've read the guidelines and understand the acceptance criteria.
[ ] The value of the attribute marked as identifier will be unique and valid.
[ ] I've confirmed that my entity type wasn't already defined. If it is I'm providing an
explanation above.

blocking this for now, since we reverted the AWS ones.


build: Update to header 1.3.246

Update known-good
Generate source

CI Vulkan-Tools build queued with queue ID 48889.

CI Vulkan-Tools build queued with queue ID 48889.

CI Vulkan-Tools build # 949 running.


feat(apps/prod/tekton/configs/tasks): limit nightly tiup publish frequence

1 per day
Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Portal errors if a user is not in a project

A user who is not in a projects sees many errors in the portal. These error make sense because the portal is looking for information that does not exist.
However, these error are confusing to the user. I think this should be limited to a single error that is intuitive to understand and persistent in the user's portal view.    Maybe there should be a persistent box that states the user has limited access/functionality because they are not in a project. This box should include instructions on how to remedy the situation.  Maybe it has a link to the "other projects" with the suggestion that they could request access to a project that they are associated with.

PR and UIS services have addressed the issue for newly signup users and will no longer generate API error for users who don't have a project.


Invalid default tmp_dir for rootless podman

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
On a fresh podman install (non-root user) the tmp_dir value in libpod.conf does not match the runroot prefix in storage.conf
Steps to reproduce the issue:

run podman info

Describe the results you received:
Error: could not get runtime: cannot mkdir /home/ubuntu/rundir/libpod: mkdir /home/ubuntu/rundir/libpod: no such file or directory

Describe the results you expected:
No failure.
Additional information you deem important (e.g. issue happens only occasionally):
Editing .config/containers/libpod.conf manually seems to work:
tmp_dir = "/tmp/run-1000/libpod/tmp"

The default there of /home/ubuntu/rundir/libpod/tmp I deem is incorrect.
Output of podman version:
Version:            1.6.2
RemoteAPI Version:  1
Go Version:         go1.10.4
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.4
  podman version: 1.6.2
host:
  BuildahVersion: 1.11.3
  CgroupVersion: v1
  Conmon:
    package: 'conmon: /usr/bin/conmon'
    path: /usr/bin/conmon
    version: 'conmon version 2.0.3, commit: unknown'
  Distribution:
    distribution: ubuntu
    version: "18.04"
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  MemFree: 122695424
  MemTotal:<PHONE_NUMBER>
  OCIRuntime:
    name: runc
    package: 'cri-o-runc: /usr/lib/cri-o-runc/sbin/runc'
    path: /usr/lib/cri-o-runc/sbin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 4
  eventlogger: journald
  hostname: argo
  kernel: 4.15.0-101-generic
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: 'slirp4netns: /usr/bin/slirp4netns'
    Version: |-
      slirp4netns version 0.4.2
      commit: unknown
  uptime: 3h 24m 57.13s (Approximately 0.18 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
store:
  ConfigFile: /home/ubuntu/.config/containers/storage.conf
  ContainerStore:
    number: 0
  GraphDriverName: vfs
  GraphOptions: {}
  GraphRoot: /home/ubuntu/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 15
  RunRoot: /tmp/run-1000
  VolumePath: /home/ubuntu/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
Package: podman
Version: 1.6.2-1~ubuntu18.04~ppa1
New: yes
State: installed
Automatically installed: no
Priority: optional
Section: devel
Maintainer: Lokesh Mandvekar<EMAIL_ADDRESS>Architecture: amd64
Uncompressed Size: 37.5 M
Depends: libseccomp2, libdevmapper1.02.1, libgpgme11, libvarlink, conmon (>= 1.0.0), containers-common (>= 0.1.36), cri-o-runc
Recommends: slirp4netns, containernetworking-plugins (>= 0.8.1), uidmap
Conflicts: podman:i386
Description: Manage pods, containers and container images.

Additional environment details (AWS, VirtualBox, physical, etc.):
Nothing else, it's pretty much a fresh Ubuntu 18 install.

Podman 1.6.x is getting very long in the tooth - you may want to consider upgrading. It looks like you're still on the Ubuntu PPA - we've transitioned to publishing via OBS. Instructions for adding the repo can be found at https://podman.io/getting-started/installation (Ubuntu subsection)

Cat /etc/passwd for the user that is running podman and find out the uid.
Compare that uid number against the /tmp/ file that will have files starting with "run -####.
example: ls -lah /tmp/
result: run-1000    run-1001   run-1000
Those four numbers should match the uid of the user running podman, if they do not that is the problem.
You will also see the ownership of each of the run files in tmp. If your uid that matches the file isn't owned by the you, that needs to be changed.
I replicated this issue when you copy the lippod.conf file from another instance. Podman randomly generates the run-#### and if it generates the same number that you bring over from another instance, it bunks.
#PDCSS team

@polongibro it's not that; I provided instructions to replicate this issue from scratch, the configuration files are generated by podman itself and with the manual change I wrote there the issue is then fixed. It has nothing to do with the UID.
@mheon thanks; with v1.9.3 I notice that the auto-generated config files are gone and specifically this issue is also gone. I guess someone could ask them to remove this PPA? https://launchpad.net/~projectatomic/+archive/ubuntu/ppa

@gdm85 I see how you replicated the issue for your specific problem, however, when podman generates the libpod.conf file for each user and the "tmp_dir = "/tmp/run-1000/libpod/tmp" stanza is generated, those numbers (in this case the run-1000) in the libpod.conf stanza is based on the UID of the user. Each podman libpod.conf file will match each users UID.
You can confirm this by comparing the cat /etc/passwd UID's with the Libpod.conf file. Your UID will match the stanza. You can also confirm this by going to the /tmp/ folder and you will see that your  user will own the podman run-1000 folder, which coincidentally will be call the exact same UID and Libpod.conf stanza.

@polongibro if you read carefully the issue I submitted you will see that the user already has an UID of 1000. The issue you are describing has nothing to do with the one I submitted.


2x4 Mixer Aux

I was loading up the mixer and noticed that when I clicked the Pre buttons for channels 1.3 & 1.4, it would activate for 2.1 & 2.2. Not detrimental to what I was currently doing, but seemed to be a malfunction.

Additionally, as a feature request, would you consider adding an aux return within the mixers? I understand I can use an addition mixer channel to bring the send back into the mix, but it just seemed cumbersome.
PS: Had some fun with the Synth Drums plugin on that patch, thanks!

Hi, thanks for the feedback! I have mainly focused on fixing and updating the four group mixer.  I will probably spend some time now updating the 1 and 2 group versions with those updates.  So to be clear you would like return inputs under each aux send output and put the return audio directly back into the mix?

Also I am glad you like the Synth Drums, it was a bit of an experiment to see what I could do.  I would like to work on it some more to see if I can expand the range of sounds you can make.

Yeah, a stereo return that was just at unity gain would probably suffice. No need to make the return more cluttering to the layout.
I will have to try the 4x4 then, this is the first patch I have fully explored more than a track or two on.

I updated the 1 and 2 group mixers from the 4x4 code so hopefully that fixes the problem.

2x Synth Drums
2x 3x16 Sequencers
1x 4x4 mixer
https://www.instagram.com/p/BbpJL8mlK4x/?taken-by=felnyrii

Very cool!


Finish overtemp and error handling

Overtemp currently just sets the Error LED.
What should the behavior be above Max temp and above Critical temp?
What should happen when other errors are thrown? (non-temperature ones)

Added warning and error messages b99492a

Overtemp (>MAX temp) turns the outputs off and waits for the temp to drop before resuming.
Above CRITICAL temp, the device goes into ERROR state and has to be power cycled.


entity candidate of Wiki data

Hi Wenhan,
May I ask how do you generate entity candidate of Wiki data?
Where is the instance_of file in data?
Thanks.

Hi Chuxu,
As mentioned in the paper, the candidate entities are the entities that have the same type as the answer entity (Section 3.1). To find the type of an entity, we look up the "instance_of" relation triples. The wikidata ID for "instance of " is P31. You can get the raw wikidata dump and get all the triples with P31. That's how we get the instance_of file.
Best of luck,

understand, thanks.


Would not delete the statefulset when trying to delete a release?

when trying to delete a release, you actually could not delete the statefulsets. But the relevant statefulsets are not available once we delete the release.
Output of helm version:
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.5", GitCommit:"cce11c6a185279d037023e02ac5249e14daa22bf", GitTreeState:"clean", BuildDate:"2017-12-07T16:16:03Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4", GitTreeState:"clean", BuildDate:"2017-11-29T22:43:34Z", GoVersion:"go1.9.1", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Minikube

same with me; and can't remove the stateful sets with kubectl too

seeing the same issue:
# helm version
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}```

the issue occurs at least with `stable/stolon`helm chart

same issue occurs when using incubator/mysqlha helm chart
➜  ~ helm version
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

➜  ~ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-22T05:40:33Z", GoVersion:"go1.9.7", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.1", GitCommit:"f38e43b221d08850172a9a4ea785a86a3ffa3b3a", GitTreeState:"clean", BuildDate:"2017-10-11T23:16:41Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

@zhucebuliaolongchuan
the relevant  statefulsets are not available, Perhaps because of the associated resource has been deleted, such as svc, ing, etc.

@MiaoZhou I see. Apprecaite it!

it appears this was fixed in later releases. Please try upgrading to a newer version of helm and kubernetes and you should be good to go as someone mentioned in https://github.com/helm/helm/issues/3889#issuecomment-389443840. Thanks!


How can I remove this theme?

Duplicate of #29
See https://github.com/vinceliuice/WhiteSur-firefox-theme/issues/29#issuecomment-1702949453

Duplicate of #29
See #29 (comment)

Thanks.


Tabs: Missing accessibility features

Comparing the current implementation of Tabs to the one described on this MDN page, there are a couple of issues related to accessibility.
Things we are missing are:

Elements with the role tab must either be a child of an element with the tablist role, or have their id part of the aria-owns property of a tablist.
They should contain the aria-controls property identifying an element with the tabpanel role.
When working with elements with the tab role, when they are selected or active, they should have their aria-selected attribute set to true, otherwise it should be set to false.
When a tab is selected or active, its controlled tabpanel should have its aria-expanded attribute set to true and its hidden attribute set to false, otherwise the reverse.
It is recommended to use a button element with the role tab for their built-in functional and accessible features instead, as opposed to needing to add them yourself. For controlling tab key functionality for elements with the role tab, it is recommended to set all non-active elements to tabindex=-1, and to set the active element to tabindex=0.

Also, I would highlight this sentence on the same MDN page:

While there are ways to build tab-like functionality without JavaScript, there are no substitute combination of HTML and CSS only that will provide the same set of functionality that's required above for accessible tabs with content.

We should decide how to approach this.
I was thinking to provide a separate package containing JS file for each component which provides accessibility improvements.

I was thinking to provide a separate package containing JS file for each component which provides accessibility improvements.

That could be an interesting solution. A sort of library's expanded version.

That's ok. I was thinking to provide it as an optional package, only if the developer wants to guarantee maximum accessibility. However, I'm thinking again about that. Working on the tabs component I realized that a fully accessible component would be created totally different compared to how we create it with CSS limitations.
For example, in the tabs component, we are forced to use the radio component to store the currently active tab. Instead of that, we should use a button. Providing a separate JavaScript package wouldn't solve these kinds of issues.

I created this PR to improve the accessibility without adding JS.

Resolved in 47b0e7b7b4609d1edbd6ccb74090b65379ad48f6


Fix/unit tests

@marcoschwepp here are some comments to your tests. :-) Think should help you to create better test.
Since PhpUnit allow DataProviders you can write your tests much easier than you have done and get much better test data for it.
At this point: @Localheinz nice DataProvider package! Greetings from Paderborn :D

thx for all the tipps 👍 @ThemePoint


Keep-alive, fastcgi and unix sockets?

First of all, thank you so much for this demo repository!
What about fastcgi_keep_conn on; and keep-alive when using an unix socket file (eg. server unix:... sock;)?
Do you also need to set keep-alive on socket files? Does that even make sense? The Nginx documentation doesn't explain this at all.. So for PHP FPM you have an option called fastcgi_keep_conn on; to keep fastcgi connection open. It's unclear what to do when using socket files under GNU/Linux.
See also (unanswered for 2 years): https://forum.nginx.org/read.php?11,294938,294938
Thanks!
Regards,
Melroy van den Berg

While I am not an expert in NGINX, Unix, or PHP, here is what I understand about the performance considerations:
Unix sockets are usually faster than TCP sockets for communicating between processes on the same host since Unix sockets avoid the network stack entirely. You still can use keepalive with Unix sockets, but the performance difference will be minor.
And definitely do not turn off the fastcgi_keep_conn.
Here would be a very simple NGINX configuration:
server {
  listen 80;
  index index.php;
  root /var/www/html;
  location ~ \.php$ {
    fastcgi_pass php_backend;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
    fastcgi_keep_conn on;
  }
}

upstream php_backend {
  server unix:/var/run/php/php-fpm.sock;
  # server <IP_ADDRESS>:9000; # You can combine TCP servers and Unix sockets in "upstream" block
  keepalive 8;
}

For further best practices, you can have a look at DigitalOcean's NGINXConfig tool.

Yea so now my question was: will do keep alive 8 do something here at all? When using a socket file.

If you’re looking for a straightforward answer, here it is: it depends.
Here’s what I found from testing different setups on my machine:

Unix sockets are generally a bit faster than TCP sockets.
Enabling fastcgi_keep_conn and keepalive provides a measurable performance boost.
This improvement is more noticeable with TCP sockets than with Unix sockets.


Added regex support for jdk11ea runtime

@dzuelke yea, that's right. you can set 11-ea-24 to pin to the ea build no. 24 (and in the future pin to 11.0.2 or whatever.


LogPath in the Worker section of the config is not used

This is due to it configuring logging via: logutils.Configure(conf).
LogLevel is inherited from the base config as well.

Fixed in #154. However, the local worker backend will behave differently because it shares a global logger with the server process.