storefront:hot-proxy fails with "Cannot find module 'node-sass'"

Description

When attempting to run  ./psh.phar storefront:hot-proxy it throws two errors both stating that node-sass could not be found.
Installing node-sass globally doesn't appear to resolve the issue either, however bin/console theme:compile runs and compiles my scss without any issues.
Additional context

Node: v15.3.0
NPM: 7.0.14
node-sass: 5.0.0
libsass: 3.5.5
Shopware: 6.4.9999999.9999999-dev
-------------------- --------------------------------------------------------------
  Symfony
 -------------------- --------------------------------------------------------------
  Version              5.2.4
  Long-Term Support    No
  End of maintenance   07/2021 (in +147 days)
  End of life          07/2021 (in +147 days)
 -------------------- --------------------------------------------------------------
  Kernel
 -------------------- --------------------------------------------------------------
  Type                 Shopware\Core\Kernel
  Environment          dev
  Debug                true
  Charset              UTF-8
  Cache directory      ./var/cache/dev_hba64104937f7a7cc1115aec01af2f01c (29.3 MiB)
  Build directory      ./var/cache/dev_hba64104937f7a7cc1115aec01af2f01c (29.3 MiB)
  Log directory        ./var/log (1.4 MiB)
 -------------------- --------------------------------------------------------------
  PHP
 -------------------- --------------------------------------------------------------
  Version              7.4.15
  Architecture         64 bits
  Intl locale          en_US_POSIX
  Timezone             UTC (2021-03-06T05:07:27+00:00)
  OPcache              true
  APCu                 false
  Xdebug               false
 -------------------- --------------------------------------------------------------

gavinroberts@Gavins-MacBook-Pro redacted % ./psh.phar storefront:hot-proxy

###################

SHOPWARE Developer Version

       _
      | |
   ___| |__   ___  _ ____      ____ _ _ __ ___
  / __| '_ \ / _ \| '_ \ \ /\ / / _` | '__/ _ \
  \__ \ | | | (_) | |_) \ V  V / (_| | | |  __/
  |___/_| |_|\___/| .__/ \_/\_/ \__,_|_|  \___|
                  | |
                  |_|

Using .psh.yaml.dist extended by .psh.yaml.override

Starting Execution of 'storefront:hot-proxy' ('/Users/gavinroberts/Projects/Re dacted/redacted/dev-ops/storefront/actions/hot-proxy.sh')

(1/2) Starting
> bin/console theme:dump

(2/2) Starting
> APP_URL=http://redacted.test/ STOREFRONT_PROXY_PORT=9998 PROJECT_ROOT="/Users/gavinroberts/Projects/Re dacted/redacted/" ESLINT_DISABLE=true npm --prefix vendor/shopware/platform/src/Storefront/Resources/app/storefront/ run-script hot-proxy

        ><EMAIL_ADDRESS>hot-proxy
        > NODE_ENV=development MODE=hot node ./build/start-hot-reload.js

        # Webpack Plugin Injector: Plugin "Storefront" injected as a new entry point
        # Webpack Plugin Injector: Plugin "CurtainStore" injected as a new entry point
        ℹ ｢wds｣: Project is running at http://redacted.test:9998/
        ℹ ｢wds｣: webpack output is served from http://redacted.test:9998/
        ℹ ｢wds｣: Content not from webpack is served from /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/dist
        Starting the hot reload server:

        ℹ Compiling Shopware 6 Storefront
        ✔ Shopware 6 Storefront: Compiled with some errors in 1.92s
         ERROR  Failed to compile with 2 errors4:57:52 AM

         error  in ./src/scss/base.scss

        Module build failed (from ../node_modules/sass-loader/lib/loader.js):
        Error: Cannot find module 'node-sass'
        Require stack:
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/sass-loader/lib/loader.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/loader-runner/lib/loadLoader.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/loader-runner/lib/LoaderRunner.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/NormalModule.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/NormalModuleFactory.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/Compiler.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/webpack.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/build/live-reload-server/index.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/build/start-hot-reload.js
            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:15)
            at Function.Module._load (node:internal/modules/cjs/loader:763:27)
            at Module.require (node:internal/modules/cjs/loader:991:19)
            at require (node:internal/modules/cjs/helpers:92:18)
            at Object.sassLoader (/Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/sass-loader/lib/loader.js:46:72)

         @ ./src/scss/base.scss 2:14-202 21:1-42:3 22:19-207
         @ multi ./src/scss/base.scss

         error  in /Users/gavinroberts/Projects/Re dacted/redacted/var/theme-entry.scss

        Module build failed (from ../node_modules/sass-loader/lib/loader.js):
        Error: Cannot find module 'node-sass'
        Require stack:
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/sass-loader/lib/loader.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/loader-runner/lib/loadLoader.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/loader-runner/lib/LoaderRunner.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/NormalModule.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/NormalModuleFactory.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/Compiler.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/webpack.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/build/live-reload-server/index.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/build/start-hot-reload.js
            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:15)
            at Function.Module._load (node:internal/modules/cjs/loader:763:27)
            at Module.require (node:internal/modules/cjs/loader:991:19)
            at require (node:internal/modules/cjs/helpers:92:18)
            at Object.sassLoader (/Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/sass-loader/lib/loader.js:46:72)

         @ /Users/gavinroberts/Projects/Re dacted/redacted/var/theme-entry.scss 2:14-347 21:1-42:3 22:19-352
         @ multi ./src/main.js /Users/gavinroberts/Projects/Re dacted/redacted/custom/plugins/CurtainStore/src/Resources/app/storefront/src/main.js /Users/gavinroberts/Projects/Re dacted/redacted/var/theme-entry.scss

        ############
        Storefront proxy server started at http://redacted.test:9998
        ############

         WAIT  Compiling...4:57:53 AM

        ℹ Compiling Shopware 6 Storefront
        ✔ Shopware 6 Storefront: Compiled with some errors in 116.76ms
         ERROR  Failed to compile with 2 errors4:57:54 AM

         error  in ./src/scss/base.scss

        Module build failed (from ../node_modules/sass-loader/lib/loader.js):
        Error: Cannot find module 'node-sass'
        Require stack:
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/sass-loader/lib/loader.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/loader-runner/lib/loadLoader.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/loader-runner/lib/LoaderRunner.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/NormalModule.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/NormalModuleFactory.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/Compiler.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/webpack.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/build/live-reload-server/index.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/build/start-hot-reload.js
            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:15)
            at Function.Module._load (node:internal/modules/cjs/loader:763:27)
            at Module.require (node:internal/modules/cjs/loader:991:19)
            at require (node:internal/modules/cjs/helpers:92:18)
            at Object.sassLoader (/Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/sass-loader/lib/loader.js:46:72)

         @ ./src/scss/base.scss 2:14-202 21:1-42:3 22:19-207
         @ multi ./src/scss/base.scss

         error  in /Users/gavinroberts/Projects/Re dacted/redacted/var/theme-entry.scss

        Module build failed (from ../node_modules/sass-loader/lib/loader.js):
        Error: Cannot find module 'node-sass'
        Require stack:
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/sass-loader/lib/loader.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/loader-runner/lib/loadLoader.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/loader-runner/lib/LoaderRunner.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/NormalModule.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/NormalModuleFactory.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/Compiler.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/webpack/lib/webpack.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/build/live-reload-server/index.js
        - /Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/build/start-hot-reload.js
            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:15)
            at Function.Module._load (node:internal/modules/cjs/loader:763:27)
            at Module.require (node:internal/modules/cjs/loader:991:19)
            at require (node:internal/modules/cjs/helpers:92:18)
            at Object.sassLoader (/Users/gavinroberts/Projects/Re dacted/redacted/platform/src/Storefront/Resources/app/storefront/node_modules/sass-loader/lib/loader.js:46:72)

         @ /Users/gavinroberts/Projects/Re dacted/redacted/var/theme-entry.scss 2:14-347 21:1-42:3 22:19-352
         @ multi ./src/main.js /Users/gavinroberts/Projects/Re dacted/redacted/custom/plugins/CurtainStore/src/Resources/app/storefront/src/main.js /Users/gavinroberts/Projects/Re dacted/redacted/var/theme-entry.scss

For whatever reason, node-sass is not required by package.json within /platform/src/Storefront/Resources/app/storefront however when manually installing it, I no longer get the above error and instead get Error: Node Sass version 5.0.0 is incompatible with ^4.0.0.
cd platform/src/Storefront/Resources/app/storefront
npm install<EMAIL_ADDRESS>
Resolved the issue

We moved last week from node-sass to sass. Such issues happens often when you use the trunk branch. Maybe move to an stable version

We moved last week from node-sass to sass. Such issues happens often when you use the trunk branch. Maybe move to an stable version

Thanks, this wasn't made clear in the documentation as there was a reference to dev-master but not trunk.
I'll switch to the latest tag, rebuild and go from there.


Unable to get hostcall examples working: lucetc errors with both Rust and AssemblyScript version

I'm trying to work through the documentation, but I can't get the hostcall examples to work from the lucet-runtime docs.
lucetc errors out on both AssemblyScript and Rust versions:
$ lucetc rust_test.wasm --output rust_test.so  --bindings ../lucet/lucet-wasi/bindings.json
Error: Lucet Module: Unknown module for symbol `env::hostcall_factorials
$ lucetc asc/build/optimized.wasm --output subproject.so  --bindings ../lucet/lucet-wasi/bindings.json
Error: Lucet Module: Unknown module for symbol `index::hostcall_factorials

Rust code that builds to the above wasm:
// factorials_guest.rs
extern "C" {
  fn hostcall_factorials(n: u64) -> u64;
}

#[no_mangle]
pub extern "C" fn run() -> u64 {
  unsafe { hostcall_factorials(5) }
}

AssemblyScript code that builds the wasm above:
import "wasi"; // to prevent Error: Unknown module for symbol `env::abort`

@external("hostcall_factorials")
declare function hostcall_factorials(val: u64): u64;

export function run(): u64 {
  return hostcall_factorials(5);
}

This is probably my fault, but I'd like to contribute back to documentation or examples once I get passed the problems.

Hi Jarrod,

lucetc rust_test.wasm --output rust_test.so  --bindings ../lucet/lucet-wasi/bindings.json

lucetc needs to know the set of allowed hostcalls.
This is the purpose of the bindings.json file for WASI. If you implement your own hostcalls, you need to provide a JSON file similar to that one, mapping imported (as seen by the WebAssembly module) names to names provided by the runtime.
The --bindings option can be present multiple times in the command line.

Hi Jarrod,

lucetc rust_test.wasm --output rust_test.so  --bindings ../lucet/lucet-wasi/bindings.json

lucetc needs to know the set of allowed hostcalls.
This is the purpose of the bindings.json file for WASI. If you implement your own hostcalls, you need to provide a JSON file similar to that one, mapping imported (as seen by the WebAssembly module) names to names provided by the runtime.
The --bindings option can be present multiple times in the command line.


The Source URL for the new Square.* projects are wrong

I forgot to check all of them before merging, so most point to https://go.microsoft.com/fwlink/?linkid=2130312 which is actually https://github.com/xamarin/XamarinComponents/tree/master/Android/SquarePicasso
Not too evil, but this needs to be changed when actually releasing these packages.

@mattleibow I can change urls into github urls? or if they need to be do.microsoft.com urls, is there way to generate go.microsoft.com links?

@mattleibow I can change urls into github urls? or if they need to be do.microsoft.com urls, is there way to generate go.microsoft.com links?

Let me generate all of them and create a PR

Let me generate all of them and create a PR


Guru Meditation Error

Hi Rob, I recently got the following error.
I am using the latest ESP-IDF 3.5, could this have something to do with it?

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

What is it?

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

I have solved the problem. It was due to the wrong up in my code.
You can delete the topic completely.


Report EPOLLERR as is_read_closed

The description of EPOLLOUT in the epoll_ctl(2) manual only covers
part of it. In fact, if the peer is interrupted abnormally
(such as disconnection, shutdown), the local read and write will
receive this event.

This is already reported as Event::is_error, so I'm not sure it should be included in is_read_closed. Can you add a test case which triggers this case (and not trigger it without this patch)?
Also when you say "shutdown'' do you mean shutdown(2) or something else? Because EPOLLERR shouldn't trigger in case of shutdown(2).

Thanks for your reply.
This scenario describes the events that can only be sensed by the local end after it initiates a read/write call when an abnormal situation occurs on the opposite end (such as unplugging the network cable or shutting down the power).
Personally think that the logic of is_read_close and and is_write_close in this case (EPOLLERR) needs to be consistent ;-)

@c98 I agree with Thomas on this that it should stay as Event::is_error for now unless you can provide a test case where it really makes sense.
Checking for it on is_writed_closed makes sense because that is mentioned in epoll_ctl docs in the EPOLLERR section.
Also take a look at #1110 if you'd like for a description of why we check which events right now.

Since there hasn't been any follow up I'm going to close this. @c98 if you have a case in which this change is needed we'll reconsider this pr.


Add a "debug mode" to the web interface

This "debug" mode could just auto-login to a dummy account without asking for user credentials, and should be somewhat hidden in some way (i.e. put it at the bottom of the home page, off screen by default or something similar). It'll just make everyone's lives easier when trying to test and debug stuff.
Keep in mind, since the database does not get synced with git, this "debug mode" should also be able to create the dummy account if it doesn't already exist on your version of the database. Don't bother with authentication for the dummy account; just create a session right away.

debug mode is implemented and works properly. You are able to log into a fakeuser account to debug the application, you are still able to log out and into a personal account that is specific to a user.


What is the purpose of decreasing group id by 1 in group merging?

Hi @laughtervv Thanks for your awesome work. I have confusion on group merging. The group id of some points with low confidence or small cardinality is assigned to -1. After then, you decreased the group id by 1 again in your code(line 151, test_util.py). Can you explain why?

un, cnt = np.unique(groupid, return_counts=True)
groupidnew = groupid.copy()
for ig, g in enumerate(un):
    if g == -1:
        continue
    **groupidnew[groupid==g] = (ig-1)**
    groupseg[(ig-1)] = groupseg.pop(g)
groupid = groupidnew

np.unique will sort the unique group id in a increasement manner, for example, [-1, 0, 5, 12, ...]
The code assigns consecutive group ids to the segmented instances, which begin from 0.
If all points is segmented not as background (group id is -1), there will be a minor bug since the first instance will be assigned to backgroud(-1). Do I understand it correctly?


feat: harden image using apko and wolfi

Fixes #2400
This PR applies a hardening strategy previously put to the test on Kargo Render in https://github.com/akuity/kargo-render/pull/297
When building with make hack-build or via the official Actions-based CI/release processes, this will build a distroless base image using apko + wolfi and then load that into Docker and than layer the rest of Kargo on top of that. I've verified it works identically to the old image.
I've also verified that changes to the Dockerfile do not disrupt our Tilt-based development workflow.
Edit: I've just realized this will break #2413. Draft until fixed.

This can be merged after #2694.


⚠ Bofrost.at has degraded performance

In 327c6d9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1861 ms

Resolved: Bofrost.at performance has improved in 7286431.


Implementation of /clearmessages for room owners to reset history

Added a way for owners to clear the history of the room.

2 things:

I don't even like this feature.


Provide the dark theme as UserCSS (for use with Stylus)

See https://github.com/openstyles/stylus/wiki/Usercss

It supports customization too (e.g. to pick an accent colour): https://github.com/openstyles/stylus/wiki/UserCSS-authors#var


Getting T265 to run with HoloLens 1

I downloaded the IntelRealSense 2.19 SDK and imported it to Unity. I connected the camera and opened the SLAM scene in Sample Scenes and when I play the scene locally the camera was tracking fine. However, when I enabled Holographic Emulation and connected to the HoloLens the camera no longer tracks. I feel like the problem might extend from the HoloLens not communicating with the camera (but the emulation should not cause this problem). Any advice on what steps to take next? Thank you!

This configuration is something that we haven't done, so unfortunately no guidance or advice with this configuration.


Revise ? extends Tuple* declarations in receiver position

Some methods take function with generic arguments of the form
? extends Tuple

In general it makes no sense to widen the Tuple type because Tuple is final.
We should remove ? extends in such cases (see MultiMap types).

Duplicate #1241 ?

Yep, will close this. Thx!


[RFC][EFR32] Add BRD4308A support

Problem
<<<<<FILL ME IN - the issue this PR is intended to address>>>>>

Summary of Changes
<<<<<FILL ME IN - what's in this PR>>>>>

Fixes #<<<<<FILL ME IN  - issue number(s). If no issue, please create one>>>>>

This is a try to support BRD4308A which comes with SLWSTK6102A. Unfortunately I don't get a QR code on the display and the two LED light up constantly.
Any idea what could be wrong still? Are there plans to support BRD4308A/MGM21 modules from SiLabs side?

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

Converted this PR to draft since the support for BRD4308A is not yet complete. Also modules are not inherently supported with github projects (some libs need to be unlocked with Simplicity studio). We need to do a quick internal check to see if the BRD4308A module is one of them.


Support android target api 30

The solution is based on android docs
https://developer.android.com/training/package-visibility/use-cases
This should solve issues related to target api 30
closes #1587 #1658
@Johan-dutoit

I'll have to test this, as the way #1658 did it worked for me.  This does look simpler though!

@Johan-dutoit u can merge this PR if u have tested. People have trouble updrading to target api 30

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

有没有个正常人告诉我怎么解决  android 11 打不开的问题啊


fix(plugin-response-ratelimiting) properly handle the ngx.null for limits.{limit_name}.*

Summary
If config.limits.{limit_name}.* is null, this plugin will raise a HTTP 500 error.

Full changelog

If config.limits.{limit_name}.* is null,  skip it.
Add a related test in spec/03-plugins/24-response-rate-limiting/01-schema_spec.lua.

Issue reference

Fix #8314

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

@bungle
For example, this declarative configuration:
plugins:
    - name: response-ratelimiting
      config:
        limits:
          test:
            second: null
            hour: 1000
        block_on_first_violation: false
        policy: cluster
        fault_tolerant: true
        hide_client_headers: false

config.limits.test.second is optional, but once it is set to null by the user, the value in this plugin is ngx.null, related function.
However, this case does not occur if we use the Admin API to configure this plugin, this configuration will be recognized as invalid.
curl -i -X POST http://{admin_host}/consumers/{consumer_id}/plugins \
    --data "name=response-ratelimiting"  \
    --data "config.limits.test.hour=1000" \
    --data "config.limits.test.minute=null" \
    --data "config.block_on_first_violation=false" \
    --data "config.policy=cluster" \
    --data "config.fault_tolerant=true" \
    --data "config.hide_client_headers=false" \
    --data "config.header_name=X-Kong-Limit"

The response is:
{
    "fields": {
        "config": {
            "limits": {
                "minute": "expected a number"
            }
        }
    },
    "code": 2,
    "name": "schema violation",
    "message": "schema violation (config.limits: {\n  minute = \"expected a number\"\n})"
}

The same goes for PATCH requests.
curl -i -X PATCH  http://{admin_host}/consumers/{consumer_Id}/plugins/{plugin_id} \
    --data "config.limits.test.minute=null"

The response is:
{
    "message": "schema violation (config.limits: {\n  minute = \"expected a number\"\n})",
    "name": "schema violation",
    "fields": {
        "config": {
            "limits": {
                "minute": "expected a number"
            }
        }
    },
    "code": 2
}

For POST requests, it looks the same if the user sets an item to null or does not specify it. But for a PATCH request, if the user sets an item to null, then they should expect it to be removed, and if they don't specify it, then they expect no changes to be made to it.


Add pyproject.toml, remove Cython as runtime dependency

This means it's now possible to install raysect from source or sdist without having to manually install Cython and numpy first. It also enables wheels to be built using PyPA's build package, with proper build isolation, which should simplify the process of producing manylinux wheels.
The procedure to build a wheel is now as simple as:
python -m pip install build
cd <path-to-raysect>
python -m build .
auditwheel repair dist/*.whl  # To make a manylinux wheel when running in the appropriate docker container

This also means users don't get an error when doing pip install raysect in a Python environment for which there isn't a raysect wheel and Cython/numpy aren't already installed, e.g. a fresh Python 3.6 or 3.10 virtualenv.
It'll also simplify the procedure for building manylinux wheelsl for downstream projects like Cherab, since the build module will be able to properly handle raysect as a build dependency without erroring.
I noticed in setup.py the minimum runtime version of Numpy is given as 0.14. I suspect this is a typo and it should be 1.14 instead, but haven't changed it until that's confirmed.
Fixes #401

I've submitted this PR against the master branch as it contains no functional changes to Raysect and end users would see the result quicker if it resulted in a 0.7.2 or even 0.7.1.post1 release, but it would apply equally well to the development branch.


Merged Callback,  Support Expand/Collapse mode + add Sort option

This PR is supposed to merge/fix the following using options parameter :
refs #7 - Sort order
refs #13 - Support Expand/Collapse mode
refs #12 - Callback

Hi,
I have made some small fixed, if you like you can pick this commit: 0913e1925401fe00409c40dfbfb7e88bd0f59961

That's perfect for me 👌
Thank you!


ClosureLifetimeFixup: Fix parameter indexing issue.

When deciding whether to clean up copies of noncopyable captures, I got the parameter indexing wrong when the closure has non-capture arguments. Fixing this allows noncopyable captures to work in more general circumstances.

@swift-ci Please test


ICA file is not downloading

I am using following details.
Details: I am using following details to connect to Citrix
Providing following credentials
Getting following errors
Let me know what i am missing . All above details are working as expected for me manually using browser.
I have also noticed that following information is missing in Download ICA image.
Server Port, Server IP/Name & port.
Also, I need to Launch App from Citrix Portal which is desktop application and need to implement performance testing on this.
Also, If I use HTTPS Recording template using JMeter, scripts work fine but using Blazemetter template i am getting following issues mentioned above in images attached,

I am using Following details.
User Defined Variables:

Credentials:

After providing these details, I am trying to record as mentioned below in image

What issue i am facing is
HP2-0 Request:

HP2-0 Response:

HP2-1 Request

HP-2-1 Response

Error I am facing here is :

I think I am missing something. I would be thankful to you if you can help me in this regard
Thanks.

Hello,
Can you please for each response also show Response Data in Response tab ?
Thanks

Thanks @pmouawad  Response is also mentioned below in detail
HP-2-0 Response data (BODY)

HP-2-0 Response data (HEADER)

HP-2-1 Data 2 Body
<!DOCTYPE html PUBLIC "-//W3C//DTD XDEV_HTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Citrix Gateway</title>
<link rel="SHORTCUT ICON" href="/vpn/images/AccessGateway.ico" type="image/vnd.microsoft.icon">
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META content=noindex,nofollow,noarchive name=robots>
<link href="/vpn/js/rdx/core/css/rdx.css?v=02d30141fd053d5c3448bf04fbedb8d6" rel="stylesheet" type="text/css"/>
<link href="/logon/themes/Default/css/base.css?v=02d30141fd053d5c3448bf04fbedb8d6" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="/logon/fonts/citrix-fonts.css?v=02d30141fd053d5c3448bf04fbedb8d6" type="text/css">
<link href="/logon/themes/Default/css/custom.css?v=02d30141fd053d5c3448bf04fbedb8d6" rel="stylesheet" type="text/css"/>

<META content="MSHTML 6.00.2900.2802" name=GENERATOR>

					JavaScript is either disabled in or not supported by the Web browser.
					To continue logon, use a Web browser that supports JavaScript or enable JavaScript in your current browser.

HP-2-1 Response data (HEADER)

Let me know if anything required,
I will be really thankful to you for your help in this regard. What i feel is action HP-2-0
POST https://login.abc.com/Citrix/AppstoreWeb//Home/Configuration
is working as expected but Get HP-2-1 is not sending response Text whereas in have seen ...<\clientSetting> in response  manually after login.

Hello,
The plugin provides a template for getting ICA file that works with Citrix Portal.
Your case seems a little different but it's just about recording with JMeter and correlating the required ids.
The easiest thing would be to make a recording of the login using jmeter and Recording Template and attach recording.xml that is generated (change login/password in it).
Ensure you name each click with a meaningful name, use Firefox and close any other tab except the one dedicated to Citrix.
There is no issue here, I'll see if I can help

@pmouawad  Thank you very much for your kind help.
Can you please share any sample ? as i am new to this and i need your help to achieve my goals.
Thanks

Hi @pmouawad ,
I am waiting for your help to understand how i can use this plugin with JMeter Recording Template to perform load testing of application in citrix
Thanks.

Hi @pmouawad any progress on this issue?

Hello @aqiftekhar ,
I work in the JMeter (JMeter Core project, JMeter-Plugins, jmeter-maven-plugin) community mainly on my personal time and sponsored sometimes (on JMeter project and some plugins) by my company.
My time being limited, I am unable to  help everybody on my personal time.
If this subject is important for your company, then you can request for consulting.
We do provide such services.
 There was no need to make it opensource if this was suppose to company to company support. I will suggest if you cannot provide support, do not call it opensource at-least.

Open source means:

Code is open, you can analyze a bug, modify it , contribute
Read the manual and you should be able to use it, by the way your question is just plain JMeter and has no relation with Citrix in fact, but whatever

If you can't do it yourself, then ask for help and Professional services is one way, that's how some of OSS contributors live, and they deserve respect.
If you know other ways, go ahead my friend.
It does not mean that OSS contributors are here to do your job for free and "live on love and fresh water"
As a contributor of OSS for 15 years, I am really happy with your note about my "pathetic answer", that's so encouraging and will surely encourage OSS. Thank you and have a nice day.

Thanks for your reply sir, Finally I am able to establish connection and download ICA by creating HTTPS requests. the default template do not work for me. Thanks for your help.


Is this really usable for only .NET?

Hello,
Is this only usable from .NET projects? Can it be used to provide authentication for Python, Java, Javascript, etc.?

Of course. It is a protocol implementation.

Dominick Baier
On Sat, Dec 10, 2016 at 10:40 AM +0100, "Sivabudh Umpudh"<EMAIL_ADDRESS>wrote:
Hello,
Is this only usable from .NET projects? Can it be used to provide authentication for python, Java, JavaScript, etc.?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sorry @leastprivilege. You mean of course as in it can be used from other languages such as Python, Java, or Javascript, right?

Yes of course

cheers
Dominick Baier
On Sun, Dec 11, 2016 at 1:24 PM +0100, "Sivabudh Umpudh"<EMAIL_ADDRESS>wrote:
Sorry @leastprivilege. You mean of course as in it can be used from other languages such as Python, Java, or Javascript, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Serialize and Deserialize data

I need to write a consuming API for our project and for validation we need to work with XML. We are created for every class information from UBL invoice on the end it will be something like ready XML that we can send and test it for validation here.
https://peppol.helger.com/public/menuitem-validation-ws2

Our UBL invoice that I am working now from here.
https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/tree/

#71


Number range in objectives

What does your feature do?
Using ranges in objectives where a number is used - ie. break stone block x amount of times, where x would be a given range, 10-30, out of which a random number is picked. Allowing ranges to be used in modules as well.

Thanks for the suggestion. I would not be opposed to a Pull Request, but otherwise this is something best left to a module. In fact, I'm certain you could submit a request to the author of https://lectern.browsit.org/resources/resource/19-break-blocks-objective-improved/


[Intellij plugin] GradleJvm is set to Project SDK

Before this PR

gradleJVM was set to #GRADLE_LOCAL_JAVA_HOME
no SDK setup was done

After this PR

The plugin configures also the Project SDK = gradleJVM JDK.
Benefits:

default behaviour for gradleJVM (gradleJVm = Project SDK). We won't set the gradleJVM to #GRADLE_LOCAL_JAVA_HOME. We can remove in the future the need to populate .gradle/config.properties file.
palantir-java-format will run with the expected SDK version (it also avoids issues like https://pl.ntr/2oO)

==COMMIT_MSG==
[Intellij plugin] GradleJvm is set to Project SDK
==COMMIT_MSG==
Possible downsides?

:+1:

:+1:


[FLINK-23556][tests] Make SQLClientSchemaRegistryITCase more stable

What is the purpose of the change
This PR aims at improving the pass rate of SQLClientSchemaRegistryITCase(an unstable e2e test case).
Brief change log

Remove 120 seconds limitation of the test. Due to the complexity of this e2e case, the old time limitation will make the case fail easily. Besides, after removing the limit, if this test fails, we can get its meaningful logs instead of a single timeout error.
Use ClassRule instead of Rule to reuse created containers which will save resources and time.
Increate max waiting time of some functions to make it easier to success.

Verifying this change

This change is already covered by existing tests, such as SQLClientSchemaRegistryITCase.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers:  no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper:  no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@flinkbot run azure

hi @wuchong , the pr has passed the azure ci. Would you mind merging it into the master branch? If there are any other concerns, please let me know, thanks~

Sure


Enabled the option to pass a default value and consumer name for requesting line modes

requestInputMode has gained the option to have a consumer name passed along
requestOutputMode has gained the option to have a defaultValue (0/1) and a consumer name passed along
In addition I've added a set of typescript definitions.

awesome!


Notifications of last uploaded videos when importing subscriptions

Example of it happening:

Wassup789 knows about this already but I wanted a post here and to share a work-around

A work-around for not receiving the notifications:

Google Chrome Version 62.0.3202.75 (Official Build) (64-bit)
Only extension enabled is YouTube Notifications.
Gifs created using Snagit.

Interesting workaround. It seems that I've actually forgot about this feature request, I'll work on implementing this feature shortly.

Thanks a lot, I can imagine the barrage of notifications turning people away.


STM32 FreeRTOS Supported MCUs.

Which STM32 MCU Series is Support AWS FreeRTOS?

Thank you for your interest, @Adityajethva. Currently, we support the STM32L4 series.


Incorrect parsing of LaTeX expressions in the headers.

There is $\LaTeX$ sign at the end of the title, which is not rendered.
Notion input:

Actual output:

Another example, which leads even to the broken link
Notion input:

Actual output:

Fixed in https://github.com/MerkulovDaniil/notion4ever/commit/f663e1c0421d7e7211d09e498d386b19e6532807


Added HttpAuthorization to Azure Core

As per our discussion via email, I added HttpAuthorization to Azure Core to support Copy Source Auth.

Related https://github.com/Azure/azure-sdk-for-net/pull/21853

@tg-msft the type LGTM. I wasn't a part of the conversation on schedules etc. so leaving the final approval to you.

Looks like we're going with https://github.com/Azure/azure-sdk-for-net/pull/21853 instead for now.


Not logged in doesn't display, or redirect to login on tool selection

Replacing this ticket with #805


Make capability to set file extension for log file in LogConsoleSettings

Hello!
I really love your plugin and recommend to everyone.
Can you create settings to be able to set custom file extension for shared log file.
Right now log file extension is .txt. And this files always open with notepad.
We want log file be with extension .log, so we can choose different program for this kind of files.
Right now this code not in lib so we can change it by hardcode, but it would be sooooo nice if we have this kind of capability in future version.
Thank you!

Hi @Dshifu,
Thanks for using MCK.
I have planned to upload MCK with sources instead of DLL for a while and actually did it, but Unity Asset Store team reject it because of new screen shots rule compliance.
If you want one, please email to<EMAIL_ADDRESS>and I'm happy to send you full sources.
Also I can make changes to support error log type (https://github.com/pixeption/MobileConsoleKit/issues/3) before sending it to you.

Hi @Dshifu,
Thanks for using MCK.
I have planned to upload MCK with sources instead of DLL for a while and actually did it, but Unity Asset Store team reject it because of new screen shots rule compliance.
If you want one, please email to<EMAIL_ADDRESS>and I'm happy to send you full sources.
Also I can make changes to support error log type (https://github.com/pixeption/MobileConsoleKit/issues/3) before sending it to you.

It will be awesome!
Thank you so much!
Will contact you in moment.
So will you support changing file extension for sharing log file ?

It will be awesome!
Thank you so much!
Will contact you in moment.
So will you support changing file extension for sharing log file ?


Add to Travis-CL

Make sure the ENV vars are there.

Travis CI is broken right now. Waiting on http://www.traviscistatus.com/

Got it working. Build is finicky, but that's not our fault.


Making sure placeholder works for ArrayFields

Description
This PR addresses placeholders for ArrayFields (see screenshot).

TextField in ArrayField needs to leverage placeholder from its props
That same placeholder needs to be overwritten by the examples in the ArrayFieldItem children, thus resetting the placeholder (undefined) at this level so that getUiPlaceholder can resolver to the examples later on.

Task Item
fixes #3908
Screenshots

Coverage remained the same at 55.781% when pulling 99c921cacd3368a341df2a295749bdab38006276 on leugene/issue3908 into 2b224daf513ad46c57c98403a23fcea4fd5436f3 on main.


[CT-3246] Metric labels should be Optional

Housekeeping

[X] I am a maintainer of dbt-core

Short description
Many semantic layer objects now have a label property (semantic models, metrics, saved queries, dimensions, entities, and measures). For most of these the label property is Optional. However, metric labels are currently required. This is a bit confusing, and can lead to a lot of unnecessary labels (it makes metric definitions less DRY). We should make the metric label Optional so that it is consistent with all other semantic layer object labels.
Acceptance criteria
Metric labels are Optional
Impact to Other Teams
This loosens the restriction, which should be okay everywhere. If it were to affect any team, it might affect artifacts.
Will backports be required?
It'd be nice to backport it to 1.7.latest, though not necessarily required. I think it makes sense to get in before the final cut of 1.7.0 (we're currently in RC). It's a very low risk change (approx 3 lines)
Context
No response

Alternative proposal from @nhandel: Keep label as required, and just default it to the metric's name if the user doesn't specify a custom value.

I think this is fairly intuitive as a default and relieves some of the burden of customizing every option for the laissez-faire folks.

Removing the backport 1.7.latest label for now because I don't remember getting permission to add said label 🙃

@nhandel + @jtcohen6
It's worth noting that we set label as optional on for all semantic layer objects in the protocols. Thus populating it in core doesn't give consumers of the semantic layer objects or artifacts guarantees of it's existence. The question comes down to how do we want consumers/integrators of the semantic layer objects/artifacts to display what a semantic layer object is called. Should they use the name unless label is specified or should they always use the label?
If it's the former then we should move to make label optional in core, as it is currently in core for all other semantic layer objects. If it's the latter, then we should update all semantic layer objects to make label required and add user friendliness that it defaults to the name value during parsing here in core (this means also updating the protocols in dbt-semantic-interfaces)

I lean toward the latter approach. It feels much simpler for downstream consumers to say, "If you want a human-friendly name for this semantic object (e.g. to show in a UI), always use label."

@jtcohen6 That's a good enough argument for me. I'll get this issue updated, and get a relevant issue created in #dbt-labs/dbt-semantic-interfaces/issues


Revert "add C API reference"

Reverts KxSystems/docs#16
Much duplicated with /interfaces/c-client-for-q.md. Do we need both articles? If c-client-for-q.md is more narrative than reference, perhaps move it into Tutorials?
I’ve edited the markup, which was breaking MkDocs, and will push back as a new branch; and also push to the preview site.

@StephenTaylor-Kx, I left a few comments on KxSystems/docs#16.  I am not sure you are notified about comments left on closed PRs.

Taken capiref.md into my working copy and will post shortly as a new topic branch until we’ve agreed all changes. Apologies if this dumps Alex’s questions: perhaps he’d be kind enough to add them back.

perhaps he’d be kind enough to add them back.

Sure - just please give me a day or two.  You are accepting PRs faster than I can review them. :-)


[PE-D][Tester D] UG Filter Fields Table Missing Parameter

The Fields table under the filter feature is missing the NUMBER_OF_TAGS parameter, even though it is shown in the command format and example.

Labels: type.DocumentationBug severity.VeryLow
original: getsquared/ped#8

Duplicate of #96


Storage: Coalesce prefix response headers into a single loop

/azp run net - storage - ci

/azp run net - storage - ci


Document variance

First of a few PRs to improve the documentation of lifetimes in the reference. Based on the documentation in the Nomicon.
cc #9 (rust-lang/rfcs#738)

I don't know nearly enough about this to be reviewing it.

cc @Gankro @nikomatsakis @arielb1 ?

@Gankro Wanna give this a re-review? (You're allowed to say no)


analyzer's parseFile doc out of date

The parseFile doc [1] mentions a FeatureSet.fromEnableFlags([]) method, which doesn't exist anymore. The likely replacement (FeatureSet.fromEnableFlags2() [2]) does not take an empty list as a parameter. The doc needs updating.
[1] https://pub.dev/documentation/analyzer/latest/dart_analysis_utilities/parseFile.html
[2] https://pub.dev/documentation/analyzer/latest/dart_analysis_features/FeatureSet/FeatureSet.fromEnableFlags2.html

/fyi @scheglov @bwilkerson

https://dart-review.googlesource.com/c/sdk/+/252706


add support for creating and removing user accounts

Coverage decreased (-0.3%) to 80.994% when pulling 48a8357f0f465b1a464ab0f21093046d8a091168 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage decreased (-0.3%) to 80.994% when pulling 48a8357f0f465b1a464ab0f21093046d8a091168 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.1%) to 81.4% when pulling f2e24abbc9dbb24293daef90b203ac3a2b9a9485 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.2%) to 81.476% when pulling f2e24abbc9dbb24293daef90b203ac3a2b9a9485 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.2%) to 81.476% when pulling f2e24abbc9dbb24293daef90b203ac3a2b9a9485 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.1%) to 81.4% when pulling 3831e00ae3e7c473753a9b1e6bc57affb708289c on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.1%) to 81.4% when pulling 3831e00ae3e7c473753a9b1e6bc57affb708289c on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.1%) to 81.4% when pulling 652c5b823d42688d78089c7584fe199ee7e1cfb9 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.03%) to 81.322% when pulling c0c1d28f48077796de7613a2d57159ffbcf43dc3 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.03%) to 81.322% when pulling 4621729e5850c2e5c014829092e65e5704286fb6 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.1%) to 81.398% when pulling 4621729e5850c2e5c014829092e65e5704286fb6 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.2%) to 81.451% when pulling b1685b7242c5bd62c6836c04ebfa2757c3e4e680 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.4%) to 81.662% when pulling 91674ad3f0840bf1358a026570d645c2e3a1076c on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.3%) to 81.589% when pulling 677aacfe51dbf8d92f7de857c8e7c85d87278111 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.2%) to 81.515% when pulling fbe5ff40813b304e4f43a4d8f531f66f59b8f2b4 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.2%) to 81.515% when pulling fbe5ff40813b304e4f43a4d8f531f66f59b8f2b4 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.3%) to 81.562% when pulling b5c5f4a819d63ee4247224526e3a2107406849b2 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.3%) to 81.562% when pulling 06361b4c89f93aff3a77b18892fbf59bf19819c4 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.3%) to 81.562% when pulling 06361b4c89f93aff3a77b18892fbf59bf19819c4 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.2%) to 81.488% when pulling f8fc220d7a18993c2316d67e733d4eec3edd100f on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.3%) to 81.562% when pulling 7e40bcb29fc9599c06368d6d220881fce54bdc90 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.

Coverage increased (+0.3%) to 81.562% when pulling 7e40bcb29fc9599c06368d6d220881fce54bdc90 on PetrVales:create-remove-account into<PHONE_NUMBER>51635b401b77a2ae91b4846803464a on martiner:master.


refactor(Dashboard): change internal dashboard to utilize cloudscape …

Overview
Utilize cloudscape over custom css. Removed uneeded CSS and uneeded DOM. Rewrote tests using best/better practices via testing library.
Legal
This project is available under the Apache 2.0 License.

need to fix a couple failing tests


How to enable bokehImageCapture extension ?

In the developer site, enabling vendor extensions are elaborated. But when I try to use the same code, its not showing any extensions at all. Can anybody help on this ?

This is the code I'm refering to,
import androidx.camera.extensions.BokehExtender
fun onCreate() {
// Create a Builder same as in normal workflow.
val builder = ImageCaptureConfig.Builder()
// Create a Extender object which can be used to apply extension
// configurations.
val bokehImageCapture = BokehImageCaptureExtender.create(builder)

// Query if extension is available (optional).
if (bokehImageCapture.isExtensionAvailable()) {
    // Enable the extension if available.
    bokehImageCapture.enableExtension()
}

// Finish constructing configuration with the same flow as when not using
// extensions.
val config = builder.build()
val useCase = ImageCapture(config)
CameraX.bindToLifecycle(this as LifecycleOwner, useCase)

}
When I try the same, it is not importing the extensions.

@AthiraRoslin what device are you observing this behavior on?

Closing since extensions are not currently implemented in our sample. Feel free to open an issue in the AOSP issue tracker or continue the conversation in our developer community forums.


refactor(search): Added Documentation, Corrected Mapping

Please Review:
@J-Fid
@skhtet
@seenusuvarna
@mleeBoeing

:+1:


virsh net-dumpxml and func (n *Network) GetXMLDesc inconsistency

When using virsh net-dumpxml on defined network we can see this kind of xml:
<network connections='1'>
  <name>pf-enp6s0f0</name>
  <uuid>c8ac98ff-a7d2-4253-9b66-a23a9e468ed2</uuid>
  <forward mode='hostdev' managed='yes'>
    <driver name='vfio'/>
    <address type='pci' domain='0x0000' bus='0x06' slot='0x10' function='0x0'/>
  </forward>
</network>

when using GetXMLDesc
<network>
  <name>pf-enp6s0f0</name>
  <uuid>c8ac98ff-a7d2-4253-9b66-a23a9e468ed2</uuid>
  <forward mode='hostdev' managed='yes'>
    <driver name='vfio'/>
    <address type='pci' domain='0x0000' bus='0x06' slot='0x10' function='0x0'/>
  </forward>
</network>

difference in presence of optional parameter connections - " if present, specifies the number of guest interfaces currently connected via this network"
is this issue related to libvirt-go api binding or this is an upstream bug?

Closing this because the go bindings don't influence what libvirt returns in the XML doc


Validate the Shelley genesis config

Use the validation function introduced in
https://github.com/input-output-hk/cardano-ledger-specs/pull/1644.

bors merge


GMF diabetes

Migrates the current Diabetes / Metabolic Syndrome ruby module to the Generic Module Framework. This is modeled as 2 separate modules - 1 for disease progression and 1 for care. The structure of the original ruby module rules made this approach simpler than the "sequence" model we normally see. There is still a lot of room for realism fixes in this; upon review of the ruby module there was a lot of detail in the vital sign #s but not a lot of realism in transition/prevalence/incidence %s, so some of those have been updated where possible.  Unfortunately a lot of the vital signs require calculations, so those could not be fully migrated to GMF yet. For now they remain a single rule within the Lifecycle module.
Module images (Sorry for the eye charts)
Disease Progression

Standards of Care

In general this is great.
Can we adjust some of the unknown probabilities? Progression of disease still has a lot of 1% and 99% transitions in there. I know these are verbatim from the original Ruby module, but they are not really correct.
What is the percentage of diabetics with retinopathy, blindness, ESRD, neuropathy, etc?
I don't think this will end up with the right numbers for these sub conditions.

Agree with @jawalonoski, overall this looks great. I especially like the clear separation of disease progression from standards of care.
With this new model what is the overall prevalence of diabetes? It should still be about 10% and that's one aspect that will be immediately apparent on SyntheticMass if it's off.

Updated the disease module with more realistic percentages (and fixed the graphviz display issue)
New module:

According to my brother, Richard C. Eastman MD (Ret):
“Note that "pre-diabetes" is a state of dysglycemia that is not associated with classic symptoms of diabetes due to hyperglycemia (polyuria, polydipsia, polyphagia, blurred vision).  Not sure why the prediabetes track shows and scores these symptoms.  If a person has those symptoms and hyperglycemia A1c>6.5 they have diabetes.  A1c >5.7-6.5 is asymptomatic.  Those symptoms don't really occur until the renal threshold for glucose is reached, about 200 mg/ml FBS.  As I recall this equates with an A1c of about 9 (approx).  Above A1c of 6.7 there is end organ damage but usually no classic symptoms of diabetes.
If the track were from undiagnosed diabetes coding for classic symptoms would make more sense, but only if blood glucose is elevated."
Dick developed a quantitative Monte Carlo simulation of Diabetes while at the NIH in the 1990s. It was an Excel spreadsheet implementation that was predictive of morbidity, mortality, treatment costs and quality of life years saved by comparing various treatment options. But it was quite slow. I reimplemented it in Smalltalk in 1998 to speed it up and recoded it into Java in 2000. This was the first model I implemented in PatientGen and we’ve extended the approach to include other conditions as well.
It’s good to see this model coming into the GMF set. The transition percentages need some work and need to be Race and Age specific if predictive accuracy is to be achieved. Looping Dick into this thread to see if he has other observations to contribute.
Jeff

On Jan 31, 2017, at 1:22 PM, dehall<EMAIL_ADDRESS>wrote:
Updated the disease module with more realistic percentages (and fixed the graphviz display issue)
New module:
https://cloud.githubusercontent.com/assets/13512036/22478540/5903ab2e-e7b8-11e6-9797-a744b3bf94a3.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/synthetichealth/synthea/pull/137#issuecomment-276447225, or mute the thread https://github.com/notifications/unsubscribe-auth/AIO2lKFNhsu1Hp-Lu6G3dFF8dgtxdM6Dks5rX3v3gaJpZM4LyEue.

I just noticed that none of the medications reference the reason.

Changed the timescale of disease progression from weekly to monthly:

@jeffeastman Thanks for the detailed feedback. I suppose this starkly reveals the limits of our clinical knowledge. I'm not sure what to do. We could just remove those symptoms from pre diabetes. They only thing the symptoms do is push a person to scheduling a doctors appointment.

As Dick indicted in his note, the classical symptoms don't begin to present until the patient has a quite high A1c (~9). This is why the disease is so difficult to detect in its early stages without regular lab tests. Fortunately the standard metabolic lab panel will test for fasting blood sugar and, if elevated, the PCP can also test for A1c.
Since its really the A1c that correlates with the morbidities, one thing you might do with the GMF model is use and describe that VitalSign explicitly.
Removing the symptoms from the PreDiabetes state but elevating the fasting glucose & A1c vitals slowly during its lifetime could trigger detection in a wellness encounter down the road.
Dick also indicated that a track for UndiagnosedDiabetes (A1c>9) could present those symptoms and that might then lead to a more in-depth scheduled PCP visit. But at that A1c there has already been some likely organ damage.


Refresh of Study List page performs two identical XHR requests for the list data

Describe the Bug
Either refreshing or returning to the Study List page from the viewer results in two identical XHR requests for the list data. Only one is needed.
Steps to Reproduce:

Visit https://v3-demo.ohif.org/.
Open the browser developer tools network tab.
In the network tab's filter box, enter studies.
Refresh the browser.

The current behavior
In the network tab, 2 identical XHR requests are recorded to fetch the study list data.
The expected behavior
Only one is needed.
https://user-images.githubusercontent.com/109477394/224197152-e7e68df1-7909-4ccb-8549-53bb0b803f41.mp4

:warning: Reports we cannot reproduce are at risk of being marked stale and
closed. The more information you can provide, the more likely we are to look
into and address your issue.

The suspect offending code is in DataSourceWrapper. In particular the React useEffect where getData is performed looks like a prime suspect. That effect is both setting the isLoading state and is also dependent on that state variable.

Investigating #3427 IDC PR to determine how fix is related


GHA update

@schochastics This one can be triggered (at least so far on PR). And the GHA correctly identifies one link as problematic (self-issued SSL cert). Can confirm this with Firefox.

Thanks lets see if it triggers at 16:00UTC


#5 set the country of the universe

#5
We can't select the country of the universe.
can you add a new var for the country on the Ogame object ?

This I think may be a little more complex than that due to the language differences, it would probably require the implementation of language packs.

Just curious... any reason why you don't just change the domain ?
instead of:
ogame = OGame(UNIVERSE, USER, PASW)

You would do:
ogame = OGame(UNIVERSE, USER, PASW, domain="xx.ogame.gameforge.com")

I'm a beginner in Python. I didn't know it was possible to do like this way.
I was thinking it was most interesting to specify the country of the universe.
Moreover this method is not documented in the README file.

Yeah, the README needs a little update ! There is a lot of stuff that are not well documented :(


Single quote in JSX breaks vscode code formatting

VSCode Version: 0.10.11
OS Version: Win 7, Mac OS 10.11.3

Steps to Reproduce:
If there is a single quote inside JSX, code formatting does not work for the entire file. Furthermore, if such a file is opened and tried code formatting, it breaks for all other files until a vscode restart.
Sample:
class Sample extends Component {
    render() {
        <View style={styles.container}>
            <Text style={styles.title}>Don't</Text>
        </View>
    }
}

First reported by @taypo: https://github.com/Microsoft/vscode-react-native/issues/156

@dbaeumer is this our edit infrastructure or the TS formatter?

Salsa formatter. Moving.

This issue was moved to Microsoft/TypeScript#7548


[CLI]: Api run history not consistent

Describe the bug
import wandb
api = wandb.Api()
run = api.run(f'{entity}/{project}/{id}')
print(run.history()['steps'].max())

The print show a different history at every call. Examples
0           0
1       20100
2       20600
3       22600
4       22800
        ...
495    498400
496    499400
497    499500
498    500000
499    498400

0       20000
1       21100
2       24200
3       24300
4       24600
        ...
495    495900
496    496000
497    496800
498    497600
499    497800

The run is over, so how is this possible? I need to check run.history()['steps'].max() but I keep getting a different value every time.
Additional Files
No response
Environment
WandB version: 0.15.8
OS: Windows and Linux
Python version: 3.10
Additional Context
No response

Hello @sparisi !
A couple things, what is run.history()['steps']? Our default metric for step would be _step so is steps a defined metric? Also, where are these multiple outputs coming from? Are you looping over print(run.history()['_step'].max()) ? I ran your code and it would only output one value so I am trying to understand how to replicate your noted behavior.

Yes it is a custom metric (it's training steps).
Multiple outputs are from multiple runs. I launch runs on a cluster and my code checks for existing completed runs (if steps >= 1M), but I noticed some inconsistent behavior: sometimes a run was not being resumed, sometimes it was. And it's all because run.history()['_step'].max() is never the same.

Hello! Could you send me a link to your project so that I can check out why the steps are different? I tested this with various runs on my end and I was getting expected results.

@rsanandres-wandb
Link. I made it public, let me know if it works or I need to make it open.
Thanks!
import wandb
api = wandb.Api()
entity = 'parisi'
project = 'accca'
id = 'eBipedalWalker-v3_s2_ktb0.5_prt0.1_dc0.5_ec2.0_mgn1.0_smFalse_sTrue_gspu10_bnTrue_dTrue'
run = api.run(f'{entity}/{project}/{id}')
print(run.history()['steps'].max())
print(run.history()['steps'].max())
print(run.history()['steps'].max())

Ah, thank you for the code I can see the inconsistent values now. After digging around in our codebase, this is due to the sampling that run.history() does (here). I would recommend looking into scan_history() instead which will give you all the values.

Great, that works! Thanks!

WandB Internal User commented:
rsanandres-wandb commented:
Hello @sparisi !
A couple things, what is run.history()['steps']? Our default metric for step would be _step so is steps a defined metric? Also, where are these multiple outputs coming from? Are you looping over print(run.history()['_step'].max()) ? I ran your code and it would only output one value so I am trying to understand how to replicate your noted behavior.

WandB Internal User commented:
sparisi commented:
Yes it is a custom metric (it's training steps).
Multiple outputs are from multiple runs. I launch runs on a cluster and my code checks for existing completed runs (if steps >= 1M), but I noticed some inconsistent behavior: sometimes a run was not being resumed, sometimes it was. And it's all because run.history()['_step'].max() is never the same.

WandB Internal User commented:
sparisi commented:
@rsanandres-wandb
Link. I made it public, let me know if it works or I need to make it open.
Thanks!
import wandb
api = wandb.Api()
entity = 'parisi'
project = 'accca'
id = 'eBipedalWalker-v3_s2_ktb0.5_prt0.1_dc0.5_ec2.0_mgn1.0_smFalse_sTrue_gspu10_bnTrue_dTrue'
run = api.run(f'{entity}/{project}/{id}')
print(run.history()['steps'].max())
print(run.history()['steps'].max())
print(run.history()['steps'].max())

WandB Internal User commented:
sparisi commented:
Great, that works! Thanks!


Fix: default import for story

Simply added 'from' to default import.

@Estasie Seems like fix is already in the codebase, closing this pr?


chore(deps): update docker/login-action digest to 5f4866a

This PR contains the following updates:

Package
Type
Update
Change

docker/login-action
action
digest
f4ef78c -> 5f4866a

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Failing to build cloud-haskell

Forgive me if I sound completely wonky; I'm new to this.
I'm trying to build with stack, and I get a plan construction failed error due to the build requiring an unattainable base version.
Can you please help? Is this, at all, due to [this]? (https://travis-ci.org/github/haskell-distributed/cloud-haskell)
Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for cloud-haskell-<IP_ADDRESS>:
    distributed-process-0.7.0 from stack configuration does not match ==0.6.*  (latest matching version is 0.6.6)
    network-transport-0.5.2 from stack configuration does not match ==0.4.*  (latest matching version is <IP_ADDRESS>)
needed since cloud-haskell is a build target.

In the dependencies for distributed-process-async-0.2.3:
    binary-<IP_ADDRESS> from stack configuration does not match >=<IP_ADDRESS> && <0.8  (latest matching version is <IP_ADDRESS>)
    distributed-process-0.7.0 from stack configuration does not match >=0.5.3 && <0.7  (latest matching version is 0.6.6)
    time-<IP_ADDRESS> from stack configuration does not match >1.4 && <1.6  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-async is a build target.

In the dependencies for distributed-process-client-server-<IP_ADDRESS>:
    binary-<IP_ADDRESS> from stack configuration does not match >=<IP_ADDRESS> && <0.8  (latest matching version is <IP_ADDRESS>)
    distributed-process-0.7.0 from stack configuration does not match >=0.5.2 && <0.7  (latest matching version is 0.6.6)
    time-<IP_ADDRESS> from stack configuration does not match >1.4 && <1.6  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-client-server is a build target.

In the dependencies for distributed-process-demos-<IP_ADDRESS>(-use-azure):
    binary-<IP_ADDRESS> from stack configuration does not match >=0.5 && <0.8  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-demos is a build target.

In the dependencies for distributed-process-execution-<IP_ADDRESS>:
    binary-<IP_ADDRESS> from stack configuration does not match >=<IP_ADDRESS> && <0.8  (latest matching version is <IP_ADDRESS>)
    distributed-process-0.7.0 from stack configuration does not match >=0.5.3 && <0.7  (latest matching version is 0.6.6)
    time-<IP_ADDRESS> from stack configuration does not match >1.4 && <1.6  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-execution is a build target.

In the dependencies for distributed-process-extras-<IP_ADDRESS>:
    binary-<IP_ADDRESS> from stack configuration does not match >=<IP_ADDRESS> && <0.8  (latest matching version is <IP_ADDRESS>)
    distributed-process-0.7.0 from stack configuration does not match >=0.5.3 && <0.7  (latest matching version is 0.6.6)
    time-<IP_ADDRESS> from stack configuration does not match >1.4 && <1.6  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-extras is a build target.

In the dependencies for distributed-process-registry-<IP_ADDRESS>:
    binary-<IP_ADDRESS> from stack configuration does not match >=<IP_ADDRESS> && <0.8  (latest matching version is <IP_ADDRESS>)
    distributed-process-0.7.0 from stack configuration does not match >=0.5.3 && <0.7  (latest matching version is 0.6.6)
    time-<IP_ADDRESS> from stack configuration does not match >1.4 && <1.6  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-registry is a build target.

In the dependencies for distributed-process-simplelocalnet-<IP_ADDRESS>:
    binary-<IP_ADDRESS> from stack configuration does not match >=0.6.3 && <0.8  (latest matching version is <IP_ADDRESS>)
    distributed-process-0.7.0 from stack configuration does not match >=0.5.0 && <0.7  (latest matching version is 0.6.6)
    network-multicast-0.2.0 from stack configuration does not match >=0.0 && <0.2  (latest matching version is 0.1.2)
    network-transport-0.5.2 from stack configuration does not match >=<IP_ADDRESS> && <0.5  (latest matching version is <IP_ADDRESS>)
    network-transport-tcp-0.6.0 from stack configuration does not match >=0.4 && <0.6  (latest matching version is 0.5.1)
    transformers-<IP_ADDRESS> from stack configuration does not match >=0.2 && <0.5  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-simplelocalnet is a build target.

In the dependencies for distributed-process-supervisor-<IP_ADDRESS>:
    binary-<IP_ADDRESS> from stack configuration does not match >=<IP_ADDRESS> && <0.8  (latest matching version is <IP_ADDRESS>)
    distributed-process-0.7.0 from stack configuration does not match >=0.5.3 && <0.7  (latest matching version is 0.6.6)
    time-<IP_ADDRESS> from stack configuration does not match >1.4 && <1.6  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-supervisor is a build target.

In the dependencies for distributed-process-task-<IP_ADDRESS>:
    binary-<IP_ADDRESS> from stack configuration does not match >=<IP_ADDRESS> && <0.8  (latest matching version is <IP_ADDRESS>)
    distributed-process-0.7.0 from stack configuration does not match >=0.5.3 && <0.7  (latest matching version is 0.6.6)
    time-<IP_ADDRESS> from stack configuration does not match >1.4 && <1.6  (latest matching version is <IP_ADDRESS>)
needed since distributed-process-task is a build target.

In the dependencies for network-transport-benchmarks-<IP_ADDRESS>:
    base-<IP_ADDRESS> from stack configuration does not match >=4.8 && <4.9  (latest matching version is <IP_ADDRESS>)
needed since network-transport-benchmarks is a build target.

In the dependencies for network-transport-composed-<IP_ADDRESS>:
    network-transport-0.5.2 from stack configuration does not match >=<IP_ADDRESS> && <0.5  (latest matching version is <IP_ADDRESS>)
needed since network-transport-composed is a build target.

Some different approaches to resolving this:

  * Set 'allow-newer: true' in /home/d/.stack/config.yaml to ignore all version constraints and build anyway.

  * Build requires unattainable version of base. Since base is a part of GHC, you most likely need to use a different GHC version
    with the matching base.

Plan construction failed.

Hello! It may be necessary to update the package bounds in cloud-haskell.cabal. Note though, that this package is deprecated and it isn't being maintained.

Hi @facundominguez!
Thank you for taking time out to reply.
I understand that the package isn't being maintained, and I am somewhat new to the Haskell world.
I'm trying to code some distributed consensus protocols, and multiple web sources seemed to suggest this package was the best one to use to abstracting away networking functionality. Would you suggest any other package instead?

In that case, it is probably better to start with distributed-process and consider other packages as needed. Good luck!

Great, thanks!


Exported project crashes

Godot version
v4.1.2.stable.mono.official [399c9dc39]
System information
Godot v4.1.2.stable.mono - macOS 14.0.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (10 Threads)
Issue description
Exported project crashes when launched. I don't even know what the error is to name this issue better. I initially thought it was the Failed to load hostfxr but apparently that's benign according to other issues?
I'm also not sure why there is reference to MobileVRInterface when our project has nothing to do with VR.
> ./Builds/Aetherift.app/Contents/MacOS/Aetherift
2023-11-04 17:05:02.438 Aetherift[70977:3358131] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Godot Engine v4.1.2.stable.mono.official.399c9dc39 - https://godotengine.org
Vulkan API 1.2.231 - Forward+ - Using Vulkan Device #0: Apple - Apple M1 Pro

ERROR: .NET: Failed to load hostfxr
   at: initialize (modules/mono/mono_gd/gd_mono.cpp:388)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.1.2.stable.mono.official (399c9dc393f6f84c0b4e4d4117906c70c048ecf2)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] 1   libsystem_platform.dylib            0x000000018f5d5a24 _sigtramp + 56
[2] Object* ClassDB::creator<MobileVRInterface>()
[3] Object* ClassDB::creator<MobileVRInterface>()
[4] JSON::get_data() const
[5] JSON::get_data() const
[6] JSON::get_data() const
[7] JSON::get_data() const
[8] RendererCompositorRD::_create_current()
[9] RendererCompositorRD::_create_current()
[10] 10  dyld                                0x000000018f22d058 start + 2224
-- END OF BACKTRACE --
================================================================
zsh: abort      ./Builds/Aetherift.app/Contents/MacOS/Aetherift
?134

Extract from native apple crash UI
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Aetherift [70977]
Path:                  /Users/USER/*/Aetherift.app/Contents/MacOS/Aetherift
Identifier:            com.aetherift.aetherift
Version:               1.0 (1.0)
Code Type:             ARM-64 (Native)
Parent Process:        zsh [2050]
Responsible:           iTerm2 [2046]
User ID:               501

Date/Time:             2023-11-04 17:05:06.1524 +0100
OS Version:            macOS 14.0 (23A344)
Report Version:        12
Anonymous UUID:        8E0C25D1-E27B-C53C-44BC-684AC7C01C83

Sleep/Wake UUID:       029C874C-E4BF-43D0-ABDF-36D2E559A571

Time Awake Since Boot: 260000 seconds
Time Since Wake:       14689 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   Aetherift [70977]

VM Region Info: 0 is not in any region.  Bytes before following region:<PHONE_NUMBER>
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->
      __TEXT                      102180000-105ec0000    [ 61.2M] r-x/r-x SM=COW  ...cOS/Aetherift

Application Specific Information:
abort() called

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x18f56f11c __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x18f5a6cc0 pthread_kill + 288
2   libsystem_c.dylib             	       0x18f4b6a50 abort + 180
3   Aetherift                     	       0x10255c678 0x102180000 + 4048504
4   libsystem_platform.dylib      	       0x18f5d5a24 _sigtramp + 56
5   Aetherift                     	       0x102a733ec 0x102180000 + 9384940
6   Aetherift                     	       0x102a74588 0x102180000 + 9389448
7   Aetherift                     	       0x104cdeeb8 0x102180000 + 45477560
8   Aetherift                     	       0x104cdf4fc 0x102180000 + 45479164
9   Aetherift                     	       0x104ce0644 0x102180000 + 45483588
10  Aetherift                     	       0x104ce08e4 0x102180000 + 45484260
11  Aetherift                     	       0x10259f27c 0x102180000 + 4321916
12  Aetherift                     	       0x1025832e4 0x102180000 + 4207332
13  dyld                          	       0x18f22d058 start + 2224

Steps to reproduce
Export my c# project and run.
Minimal reproduction project
Not sure of a good way to do this, the project is multiple gb :/ an empty c# project does not encounter the same issue on my machine.
Any suggestions?

Turns out this was a usage of [Tool] above one of our classes causing the build to kind of silently fail, but still confusingly produce a runnable exported game.
We added #if !GODOT_PC above each class annotated with [Tool] to allow us to build again. Bit annoying this isn't automatic, and that there's no define for either EXPORT or EDITOR_ONLY... but it seems to work for now.

Can you explain more what caused it to fail, in case others have the same issue in the future? You make it sound like it was just having a tool script?

Can you explain more what caused it to fail, in case others have the same issue in the future? You make it sound like it was just having a tool script?

It was quite literally having a csharp class annotated with [Tool]. If that's what a tool script is then yes it was just the existence of a tool script.
I did just stumble upon the TOOLS define which I've switched our tool scripts to being wrapped in.


Change to trick for Lightning Node raised chest

You still need the bomb bag to do this

Oh, so it should be Beetle | Bow | (Lightning Node End with Bombs Trick & Bomb Bag)?

Yes (parentheses only needed because you want them)


Reporter block with menu at the end does not render correctly

Expected Behavior
I should be able to create a reporter block with a menu following the text label that renders normally.
Actual Behavior
If I include a character after the menu (here, a period), the block renders as usual:

If I omit the period (i.e. the intended design of the block), the block does not render correctly:

Weirdly, though, there are existing reporter blocks with menus at the end that render just fine (such as "current [year]" in sensing), so I could be describing this incorrectly.
Steps to Reproduce
Here are the block definition and toolbox xml.
Operating System and Browser
Mac OS 10.11.6 Chrome 57.0.2987.133

any ideas @tmickel ?

Hey Eric!! happy to give a hint :P
Right now Blocks.wedo2_dropdown_tilt has an output, but it doesn't have an outputShape defined. Try adding this to the JSON definition (of wedo2_dropdown_tilt):
outputShape: Blockly.OUTPUT_SHAPE_ROUND

Why I suspect this might help:
First I inspected the block and saw this:

The first few path commands there are m 0,0 m 20,0 H NaN. Basically, it moves the SVG cursor to (0,0), then over 20 to make room for the left curve of the reporter. Then, H draws a horizontal line for the top of the block. In this case, it was NaN! That's pretty bad, and SVG stops trying at that point.
So why was it NaN? The most relevant functions are all in block_render_svg_vertical.js, which does all the computation and drawing for the vertical blocks. Most of the code here is renderDraw functions, which just assemble the SVG. The NaN is unlikely to be generated there (although in this case, if it was, it would be in renderTop). The first place to look with this kind of "math failure" is renderCompute_. renderCompute_ goes through all the inputs/fields of a block and computes their sizes, padding, etc., and organizes them into "rows" (most blocks in Scratch have 1 row; exceptions include C-blocks, for example - basically, rows extend downward...). I put a debug breakpoint at the end of renderCompute_ after stripping down the toolbox to only contain the relevant block. I noticed NaN showing up in a row.paddingEnd.
row.paddingStart and row.paddingEnd are a Scratch Blocks specific feature we did last year. Basically, they deal with situations like this:

In the bottom block, the input is lined up with the parent block. In the top block, it's padded/offset farther to the right (paddingStart). Carl can tell you a lot more about the system we worked on for these. The rules are encoded in Blockly.BlockSvg.prototype.computeOutputPadding_ and Blockly.BlockSvg.SHAPE_IN_SHAPE_PADDING here: https://github.com/LLK/scratch-blocks/blob/develop/core/block_render_svg_vertical.js#L439
A problem here is that the code assumes every output block has an outputShape defined. This code ran: https://github.com/LLK/scratch-blocks/blob/develop/core/block_render_svg_vertical.js#L933, but there was no outputShape for the dropdown menu, so it was looking up [null] and returning NaN for the padding.
you may want to:

Detect when there's no outputShape defined and throw.
Assume that no outputShape defined means square (this is true for drop-downs, but not true for other types like text inputs...)
Just return 0 padding in this situation...
Something else

Hope that makes a little bit of sense, it's a bit thorny to explain. The code is pretty documented, though, so you might have a better grasp of it by looking there and tracing the NaN yourself :)
let me know if you have any more questions...!

Thanks @tmickel !!! That totally wins the prize for simple fix with thorough explanation :) Much appreciated!

Fixed by https://github.com/LLK/scratch-gui/commit/e8f4dadf5f6251ddee7130ba14e14e9f49ae70bd


Issue: Unable to Login to X.com API Using twikit Client - LoginFlow Not Accessible (Error 400)

I am trying to authenticate to X.com (formerly Twitter) using the twikit Python client. While attempting to log in using my credentials or cookies, I consistently encounter the following error:
status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
Steps to Reproduce
Load or attempt to log in with credentials or cookies.
Run the script using twikit's Client.login() function.
Example Code Snippet
from twikit import Client
import asyncio
from configparser import ConfigParser

# Load credentials
config = ConfigParser()
config.read('config.ini')
username = config['X']['username']
email = config['X']['email']
password = config['X']['password']

client = Client(language='en-US')

async def main():
    try:
        await client.login(auth_info_1=username, auth_info_2=email, password=password)
        client.save_cookies('cookies.json')
        print("Login successful, cookies saved.")
    except Exception as e:
        print(f"Login failed: {e}")

# Run the async function
asyncio.run(main())

Error Message
status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
Additional Information

Environment: Ubuntu 22 LTS, Python 3.10

Library version: twikit vX.X.X (latest version)

X.com API Access: Standard user account (no developer API access)
Tried solutions:

Using valid credentials

Expected Behavior
Successful login and subsequent authentication using either credentials or cookies.
Actual Behavior
The login process fails with a 400 error, and the LoginFlow is reported as "not accessible".
Request for Help

Is this a known issue related to changes in X.com's authentication flow?
Any workarounds or solutions for this issue would be greatly appreciated.

if os.path.exists("cookies.json"):
client.load_cookies("cookies.json")
else:
await client.login(
auth_info_1=AUTH_INFO_1, auth_info_2=AUTH_INFO_2, password=PASSWORD
)
client.save_cookies("cookies.json")
    load the cookie

if os.path.exists("cookies.json"):
        client.load_cookies("cookies.json")
    else:
        await client.login(
            auth_info_1=AUTH_INFO_1, auth_info_2=AUTH_INFO_2, password=PASSWORD
        )
        client.save_cookies("cookies.json")

    load the cookie

Thanks for the suggestion!
The issue I'm facing occurs during the login process itself. When I try to log in using credentials, I receive the following error:
status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
Since the login isn't successful, the client.save_cookies() step doesn't execute, so I can't generate or use the cookies.json file. That’s why even if I use a check for the existence of cookies.json, it doesn't resolve the underlying issue.
Do you have any suggestions on how to handle this or bypass the login issue?

did you solve the issue? @aqbspl

Not yet, @mohanad-hafez I am getting the same error

Same issue here

was anyone able to solve this? or did you find other alternatives?

I'm trying it today, and I have the same issue.. any idea?

use this repo:
https://github.com/mdmrcglu/twikit
worked for me, just install with:
pip3 install --upgrade git+https://github.com/mdmrcglu/twikit.git
theres a pull request to merge this into the main branch

use this repo: https://github.com/mdmrcglu/twikit
worked for me, just install with: pip3 install --upgrade git+https://github.com/mdmrcglu/twikit.git
theres a pull request to merge this into the main branch

This solution produces the following exception for me on utils.py:103:
    return self.response['subtasks'][0]['subtask_id']
IndexError: list index out of range

I installed with: pip3 install --upgrade git+https://github.com/mdmrcglu/twikit.git
but same error occurs.
return self.response['subtasks'][0]['subtask_id']
IndexError: list index out of range

Is there no solution to this problem？

use this repo: https://github.com/mdmrcglu/twikit
worked for me, just install with: pip3 install --upgrade git+https://github.com/mdmrcglu/twikit.git
theres a pull request to merge this into the main branch

I use this but

use this repo: https://github.com/mdmrcglu/twikit
worked for me, just install with: pip3 install --upgrade git+https://github.com/mdmrcglu/twikit.git
theres a pull request to merge this into the main branch

This solution produces the following exception for me on utils.py:103:
    return self.response['subtasks'][0]['subtask_id']
IndexError: list index out of range

hey @dvilelaf  did you solve that problem ?

Perhaps this solution will help you figure out the problem click

Not really, both repos show issues for me, but not always. Sometimes it just works. For now, i'm logging via cookies. Looking forward for the fix PRs to be merged.

How do you log via cookies? Is there a tutorial somewhere which I missed? @dvilelaf

How do you log via cookies? Is there a tutorial somewhere which I missed? @dvilelaf

https://github.com/d60/twikit/issues/227#issuecomment-2394925822
You will need to extract the cookies from your browser

fixed in v2.2.0


Consider migrating from jennifer to text/template

Initially, using jennifer has been a great experience. Unfortunately, as the code grows, it is becoming more complex to use.
Consider using text/template as a simpler alternative to jennifer.

PR: https://github.com/sf9v/nero/pull/3