Clearly report type errors as early as possible

Currently Enso is using "duck typing" - e.g. one can invoke a function with any argument and if such argument has the right methods, fields, etc. as expected, the execution goes on. Such a behavior is causing issues in the IDE - when a wrong node is connected as an argument (a Text instead of Number for example), the execution isn't rejected immediately, but proceeds until the "duck typing" fails. However that is often late, deeply in the standard libraries internals and produces hard to understand errors. It'd be way better if the typing error was caught right on the API boundary.
type Num
    All a
    Value (x : Num)

Let's use the ascribed types for real type checks. With the above type definition, the following would execute OK: Num.All "ok", but invoking Num.Value "error" would rise a Type_Error. Similarly with a
check (n : Num) = n

Invoking check "error" shall yield an error while check (Num.All "ok") shall be fine. There is a proof of concept branch demonstrating it can all work.

How do we plan to check conditions like
foo (v : Vector Integer) = v.take 5

...

foo [1,2,3]
foo [1,2,"X"]
foo []

I guess one way to do it would be to just ignore the 'type argument' and check is_a Vector as this is what we can do - I'm however afraid the halfway typecheck may give the users a bit of false sense of security - but if it's the best we can do quickly I guess it's good, we just need to make sure users know about our 'erasure'.
Probably in library code we'd need to then ensure that we verify the type once read from the vector, like:
foo (vec : Vector Integer) =
    x : Integer = vec.first
    y : Integer = vec.second
    x + y

Still, it is a bit harder now to track the error, because the true error happens when calling foo with a wrong vector, but it may be caught much later (in the example above its just a line below, but in practice it may be much further apart).
However, again - I think this solution will still improve most use cases so greatly that it is of course worth doing even if it will not (yet) be perfect in the more complex errors.

I think this solution will still improve most use cases so greatly that it is of course worth doing even if it will not (yet) be perfect in the more complex errors.

Implementing the "erasure" style is a matter of a week. Then the Enso type system can be on par with Java 1.4 (before the introduction of generics).
Implementing Vector Integer (or rather MyType Integer) is a more complex change. Making foo append(x: List a) (y : a) : List is even slightly more work.

However recording type at the creation may give us "incomplete type":
type Either a b
    Left l : a
    Right r : b

probably foo (e : Either Text Integer) and boo (e : Either Boolean Integer) could both be invoked with Either.Right 5!


Make toSVGString (and maybe others?) public

Right now if I want to serve the QR code in a Go-based webserver as an SVG file, I always have to save it to a file & open it again, it would be way easier if the toSVGString method was just public.
The same might apply to the following methods:

toSVGString
toImage
doWriteAsPNG
doWriteAsSVG

They would each have to validate the config again, but I think that small loss in performance is worth it for greatly increased volatility of this library.

Oh, nevermind - I just saw that this was already implemented in the latest commit https://github.com/piglig/go-qr/commit/5572fa284af3902254fa586c088a82d1464aaca9 :)
Thank you for the great work in any case, I'll just close this again.


HOTT-1052-surface-measurement-units

Jira link
https://transformuk.atlassian.net/browse/HOTT-1052
What?
I have added/removed/altered:

[x] Surface measurement units on the measure component serializer in the v2 commodities api

Why?
I am doing this because:

This is necessary to enable the work for the declarable context ticket

:shipit:


Stop Process if Running

To support @demetris-manikas PR #84
Switch to two button Ok - Cancel Message Box

@mkaz I took #84 as it covered also uninstall.
But anyways folks - @mkaz @demetris-manikas thanks for contributing. :)


How to pass parameters to get data from WebSocket, I was able to connect to socket but not getting data from socket

var request = URLRequest(url: URL(string: "wss://base_url?access_token=(AccessToken)&param1=(valueForParam1)")!)
request.timeoutInterval = 20
socket = WebSocket(request: request)
socket.delegate = self
socket.connect()

Add "WebSocketDelegate" to your chat view controller class
e.g.  class ChatViewController: WebSocketDelegate{ }
Create var isSocketConnected = false

// To pass parameters use the below request var
**var request = URLRequest(url: URL(string: "wss://base_url?access_token=(AccessToken)&param1=(valueForParam1)")!)** request.timeoutInterval = 20 socket = WebSocket(request: request) socket.delegate = self socket.connect()
socket = WebSocket(request: request) socket.delegate = self socket.connect() // to connect socket.disconnect()
// in the did receive method .cancelled case will be called instead of .disconnect
Implement the below function:
func didReceive(event: WebSocketEvent, client: WebSocket) {
        switch event {
        case .connected(let headers):
             isSocketConnected = true
           // socket is connected
            print("websocket is connected: \(headers)")
             self.chatTextField.text = "websocket is connected"
        case .disconnected(let reason, let code):
            isSocketConnected = false
           //Socket is disconnected
            print("websocket is disconnected: \(reason) with code: \(code)")
        case .text(let responseString):
               print(responseString)
       case .binary(let data):
            print("Received data: \(data.count)")
        case .ping(_):
            break
        case .pong(_):
            break
        case .viabilityChanged(_):
            break
        case .reconnectSuggested(_):
            break
        case .cancelled:
            print("-------------------")
            print("Websocket is Cancelled")
            print("-------------------")
            isSocketConnected = false
        case .error(let error):
            isSocketConnected = false
            handleError(error)

        }
    }


Error TDLIB for Android 11

How can I fix the cause of the error and failure to update?

What is the error?

TDLib fatal error. Version: <IP_ADDRESS>2
[ 0][t 4][1616685368.470860243][FileDb.cpp:253][#1][!MessagesManager]	Cycle in file database?

TDLib fatal error. Version: <IP_ADDRESS>2
[ 0][t 4][1616685368.470860243][FileDb.cpp:253][#1][!MessagesManager]	Cycle in file database?

Solved your problem?

My telegram x is not opening due to database, I have tried to delete some certain things on my phone but it never open

@Twin2021 Which exactly problem do you have?

LDB problems, due to the problem my telegram kept logout


Code url on project page does not link to anything

For many of the projects, the "code" link just links back to the main page. I think this is because the code_url is missing for many of the projects though the http_url is present.

Closed by #23


Is this repo still active?

Seems like there have not been any commits for the past year, are you okay and still actively working on this?

It's discontinued, but alternatives exist:

obsidian-slides-extended (fork of this plugin)
obsidian-marp-slides

I was a bit confused at first considering this repo isn't archived.

thank you, it's good that I just donated then 😂
On Wed, Dec 4, 2024, 20:56 Kirin Etheridge @.***> wrote:

It's discontinued
https://forum.obsidian.md/t/discontinued-advanced-slides-create-markdown-based-reveal-js-presentations-in-obsidian/28243/256,
but alternatives exist:

obsidian-slides-extended
https://github.com/ebullient/obsidian-slides-extended (fork of this
plugin)
obsidian-marp-slides
https://github.com/samuele-cozzi/obsidian-marp-slides

I was a bit confused at first considering this repo isn't archived.
—
Reply to this email directly, view it on GitHub
https://github.com/MSzturc/obsidian-advanced-slides/issues/325#issuecomment-2518436712,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOHZTQ6RFA7RZKF7XNEYCD2D5M6PAVCNFSM6AAAAABRQGPST2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJYGQZTMNZRGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


fix: set temperature_unit in climate discovery #731

@chilicheech Check out this please

Ah, yes, this looks good. I forgot that we have the unit field that we can use. That's why I was thinking of using 49-1-256, but you're right, not every device has that.
Code looks good. I'm gonna test it on my setup. I'll do it as soon as I can. But don't wait for me to merge this.

bah.. spoke too soon:
z2m     |   z2m:Gateway Error while discovering device climate_thermostat of node 31: currTemp.units.contains is not a function +0ms

In my tests I replaced contains with includes and it worked:
I replaced payload.temperature_unit = currTemp.units.contains('C') ? 'C' : 'F'
with payload.temperature_unit = currTemp.units.includes('C') ? 'C' : 'F'

Could you send a PR? Or I will do it tomorrow, not on my laptop right now :)

Here's the PR #733
https://github.com/OpenZWave/Zwave2Mqtt/pull/733
Cheers

Thanks @chilicheech !


VlcControl is always on the top of my window

Hi
I hosted WinfForm VlcControl in wpf app, and used for WindowsFormsHost it.
I have one problem, VlcControl is always on the top of my window, but I need to move it to the background
How can I do this?
Thanks in advance.

This is airspace issue of the HwndHost and WindowsFormsHost.
If you using WPF, I recommend my project xZune.Vlc.
It provide a "Native" WPF control and noairspace issue .

Is there a plan to fix this issue?

Yes, there is now a plan to fix this issue: #296


Update role for omero-web 5.6.0.dev6

see: https://github.com/ome/omero-mapr/pull/56#issuecomment-559581474

TASK [ome.omero_web : omero web | setup omero web virtualenv3] *****************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/opt/omero/web/venv3/bin/pip", "install", "https://github.com/ome/zeroc-ice-py-centos7/releases/download/0.2.1/zeroc_ice-3.6.5-cp36-cp36m-linux_x86_64.whl", "omero-web==5.6.0-m3", "redis"], "msg": "stdout: Collecting zeroc-ice==3.6.5 from https://github.com/ome/zeroc-ice-py-centos7/releases/download/0.2.1/zeroc_ice-3.6.5-cp36-cp36m-linux_x86_64.whl\n  Downloading https://github.com/ome/zeroc-ice-py-centos7/releases/download/0.2.1/zeroc_ice-3.6.5-cp36-cp36m-linux_x86_64.whl (23.8MB)\nCollecting omero-web==5.6.0-m3\n\n:stderr:   Could not find a version that satisfies the requirement omero-web==5.6.0-m3 (from versions: 5.5.dev1, 5.5.dev2, 5.6.dev1, 5.6.dev2, 5.6.dev3, 5.6.dev4, 5.6.dev5, 5.6.dev6)\nNo matching distribution found for omero-web==5.6.0-m3\nYou are using pip version 9.0.3, however version 19.3.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"}

https://github.com/ome/omero-web-docker/blob/2aad76338fd9472b059ef047c3711126592a95d8/Dockerfile#L19
omero_web_release is set by OMERO_VERSION=5.6.0-m3.
Either need to override it or decouple it.

What would you suggest here? This repo should really be green (and usable) before we sign off on https://github.com/ome/ansible-role-omero-web/pull/26

Delete
    -e omero_web_release=$OMERO_VERSION \
    -e omero_web_omego_additional_args="$OMEGO_ADDITIONAL_ARGS"

completely?

E.g. see https://github.com/ome/omero-web-docker/pull/38/files

Also /opt/omero/web/OMERO.web/bin/omero is a python wrapper which sets OMERODIR so if the only thing preventing you from using that was it being a shell script you could try using it again.

Merging with the version "bump" and releasing as 5.6.0-m3-1, though we'll likely need to reconsider the version numbering.


Cleanup of verifying tortoise code

Motivation
Clean up verifying tortoise code a bit to make it easier to work with while working on self-healing.
Changes
There are NO changes to logic. Just refactoring, renaming of variables, updates to comments, and removal of unused code.
Test Plan
N/A (no logic changes)
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors merge

bors merge

bors merge

bors merge


Profiling: intervals tool and devtools-file generator

Pull Request Description
@MichaelMauderer and I decided we could use some more tooling:

A tool that produces a quantitative report on total time spent in different profilers. (Hard numbers!)
A tool that translates our profile format to the Chrome DevTools format. (This will give us a workaround until #3351 is fixed, and also has niceties we might not implement soon, like showing all labels and once, and showing durations on the chart.)

Important Notes

Both tools are run from the command line, and translate stdin to stdout.

Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java, and Rust style guides.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed: Enso GUI was tested when built using BOTH ./run dist and ./run watch.

[ci no changelog needed] internal tools

profiler data in DevTools:

Aggregated interval reports (how much time we are spending in each function, total):
kaz@canoe:repo/enso/lib/rust/profiler/data$ cargo run --bin intervals < ~/profile.json
self_duration total_duration profiler
 535.5  535.5 parse_with_metadata (app/gui/language/parser/src/lib.rs:107)
 429.2  429.2 check (lib/rust/ensogl/core/src/system/gpu/shader.rs:96)
 365.8  365.8 build_and_mangle_glsl (lib/rust/ensogl/core/src/display/shape/primitive/shader/builder.rs:58)
 347.3  347.3 use_program (lib/rust/ensogl/core/src/display/symbol/gpu.rs:648)
 241.8  241.8 render_by_ids (lib/rust/ensogl/core/src/display/symbol/gpu/registry.rs:127)
 203.5  268.5 new (app/gui/src/controller/graph.rs:273)
 166.6  437.0 partial_dfs_with_layer_data (app/gui/language/span-tree/src/node.rs:760)
 164.9 1980.6 EventLoopExecutor::runner (app/gui/src/executor/web.rs:67)
 122.6  122.6 new (lib/rust/ensogl/core/src/animation/physics/inertia.rs:648)
  79.6  294.3 create_node (app/gui/view/graph-editor/src/lib.rs:1425)
  53.1   53.1 new (app/gui/src/controller/graph.rs:225)
  52.6   53.3 animation::physics::inertia::step (lib/rust/ensogl/core/src/animation/physics/inertia.rs:799)
  38.0  912.0 update (lib/rust/ensogl/core/src/display/scene.rs:1183)
  33.3   33.3 notify_language_server (app/gui/src/model/module/synchronized.rs:431)
  30.4   30.4 run (lib/rust/ensogl/core/src/display/render/passes/pixel_read.rs:163)
  28.9   43.8 set_node_expression_usage_type (app/gui/view/graph-editor/src/lib.rs:2075)
  26.9  497.6 update (/local/repo/enso/profiling-application/lib/rust/shapely/src/shared.rs:124)
  25.8 1235.2 go_to_next_frame_with_time (lib/rust/ensogl/core/src/display/world.rs:287)
  25.2  526.0 render_layer (lib/rust/ensogl/core/src/display/render/passes/symbols.rs:124)
  23.3   34.3 partial_dfs_with_layer_data (app/gui/language/span-tree/src/node.rs:595)
  22.7   22.7 set_node_expressions (app/gui/src/presenter/graph.rs:385)
  21.1  395.6 run (lib/rust/ensogl/core/src/display/shape/primitive/shader/builder.rs:38)
  16.2   27.6 nodes (app/gui/src/controller/graph.rs:548)
  15.8   15.8 nodes (app/gui/controller/double-representation/src/graph.rs:74)
  15.7  444.9 compile_shader (lib/rust/ensogl/core/src/system/gpu/shader.rs:135)
  15.6  470.3 set_node_expression (app/gui/view/graph-editor/src/lib.rs:1883)
  12.7  575.9 init (app/gui/src/presenter/graph.rs:476)
  11.3   21.2 start (app/gui/src/ide/initializer.rs:76)
  10.6  141.6 init_port_frp_on_new_expression (app/gui/view/graph-editor/src/component/node/input/area.rs:728)
  10.0   10.0 with_input_edge_id (app/gui/view/graph-editor/src/lib.rs:2222)
   9.9  365.2 set_pointer_events (lib/rust/ensogl/core/src/display/shape/primitive/system.rs:89)
   9.6 3278.7 @on_frame (lib/rust/ensogl/core/src/animation/loops.rs:161)
   9.2   12.4 new (app/gui/view/graph-editor/src/lib.rs:1645)
   8.7   11.0 draw (lib/rust/ensogl/core/src/display/shape/primitive/def/class.rs:40)
   8.1    8.1 redraw (lib/rust/ensogl/component/text/src/component/area.rs:731)
   7.9   42.2 init_new_expression (app/gui/view/graph-editor/src/component/node/input/area.rs:879)
   7.6   53.4 create_edge (app/gui/view/graph-editor/src/lib.rs:1335)
   7.5    7.5 with_output_edge_id (app/gui/view/graph-editor/src/lib.rs:2246)
   7.5    7.5 get_span_tree_node (app/gui/src/controller/graph.rs:238)
   7.0  407.4 set_expression (app/gui/view/graph-editor/src/component/node/input/area.rs:888)
   6.4  287.2 new (app/gui/src/presenter/graph.rs:361)
   5.6  503.2 update (/local/repo/enso/profiling-application/lib/rust/shapely/src/shared.rs:157)
   5.6    5.6 init_uniform_binding (lib/rust/ensogl/core/src/display/symbol/gpu.rs:561)
   5.5    5.5 set_projects_list_on_welcome_screen (app/gui/src/presenter.rs:222)
   5.4    5.4 handle_value_update (app/gui/src/presenter/graph/visualization.rs:100)
   4.5    4.5 build (lib/rust/ensogl/core/src/display/symbol/gpu/shader/builder.rs:362)

A breakdown of our top 10, by self-time (time spent running a profiler, excluding time running any child profiler). This data is produced with my deep-profiiing branch, which produces an outlandish amount of data. It also does not render text areas, since the present implementation distorts the data by creating way too many shaders and @wdanilo is planning optimization to fix that.
 535.5  535.5 parse_with_metadata (app/gui/language/parser/src/lib.rs:107)
:hourglass_flowing_sand: @wdanilo is working on this.
 429.2  429.2 check (lib/rust/ensogl/core/src/system/gpu/shader.rs:96)
:bangbang: We are spending all this time blocking on something done in the background! See 2nd para in comment.
 365.8  365.8 build_and_mangle_glsl (lib/rust/ensogl/core/src/display/shape/primitive/shader/builder.rs:58)
:bangbang: We are doing something I'm not sure should be necessary, really inefficiently! See 1st para in comment.
 347.3  347.3 use_program (lib/rust/ensogl/core/src/display/symbol/gpu.rs:648)
:zzz: Switching shaders is costly. I believe we already take the necessary steps to do it as little as possible, though I have not verified there isn't room for improvement here.
 241.8  241.8 render_by_ids (lib/rust/ensogl/core/src/display/symbol/gpu/registry.rs:127)
:zzz: Actual rendering; here too, we can reasonably expect to spend a lot of time.
 203.5  268.5 new (app/gui/src/controller/graph.rs:273)
🔍 Probably improvable, but no obvious huge inefficiencies.
 166.6  437.0 partial_dfs_with_layer_data (app/gui/language/span-tree/src/node.rs:760)
🔍 This is called mainly by init_port_frp_on_new_expression, so this is time spent initializing FRP networks. I'd expect that to have some cost, but we could look into microoptimizing it after we run out of easy improvements.
 164.9 1980.6 EventLoopExecutor::runner (app/gui/src/executor/web.rs:67)
:zzz: All not-yet-identified work done in async tasks. Most likely a sum of misc stuff that aren't individually significant.
 122.6  122.6 new (lib/rust/ensogl/core/src/animation/physics/inertia.rs:648)
:exclamation: We should dig further into this; I suspect potential for optimization here.
  79.6  294.3 create_node (app/gui/view/graph-editor/src/lib.rs:1425)
🔍 Probably improvable, but no obvious huge inefficiencies.

Shaders built: 406 (build_and_mangle_glsl)
Shaders compiled: 178 (356 checks, vertex+fragment)
use_program: 177
I don't know how many times we're using each program, so I can't tell if we're using most of the shaders we're compiling. But we're definitely not compiling most of the shaders we build, which I suspect is caused by creating text areas and never drawing. So, likely about 1/2 the time in build_and_mangle_glsl is for text are inefficiencies. I'm working on confirming.

Ok, I further disabled text-area so that it never even loads a font.
 528.6  528.6 1 parse_with_metadata (app/gui/language/parser/src/lib.rs:107)
 345.4  345.4 33 use_program (lib/rust/ensogl/core/src/display/symbol/gpu.rs:648)
 308.9  308.9 66 check (lib/rust/ensogl/core/src/system/gpu/shader.rs:96)
 243.7  243.7 265 build_and_mangle_glsl (lib/rust/ensogl/core/src/display/shape/primitive/shader/builder.rs:58)
 200.0  264.6 255 new (app/gui/src/controller/graph.rs:273)
 160.4 1841.0 134 EventLoopExecutor::runner (app/gui/src/executor/web.rs:67)
 151.4  151.4 1272 new (lib/rust/ensogl/core/src/animation/loops.rs:67)
  98.4  103.2 315 code_coloring (app/gui/view/graph-editor/src/component/node/input/area.rs:764)
  72.3   72.3 700 render_by_ids (lib/rust/ensogl/core/src/display/symbol/gpu/registry.rs:127)
  68.1  180.0 17 create_node (app/gui/view/graph-editor/src/lib.rs:1425)

This makes a big difference in how many times the different GPU-related functions are called, but a more moderate difference to how much time we spend in check/build_and_mangle (I guess on average, the non-text-area symbols are more expensive to draw than the text-area symbols.). So this more accurate data probably shouldn't change our priorities; use_program is now relatively more important, but is not likely optimizable.

@wdanilo I've implemented the review edits. I also added a commit that implements the --profiling-level flag for the build script, to match the design (I'd been the lower-level environment-variable interface directly to get data). There's a companion docs PR: enso-org/design#30

@kazcw @wdanilo Is this still awaiting re-review? I would love to see this merged.

Sorry, in case I'm not responding fast, ping me on Discord. This should be accepted long time ago.


Can Moya use custom network layer?

In my Swift project, I already have a HTTP tool to Get and Post Request, and I still want to use this, not origin alamofire etc. Can moya support my custonm HTTP client?

duplicate issue #556


Cannot Establish an IdP as a Trusted Token Issuer through Console

Describe the issue:

There are some usecases where it is needed to create an IdP as a trusted toke issuer.
For example, with the introduction of API based authentication, Native SDK based Federation is introduced and this new federation needs the IdP to be a trusted token issuer, in order to validate and exchange access tokens and id tokens received directly by the client from the external IdP. But currently, IS Console, doesn't have a Connections template to create an IdP as trusted token issuer as follows.

https://github.com/wso2/product-is/assets/57411348/053e4c77-645a-42c5-bc8d-126460536b12

Even though you cannot make an IdP a trusted token issuer through the Console, you can create an IdP as a trusted token issuer using the following curl command (accessing the API directly) where alias, idpIssuerName and jwks uri or certificates are specified as needed.

curl --location 'https://localhost:9443/api/server/v1/identity-providers' \
--header 'Accept: application/json' \
--header 'Accept-Language: en-US,en;q=0.5' \
--header 'Accept-Encoding: gzip, deflate, br' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Origin: https://localhost:9443' \
--header 'Connection: keep-alive' \
--header 'Cookie: <COOKIES>' \
--header 'Sec-Fetch-Dest: empty' \
--header 'Sec-Fetch-Mode: cors' \
--header 'Sec-Fetch-Site: same-origin' \
--data '{
    "image": "https://localhost:9443/console/libs/themes/default/assets/images/identity-providers/enterprise-idp-illustration.svg",
    "isPrimary": false,
    "roles": {
        "mappings": [],
        "outboundProvisioningRoles": []
    },
    "name": "OIDC-TTI-IDP",
    "certificate": {
        "certificates": [],
        "jwksUri": "https://www.googleapis.com/oauth2/v3/certs"
    },
    "claims": {
        "userIdClaim": {
            "uri": "http://wso2.org/claims/username"
        },
        "roleClaim": {
            "uri": "http://wso2.org/claims/role"
        },
        "provisioningClaims": []
    },
    "description": "Authenticate users with Enterprise OIDC connections.",
    "alias": "<SAMPLE-ALIAS>",
    "homeRealmIdentifier": "",
    "provisioning": {
        "jit": {
            "userstore": "DEFAULT",
            "scheme": "PROVISION_SILENTLY",
            "isEnabled": true
        }
    },
    "federatedAuthenticators": {
        "defaultAuthenticatorId": "T3BlbklEQ29ubmVjdEF1dGhlbnRpY2F0b3I",
        "authenticators": [
            {
                "isEnabled": true,
                "authenticatorId": "T3BlbklEQ29ubmVjdEF1dGhlbnRpY2F0b3I",
                "properties": [
                    {
                        "value": "<SAMPLE-CLIENT-ID>",
                        "key": "ClientId"
                    },
                    {
                        "value": "<SAMPLE-CLIENT-SECRET>",
                        "key": "ClientSecret"
                    },
                    {
                        "value": "https://localhost:9443/commonauth",
                        "key": "callbackUrl"
                    },
                    {
                        "value": "scope=email openid profile",
                        "key": "AdditionalQueryParameters"
                    },
                    {
                        "key": "OAuth2AuthzEPUrl",
                        "value": "https://accounts.google.com/o/oauth2/v2/auth"
                    },
                    {
                        "key": "OAuth2TokenEPUrl",
                        "value": "https://oauth2.googleapis.com/token"
                    }
                ]
            }
        ]
    },
    "idpIssuerName": "https://accounts.google.com",
    "isFederationHub": false,
    "templateId": "enterprise-oidc-idp"
}'

How to reproduce:

Log into IS console.
Go to Connections section.
Click on Create Connection.
Verify that there is no option to create an IdP as trusted token issuer in any IdP template (except the trusted token issuer template). [To make an IdP a trusted token issuer, there should be an option to add IdP issuer name and jwks endpoint or certificate]

Expected behavior:

IdP templates should include the option to make the IdP, a trusted token issuer.

Environment information:

Product Version: IS 7.0.0 alpha2
OS: macos Sonoma 14.0
Database: Default
Userstore: Default

Optional Fields
Related issues:

https://github.com/wso2/product-is/issues/15684

@janakamarasena

The issue here is that a couple of configs available in the carbon based management console is not available in the react console.
The following are the configs; Which is available under "Basic Information" of the idp configuration. IMO the configs under "Basic Information" in the carbon management console should be available to IdPs in the new console.


Hero unit tests are integerated

Added the unit tests for the Hero component to make sure the text and image are rendered correctly.
Makes sure the text is visible, and that the image exists after the initial 1000ms (or 1 second) load time.

The different commits about "Fixes node environment for CircleCI" were just messing around with the different Docker images and node/npm versions to match the latest version.
Next update should always just use the "latest" docker image tag for future proofing

Also fixed CircleCI node environment for the pipeline


Reflect updated order in selected items

The selected items from the ReorderItems component do not reflect the last updated order. This PR fixes that.
This can be tested with the Manage View modal that shows up in the Hub dashboard. The console log reflects the values of updatedOrder and selectedCategories. selectedCategories should match the order of items in updatedOrder.

@kialam Good catch! I updated onSelectItem so selecting after dragging to reorder should work correctly now. I did not need to update onSelectAllItems since it uses listItems to build the selected items list and listItems contains the latest updated order of items.


dsefs directory creation failed during start up

Hi Luke,
the directory /var/lib/dsefs needs to be added in the Dockerfile for the versions DSE5.1 and DSE5.1.1
dsefs server cant start and therefor dse spark and spark-sql not working properly.
During startup I can see an exception notifying that dsefs directory cant be created. Permission denied. dse is trying to create it during startup under /var/lib/
-nm

Good catch! I'm not going to fix it in 5.1.0, but I will try and push a new image up to Docker Hub for 5.1.1. Thanks for the report.


Skills classes

Notebook for lesson "1.2 Import" is at more advanced stage
The other one ("3.2 Skills, Wrangling") is still very draft-y, especially the second part.

I've messed up a bit with the branches. I'm gonna create a new PR with the changes you requested.


Documentation for Card List is incomplete

The example provided doesn't quite work.  Doesn't use full width (and doesn't look like the example).
I think the example is missing  and/or  elements.
<CardItem>
<Icon active name="logo-googleplus" />
<Text>Google Plus</Text>
<Right>
<Icon name="arrow-forward" />
</Right>
</CardItem>

https://github.com/GeekyAnts/native-base-docs/issues/114


Jalaali Mix.Config is deprecated

After updating elixir to 1.13 we have Jalaali deprecate error
Reported: https://github.com/jalaali/elixir-jalaali/issues/16

done

done


Use Playwright instead of Selenium in AWebBrowser.py for easier chrome driver instalation?

With playwrite is easier chrome driver updates and instalation. It's just a matter of "playwright install"
Check it out.
https://www.zenrows.com/blog/playwright-vs-selenium

Or use  webdriver_manager in your project:
pip install webdriver_manager
Use it in your script: Instead of manually specifying the path to the ChromeDriver, you can use webdriver_manager to handle it.
`python
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
Setup ChromeDriver with webdriver_manager
driver = webdriver.Chrome(ChromeDriverManager().install())
`

Thank you for the information! This is indeed the first time I've heard about the Playwright option. I will look into this library and see if we can implement a better browser module.
However, I'd like to know more about the specific issue you encountered. Currently, the implementation of the browser module does consider the installation of chromedriver. According to this source (https://www.selenium.dev/documentation/selenium_manager/), Selenium is already capable of automatically managing the installation and maintenance of chromedriver (although it is still in the beta version). If there's a problem with chromedriver, it would be helpful to understand the environmental conditions under which it occurred.


dev folder in Model Tree not found in my FlexSim 2024 student version license

I was following the instructions to create a module SDK, however i cannot find the VIEW:/environment/dev folder in the Tree Node.
How can i find a solution for this problem? Is it the student version that doesnt have this folder?

Problem solved


Creating new limit the value always set to 1

To reproduce the issue try to create a limit setting the value different 1, for instance:
3scale-cli limits create --service 6 --appplan 13 --metric 14 --period week --unit 0
I thought the parameter value is missed in command-limits.js or it's using "unit" parameter instead. Also it seems the place where is set to 1 is: file limits.js file 17

Solved by #65 and #66
Thanks @sgutierr


@lang inside markdown.

Github flavoured markdown already keeps track of which language is being used -- and jsdoc recognizes this and includes a class on the pre, lang-{language}... e.g.,

...etc...

It seems to me the @ lang declaration is redundant here and requires additional text where it shouldn't really be necessary (and can't really be hidden).
The code that controls this is in layout.tmpl... it seems to me this should not include the readme section -- for that, it should parse out the lang class, something like the following:
var lang = 'plaintext';
var classes = this.classList.toString();
var re = /.*lang-(.*)\s?.*$/i;

if (re.test(classes)) {
  lang = classes.replace(re, '$1');
}

if (lang.toLowerCase() === 'html') {
  lang = 'xml';
}

$(this)
  .addClass( "sunlight-highlight-" + lang )
  .addClass( "linenums" )
  .html( $(this).find( "code" ).html() );

Thoughts?

This is fixed now


optimize: sort the arguments in a projection

Pull Request Test Coverage Report for Build 1444

9 of 12 (75.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 77.695%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/optimize.ts
9
12
75.0%

Totals

Change from base Build 1443:
-0.003%

Covered Lines:
10315

Relevant Lines:
12759

💛  - Coveralls


how to add a annotation to a method sermant ?

question description：
Hi,
I want to add an annotation to a method and not to change the original method body.
example:
origin
public class Bar {   public  String m(){    return "bar" ;   } }
redefined
public class Bar  { @MyAnnotation   public  String m(){    return "bar" ;   }
I don't know how to write the intercepter that don't change the method body just add an Annotation  with com.huawei.sermant.core.plugin.agent.interceptor.Interceptor
THX!

For sermant, it's not supported to add annotations by bytecode enhancing. Typically, annotations in runtime scope are used for defining special invoke strategy, which absolutely can be defined in Interceptor instead.


How can I create achievements for completing weeks on different difficulties?

Describe your problem here.
Hello, I would like to know how to make achievements for completing a week in different difficulties, example: completing week 1 in hell difficulty gives you an achievement, then completing it in normal difficulty gives you another, something like that but with each week, if anyone knows can you help please I would appreciate it, I currently use version 0.4.2 of the psych engine (because it is at this moment where I understand some of the code)
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Only in Source, not lua btw
to do this you add a new array in Achievements.hx
make a new case in a switch statement in checkForAchievement function in Playstate.hx
Then add your own achievement variable here in endSong function in Playstate.hx

If you beat the last song of your week in a certain difficulty and in story mode, than give the achievement...


Bug in ConvE evaluation

Description
Previously unseen bug during evaluate_performance of ConvE model:
ranks = evaluate_performance(X_test,
                             filter_triples=X_filter,
                             model=model,
                             use_default_protocol=True)

works fine, but
ranks = evaluate_performance(X_test,
                             model=model,
                             use_default_protocol=True)

throws this error: ValueError: Output mapping was not created before generating one-hot vectors.
Expected Behavior
No error.
Steps to Reproduce
model = ConvE(k=150, epochs=100, loss='bce',
                regularizer='LP', regularizer_params= {'lambda': 0.001, 'p': 3},
                optimizer= 'adam', optimizer_params= {'lr': 0.001},
                seed= 0, batches_count= 10, verbose=True)

model.fit(X_train)

ranks = evaluate_performance(X_test,
                             model=model,
                             use_default_protocol=True)

Evaluation of ConvE requires one-hot vectors to be generated from an output_mapping or filter_mapping dictionary that is set in the dataset_handle. If the onehot vectors are  not present when retrieving a batch from the dataset_handle then they will be generated on the fly, but the output_mapping dict must be present.
The currently active output_mapping dict (in 99% of instances this is the output_mapping of the 'train' dataset) is saved in the ConvE model parameters and restored during evaluation, _but was not set as the output mapping in the dataset handle _ The filter_mapping dict is set during setup in the evaluate_protocol function.
As I can think of no good reason to use an alternative output_mapping that is not the filter_mapping, the default behaviour is now to set the restored output mapping in the dataset handle, and only allow an alternative mapping scheme via the filter.


AttributeError: 'NoneType' object has no attribute 'get' when this package is installed.

Installing the flame graph panel causes an AttributeError.
AttributeError
Exception Value: 'NoneType' object has no attribute 'get'

File "…/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)
File "…/debug_toolbar/middleware.py" in __call__
  69.         content_encoding = response.get("Content-Encoding", "")

According to the documentation, process_request should return a response which it doesn't look like this panel is doing.

Hey @craiga - did you ever find a solution to this?

I found that after modifying process_request as shown below, an exception is no longer raised:
def process_request(self, request):
    self.sampler.start()
    return super().process_request(request)

@ianzapolsky I didn't, and thanks for the fix … is this something you can put into a pull request?
If not, I'll try putting something together the next time I'm messing about with the debug toolbar (I'm not doing much Django work at the moment so it's unlikely to be any time soon).

Sure, I'll put something up.

This can be closed now, right @craiga?

Yep!


Can the first training network used to get the features be sent the code?

Hello, author.I recently wanted to make changes to the first network part of this code.But I don't know how the ResNet34 network is implemented in your code. Is it convenient for you to send the ResNet34 network implementation code?

Hello, author.I recently wanted to make changes to the first network part of this code.But I don't know how the ResNet34 network is implemented in your code. Is it convenient for you to send the ResNet34 network implementation code?

Thanks for your interest. My backbone network is borrowed from torchvision:
https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py

Hello, author.I recently wanted to make changes to the first network part of this code.But I don't know how the ResNet34 network is implemented in your code. Is it convenient for you to send the ResNet34 network implementation code?

Thanks for your interest. My backbone network is borrowed from torchvision:
https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py

Thank you very much for your reply! But I'm still confused.  I don't know how to write the code for the data passing in and the result saving part. Can I have the honor to get your training source code? Thank you again for taking time out of your busy schedule to reply me!

Hello, author.I recently wanted to make changes to the first network part of this code.But I don't know how the ResNet34 network is implemented in your code. Is it convenient for you to send the ResNet34 network implementation code?

Thanks for your interest. My backbone network is borrowed from torchvision:
https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py

Thank you very much for your reply! But I'm still confused. I don't know how to write the code for the data passing in and the result saving part. Can I have the honor to get your training source code? Thank you again for taking time out of your busy schedule to reply me!
As for training face recognition backbone network,  you can refer to Insightface project: https://github.com/deepinsight/insightface

Hello, author.I recently wanted to make changes to the first network part of this code.But I don't know how the ResNet34 network is implemented in your code. Is it convenient for you to send the ResNet34 network implementation code?

Thanks for your interest. My backbone network is borrowed from torchvision:
https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py

Thank you very much for your reply! But I'm still confused. I don't know how to write the code for the data passing in and the result saving part. Can I have the honor to get your training source code? Thank you again for taking time out of your busy schedule to reply me!

As for training face recognition backbone, you can refer to Insightface project: https://github.com/deepinsight/insightface


Problem to install history and react-router

Hi guys, I need your help. I'm trying to install history and react-router but I get this weird error:
keuller@lawyerapp:~/apps/manlawer# npm install history react-router@latest --save-dev

npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data

><EMAIL_ADDRESS>postinstall /root/apps/manlawer/node_modules/history
> node ./npm-scripts/postinstall.js

module.js:339
    throw err;
    ^

Error: Cannot find module '/root/apps/manlawer/node_modules/history/npm-scripts/postinstall.js'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Function.Module.runMain (module.js:467:10)
    at startup (node.js:136:18)
    at node.js:963:3

><EMAIL_ADDRESS>postinstall /root/apps/manlawer/node_modules/react-router
> node ./npm-scripts/postinstall.js

module.js:339
    throw err;
    ^

Error: Cannot find module '/root/apps/manlawer/node_modules/react-router/npm-scripts/postinstall.js'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Function.Module.runMain (module.js:467:10)
    at startup (node.js:136:18)
    at node.js:963:3
npm ERR! Linux 3.13.0-57-generic
npm ERR! argv "/usr/local/node/bin/node" "/usr/local/bin/npm" "install" "history" "react-router@latest" "--save-dev"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>postinstall: `node ./npm-scripts/postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node ./npm-scripts/postinstall.js'.
npm ERR! This is most likely a problem with the history package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./npm-scripts/postinstall.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls history
npm ERR! There is likely additional logging output above.

Anyone can help me ?

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.


Integrate debug info into the core

Currently DWARF is imported from (an official plugin)[https://github.com/Vector35/dwarf_import], but what we could do a lot more with that debug info if we supported it in the core.

Suggested features:

[ ] Automatic parsing without an explicit action
[ ] Use it for function creation prior to the normal function identification sweep?
[ ] Others?

DebugInfo API added in 2.4.2898-dev.  DWARF port yet to come.


Fix log.Printf [phab:D1477]

Created by schroederc at 2017-04-03 16:38:54:

zarko accepted this revision at 2017-04-03 16:40:06

schroederc closed via commit c348b95d2a40c9ff4cb1a2147b912572e9e4816c at 2017-04-03 16:42:53


Adding more accurate decompiling/usage

First, usage of dearmor can be summed up with running the exe/py/pyc files
Second, for python 3.8<there is the py decompile
For py>3.8 tgere is ast.unparse - after creating ast from the source

can you make a pr saying that. some guy is gunna end up running a virus

can you make a pr saying that. some guy is gunna end up running a virus

I don't really have time for that - I don't have the process written anywhere which is the problem here
Feel free to make a pr and I would merge it :)

https://github.com/JonJon565/dearmor/blob/master/README.md pr sent


Sign Up and Login Data Hooks return Error but user is created and/or active in BigCommerce

Reproduction Steps:

Using the Next.js Commerce application, navigate to the customer login section. Sign Up to create a customer.
You will be returned an error.
Navigate to BigCommerce Store Control Panel - Customer was created and is active.
Navigate back to Next.js Commerce application, and attempt to log in said customer, it will fail sometimes.
Graphql works fine from playground, postman etc.
No errors in BigCommerce.

Expected Result:
User will be able to sign up and log in without errors being returned to the frontend.
Actual Result:
User always experiences an error on Sign Up
User sometimes experiences an error on Log in.
Per Research I have done with Nathan Booker, these are the best practices for implementing the Graphql Login:

call login API from FE, cookie is set directly on your graphQL hostname (invisible to you), and future requests have customer-specific data
call login API from BE, and if success response, set your OWN variety of cookie to store the customer ID, and send customer ID server-side with future requests (using customer impersonation token)
This is what is happening:
steal the cookie and proxy it for future requests from the BE

I've run into this issue. So I have one created user account in the BC BE that can't login to the Next Commerce app.

I've run into this issue. So I have one created user account in the BC BE that can't login to the Next Commerce app.

Getting the same issue,

I have the same issue with sign up hook.

Any work around at the moment?

I'm also seeing this

any workaround. i still get the same problem with getting that error on sign up.

I had the store status on "Down for maintenance". So changing it to "Open" solved the problem.

Ive been trying to fix this all day as well. not sure what to do

I've noticed that the graphql endpoint generated via the vercel integration is incorrect.
I was getting errors when using a url like:
"https://store-60csalghrft-163774.mybigcommerce.com/graphql"
Switched to the "live domain" -> "https://mystore.mybigcommerce.com/graphql"
now login/reg is functioning.

I've noticed that the graphql endpoint generated via the vercel integration is incorrect.
I was getting errors when using a url like:
"https://store-60csalghrft-163774.mybigcommerce.com/graphql"
Switched to the "live domain" -> "https://mystore.mybigcommerce.com/graphql"
now login/reg is functioning.

@magicspon: This would be a work-around correct, because you would prefer it to work locally and on dev environments?

any workaround? i still get the same problem with getting that error on sign up.

I've noticed that the graphql endpoint generated via the vercel integration is incorrect.
I was getting errors when using a url like:
"https://store-60csalghrft-163774.mybigcommerce.com/graphql"
Switched to the "live domain" -> "https://mystore.mybigcommerce.com/graphql"
now login/reg is functioning.

For me, it was just the configuration of the store. Down for Maintenance

For me, it was just the configuration of the store. Down for Maintenance

I've noticed that the graphql endpoint generated via the vercel integration is incorrect.
I was getting errors when using a url like:
"https://store-60csalghrft-163774.mybigcommerce.com/graphql"
Switched to the "live domain" -> "https://mystore.mybigcommerce.com/graphql"
now login/reg is functioning.

Where did you switched that? in Vercel environment variables?

I still get that errors when sign up on dev environment and after deploy on Vercel. How can i resolve it?

Is anyone here that has the Sign Up / Login / Logout for BigCommerce + Nextjs starter template, working without errors?

It seems that it does generate the wrong domain and we do need to get it live so we can actually run it, however the tokens no longer work
https://github.com/vercel/commerce/issues/122

yeah the tokens for login no longer work for me either.
On Sat, Dec 19, 2020 at 7:08 PM derardeek<EMAIL_ADDRESS>wrote:

It seems that it does generate the wrong domain and we do need to get it
live so we can actually run it, however the tokens no longer work
vercel/commerce#122 https://github.com/vercel/commerce/issues/122
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bigcommerce/storefront-data-hooks/issues/13#issuecomment-748556382,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APJ6E5UNEHHGPEO5UJ3GZXDSVVTBJANCNFSM4UMAWH5A
.

--
Waving [image: 👋]🏻 from Laguna,
Nick Achee | Digital Marketer
web: www.nickachee.com
cell:<PHONE_NUMBER>

Ok so I've found the solution!
If you are still having problems
With the graphQL env variables
Try switching out the
STOREFRONT_URL=
to be consistent with the name of your storefront
https://storefront.bigcommerce.com/graphQL
Like mentioned above by @RayeEThompson
After doing so the next env you are looking for is the STOREFRONT_TOKEN
to find this go into the "advance settings" then click on the graphQL playground.
On this page it will have two tabs at the bottom left corner that says
"Query Variables" and "Http Headers"
Click on the tab that says "Http Headers" (see attached pic)
Inside this tab you will see something like this..
{ authorization: Bearer "ey..."
} - this is your token (see attached)
Copy the entire string and paste it into your env and voila! You should be up and running. If this doesn't work try creating a new API and then try again.
Each time you make a new API this token changes so be aware!
Cheers!
Nick :)

Thanks, @Nick-Achee. Seems to be working fine now, without errors. But when you sign up, the customer seems to be returned null, using the useCustomer() hook from @bigcommerce/storefront-data-hooks/use-customer.

@pgvercel this seems to only be the case when developing locally.
Be sure to update the environment variable in the settings tab on the vercel dashboard for the site you are working with then redeploy.
It will work properly on the "live"
version...
Example "https://mystore.vercel.app"
Im sure the BC engineers are working on fixing this part of the developer experience but this is the work around for now.

@Nick-Achee  and @pgvercel I can confirm this works both locally and production for now,
@RayeEThompson Should this work around be part of the vercel commerce Readme?

 Saved a lot of time. It works on production Vercel, but it still return null as a customer on localhost, so it is unusable. Any tips for that? I have changed the env variables as suggested and I have also switched the advanced settings of Bigcommerce storefront to Open. Thank you!

Also another update!
The API PATH: that is generated on the txt file when creating a new API generates like so ..
Exp: "API PATH: https://api.bigcommerce.com/stores/{{store_id}}/v3/"
..but I've been removing the " /v3 off the end of url because when "compiling" it adds /v3 to the end of the URL... hope that helps also.

 Saved a lot of time. It works on production Vercel, but it still return null as a customer on localhost, so it is unusable. Any tips for that? I have changed the env variables as suggested and I have also switched the advanced settings of Bigcommerce storefront to Open. Thank you!

You can still make all your front end Tailwind changes locally. Then when you push your code out it will update said style changes and the customer login webhooks should work work live.
It is definitely still somewhat buggy and the graphQL Storefront Bearer token changes like every 2 days so I am constantly monitoring it and switching out the new token.
Vercel will statically serve the site too even if the graphQL token changes, however the "products" will not be fetched. You will hit a 500 error status when clicking on products tab. That's when you know it's time to switch out that Bearer Token again.
Heck might try and build a tool to help automatically update the key if it failed authentication with Puppeteer 🤪
Will keep you posted

I spoke too soon.. the "carts" hook isnt working properly.

@Nick-Achee Yes, also noticed it and wasnt sure what is it. Out of a sudden the cart hooks returns 500 in my Next.js/commerce app. Any workarounds?

@Nick-Achee Update from my side. From their storefront api documentation (https://developer.bigcommerce.com/api-reference/store-management/tokens) I have created new token using Postman and set the expires_at attribute to 2030 and so far, the token has been valid for 3 days and my cart or any other BigCommerce related function did not stop to work.
To get the token, create POST request to https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/storefront/api-token, in the headers add Content-Type: "application/json" and X-Auth-Token: "Your BigCommerce token" you can find in your store's settings.
The request body can look like this:
{   "channel_id": 1,   "expires_at":<PHONE_NUMBER>,   "allowed_cors_origins": [     "https://your.url"   ] }
This token together with the other steps mentioned above, solved the problem for me, although the login functionality does not work for me on localhost. Works well when deployed to Vercel, which is what matters.
I assume the token you can get in GraphQL Playground is set to expire every two days.

@Nick-Achee Update from my side. From their storefront api documentation (https://developer.bigcommerce.com/api-reference/store-management/tokens) I have created new token using Postman and set the expires_at attribute to 2030 and so far, the token has been valid for 3 days and my cart or any other BigCommerce related function did not stop to work.
To get the token, create POST request to https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/storefront/api-token, in the headers add Content-Type: "application/json" and X-Auth-Token: "Your BigCommerce token" you can find in your store's settings.
The request body can look like this:
{   "channel_id": 1,   "expires_at":<PHONE_NUMBER>,   "allowed_cors_origins": [     "https://your.url"   ] }
This token together with the other steps mentioned above, solved the problem for me, although the login functionality does not work for me on localhost. Works well when deployed to Vercel, which is what matters.
I assume the token you can get in GraphQL Playground is set to expire every two days.

Hi. Using BigCommerce checkout solution, is there a way to keep the logged in user saved so that we don't need to login again in order to proceed to final steps?

Hi. Using BigCommerce checkout solution, is there a way to keep the logged in user saved so that we don't need to login again in order to proceed to final steps?

@Nick-Achee The SignUp/Login isn't working anymore on live Vercel. It was working one week ago, and now it returns the same errors. Do you know something about that?

@Nick-Achee The SignUp/Login isn't working anymore on live Vercel. It was working one week ago, and now it returns the same errors. Do you know something about that?

@Nick-Achee Do you know if there is a data-hook for fetching orders available?

@Nick-Achee Do you know if there is a data-hook for fetching orders available?

Has anyone fetched the orders history? there is not a storefront hook for that.

Has anyone fetched the orders history? there is not a storefront hook for that.

I have tried and noticed that it doesn’t work either 🤷♂

On Jan 6, 2021, at 7:18 AM, Andrei Buhus<EMAIL_ADDRESS>wrote:

Has anyone fetched the orders history? there is not a storefront hook for that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I have tried and noticed that it doesn’t work either 🤷♂

On Jan 6, 2021, at 7:18 AM, Andrei Buhus<EMAIL_ADDRESS>wrote:

Has anyone fetched the orders history? there is not a storefront hook for that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Still no fix?

Still no fix?

For me, it was just the configuration of the store. Down for Maintenance

REMEMBER TO SAVE!
i
It worked for me after I finally remembered to save!

Added a troubleshooting section in the Readme with most common issues.

I had the store status on "Down for maintenance". So changing it to "Open" solved the problem.

@jorgemasta @Strapazzon just showing the first appearance of this solution.

Pretty sure this is a non-issue. The Next.js commerce app sign in doesn't work right out of the box until you complete BigCommerce activation checks in your dashboard. Then click the "Launch" button that appears after completing all the checks. Sign up works fine after that.

Solution for anyone struggling with getting the next.js demo work out of the box:

After vercel deployment if your sign-up/sign-in isn't working:

make sure your bigcommerce storefront status is active  (you can find it in the Channel Manager section)

If your checkout page isn't working

you need to add the following Environment Variables for production in your vercel project's Setting -->Environment Variables section and then redeploy:
BIGCOMMERCE_STORE_API_STORE_HASH
BIGCOMMERCE_STORE_URL
BIGCOMMERCE_STORE_API_CLIENT_SECRET


Add a linter component

http://www.sublimelinter.com/en/latest/creating_a_linter.html

Won't really be possible to integrate with Atom (or VCS) soooo deferred 💤


Testing v5

Hello everybody,
we just released a work in progress release: 5.0.0-experimental.0. The start of a major rewrite using zustand is included to both reduce complexity and prop drilling as well as improve performance by reducing rerenders.
This rewrite is not yet complete and might contain bugs, but is an important step towards getting rid of the data manger and using a proper data management and distribution of data to child components.
So if you find any problems with this, please open a ticket so we can take a look. Thank you.
FYI, this will be ported to the next branch once it is classified as stable.

https://github.com/material-table-core/core/blob/v5.0.0/types/index.d.ts#L217
RReact.ReactNode is part of v5.0.0.  Any chance for a quick 5.0.1?

Ups, will change it, sry.

Thanks!
And sorry, I should have been a bit more tongue in cheek as I have neeeever done something similar (said with a lot of self-deprecation!)

haha no problem xD
Should have check it one more time anyway ;)

Is v5 now compatible with MUI v5? Or do we have to continue using the next branch?

No it's not, but we changed a lot with both new features, bug fixes, ts support improved and Muir v5 support.
The new version V5 is started to improve the prop drilling and performance.

When will the new features in master branch be available in v5? Or any plans for (legacy) release for v4 on the master branch?


Backported to the example file URL changes to 20.1

Updated the example file URLs to match those updated in v20.2.
Closes #8603

Yes, @kathancox, there must be a 20.2 version of the include file that you need to edit. Check `_includes/v20.2/misc/external-urls.md...


VS Code doesn't open JSON files for some reason

Type: Bug
Not sure how to reproduce it, I was blaming extensions, just because previously I was able to make it work disabling all of them, but right now it seems doesn't help and I think the issue some where else and maybe in vs code itself
VS Code version: Code 1.89.1 (Universal) (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:14:24.611Z)
OS version: Darwin arm64 22.6.0
Modes:

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
16, 16, 17

Memory (System)
16.00GB (0.10GB free)

Process Argv
. --crash-reporter-id d35cf3bd-204e-4040-8a8c-7df1b785efbc

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
tftest:31042121
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
666c4381:30973075
dsvsc021:30996838
f3je6385:31013174
pythoncenvpt:31043157
fchga941:31046352
pythonprc:31047982
dwnewjupytercf:31046870

Sorry for the confusion, after some additional tests, I found, that extensions matter and found, that an issue comes from "Microsoft Entra External ID" (ms-azuretools.ms-entra)

Please use the Report Issue option from the Help menu to raise the issue with the extension author.
If you don't already know about the Start Extension Bisect command you might find it useful for future issues.
/causedByExtension

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


Rename "Suggested properties" to distinguish from "Suggest properties"

In reconciliation, the Start reconciling window pops up and you can supply extra columns "As Property." When you type in these fields, some reconciliation services will suggest properties to use here. This is, I believe, what the "Suggest properties" column on the testbench refers to.

If you go to Edit column > Add columns from reconciled values, you would see a window with "Add Property" and "Suggested Properties"  (and there are some things here that should also be in Sentence case, not Title Case, I think). My understanding is that this operates using the data extension functions (represented on the testbench as the "Extend data" column).

If these latter "suggested properties" rely on the same function as the former, let me know and I will document it - but if not, the latter one should be renamed, to avoid confusing users.
I assume the latter one is loading a list of properties based on the type (types?) identified in the column's reconciliation matches, but I don't think we discussed this one too thoroughly on my first trip through the Reconciling section.
Proposed solution
I would change both the "property/ies" and the "suggested" parts.
Maybe the Add columns from reconciled values options should be "Add data" and "Suggested data". I am not clear on whether this is really a "suggested" list based on some evaluation, or just all available properties, in which case maybe "Available data" would be better.
Any other ideas on how to differentiate these better would be great.

I am not clear on whether this is really a "suggested" list based on some evaluation, or just all available properties, in which case maybe "Available data" would be better.
Any other ideas on how to differentiate these better would be great.

@allanaaa The idea is indeed that a "suggested properties" listing is based on some behind the scenes heuristics that the user is not necessarily concerned with. ( in the case of Wikidata, it's some SPARQL queries that @wetneb has put together in the service which uses the hints from property_for_this_type, i.e, P1963 to propose some properties that the user might want to extend their data with after reconciling. Code is here: https://github.com/wetneb/openrefine-wikibase/blob/master/wdreconcile/suggest.py and config is here: https://github.com/wetneb/openrefine-wikibase/blob/master/config_wikidata.py
Other reconcile services (GETTY, OCLC, whoever) would have their own heuristics and algorithms behind the scenes.  Not all reconcile services are backed by a graph database or even need to be.  For the future, there might be a need to expand the interaction of a user to give more hints back to the property suggestion service at any particular reconcile service, but that has only briefly been talked about in our W3C group https://github.com/reconciliation-api
For your other questions I guess @wetneb can answer regarding the naming conventions and proposed changes.
We also could provide some hover text to the user over any labels there in order to give more information to the user, or even clickable (?) info circles like other programs do eventually.

I am not clear on whether this is really a "suggested" list based on some evaluation, or just all available properties, in which case maybe "Available data" would be better.
Any other ideas on how to differentiate these better would be great.

@allanaaa The idea is indeed that a "suggested properties" listing is based on some behind the scenes heuristics that the user is not necessarily concerned with. ( in the case of Wikidata, it's some SPARQL queries that @wetneb has put together in the service which uses the hints from property_for_this_type, i.e, P1963 to propose some properties that the user might want to extend their data with after reconciling. Code is here: https://github.com/wetneb/openrefine-wikibase/blob/master/wdreconcile/suggest.py and config is here: https://github.com/wetneb/openrefine-wikibase/blob/master/config_wikidata.py
Other reconcile services (GETTY, OCLC, whoever) would have their own heuristics and algorithms behind the scenes.  Not all reconcile services are backed by a graph database or even need to be.  For the future, there might be a need to expand the interaction of a user to give more hints back to the property suggestion service at any particular reconcile service, but that has only briefly been talked about in our W3C group https://github.com/reconciliation-api
For your other questions I guess @wetneb can answer regarding the naming conventions and proposed changes.
We also could provide some hover text to the user over any labels there in order to give more information to the user, or even clickable (?) info circles like other programs do eventually.

Hi Allana (and happy new year!!)
You are correct that the terminology is a bit confusing. There are a few areas involved:

OpenRefine's UI
OpenRefine's documentation
The reconciliation API specs (https://reconciliation-api.github.io/specs/latest/)
The reconciliation API testbench (https://reconciliation-api.github.io/testbench/)

I think we need to ensure that:

OpenRefine's UI and docs use the same terminology
The reconciliation API specs and testbench use the same terminology

I would argue that it is okay to have some differences between the terminology used in OpenRefine and in the API specs, because they are intended for different audiences. Also, the goal of making a W3C group to steer the API is to make it independent from the OpenRefine project and so the two are not necessarily suppose to coordinate on terminology.
So, here is a mapping between the terms used in OpenRefine and in the specs:

API specs
OpenRefine

Suggest services
"Auto-complete" fields (also known as "typeahead") - none of these terms appear in the tool's UI

Data extension property proposals
Data fields proposed to the user when they open the "Add columns by reconciled values" dialog.

So:

to mention the auto-complete (or typeahead) inputs in the documentation, I think we could just settle on one term and use it consistently - I don't think it needs to be called "suggest" to follow the API specs.
to mention the data extension property proposals, we can again call them whatever we like (and we can adapt the UI to match the docs, even). These proposed properties do not necessarily represent all the data fields that can be fetched from the service: some others might be available by typing the field name in the input at the top of the dialog. This is the case for Wikidata: each item can have arbitrary statements on it (for instance you can add a "headquarters location" statement on an item about a bacteria, even if it does not make any sense), so if we wanted to be exhaustive in the properties we propose in this dialog we would have to return the entire list of all Wikidata properties regardless of the type we reconciled the column to.

We can also suggest changes to the spec's (and therefore testbench) terminologies but arguably these should remain aligned to the particular strings used in the protocol. Those strings are much harder to change (since it breaks compatibility with existing services and clients), so I would only do it if there is an absolutely compelling reason to do so (e.g. a word being covered by a trademark and lawyers knocking on our door).

Hi Allana (and happy new year!!)
You are correct that the terminology is a bit confusing. There are a few areas involved:

OpenRefine's UI
OpenRefine's documentation
The reconciliation API specs (https://reconciliation-api.github.io/specs/latest/)
The reconciliation API testbench (https://reconciliation-api.github.io/testbench/)

I think we need to ensure that:

OpenRefine's UI and docs use the same terminology
The reconciliation API specs and testbench use the same terminology

I would argue that it is okay to have some differences between the terminology used in OpenRefine and in the API specs, because they are intended for different audiences. Also, the goal of making a W3C group to steer the API is to make it independent from the OpenRefine project and so the two are not necessarily suppose to coordinate on terminology.
So, here is a mapping between the terms used in OpenRefine and in the specs:

API specs
OpenRefine

Suggest services
"Auto-complete" fields (also known as "typeahead") - none of these terms appear in the tool's UI

Data extension property proposals
Data fields proposed to the user when they open the "Add columns by reconciled values" dialog.

So:

to mention the auto-complete (or typeahead) inputs in the documentation, I think we could just settle on one term and use it consistently - I don't think it needs to be called "suggest" to follow the API specs.
to mention the data extension property proposals, we can again call them whatever we like (and we can adapt the UI to match the docs, even). These proposed properties do not necessarily represent all the data fields that can be fetched from the service: some others might be available by typing the field name in the input at the top of the dialog. This is the case for Wikidata: each item can have arbitrary statements on it (for instance you can add a "headquarters location" statement on an item about a bacteria, even if it does not make any sense), so if we wanted to be exhaustive in the properties we propose in this dialog we would have to return the entire list of all Wikidata properties regardless of the type we reconciled the column to.

We can also suggest changes to the spec's (and therefore testbench) terminologies but arguably these should remain aligned to the particular strings used in the protocol. Those strings are much harder to change (since it breaks compatibility with existing services and clients), so I would only do it if there is an absolutely compelling reason to do so (e.g. a word being covered by a trademark and lawyers knocking on our door).

At this point, the docs refer to the UI ("Suggested properties"), define that UI (entities that are related to the type of the reconciled values in the column you started with), and point to the testbench ("Extend data[, not Suggest properties]") to show which service will do it. So I think we have

I think we need to ensure that:
OpenRefine's UI and docs use the same terminology
The reconciliation API specs and testbench use the same terminology

more or less in the bag, just with that potential for confusion if someone looks at the testbench alongside the UI and doesn't refer to this particular section of the docs first. Rewording the UI is the best option, I think.

At this point, the docs refer to the UI ("Suggested properties"), define that UI (entities that are related to the type of the reconciled values in the column you started with), and point to the testbench ("Extend data[, not Suggest properties]") to show which service will do it. So I think we have

I think we need to ensure that:
OpenRefine's UI and docs use the same terminology
The reconciliation API specs and testbench use the same terminology

more or less in the bag, just with that potential for confusion if someone looks at the testbench alongside the UI and doesn't refer to this particular section of the docs first. Rewording the UI is the best option, I think.

FYI the docs section looks like this at the moment: https://deploy-preview-3380--openrefine-docs.netlify.app/manual/reconciling/#add-columns-from-reconciled-values
I think "suggested" is pretty accurate based on what you've said above, so I'm pretty happy with the wording in the docs. As you say, the user isn't necessarily concerned with this bit. "Suggested" is probably fine in the UI too - maybe just another word for "properties" for the sake of distinction.

FYI the docs section looks like this at the moment: https://deploy-preview-3380--openrefine-docs.netlify.app/manual/reconciling/#add-columns-from-reconciled-values
I think "suggested" is pretty accurate based on what you've said above, so I'm pretty happy with the wording in the docs. As you say, the user isn't necessarily concerned with this bit. "Suggested" is probably fine in the UI too - maybe just another word for "properties" for the sake of distinction.


RSTP Crashes After Several Hours?

Boards
AMB82-Mini
External Hardware
None.
Hardware Configuration
None.
Version
latest dev (checkout manually)
IDE Name
Arduino 2.3.1
Operating System

Auto Flash Mode
Disable
Erase All Flash Memory (16MB)
Disable
Standard Lib
Arduino_STD_PRINTF
Upload Speed
2000000
Description
After a few hours I've noticed that the RTSP service on the default video example will drop, and clients will no longer be able to connect. The AMB82-Mini is still connected to the network, and will respond to a ping, but RTSP no longer serves up the stream. Given the lack of methods for querying server status, it's hard to diagnose what's going on.
I wouldn't mind even an occasional crash, since it'd be sufficient to patch over a hung RTSP process by querying whether its served a connection recently. But I can't find any method for learning more about current clients or activity.
Tried on master and dev, still have issues. Any recommendations for how to diagnose?
Sketch
(Default SingleVideo)

Error/Debug Message
None

Reproduce remarks
No response
I have checked online documentation, FAQ, GitHub Wiki and existing/closed issues.

[X] I confirm I have checked online documentation, FAQ, GitHub Wiki and existing/closed issues.

Hi, I am trying to replicate this issue. Can I double confirm if there is no network drop in between the period you are streaming the RTSP video?

Hi, I have run this for several hours and seems like there is no crash happening. Can you try to connect to a 5GHz Wifi Network and try again? Let me know if you have found a reliable way to replicate this issue. Thanks!

Thanks! So I also flashed the 'realtek_amebapro2_v0_example' example and got similar behavior. The client will run for anywhere between hours and days, and then fail.
It seems, prior to crash, like I get the ENC Queue full message repeatedly, and then it tries to tear down the connection but fails. At that point it loops on the empty request. From there, the RTSP is basically being monopolized by the broken client connection.
I'm guessing that the client is falling and that the AMB libraries don't handle that as gracefully as I would have hoped.
I haven't yet reproduced how to cause this.
Any ideas on how to get the AMB to notice it's stuck and free up the RTSP connection? I'd like not to be totally dependent on the client for this to work right.
Appreciate any advice.
[VID Wrn]
 CH 0 MMF ENC Queue full

[RTP Err][H264] RTP send fail
[Local] REQUEST_TEARDOWN

[RTSP Wrn]send TEARDOWN response failed![Local] Socket closed

[VID Wrn]
 CH 0 MMF ENC Queue full

rtp stopped (TCP)

[Local] Connected by <IP_ADDRESS>
[Local] Enter rtsp request_loop

[RTSP Err]Receive request len <=0, close socket
[Local] Socket closed

Hi, can I check what is your set up?
Are you running this Default SingleVideo example and then viewing this on VLC?
Thank you.

Thanks for asking, I've tried with SingleVideo as well as other examples, and then viewing on ffmpeg. It's not the viewer.
I think what happens is that if there's a network failure, e.g. the wifi loses connection, either the rtsp or the AV background fills up a queue and crashes, even if the connection loss was only temporary and the wifi didn't disassociate. So, I can trigger this error by briefly putting the AMB behind a brick wall where there's going to start to be serious packet loss. Once it gets into that state, it doesn't recover.
That'd be unfortunately but easy to work around, exempt I can't figure out a way of detecting with this failure programmatically.
Any ideas?

Hi, maybe you can forcefully reset the connection periodically, or add a watchdog to check for some condition where there is serious packet loss to reset the connection.

Hi, maybe you can forcefully reset the connection periodically, or add a watchdog to check for some condition where there is serious packet loss to reset the connection.

I actually tried that, using NVIC_SystemReset when there isn't connectivity. Unfortunately, sometimes that worked, but other times NVIC_SystemReset hanged. Is there a better way to reset the device (which is probably a cleaner way of dealing with a failure?)?

Hi, sorry for the late reply, there is an API called sys_reset() in the standard SDK. We can try to bring this over to the Arduino SDK to allow users to reset the system easier.

You can also refer to using Watchdog to do a reset. https://www.amebaiot.com/en/amebapro2-arduino-wdt/

Closed as no further request.


New events not returned after EOSE reply to client

Expected Behavior
After a client has submitted a REQ note to query relay database, relay should:

Reply with any events matching the REQ filter conditions

Reply with EOSE note indicating end of stored events matching those query filters

Save subscription filter and reply to client with any new events added that match that filter

Spec defined here

Actual Behavior

Client sends REQ note
Relay replies with events matching that filter
Relay sends EOSE event indicating the end of stored events matching that filter

No new events matching that filter are broadcast to client matching that subscription filter

Suggested Resolution

Relay stores active subscriptions in a dictionary in event_handler service
New events are broadcast on Redis pub/sub channel
Redis async listener runs as background process in event_handler service

Upon receiving new events in sub channel, event is evaluated against active subscription filters
Events matching active subscription filters are broadcast back to clients

Design Challenges

websocket_handler is responsible for handling websocket connections

Parses incoming events and uses async http client to submit event/subscription to the corresponding FAST API endpoint in event_handler to handle event

Unsure how I would relay the new events back to clients if event_handler is acting as a server here (is expecting to serve client requests from websocket_handler service
May need to have Redis listener operate from websocket_handler instead

Also investigating Postgres NOTIFY option

Notes

This was an intentional design decision made early in the relay development as I noticed a number of clients I test with were making many redundant requests anyway, was trying to avoid storing unnecessary subscriptions
Need to keep microservice architecture to allow for horizontal scaling in future Docker swarm or Kubernetes deployments

Also to keep websocket_handler and event_handler running in separate processes to avoid blocking async event loop

CC @joshgaskin for viz

Good new - I was able to get this sorted out much faster than anticipated!
I added a Redis pub/sub channel to broadcast events to active subscriptions:

REQ filters stored with active websocket connections
On new event add, event is broadcast on to all listening websocket_handler services and appropriate subscriptions

Added the Redis listener to the websocket_handler service which allows keeping the microservice architecture and horizontal scaling capabilities
Included a video below of me testing with a few kind 1 events (supports search filters as well but still testing)
Screencast from 12-08-2024 12:03:26 AM.webm
I have a working version on the EOSE branch and running live at wss://stg.nostpy.lol (This host will be going up and down frequently as I'm testing)
I am going to let this run in staging for a bit to ensure events are only being sent to appropriate subscriptions, observe performance and make adjustments as need (and cleanup my debug logs lol)
Please feel free to test if you have a chance and let me know if you find any bugs or unexpected behavior.

Hey @UTXOnly, Thanks for working on this.
We will redeploy the project from its latest state to keep with your changes, test/confirm the fix for that issue, and let you know.


FCS_CKM_EXT.1.4

Steal FCS_CKM_EXT.1.4 from MDF

Added FCS_CKM_EXT.3 for Key Destruction. Taken from MDF PP. Requirement for how to destroy key.
The MDF PP also has a second requirement about when to destroy keys. Do we want that. It has a 2 page assurance activity which looks fairly hard for labs to do.
FCS_CKM_EXT.4.2 The TSF shall destroy all plaintext keying material and critical
security parameters when no longer needed.


fix apply bug

Current FastRGF led to score degradation in our FastRGF example script.
Please see https://github.com/fukatani/rgf_python/pull/152 .
I deleted unnecessary line in dtree.h, score seems improved.

To verification FastRGF performance, we used https://github.com/fukatani/rgf_python/blob/master/examples/FastRGF/FastRGF_regressor_on_boston_dataset.py .
(Current version MSE ~ -6 and This PR fixes MSE to 0.97)
You need to install rgf_python or you can confirm score degradation by your own example.


Limited Drop-down List

When adding a task, the drop-down to select the desired list to send it to stops at the "L's" preventing the rest of the lists from showing...

BTW, it is a very useful extension!

Usually, all lists are displayed, even if there are many, but sometimes the API does not return all.
To understand what's going on, let's look at the debugging information:

Options → Save debug info → ON
Get the lists (open the extension window)
View Debug Info (in the context menu of the extension)


Need an invoke method to call closures more quickly than possible with eval

With Dart 2, vm service eval is now a little too slow to efficiently use for cases where all you really need to do is invoke a closure passing in a list of arguments.
We would like to provide  enhanced debugger views of Map, List, Iterable, and Set objects even if they aren't the dart:core Map or List classes which puts some pressure on the VM service as calls are needed to detect that InstanceRef objects match one of these types and to collect chunks of children similar to what the VM Service does for Map and List.
I'm aware I'll need to handle when the references to closures go out of scope at which point I'll make a slower call to get another reference to the closure.
As discussed in
https://github.com/dart-lang/sdk/issues/34004
the best way to implement this is outside of the VM Service so we need an efficient way to implement this functionality which is where

apply and eval go together, it's odd we haven't already added this yet.

Do you need named arguments too?


Julia 0.7 / Julia 1.0

Hello,
With Julia 0.7 I get the following warnings
julia> using LibSerialPort
[ Info: Precompiling LibSerialPort [8d099cbf-8da3-5ec2-a1c2-df122ad121d3]
┌ Warning: Package LibSerialPort does not have Libdl in its dependencies:
│ - If you have LibSerialPort checked out for development and have
│   added Libdl as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with LibSerialPort
└ Loading Libdl into LibSerialPort from project dependency, future warnings for LibSerialPort are suppressed.
WARNING: importing deprecated binding Base.Void into LibSerialPort.
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /home/scls/.julia/dev/LibSerialPort/src/wrap.jl:125
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /home/scls/.julia/dev/LibSerialPort/src/wrap.jl:148
┌ Warning: `is_windows` is deprecated, use `Sys.iswindows` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /home/scls/.julia/dev/LibSerialPort/src/wrap.jl:277
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near /home/scls/.julia/dev/LibSerialPort/src/wrap.jl:713

Kind regards

Some more warnings
┌ Warning: `finalizer(o, f::Function)` is deprecated, use `finalizer(f, o)` instead.
│   caller = Type at high-level-api.jl:8 [inlined]
└ @ Core ~/.julia/dev/LibSerialPort/src/high-level-api.jl:8
page 0
┌ Warning: Strings can no longer be `convert`ed to byte arrays. Use `unsafe_wrap` or `codeunits` instead.
│   caller = ip:0x0
└ @ Core :-1

I updated master. Can you kick the tires?

Can you kick the tires?

What I love with Github is that I learn expressions that are no obviousness for a non english speaker like me!
I will try it tomorrow.

My examples are working fine now (ie without warnings)
Thanks for this!

Previously I was using Linux and Julia 0.7 but now with Windows 10 and Julia 1.0
julia> using LibSerialPort
[ Info: Precompiling LibSerialPort [8d099cbf-8da3-5ec2-a1c2-df122ad121d3]
ERROR: LoadError: LoadError: UndefVarError: nb_available not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at .\sysimg.jl:13
 [2] top-level scope at none:0
 [3] include at .\boot.jl:317 [inlined]
 [4] include_relative(::Module, ::String) at .\loading.jl:1038
 [5] include at .\sysimg.jl:29 [inlined]
 [6] include(::String) at C:\Users\scls\.julia\dev\LibSerialPort\src\LibSerialPort.jl:2
 [7] top-level scope at none:0
 [8] include at .\boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at .\loading.jl:1038
 [10] include(::Module, ::String) at .\sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at .\boot.jl:319 [inlined]
 [13] eval(::Expr) at .\client.jl:389
 [14] top-level scope at .\none:3
in expression starting at C:\Users\scls\.julia\dev\LibSerialPort\src\high-level-api.jl:398
in expression starting at C:\Users\scls\.julia\dev\LibSerialPort\src\LibSerialPort.jl:192

With Julia 0.7 and Windows 10, I don't see neither errors nor warnings
After going back to Linux and using Julia 1.0 I noticed that nb_available doesn't seem to be in Base anymore.
I think nb_available should have been deprecated in Julia 0.7 (or kept in Julia 1.0)

Issue opened upstream https://github.com/JuliaLang/julia/issues/28667

There was in fact a warning
nb_available(IOBuffer())
┌ Warning: `nb_available` is deprecated, use `bytesavailable` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
0

As far as I can tell, we are now caught up to 0.7/1.0. If anything else emerges, we can reopen this or file a new issue.

Thanks @andrewadare


OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'.

(ls) liu@liu-System-Product-Name:~/ls/ControlNet-main$ python tool_add_control.py ./models/v1-5-pruned.ckpt ./models/control_sd15_ini.ckpt
logging improved.
No module 'xformers'. Proceeding without it.
ControlLDM: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Traceback (most recent call last):
File "/home/liu/ls/ControlNet-main/tool_add_control.py", line 27, in
model = create_model(config_path='./models/cldm_v15.yaml')
File "/home/liu/ls/ControlNet-main/cldm/model.py", line 26, in create_model
model = instantiate_from_config(config.model).cpu()
File "/home/liu/ls/ControlNet-main/ldm/util.py", line 79, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "/home/liu/ls/ControlNet-main/cldm/cldm.py", line 311, in init
super().init(*args, **kwargs)
File "/home/liu/ls/ControlNet-main/ldm/models/diffusion/ddpm.py", line 565, in init
self.instantiate_cond_stage(cond_stage_config)
File "/home/liu/ls/ControlNet-main/ldm/models/diffusion/ddpm.py", line 632, in instantiate_cond_stage
model = instantiate_from_config(config)
File "/home/liu/ls/ControlNet-main/ldm/util.py", line 79, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "/home/liu/ls/ControlNet-main/ldm/modules/encoders/modules.py", line 99, in init
self.tokenizer = CLIPTokenizer.from_pretrained(version)
File "/home/liu/anaconda3/envs/ls/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 2029, in from_pretrained
raise EnvironmentError(
OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.
how can i fix it?

Maybe you can download the CLIP-vit-large-patch14 model from Hugging Face and then save it in the path './openai/'.

Thanks a lot for your help！It does work.
发自我的iPhone
------------------ Original ------------------
From: Yuxuan Cheng @.>
Date: Sat,Oct 21,2023 6:03 PM
To: lllyasviel/ControlNet @.>
Cc: theshi-1128 @.>, Author @.>
Subject: Re: [lllyasviel/ControlNet] OSError: Can't load tokenizer for'openai/clip-vit-large-patch14'.  (Issue #555)
Maybe you can download the CLIP-vit-large-patch14 model from Hugging Face and then save it in the path './openai/'.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Maybe you can download the CLIP-vit-large-patch14 model from Hugging Face and then save it in the path './openai/'.

would you please tell me what models do i need?
and should I create a new folder named 'openai' in the root dictory?

Thanks a lot for your help！It does work. 发自我的iPhone
…
------------------ Original ------------------ From: Yuxuan Cheng @.> Date: Sat,Oct 21,2023 6:03 PM To: lllyasviel/ControlNet @.> Cc: theshi-1128 @.>, Author @.> Subject: Re: [lllyasviel/ControlNet] OSError: Can't load tokenizer for'openai/clip-vit-large-patch14'. (Issue #555) Maybe you can download the CLIP-vit-large-patch14 model from Hugging Face and then save it in the path './openai/'. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Greetings! Could you elaborate on the procedure? I have downloaded the CLIP model and created a directory named 'openai/clip-vit-alrge-patch14'. I have placed the downloaded model within this directory, yet I continue to encounter errors.


JWT Audience is not implemented

Description
I have an architect of having several microservices which can provide some services to DNN. I want to have a JWT just working for each of my microservices not having one general JWT that can work everywhere.
Steps to reproduce
Call JWT api, there is no way to set Audience.
Expected result
I need to have a parameter in JWT api to get the audience and make a aud claim in JWT.

Just commenting for stalebot to realize this one is still good since it has a PR associated. @mitchelsellers can we add the "pull request submitted" tag to the tags stalebot ignores?

Due to branching changes, we will replay this against the release 10 branch once it is created, No action needed by submitter at this time.


Prop types?

How will you handle prop types?
I'm using docz to generate a documentation for my component library and I'd like to know if there's a way to expose/list the props that can be used for the Box component.

Oh, yeah I have to expose a utility for that. For now you can use that one: https://github.com/smooth-code/smooth-ui/blob/master/packages/shared/core/utils/propTypes.js#L3


[TO BE CLOSED] Backend Web API to use shared ChargeLinkDto

Description
With this PR, the Charges backend Web API uses the shared ChargeLinkDto to deliver mocked charge links data on request.
References

#792

Replaced by https://github.com/Energinet-DataHub/geh-charges/pull/914


[TypeScript] Add support for typings in EventDefinition

This is a...

[ ] :beetle: Bug Report
[x] :rocket: Feature Request
[ ] :scroll: Documentation Request

:rocket: :scroll: What's missing from Redux Beacon that you'd like to add?
Currently to set a typing to the action parameter of EventDefinition you will need to do it similar to this:
const pageView = trackPageView(a => {
    const action: LocationChangeAction = a as any;

    return {
        page: `${action.payload.pathname}${action.payload.search}`,
        location: action.payload.pathname,
    };
});

this is because
{
    [key: string]: any;
}

is not compatible with anything that looks different. I would suggest using generics and change it to
export type EventDefinition<E = any, A = { [key: string]: any }, S = any> = (
  action: A,
  prevState: S,
  nextState: S
) => E;

This will keep it backwards compatible. But it also requires to change the package typings.
E.g. of GoogleAnalytics package
export declare const trackPageView: <A = { [key: string]: any }, S = any>(eventDef: EventDefinition<{
    page: string;
    title?: string;
    location?: string;
}, A, S>, tracker?: string | string[]) => EventDefinition<any, A, S>;

Can you help out?

[x] :star2: I am a legend and can get started on a pull request right away given the go-ahead.
[ ] :star: I am a superstar and would like to help out given some guidance.
[ ] :disappointed: I won't be able to help out on this one.

I've been meaning to tighten up the types here for a while. I think it's definitely a priority at this point. Let's start with types.ts in the main redux-beacon package. Extend the generics for EventDefinition` like you have there...that could be one pr, then once that's in we can update the event definition helpers in each target. Naturally we'd start with whichever one you're using (e.g. GA).
This is a great idea, and I'll love to get this done.

Will take a look on the weekend!


Fix global CSS affecting encounter card bug

Description

Encounter card avatars need fixing due to global CSS:

Acceptance Criteria

[x] Encounter card avatars look normal
[x] Other places where Avatar Group/ Avatar is used does not break

Implementation details

n/a
Testing notes

n/a

lgtm!


Fix multicluster values name

This was broken in https://github.com/istio/istio/pull/16957/files when the value was update to match values.yaml but the usage wasn't fixed here.
Fixes https://github.com/istio/istio/issues/17023

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
a68ce64250ae4481a214f96c73f35551fa7e590c
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
a68ce64250ae4481a214f96c73f35551fa7e590c
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
a68ce64250ae4481a214f96c73f35551fa7e590c
link
/test integ-mixer-k8s-tests_istio

e2e-bookInfoTests-trustdomain_istio
a68ce64250ae4481a214f96c73f35551fa7e590c
link
/test e2e-bookInfoTests-trustdomain_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
a68ce64250ae4481a214f96c73f35551fa7e590c
link
/test integ-mixer-k8s-tests_istio

e2e-bookInfoTests-trustdomain_istio
a68ce64250ae4481a214f96c73f35551fa7e590c
link
/test e2e-bookInfoTests-trustdomain_istio

integ-security-k8s-tests_istio
a68ce64250ae4481a214f96c73f35551fa7e590c
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest