Cloudflare: Unable to generate a certificate for the domains [dev.example.com *.dev.example.com]

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
We have local dev environments with domains like *.dev.example.com with different subdomains for each project. We are creating the wildcard certs with certbot and DNS challenge so far and now want to automate that with Traefik, which we use as a proxy already.
The API token is correct, but the log state that the zone can not be found. Config and logs are below.
If we change the domains from dev.example.com / *.dev.example.com to  example.com / *.example.com , then everything works just fine. So, the configuration as such seems to be valid, just the subdomain part doesn't find the zones on Cloudflare.
What did you see instead?
Seeing the error in the log that the zones can not be found, details see below in the log.
What version of Traefik are you using?
Version:      2.7.3
Codename:     epoisses
Go version:   go1.17.11
Built:        2022-06-29T13:48:15Z
OS/Arch:      linux/amd64
What is your environment & configuration?
version: '3.3'
services:
  traefik:
    container_name: traefik
    image: 'traefik:2.7'
    command:
      - '--api=true'
      - '--api.dashboard=true'
      - '--api.insecure=true'
      - '--entrypoints.web.address=:80'
      - '--entrypoints.web.http.redirections.entrypoint.to=websecure'
      - '--entrypoints.websecure.address=:443'
      -<EMAIL_ADDRESS>      - "--certificatesresolvers.lakedrops.acme.dnschallenge=true"
      - "--certificatesresolvers.lakedrops.acme.dnschallenge.provider=cloudflare"
      - "--certificatesresolvers.lakedrops.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory"
      - '--providers.file.directory=/configuration/'
      - '--providers.file.watch=true'
      - '--providers.docker=true'
      - '--providers.docker.exposedbydefault=false'
      - '--log.level=debug'
      - '--experimental.hub=true'
      - '--hub.tls.insecure=true'
      - '--metrics.prometheus.addrouterslabels=true'
    restart: unless-stopped
    environment:
      CF_DNS_API_TOKEN: string-obtained-from-cf
    networks:
      - traefik-public
    ports:
      - '80:80'
      - '443:443'
      - '9900:9900'
      - '9901:9901'
    labels:
      - traefik.enable=true
      - traefik.network=traefik-public
      - traefik.http.routers.traefik.service=api@internal
      - traefik.http.routers.traefik.rule=Host(`traefik.dev.example.com`)
      - traefik.http.routers.traefik.tls=true
      - traefik.http.routers.traefik.tls.certresolver=lakedrops
      - traefik.http.routers.traefik.tls.domains[0].main=dev.example.com
      - traefik.http.routers.traefik.tls.domains[0].sans=*.dev.example.com
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock:ro'
networks:
  traefik-public:
    external: true

Add more configuration information here.
If applicable, please paste the log output in DEBUG level
traefik  | time="2023-02-21T07:03:27Z" level=debug msg="Looking for provided certificate(s) to validate [\"dev.example.com\" \"*.dev.example.com\"]..." providerName=lakedrops.acme ACME CA="https://acme-staging-v02.api.letsencrypt.org/directory"
traefik  | time="2023-02-21T07:03:27Z" level=debug msg="Domains [\"dev.example.com\" \"*.dev.example.com\"] need ACME certificates generation for domains \"dev.example.com,*.dev.example.com\"." providerName=lakedrops.acme ACME CA="https://acme-staging-v02.api.letsencrypt.org/directory"
traefik  | time="2023-02-21T07:03:27Z" level=debug msg="Loading ACME certificates [dev.example.com *.dev.example.com]..." ACME CA="https://acme-staging-v02.api.letsencrypt.org/directory" providerName=lakedrops.acme
traefik  | time="2023-02-21T07:03:29Z" level=debug msg="Building ACME client..." providerName=lakedrops.acme
traefik  | time="2023-02-21T07:03:29Z" level=debug msg="https://acme-staging-v02.api.letsencrypt.org/directory" providerName=lakedrops.acme
traefik  | time="2023-02-21T07:03:30Z" level=info msg=Register... providerName=lakedrops.acme
traefik  | time="2023-02-21T07:03:30Z" level=debug msg="legolog: [INFO] acme: Registering account for<EMAIL_ADDRESS>traefik  | time="2023-02-21T07:03:30Z" level=debug msg="Using DNS Challenge provider: cloudflare" providerName=lakedrops.acme
traefik  | time="2023-02-21T07:03:30Z" level=debug msg="legolog: [INFO] [dev.example.com, *.dev.example.com] acme: Obtaining bundled SAN certificate"
traefik  | time="2023-02-21T07:03:31Z" level=debug msg="legolog: [INFO] [*.dev.example.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/5457402704"
traefik  | time="2023-02-21T07:03:31Z" level=debug msg="legolog: [INFO] [dev.example.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/5457402714"
traefik  | time="2023-02-21T07:03:31Z" level=debug msg="legolog: [INFO] [*.dev.example.com] acme: use dns-01 solver"
traefik  | time="2023-02-21T07:03:31Z" level=debug msg="legolog: [INFO] [dev.example.com] acme: Could not find solver for: tls-alpn-01"
traefik  | time="2023-02-21T07:03:31Z" level=debug msg="legolog: [INFO] [dev.example.com] acme: Could not find solver for: http-01"
traefik  | time="2023-02-21T07:03:31Z" level=debug msg="legolog: [INFO] [dev.example.com] acme: use dns-01 solver"
traefik  | time="2023-02-21T07:03:31Z" level=debug msg="legolog: [INFO] [*.dev.example.com] acme: Preparing to solve DNS-01"
traefik  | time="2023-02-21T07:03:33Z" level=debug msg="legolog: [INFO] cloudflare: new record for dec.example.com, ID d9643eedfd5855efbd856c9ba5aeb9d2"
traefik  | time="2023-02-21T07:03:33Z" level=debug msg="legolog: [INFO] [dev.example.com] acme: Preparing to solve DNS-01"
traefik  | time="2023-02-21T07:03:34Z" level=debug msg="legolog: [INFO] [*.dev.example.com] acme: Trying to solve DNS-01"
traefik  | time="2023-02-21T07:03:34Z" level=debug msg="legolog: [INFO] [*.dev.example.com] acme: Checking DNS record propagation using [<IP_ADDRESS>:53]"
traefik  | time="2023-02-21T07:03:36Z" level=debug msg="legolog: [INFO] Wait for propagation [timeout: 2m0s, interval: 2s]"
traefik  | time="2023-02-21T07:03:36Z" level=debug msg="legolog: [INFO] [*.dev.example.com] acme: Waiting for DNS record propagation."
traefik  | time="2023-02-21T07:03:38Z" level=debug msg="legolog: [INFO] [*.dev.example.com] acme: Waiting for DNS record propagation."
traefik  | time="2023-02-21T07:03:47Z" level=debug msg="legolog: [INFO] [*.dev.example.com] The server validated our request"
traefik  | time="2023-02-21T07:03:47Z" level=debug msg="legolog: [INFO] [*.dev.example.com] acme: Cleaning DNS-01 challenge"
traefik  | time="2023-02-21T07:03:48Z" level=debug msg="legolog: [INFO] [dev.example.com] acme: Cleaning DNS-01 challenge"
traefik  | time="2023-02-21T07:03:48Z" level=debug msg="legolog: [WARN] [dev.example.com] acme: cleaning up failed: cloudflare: failed to find zone dev.example.com.: zone could not be found "
traefik  | time="2023-02-21T07:03:49Z" level=debug msg="legolog: [INFO] Skipping deactivating of valid auth: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/5457402704"
traefik  | time="2023-02-21T07:03:49Z" level=debug msg="legolog: [INFO] Deactivating auth: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/5457402714"
traefik  | time="2023-02-21T07:03:49Z" level=error msg="Unable to obtain ACME certificate for domains \"dev.example.com,*.dev.example.com\" : unable to generate a certificate for the domains [dev.example.com *.dev.example.com]: error: one or more domains had a problem:\n[dev.example.com] [dev.example.com] acme: error presenting token: cloudflare: failed to find zone dev.example.com.: zone could not be found\n" providerName=lakedrops.acme

Hello @jurgenhaas ,
I haven't closely looked at your problem, but could it be that you're in case similar to this one:
https://doc.traefik.io/traefik/getting-started/faq/#why-does-lets-encrypt-wildcard-certificate-renewalgeneration-with-dns-challenge-fail
?

Hi @mpl thanks for the link, but it doesn't seem to be related. However, what I found out by that is that our local DNS server defines a zone for dev.example.com with individual records for the subdomains so that we can route locally without configuring each host.
When I turn that zone off, the process works as expected.
Now, I wonder why Traefik, i.e. Lego, is checkoing for the zone over DNS where it has an API to deal with? At least the certbot client doesn't do that and it seems not to be required.

OK, found the explanation in the Lego documentation at https://go-acme.github.io/lego/usage/cli/options/#dns-resolvers-and-challenge-verification and they also describe where this could potentially fail:

A “split DNS” setup gives different answers to clients on the internal network (Lego) vs. on the public internet (Let’s Encrypt).

That's exactly my scenario. So, I should be able to work around that issue by using the --dns.resolvers command line flag for Lego and I wonder how I could utilize that within the Traefik context.

OK, here we go: adding the following option to the traefik command resolves my entire issue:
--certificatesresolvers.lakedrops.acme.dnschallenge.resolvers=andy.ns.cloudflare.com:53,zoe.ns.cloudflare.com:53

Conclusion: Lego verifies the DNS zone with the DNS server before submitting the request to LetsEncrypt in order to protect the account from potential issues with rate limits. The problem being, that the DNS server that Lego talks to is not always the same that the outside LetsEncrypt talks to. But explicitly declaring the DNS resolver resolves the issue.


Update azure-hybrid-benefit-linux.md

There was a missing opening bracket in the below powershell command and the command was not working as expected.
Get-AzVM -ResourceGroupName MyResourceGroup -Name myVM).LicenseType

Looks good. Thanks @alkabharathy

Thank you for your contribution, @alkabharathy!


Refactor transaction model

Structural changes done by https://github.com/ArkEcosystem/ruby-crypto/commit/4d9dbfe810073bbebab259337ff92b47c395d800.
Missing is the change that all methods inside that class use the class itself to do modifications instead of accepting a transaction argument.

Now all calls are performed on the transaction entity itself https://github.com/ArkEcosystem/ruby-crypto/commit/18511e2a301f289fe6cb6e0506fecc9ac87a2c02.
Last change done is to fix the issues that came up with tests.

https://github.com/ArkEcosystem/ruby-crypto/commit/71573e53e24b9242b3f51fa300d853f7a4b164b3


DEVX-265: Moving code from quickstart-demos to here for microservices demo

Hi @ybyzek ,
Now I see what you were getting at before. I think this will be a nice addition.
Do you mind adding a section to the Readme explaining how each of the scripts should be used?
Thanks,
-John

@vvcephei : do you mind if I defer that for now?  Two reasons:

There's existing high-level explanation at https://github.com/confluentinc/kafka-streams-examples/blob/5.0.0-post/src/main/java/io/confluent/examples/streams/microservices/README.md
I'm working on Docker-izing the demo along with a step-by-step self-paced tutorial, and as I flesh out ideas then it will be documented much better.

Sure, I guess that's fine as long as we eventually add something to the readme, either that tutorial, or a reference to it.

In the absence of that information, though, it's a little hard to review this PR. It takes a careful reading and some guesswork to infer from those classes how this tutorial would work, and therefore, whether we'd recommend any changes.
Does that make sense?

Hey @ybyzek , I've sent https://github.com/confluentinc/kafka-streams-examples/pull/166 to remove the unused imports. While I was at it, I also proposed to clean up some other stuff, like unused variables.
Feel free to take some or all of the changes, I felt that the PR was just the most efficient way to share the information with you; no pressure.
FWIW, the pr is targeting your branch, so if you want, you can just hit merge on #166 , and it will become part of #165 .

@vvcephei amazing, thank you for #166 :)
May I now merge this PR?


Implement saved search methods from tweepy

Implement twitterpandas methods for each of the dataset returning methods in tweepy's saved search methods grouping.
Examples of how to go about this can be found in the existing client.py, where the user methods group has been implemented. Use cursors wherever possible.

Going to give this one a shot

Awesome!  So this would include 2 new methods:

saved_searches
get_saved_search

If you need help or clarification on anything let me know.

I'm trying to understand Return type: list of SavedSearch objects for the saved_searches method.
After running dir() on the SavedSearch object I receive, I get back:
['__annotations__', '__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__get__', '__getattribute__', '__globals__', '__gt__', '__hash__', '__init__', '__kwdefaults__', '__le__', '__lt__', '__module__', '__name__', '__ne__', '__new__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']

For most of these objects I've found it simplest to call ._json on the objects to get back the raw dictionary that was used to create them.  Then you can just flatten the dictionary and use the resulting list of flat dictionaries to construct the dataframe. The followers() method in twitterpandas has a good example of this.

Looking at the tweepy documentation, API.saved_searches() takes no params, so if I call self.client.saved_searches the data I receive doesn't have a ._json attribute

I'll have to look into this more tonight, but it looks like the saved search objects have the data set as class variables here: tweepy source
The only one I can see there is the 'created_at' field.  For this, it may be enough for us to just return the saved search ID and created at, to let the user then use the other method (get_saved_search) for more detail.
Medium term, it'd be nicer to optionally have twitter-pandas return one dataframe with all of the data from get_saved_search for each id from saved_searches.

    # #################################################################
    # #####  Saved Searches Methods                               #####
    # #################################################################
    def saved_searches(self):
        """
    	Returns the ID and created_at attributes for the user tied to the API keys.

    	:param id_: Specifies the ID or screen name of the user
    	:param limit: the maximum number of rows to return (optional, default None for all rows)
    	:return:
    	"""

        data = self.client.saved_searches()

        print(data)

        print(dir(data))

dir(data) returns
['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__module__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_max_id', '_since_id', 'append', 'clear', 'copy', 'count', 'extend', 'ids', 'index', 'insert', 'max_id', 'pop', 'remove', 'reverse', 'since_id', 'sort']

Try looking in data.dict

So the objects are definitely getting returned as class variables.
Example:
SavedSearch(name='hello', id=735570679731507200, created_at=datetime.datetime(2016, 5, 25, 20, 38, 10), query='hello', _api=<tweepy.api.API object at 0x110e2b710>, id_str='735570679731507200', position=None)
SavedSearch(name='api', id=735571588834336768, created_at=datetime.datetime(2016, 5, 25, 20, 41, 47), query='api', _api=<tweepy.api.API object at 0x110e2b710>, id_str='735571588834336768', position=None)
SavedSearch(name='pandas', id=735571678055567365, created_at=datetime.datetime(2016, 5, 25, 20, 42, 8), query='pandas', _api=<tweepy.api.API object at 0x110e2b710>, id_str='735571678055567365', position=None)

get_saved_search(id) only gets one specific search by id, otherwise saved_searches() retrieves all saved searches made by the user. So...unless you want one specific saved search, saved_searches() does pretty much everything.

Hey Freddie, got a chance to try it out.  The saved search object has a few class variables that you can access directly.  It's easiest to see in a debugger, but you can get it printed out if you run:
tp = TwitterPandas(
        TWITTER_OAUTH_TOKEN,
        TWITTER_OAUTH_SECRET,
        TWITTER_CONSUMER_KEY,
        TWITTER_CONSUMER_SECRET
)

tp.client.create_saved_search(query='list:NASA/astronauts-in-space-now')
temp = tp.client.saved_searches()[0]
print(temp.created_at)
print(temp.id)
print(temp.name)
print(temp.query)

calling dict on that same object gives me:
print(temp.__dict__)
>>> {'_api': <tweepy.api.API object at 0x10603feb8>, 'created_at': datetime.datetime(2016, 5, 25, 23, 13, 52), 'id':<PHONE_NUMBER>95615494, 'query': 'list:NASA/astronauts-in-space-now', 'id_str': '735609863095615494', 'position': None, 'name': 'list:NASA/astronauts-in-space-now'}

Hope that helps.

OK. I get exactly what I was doing wrong after looking at your example.

PR #10 should solve this issue


Update ui-overview.md

@smth-to-smb Kindly Review

@utkarsh006 Thank you very much for your pull request, I have accepted your suggestions.


./clsrv: symbol lookup error: ./clsrv: undefined symbol: free_mem_coffer

zeromq version: tags/v2.0.6^0=ae35a1 (installed locally in my home, so i had to add -I$(HOME)/include and -L$(HOME)/include to Makefile-s below)
gonewrong version: 754648
coffer version: 19c834
gozero version: 7b78b4
$ ./clsrv
./clsrv: symbol lookup error: ./clsrv: undefined symbol: free_mem_coffer
$ ldd -r clsrv
linux-vdso.so.1 =>  (0x00007fffcc7ff000)
cgo_zmq.so => /home/temoto/src/go/pkg/linux_amd64/cgo_zmq.so (0x00007f208f296000)
libcgo.so => /home/temoto/src/go/pkg/linux_amd64/libcgo.so (0x00007f208f093000)
cgo_unsafe_coffer.so => /home/temoto/src/go/pkg/linux_amd64/cgo_unsafe_coffer.so (0x00007f208ee90000)
libzmq.so.0 => /home/temoto/lib/libzmq.so.0 (0x00007f208ec52000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f208ea11000)
libm.so.6 => /lib/libm.so.6 (0x00007f208e78d000)
libc.so.6 => /lib/libc.so.6 (0x00007f208e40b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f208f49b000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007f208e206000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f208def1000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f208dcda000)
undefined symbol: free_mem_coffer   (./clsrv)
What could be the reason of this?
Looking at the code, i suppose zmq.go:410 tries to use coffer.FreeMemCoffer by it's "direct C name", so maybe it's about that coffer exports that function with different name on my Linux amd64?

likely irrelevant now


404 NOT FOUND Request failed with status code 404

Describe the Bug
How to reproduce:

Select some code in editor
Use command: ChatGPT: Optimize
Returns a 404 error

Environment details if needed:
Version: 1.76.2
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:53:46.528Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.6.0
Sandboxed: No
Please tell us if you have customized any of the extension settings or whether you are using the defaults.

Using OpenAI API Key method
Model: gpt-3.5-turbo
Using the default configuration without any changes

Additional context
Screenshot:

Something maybe worth noticing when I searched the issue on Google:
javascript - OpenAI ChatGPT (GPT-3.5) API error 404: "Request failed with status code 404" - Stack Overflow

It seems that modifying the Api Base Url to https://api.openai.com/v1 in settings can solve this issue.

Thank you for this report again @hakula139. I've pushed v3.15.1. Using /v1 actually is the permanent fix here. I need users to start using that URL. So, you should be good. For other users I've added additional code to update the config setting if they still have the old Api Base Url.


Consumer - Key Auth, Only works on first api configuration

I've been trying kong since a few days ago and i've been facing this issue for a while.
Following the docs
I added an api.
https://getkong.org/docs/0.12.x/getting-started/adding-your-api/
Then i added the key auth pluggin.
https://getkong.org/docs/0.12.x/getting-started/enabling-plugins/
And then i added a consumer
https://getkong.org/docs/0.12.x/getting-started/adding-consumers/
This worked fine.
When i add a new api, the plugin and a new consumer for that new api, it just doesn't work, it allways get back with a 401 Unauthorized.
If i disable key-auth for that new api, it works fine.
After that, i delete the first example api, plugin, and consumer, and key-auth didn't work again with any other apy.
I have to reset the database, and configure a new api, and again, it just works on first configuration.
kong version 0.12.3
postgres 9.4 (docker)

Hi,
Do you have a commands that you did? A minimal example where this happens. In a mean time I will try this by following your description.

I'm not sure if i'm doing something that corrupts the database, because after this happen for the first time, it doesn't recover, and the only solution(for me) is reset my db

Can you make that png available as text, so that I can execute it similarly on my side. You never know if there are weird unicode sequences or something. Do you get anything in Kong error.log?

Hi,
I tried your example, and it worked as expected.
Now I see that you created an API that points to another API on Kong, but on port 8334? Is my assumption correct?
http://localhost:8443/cas/login

Is this also served by same Kong and protected with key-auth? Can you try to configure Nginx to use just 1 worker process nginx_worker_processes config parameter or with ENV var KONG_NGINX_WORKER_PROCESSES=1?

Hi,
In 8443 is runnig other application that i'm wonrking on, thats the endpoint that i want to reach through kong.
I will tray the nginx configuration and see the results.
Thank you!
These are the previous configurations
aaaa@aaaa:~$ curl -i -X POST   --url http://localhost:8001/apis/    --data 'name=final-api'    --data 'hosts=final.api.com'    --data 'upstream_url=https://localhost:8443/cas/login'
HTTP/1.1 201 Created
Date: Thu, 15 Mar 2018 19:40:58 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.12.3
{"created_at":1521142858691,"strip_uri":true,"id":"ea9d0d23-9914-4a7a-9441-81e4fe880ff6","hosts":["final.api.com"],"name":"final-api","http_if_terminated":false,"preserve_host":false,"upstream_url":"https://localhost:8443/cas/login","upstream_connect_timeout":60000,"upstream_send_timeout":60000,"upstream_read_timeout":60000,"retries":5,"https_only":false}
aaaa@aaaa:~$ curl -i -X POST   --url http://localhost:8001/apis/final-api/plugins/   --data 'name=key-auth'
HTTP/1.1 201 Created
Date: Thu, 15 Mar 2018 19:41:02 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.12.3
{"created_at":1521142862000,"config":{"key_in_body":false,"run_on_preflight":true,"anonymous":"","hide_credentials":false,"key_names":["function"]},"id":"5cec6e96-02d9-421e-9cf3-fd40c3beafff","name":"key-auth","api_id":"ea9d0d23-9914-4a7a-9441-81e4fe880ff6","enabled":true}
aaaa@aaaa:~$ curl -i -X POST   --url http://localhost:8001/consumers/   --data "username=final"
HTTP/1.1 201 Created
Date: Thu, 15 Mar 2018 19:41:15 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.12.3
{"created_at":1521142876000,"username":"final","id":"3eb288af-4f5f-438d-9d51-a0b227321b65"}
aaaa@aaaa:~$ curl -i -X POST    --url http://localhost:8001/consumers/final/key-auth/   --data 'key=finalkey'
HTTP/1.1 201 Created
Date: Thu, 15 Mar 2018 19:41:19 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.12.3
{"id":"9d7be6cf-3e07-49d3-b139-055a7de0df79","created_at":1521142879000,"key":"finalkey","consumer_id":"3eb288af-4f5f-438d-9d51-a0b227321b65"}
aaaa@aaaa:~$ curl -i -X GET    --url http://localhost:8000    --header "Host: final.api.com"    --header "apikey: finalkey"
HTTP/1.1 401 Unauthorized
Date: Thu, 15 Mar 2018 19:41:22 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
WWW-Authenticate: Key realm="kong"
Server: kong/0.12.3
{"message":"No API key found in request"}

I have a feeling that this got fixed with:
https://github.com/Kong/kong/pull/3348

Please reopen if that was not a case! Thank you.

Thanks!


Update icons gitlens

Icon gitlens still default icon of vscode, can you update 5 icons ?

- gitlens repository
- gitlens commit
- gitlens file history
- gitlens line history
- gitlens stashes

I can only update product icons, icons that are added by an extension are not themeable unless they're using product icons. In the GitLens case these are custom svg so they are not themeable, sorry about that.


Set a team in setup-uat.h when creating an adviser

Codecov Report

Merging #605 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #605   +/-   ##
========================================
  Coverage    96.48%   96.48%
========================================
  Files          126      126
  Lines         3817     3817
  Branches       327      327
========================================
  Hits          3683     3683
+ Misses          95       94    -1
- Partials        39       40    +1

Impacted Files
Coverage Δ

datahub/company/admin.py
88.88% <0%> (ø)
: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 ff16a11...7cf7d4f. Read the comment docs.

LGTM Thanks @reupen

Merging this just so I can check that develop on Datahub Frontend works


(chore) update package-lock files

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Note: this also should fix security vulnerabilities that were detected on some npm dependencies.


NodeProbe: get all histogram values in a single call

Table histagrams uses sampling to calculate the histogram.
There could be a potential problem when querying the JMX multiple times,
the values can potentiallay change so drastically that the histogram
values will not be monotonic.
This patch changes NodeProbe implementation, instead of querying each of
the quantile values from the JMX seperately, it will do a single request
to get the values and then will calculate the histogram itself using the
same aggregation class: BufferSamples as the jmx does.
Fixes scylladb/scylla#6792
Signed-off-by: Amnon Heiman<EMAIL_ADDRESS>

@elcallio can you please review

@amnonh ping

I see the BufferSamples class is still duplicated.

On Wed, Aug 5, 2020 at 6:37 PM Avi Kivity<EMAIL_ADDRESS>wrote:

I see the BufferSamples class is still duplicated.

It's in different processes and codebase, one is in scylla-jmx the other is
in nodetool (nodeprobe).

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scylladb/scylla-tools-java/pull/182#issuecomment-669264876,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQFDP23QPVX5NWLMKTJTMDR7F4CJANCNFSM4OYMHFTQ
.

On Wed, Aug 5, 2020 at 6:37 PM Avi Kivity @.***> wrote: I see the BufferSamples class is still duplicated.
It's in different processes and codebase, one is in scylla-jmx the other is in nodetool (nodeprobe).

Yes :facepalm:

Please add an entry to NOTICE. See guidlines.

Just did, thanks
On Thu, Aug 6, 2020 at 11:52 AM Avi Kivity<EMAIL_ADDRESS>wrote:

Please add an entry to NOTICE. See guidlines
https://infra.apache.org/licensing-howto.html.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scylladb/scylla-tools-java/pull/182#issuecomment-669801527,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQFDP7OISCCR4IQ2TWTMC3R7JVNHANCNFSM4OYMHFTQ
.

Please fold the two commits.

Sure, Folded
On Thu, Aug 6, 2020 at 12:26 PM Avi Kivity<EMAIL_ADDRESS>wrote:

Please fold the two commits.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scylladb/scylla-tools-java/pull/182#issuecomment-669818414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQFDP5YFO5GQAYWP6ZVTYLR7JZNJANCNFSM4OYMHFTQ
.

@scylladb/scylla-tools-maint please consider backport to 4.2 and 4.1


Fix support for assimp 5.1.0

assimp 5.1.0 has a relativly working CMake support (after the upstream work in https://github.com/assimp/assimp/pull/3455) and assimp::assimp imported target, so if assimp > 5.0.1 we can avoid to used the custom logic necessary for old assimp versions.
Fix https://github.com/ros2/ros2/issues/1222 .

Note that Ubuntu Jammy uses assimp 5.1.4 (see https://launchpad.net/ubuntu/jammy/+source/assimp), so this PR could be useful for https://github.com/ros2/ros2/issues/1221 .

CI:

Linux
Linux-aarch64
Windows
Linux Jammy

Sorry @clalancette, I had missed your reply.
The Jammy CI is failing with the error:
15:24:35 CMake Error at /usr/lib/x86_64-linux-gnu/cmake/draco/draco-config.cmake:41 (add_library):
15:24:35   add_library cannot create imported target "draco::draco" because another
15:24:35   target with the same name already exists.
15:24:35 Call Stack (most recent call first):
15:24:35   /usr/lib/x86_64-linux-gnu/cmake/assimp-5.1/assimpConfig.cmake:37 (find_package)
15:24:35   /home/jenkins-agent/workspace/ci_linux/ws/install/rviz_assimp_vendor/share/rviz_assimp_vendor/cmake/rviz_assimp_vendor-extras.cmake:15 (find_package)
15:24:35   /home/jenkins-agent/workspace/ci_linux/ws/install/rviz_assimp_vendor/share/rviz_assimp_vendor/cmake/rviz_assimp_vendorConfig.cmake:41 (include)
15:24:35   CMakeLists.txt:33 (find_package)

I had a similar error (i.e. related to draco) on a Debian Testing CI (that I set up exactly to early catch problem that will arise in future Ubuntu distro) in https://github.com/robotology/robotology-superbuild/issues/974 . I think there are several problem related to the fact that the Debian packaging of assimp is tryng to patch assimp to make sure that the Debian's draco instead of the vendored one. However, the situation was in rapid evolution, so probably it could make sense to try to re-run Jammy CI.

so probably it could make sense to try to re-run Jammy CI.

I did that (without this patch) here: https://ci.ros2.org/job/ci_linux/15962/console .  Looks like it is still broken, so we may have to dig into the Debian/Ubuntu Jammy situation a bit more.

I have another build on latest Jammy that works fine, so I guess it is some kind of error related to repeated CMake calls, i.e.:
find_package(assimp)
find_package(assimp)

I will quickly check on  a Jammy instance.

Bingo:
cmake_minimum_required(VERSION 3.15)

project(assimptest)

find_package(assimp REQUIRED)
find_package(assimp REQUIRED)

fails with:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/draco/draco-config.cmake:41 (add_library):
  add_library cannot create imported target "draco::draco" because another
  target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/assimp-5.1/assimpConfig.cmake:37 (find_package)
  CMakeLists.txt:6 (find_package)

while:
cmake_minimum_required(VERSION 3.15)

project(assimptest)

find_package(assimp REQUIRED)
# find_package(assimp REQUIRED)

works fine.

An even simpler reproducing problem is:
cmake_minimum_required(VERSION 3.16)
project(assimptest)
find_package(assimp REQUIRED)
find_package(assimp REQUIRED)

I opened a upstream (Ubuntu) bug in https://bugs.launchpad.net/ubuntu/+source/draco/+bug/1958432 . As the problem originates in Debian, it would have been more appropriate to report in Debian, but to be completly honest I am not an expert use of reportbug and all the machinery required to report bugs in Debian. On the other hand, the upstream mantainer is @roehling, that seems to be interested in ROS, so perhaps it could be interested in the problem even if not reported via Debian's bug tracker.

I just uploaded a fixed version of draco to Debian unstable, and it should find its way to Ubuntu within a couple of days, since Ubuntu 22.04 is still syncing with Debian.
@traversaro: I am not notified about new bugs which are filed in Launchpad, which is the main reason why it is better to report Debian related bugs in Debian. Mentioning me on Github does help, though. ;)

I just uploaded a fixed version of draco to Debian unstable, and it should find its way to Ubuntu within a couple of days, since Ubuntu 22.04 is still syncing with Debian.

Great, thanks!

@traversaro: I am not notified about new bugs which are filed in Launchpad, which is the main reason why it is better to report Debian related bugs in Debian. Mentioning me on Github does help, though. ;)

Yes, I suspected that. On the other hand, I am a bit afraid afraid of doing something wrong when submitting Debian bugs as I need to manually compose mails, without the possibility of validating (as far as I know) the message before I send it.

So it looks like the new libdraco-dev has propagated through Debian into Jammy (I see 1.5.0+dfsg-5) available in Jammy now.  Thanks @roehling !
Unfortunately, I think the changes in this PR aren't sufficient.  With the newest libdraco-dev installed, I can now successfully build rviz_rendering and rviz_assimp_vendor, but trying to link downstream packages (like rviz_rendering_tests) fails:
CMake Error at ros2_ws/install/ament_cmake_gmock/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:69 (add_executable):
  Target "mesh_loader_test_target" links to target "assimp::assimp" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  ros2_ws/install/ament_cmake_gmock/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:52 (_ament_add_gmock)
  CMakeLists.txt:57 (ament_add_gmock)

@traversaro Would you mind taking a look?

@traversaro Would you mind taking a look?

I added https://github.com/ros2/rviz/pull/817/commits/2e47d07de1e40c747457894e51cb397bfe034508 that should fix the issue.

Thanks for giving it a try again.  Unfortunately, I still have exactly the same issue on Jammy, even with the updated code.  Any other thoughts on what it might be?

Thanks for giving it a try again. Unfortunately, I still have exactly the same issue on Jammy, even with the updated code. Any other thoughts on what it might be?

Interesting. Do you have a log to check? Otherwise I will try to setup an instance on which to debug the problem, but it may take longer on my side.

Ah, I may have found it.  I think rviz_rendering is missing an export on rviz_assimp_vendor.  Will do a bit more testing locally and push a patch shortly if it works.

All right, at least locally what I just pushed seems to fix the problem for me.  I'll run another round of CI to check on it:

Linux
Linux-aarch64
Windows
Linux

Ah, I may have found it. I think rviz_rendering is missing an export of rviz_assimp_vendor. Will do a bit more testing locally and push a patch shortly if it works.

I'm not sure if the issue was fixed by this, but I had to export rviz_assimp_vendor in rviz_common. I didn't need to export it in rviz_rendering, but that could just be due to environment differences.

I'm not sure if the issue was fixed by this, but I had to export rviz_assimp_vendor in rviz_common. I didn't need to export it in rviz_rendering, but that could just be due to environment differences.

Hm, interesting.  It actually looks like rviz_common doesn't directly depend on assimp at all, so it actually should not have a dependency there at all.  It should just inherit it from rviz_rendering.  I'll try that out locally here and see what happens.
Separately, the Linux Jammy job is still failing with the draco::draco problem.  Presumably the underlying Jammy Dockerfile is out-of-date, since with local packages here it works fine.  I'm still somewhat reluctant to merge without this, but if it continues for a lot longer we can consider it.

I'm still somewhat reluctant to merge without this, but if it continues for a lot longer we can consider it.

No problem for me to just wait for the Dockerfile update to merge this.

Hm, interesting. It actually looks like rviz_common doesn't directly depend on assimp at all, so it actually should not have a dependency there at all. It should just inherit it from rviz_rendering. I'll try that out locally here and see what happens.

Yeah, that worked fine for me locally, so 0d26798 removes it.

I re-ran the job on Jammy, and it looks like the Docker images were updated over the weekend.    So I'm going to go ahead and merge this; thanks for the fix @traversaro !

Thanks for merging @clalancette !

@clalancette Can this be backported to the galactic and foxy branches? Is there an automated tool to do this? If not, I can make the PR.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-2-tsc-meeting-january-20th-2022/23986/1

@clalancette Can this be backported to the galactic and foxy branches?

I'm somewhat hesitant to do it, just because this changes enough of how things are done that it could cause problems in Foxy and Galactic.
Are you more interested in the support for assimp 5.1.0, or in the part of this PR where we did the export of rviz_assimp_vendor properly?

@clalancette I'm interested in the support for assimp 5.1.0, which I don't think will cause any issues in Foxy and Galactic.


bumped dep version in tutorial and getting started guide

Hi there!
Just noticed a small issue while going through the tutorial. mix deps.get fails because the tag provided in the getting started guide and in the example project does not exist.
The mix.lock file updated too; I haven't contributed to an elixir project before, so I'm not sure if that's OK or not to accept.

Thanks for spotting this!


Error observing notifications

With the latest Hangfire, Hangfire.Mongo and Mongo, when I use Ctrl+C to stop my dotnet core application running in the debug window, I am getting this exception logged by the application:
15:00:18.175|Information|54||Server xxx caught stopped signal...
15:00:18.286|Error|18||Error observing notifications
System.OperationCanceledException: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveMessageHelper.DecodeMessage(IByteBuffer buffer, IMessageEncoderSelector encoderSelector, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveMessage(Int32 responseTo, IMessageEncoderSelector encoderSelector, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquiredConnection.ReceiveMessage(Int32 responseTo, IMessageEncoderSelector encoderSelector, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol`1.Execute(IConnection connection, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.WireProtocol.CommandWireProtocol`1.Execute(IConnection connection, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Servers.Server.ServerChannel.ExecuteProtocol[TResult](IWireProtocol`1 protocol, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Servers.Server.ServerChannel.Command[TResult](ICoreSession session, ReadPreference readPreference, DatabaseNamespace databaseNamespace, BsonDocument command, IEnumerable`1 commandPayloads, IElementNameValidator commandValidator, BsonDocument additionalOptions, Action`1 postWriteAction, CommandResponseHandling responseHandling, IBsonSerializer`1 resultSerializer, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Operations.AsyncCursor`1.ExecuteGetMoreCommand(IChannelHandle channel, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Operations.AsyncCursor`1.GetNextBatch(CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Operations.AsyncCursor`1.MoveNext(CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Operations.AsyncCursorEnumerator`1.MoveNext()
   at Hangfire.Mongo.MongoNotificationObserver.Execute(CancellationToken cancellationToken)

Do I need to configure something in order to stop the application "cleanly" ?

@provanguard,
No its expected as cancellation is being requested. I however do not handle it gracefully.
#191 submitted by @LucyGoosey, addresses this issue, I just need to push a new release.
Will do this ASAP.

Thanks for the very quick reply ! I will await the new release.
By the way, I am now working on migration my application from using Hangfire 1.6.x to 1.7.x. Are there any specific actions I should take from the perspective of Hangfire.Mongo and Mongo ?


Sema: Fix some keypath diagnostic crashers

We would crash in these cases:

If all lookup results were subscripts
If all results were unavailable

@swift-ci Please smoke test

Looks good to me. Is there a reason you closed this? Is there a newer version I should look at?


[BUG] Add More IfDefs To Get Rid of Warnings in 2023

Describe the bug
In 2023, there are a ton of warnings about various deprecated FindObject functions. Need to replace with the more efficient new versions, similar to this https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/pull/484.
Screenshots

Your setup (please complete the following information)

Unity 2023.2

We should fix this :)

@marlenaklein-msft please add the "package: *" labels for all impacted packages.

Added. (mostly these are unit tests)


Removed oldValue in ValueChangedCommand

See https://github.com/canoo/dolphin-platform/issues/529

this will be another important deviation from the open-dolphin approach, limiting the options for undo-redo, consistency checks, and value merging when folding.


bower + git:// + npm postinstall failure

bower install fails when executed via postinstall script, within environments without git:// protocol access

dirty package.json workaround:
//...
 "scripts": {
    "postinstall": "cd public && git config --global url.\"https://\".insteadOf git:// && bower install"
  },
//...

Sadly there are some other issues even if we have access to git:// protocol:

First of all Travis CI doesn't like this postinstall script. No idea why???
On top of that we cannot assume that everyone has bower installed globally. One option is to add it to package.json as dependency and refer to bower as ./node_modules/bower/bin/bower.

I'd suggest experimenting with bower on a dedicated branch to make master stable and finish other functional issues for release v1.0.0.
For the time being I'll get rid of the postinstall script, commit JavaScript dependencies referred to by index.html, and release something that's actually working.

We should not run bower install as a post install script (I've already changed that). It will require end users to have bower and some git client installed. We target non technically inclined users.


Patch replace does not allow for nulling out a list

Patching:
foo:
  - bar

With {"op": "replace", "path": "/foo", "value": None} will result in:
foo:
  - null

Instead of foo:

I noticed the other day that I think the opposite applies. In some circumstances, foo: is not interpreted as a key that points to null.


Fixed some logic issues, hopefully fixed spacing....

Nice work on this exercise. Take a look at my comments above. Also, make sure any methods that are called inside your class are made private. There are several in your class.
Good to go on this exercise.


Lint Keras - PixelCNN example

A few minor small things including spelling.
The pixel intensity changes from 0 to 255, though the images (not pixels) are black and white, so I propose the following:
- ...pixels values are either black or white
+ ...pixel values range from white (0) to black (255).

Thank you keras-team and @fchollet

Jupyter and Markdown files amended - PTAL @fchollet Cheers 👍


fix: don't switch amounts when token selected from dialog

Two fixes:

don't switch amounts when token selected from dialog
remove focusing the first input in dialog

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Add github actions configuration

@pyoio turns out I was reading old information and Github Actions is able to access secrets in pull requests. Apparently, it is even smart enough to redact the secrets in build logs. From the docs:

To help ensure that GitHub redacts your secret in logs, avoid using structured data as the values of secrets. For example, avoid creating secrets that contain JSON or encoded Git blobs.
...
GitHub automatically redacts secrets printed to the log, but you should avoid printing secrets to the log intentionally.

For now, only lagom/shoping-cart-scala is tested since it is the only complete sample we have.

I'm merging this myself so that we can more confidently move forward with other PRs. :-)

@pyoio turns out I was reading old information, and Github Actions can access secrets in pull requests

It turns out I was reading the information correctly:

secrets are not available for pull requests coming from forks
secrets are available for pull requests where the branch is in the same repo (as this one).

I think this is good enough for us since I expect we will create the vast majority of the PRs.


⚠ Bofrost.at has degraded performance

In 84d1c9f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2588 ms

Resolved: Bofrost.at performance has improved in 7882f5a.


Removing item from list should erase notes

Might be nice to have a pin option in future which prevents this behaviour

Caused by item modal changes - the remove (and delete) buttons were submitting the form overriding the notes values which had been removed with the original value.


Location of outputs folder

Cannot have this be in the root path for dynasim, because this conflicts when doing git add *:
The following paths are ignored by one of your .gitignore files:
outputs
Moved outputs back to demos folder in commit 195f3f55fe9cf229c16f25e2718a61260dee7665
@benpolletta , I'm undoing this change for now, but if you can find a work around to fix this, please do! (and undo this commit)

I put the outputs folder back in DynaSim/outputs for the sake of convenience.
However, I get the following error when running git add *
Does anyone know how to bypass this? @erikthered12 @asoplata

$ git add *
The following paths are ignored by one of your .gitignore files:
outputs
Use -f if you really want to add them.

what is the goal here? are you trying to have outputs not accidentally sync to github, or are you having outputs be easier to find? if its demo-related outputs, it seems like that should stay in demos.

It was about (A) not syncing, (B) easier to find, and (C) common location for all dynasim outputs. For example the demos_xPlt.m demo is currently in the dependencies/MDD folder, not the demos folder (I am keeping it there to allow it to stay in sync with commits to the MDD repo, although on second thought perhaps this is not so important since it seems Git automatically saves the head location in MDD with each commit to DynaSim).
So I'm 50/50 here. I believe @benpolletta originally moved the location of the outputs folder so you migth want to check with him

to answer the bypass question, one simply removes outputs from .gitignore.

Heyo,
As far as I can recall, I was moving the outputs folder to the DynaSim
directory because I was getting an error due to DynaSim finding
demo_sPING_3b in the path even when it didn't exist in the current
directory, and so not creating it. Thus, I wanted demos to find the outputs
folder inside DynaSim, where demo_sPING_3b exists. Looking back on this, it
seems like a very hacky solution to a problem that I think Dave has fixed (
d572d70
https://github.com/DynaSim/DynaSim/commit/d572d7047f483923d4ef56aef3a6dcc710fe0935
).
Dave, if you don't want the outputs folder to sync with DynaSim, then it
seems like we're getting the behavior we want, and it's fine to have it in
your .gitignore file. You'll just have to find another way to use git add -
i.e., git add *.m - that doesn't attempt to add the outputs directory. Does
that seem correct?
B
On Wed, Mar 15, 2017 at 12:16 PM, Erik A. Roberts<EMAIL_ADDRESS>wrote:

to answer the bypass question, one simply removes outputs from .gitignore.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DynaSim/DynaSim/issues/104#issuecomment-286794488,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGGOVclUXFipPh-6drM_UOaUPY_DZ0Mcks5rmA7ngaJpZM4MXTFk
.

This error is just a warning afaik, that doesn't affect anything.
The following paths are ignored by one of your .gitignore files:
outputs

It doesn't actually let you add anything, from what I recall.
On Wed, Mar 15, 2017 at 1:23 PM, Erik A. Roberts<EMAIL_ADDRESS>wrote:

This error is just a warning afaik, that doesn't affect anything.
The following paths are ignored by one of your .gitignore files:
outputs
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DynaSim/DynaSim/issues/104#issuecomment-286816406,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGGOVURuJLzvVLdFXAvEYFYsKTutXZR-ks5rmB6HgaJpZM4MXTFk
.

i must have gotten a similar but different message then when i did git add all

Move it to ~/Documents/DynaSimData

Working on this now

Finished

See also #103

Error when using isfunction

cd ~/src/DynaSimSherfey/demos
Undefined function or variable 'isfunction'.
Error in setupDynaSimPath (line 7)
if ~isfunction('SimulateModel')                                                 % If DynaSim not in path...


Add arguments to SnowflakeUtil to generate timestamp-specified snowflake

Please describe the problem you are having in as much detail as possible:
I think this function will be helpful such as tracing backlogs of a specific server by using fetchMessages(). The code using now generates snowflake only for the current timestamp Date.now()
Include a reproducible code sample here, if possible:
discord.js/src/util/Snowflake.js:
I rewrited some parts to make the generate function more "dynamic":
  static generate(time = null) {
    if (INCREMENT >= 4095) INCREMENT = 0;
    var timestamp = + new Date(); // Date to Timestamp conversion
    if (time !== null) {
        timestamp = Date.parse(time) // Test if time string is valid
        if (!timestamp) return false;
    }
    const BINARY = `${pad((timestamp - EPOCH).toString(2), 42)}0000100000${pad((INCREMENT++).toString(2), 12)}`;
    return Long.fromString(BINARY, 2).toString();
  }

The code will now return a snowflake with the corresponding timestamp value.
Further details:

discord.js version: 11.2.1
node.js version: 8.5.0
Operating system: Raspbian w/ kernel 4.9.35-v7+
Priority this issue should have – please be realistic and elaborate if possible:
This could be a enhancement function and may help users with the needs of data investigation over chatlogs.

[ ] I found this issue while running code on a user account
[ ] I have also tested the issue on latest master, commit hash:

shouldn't you just PR that "feature" instead opening an issue :thinking:

Sorry but I am a newbie of github, I will try that way.


Module upgrades for output modules

It probably make sense to upgrade from *Cell modules to *Output modules.

Yes. This was not done originally as *Ouput had not received enough testing.

The output modules are:

matplotlib: MplFigureCell->MplFigureOutput
v2.1: 1.0.1, master: 1.0.4
1.0.2: fixes to plots, 1.0.3: dont-use-modules-as-data, 1.0.4: added MplFigureToFile
will stay at 1.0.4
tabledata: TableCell->TableOutput
same version 0.1.5 because of backport (3d324de2)
should bump to 0.1.6 after backport and will use that
vtk: vtkRendererCell->vtkRendererOutput
v2.1: 0.9.4, master: 0.9.5, #998: 1.0.0
0.9.5: dont-use-modules-as-data
will use 0.9.6 or 1.0.0
spreadsheet: RichTextCell->RichTextOutput, ImageViewerCell->ImageOutput (#1013)
v2.1: 0.9.2, master: 0.9.3
0.9.3: dont-use-modules-as-data
will use 0.9.4

I just rebased this (across VTK package merge, #998); I'm running into issues with upgrades also. It looks that if I have upgrades for some modules from x to 1.0.0, and package version is 1.0.1, the upgrade fails. I think a call to attempt_automatic_upgrade() is missing somewhere, cc @dakoop.

I had the same problem for VTK. Upgraded modules needed to have an upgrade path to the final version. Adding an attempt_automatic_upgrade() call somewhere can hopefully fix this.

The problem here, compared to the database migration systems I'm used to, is that:

Upgrades are performed for each module, taken independently, rather than upgrading package versions in lockstep;
We do not have the "schema" for intermediate versions (or even the list of versions).

A lot could be inferred from the provided upgrades, but it's not easy.
I think what you ran into is different and is an actual bug.

Should now be fixed, but that makes the upgrades very awkward.

So the problem is that the automatic upgrade is not performed after an earlier (non-automatic) upgrade is performed? For example, if you wish to upgrade from 2.0.0 to 2.1.1 and a 2.0.0 -> 2.1.0 upgrade is an explicitly defined upgrade, but 2.1.0 -> 2.1.1 would assume an automatic upgrade, that second upgrade does not happen? Yes, this should be fixed in the general upgrade logic.


c-lightning show port on infoscreen

if c-lighthing is running it should display the port after the IP or .onion - even if its a custom set port

quick fix and cherry-picked to v1.7

was part of the updated v1.7.1 image


category updates

category updates as websites have new versions / updates.

I’m closing this mainly because of inactivity, but please note that all automatic checks are failing too. Please feel free to comment in case you want this to be open again.


move Session scope attributes to the request scope instead

See here:
http://blog.ippon.fr/2013/03/12/improving-the-performance-of-the-spring-petclinic-sample-application-part-2-of-5/

The JConsole does not show any more session after a JMeter load test:


Documentation for migrating from DJS-Commander

I've added a new page in the documentation to help others migrate from the older library, DJS-Commander. The page's contents are from the older underctrl-io/commandkit-docs repository, but changed to use nextra's callout instead of Astro Starlight's.

Weird — I can't see the changes in the netlify deploy preview.

Weird — I can't see the changes in the netlify deploy preview.

That's fine. I'll work on that. Might be a Nextra bug.

Weird — I can't see the changes in the netlify deploy preview.

That's fine. I'll work on that. Might be a Nextra bug.

I failed to format the _meta.json file. That's why.


Fix the datagrid remounting when columns change

Closes https://github.com/mui/mui-toolpad/issues/1861
Verified the fix of https://github.com/mui/mui-x/issues/5970#issuecomment-1636713156 (Thanks @cherniavskii for looking into this)
This was verified against the codesandbox ci build of @mui/x-data-grid-pro
It will require an update to MUI X before it can be merged

The fix has been released in https://github.com/mui/mui-x/releases/tag/v6.10.1


how to train with controlnet

Hi,
may i ask how to train controlnet with this repo?  as I see that training controlnet is mentioned in readme.
many thanks!

The controlnet part is in development and will be released recently


Update AboutUs page for pattan9955

Closes #7

Codecov Report

Merging #21 (df28749) into master (757b53a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #21   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 757b53a...df28749. Read the comment docs.


Problem with Cancel button of GenericDialog?

Hi!
I've been trying to use the GenericDialog function but when clicking the Cancel button the following error appears: 'NoneType' object has no attribute 'set_root_widget'.
Reading the function this seems to come from this lines:
self._base_app_instance = None
self._old_root_widget = None
I don't know if I'm using it wrong.
Thank you very much.

Hello @WC802 ,
I'm unable to reproduce the problem. Can you show me how you use the GenericDialog?
However an usage example is within the widgets_overview_app.py (https://github.com/rawpython/remi/blob/06808ad6c332f2a4cb3ed33fa834474c66e2d7d9/examples/widgets_overview_app.py#L171)
Note that when you call dialog.show you must pass the application instance as argument (https://github.com/rawpython/remi/blob/06808ad6c332f2a4cb3ed33fa834474c66e2d7d9/examples/widgets_overview_app.py#L203).
Have a nice day,
Davide

Thank you very much for your answer!
I was able to solve it with the example, which I didn't find earlier.
Also, I was trying to do a widget for error handling to make a warning pop up with a message that the user can dismiss. This is what GenericDialog does, except it has two buttons. Although I managed to add the class myself, was there already a class that did this? I couldn't find it in the documentation. Or a way to remove the button.

The dialog buttons are 'cancel' and 'conf'. To hide the cancel button you can do:
mydialog.cancel.css_display = 'none'

Thank you very much for answering so fast!


Make mnemonic input more user friendly

Description
The current process requires users to verify multiple words individually, causing the interface to loop back to the initial step after each word. This repetitive process needs to be clearer and more efficient.
User Feedback

There's no clear indication that multiple words need to be verified.
After each word verification, the interface resets to the initial security check page.
Verifying all words in one step would be more user-friendly and efficient.

Acceptance Criteria
AC1 - Clarity on the Length and Form of Mnemonic
The interface should clearly inform the user about the total number of mnemonic words they need to verify and their sequential order.
Given a user is setting up their Mina Protocol wallet,
And the mnemonic verification step is initiated,
Then the interface should display the total number of mnemonic words required for verification,
And indicate the order in which these words need to be verified.

AC2: Efficient Verification Process
All mnemonic words required for verification should be presented and verified on a single page to enhance user experience and efficiency.
Given a user is setting up their Mina Protocol wallet,
When they reach the mnemonic verification step,
Then they should be able to verify all required mnemonic words on a single page.

AC3: Resolving the 'Enter' Key Behavior Issue
The 'Enter' key behaviour should be consistent and intuitive during the mnemonic verification process, ensuring that the verification step progresses without causing unexpected resets or loops.
Given a user is at the mnemonic verification step in the Mina Protocol wallet setup,
When they input a mnemonic word and press the 'Enter' key,
Then the action should correctly register and lead to the next step in the verification process,
And not reset or loop back to the previous screen.

Fixed


[Feature] Display chat messages that would be picked up by the filter

It was requested in #10 but I'm pulling it out into its own issue.

This would be very helpful when working with regular expressions, especially number ranges.


Feature request for adding dos and don'ts blocks

@neerajdotname @AbhayVAshokan In neetix, we will have to add more dos and don'ts blocks while creating documentation of UI/UX topics. Please LMK your thoughts on implementing something similar to https://primer.style/design/guides/accessibility/links#guidelines.

@neerajdotname _a

@praveen-murali-ind _a we could achieve a similar UI using a table. Please have a look at: https://abhay-ashokan.neetokb.com/articles/do-s-and-don-ts
In this example, I inserted images within individual cells. We can also insert the texts "Do" and "Don't" for this requirement. Please check if this would suffice.

@praveen-murali-ind please LMK if this looks good to you.
After looking into the different possibilities here's my conclusion on building a non-confusing UI. We shall add a new option within the table to toggle it into a do's and don'ts block.
Implementation

Add an option to toggle between the two table states in the table menu.
Add an attribute data-dos-and-donts to the table element if the option is toggled.
If the table element has this particular attribute, use SCSS selectors to hide all borders. Use media query to change the layout of the table in smaller screens.

@AbhayVAshokan Let’s use div instead of table for the less confusing user interface.

@praveen-murali-ind I agree that div would be the semantically correct choice for the DOM element. But, looking from the implementation perspective, we would need to architect an entirely new extension and a new option in the menu bar for this particular change. The new extension will be really specific for this particular purpose and will look like a duplicate of the Table extension. I would suggest that we don't overengineer this requirement since it is specific to neetoKB.

I'm putting this PR and the issue on-hold _t. I'll discuss my queries with @praveen-murali-ind whenever I've next call with him and will discuss it. In short I have some questions about the requirement itself.

Closing this issue and draft PR based on the discussion with @neerajdotname. We'll revisit it later when the 'Edit this page on GitHub' feature is implemented in the KB.


DVR problem on ROMS data

The DVR is giving different results based on which side of the domain we are viewing from, in the ROMS/Kauffman dataset.
To reproduce:

On casper, open the session file /glade/p/cisl/vast/vapor/Bugs/2800.vs3
Note that the DVR is different when viewing through the YZ plane, versus the XY plane.

Note: the data set used is ROMS/Kauffman.

Unfortunately, I see the following with the DVR on ROMS/Kauffman:
Home viewpoint:

Rotate about the X axis:

That may simply be because the ROMS data are uber thin along the Z axis and are missed entirely by the sampling.

The ROMS data seem to be passing.  Since this is CAM, I'm going to make a new report.

Reopening, since we're backing out the DVR fix for now.

@stasj - If this cannot be conceivably fixed, we can postpone it.
Request: please add any comments as to why.

@StasJ - If this cannot be conceivably fixed, we can postpone it.
Request: please add any comments as to why.

This was fixed however the DVR code is extremity fragile due to bugs in the GLSL compilers and the fix had to be rolled back.


piping request to iconv-lite fails

Following code fails:
        var request = new sql.Request();
        request.pipe(iconv.decodeStream('latin1'))
	        .pipe(writableStream);

with error:
TypeError: Invalid non-string/buffer chunk

This is because iconv expects string/buffer stream, but request is an object-mode stream.

Thanks for the reply. So is there any work around.
On Aug 21, 2015 5:20 PM, "Patrik Simek"<EMAIL_ADDRESS>wrote:

This is because iconv expects string/buffer stream, but request is an
object-mode stream.
—
Reply to this email directly or view it on GitHub
https://github.com/patriksimek/node-mssql/issues/198#issuecomment-133386944
.

What exactly are you trying to achieve? Character encoding is implemented directly in Tedious and should return correct values. You can also try exchanging string with NVarChar data type.

Our MSSQL 2005 DB uses latin1_general_ci collation. I am trying to export
data as csv, but some characters are appearing corrupted (hiphen). I
suppose fast-csv stream expects utf-8 but receives latin1 encoded data. I
posted a question on stackoverflow:
http://stackoverflow.com/questions/32097471/exporting-db-as-csv-from-latin1-encoded-strings-in-to-utf-8
What exactly are you trying to achieve? Character encoding is implemented
directly in Tedious and should return correct values. You can also try
exchanging string with NVarChar data type.
—
Reply to this email directly or view it on GitHub
https://github.com/patriksimek/node-mssql/issues/198#issuecomment-134221057
.

Closing this one because the discussion was moved to stack overflow.


MapachuronZuricato ready to battle!

I'd be happy to add your Pokemon to this repo! Maybe you could create it as a new file like mapachuron.py instead? Similar to digimon.py


Add Changelog

Going forward we will update the version and changelog to track major updates to this repository.  This commit establishes this process.

Pending discussion of https://github.com/datajoint/datajoint-elements/issues/43.

Hi @tdincer, this pull request is ready for review.  Thanks!


Invoke-Command overwrites collection variable with $null value if it returns nothing

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
LOCAL - works:
$alldirectories = [System.Collections.Generic.List[string]]::new()
$AllDirectories = [System.IO.Directory]::GetDirectories("C:\AnEmptyDir", "*", 1)

$AllDirectories.Count
0

$AllDirectories.GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     List`1                                   System.Object

REMOTE - doesn't work:
$AllDirectories = [System.Collections.Generic.List[string]]::new()
$AllDirectories = Invoke-Command computer01 -Credential $cred -ScriptBlock { [System.IO.Directory]::GetDirectories("C:\AnEmptyDir", "*", 1) }

$AllDirectories.count
0

$AllDirectories.GetType()
InvalidOperation: You cannot call a method on a null-valued expression.

Expected behavior
$AllDirectories.Insert(0, 'MyFunnyString')
# no output - string is added to collection at index 0

Actual behavior
$AllDirectories.Insert(0, 'MyFunnyString')
InvalidOperation: You cannot call a method on a null-valued expression.

Error details
Exception             :
    Type        : System.Management.Automation.RuntimeException
    ErrorRecord :
        Exception             :
            Type    : System.Management.Automation.ParentContainsErrorRecordException
            Message : You cannot call a method on a null-valued expression.
            HResult : -2146233087
        CategoryInfo          : InvalidOperation: (:) [], ParentContainsErrorRecordException
        FullyQualifiedErrorId : InvokeMethodOnNull
        InvocationInfo        :
            ScriptLineNumber : 1
            OffsetInLine     : 1
            HistoryId        : -1
            Line             : $AllDirectories.Insert(0, 'MyFunnyString')
            PositionMessage  : At line:1 char:1
                               + $AllDirectories.Insert(0, 'MyFunnyString')
                               + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            CommandOrigin    : Internal
        ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
    TargetSite  : System.Object CallSite.Target(System.Runtime.CompilerServices.Closure, System.Runtime.CompilerServices.CallSite, System.Object, Int32, System.String)
    Message     : You cannot call a method on a null-valued expression.
    Data        : System.Collections.ListDictionaryInternal
    Source      : Anonymously Hosted DynamicMethods Assembly
    HResult     : -2146233087
    StackTrace  :
   at CallSite.Target(Closure , CallSite , Object , Int32 , String )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) in System.Linq.Expressions.dll:token 0x6001066+0x128
   at System.Management.Automation.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame) in System.Management.Automation.dll:token 0x6004d51+0x0
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) in System.Management.Automation.dll:token 0x6004d01+0x0
CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : InvokeMethodOnNull
InvocationInfo        :
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : -1
    Line             : $AllDirectories.Insert(0, 'MyFunnyString')
    PositionMessage  : At line:1 char:1
                       + $AllDirectories.Insert(0, 'MyFunnyString')
                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Environment data
Name                           Value
----                           -----
PSVersion                      7.2.0-preview.8
PSEdition                      Core
GitCommitId                    7.2.0-preview.8
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

My problem is, I have the following snippet in a production script and it throws a InvalidOperation: You cannot call a method on a null-valued expression. error on the $AllDirectories.Insert(0, $LocalSharePath) line when the directory referred to by $LocalSharePath does not have any subdirectories. I have thought about it for a while but I'm not sure what I'm supposed to do to handle this in a somewhat elegant manner.
$LocalSharePath = 'E:\whatever\some\directory'
[System.Collections.Generic.List[string]]$AllDirectories = @()

try {
    [System.Collections.Generic.List[string]]$AllDirectories = Invoke-Command -Session $FileServerSession {
        # https://docs.microsoft.com/en-us/dotnet/api/system.io.directory.getdirectories?view=netframework-4.7.2
        # public static string[] GetDirectories (string path, string searchPattern, System.IO.SearchOption searchOption);
        [System.IO.Directory]::GetDirectories("$using:LocalSharePath", "*", 1)
    } -ErrorAction Stop
}
catch {
    Write-Error $_
    Write-Error "Falling back to slower directory enumeration ..."
    [System.Collections.Generic.List[string]]$AllDirectories = Invoke-Command -Session $FileServerSession {
        Get-ChildItem -LiteralPath $using:LocalSharePath -Recurse | Where-Object { $_.PSIsContainer } | Select-Object -ExpandProperty FullName
    }
}

# Add the root directory itself to the list of directories to go through
$AllDirectories.Insert(0, $LocalSharePath)

This is less to do with Invoke-Command specifically and more about how objects are enumerated to the pipeline from a command.
For instance you'll see the same behavior with just wrapping GetDirectories() in a scriptblock:
[System.Collections.Generic.List[string]] $AllDirectories = @()

# Direct method invocation does not enumerate and `GetDirectories` returns an empty
# array, so this is similar to `$AllDirectories = @()`
$AllDirectories = [System.IO.Directory]::GetDirectories("emptydir", "*", 1)
$null -eq $AllDirectories
# False

# Wrapping in `& { }` causes output to go through a pipeline.  Empty arrays have
# no items to emit, so this is similar to `$AllDirectories = $null`
$AllDirectories = & { [System.IO.Directory]::GetDirectories("emptydir", "*", 1) }
$null -eq $AllDirectories
# True

In the latest PowerShell you can handle this pretty easily with the following syntax:
$AllDirectories = & { [System.IO.Directory]::GetDirectories("emptydir", "*", 1) }

# If null, then assign `@()`
$AllDirectories ??= @()

Or wrap in @()
$AllDirectories = @(& { [System.IO.Directory]::GetDirectories("emptydir", "*", 1) })

Okay, so that helps me understand what's happening better.
The workaround syntax of wrapping it in @() is problematic for readability of course as Invoke-Command calls usually span multiple lines (assuming an inline scriptblock like in my example above) amd I'm not a fan of the extra paranthesis/indentation required.
Thinking of it as C# I understand that any nullable type is going to be nulled by an expression that essentially evaluates like [System.Collections.Generic.List[string]]$list = $null, no matter what I try to cast/coerce to on the left side of the assignmnent, I guess it was just unexpected in PowerShell to me.


engine: specify which files matched FallBackOn, surface message to user [ch2129]

Hello @dbentley, @landism,
Please review the following commits I made in branch maiamcc/which-matched-fall-back:
c0c3d2d270dd3233d34487298068cabd49c982b5 (2019-04-08 12:47:48 -0400)
can specify log level for RedirectToNextBuilder error
070fc4a4289a0f3161a9d66e6872020b1dd9c55b (2019-04-08 12:36:33 -0400)
engine: better logging around which FallBackOn file matched
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

bump!


Add test cases for default-src

I also fixed a few bugs that I found while running them.
Fixes #9

bors r+


Transaction reference block, default is "head", configure to "solid" can avoid TaPos error

Hi
I'm tring to use trust wallet core in c++ and sign a tron transaction but I got TaPos error.
I need change Transaction reference block from "head" to "solid".
how can do it?
Transaction reference block, default is "head", configure to "solid" can avoid TaPos error

I resolved it, The problem not related to "Transaction reference block".
For broadcast must latest block of chain info set to block header in tron blockchian.
This api give latest block info(In testnet):
GET Api: https://api.nileex.io/wallet/getnowblock


AST: Make sure that an opaque type descriptor is weak-linked if its naming declaration is

Fixes rdar://problem/80584212.

@swift-ci Please smoke test


[w5][w16-1]Wang Jiarui

Sort command can sort the address book by names' alphabetical order.

PR review:
Since you add a new command sort, will it be better if you add a new class in commands and use this new command class to execute the sort function that you implement in addressbook.java?

PR review:
Since you add a new command sort, will it be better if you add a new class in commands and use this new command class to execute the sort function that you implement in addressbook.java?

Thanks, jwl1997, it is my description mistake. Actually, I created a SortCommand Class in sortCommand.java file, but forgot to upload here when commit. Thanks for reminding.


created the Catalan translation

@JosepMariaVila Could you rebase and make sure new changes are translated? Thanks!


Possible performance degradation at edit cm

Setup

Rancher version: 2.7.5
Rancher UI Extensions: default
Browser type & version: Firefox 115

Describe the bug
After updating dashboard from 2.6.1 to 2.7.5 I noticed very long page loading while trying to edit config on configmaps with lots of values. So big, that browser prompts to stop that tab. After pressing tab stop ui is immediately loaded, but values are not editable.
To Reproduce

get k8s cluster
install rancher dashboard
create cm with kv='';for n in $(seq 1 100);do kv="$kv --from-literal=key${n}=config${n}";done;kubectl create configmap big-cm $kv -n default
open it in rancher

Result
default view and edit yaml pages are loaded instantly
edit config ui hangs tab for 30+ seconds
Expected Result
edit config ui loads in less than 10 seconds and allows to edit and save values
Screenshots
N/A
Additional context
Not a frontender, but it sounds like you creating an instance of codemirror editor for each value field?
Adding replicas didn't help, here's metrics:

Would you be able to look at the browser's dev tools window's Network tab and provide a screenshot of the requests that have been made? There may be one in there that's stuck on pending or takes a long time to complete

Here:

No new requests after loading finishes

Would you be able to select the XHR tab on the right within the Network tab, hit refresh and post a screenshot of those network requests (might need a couple to show them all)?
Is this only an issue when navigating to the page (if so how many config maps are in the cluster) or also when refreshing?

Issue not going away after refreshing. It loads slightly faster after I enabled rancher experimental garbage collection in global settings, but that may be just a wishful thinking.
665 configmaps
5700+ total resources

To be validated against server-side pagination feature. I'm assuming we're fetching all of a resource when we don't need to. Those cases will be removed as part of the pagination feature


Unlabeled query with ORDER BY causing crash

I ran this on LDBC-1 after loading all node and rel tables. This query causes seg fault:

MATCH (c) RETURN c ORDER BY c.ID LIMIT 5;

MATCH (n) RETURN n.name ORDER BY n.name;

MATCH (c) RETURN c ORDER BY c.creationDate LIMIT 5;

These were unlabeled ORDER BY queries that were causing crash.
If I add label also with ORDER BY + DESC it causes crash, this query fails:

MATCH (c:Comment) RETURN c ORDER BY c.ID DESC LIMIT 5;

If I remove the DESC, the query passes:

kuzu> MATCH (c:Comment) RETURN c ORDER BY c.ID LIMIT 5;
(5 tuples)
Time: 4.53ms (compiling), 440.06ms (executing)

UPDATE
It seems in general unlabeled queries are crashing, I ran these 2 queries:

MATCH (n) RETURN n.name ORDER BY n.ID;

MATCH (n) WHERE n.name IS NOT NULL AND n.ID IS NOT NULL RETURN n.name ORDER BY n.ID;

The 1st one causes same seg fault but the second one passes.
So most likely reason for crash is not handling NULLs properly.

UPDATE
For this query:

MATCH (c) RETURN c ORDER BY c.ID DESC LIMIT 5;

The error is coming from this line:

inline uint8_t* getTuple(uint64_t tupleIdx) const {
assert(tupleIdx < numTuples); // error here
return keyBlocks[tupleIdx / numTuplesPerBlock]->getData() +
numBytesPerTuple * (tupleIdx % numTuplesPerBlock);
}

both tuple index and number of tuples in this case seem to be same which throws the assertion error
It is thrown when the order by merge operator merges the keys.

localMerger->mergeKeyBlocks(*keyBlockMergeMorsel);

UPDATE
For this query:

MATCH (n) RETURN n.name ORDER BY n.name;

The error is occuring during the radix sort operation:

std::sort(tmpTuplePtrSortingBlockPtr, tmpTuplePtrSortingBlockPtr + keyBlockTie.getNumTuples(),

The bug goes away if I add a null check, the query passes:

MATCH (n) WHERE n.name IS NOT NULL RETURN n.name ORDER BY n.name;


Unable to load Array of custom classes directly from load/preload to statically typed variable

Tested versions

Reproducible in v4.3.stable.official [77dcf97d8]
Not present in v4.2.stable.official [46dc27791]

System information
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; <IP_ADDRESS>42) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
In 4.2 and earlier, one could load arrays of custom object types directly from a loaded resource file in one line. E.g. var myvar: Array[SomeResource] = preload("somefile.tres").someVariable. Now, it gives the following error message: "Cannot assign a value of type Array[res://SomeResource.gd] to variable "myvar" with specified type Array[SomeResource]."
No error is brought up and code runs as usual if myvar is not statically typed. The error is also avoided if split up into two lines, e.g.
var myvar = preload("somefile.tres")
var yourvar: Array[SomeResource] = myvar.someVariable

Steps to reproduce
In the minimum reproduction project, the node.gd file will display the error. It can be reproduced by

Creating a custom class
Creating a resource with an array of that class as a variable
Trying to load that data into a statically typed variable.

Minimal reproduction project (MRP)
Bug-Reporting.zip
Bugsquad edit: Fix formatting.

I also encountered this problem. However, note that for me, it worked using load() would work, but preload() would not.
This is my reproduction:
# custom_resource.gd:
class_name CustomResource
extends Resource

# custom_resource_list.gd
class_name CustomResourceList
extends Resource

@export var array: Array[CustomResource]

# main.gd
extends Node

const SAVED_CUSTOM_RESOURCE_LIST = preload("res://saved_custom_resource_list.tres")

# This works!
func _loaded_array_resource() -> void:
	var loaded: CustomResourceList = load("res://saved_custom_resource_list.tres")
	for custom_resource: CustomResource in loaded.array:
		print(custom_resource)

# This does not work.
func _preloaded_array_resource() -> void:
	for custom_resource: CustomResource in SAVED_CUSTOM_RESOURCE_LIST.array:  # error here!
		print(custom_resource)

This is the error message:
Unable to iterate on value of type "Array[res://custom_resource.gd]" with variable of type "CustomResource".

In 4.2.2 there were issues with typed arrays, e.g. you couldn't do things like this:
var typed_arr: Array[String] = []
var plain_arr: Array = ["test"]
typed_arr = plain_arr # this will fail
typed_arr.assign(plain_arr) # this will be ok

I think the issue is that the const / vars above are not typed and maybe treated as Variant-s. If this is the case, then it is valid because the types of entities don't match.
I recall that I had issues with definined typed consts when used with preload() in 4.2.2 (e.g. const MY_CONST: MyType = preload("...") didn't work even if casted as preload("...") as MyType). But maybe now it's working?
Can you try to use := assignment or specify the type explicitly?

Bisecting points to #92544 as the culprit:


[Feature Request] Safari support?

I would love to use this extension in Safari.

Safari extensions require knowledge of Objective-C and, unfortunately, I don't have it.


Code for Integrating Morpheus with Netbox

Customer has a requirement to use Netbox Ranges. Refactoring the code to include this before initiating a new pull request.


added game 'dose response'

Hi there,
this PR adds the game "dose response" and closes #144
Cheers,
tpltnt

ping

Thanks. Next time you add multiple entries to one file it'd be better to do it in one pull request, otherwise they will conflict when merging.


Anilist tracker login not working.

Steps to reproduce

Go to tracking in app and select anilist
Login to anilist

Expected behavior
Anilist tracker should be logged in.
Actual behavior
Nothing happens and anilist tracker does not get logged in.
Crash logs
No response
TachiyomiSY version
1.10.5
Android version
Android 14
Device
Redmi Note 8 Pro
Other details
Tried logging in to Anilist on Mihon stable (0.16.4) and it worked as expected. I also tried reinstalling the TachiSY app but no results.
Opened a new issue since I couldn't reopen #965
https://github.com/jobobby04/TachiyomiSY/assets/33841315/d813db72-f66d-4c50-a041-ab11131943af
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.10.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

The issue also happens with the r547 of the preview candidate, i can confirm Mihon stable allows you to connect Anilist fine too. I had the same issue as #1101 prior to disconnecting, and now unable to connect. I am using the same custom user agent with Mihon.

I checked MyAnimeList also, it fails to bind.
https://github.com/jobobby04/TachiyomiSY/assets/86149861/5ac80416-459b-4299-ac05-83247d4d85e8

I encountered #1101 yesterday and tried unlinking and then re-linking my AniList account, which resulted in this issue exactly as described by everyone else.
I downgraded to 1.10.4 and tried again but the issue persisted. I also tried changing my user agent string but that didn't change anything either.
The tracking in the main Mihon app seems to work fine.

I encountered #1101 yesterday and tried unlinking and then re-linking my AniList account, which resulted in this issue exactly as described by everyone else.
I downgraded to 1.10.4 and tried again but the issue persisted. I also tried changing my user agent string but that didn't change anything either.
The tracking in the main Mihon app seems to work fine.

I got the exact same problem, and it also works fine on main Mihon. My MAL isn't working too, like others said here.

Same issue. Please fix, I beg of you.

My MAL isn't working too, like others said here.

Change your User Agent in advanced settings. Then try again.

same issues with Anilist tracker, already tried default & other user agent still wont work

same issues with Anilist tracker, already tried default & other user agent still wont work

Changing User Agent won't work with anilist.

Same issue. Please fix, I beg of you.

As an alternative, you can use Mihon, and when the fix is released you export backup from Mihon to TSY

Changing user agent will only work for issue #1101 and will not work if you've unlinked your anilist account

Facing same issue after the update.....tried to close application logout then re-login but cannot login now......even after successfully verification on anilist login page
App version v1.0.5

I am also facing the same problem after I updated the app, I hope they fix it as soon as possible.

Known issue. Locking until fixed

Fixed in the preview version


Support TopicId as input

Hey there,
It would be useful to so support TopicIds as Input,
basically a reverse of buildTopicId.
Kind regards!

Hi @cachius , check this out - now you can enter topic ids as described in https://angryloki.github.io/mreid-resolver/ :)


Typo "<EMAIL_ADDRESS>

bold with escape characters
https://docs.microsoft.com/en-us/onedrive/developer/sp2019/docs/rest-api/api/driveitem_search?view=odsp-graph-online

Docs Build status updates of commit 7397024:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/rest-api/api/driveitem_search.md
:white_check_mark:Succeeded
View (>= odsp-graph-online)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@TinaMcN - Could you please explain a bit more about the reason of PR not being built? Thanks.

@rgregg @chackman can you please answer @hyoshioka0128's question?

@rgregg @chackman can you please answer @hyoshioka0128's question?

Which build steps didn't run?

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

File
Status
Preview URL
Details

:x:Error

Details

[Error-Forbidden.GitAuthorization] Error occurred when accessing GitHub. Details: (Unauthorized) Bad credentials

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

@hyoshioka0128 this pull request is failing.   Can you instead create a Feedback/Issue?    I believe the issue is in this article: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_search and there are 3 instances where @odata.nextLink should be changed to @odata.nextLink (adding a backsplash)

@TinaMcN  - Thanks for the suggestions.
New Create #1475 .
Closed #1161 .


PSF corrected images don't seem to be being read back in

Just was using Castor in a PointSource class to make a demo plot, and I have to re-run PSF correction for the ratemap to be available

It doesn't appear to be that the PSF corrected ratemaps just aren't being generated either, the images themselves don't seem to be loaded in

I think  was a mistake on my part actually, it was working fine


image sliding not smooth when have a lot of images

Describe the bug
we use this library in our product detail, and our product images has minimum 10 images.
when press in and sliding the animation is not smooth, FPS drop to 20-30 (depends on different specs)
i tried different setup the issue still occur.
i tried with only 2-3 image the issue is gone, FPS consistent 50+
i tried with snap-carousel to compare the performance, and its better. FPS drop minimum 44 and average 50+. (you can see video below)
To Reproduce
Steps to reproduce the behavior, here is my code:
const CarouselBanner = (props) => {

  ...

  const renderItem = useCallback(({ index, item }) => {
    // console.log('renderItem');
    return (
      <Touchable
        key={index}
        onPress={() => {
          if (item.alt_links) _callbackBanner(item.id, item.title, item.alt_links)
        }}
      >
        <AsyncImage
          source={{ uri: item.img_mobile }}
          style={style}
          placeholderColor={Colors.colorLevel3}
        />
      </Touchable>
    );
  }, [data]);

  const Indicator = memo(props => {
    // console.log('Indicator');
    const { animValue, index, length } = props;

    const animStyle = useAnimatedStyle(() => {
      let inputRange = [index - 1, index, index + 1];
      let outputRange = [-width, 0, width];

      if (index === 0 && animValue.value > length - 1) {
        inputRange = [length - 1, length, length + 1];
        outputRange = [-width, 0, width];
      }

      return {
        transform: [{
          translateX: interpolate(
            animValue.value,
            inputRange,
            outputRange,
            Extrapolate.CLAMP
          )
        }],
      };
    }, [animValue, index, length]);

    return (
      <View key={`indicatorBanner_${index}`} style={styles.indicator}>
        <Animated.View style={[styles.active, animStyle]} />
      </View>
    );

  }, () => true);

  const _onProgressChange = useCallback((offsetProgress, absoluteProgress) => {
    // console.log('offsetProgress, absoluteProgress', offsetProgress, absoluteProgress);
    if (data.length === 2 && absoluteProgress >= 2) {
      return progressValue.value = absoluteProgress - 2;
    } else return progressValue.value = absoluteProgress;
  }, [])

  return (
    <View key='CarouselBanner'>
      <Carousel
        key='CarouselBanner'
        width={widthCarousel}
        height={heightCarousel}
        data={data}
        autoPlay={autoPlay}
        autoPlayInterval={autoPlayInterval}
        // windowSize={windowSize}
        onProgressChange={_onProgressChange}
        renderItem={renderItem}
        scrollAnimationDuration={300}
        loop={false}
      />

      <View key='pagination' style={styles.pagination}>
        {data.map((record, index) => {
          return <Indicator key={index} index={index} length={data.length} animValue={progressValue} />;
        })}
      </View>
    </View>
  );
};

Expected behavior
smooth animation when slide
Screen record
react-native-reanimated-carousel
https://user-images.githubusercontent.com/17826213/174019683-42f2976e-57b4-474f-a143-7435c2f12028.mp4
react-native-snap-carousel
https://user-images.githubusercontent.com/17826213/174015388-cb86d3ff-dca7-4549-86fc-b48ceca64b86.mp4
Versions (please complete the following information):

react: v17.0.1
react-native: v0.64.3
react-native-reanimated: v2.2.0
react-native-reanimated-carousel: v2.4.0
react-native-gesture-handler: v1.10.3

Smartphone (please complete the following information):

Device: oneplus 5, zenfone 5
OS: android 9 & 10

same issue here

uhh... Your code doesn't seem to have any problems, and we have the same examples in the repo. But it runs well and maintains 60fps on android. can you run the example on your devices and tell me more information?
Steps

oh, BTW, Why did you disable the windowSize prop? I  think you can try it.
For example:
There is an array of 100 items, FPS is around 30.

https://user-images.githubusercontent.com/32405058/174439693-da2ef6d0-c9af-424e-b621-4fecee0a40ea.MP4
When I set the windowSize prop to 3, FPS will remain stable at 60.

https://user-images.githubusercontent.com/32405058/174439858-d97b8034-4a04-4c9c-abd4-9ee07dcd4186.MP4
Device: iPhone 11 Pro

oh, BTW, Why did you disable the windowSize prop? I think you can try it.
For example: There is an array of 100 items, FPS is around 30.
RPReplay_Final1655558626.MP4
When I set the windowSize prop to 3, FPS will remain stable at 60.

RPReplay_Final1655558835.MP4
Device: iPhone 11 Pro

I already tried set windowSize to 1 and the issue still occur. I tried set loop to false and disabled windowSize and nothing changed.
And I disabled windowSize because I think it didn't need when loop false right?
Maybe next week we will try your example code, or we will try your code into our project.

Hi @hotaryuzaki, I implemented the same carousel and I recommend you to set a value for the windowSize prop. loop prop just enables you to scroll in the opposite direction if is true (eg. if you have 100 items you can scroll from 0 -> 99 with loop={true}) . with this in mind having windowSize enabled helps rendering just a couple of elements of any large list, keeping a good frame rate (between 56 - 60 FPS). I was playing around with the windowSize param and found better results giving it a value between 3 -> 5. I recommend you to try this with your own implementation and compare it against the base use case.

I think this problem is probably caused by pagination, Remove pagination and try again.

I think this problem is probably caused by pagination, Remove pagination and try again.

Can confirm this is caused by the work done in onProgressChange used for pagination. I have a similar issue and encounter a lot of dropped frames even with ~20 slides.
@dohooo Is there a performant way to handle pagination in this app? I'm trying to use react-native-animated-pagination-dots in conjunction with this lib but having issues..


Typescript Rewrite

Brief summary of the broad changes:

Switched the main language to TypeScript
Added multiple config options
Rewrote the README
Switched from chat commands to slash commands in order to support Discord's phasing out of the former
Added the ability to check for binary and mod updates
Formatting options for chatting

Continues #10 as things went wrong.

Latest commit fixes a crash on each of the rcon.send lines of code. Who the hell designed it to crash on Typescript, while not crashing on Javascript?


Switch back to GGEZ for rendering

Icefoxen has updated GGEZ to allow spritebatches to be drawn in multiple colors, so we're back in business!
An unfortunate downside of switching back is that I have to force opt-level=2 in debug mode, otherwise the bounds checks in nalgebra make the game grind to a halt. I'll take the hit on the compile times for now though - means I'll have more control if I want to do any fancy rendering/shader shenanigans in the future.
EDIT: I have a beefier PC now, and Rust's compile time are slowly but surely improving, so time to give this another try...

The git history for this was hideous, so I squashed it...


H7029 not supported

[Back Porch Lights] is not currently supported, do create a Github issue with the following info:
{"device":"B2:CD:C2:33:33:36:2F:57","deviceName":"Back Porch Lights","model":"H7029","httpInfo":{"groupId":12895121,"device":"B2:CD:C2:33:33:36:2F:57","sku":"H7029","spec":"","versionHard":"3.01.01","versionSoft":"1.00.17","deviceName":"Back Porch Lights","deviceExt":{"deviceSettings":"{"address":"C2:33:33:36:2F:57","bleName":"Govee_H7029_2F57","pactType":1,"pactCode":1,"ic":8,"sku":"H7029","device":"B2:CD:C2:33:33:36:2F:57","deviceName":"Back Porch Lights","versionHard":"3.01.01","versionSoft":"1.00.17"}","lastDeviceData":"{"online":false}","extResources":"{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/121d9db7733df8b28af1d0302f3ab5ae-add_list_type_device_7029_01.png\",\"headOnImg\":\"https://d1f2504ijhdyjw.cloudfront.net/sku-img/5174b78cb3eeda0456fce0a5e1d1e3b5-new_light_title_7029_alexa_on.png\",\"headOffImg\":\"https://d1f2504ijhdyjw.cloudfront.net/sku-img/5db871d069884a2a188961cce3720dd6-new_light_title_7029_alexa_off.png\",\"ext\":\"\",\"ic\":8}"},"pactType":1,"pactCode":1,"share":0,"goodsType":149}}

Hi @wja731
Please install and try the beta version of the plugin:
https://github.com/bwp91/homebridge-govee/wiki/Beta-Version
Thanks!


Wrong Controller

In the HTML, you have set the tag:
asp-controller="Movies"
but no controller with that name has been created yet.

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

ID: 788d46c9-a91a-2788-8db7-b53c37b512f2
Version Independent ID: 00c2c01d-d235-2d2d-5c96-1f33a9314382
Content: Add a view to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-view.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Sorry, I didn't see the line:
Note: The Movies controller has not been implemented. At this point, the Movie app link does not work.


Remove duplicate unit tests from ViewTests and LabelTests etc...

In #2525 etc.., I wrote a bunch of new unit test for TextFormatter that should reduce the need for many of the fragile and complex tests that are still in ViewTests and LabelTests etc...
E.g. most of these tests are now duplicative:

This is now (mostly) addressed.