How to deal with (expected) html error responses.

I am interacting with a REST service that sends a 429 response with html body when some rate limit is exceeded. This is to be expected, as I need some form of backpressure to make sure I don't flood the service with requests.
I use the :unexceptional-status key in my request to make sure no exception is thrown if this happens, but sadly this also makes clj-http try to parse the html body as json. This leads to an exception:
1. Caused by com.fasterxml.jackson.core.JsonParseException
   Unexpected character ('<' (code 60)): expected a valid value
   (number, String, array, object, 'true', 'false' or 'null') at

For the sake of completeness, I want to wait for 1 second after receiving a 429 and trying again, up to a maximum of 4 times. Is what I want possible, or should I hack around with clj-http internals?

I use the :unexceptional-status key in my request to make sure no exception is thrown if this happens, but sadly this also makes clj-http try to parse the html body as json.

This sounds like a bug, do you have the invocation of clj-http where you pass this in so I can try to reproduce it?

I want to wait for 1 second after receiving a 429 and trying again, up to a maximum of 4 times. Is what I want possible, or should I hack around with clj-http internals?

Definitely, I have had great luck in the past combining clj-http and https://github.com/joegallo/robert-bruce to perform the retries.

That is going to be a bit hard, as it involves an API with my access token (not to mention that it only happens once I have used up my allowance of unfettered requests for that hour).
I could try to record the request (and response) using something like Fiddler, strip out all sensitive parts, and upload that. Would that be helpful?

That is going to be a bit hard, as it involves an API with my access token (not to mention that it only happens once I have used up my allowance of unfettered requests for that hour).

It doesn't have to be exhaustive, I mostly wanted to know about the options passed to the method, some pseudocode like
(http/post "url" {:body foo :unexceptional-status #{201 208 200} :as :stream})

(or however you invoked it) would be helpful for me to track this down

Hi @jellelicht ! I think that :as :json assumes that the body will always contain JSON, which is not the case here. This is how I would approach the situation:
(defmethod clj-http.client/coerce-response-body ::json-on-success
  [_ {:keys [status] :as resp}]
  (update resp
          :body
          (fn [body]
            (if (clj-http.client/unexceptional-status? status)
              (->> body
                   clojure.java.io/reader
                   cheshire.core/parse-stream)
              (slurp body)))))

Now, the body of a 429 response will not parsed as JSON:
(let [server
      (ring.adapter.jetty/run-jetty
       (constantly
        {:status 429
         :body "
hello!
"})
       {:join? false
        :port 8080})]
  (try
    (-> "http://localhost:8080/"
        (clj-http.client/get
         {:as ::json-on-success
          :unexceptional-status
          (some-fn clj-http.client/unexceptional-status?
                   #{429})})
        (select-keys #{:status :body}))
    (finally (.stop server))))
;; => {:status 429, :body "
hello!
"}

and anything that clj-http.client/unexceptional-status? considers successful gets parsed as JSON:
(let [server
      (ring.adapter.jetty/run-jetty
       (constantly
        {:status 200
         :body (cheshire.core/generate-string {:foo "bar"})})
       {:join? false
        :port 8080})]
  (try
    (-> "http://localhost:8080/"
        (clj-http.client/get
         {:as ::json-on-success
          :unexceptional-status
          (some-fn clj-http.client/unexceptional-status?
                   #{429})})
        (select-keys #{:status :body}))
    (finally (.stop server))))
;; => {:status 200, :body {"foo" "bar"}}

Wow @aterweele thanks a bunch! I'll have to try this out early next week, but this seems like what I need indeed. :+1:

I think that :as :json assumes that the body will always contain JSON

I think that while my advice stands, the situation is a little more nuanced than what I thought above. Consider:
(let [server
      (ring.adapter.jetty/run-jetty
       (constantly
        {:status 429
         :body "
hello!
"})
       {:join? false
        :port 8080})]
  (try
    (-> "http://localhost:8080/"
        (clj-http.client/get
         {:as :json
          :coerce :unexceptional
          :unexceptional-status
          (some-fn clj-http.client/unexceptional-status?
                   #{429})})
        (select-keys #{:status :body}))
    (finally (.stop server))))
;; throws the exception that @jellelicht wrote about

The implementation of clj-http.client/coerce-response-body for :as :json calls clj-http.client/coerce-json-body which uses clj-http.client/can-parse-body? to determine whether to parse or not.
can-parse-body? respects :coerce. The default of :coerce (which I use in my examples above) is to use clj-http.client/unexceptional-status-for-request?, and because I specify in my request that a 429 is unexceptional, the body of a 429 response gets parsed as JSON.
Given that, I might submit a PR to amend this line in the README:

JSON coercion defaults to only an “unexceptional” statuses, meaning status codes in the #{200 201 202 203 204 205 206 207 300 301 302 303 304 307} range.

to something like

JSON coercion defaults to only coerce the body of a response with an unexceptional status, see :unexceptional-status

I think that :as :json assumes that the body will always contain JSON

I think that while my advice stands, the situation is a little more nuanced than what I thought above. Consider:
(let [server
      (ring.adapter.jetty/run-jetty
       (constantly
        {:status 429
         :body "
hello!
"})
       {:join? false
        :port 8080})]
  (try
    (-> "http://localhost:8080/"
        (clj-http.client/get
         {:as :json
          :coerce :unexceptional
          :unexceptional-status
          (some-fn clj-http.client/unexceptional-status?
                   #{429})})
        (select-keys #{:status :body}))
    (finally (.stop server))))
;; throws the exception that @jellelicht wrote about

The implementation of clj-http.client/coerce-response-body for :as :json calls clj-http.client/coerce-json-body which uses clj-http.client/can-parse-body? to determine whether to parse or not.
can-parse-body? respects :coerce. The default of :coerce (which I use in my examples above) is to use clj-http.client/unexceptional-status-for-request?, and because I specify in my request that a 429 is unexceptional, the body of a 429 response gets parsed as JSON.
Given that, I might submit a PR to amend this line in the README:

JSON coercion defaults to only an “unexceptional” statuses, meaning status codes in the #{200 201 202 203 204 205 206 207 300 301 302 303 304 307} range.

to something like

JSON coercion defaults to only coerce the body of a response with an unexceptional status, see :unexceptional-status

Given that, I might submit a PR to amend this line in the README

Please do, that would be great!

This works very well, by the way! Thanks for the advice :-)


[DIFF PR] showing diffs for moving code from gax-grpc to gax

This is a companion PR for https://github.com/googleapis/gax-java/pull/359 to show diffs in cases where git didn't match up files.

closing diff PR.


subclass: Always allow to override the vfuns of classes

Will also need to be backported to gtk4 bindings

:+1:
cc @EPashkin @sdroege

Will also need to be backported to gtk4 bindings

Can you do that or create an issue?

:+1:

@alatiera Thanks.
👍 after CI

@alatiera cargo fmt is needed: https://travis-ci.org/gtk-rs/gtk/jobs/607720361#L766

Can you do that or create an issue?

Can do after this is merged.

@alatiera cargo fmt is needed: https://travis-ci.org/gtk-rs/gtk/jobs/607720361#L766

Should be good now.

@GuillaumeGomez All green! :)

Thanks


Added dev dockerfiles

This PR adds a new set of dockerfiles to pull code direct from this repository instead of from pypi #157

Looks good, can you change to commit into dev-v0.6.0 instead of main though?

Looks good, can you change to commit into dev-v0.6.0 instead of main though?

can do.


Clean up s/errC/errc and rm expect pkg

This change makes the naming of error channels consistent and removes the obsolete `expect' package.

This is just a capitalization change, right @adambabik?

@sourishkrout and removal of the vendored expect package which is not used anymore.


JS program to calculate typing speed & test errors

🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

Bro don't mind !
Really,  I have no idea about why did u add this one here..


radios cant differentiate what to auto-text when a character is close to crit.

Description
Radios will try to turn things like FR into for real if you are close to crit and say friends and it gets all wonky, despite it never actually being said.
Reproduction
1 Grab handheld radio
2 get close to crit
3 start screaming random things until one of the auto-text words gets triggered by accident.
Screenshots

Additional context

Sounds like the text is being processed by the text replacer for shorthand twice... Once when spoken by the player and again when the handheld radio rebroadcasts.


Sub-PR 1

Trying to break up the PR with various milestones. This is an attempt at milestone 1, to be followed by more. Some of the things in here might be already addressed in later commits.

With the additional changes for GPU directives, I am able to run this code on both CPU and GPU on Casper.
By using the namelist namelist.restC, the verification result on Casper looks below:

CPU (intel, 2 MPI ranks) vs. GPU (nvhpc, 2 MPI ranks + 2 V100 GPUs)
Stat output comparision
Identical variables: 63
variables with rel_diff > 1.e-6: 23
variables with rel_diff <= 1.e-6: 0
four variables with largest error: PPMIN, PPMAX, DIVMIN, DIVMAX
Droplet 0th-order diagnostic comparision
Identical variables: 10
variable with rel_diff > 1.e-6: 2
variable with rel_diff <= 1.e-6: 0
Two variables with largest error: Tpavg (~3.4e-6), radmin (~6.2e-6)
Droplet 1st-order diagnostic comparision
Identical variables: 512
variable with rel_diff > 1.e-6: 0
variable with rel_diff <= 1.e-6: 0

The stat output comparison result is better than that in PR #101 but the 0th-order droplet diagnostic is worse. However, the error of two variables (Tpavg and radmin) is close to tolerance and I think it is acceptable.


Expanded Hertz's logging middleware for http requests

What type of PR is this?
feat：Expand Hertz on HTTP request response logging middleware

What this PR does / why we need it (English/Chinese):
English: Expanded Hertz's logging middleware for http requests
中文：扩展了Hertz针对http请求的日志中间件

Which issue(s) this PR fixes:

ci need fix

ci need fix

I'm sorry to ask if I need to manually raise an Issue and point to it. I'm not experienced. I'm sorry!

I think it is the same as access_log.  https://github.com/hertz-contrib/logger/tree/main/accesslog

Yes, this middleware is the inspiration I got from Gin transfer Hertz，Unexpectedly The access_log is already available， I'm sorry to disturb everyone.


Fanling Kau Yan College

add Fanling Kau Yan College
website: https://web2.fkyc.edu.hk/
email domain is<EMAIL_ADDRESS>

@xftaw-uwu Thank you for your patience while waiting for a review and processing your request. Pull request merged.

thanks


Consolidate ordered list code using new _create_ordered_list() function

Hello team,
I would like to propose consolidating the ordered list-related code using a new function, _create_ordered_list().
Our current logic works well, such as list({k: True for k in x}) in the _unique_set() function. However, even after working on the project for a while, I find it confusing to understand why the True is needed. It makes me question whether we need this Boolean value for some if-else logic. Eventually, I realize it's just a placeholder—a nice trick but not very intuitive.
A few hours ago, I came across a post from Michael Driscoll on LinkedIn and found that list(dict.fromkeys(x).keys()) is more readable and neat, with a functional programming style. What do you think about this modification?

It seems we're encountering a CI issue with the Test for saving table image with browser (pull_request).

Hey, thanks for looking into this. I think some of the potential value of an ordered set (e.g. using a dictionary) is:

fast is in checks (looking up in a dictionary/set is fast vs a list)

However, looking at the code -- checking membership might not be too time intensive (unless there are tons of column names or groupings). One thing we could do, if the use of True seems distracting is create a custom class for OrderedSet. WDYT?
It could be something like...
from collections.abc import Set

class OrderedSet(Set):
    # d could also just be an iterable
    def __init__(self, d: list):
        self._d = {k: True for k in d}

    def __contains__(self, k):
        return k in self._d

    def __iter__(self):
        return iter(self._d)

    def __len__(self):
        return len(self._d)

    def __repr__(self):
        repr_list = repr(list(self._d.keys()))
        return f"{type(self).__name__}({repr_list})"

ord = OrderedSet(["a", "b", "a", "c"])
len(ord) # 3
"b" in ord # True
list(ord) # ["a", "b", "c"]
repr(ord)

This looks great! Both ideas aim to hide the implementation details, allowing users and developers to easily create an ordered set. Personally, I might write the code like this:
from collections.abc import Set

class OrderedSet(Set):
    def __init__(self, d: list):
        self._d = self._create(d)

    def _create(self, d: list):
        return {k: True for k in d}

    def as_set(self):
        return set(self._d)

    def as_list(self):
        return list(self._d)

    def as_dict(self):
        return dict(self._d)

    def __contains__(self, k):
        return k in self._d

    def __iter__(self):
        return iter(self._d)

    def __len__(self):
        return len(self._d)

    def __repr__(self):
        cls_name = type(self).__name__
        lst = self.as_list()
        return f"{cls_name}({lst!r})"

ord = OrderedSet(["a", "b", "a", "c"])
print(len(ord))  # 3
print("b" in ord)  # True
print(ord.as_set())  # {'b', 'a', 'c'}
print(ord.as_list())  # ['a', 'b', 'c']
print(ord.as_dict())  # {'a': True, 'b': True, 'c': True}
print(repr(ord))  # OrderedSet(['a', 'b', 'c'])

That version seems great!

My suggestion is to treat OrderedSet (the implementation might change in the future?) as an internal class and use _create_ordered_list for development purposes. However, feel free to update the commit as you see fit.

I'm okay with leaving out _create_ordered_set, since it's in the _utils.py submodule, so there's some internal-ness being signaled. Do you want to make the change? Otherwise, I'm happy to tweak and merge!

@machow , I think you may have missed the changes I made in the last commit. Please let me know if any further modifications are needed for this PR.

Ah sorry -- I meant to say, I'd be in favor of only using OrderedSet and removing _create_ordered_list(), since OrderedSet will be in the _utils.py submodule, which starts with underscore.
(but I accidentally said _create_ordered_set() instead 😞). The changes look great--I'm happy to go in and remove _create_ordered_list() and merge if useful :)

Got it! Please go ahead and adjust the code as you suggested.


Adding build steps and fixing hanging builds

https://github.com/JeffreyWay/laravel-mix/issues/402
There is an issue with mix where if the user's machine doesn't have notification support, the build will not auto-terminate on completion.  adding disableNotifications fixes the issue.
Also, added explicit build steps to the README

Thank you for this!


How to list the device using USBSerial?

Dear @felHR85 ,
I want to list all of usb device that plug in my android device (example my android device has 3 usbs port). It's possible if I want to list all if device that attached to my android.
Please take a look at it.
Thanks

  private void findSerialPortDevice() {
        // This snippet will try to open the first encountered usb device connected, excluding usb root hubs
        HashMap<String, UsbDevice> usbDevices = usbManager.getDeviceList();
        if (!usbDevices.isEmpty()) {
            boolean keep = true;
            for (Map.Entry<String, UsbDevice> entry : usbDevices.entrySet()) {
                device = entry.getValue();
                int deviceVID = device.getVendorId();
                int devicePID = device.getProductId();

                if (deviceVID != 0x1d6b && (devicePID != 0x0001 || devicePID != 0x0002 || devicePID != 0x0003)) {
                    // There is a device connected to our Android device. Try to open it as a Serial Port.
                    requestUserPermission();
                    keep = false;
                } else {
                    connection = null;
                    device = null;
                }

                if (!keep)
                    break;
            }
            if (!keep) {
                // There is no USB devices connected (but usb host were listed). Send an intent to MainActivity.
                Intent intent = new Intent(ACTION_NO_USB);
                sendBroadcast(intent);
            }
        } else {
            // There is no USB devices connected. Send an intent to MainActivity
            Intent intent = new Intent(ACTION_NO_USB);
            sendBroadcast(intent);
        }
    }

This method is looking for this first device to meets a given criteria but every device connected is available through
HashMap<String, UsbDevice> usbDevices = usbManager.getDeviceList();

Thanks you, it's worked.


Update Robolectric to 3.3.2 and AssertJ to 3.6.2

Fixes https://github.com/robolectric/robolectric/issues/2677
Update AssertJ because Robolectic already bump his version
Changelogs
Robolectric: https://github.com/robolectric/robolectric/releases
AssertJ: http://joel-costigliola.github.io/assertj/assertj-news.html
AssertJ Android: https://github.com/square/assertj-android/releases
Mockito: https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md

Codecov Report

Merging #774 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #774   +/-   ##
=======================================
  Coverage   96.85%   96.85%
=======================================
  Files          87       87
  Lines        2638     2638
  Branches      296      296
=======================================
  Hits         2555     2555
  Misses         50       50
  Partials       33       33

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 f6f35fe...250ef30. Read the comment docs.


Renaming Simple KT entity classes

(Will wait on Jason to submit.)
This PR renames the "simple" cases of entity classes. Some notes about this PR:

Added Foo to golden.arcs to test the new naming convention in Kotlin.
Had to change some of the schema names in ArcHostContext so they wouldn't conflict with already existing classes.
Had to change a schema name in Blackjack for the same reason.

/gcbrun

/gcbrun

/gcbrun

/gcbrun


Implement console specific Paper

To enable console applications to use this framework
a console specific paper implementation is needed.
This is implemented by using 'System.in/out' as
default input and output devices.
This fixes #12

@rultor merge pls

@rultor merge pls

@aliceice OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge pls

@aliceice Done! FYI, the full log is here (took me 3min)


Crafting Parts

About the PR

Merges what ive been working on, sprites and recipes need redoing but thats for later terezi.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added a lot
add: Tiny bomb

tfw you thought it was fine and then the checks die one by one

tfw you thought it was fine and then the checks die one by one

Don't worry about checks, i'll just reorganize it a bit and then gonna merge

Also this one it missing it's machine


Selecting Black Card doesnt show instant lose

When the back card is selected, the game should show instant lose.

not so important feature... the black card selected should be enough of a cue that the team that selected it lost.


Code readability and potential confusion in tcc/visualize_alignment.py

Hello,
a section of the tcc code in visualize_alignment.py has high potential for confusion and misuse. The align function is defined as follows:
def align(candidate_feats, query_feats, use_dtw):
  """Align videos based on nearest neighbor in embedding space."""
  if use_dtw:
    _, _, _, path = dtw(candidate_feats, query_feats, dist=dist_fn)
    _, uix = np.unique(path[0], return_index=True)
    nns = path[1][uix]
  else:
    nns = []
    for i in range(len(candidate_feats)):
      nn_frame_id, _ = get_nn(query_feats, candidate_feats[i])
      nns.append(nn_frame_id)
  return nns

The function call is:
nns.append(align(embs[query], embs[candidate], use_dtw))
The positional arguments for the query and candidate features are reversed. Clearly, we do not want to iterate over the candidate frame matching it to the reference. There is no logical error as the arguments are passed in to the function in reverse order but it may lead to issues downstream if these functions are built upon.
The function definition should read:
def align(query_feats,candidate_feats, use_dtw):
  """Align videos based on nearest neighbor in embedding space."""
  if use_dtw:
    _, _, _, path = dtw(query_feats,candidate_feats, dist=dist_fn)
    _, uix = np.unique(path[0], return_index=True)
    nns = path[1][uix]
  else:
    nns = []
    for i in range(len(query_feats)):
      nn_frame_id, _ = get_nn(query_feats[i], candidate_feats)
      nns.append(nn_frame_id)
  return nns

Yes, you are right. Thanks for the suggestion. This commit changes the order of query and candidate.


Restricted calls simplification

We now handle everything inside a single contract, RestrictedCalls.
The IMessenger interface got a new function, callAllowed which is
supposed to say whether the call is allowed or not. This completely
pushes call checking to messengers, which are chain-specific.
For same-chain calls, the messengers are not consulted since we can
check directly whether the caller is allowed to make the call.

The branch has been rebased on top of latest main and all review comments made so far have been addressed.

I just confirmed the local Arbitrum L1 resolution test (local Arbitrum -> local geth -> local Arbitrum) works with changes in this PR so from my side this is cleared to land.

One question, which is left unanswered for me. Why do we have the callerChainId in the respective callAllowed() interface?
[...]

Good catch. Originally I went with it because I thought it might be required in messenger implementations, but as it turns out, it is not actually required. I guess the other reason was that I thought it nice to give the messengers complete caller information (callerChainId, caller), as opposed to just caller.
Shall I just remove that parameter from the interface?

One question, which is left unanswered for me. Why do we have the callerChainId in the respective callAllowed() interface?
[...]

Good catch. Originally I went with it because I thought it might be required in messenger implementations, but as it turns out, it is not actually required. I guess the other reason was that I thought it nice to give the messengers complete caller information (callerChainId, caller), as opposed to just caller.
Shall I just remove that parameter from the interface?

I understand. In this case, I would prefer to remove it. As I mentioned, it would require a restructuring of the messenger itself to make him use of the chain id. So I'd prefer to not carry it along the way and potentially add it once we ever need it.

Removed the callerChainId parameter from the interface.


Failed to load resource: the server responded with a status of 401 ()

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App, Extension
Expected behavior
As i created shopify extension using "npm init @shopify/app@latest ", so it shouldn't get us an error as "401" , since we created the extension using npm so it must have handled the access tokens itself.
Actual behavior
it gave us the error "Failed to load resource: the server responded with a status of 404 ()"

Verbose output
2024-03-06T14:27:47.661Z: Obtaining the dependency manager in directory /Users/administrator/Desktop/dv-chcekout-extension...
2024-03-06T14:27:47.667Z:
Running system process:
  · Command: ruby -v
  · Working directory: /Users/administrator/Desktop/dv-chcekout-extension

2024-03-06T14:27:48.186Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 488 ms
With response headers:
 - x-request-id: 38098534-539d-48a3-872f-a33b6ddc3269

2024-03-06T14:27:48.189Z: Analytics event sent: {
  "command": "help",
  "time_start":<PHONE_NUMBER>623,
  "time_end":<PHONE_NUMBER>651,
  "total_time": 28,
  "success": true,
  "cli_version": "3.56.3",
  "ruby_version": "2.6.10",
  "node_version": "20.11.1",
  "is_employee": false,
  "uname": "darwin amd64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-cloudflare\",\"@shopify/plugin-did-you-mean\"]",
  "env_shell": "zsh",
  "env_device_id": "6a876c493203f08f9071ba7784831a61a5007597",
  "env_cloud": "localhost",
  "env_package_manager": "npm",
  "cmd_app_warning_api_key_deprecation_displayed": false,
  "cmd_all_timing_network_ms": 0,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "npm",
  "cmd_all_plugin": "@oclif/plugin-help",
  "cmd_all_timing_active_ms": 28,
  "cmd_all_exit": "ok",
  "args": "app",
  "env_plugin_installed_all": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-cloudflare\",\"@shopify/plugin-did-you-mean\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}

 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:34:38.999Z: Request to https://partners.shopify.com/api/cli/graphql completed in 716 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: b6590114-9173-4dfe-af83-885b8172e813-1709735678

2024-03-06T14:34:43.281Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:34:44.591Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1307 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 60f32f62-5a03-4fd0-887d-437e70eb35a8-1709735683

2024-03-06T14:34:48.283Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:34:48.962Z: Request to https://partners.shopify.com/api/cli/graphql completed in 676 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 9f0dc75e-22fc-439a-a83e-9d7b43148c9f-1709735688

2024-03-06T14:34:53.284Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:34:54.173Z: Request to https://partners.shopify.com/api/cli/graphql completed in 885 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: c6be46a8-5341-4c82-966c-461fb49053da-1709735693

2024-03-06T14:34:58.284Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:34:59.043Z: Request to https://partners.shopify.com/api/cli/graphql completed in 756 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 4c6390f4-2a98-4579-9a7d-3382bef768c5-1709735698

2024-03-06T14:35:03.285Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:04.120Z: Request to https://partners.shopify.com/api/cli/graphql completed in 832 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 70d0f7ba-b22b-4cdc-ae73-d6cbd8ff9856-1709735703

2024-03-06T14:35:08.286Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:09.026Z: Request to https://partners.shopify.com/api/cli/graphql completed in 736 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 8b6af14e-90ff-4671-ac81-c1db2673a77f-1709735708

2024-03-06T14:35:13.287Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:13.992Z: Request to https://partners.shopify.com/api/cli/graphql completed in 701 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 37ce2441-9b57-409e-be2e-6708879e8ad7-1709735713

2024-03-06T14:35:18.288Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:18.977Z: Request to https://partners.shopify.com/api/cli/graphql completed in 685 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: f0f6e184-506c-4456-9967-0dafd099fa85-1709735718

2024-03-06T14:35:23.289Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:24.017Z: Request to https://partners.shopify.com/api/cli/graphql completed in 725 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 1e165157-30df-4e7b-b402-93b14f393c7b-1709735723

2024-03-06T14:35:28.289Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:29.140Z: Request to https://partners.shopify.com/api/cli/graphql completed in 847 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: ec22072e-695a-4cc2-87d7-94b6a9faa9d9-1709735728

2024-03-06T14:35:33.291Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:34.419Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1124 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 6adbe895-ea95-4682-8a35-1d3981faf1f8-1709735734

2024-03-06T14:35:38.289Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:39.216Z: Request to https://partners.shopify.com/api/cli/graphql completed in 923 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 213d6d1f-81fd-4b67-9b94-a6e7057b242c-1709735738

2024-03-06T14:35:43.291Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:43.986Z: Request to https://partners.shopify.com/api/cli/graphql completed in 691 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: df7658d9-7bd6-4512-9fb0-ab3af1ae1ed7-1709735743

2024-03-06T14:35:48.292Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:49.033Z: Request to https://partners.shopify.com/api/cli/graphql completed in 738 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: fb3154a9-2152-434c-8948-e200db7de14b-1709735748

2024-03-06T14:35:53.294Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:54.672Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1374 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 01bbf4cc-2f94-4110-9a80-60416b26f8d8-1709735754

2024-03-06T14:35:58.294Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:35:59.460Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1162 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 021adb3a-abd5-4d9e-8e71-a9606b1a4140-1709735758

2024-03-06T14:36:03.295Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:04.270Z: Request to https://partners.shopify.com/api/cli/graphql completed in 973 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: e40f1875-0a1b-4b85-9445-214f3f8a683a-1709735763

2024-03-06T14:36:08.299Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:09.015Z: Request to https://partners.shopify.com/api/cli/graphql completed in 712 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 0681d152-33e1-4f32-b51a-a1ea504bb5c8-1709735768

2024-03-06T14:36:13.299Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:13.997Z: Request to https://partners.shopify.com/api/cli/graphql completed in 695 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: e1256176-0043-49c9-afe9-542efe86ca1a-1709735773

2024-03-06T14:36:18.300Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:19.291Z: Request to https://partners.shopify.com/api/cli/graphql completed in 988 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 5f1ba9ff-ec96-4af3-b7f5-074a1a14d561-1709735778

2024-03-06T14:36:23.302Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:24.061Z: Request to https://partners.shopify.com/api/cli/graphql completed in 755 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 9d7baa30-4ea2-4a3a-aff4-0122d7e4858a-1709735783

2024-03-06T14:36:28.303Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:29.058Z: Request to https://partners.shopify.com/api/cli/graphql completed in 751 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 4e85e66d-a6e1-4e85-a677-2eed0dbfbc84-1709735788

2024-03-06T14:36:33.305Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:34.426Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1117 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 96f9f775-d2aa-4077-87d6-6891bfd6cf31-1709735794

2024-03-06T14:36:38.305Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:39.450Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1141 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 705a1c1f-88fa-4eb2-b16e-57cfd9a47b7d-1709735798

2024-03-06T14:36:43.307Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:44.053Z: Request to https://partners.shopify.com/api/cli/graphql completed in 742 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 53e73786-690c-4e04-9715-df7edc0345a1-1709735803

2024-03-06T14:36:48.308Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:49.170Z: Request to https://partners.shopify.com/api/cli/graphql completed in 859 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: e9679196-b99f-4a78-af85-ccd04785ce2d-1709735808

2024-03-06T14:36:53.308Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:54.492Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1181 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: b990739b-e398-430c-a2f3-8b94270f027c-1709735814

2024-03-06T14:36:58.310Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:36:59.304Z: Request to https://partners.shopify.com/api/cli/graphql completed in 990 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 9030a660-fd9f-4157-90ad-c124d43188fb-1709735818

2024-03-06T14:37:03.312Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:37:04.020Z: Request to https://partners.shopify.com/api/cli/graphql completed in 703 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 890c7a58-0074-4e33-a1ba-beb19608a729-1709735823

2024-03-06T14:37:08.314Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:37:09.034Z: Request to https://partners.shopify.com/api/cli/graphql completed in 716 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 8ddcbbb9-388f-43cb-b175-651763dfdb59-1709735828

2024-03-06T14:37:13.318Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:37:14.039Z: Request to https://partners.shopify.com/api/cli/graphql completed in 717 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: c1f973a7-cb57-40f2-ab76-d80257466e41-1709735833

2024-03-06T14:37:18.322Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:10.893Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:12.637Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1741 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 2b0e87ef-c627-45dc-9994-54f773c38993-1709736552

2024-03-06T14:49:14.500Z: 2024-03-06T14:49:14Z INF Unregistered tunnel connection connIndex=0 event=0 ip=<IP_ADDRESS>

2024-03-06T14:49:15.886Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:16.937Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1048 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 82383fa9-8629-4caa-a4ee-d54fbdf8d04e-1709736556

2024-03-06T14:49:22.694Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:24.056Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1357 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 48388001-20a3-4a62-8d6a-57929e08330a-1709736563

2024-03-06T14:49:27.677Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:28.589Z: Request to https://partners.shopify.com/api/cli/graphql completed in 909 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 131e40b2-96dc-45b4-ab0f-b2f6192fd599-1709736568

2024-03-06T14:49:32.677Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:33.416Z: Request to https://partners.shopify.com/api/cli/graphql completed in 737 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 2bdcd908-1ce3-48b2-bc19-6da437bf5c61-1709736573

2024-03-06T14:49:37.678Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:38.856Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1176 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 261538e4-36d7-4ff1-b6d8-2b42e4b07344-1709736578

2024-03-06T14:49:42.678Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:43.422Z: Request to https://partners.shopify.com/api/cli/graphql completed in 741 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: 83d00617-44e8-448d-b589-56fdad7ea111-1709736583

2024-03-06T14:49:47.679Z: Sending "Partners" GraphQL request:
  query FindAppPreviewMode($apiKey: String!) {
    app(apiKey: $apiKey) {
      developmentStorePreviewEnabled
    }
  }

With variables:
{
  "apiKey": "*****"
}

With request headers:
 - User-Agent: Shopify CLI; v=3.56.3
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: darwin
 - Content-Type: application/json

2024-03-06T14:49:48.671Z: Request to https://partners.shopify.com/api/cli/graphql completed in 988 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f9e834f7231872722829cb9dec035749"
 - x-request-id: e59ac942-9538-41b7-bbbe-bb3ccf839dfe-1709736588

Reproduction steps
1.not sure about how these error occurs
2.
3.
Operating System
Mac OS Sonoma 14.3.1
Shopify CLI version (check your project's package.json if you're not sure)
3.56.3
Shell
Git Bash
Node version (run node -v if you're not sure)
v20.11.1
What language and version are you using in your application?
React

As i created shopify extension using "npm init @shopify/app@latest"

That scaffolds a new Shopify App, not an extension.
Could you elaborate on how you created the extension. What type of extension did you create? For the APIs you use in your code, do you have the correct access scopes in your configuration?

i create a checkout ui extension , and followed the exact same steps as mention in the shopify checkout ui documentation , i have scopes defined as i am targeting shipping address field in checkout, so my scopes are  "read_shipping,write_shipping"

yes , it was deployed , also i would like to mention that, even on creating a fresh new app using "npm init @shopify/app@latest " with no custom customisation, i am getting the same 401 error


more compacted tree

I've changed a little bit of css to make it more compacted. Everything remains the same, only some spaces on the left side (right side in rtl) of the tree is removed.
Here is a link showing, how does it look before (left) and after (right) the change:
http://img522.imageshack.us/img522/3425/beforeafterjstree.png

I close the PR, because after all, the saved space probably isn't worth additional effort.


android: test in all.bash that android/arm shared libraries work

Looks like android builds are broken because the entry point for the shared library is no longer exported: #10067. Worryingly, no test failed on the dashboard. It would be nice to have some minimal (no mobile repository dependency) test that these .so files are good in all.bash.

run.bash is about to be nuked in a few seconds here. Will be in dist test instead.

Design sketch:
Compile a small C program with gcc from the Android NDK. (It is already on the builder, we use gcc as the external linker.) It looks something like:
int main(int argc, char** argv) {
if (!dlopen(argv[1], RTLD_LAZY|RTLD_GLOBAL)) {
printf("android_test_harness: dlopen %s failed\n", argv[1]);
return 1;
}
    int (*_rt0_arm_linux1)(int argc, char** argv);
    _rt0_arm_linux1 = (int (*)(int, char**))dlsym(RTLD_DEFAULT, "_rt0_arm_linux1");
    if (!_rt0_arm_linux1) {
           printf("android_test_harness: %s missing _rt0_arm_linux1", argv[1]);
           return 1;
    }
    _rt0_arm_linux1(argc, x.argv); // Go program starts.
    return 0;

}
The test sends the binary of this along with the lib.so of a little hello world to the android device with adb push, and then runs
adb shell android_test_harness lib.so
and looks for a magic string printed by the small Go program. If that works, everything else is up to the code in the mobile repository.

We can create a test for linux/arm too: we just need to test //go:cgo_export_dynamic
is correctly exporting the symbol.

As discussed, I believe this can look a lot like the c-archive test I just added:
https://go-review.googlesource.com/#/c/8897/
I believe linux/amd64 is as a point where such a test should work, so it's a nice place to prototype without worrying about exec scripts.


Vickel: Watch powish.com

Vickel requests the watch of the watch_keyword powish\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ

powish\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Why flutter not working on ott apps like hostar,zee5 video player

Use case
So much video can't play in exoplayer will crash in video player ui design of video worst of this please working on video player high level priority
Proposal
Why flutter not working on ott apps like hostar,zee5 video player

github is for bug reports, not venting.


[core-http] Migrate core-http logging to @azure/logger

Remove RequestPolicyOptions as part of this.

Done in #9468


Sending multipart/form-data request via spring feign with files as Map throws error

I am trying to send multipart/form-data request as Map object of different types like below.
public static Map<String, Object> RequestBody(MultipartFile multipartfile)

  Map<String, Object> body = new HashMap<>();
  body.put("to", "abc@gmail.com");
  body.put("to", "xyz@gmail.com");
  body.put("file", multipartfile);
  return body;
end

Now trying to send this map to feign client.
MyClient.java
@FeignClient(name = "email", url = "${email_url}",
        configuration = Configuration.class)
public interface EmailClient {

    @PostMapping(value = "/email/send", consumes = MULTIPART_FORM_DATA_VALUE)
    Response sendEmail(@RequestBody Map<String, ?> requestBody);

}

I am getting this encoding error while sending the request
feign.codec.EncodeException: Getting multipart file's content bytes error
    at feign.form.spring.SpringSingleMultipartFileWriter.write(SpringSingleMultipartFileWriter.java:47)
    at feign.form.multipart.AbstractWriter.write(AbstractWriter.java:36)
    at feign.form.MultipartFormContentProcessor.process(MultipartFormContentProcessor.java:87)
    at feign.form.FormEncoder.encode(FormEncoder.java:105)
    at feign.form.spring.SpringFormEncoder.encode(SpringFormEncoder.java:84)
    at feign.ReflectiveFeign$BuildEncodedTemplateFromArgs.resolve(ReflectiveFeign.java:372)
    at feign.ReflectiveFeign$BuildTemplateByResolvingArgs.create(ReflectiveFeign.java:224)
    at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:74)
    at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)

I am already configured feign form encoder for feign and the request is being sent successfully if no file is present in the request body.
Whether Spring feign client doesn't support this type of dynamic request body?
How can we achieve this feign? RequestPart will not help because I need to send files in request body also dynamically means file sending request will be dynamic for each request like file1, file2..

https://github.com/spring-cloud/spring-cloud-openfeign/blob/5aa1b7a5298d985e9e103da3752c932b0ebc4200/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/valid/ValidFeignClientTests.java#L352
I think it is already supported. Please check your spring version

Yes, it should work. What version of Spring Cloud are you using? If the issue persists,
please provide a minimal, complete, verifiable example that reproduces the issue.


调用高德地图api查询天气时卡住

报错如下，感觉是调用api超时，但是一直循环。也不能正常回答问题了
Traceback (most recent call last):
  File "itchat/components/register.py", line 78, in configured_reply
  File "main.py", line 81, in friend
  File "handler/text.py", line 36, in handler_text
  File "function/weather_function.py", line 45, in execute
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 519, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='restapi.amap.com', port=443): Max retries exceeded with url: /v3/geocode/geo?key=&address=%E6%9D%AD%E5%B7%9E (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbc6626b3d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

2024-04-04 18:23:44,934 - httpx [INFO] HTTP Request: POST https://newapi..xyz/v1/chat/completions "HTTP/1.1 200 OK"
2024-04-04 18:25:54,160 - itchat [WARNING] Traceback (most recent call last):
  File "urllib3/connection.py", line 198, in _new_conn
  File "urllib3/util/connection.py", line 85, in create_connection
  File "urllib3/util/connection.py", line 73, in create_connection
TimeoutError: [Errno 110] Connection timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "urllib3/connectionpool.py", line 793, in urlopen
  File "urllib3/connectionpool.py", line 491, in _make_request
  File "urllib3/connectionpool.py", line 467, in _make_request
  File "urllib3/connectionpool.py", line 1099, in _validate_conn
  File "urllib3/connection.py", line 616, in connect
  File "urllib3/connection.py", line 213, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fbc66276e80>: Failed to establish a new connection: [Errno 110] Connection timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "requests/adapters.py", line 486, in send
  File "urllib3/connectionpool.py", line 847, in urlopen
  File "urllib3/util/retry.py", line 515, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='restapi.amap.com', port=443): Max retries exceeded with url: /v3/geocode/geo?key=ca&address=%E6%9D%AD%E5%B7%9E (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbc66276e80>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "itchat/components/register.py", line 78, in configured_reply
  File "main.py", line 81, in friend
  File "handler/text.py", line 36, in handler_text
  File "function/weather_function.py", line 45, in execute
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 519, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='restapi.amap.com', port=443): Max retries exceeded with url: /v3/geocode/geo?key=&address=%E6%9D%AD%E5%B7%9E (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbc66276e80>: Failed to establish a new connection: [Errno 110] Connection timed out'))

2024-04-04 18:25:55,700 - httpx [INFO] HTTP Request: POST https://newapi..xyz/v1/chat/completions "HTTP/1.1 200 OK"

这个应该是网络问题导致的，后续我会把插件报错处理下，你用手机退出登陆，再重启docker登陆应该就不卡循环了

这个应该是网络问题导致的，后续我会把插件报错处理下，你用手机退出登陆，再重启docker登陆应该就不卡循环了

ok。
有没有一种可能，我的vps被ban了？我部署了newapi，然后openai的渠道都是通的，国内大模型的渠道没一个通的。

我感觉是你vps网络问题或者是高德把你vps的ip禁了（如果你机器在国外这个可能性还是很高的）


[CI] Refactor pipeline and test RayCluster sample yamls

Why are these changes needed?
Moves the sample YAML tests from github actions to Buildkite.
This PR now tests 10 sample YAML files, instead of only three as before.  We omit the TPU sample YAML because we don't have TPUs on buildkite.

Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

@kevin85421 all comments are addressed and I expect tests to pass, can you take another look?


Fix: str() helper not compatible with L8

str() was introduced with L9 and causes issues with L8.

Thanks,
I suggest not using substr which is not multi-byte safe and will cause issue on Unicode strings. you can use mb_substr or just use Laravel Str facade here too.

Thanks. Adjusted.

Thanks.
do you think is it not better that to have a tooltip on logo too when it is collapsed or not?

I don't see any use for a tooltip here. It's just aesthetical.

Thanks


Specify target on a per-model basis

Feature
Feature description
dbt should support the configuration of targets on a per-model basis. This would make it possible to use different logical databases or logical warehouses for different models. One particularly compelling use case is on Snowflake, where a really expensive model could run against a more powerful logical warehouse.
I'm unsure if it makes sense to reference a target in profiles.yml by name, or if models should just accept database-specific config keys like warehouse:  or database:  as . they currently do with schema.
I don't think it's specifically important (or desired) to make it possible to support the building of models in different physical databases, but that would certainly be an interesting paradigm.
Who will this benefit?
Primarily Snowflake users, though the ability to render models into different logical databases is compelling on all warehouses.

Maybe a little off-topic, but I would like to see dbt / Fishtown come out with a strong opinion on how to name/refer to some of these pieces. I've found Snowflake's language around Databases and Warehouses to be confusing so I would advise against using their language to define this feature.
It feels wrong to say that Redshift/Snowflake/BigQuery are both databases and data warehouses, while Snowflake has an internal concept of Databases and Warehouses. Postgres has language around a server managing multiple databases so maybe "database" it just used inconsistently.
Adding new config keys like database and warehouse would add to the initial confusion of what dbt is doing, but I think it's a useful feature, particularly for snowflake. Maybe compute and storage?


nix flake show fails

Think the way I handle python in flake.nix is wrong, it doesn't create a derivation when it should.

Closed in #17


RuntimeError: Event loop is closed

Search before asking

[X] I had searched in the issues and found no similar issues.

Operating system information
Linux
Python version information

=3.11

DB-GPT version
main
Related scenes

[X] Chat Data
[ ] Chat Excel
[ ] Chat DB
[ ] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[ ] Plugins

Installation Information

[ ] Installation From Source

[X] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
Device:GPU
GPU Count:1
GPU Memory:24G
Models information
LLM:tongyi_tongyi_proxyllm
embedding_model:text2vec-large-chinese
What happened
Python SDK non streaming error in chat_data:
An asynchronous programming error occurred while testing the chat data mode using Python SDK。
The test code is as follows：

import asyncio
from dbgpt.client import Client
async def main():
# initialize client
DBGPT_API_KEY = ""
client = Client(api_key=DBGPT_API_KEY)
#async for data in client.chat_stream(
#    model="tongyi_proxyllm",
#    messages="hello",
#):
#    print(data)
res = await client.chat(model="tongyi_proxyllm" ,messages="hello")
print(res)
if name == "main":
asyncio.run(main())

The error is as follows：

What you expected to happen

May I ask if the output result has been returned, but asynchronous programming has reported an error.
I did not encounter any errors by modifying the main function example code

Import asyncio
From dbgpt. client import Client
DBGPT.API_KEY=""
Client=Client (api_key=DBGPT.API_KEY)
Res=await client. chat (model="tongyi_proxyllm", messages="hello")
Print (res)
If __ name__=="__ main__":
Loop=asyncio. new_event_loop()
Loop. run_until-complete (main())

May I ask if this part of the official code has not been optimized properly, or is there an issue with my use?
How to reproduce
None
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

sorry about that, try  add client.aclose() after Res=await client. chat (model="tongyi_proxyllm", messages="hello")


Version 1.6.12 - blur - add on tab

I see that with the new version 1.6.12, adding a new tag on tabbing to the next field doesn't work anymore.
Is that intended?

probably a regression from the blur refactor. i will check it out

should be good in https://github.com/lekoala/bootstrap5-tags/releases/tag/1.6.13

It is. Thanks.


Could not cast value of type UIViewController to Test.PagingMenuController

I'm trying to use this control in my test project:
I get this error : "Could not cast value of type UIViewController to Test.PagingMenuController" In the example it works fine. but in my test project I get error on this line:
let pagingMenuController = self.childViewControllers.first as! PagingMenuController
in front of this line I see this message too: 'Thread 1: SIGABRT'
how can I fix this?

Are you done with this in your test project?

You should add ContainerView into your view controller's view and set PagingMenuController as the embedded view controller's class

https://github.com/kitasuke/PagingMenuController#using-storyboard

I don't know how to do this part you said: "and set PagingMenuController as the embedded view controller's class"
I have ContainerView in my viewController. here's a screenshot from my storyboard

Should be like above. A container has an embedded view controller which is right one in this case. You have to set its class as PagingMenuController.

wow, thanks. that was my mistake. it works like a charm now :)

:smile:

by the way, the pod's not working (it says unable to find 'PagingMenuController'. I added the classes manually (4 classes of paging controller)
I'd be grateful if you take a look at it.
thanks again :+1:

If I'm right, I believe that it was because of GitHub's server down a few hours ago.
CocoaPods is dependant on GitHub.
Thanks for informing :)

Getting same problem  but i am getting in console like below
Could not cast value of type 'PagingMenuController.PagingMenuController' (0x1102740) to 'AppName.PagingMenuController' (0x3cb240).

This example project explains more detail. Please see the code.
https://github.com/kitasuke/PagingMenuController/tree/master/Example/PagingMenuControllerDemo


Feature to delete selected rascsi-web configuration csv file

Should have a button for deleting the currently selected configuration csv file for rascsi-web.  This allows users to fully manage this without access to the Pi terminal.

Added implementation to https://github.com/akuker/RASCSI/pull/218


Need YAML support for accessing elements from saved lists

Summary:
We are trying to save an attribute that is of type list using saveAs keyword and we need to access once of the elements from that list.. something like "savedListVariable[0]", the PR #11798 demos only basic data types like integers and does not talk about complex data types like lists and objects, which are returned by some commands.
Test-plan Screenshot:

Execution screenshot:

This is quite hard to do in general, because for non-numeric types the value is referencing memory in the TLV response that will get deallocated.  So the only way to save it is to clone the memory somehow, etc....

This is going to be significant work, for we believe few test cases, suggest lowering priority on this one.

Given the low priority, moving this out of V1.


react-ciscospark build failed on Windows

Hi,
Is Cygwin needed to build react-ciscospark from source. I got the following error
E:\Raj\Vasel\CiscoSpark\GitHub\react-ciscospark\react-ciscospark>npm run build

<EMAIL_ADDRESS>build E:\Raj\Vasel\CiscoSpark\GitHub\react-ciscospark\react-ciscospark
./scripts/build/index.js

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "E:\Raj\Vasel\WebRTC\NodeJS\node.exe" "E:\Raj\Vasel\WebRTC\NodeJS\node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build: ./scripts/build/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script './scripts/build/index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @ciscospark/react-ciscospark package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./scripts/build/index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @ciscospark/react-ciscospark
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @ciscospark/react-ciscospark
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     E:\Raj\Vasel\CiscoSpark\GitHub\react-ciscospark\react-ciscospark\npm-debug.log
The build process refers ./scripts/build/index.js that is intended for Linux Shell
npm-debug.zip

Hey, we are currently working on better build support for windows. You can keep an eye on this issue #353 for updates.


Create table doesn't create all properties as columns

I am using the library in UWP for some weird reason i noticed that CreateTable doesnt create all the properties of my class
[PrimaryKey, Unique]
public int Key { get; set; }

public string FavoriteLines { get; set; }

public string FavoriteStops { get; set; }

it just creates the Key as an integer.

After like 8 hours of searching and using attributes and things i noticed the UWP project was missing the nuget package of NETStandard.Library, after that everything worked :D


Excanvas polyfill workflow

Hi, I liked chart.js lib and wanted to use it in my React-based app, but I need to support IE8. So, I decided to use excanvas polyfill. It's not a problem to use it with chart.js itself, so it working like this in my app:
Rendering empty canvas:
    render() {
        return (
            <canvas ref="canvas" width="700" height="400"/>
        );
    }

And then initializing excanvas (which is loaded only in IE8 by conditional tags) and rendering chart into empty canvas:
    componentDidMount() {
        if (typeof G_vmlCanvasManager !== 'undefined') {
            G_vmlCanvasManager.initElement(this.refs.canvas);
            options.animation = false;
        }
        let ctx = this.refs.canvas.getContext("2d");
        let myLineChart = new Chart(ctx).Line(data, options);
    }

But chart components from react-chartjs creating canvas elements by itself, so I didn't found a way to initialize an excanvas polyfill. Is it possible to use excanvas  with react-chartjs or I should use just a chart.js like now?

Will accept PRs for this.


cat: checkSSTI.txt: No such file or directory

Getting this error everytime I am running the tool.
Getting all the parameters
Filtering all the parameters
cat: '~/ssti-payloads.txt': No such file or directory
cat: '~/lfi-payloads.txt': No such file or directory
Scanning for template based vulnerabilities
Checking injection attacks (may contains false positive)
cat: checkSSTI.txt: No such file or directory
cat: checkLFI.txt: No such file or directory
sed: no input files

Hii @GiJ03,
Thanks for raising the issue.
Actually here I think the path of the payloads file is misplaced try finding these two files lfi-payloads and ssti-payloads or you can directly download these two files from https://github.com/R0X4R/Garud/tree/master/payloads and then set the correct path of your payloads in the pinaak.
Thanks,
R0X4R

Run these commands to fix it I pushed an update.
pinaak:~ mkdir -p ~/tools/payloads/
pinaak:~ cd ~/tools/payloads/
pinaak:~ wget https://raw.githubusercontent.com/R0X4R/Garud/master/payloads/lfi.txt
pinaak:~ wget https://raw.githubusercontent.com/R0X4R/Garud/master/payloads/ssti.txt
pinaak:~ wget https://raw.githubusercontent.com/R0X4R/Pinaak/master/pinaak && chmod +x pinaak && mv pinaak /usr/bin/

@R0X4R
After running the above commands as well, still, I am getting the below error

After running the above commands, still I am getting the below error:

Try copy pasting the code. I think you have downloaded the cached version try copy pasting the code

Working perfectly now. Thanks alot! Really appreciate and thanks a lot for this awesome tool.
Just wanted to ask what is the difference between Pinaak and Garud?

Thank god it worked.
Actually Garud has limited tools and I made it for reconnaissance not for vulnerability scanning. But in pinaak I'll more tools to scan vulnerabilities. I made pinaak specially for vulnerability scanning.

So, if I am scanning a target using Pinaak, does it mean it will cover Garud as well? Or should I run Garud again?

Garud do subdomain scanning, directory fuzzing, web probing and more but Pinaak only scans for vulnerability. So if you have target lists and you just want to scan it's vulnerabilities you can simply run this so it can save your time

Got it. I believe running a scan using Garud, and then passing those list of subdomains to Pinaak, that will work.

Oops...I think something else broke now.

There's no need to run Garud for using pinaak. If you have target and you don't want to do recon like you have only 2 domains in scope so why you waste your time in running whole recon just simply put your target urls and then it will scan your targets also if you want multiple target domains to get scanned you can do that well. Like https://test.com https://target.com https://example.com, why you waste your time to recon for these single domain using Garud just run pinaak it will do your work and save your time.

The folder already exists that's why you getting this error always delete the old scan folder before running new scan in the same directory

Oops...I think something else broke now.

.

There's no need to run Garud for using pinaak. If you have target and you don't want to do recon like you have only 2 domains in scope so why you waste your time in running whole recon just simply put your target urls and then it will scan your targets also if you want multiple target domains to get scanned you can do that well. Like https://test.com https://target.com https://example.com, why you waste your time to recon for these single domain using Garud just run pinaak it will do your work and save your time.

If I am scanning 3 different domains like example.com, test.com, victim.com. How the output will be created? In the separate folders i.e. example, test and victim or it will be clubbed into just 1?

Bro, there is some issue or the other is happening here.

It'll clubbed into just 1 file.

There's no need to run Garud for using pinaak. If you have target and you don't want to do recon like you have only 2 domains in scope so why you waste your time in running whole recon just simply put your target urls and then it will scan your targets also if you want multiple target domains to get scanned you can do that well. Like https://test.com https://target.com https://example.com, why you waste your time to recon for these single domain using Garud just run pinaak it will do your work and save your time.

If I am scanning 3 different domains like example.com, test.com, victim.com. How the output will be created? In the separate folders i.e. example, test and victim or it will be clubbed into just 1?

BTW sorry brother I slept yesterday so I replied you late.

The issue you faced with openredirx tool is because you're continuously running the tool again and again make sure to restart your system if you get these types of error.
Thanks.

If I am running this tool on VPS, where I am running 10 different tools as well in the background, in that case restarting the system will be an issue.
Can we resolve this error without restarting?
And just out of curiosity, why I am facing this error if I am scanning continuously? I am not running in parallel, but one after another.

If I am running this tool on VPS, where I am running 10 different tools as well in the background, in that case restarting the system will be an issue.
Can we resolve this error without restarting?
And just out of curiosity, why I am facing this error if I am scanning continuously? I am not running in parallel, but one after another.

Hey, actually this is the issue with the OpenRedireX itself. Just once restart your VPS this will fix the issue.

Yes, restarting VPS do fix it. But the issue is I have to start all the other tools as well from scratch.

Yes, restarting VPS do fix it. But the issue is I have to start all the other tools as well from scratch.

Sorry for the problem you faced. I have pushed a new update that will hide the error if occurs.

Hiding the errors will not solve the errors right? The tool will stop working now as well right if I am running it continoulsy?

Hiding the errors will not solve the errors right? The tool will stop working now as well right if I am running it continoulsy?

Yeah right, but other openredirection modules will help you to find the OpenRedirection bugs. So don't worry now the tool will work fine ;)

Hey bro, now getting this error. Which info file does it require now?

Bro, don't worry tool is working fine. Your target has not matched the patterns so the file was not created if the target is vulnerable then it will not throw the error. Tool is working fine also if you want you can update it to latest push.


[Bug] Stuff broken after updating to v3.4.3

Describe The Bug:
Not sure what happened, but the latest update seems to have broken all my cmd4 accessories. Something to do with the timeout stuff from the latest update. Sorry, don't have more time to investigate until next week. But figured I let you know about it anyway. Reverting to previous version fixes it. Below is an excerpt from my logs and configs. The error message repeats for all cmd accessories, and then it all repeats every 3-5 seconds.
Logs:
[4/9/2021, 2:28:42 AM] [Cmd4] getValue On function timed out undefinedms for light cmd: php /path/to/file.php Get 'light' 'On' Failed.
[4/9/2021, 2:28:42 AM] [Cmd4] getValue On function failed for light cmd: php /path/to/file.php Get 'light' 'On' Failed.  Error: null

Cmd4 Config:
"platforms": [
        {
            "platform": "Cmd4",
            "name": "Cmd4",
            "outputConstants": false,
            "restartRecover": false,
            "Cmd4_Mode": "Always",
            "accessories": [
                {
                    "type": "Switch",
                    "displayName": "light",
                    "name": "Light",
                    "on": false,
                    "polling": true,
                    "Cmd4_Mode": "Always",
                    "stateChangeResponseTime": 1,
                    "state_cmd_prefix": "php",
                    "state_cmd": "/path/to/file.php"
                }
            ]
        },

Screenshots:

Environment:

Node.js Version: v14.16.0
NPM Version: v6.14.11
Homebridge Version: v1.3.4
homebridge-cmd4 Version: v3.4.3
Operating System: docker on debian
Process Supervisor: docker

Thanks and take care! 🙂

Btw I asked in my previous bug report (hi again!), but you probably missed it -- is there anywhere I can tip you for a coffee maybe?

That is really odd as if there is no timeout, the default is used.
To quickly fix this, add
"timeout": 6000
Inside your config, after polling for example.  Hmm, very odd.
Ttyl,
John
On Thu, Apr 8, 2021 at 8:42 PM Tomáš Vítek @.***> wrote:

Assigned #104 https://github.com/ztalbot2000/homebridge-cmd4/issues/104
to @ztalbot2000 https://github.com/ztalbot2000.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/104#event-4571808883,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX66SQPMIBOFFYS2LV3THZEOZANCNFSM42T6V5YQ
.

This was the function added,
Let timeout = constants.DEFAULT_TIMEOUT;
  // Secondly the accessories timeout
  if ( accessory.timeout )
     timeout = accessory.timeout;

  // Finally the polled timeout setting
  let pollingEntrys = settings.arrayOfPollingCharacteristics.filter(
       entry => entry.accessory.UUID == accessory.UUID &&
       entry.accTypeEnumIndex == accTypeEnumIndex );

  // There should only be one, if any
  if ( pollingEntrys.length > 0 )
     timeout = pollingEntrys[0].timeout;

  return timeout;

I don't quite understand how this could be, but will investigate,
John
On Thu, Apr 8, 2021 at 8:45 PM Tomáš Vítek @.***> wrote:

Btw I asked in my previous bug report (hi again!), but you probably missed
it -- is there anywhere I can tip you for a coffee maybe?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/104#issuecomment-816324771,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX7MHRVRGAHNGBHIGSTTHZE2VANCNFSM42T6V5YQ
.

To quickly fix this, add "timeout": 6000

Thanks for the quick reply. I did as you suggested. Added it all accessories after polling. Surprisingly, no change. Still the same errors.

So it looks like it might get set, just maybe gets lost on the way somewhere? 🤔 Anyway, sorry have to go now, and will not be available until Sunday. But happy to help debug then. Have a nice weekend!

That is really so strange.
Try:
"polling":{ "characteristic": "On", "timeout": 6000}
On Thu, Apr 8, 2021 at 9:00 PM Tomáš Vítek @.***> wrote:

To quickly fix this, add "timeout": 6000
Thanks for the quick reply. I did as you suggested. Added it all
accessories after polling. Surprisingly, no change. Still the same errors.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/104#issuecomment-816329417,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCXZFZOY3VTSXMFXFSOLTHZGSNANCNFSM42T6V5YQ
.

Oops,
"Polling":[{"characteristic": "On", "timeout": 6000}],
It's an array
On Thu, Apr 8, 2021 at 9:01 PM Tomáš Vítek @.***> wrote:

So it looks like it might get set, just maybe gets lost on the way
somewhere? 🤔 Anyway, sorry have to go now, and will not be available
until Sunday. But happy to help debug then. Have a nice weekend!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/104#issuecomment-816329930,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX22Z4KXMOQNDG6JANTTHZGYNANCNFSM42T6V5YQ
.

This is very strange then. I tried the first option you suggested:
"polling":{ "characteristic": "On", "timeout": 6000}

and it worked! 🤷🏼♂ No errors, I seem to be getting up to date state and setting also works.
Btw is there any functional difference between this and polling: true?

The array works as well, btw.

Polling:true uses the default polling value for the On characteristic.
Probably 6000ms
I am recreating the issue now.
Ttyl,
John
On Thu, Apr 8, 2021 at 9:09 PM Tomáš Vítek @.***> wrote:

This is very strange then. I tried the first option you suggested:
"polling":{ "characteristic": "On", "timeout": 6000}
and it worked! 🤷🏼♂ No errors, I seem to be getting up to date state
and setting also works.
Btw is there any functional difference between this and polling: true?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/104#issuecomment-816332518,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCXYVJTVEAIXZMYYMF4DTHZHVPANCNFSM42T6V5YQ
.

Just published v3.4.4,  Sorry about that.  One day one bug fixed, only to
reveal another.  Should have left them alone I guess.
Ttyl,
John
On Thu, Apr 8, 2021 at 9:15 PM Tomáš Vítek @.***> wrote:

The array works as well, btw.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/104#issuecomment-816334166,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX3BJ5M6FW4A5ABSOG3THZILNANCNFSM42T6V5YQ
.

John, thank you for the quick fix! Have a nice weekend!


Document key usage.

I had to dig into the sources to find out that the keys everywhere are assumed to be supplied PEM encoded. This is not documented anywhere so at first I was just guessing what the library was expecting. Also, in my case I have RSA pubkeys where I know N and E, and I don't want to have to convert this to PEM only to end up getting it converted back into its original form. The library should consider offering other encodings, since the underlying OpenSSL allows it anyway.

The singular decode/encode pair makes for a very clean API, but also a very inflexible one as seen here. How about having individual functions for the different key types (symmetric key, RSA, EC) that take their respective, underlying key type (byte blob, openssl::rsa::Rsa and openssl::ec::EcKey respectively), and have decode dispatch to those? This keeps the simple interface of today, but if you already have a more specific key type on hand you can use that. Or perhaps another approach would be having a wrapper enum for the different key types, and ToKey::to_key returning one of them.

Ok, will look into that


error: failed to transform resource: TOCSS after trying to updated to 4.3.1

I just updated to 4.3.1 from 4.2.4 following the update guide, taking all the steps indicated in "breaking changes" but I am getting the following error when I then try to run hugo
Building sites … ERROR 2019/05/19 20:44:03 error: failed to transform resource: TOCSS:
failed to transform "main_parsed.scss" (text/x-scss):
this feature is not available in your current Hugo version,
see https://goo.gl/YMrWcn for more information

Following the link, it seems like the problem is that I haven't got hugo extended installed (which I don't). However, I didn't think that hugo extended was required for hugo adademic? (At least it is not listed at such on the readme.)
Is this as intended or is there something else that I have overlooked?
I should also say that the page is building correctly on netlify.

Yes, Academic v4.3.1 requires the full version of Hugo v0.55.6+.

Thanks for the feedback, I have updated the Readme and docs website to clarify that Hugo Extended v0.55.6+ is required for Academic v4.3.1.

My two cents:
I'm using Academic in blogdown and had the same issue. I tried downloading the extended 0.55.6 by adding it to %PATH% according to this. Blogdown could not find it, and it needed to be added to the location of Hugo known by bookdown (can be seen via blogdown:::find_hugo())


Shorten class names?

Because of the incrementing number of classes and the length of his names (see https://github.com/OliverSanz/TelegramBotAPI/issues/31). It is a good a idea to do this. But what names should we use?
i.e.:  TelegramBot --> TBot.
TelegramMsg --> TMsg.

What do you think? @jorge-sanz


help center: Rewrite "Contact support" page

Approach:

Structure page as use case -> recommended channel.
Include expected SLAs for all channels.

Current page: https://zulip.com/help/contact-support
Testing: Manually tested links.
Updated page:

Merged, thanks @alya!


Travis CI must bring up a Kubernetes Environment and verify all Maya commits within that environment.

Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST

What happened:
Most of the Maya changes require its Kubernetes integration to be verified, the current Travis CI build does not verify this integration. So in order to verify this integration Travis should be able to spawn up a Kubernetes Environment and Run Maya operator related integration related tests on the commits made.
What you expected to happen:
Travis should bring up a Kubernetes Environment for the changes in Maya to be verified in that environment.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
A good reference to get started of with: https://kinvolk.io/blog/2017/10/running-kubernetes-on-travis-ci-with-minikube/

https://github.com/openebs/maya/pull/142 Can Please you review this ?

https://github.com/openebs/maya/pull/142 PR installs minkube to the openebs/maya build environment in travis. Need to extend it with test scripts that will launch the maya deployments.


Target new package name

Once accepted, we need to update https://github.com/micro-ROS/micro-ros-build/blob/master/micro_ros_setup/config/agent_uros_packages.repos

Once accepted, we need to update https://github.com/micro-ROS/micro-ros-build/blob/master/micro_ros_setup/config/agent_uros_packages.repos

I'll update the version, or is there something else required?

@iluetkeb I think is the only place regarding the new build system.


How to draw a spatial correlation map of noise in Figure 2? Can you provide the relevant code? I have encountered some difficulties.

Hi, @mengchuangji,
Thanks for your interest in our work
We first get noise map by subtracting clean images from noisy images
And we measured standard deviation of noise and covariance between noises within relative positions.
You can follow the definition of correlation with measured std and covariance.
I think this python code might help you to get spatial correlations (note that this code will not be compatible with this codebase)
correlation_sidd.txt
Best
Wooseok Lee


.set commands encounter error "Control commands (starting with a dot '.') cannot be served from the query endpoint"

Azure Data Studio Version: 1.22.0 (user setup)

Steps to Reproduce:

Open a new query, connect to a kusto cluster
Run a normal query, ensure that works, like: print 'hello'
Now try to save the results of this into a table, using:
.set _Test_FromADS <| (print 'hello')

This fails with
"message": "Control commands (starting with a dot '.') cannot be served from the query endpoint unless they are .show control commands.",
Possible fix: for queries that start with control command (starts with dot, except for .show),
the request needs to go against the management endpoint (/v1/rest/mgmt),
not the query endpoint (/v1/rest/query)

@baselsalam This should work in kusto 0.2.0 version which will be released this week.
PR: microsoft/sqltoolsservice#1094


Regenerate Firestore clients

The firestore GAPIC configs were updated to use Resource Name classes.
This also removes the string formatting functions, but there is no semantic loss in functionality because the existing resource name classes are superior. Firestore is a beta client, so it is more acceptable to remove these extraneous functions.

PTAL


Added Pandas for Beginners in Machine Learning

Hey please merge my Pull request, It really helps people.


add 'ticks' to bestiary

you can add cave references in the new Tibia Bestiary Reference section

puede agregar referencias de cuevas en la nueva sección de referencia del bestiario de Tibia

linked to tibia wiki

Thanks for the comment ddivito and sorry for the late reply, I missed it.
While your suggestion makes sense and I like it, the sheer amount of manual grunt work required to do this mapping is more than I'm willing to commit. If someone would like to contribute and do this then that would be very welcome :)

Thanks for the comment ddivito and sorry for the late reply, I missed it.
While your suggestion makes sense and I like it, the sheer amount of manual grunt work required to do this mapping is more than I'm willing to commit. If someone would like to contribute and do this then that would be very welcome :)