Error string in Exception Handler is nil when an exception is thrown from a conditional statement

Describe the bug
When a conditional statement is used inside the Try block to determine whether-or-not an exception is thrown, and that condition causes an exception to be thrown, the resulting string from the caught exception is (nil) in the Exception Handler.
To Reproduce

Enter the following snippet into a fresh E2 file (overwriting the boilerplate code in the process)...

@name exception_handling_test
@strict

if (first())
{
    # Set Throw_an_exception to any value other than zero to trigger an exception, right off the bat.
    let Throw_an_exception = 1

    try
    {
        if (Throw_an_exception != 0)
        {
            error("An exception was throw, right off the bat.")
        }
    }
    catch(Exception:string)
    {
        # The Exception string is not actually printed, because it technically contains nothing.
        print("Exception caught:")
        print(Exception)
        #]#

        #[You MAY comment out the print statements above, to test the error ping here.

Chat print will simply read Exception caught: with no text present where An exception was thrown, right off the bat. should be.

Alternatively, you can combine the two print() statements to look like print("Exception caught: " + Exception), and the E2 will shut down with an obscure error (see attached screenshot).
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

This error comes up when Exception is combined with any string constant.

This is just a guess since I can't debug it, but maybe this is at fault:
https://github.com/wiremod/wire/blob/master/lua/entities/gmod_wire_expression2/base/compiler.lua
						state.Scope[err_var.value] = (type(msg) == "string") and msg or ""

err_var.value really shouldn't be there at runtime (bind to a variable in case err_var is changed). although you'd think that would cause an error from setting a nil index..


Wired Behavior of AudioSensor

Hi, I am working with sound space but found something strange. Can anyone help me out?
I am reading RIR from a audio sensor but the length of RIR arrays changed after first time. I think the RIR array should be same because the agent did not move and the simulator time did not change. Here is my code:
    cfg = conf()
    sim = habitat_sim.Simulator(cfg)

    audio_sensor = sim.get_agent(0)._sensors["audio_sensor"]
    audio_sensor.setAudioMaterialsJSON("data/mp3d_material_config.json")
    audio_sensor.setAudioSourceTransform(np.array(source))
    for i in range(4):
        obs = sim.get_sensor_observations()
        rir = np.array(obs["audio_sensor"]).T
        print(sim.get_world_time(), len(rir))

Here is the output:
0.0 17194
0.0 19065
0.0 19065
0.0 19065

Here is the config of the audio sensor:
    audio_sensor_spec = habitat_sim.AudioSensorSpec()
    audio_sensor_spec.uuid = "audio_sensor"
    audio_sensor_spec.enableMaterials = True  # make sure _semantic.ply file is in the scene folder
    audio_sensor_spec.channelLayout.type = habitat_sim.sensor.RLRAudioPropagationChannelLayoutType.Mono
    audio_sensor_spec.channelLayout.channelCount = 1
    audio_sensor_spec.position = [0.0, 1.5, 0.0]
    audio_sensor_spec.acousticsConfig.sampleRate = 16000
    audio_sensor_spec.acousticsConfig.indirect = True
    sensors.append(audio_sensor_spec)

@Wind-Wing the acoustics simulation is based on Monte-Carlo path tracing to speed things up so there is a little bit of stochasticity (expected). However, the macro characteristics of the impulse response should be almost the same, e.g., rt60. If you plot these impulse responses, you should not really see a difference. Let me know if this is what you observe.

Thanks for the replay! The plots are almost the same.
However, I think the doc should mention this problem. This output is really confusing.

Sounds good. Will add that.


Error undefined symbol FoldingSetImpl

The command I'm using:
$ /path/to/opt -load /path/to/souper/build/libsouperPass.so -souper -z3-path=/path/to/z3/bin/z3 solveme.bc -o opt_solveme.bc

The error I'm getting:
Error opening '/path/to/souper/build/libsouperPass.so':  /path/to/souper/build/libsouperPass.so: undefined symbol: _ZN4llvm14FoldingSetImpl6anchorEv

I get the same error with the clang command listed in the google/souper README. Running souper seems to output the optimizations I want but I can't them to apply to the bitcode. The drop in sclang compiles the bitcode but I do not see the optimizations when disassembling.
This is the optimization that souper spits out:
; Static profile 1
; Function: do_something
%0:i32 = var
%1:i32 = and 7:i32, %0
%2:i32 = or 7:i32, %1
%3:i32 = mul %2, %2
%4:i32 = mul 2:i32, %3
%5:i32 = or 4:i32, %1
%6:i32 = mul %5, %5
%7:i32 = mul 83:i32, %6
%8:i1 = eq %4, %7
cand %8 0:i1

If I'm reading it correctly, it optimized all that stuff to 0. That is exactly what I was hoping it would do.

I wasn't using the opt in souper/thirdparty/llvm/Release/bin/opt - I tried that one and got no error. Issue closed.


Initial TLS/SSL support.

Hi I have implemented initial TLS/SSL support. This is what you can do with these changes:

AUTH_LDAP_TLS: Enable TLS/SSL.
AUTH_LDAP_TLS_VALIDATE: Toggle whether the certificate will be validated.
AUTH_LDAP_TLS_CA_CERTS: Provide a file with the CA certs to verify the server certificate.
AUTH_LDAP_TLS_LOCAL_CERT and AUTH_LDAP_TLS_PRIVATE_KEY: Perform client authentication with private key and certificate.

This is fantastic, thank you so much! I'll give it a go today and all going well accept this soon!
Thanks again

Merged and published in version 0.9.5, now on PyPi.
You've helped a huge way towards 1.0 - this was the last major feature for that release


More clear log

I don't see nil and empty strings in log.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #638   +/-   ##
=======================================
  Coverage   49.53%   49.53%
=======================================
  Files          33       33
  Lines        7039     7039
=======================================
  Hits         3487     3487
  Misses       3077     3077
  Partials      475      475

Impacted Files
Coverage Δ

engine.go
56.74% <100%> (ø)
:arrow_up:

xorm.go
69.49% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39a812d...abe8474. Read the comment docs.

Thanks!


Cannot run docker image

I try running the docker image as said in the installation guide and get this message

and then in just hangs like that. I can't keyboard interrupt, all I can do is just quit the terminal (PowerShell on Windows 11)
I also tried running the docker image on docker desktop in which I get this error

The test command works locally, but I can't attempt to run it inside the docker container at all, since it immediately crashes.
Only changes I've made was to install gpu version of torch via their guide and to rename the docker-compose-nvidia.yaml file to docker-compose.yaml. I also skipped the step where it says to install the NVIDIA Container Toolkit because link gives guide on how to do it on Linux and not on windows (or wsl 2).

EDIT: I have (or think) that I have installed the Container Toolkit, but it still gives the same error

Hi,
Regarding the second error. You need to first implement an agent. For testing purposes, you can put the dummy agent example:
https://air-hockey-challenges-docs.readthedocs.io/en/latest/framework.html#dummy-agent
in the air_hockey_agent/agent_builder.py
Unfortunately, we can not support the docker installation on windows. You can try to develop the agent locally and evaluate in the docker without visualization.
In addtiona, here is some instructions on the docker usage with windows:
Instructions for Docker on Windows:

- Install vcxsrv (to let Docker use the display of Windows system for the render)
- Install docker-desktop
- Change docker-compose.yaml like this:

--->  replace     DISPLAY=${DISPLAY}
with          DISPLAY=host.docker.internal:0.0

--->  replace     "${PWD}/:/src/2023-challenge"
with          "./:/src/2023-challenge"
where ./ can be filled with any path inside the docker-container.

- Build the image with command docker compose build from Powershell
- Run the container with docker compose run challenge from Powershell

So, I've been following the steps again, and I installed the docker container on wsl 2 but when I try to run the test command in wsl 2 but not on docker I get this error.

When I try checking my glx version with glxinfo I get this error

I have looked far and wide for an answer for this but have found nothing useful.

Thats strange. What is you Windows Version? According to Microsoft Windows 10 Build 19044+ and Windows 11 should support running Linux GUI application (X11 and Wayland) out of the box with wsl2 (source). You should not install Xming on your own.
One issue could be that your GPU driver is not up to date.  If xeyes or glxgears still fail with the latest GPU driver you can create a wsl issue for your hardware.
Another participant shared this setup to get the GUI output of docker on windows.  Thanks to @amarildolikmeta.
Instructions for Docker on Windows:

- Install vcxsrv (to let Docker use the display of Windows system for the render)
- Install docker-desktop
- Change docker-compose.yaml like this:

--->  replace     DISPLAY=${DISPLAY}
with          DISPLAY=host.docker.internal:0.0

--->  replace     "${PWD}/:/src/2023-challenge"
with          "./:/src/2023-challenge"
where ./ can be filled with any path inside the docker-container.

- Build the image with command docker compose build from Powershell
- Run the container with docker compose run challenge from Powershell

I have not tested this but it might be an option for you.

So xeyes works completely fine its just glxgears and glxinfo that gives me weird errors. They were working at some point, but I think I may have upgraded some kind of package (attempting to get them to upgrade to 1.3) and they just broke after that. I'm not running any weird hardware (3060, i9-11900k) and my drivers are up to date. I'll definetly check out how to get GUI output of docker onto windows, but is there any point  if the test command doesn't.

So I don't know if you saw  but xeyes does work (sorry for not highlighting earlier) and I am on my gpus latest driver (3060). I''m also on the latest windows 11 update.

One of the main problems I'm having is running `glxinfo`

I also did run the commands you suggested but they take no effect. I do have mesa-utils installed and everything and like I said I'm not running weird hardware or anything.

If glxinfo does not work you i would suggest to reset wsl. Im sorry but we do not have the resources to help you troubleshoot your wsl setup.
To participate in the challenge i suggested a workarround above, or just use linux.

Ok, should I delete Ubuntu as well or just WSL?

 This article outlines how to reset a wsl distro without deleting and reinstalling it.

Completely unrelated question (bored while everything is installing again) what do you think is a good book or course for reinforcement learning such as this. I don't plan on winning any award or anything at this competition but I thought it would be a good way to learn a bit more.

 This article outlines how to reset a wsl distro without deleting and reinstalling it.

Ok I just reinstalled and it still gives me the same exact error

I think I will try just running local, thank you for trying to help.


Test solutions for handling font-size differences between Themes

Font size differs for some text styles between current Salt and Salt Next. We need a solution within Figma that enables font size to be controlled by a theme selection so designers are not required to set font size ramps in addition to selecting a theme, mode, and density.
It is likely this solution will be required for other potential themes also, for instance Chase and Data Dense may not have the same font sizes as 'Salt Next', so it is important to solve the problem now.

The Brine POC has successfully shown font size can be incorporated within a theme in Figma.


Add on demande vms

Codecov Report

Merging #100 (075d37a) into main (8fd90c8) will increase coverage by 0.56%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   70.41%   70.97%   +0.56%
==========================================
  Files          15       15
  Lines         818      827       +9
==========================================
+ Hits          576      587      +11
+ Misses        242      240       -2

Impacted Files
Coverage Δ

srcs/runners_manager/runner/RunnerManager.py
94.44% <33.33%> (-2.66%)
:arrow_down:

srcs/runners_manager/runner/Manager.py
58.58% <80.00%> (+5.95%)
:arrow_up:

srcs/runners_manager/runner/tests/test_manager.py
100.00% <100.00%> (ø)

srcs/runners_manager/vm_creation/VmType.py
95.00% <100.00%> (+0.88%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fd90c8...075d37a. Read the comment docs.

Do we need to add the max on the runner_creation  ? It could simplify some part of the code.
But it can add unwanted limit on the on_demand vms


MonitorControl crashes with a trace trap message when mac comes out of monitor sleep

Discussed in https://github.com/MonitorControl/MonitorControl/discussions/1063

Originally posted by ivahos June  3, 2022
Hi
I have discovered a bug when running monitorcontrol on my mac studio. Sometimes the mac uses a longer time than normal to detect the monitor after a monitor sleep, when this happens MonitorControl often crashes.
ivar@Jumbo MacOS % ./MonitorControl
zsh: trace trap  ./MonitorControl
I have created a workaround by starting the app from a shell script that keeps relaunching it whenever it quits.
MonitorControl-2022-06-03-111213.ips.zip
I am attaching the crash log from the console app.

Experiencing this too. Downgrade to 4.0.x works.
(M1 Pro, Ventura RC)


Deprecation warning: Use grpc.loadPackageDefinition

Getting a warning when using this library. Should probably update the proto loading at some point to fix the deprecation warning.
DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead

Proto is requested directly from LND/lnrpc/rpc.proto so it should be up to date, unless you haven't installed this package in a while.
At any rate I'll checkout that warning and see what can be done.

Replace usage of grpc.load with  proto-loader and determine if google annotations can now be loaded instead of removed.

I worked on this a bit here: https://github.com/LightningK0ala/lnrpc
A couple of things...

napa can cause a corrupt cache, so I added a napa-config to package.json which will ignore the cache, hopefully preventing users from getting stuck like I did today. More details
Leaving the annotations seems to work fine now.
Making RPC calls works.
Setting up subscriptions doesn't work :( I tried with subscribeInvoices and I'm getting the following error:

(node:66139) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'add_index' of undefined
    at Type.InvoiceSubscription$fromObject [as fromObject] (eval at Codegen (/~/LightningK0ala/lnrpc/node_modules/@protobufjs/codegen/index.js:50:33), <anonymous>:7:8)
    at Type.fromObject (/~/LightningK0ala/lnrpc/node_modules/protobufjs/src/type.js:538:25)
    at serialize (/~/LightningK0ala/lnrpc/node_modules/@grpc/proto-loader/build/src/index.js:55:27)
    at Object.final_requester.sendMessage (/~/LightningK0ala/lnrpc/node_modules/grpc/src/client_interceptors.js:1023:21)
    at InterceptingCall._callNext (/~/LightningK0ala/lnrpc/node_modules/grpc/src/client_interceptors.js:418:43)
    at InterceptingCall.sendMessage (/~/LightningK0ala/lnrpc/node_modules/grpc/src/client_interceptors.js:460:8)
    at InterceptingCall._callNext (/~/LightningK0ala/lnrpc/node_modules/grpc/src/client_interceptors.js:424:12)
    at InterceptingCall.sendMessage (/~/LightningK0ala/lnrpc/node_modules/grpc/src/client_interceptors.js:460:8)
    at Proxy.Client.makeServerStreamRequest (/~/LightningK0ala/lnrpc/node_modules/grpc/src/client.js:631:21)
    at apply (/~/LightningK0ala/lnrpc/node_modules/lodash/lodash.js:476:27)
(node:66139) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:66139) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Thanks for looking into this!  I'm working on this as well and also running into breakage with the new grpc definition.
While it creates the grpc definition from rpc.proto successfully, actually making calls has had mixed results for me as well.  For example initWallet is throwing errors with previously valid arguments.  Responses from the new grpc definition are completely different as well (ie camel cased instead of snake).
In light of this, I'm going to leave this issue open until the proto-loader package produces a more consistent definition with our current implementation.  Addressing the grpc-node package's warning at this time will result in breaking user code, which can't happen.  I'll commit the code I have so far.
In regards to the napa caching issue, lets address that in a different issue.  I'm not sure I 100% understand the problem you're having, but let's connect on the LND slack and hash it out if you're able to.

Glad to help!
Agreed, I've also stuck to the existing implementation for now. The camel case issue you're having can be fixed if you pass in an option, see:
https://github.com/LightningK0ala/lnrpc/blob/3831481292c8ef8884b6ecb28205075b696dbd22/lib/lnrpc.js#L133
I'll ping you on slack!

What's your handle?


Grid scrolling issue with bootstrap title

https://forum.serphacker.com/post.php?tid=169

won't fix until v3 because grid library is going to change


Fix the initial spawning position of champions

Currently, the spawning position is not very balanced, the blue team is closer to the red nexus...

@EliottBICS

@PEJU2801


luci-i18n-base-es: "Master" does not appear translated.

I think that's an established term.
And therefore needs no translation.

"Master" is translatable and available for translation on Weblate. As I see, it is already translated into Spanish. This issue can be closed.

It is the same as in the other issue.

Still not solved.


sampctl support

will there be added support sampctl?
(sampctl.com)

You can specify any git repo as a dependency already:
sampctl package install Zeex/samp-plugin-jit

when connecting include - it is not visible


docs: bump a11y and docs-framework deps

Preview: https://virtual-assistant-pr-virtual-assistant-309.surge.sh
A11y report: https://virtual-assistant-pr-virtual-assistant-309-a11y.surge.sh

@rebeccaalpert
The lines added to the pr-preview.yml GH action should resolve the failures. But it won't run the updated GH action until the change merges.
The same change was added to the core gh actions to resolve the issue, so i'm pretty confident.


aggregate_arrow_all(...) >four times slower in version 1.0.2 compared to 1.0.1 with fields objects

Hi,
Thanks again for fixing the bugs in Version 1.0.2.
Unfortunately it seems that the new version loads data approx.. >four times slower in case there are nested fields in the schema.
(without nested fields there seems to be no speed difference)
Are you aware of any issue already?
We will post a unit test to reproduce the error here soon.
Sebastian

Hi @sibbiii, this is captured in https://jira.mongodb.org/browse/ARROW-179.

Hi @blink1073,
Thanks for this info. The issue is that version 1.0.2 is so incredibly slow now that is unusable to load large datasets. Maybe we should mention this in the release notes (version 1.0.1 is fine) as MongoDB Arrows primary purpose is to be fast.
If we can help here please let me know,
Sebastian

Hi @sibbiii, we are thinking of reverting to the 1.0.1 behavior and documenting the limitation.  I just wanted to verify that the 1.0.1 behavior you described in #163 was not a blocker, but more of a desired feature (which we're tracking in ARROW-179).

Thanks, I filed https://jira.mongodb.org/browse/ARROW-181.


Dapr Security Best Practice

In what area(s)?

/area runtime

I understand that default behavior between Dapr sidecars is to use mTLS.
However the communication between the application and Dapr is plain text http.  Are there security concerns with this approach or is it generally considered safe?

You can read about Dapr's security architecture here: https://docs.dapr.io/concepts/security-concept/
Communicate from the application and the sidecar is not encrypted (plain-text HTTP or gRPC), but we do not believe that to be a concern. The two should always be placed side-by-side, in the same pod (if running on Kubernetes), and communicate only over localhost.

@ItalyPaleAle  that covers what I need.  Thank you.


Could not find bootstrapped module.

I'm trying to migrate an existing web project using NativeScript Schematics but get an error of
Could not find bootstrapped module.

Not sure if it because it's a multi project setup
Angular CLI: 6.2.2
Node: 8.11.3
OS: darwin x64
Angular: 6.1.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Package                            Version
@angular-devkit/architect          0.8.2
@angular-devkit/build-angular      0.8.2
@angular-devkit/build-optimizer    0.8.2
@angular-devkit/build-webpack      0.8.2
@angular-devkit/core               0.8.2
@angular-devkit/schematics         0.8.2
@angular/cdk                       6.4.7
@angular/cli                       6.2.2
@angular/material                  6.4.7
@angular/material-moment-adapter   6.4.7
@angular/pwa                       0.7.5
@ngtools/webpack                   6.2.2
@schematics/angular                0.8.2
@schematics/update                 0.8.2
rxjs                               6.3.2
typescript                         2.9.2
webpack                            4.19.0

Hi, I was facing the same issue while trying to add the schematics to an existing app, so I started debugging the schematics until I found that during bootstrap it tries to figure out the AppModule filename from the import in main.ts.
Problem was, in my case the import was as following:
import {AppModule} from "./app";

Changing it to a full path import worked:
import {AppModule} from "./app/app.module";

I'm pretty sure this is an issue with the schematics, but at least there's a workaround to generate the initial .tns files.

Hi @dottodot, what is the command that you are running when that error occurs?

Closing due to inactivity. @dottodot if you are still experiencing issues please do let me know.

Hi @decmurphy, what is the structure of your web app? Could you also share your main.ts and angular.json files? Sorry for the inconvenience.

No problemo! I have an angular-cli app, structure is as follows:
src
|_ app
    |_components
        |_home
        |_about
        |_user
    |_shared
        |_directives
        |_interfaces

main.ts:
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { AppModule } from 'app/app.module';
import { environment } from 'environments/environment';

if (environment.production) {
  enableProdMode();
}

window['CESIUM_BASE_URL'] = '/assets/cesium/';

platformBrowserDynamic().bootstrapModule(AppModule)
  .catch(err => console.log(err));

app paths are absolute because of the baseUrl in my tsconfig.json - this works fine:
{
    "compileOnSave": false,
    "compilerOptions": {
        "baseUrl": "./src",
        "outDir": "./dist/out-tsc",
        "sourceMap": true,
        "declaration": false,
        "moduleResolution": "node",
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "target": "es5",
        "typeRoots": [
            "node_modules/@types"
        ],
        "lib": [
            "es2017",
            "dom"
        ]
    }
}

Finally, angular.json:
{
    "$schema"<EMAIL_ADDRESS>    "version": 1,
    "newProjectRoot": "projects",
    "projects": {
        "flightclub-client": {
            "root": "",
            "sourceRoot": "src",
            "projectType": "application",
            "architect": {
                "build": {
                    "builder": "@angular-devkit/build-angular:browser",
                    "options": {
                        "outputPath": "dist",
                        "index": "src/index.html",
                        "main": "src/main.ts",
                        "tsConfig": "src/tsconfig.app.json",
                        "polyfills": "src/polyfills.ts",
                        "assets": [{
                                "glob": "**/*",
                                "input": "node_modules/cesium/Build/Cesium",
                                "output": "assets/cesium"
                            },
                            "src/assets",
                            "src/favicon.ico"
                        ],
                        "styles": [
                            "node_modules/cesium/Build/Cesium/Widgets/widgets.css",
                            "src/styles.scss"
                        ],
                        "scripts": [
                            "node_modules/cesium/Build/Cesium/Cesium.js"
                        ]
                    },
                    "configurations": {
                        "production": {
                            "optimization": true,
                            "outputHashing": "all",
                            "sourceMap": false,
                            "extractCss": true,
                            "namedChunks": false,
                            "aot": true,
                            "extractLicenses": true,
                            "vendorChunk": false,
                            "buildOptimizer": true,
                            "fileReplacements": [{
                                "replace": "src/environments/environment.ts",
                                "with": "src/environments/environment.prod.ts"
                            }]
                        },
                        "staging": {
                            "optimization": true,
                            "outputHashing": "all",
                            "sourceMap": false,
                            "extractCss": true,
                            "namedChunks": false,
                            "aot": true,
                            "extractLicenses": true,
                            "vendorChunk": false,
                            "buildOptimizer": true,
                            "fileReplacements": [{
                                "replace": "src/environments/environment.ts",
                                "with": "src/environments/environment.staging.ts"
                            }]
                        }
                    }
                },
                "serve": {
                    "builder": "@angular-devkit/build-angular:dev-server",
                    "options": {
                        "browserTarget": "flightclub-client:build"
                    },
                    "configurations": {
                        "production": {
                            "browserTarget": "flightclub-client:build:production"
                        },
                        "staging": {
                            "browserTarget": "flightclub-client:build:production"
                        }
                    }
                },
                "extract-i18n": {
                    "builder": "@angular-devkit/build-angular:extract-i18n",
                    "options": {
                        "browserTarget": "flightclub-client:build"
                    }
                },
                "test": {
                    "builder": "@angular-devkit/build-angular:karma",
                    "options": {
                        "main": "src/test.ts",
                        "karmaConfig": "./karma.conf.js",
                        "polyfills": "src/polyfills.ts",
                        "tsConfig": "src/tsconfig.spec.json",
                        "scripts": [],
                        "styles": [
                            "src/styles.scss",
                            "src/fc-theme.scss"
                        ],
                        "assets": [
                            "src/assets",
                            "src/favicon.ico"
                        ]
                    }
                },
                "lint": {
                    "builder": "@angular-devkit/build-angular:tslint",
                    "options": {
                        "tsConfig": [
                            "src/tsconfig.app.json",
                            "src/tsconfig.spec.json"
                        ],
                        "exclude": [
                            "**/node_modules/**",
                            "**/src/environments/*"
                        ]
                    }
                }
            }
        },
        "flightclub-client-e2e": {
            "root": "e2e/",
            "sourceRoot": "e2e",
            "projectType": "application",
            "architect": {
                "e2e": {
                    "builder": "@angular-devkit/build-angular:protractor",
                    "options": {
                        "protractorConfig": "./protractor.conf.js",
                        "devServerTarget": "flightclub-client:serve"
                    }
                },
                "lint": {
                    "builder": "@angular-devkit/build-angular:tslint",
                    "options": {
                        "tsConfig": [
                            "e2e/tsconfig.e2e.json"
                        ],
                        "exclude": [
                            "**/node_modules/**"
                        ]
                    }
                }
            }
        }
    },
    "defaultProject": "flightclub-client",
    "schematics": {
        "@schematics/angular:component": {
            "prefix": "fc",
            "styleext": "scss"
        },
        "@schematics/angular:directive": {
            "prefix": "fc"
        }
    }
}


Adding HAL profiling API and RenderDoc support for Vulkan.

TLDR: configure with -DIREE_ENABLE_RENDERDOC_PROFILING=ON, pass the --device_profiling_mode=queue flag to the IREE tools, and launch the tools from the RenderDoc UI in order to get a capture (or use renderdoccmd capture):

Things are set up to allow for other profiling modes in the future but how best to integrate those is TBD. We can figure out how to scale this with other tooling and on other backends but the rough shape of the API should be compatible with the various backend APIs we target (D3D/Metal/CUDA/Vulkan/perf/etc). Note that because RenderDoc will also capture D3D the cmake flag is generic but both the Vulkan and D3D HAL implementations will need to load it themselves (no real code worth sharing as D3D naturally only needs the Windows API query path).
Docs have notes that I've verified on Windows. Someone looking to use this on Android will need to figure that out and can add what they find.
Fixes #45. Forty five. Wow.

An unrelated test failed (flaked? timed out?)
https://github.com/iree-org/iree/actions/runs/3317175665/jobs/5480042484
ConnectionResetError: [Errno 104] Connection reset by peer

Failed Tests (1):
  TENSORFLOW_TESTS :: iree_tf_tests/uncategorized/llvmcpu__mobile_bert_squad.run\

I saw the same thing on https://github.com/iree-org/iree/pull/10871

Ew yeah that's a tf flake downloading a file? Nasty.


WIP: Updated chef-server version to 15.9.12.

:nut_and_bolt: Description: What code changed, and why?
Updated chef_server version to 15.9.12.

:chains: Related Resources
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
:white_check_mark: Checklist
All PRs must tick these:

[ ] I have read the CONTRIBUTING document.
[ ] All commits signed-off for the Developer Certification of Origin.

With occasional exceptions, all PRs from Progress employees must tick these:

[ ] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
[ ] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
[ ] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
[ ] Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
[ ] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

[ ] Tests added/updated? (all new code needs new tests)
[ ] Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.
:camera: Screenshots, if applicable

Not required.


Upgrade Dependencies

Due recent problems with updating eo we lost several dependency updates. Check the PRs created by renovate https://github.com/objectionary/jeo-maven-plugin/pulls. We need to update all these deps.

@volodya-lombrozo Thanks for submitting this ticket! However, as you see, it was not accepted by the team, which is sad. You've earned -16 points. By reporting bugs or suggesting enhacements, you help our project improve its quality. Please, don't be discouraged. Instead, try to be more careful next time, and do not hesitate to report bugs. Your running balance is +12.


Support options hash when invoking row-related methods like Table.addRow()

Currently, when invoking row-related methods like Table.addRow(), the options hash doesn't make it to the Row constructor:
this.set('table', new Table(columns = [], rows = []));

this.get('table').addRow({
  key: 'value'
}, {
  classNames: 'some-class-name'
});

// class name is not set on the row

To get the options to be set on a row, you currently have to initialize a Row first.
let row = new Row({
  key: 'value'
}, {
  classNames: 'some-class-name'
});

this.get('table').addRow(row);

Would it not be great if you could pass along the options along with the data when using methods like addRow or pushRow?

@curtisgr agreed. That functionality should have been there already but I guess I missed it 😝 .


Aptly API - RHEL6

Howdi,
Fringe case but the aptly::apiclass does not work on RHEL6 due to the following seems invalid sytax;
setuid <%= @user %>
setgid <%= @group %>
Also the command puppet then uses to start the service is '/sbin/service aptly-api start' and if it is upstart it neds to be "initctl start aptly-api". Might be best to use good  old style /etc/init.d? :)

Hi @eperdeme,
Unfortunately RHEL6 is not one of our supported operating systems. We believe it would raise too many edge cases such as the issue you have described here.
Thanks,
Paul


fix(sec): upgrade org.codehaus.groovy:groovy-all to 2.4.8

What happened？
There are 1 security vulnerabilities found in org.codehaus.groovy:groovy-all 2.4.7

CVE-2016-6814

What did I do？
Upgrade org.codehaus.groovy:groovy-all from 2.4.7 to 2.4.8 for vulnerability fix
What did you expect to happen？
Ideally, no insecure libs should be used.
The specification of the pull request
PR Specification from OSCS

Hi @Super-Sky
Thank you very much for your contribution. Please take out the file formatting from your commit.


Retrieving/Generating token from using credentials javascript, and using token for example call. Help?

I am new to github but by no means new to this API, up to this point my application uses credentials (username, password) every time i make a call to .orders or .positions etc etc.
I can find the token in the response of any call, but when i try to use it in place of the user credentials for any call i get "invalid token". I know i am missing something simple.
//Login script to get token

var credentials = {
    username: 'username',
    password: 'password'
};
var token;
var Robinhood = require('robinhood')(credentials, function(){
    //.log_in does not exist, I am advocating it be added
    //Simple call to use credentials to get the token somehow
    Robinhood.log_in(function(error, response, body){
        if (error){
            console.log(error);
        }else{
            //Do Something...
            console.log(body.token);
            token = body.token;
        }
    });
});

var Robinhood = require('robinhood')(token, function(){
    //Another script to use token to make call
    Robinhood.orders(function(error, response, body){
        if (error){
            console.log(error);
        }else{
            //Do Something...
        }
    });
});

var Robinhood = require('robinhood')(token, function(){
    //.log_out does not exist, I am advocating it be added
    //Simple call to use token to get the token somehow
    Robinhood.log_out(function(error, response, body){
        if (error){
            console.log(error);
        }else{
            //Do Something...
            //Get confirmation of logout
        }
    });
});

did you add "Token " before body.token?

Daniel, I'm writing a lot of these calls for the token in an application
I'm working on if you want to take a look, don't know if it will
beneficial or not. My app is written in React. I can send you the link to
look at the project if you want.
On Fri, Apr 21, 2017 at 1:35 AM, Edward Lai<EMAIL_ADDRESS>wrote:

did you add "Token " before body.token?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sanko/Robinhood/issues/28#issuecomment-296075591, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATwEO7DvqsrcWpH5_dbx5GW-PxP_RVW1ks5ryEAxgaJpZM4NDow6
.

--
Jose Perez
C.<PHONE_NUMBER>
E<EMAIL_ADDRESS>

@illl48 Yes i did you can see it above that function Var token;
@jperez10 I would love to see a .js example if you have one? I see your code and its written in .go, not familiar with the "go" language. I need to get the token, and I need to see an example of using it instead of credentials to say make an order. :) THAT would be incredibly helpful.

I dont know if this helps, but I stopped trying to authenticate every single one of my API calls.  I started 'session' caching the token on the server side and now I ask my server if I already have an authenticated instance of the RH API.  If so, I reuse the token instead of reinstantiating the API wrapper class (I am using the Node JS lib).  Sorry if this has nothing to do with the issue, but it fixed a similar issue I was having where I would intermittently get {detail: Invalid token} from various calls, especially when I did a bunch of calls in succession.


Task Runner

Add task runner that will watch the code, run css precompilers, and perform build steps.

Working on this at the moment.  Using Grunt.


can not delete the whole node of leaflist

Sorry to bother you，but I have a problem when I want to delete the whole leaflist.
model is as follows:
module Sub{
namespace "urn:ietf:params:xml:ns:yang:zte:sub";
prefix Sub;
revision 2016-05-10;
container RootContainer{

    container secondLevelContainer{
	    leaf secondleaf{
		    type int8;
		    }

			 leaf secondleaf2{
		        type int8;
			    default 2;
		    }

		    leaf-list leaflist{
		       type string;
		    }
	}

}
}
first, I add data for sub model using netopeer2-client：

a
b

then，I delete the whole leaflist with xml file as follows,but netopeer2-client throw an error:

netopeer2-client show the infomation is:
ERROR
type: application
tag: data-missing
severity: error
path: /Sub:RootContainer/secondLevelContainer/leaflist[.='']
message: Request could not be completed because the relevant data model content does not exist.
my problem is  the protocol of netconf is not exactly to describe "delete operation" of leaflist. Is this normal or a bug?  Look forward to your reply to solve my confusion. Thank you very much.

Sorry the description of xml is not show .
add is as follows:
< leaflist >a< /leaflist >
< leaflist >b< /leaflist >
delete is as follows:
< leaflist xc:operation="delete" >< /leaflist >

This is intended behavior. Since the leaf-list can be defined as string and an empty string can be a valid value, using an empty leaf-list value to delete all the instances would be problematic because you wouldn't be able to delete the specific instance with empty string. The leaf-list value is used as a key to identify the specific instance. Similarly, you are not allowed to delete all instances of a list by not providing the list's keys.

Sorry to bother you again，If I want to replace all entries of leaflist with current values exists in data tree，what should I do?
I try to do like this,but add new entry of leaflist:
c
finally,I get three entries of leaflist.
Otherwise，If I want to delete the whole leaflist, I can only delete all entries of leaflist  like this?

a
b

or delete parent of leaflist like this?

Look forward to your reply to solve my confusion. Thank you very much.

replace operation on leaf-list make sense only for moving the instance in case of user-ordered leaf-list - see RFC 7950. So the only option is to delete all instances (by specifying them) and create the new instances. If you have no other data next to the leaf-list instances, you could also replace the container (the secondLevelContainer in your example). Deleting and creating the container would also work.

hi，I read RFC 7950.

Hi,There is a word in RFC 7950 that is "In a  or in an  with a "replace" operation
that covers the entire leaf-list, the leaf-list order is the same as
the order of the XML elements in the request."
Then I verified it. In an  with a "replace" can not cover the entire leaf-list. Does "replace" not work? Look forward to your reply to solve my confusion. Thank you very much.

you can cover the entire leaf-list by specifying replace operation into its parent container:
<RootContainer xmlns="urn:ietf:params:xml:ns:yang:zte:sub" xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
  <secondLevelContainer xc:operation="replace">
    <leaflist>c</leaflist>
    <leaflist>d</leaflist>
  </secondLevelContainer>
</RootContainer>

This would remove the a and b instances of the leaflist and create new c and d instances. RFC just says that if the leaf-list is user-ordered, server has to keep the specified order of the instances.

Hi,I'm very sorry.  Have you reviced my personal email?

No, I didn't, but I would prefer to keep this conversation public.

OK,Because of my personal reason, Would you  delete the namespace zte word in your last comment to keep "urn:ietf:params:xml:ns:yang:sub"? Please,Thank you very much.


Is possible to turn specifics checks?

I'm using https://github.com/dshafik/php7-mysql-shim to old mysql support, is possible to turn off mysql errors detection?

No, that's not possible at the moment.


[New Snap] OneID

Checklist
All items in the list below needs to be satisfied.

[x] Is the Snap repository publicly accessible and linked in this ticket? https://github.com/coin98/connect-snap
[x] Is the Snap distributed on npm and linked in this ticket? https://www.npmjs.com/package/@oneid-xyz/connect-snap
[ ] Has an audit been performed and the audit report attached or linked in this issue? N/A
[ ] Is a complete list of discovered vulnerabilities from the audit documented in this issue?
[ ] For vulnerabilities that have been deemed necessary to be addressed, are the links to the fixes attached to this issue?
[ ] For vulnerabilities that have been deemed not necessary to be addressed, is a reason for each of them documented in this issue?
[ ] The corresponding pull request in this repo has been merged.

I have reviewed the code.


Menu updates.

Hi.
I'm not sure if this is specific to horizon or not but I'm having a problem with changing settings related to the theme and menus.
Specifically when I edit the navigations, changes I make tend to undo other changes. Eg if I try to add a footer, it removes the header and vice versa. Sometimes when I try to add the header back it removes the footer and the header.
I know both my header and footers work, but I can't seem to get these changes saved at the same times.
Is there some setting I don't have correct setup that would cause this issue?
I made a video:
https://github.com/swellstores/horizon/assets/48241/c4cc116f-0091-45ed-a72e-f326ff54a83a

I figured it out, apparently I had "All categories" in the menu which for whatever reason causes a 404 which I found in the console. Once I removed it from the menu it works again.

After I had figured it out, they both promptly stopped working again while I was making a few very small changes only within the storefront theme editor, this time with no errors in the console. In this instance I added social icons after which both menus seem to start appearing although I can get them to appear temporarily but even loading the editor can cause both to disappear again.
Is there some way I can debug whatever is going on?  It's like there's a small demon inside the storefront editor, I would be terrified to make any changes if this were in production.  What could cause this?

Added the response to this issue in the below Github discussion thread
https://github.com/orgs/swellstores/discussions/271#discussioncomment-6303390

@holden Responded to this issue in the below GitHub discussion thread:
https://github.com/orgs/swellstores/discussions/271#discussioncomment-6303390
I will keep you posted if this bug is resolved.

This issue is fixed and deployed in production. Please check and confirm.


fix #623

fix #623
delete setTimeout
modify mock_room error

Changes Unknown when pulling 67268503df0266941e6d1f23ef6d3ec8fe029df3 on lijiarui:testMessage into ** on Chatie:master**.

Changes Unknown when pulling e6a56f278a0a221c622476eeee1c932d7fee6904 on lijiarui:testMessage into ** on Chatie:master**.

Looks good.
Could explain the reason of the failure before?

mock room_data shouldn't be room.rawObj,  we should mock data structure as room.spec.ts do, but actual data should use room.rawObj.
I'm not sure where  room.spec.ts's mock data structure from.


Dart DevTools automatically resumes when opening the tool

Say I have this file t.dart:
import "dart:developer";

void main() {
  int i = 42;
  debugger();
  print(i);
}

and I run it like this:
out/ReleaseX64/dart --enable-vm-service t.dart

I'll be told something like
The Dart VM service is listening on http://<IP_ADDRESS>:8181/QHkuXd4SI-g=/
The Dart DevTools debugger and profiler is available at: http://<IP_ADDRESS>:8181/QHkuXd4SI-g=/devtools/?uri=ws://<IP_ADDRESS>:8181/QHkuXd4SI-g=/ws

Going to either address will take me to a webpage that after a while says "Disconnected":

At the same time the script will have finished in the terminal:
$ out/ReleaseX64/dart --enable-vm-service t.dart
The Dart VM service is listening on http://<IP_ADDRESS>:8181/QHkuXd4SI-g=/
The Dart DevTools debugger and profiler is available at: http://<IP_ADDRESS>:8181/QHkuXd4SI-g=/devtools/?uri=ws://<IP_ADDRESS>:8181/QHkuXd4SI-g=/ws
42
$ echo $?
0

It seems that it has automatically resumed without me asking it to. Indeed adding another debugger() call and it doesn't happen:
import "dart:developer";

void main() {
  int i = 42;
  print("Will wait");
  debugger();

  print("Will wait again");
  debugger();

  print(i);
}

after opening the tool the output in the terminal is now
$ out/ReleaseX64/dart --enable-vm-service t.dart
Will wait
The Dart VM service is listening on http://<IP_ADDRESS>:8181/6pwtMho6irY=/
The Dart DevTools debugger and profiler is available at: http://<IP_ADDRESS>:8181/6pwtMho6irY=/devtools/?uri=ws://<IP_ADDRESS>:8181/6pwtMho6irY=/ws
Will wait again

Is this the intended behavior, and if it is, why? If not can we have it fixed?
This started to happen with adfbcc7657248be8a64ad1313c15f7a58cf15e23

It appears that the resume is getting triggered from BreakpointManager.initialize, which adds a listener that triggers the resume from the following code:
https://github.com/flutter/devtools/blob/master/packages/devtools_app/lib/src/screens/debugger/breakpoint_manager.dart/#L91
This code was added here: https://github.com/flutter/devtools/commit/407579074ba7ee84524289afec2716a63cec3bec#diff-cc4c2ac3c39b16e7a815dcb3b0350365926c2bd4794193d2aae89a9883406a13.
@elliette it's been a while since this code was added, but do you remember if this case was considered when adding this logic? The case where an isolate is paused before connecting to DevTools?

Ah yes, the case where an isolate is paused before connecting to DevTools was considered, but only via using the flag --pause-isolates-on-start. I did not consider the debugger() function case.
DDS checks whether the user had set the --pause-isolates-on-start to determine whether or not to wait for a user-initiated resume to resume the isolate: https://github.com/dart-lang/sdk/commit/9382e58fc9ff8a2978037a25161b2bbf2d37c1ea
I confirmed that if you run the app with:
out/ReleaseX64/dart --enable-vm-service  --pause-isolates-on-start t.dart
Then open DevTools, and from DevTools "resume" the initial pause on start, you will then hit the breakpoint set by the debugger() function.
However, we should either document that this is necessary now to use debugger() functions, or figure out a way to handle this case.


wifi_config: No configuration found - ESP-12F Module

HI,
Im using a ESP-12F Module to try out a Sonoff_basic device.
When the device boots, it creates the AP for config. But as soon as I enter the password for the SSID,
it says:
!!! wifi_config: No configuration found
and continues to scan for networks, and opens the AP again.
EDIT: The output says "no buf for probe, ie len 0" when trying to join the AP.
Why is this happening?
I tried flashing the LED.C to the same device (Which has hard-coded SSID and PASSWORD), and it works fine.
Thank you!

Sounds like it's failing to write the configuration to flash...that "No configuration found" error comes from the wifi_config_station_connect() function when it fails to retrieve the SSID/Password from the flash system.. that's why the LED example works - it's not using wifi_config to store/retrieve configuration from flash...

This is very odd. What exact device are you using? Which firmware and how have you built? Since wifi_config uses sysparams to store config and sysparams detect flash size in runtime, I suspect that sysparams properly initialized it's sectors, but then some other code (esp-homekit?) have erased them and now sysparams do not work.

Hi,
Im using Firmwavre 0.9.6-dev_20150704
And the device is a ESP 12F module.

You are correct..... It was a problem with sys params. I was using a custom firmware for the device. and it worked after I erased the device completely before flashing the firmware..
Thanks for the support!!!!

You are correct..... It was a problem with sys params. I was using a custom firmware for the device. and it worked after I erased the device completely before flashing the firmware..
Thanks for the support!!!!


Unable to deploy app service from VS code

Does this occur consistently?
Repro steps:

Action: appService.Deploy
Error type: TypeError
Error Message: Cannot read properties of undefined (reading 'createClient')
Version: 0.24.8
OS: win32
OS Release: 10.0.22621
Product: Visual Studio Code
Product Version: 1.67.2
Language: en

Call Stack
extension.bundle.js:2:3774915extension.bundle.js:2:3774915
fulfilled extension.bundle.js:2:3773586

Please add repro steps.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Example with different func than main

I tried searching the docs and the github sources, but I didn't find an example with more separation of functionality.
So I try to keep my main clean, and I have this:

// main snippet
var fileName = "myfile.xlsx"
xlsx, err := excelize.OpenFile(fileName)
if err != nil {
	fmt.Println(err)
	os.Exit(1)
}

checkSheetName(xlsx, 1, "MySheetname")

and in the same file:

func checkSheetName(xlsx *File, sheetNr int, sheetName string) {
	xlsx.SetActiveSheet(1)
	sheetName := xlsx.GetSheetName(1)
	fmt.Println("Sheetname: " + sheetName)
}

but somehow, it doesn't recognize the *File part. Can you give me (and the rest of us) a hint in how to use this, because I don't want to write one big main routine :-(

The parameter type of xlsx in the function checkSheetName should be *excelize.File, and you can also import a custom wrapped package.

Nice, thanks. Code is much more readable now


Empty "query" if action="playback"

Which version are you using?
v1.7.0
Which operating system are you using?

[x] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
Hello.
We use "authMethod: http"
If action="playback" then "query" field come empty.
If action="read" everything is OK:
"read":
https://localhost:8889/proxied1/?token=15d2d2d9-4436-4a3b-ab46-5f904c4b859e
{
    "ip": "<IP_ADDRESS>",
    "user": "",
    "password": "",
    "action": "read",
    "path": "proxied1",
    "id": null,
    "query":  "token=15d2d2d9-4436-4a3b-ab46-5f904c4b859e"
}

"playback":
http://localhost:9996/list?path=proxied1&token=15d2d2d9-4436-4a3b-ab46-5f904c4b859e
{
    "ip": "<IP_ADDRESS>",
    "user": "",
    "password": "",
    "action": "playback",
    "path": "proxied1",
    "id": null,
    "query": ""
}

Did you attach the server logs?
no
Did you attach a network dump?
no

BTW this was fixed by #3253


Crashing game about Pause menu music

Describe your bug here.
when I turn on a song (no matter what), the game crashes, as shown below. The funny thing is that I don’t have and never had such audio, I even deleted all my mods. I don't understand where Psych engine got the audio from the Fnf vs Impostor mod

IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No.

IT DOESN’T MATTER, I ALREADY FIXED EVERYTHING SO YOU DON’T NEED TO HELP ME, I JUST GOED TO THE PSYCH ENGINE SETTINGS IN VISUALS AND UI AND THERE IS NO MORE CRASH

Close the issue then


k8s: fixed compilation of tests

broken due to changes done in topology/graph/graph.go
maybe we should consider re-adding k8s tests to list of defaults

run skydive-k8s-tests

run skydive-k8s-tests

run skydive-k8s-tests

run skydive-k8s-tests

@lebauce - can you assist with k8s failure:
panic: test timed out after 20m0s

Why do we have to change resourceHandlers and EnabledSubprobes again ?

@hunchback The test that timeouts is TestK8sClusterNode so the problem is probably related to the K8s probe (or this PR). I don't think this is a CI issue

so i can reuse by istio
On Wed, Nov 21, 2018, 14:23 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

Why do we have to change resourceHandlers and EnabledSubprobes again ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/pull/1471#issuecomment-440644537,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogI0YWEADi8iUDMWYaRmlHRZXR32RJks5uxUXSgaJpZM4YrURa
.

the commit broke links between cluster to its children
On Wed, Nov 21, 2018, 14:22 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

@lebauce commented on this pull request.
In topology/graph/indexer.go
https://github.com/skydive-project/skydive/pull/1471#discussion_r235365597
:

@@ -204,7 +204,7 @@ func NewMetadataIndexer(g *Graph, listenerHandler ListenerHandler, m ElementMatc
Indexer: NewIndexer(g, listenerHandler, func(n *Node) (kv map[string]interface{}) {
if match := n.MatchMetadata(m); match {
kv = make(map[string]interface{})

		if values, err := getFieldsAsArray(n, indexes); err == nil && len(values) > 0 {

		if values, err := getFieldsAsArray(n, indexes); err == nil {

Why ???
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/pull/1471#pullrequestreview-177212008,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogI19tjuY3vbWsb8m7kQYQzhKTAe1nks5uxUVtgaJpZM4YrURa
.

will check ...
On Wed, Nov 21, 2018, 14:29 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

@hunchback https://github.com/hunchback The test that timeouts is
TestK8sClusterNode so the problem is probably related to the K8s probe
(or this PR). I don't think this is a CI issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/pull/1471#issuecomment-440646100,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogIwvbq6HNLWJfTyGBqdiV3nPIscpGks5uxUc6gaJpZM4YrURa
.

run skydive-k8s-tests

@lebauce  - I think we may need to increase k8s execution time - later we can optimize and make the test run faster

@hunchback The test that timeouts is TestK8sClusterNode so the problem is probably related to the K8s probe (or this PR). I don't think this is a CI issue

this test PASSes when run locally on my devmode VM

run skydive-k8s-tests

run skydive-functional-tests-backend-elasticsearch

run skydive-k8s-tests

but this breaks k8s which previously worked ...
On Thu, Nov 22, 2018, 18:50 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

@lebauce commented on this pull request.
In topology/graph/indexer.go
https://github.com/skydive-project/skydive/pull/1471#discussion_r235785501
:

@@ -204,7 +204,7 @@ func NewMetadataIndexer(g *Graph, listenerHandler ListenerHandler, m ElementMatc
Indexer: NewIndexer(g, listenerHandler, func(n *Node) (kv map[string]interface{}) {
if match := n.MatchMetadata(m); match {
kv = make(map[string]interface{})

		if values, err := getFieldsAsArray(n, indexes); err == nil && len(values) > 0 {

		if values, err := getFieldsAsArray(n, indexes); err == nil {

@hunchback https://github.com/hunchback That's why before 0b81a07
https://github.com/skydive-project/skydive/commit/0b81a07780a6a3d40e15edd0f471e1fe8fa6d586
we had a special case when len(indexes) == 0. Anyway, I'm against removing
&& len(values) > 0 as it simply makes no sense to have an empty list
(values) in kv.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/pull/1471#discussion_r235785501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogIzx0yZ58kz8UZ2QEQrnOJxlQdovlks5uxtXIgaJpZM4YrURa
.

so are you suggesting i replace the indexlinker and implement my custor
aablinks  balinks methods?
On Thu, Nov 22, 2018, 18:50 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

@lebauce commented on this pull request.
In topology/graph/indexer.go
https://github.com/skydive-project/skydive/pull/1471#discussion_r235785501
:

@@ -204,7 +204,7 @@ func NewMetadataIndexer(g *Graph, listenerHandler ListenerHandler, m ElementMatc
Indexer: NewIndexer(g, listenerHandler, func(n *Node) (kv map[string]interface{}) {
if match := n.MatchMetadata(m); match {
kv = make(map[string]interface{})

		if values, err := getFieldsAsArray(n, indexes); err == nil && len(values) > 0 {

		if values, err := getFieldsAsArray(n, indexes); err == nil {

@hunchback https://github.com/hunchback That's why before 0b81a07
https://github.com/skydive-project/skydive/commit/0b81a07780a6a3d40e15edd0f471e1fe8fa6d586
we had a special case when len(indexes) == 0. Anyway, I'm against removing
&& len(values) > 0 as it simply makes no sense to have an empty list
(values) in kv.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/pull/1471#discussion_r235785501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogIzx0yZ58kz8UZ2QEQrnOJxlQdovlks5uxtXIgaJpZM4YrURa
.

@hunchback Yes, but we were indexing all the objets that matched the filters,even if they did not have the specified indices . So basically all the nodes, with an empty values in the hashmap. Restoring the case 0 you removed should fix Kubernetes

not sure i understand ... what is the fix you propose needed to get cluster
links working again ?
On Thu, Nov 22, 2018, 19:04 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

@hunchback https://github.com/hunchback Yes, but we were indexing all
the objets that matched the filters,even if they did not have the
specified indices . So basically all the nodes, with an empty values in
the hashmap. Restoring the case 0 you removed should fix Kubernetes
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/pull/1471#issuecomment-441086106,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogI-9_GbWfqn9DAJX-XyTTOdtw973cks5uxtkCgaJpZM4YrURa
.

but this breaks cluster as indexer.Get() will not return nothing-nil
(rather than everything)
On Thu, Nov 22, 2018, 22:26 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

To restore how it was before 0b81a07
https://github.com/skydive-project/skydive/commit/0b81a07780a6a3d40e15edd0f471e1fe8fa6d586
Indexer: NewIndexer(g, listenerHandler, func(n *Node) (kv map[string]interface{}) {
if match := n.MatchMetadata(m); match {
switch len(indexes) {
case 0:
return map[string]interface{}{string(n.ID): nil}
default:
kv = make(map[string]interface{})
if values, err := getFieldsAsArray(n, indexes); err == nil {
kv[indexer.Hash(values...)] = values
}
}
}
return
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/pull/1471#issuecomment-441115461,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogI77VZOihXePo-5oIL_coLL2dvZrPks5uxwh5gaJpZM4YrURa
.

@hunchback Then yes. Creating a metadata indexer for a single node (cluster) makes little sense. Every time an object that needs to be linked to the cluster appears, we were querying the indexer that had a "nil" hash. That returned all the nodes : the cluster node in our case.
I think for the cluster linker, a classic linker that implements the GetBALinks() is simpler : we just return a link from the cluster node (that we can simply store as an attribute of the clusterLinker) to the node.

ok, will do
On Fri, Nov 23, 2018, 09:13 Sylvain Baubeau<EMAIL_ADDRESS>wrote:

@hunchback https://github.com/hunchback Then yes. Creating a metadata
indexer for a single node (cluster) makes little sense. Every time an
object that needs to be linked to the cluster appears, we were querying the
indexer that had a "nil" hash. That returned all the nodes : the cluster
node in our case.
I think for the cluster linker, a classic linker that implements the
GetBALinks() is simpler : we just return a link from the cluster node (that
we can simply store as an attribute of the clusterLinker) to the node.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydive-project/skydive/pull/1471#issuecomment-441168411,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACogIzYMBaX1l1COCPZPFdBjSs92B0E7ks5ux6AsgaJpZM4YrURa
.

@lebauce - I want to propose the following:
(1) k8s is currently broken and the k8s tests disabled blocking k8s/istio PRs - I would be happy if this currently PR could be merged as-is.
(2) regarding your proposition - will your change not also break listing on the children nodes (namespaces, etc.)?
func (linker *clusterLinker) GetABLinks(clusterNode *graph.Node) (edges []*grpah.Edge) {
        nodes := linker.ObjectIndexer.Get()           <===== wi
        for _, n := nodes {
                // append to edges
        }
        return
}

@hunchback No need for GetABLinks as the cluster node already exists when the linker is started. You simply need to retrieve it and keep it as an attribute

run skydive-functional-tests-backend-elasticsearch

run skydive-k8s-tests

run skydive-functional-tests-backend-elasticsearch

run skydive-ppc64le-tests


Fix import error when using wasm-c-api with WASI threads

Similar to what already in place for pthreads: https://github.com/bytecodealliance/wasm-micro-runtime/blob/47fcb8506f7f1ee66fadeef4de8a3481b44633a7/core/iwasm/libraries/lib-pthread/lib_pthread_wrapper.c#L597-L635
#2149
TODO:

[ ] refactor common code
[ ] check missing free for new_c_api_func_imports in lib_pthread_wrapper.c

Closing since the same changes are being applied in #2173


[Availability Zone] VM Placement in a Zone integration

Design Doc: https://github.com/microsoft/wssdagent/pull/994 (VM_Placement_in_a_Zone.md)
Changes:

Add proto buf related changes for VM association to Availability Zone
Zone message used in VM proto on cloud agent is kept in common, so that it can be reused by Placement group.
Placement Status is added to generic status. Since it is not applicable to all entities hiding it in output if field is not set.

/azp run


Suggest renaming this repo to ploomber-projects or maybe proojects.

The name of this repo is "projects", but checking it out into a working code directory with "projects" in place may cause a name conflict.
Scrolling through search results for /projects repos on Github yields many results, maybe over a hundred: https://github.com/search?p=95&q=projects&type=Repositories
ploomber/proojects would be fun!

hi @kordless, I appreciate the suggestion!
We have considered renaming this in the past but we'll keep it as is for the moment being since we have many links to this repo scattered in other repos, our blog, etc.
Fortunately, most users do not check out this repo directly, since they can download specific examples using the ploomber examples command

Good point, this makes sense given the client is using it!


Update vocab embedding deps and add TP switch

Motivation
In some cases, we may use replicated embedding instead of parallel embedding to reduce communication overhead.

Cool!

@ispobock May you change your branch to the https://github.com/sgl-project/sglang repo? I want to run the nightly eval for this.

Sure. I will create a new branch to run nightly eval.

https://github.com/sgl-project/sglang/actions/runs/11622100414


ValidatorClient.js: Unexpected token - TabNine can't initialize

OS version: Windows 10 20H2 19042.804
Editor version: 1.53.2 (user setup)
Programming language: JS
TabNine extension version: 3.2.8

If the issue is related to TabNine failure, please provide log files:
Type TabNine::config in your editor, the logs are located at the bottom of the page
-- nothing happens.
If I launch the "Tabnine: Open Settings'" command, I get a message:
"Command 'Tabnine: Open Settings' resulted in an error (command 'TabNine::config' not found)"
Editor console logs:
Log (Extension Host) output:
https://gist.github.com/heroje/918a534d7726e4926425d3dc94068f14

I found a mention of tabnine_config.json in other issues. Here's the contents of mine:
tabnine_config.json.txt
Issue Details:
The extension stopped launching for me. I don't see anything in the status bar, reinstalling it doesn't cause the launch page to pop up.

@heroje can you run the binary manually and report back as I explained in this ticket:
https://github.com/codota/tabnine-vscode/issues/355#issuecomment-787975520

@boaz-codota Thank you for the fast reply!
Here goes the log:
cmdlog.txt

That is a weird question (and the answer is probably no), but is it possible that you run vscode using a custom old version of node? It just that I look at the error, and spread operator is available since node 8.3.0, and vscode 1.5.3 ships by default with newer node version, but you can customize it so I'm wondering if it is possible that you have done so?

I don't think that's the case either, but I'd be interested if there's a way to double-check that VS Code is using the correct version.
Running the equiv. of which in Powershell gives me following:
PS C:\Users\Ann> Get-Command node
CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     node.exe                                           <IP_ADDRESS>   C:\Program Files\nodejs\node.exe
PS C:\Users\Ann> node
Welcome to Node.js v15.4.0.
Type ".help" for more information.

@dimacodota
Here goes:
Version: 1.53.2 (user setup)
Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
Date: 2021-02-11T11:48:04.245Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

Hi @heroje
Didn't get to look into thoroughly yet, so can't tell the exact reason - but it seems like the babel-transform  breaks Tabnine extension.
Try to disable it for now and see if Tabnine works. Please keep us posted.

@bilucodota
Thank you so much - that does seem to be the case! Removing it did solve the issue, and since I don't need it at the time being, I'm happy leaving it off my install.

@heroje great!


Bookstore: add reducers and actions

The above updates were made

Setup redux and redux toolkit
Add store
Add books Slice
Add categories Slice
Update .eslintrc.json to ignore no-param-reassign
Wrap App with redux Provider

thank you @BenMukebo


[Question]: Is it possible to share content(image, video, document, etc) through specific platform only in flutter?

I want to share content(image, audio, video, or document) to other platforms using  share_pluse package.
This package provides options for all platforms which are feasible to share the content(image, audio, video, or document). But in my case, I want to show only fix the specific platforms to users on which they can share the content.
For Ex, I have one photo and i want to send it to another app. in share option it shows 5 app in which i can share that photo but i want allowed user to share 3 of them.
So Is there any way using which we can fix this problem?

Hello @miquelbeltran  Do we have any update this or are we planning to take care of this feasibility in our next coming release?

Hi there, if I understand you correctly you want to restrict the apps that the user can select to share your content with.
For iOS _shouldExcludeActivityType  looks promising (blacklist & whitelist) and for Android it seems that we can only control what we exclude (only blacklist).
But it is probably not advisable fo limit the user in such a way. The Android documentation states:

You can exclude specific targets by providing Intent.EXTRA_EXCLUDE_COMPONENTS. This is to be used only to remove targets you have control over.

@Coronon  Thank you for the reply.
Yes, We want to share our content with pre-specified apps only. Excluding apps will not work because we will be bot always aware that which are newly installed apps on the phone. So, we only want to share our content with whitelist apps.
In, _shouldExcludeActivityType it will exclude specified apps. While we want the exact opposite of that we just want to include specified apps.
For Ex, I have one video and it will be shared only on WhatsApp and Facebook. So I will add WhatsApp and Facebook to my whitelisted apps. Afterwards, it will only allow data to be shared with Facebook and WhatsApp and it will exclude all others.

@manojSimfrom Thanks for your clarification.
We can use _shouldExcludeActivityType because it is a function that has to return a bool whether the specific action should be excluded. By only returning true for whitelisted apps this can implement both a black- and whitelist.
What do you mean by Ex? I am not aware of an option like that for Android.

@Coronon  Thanks for the quick reply.
Ex stands for example, where I was trying to explain my requirement. Does the share_plush plugin provide the feasibility to exclude the apps as you mentioned to use _shouldExcludeActivityType the flag?

Our rule of thumb is that if a feature is only supported on a single platform, it shouldn't be included, but we can do exceptions, of course. In this case, I am not sure if I would.


ENH: LLL lattice basis reduction

Is your feature request related to a problem? Please describe.
Currently there seems to be no LLL implementation in any of the standard Python libraries. It is available in sagemath however.
Describe the solution you'd like.
There are a small number of implementations on github. E.g https://github.com/orisano/olll/blob/master/olll.py . As scipy already has Gram Schmidt orthogonalization (via scipy.linalg.qr) an implementation in scipy would hopefully not be too hard.
Describe alternatives you've considered.
An alternative is to use sagemath but that comes with complications for the rest of the code.
Additional context (e.g. screenshots, GIFs)
No response

An option is to wrap http://flintlib.org/sphinx/index.html which is what I believe sage does.

Exactly and that's what folks at SymPy are set out to do https://labs.quansight.org/blog/2021/08/czi-eoss4-grants-at-quansight-labs/ which is why I mentioned it in the first place.
@oscarbenjamin @asmeurer is this something you would like to tackle?

I am not sure if there is any demand for this

I once used the LLL algorithm along with the Hermite normal form to solve a problem, Those sorts of algorithms really need support for arbitrary precision integers and maybe rationals, so tend more towards symbolic math. It might be one of those things that people don't know they want.

I just merged sympy/sympy#22233 by which adds a hermite_normal_form function to SymPy:

Neat. It would be useful to offer the full factorization: UR, where U is unimodular and R is integer upper triangular, the analog of the QR factorization for reals. The U is needed for solving some problems. Note that many of these functions can be generalized to the rationals.

Interestingly, LLL can be used to compute the Hermite normal form as well https://projecteuclid.org/journals/experimental-mathematics/volume-7/issue-2/Extended-GCD-and-Hermite-normal-form-algorithms-via-lattice-basis/em/1048515660.full

I would certainly like to have LLL available in SymPy. If it can be brought in via Flint, that's great. Even then it might be nice to also have a Python implementation in SymPy itself (for users who hadn't installed Flint), and this may be something I would try to work on in the future.
Unfortunately, at the moment I couldn't put this (or the suggested improvements to Hermite) on the near horizon, as I have so many other things that have to be worked on first. I'll keep it in mind though.

Here is my LLL implementation based on this pseudocode
# https://en.wikipedia.org/wiki/Lenstra–Lenstra–Lovász_lattice_base_reduction_algorithm
def LLL(base, delta=0.75):
	mu = lambda i, j: O[j].dot(base[i]) / O[j].dot(O[j])
	if type(base) == MutableDenseMatrix:
		base = [base.row(i) for i in range(base.rows)]

	O = GramSchmidt(base)
	k = 1
	while k < len(base):
		for j in range(k-1, -1, -1):
			mu_kj = mu(k, j)
			if abs(mu_kj) > 0.5:
				base[k] = base[k] - base[j] * round(mu_kj)
				O = GramSchmidt(base)

		if O[k].dot(O[k]) >= (delta - mu(k, k-1)**2) * O[k-1].dot(O[k-1]):
			k += 1
		else:
			base[k], base[k - 1] = base[k - 1], base[k]
			O = GramSchmidt(base)
			k = max(k - 1, 1)

	return Matrix(base)

M = Matrix([
    [1, 1, 1 ],
    [-1, 0, 2],
    [3, 5, 6],
])
pprint(M)
L = LLL(M)
pprint(L)

LLL was added to sympy earlier this year. (Sorry, didn't think to note it here at the time.)
The unit tests here:
https://github.com/sympy/sympy/blob/master/sympy/polys/matrices/tests/test_lll.py
should give an idea of how to use it.

I don't remember what the situation with SymPy 1.12 is and I'm also not sure exactly what this will look like with SymPy 1.13 but with the current SymPy master branch the situation is that you can compute LLL using DomainMatrix and that the Matrix.to_DM() method will convert a Matrix to a DomainMatrix so you can do it like this:
In [1]: M = Matrix([[1, 0, 0, 0, -20160],
   ...:             [0, 1, 0, 0, 33768],
   ...:             [0, 0, 1, 0, 39578],
   ...:             [0, 0, 0, 1, 47757]])

In [2]: M.to_DM()
Out[2]: DomainMatrix({0: {0: 1, 4: -20160}, 1: {1: 1, 4: 33768}, 2: {2: 1, 4: 39578}, 3: {3: 1, 4: 47757}}, (4, 5), ZZ)

In [3]: M.to_DM().lll()
Out[3]: DomainMatrix({0: {0: 10, 1: -3, 2: -2, 3: 8, 4: -4}, 1: {0: 3, 1: -9, 2: 8, 3: 1, 4: -11}, 2: {0: -3, 1: 13, 2: -9, 3: -3, 4: -9}, 3: {0: -12, 1: -7, 2: -11, 3: 9, 4: -1}}, (4, 5), ZZ)

In [4]: M.to_DM().lll().to_Matrix()
Out[4]:
⎡10   -3  -2   8   -4 ⎤
⎢                     ⎥
⎢ 3   -9   8   1   -11⎥
⎢                     ⎥
⎢-3   13  -9   -3  -9 ⎥
⎢                     ⎥
⎣-12  -7  -11  9   -1 ⎦

What is currently missing is just a Matrix.lll method that would just need to perform those steps so users can compute LLL without needing to do any conversions explicitly. That is an easy change though:
def lll(self):
     return self.to_DM().lll().to_Matrix()

The recently resurrected python-flint project wraps the Flint library which has a faster C implementation of LLL (the algorithm is faster as well as the implementation). That would be most suitable for someone who just wants to use the algorithm rather than use it in the context of using SymPy. You can pip/conda install python-flint and then:
In [1]: import flint

In [2]: M = flint.fmpz_mat([[1, 0, 0, 0, -20160],
   ...:             [0, 1, 0, 0, 33768],
   ...:             [0, 0, 1, 0, 39578],
   ...:             [0, 0, 0, 1, 47757]])

In [3]: M
Out[3]:
[1, 0, 0, 0, -20160]
[0, 1, 0, 0,  33768]
[0, 0, 1, 0,  39578]
[0, 0, 0, 1,  47757]

In [4]: M.lll()
Out[4]:
[10, -3, -2,  8,  -4]
[ 3, -9,  8,  1, -11]
[-3, 13, -9, -3,  -9]
[12,  7, 11, -9,   1]

As of current SymPy master if python-flint is installed and the environment variable SYMPY_GROUND_TYPES=flint is set then SymPy's DomainMatrix.lll method will use python-flint's fmpz_mat.lll method under the hood:
$ SYMPY_GROUND_TYPES=flint isympy
...
In [2]: M = Matrix([[1, 0, 0, 0, -20160],
   ...:             [0, 1, 0, 0, 33768],
   ...:             [0, 0, 1, 0, 39578],
   ...:             [0, 0, 0, 1, 47757]])

In [4]: type(M._rep.to_dense().rep.rep)
Out[4]: flint._flint.fmpz_mat

https://github.com/sympy/sympy/pull/25495
It is possible that the requirement to set the environment variable explicitly might be removed by the time of the SymPy 1.13 release but if that does not happen in 1.13 it will almost certainly happen in a future release.
It is unlikely that NumPy/SciPy would be able to offer any improvement over Flint/SymPy for algorithms like LLL which do really require arbitrary precision integers and not e.g. np.int64 in order to be generally useful. From a broader scientific/mathematical Python perspective I am not sure what else could be done to improve the situation (beyond what I described above) except perhaps improving interoperability between sympy/python-flint and numpy so that it is easier to do things like convert a numpy array to a python-flint matrix. Perhaps also SciPy could detect if python-flint is installed and then provide an easy way to use it with numpy arrays or something but possibly dtype=object would be needed to accommodate large integers.

I think overall, since there are quite comprehensive alternatives as noted above, this is not a feature that should live in SciPy since it would be a average implementation for a specialized algorithm. General userbase won't benefit from it and the actual users seeking for this feature will not be satisfied with floating point results. Hence I'll just put this at rest for now, not to stop the discussion but take it out from open issues.

If anyone is interested in looking at or improving the SymPy algorithm then it can be found here:
https://github.com/sympy/sympy/blob/067e0eaf90158c6b0ef6be14c32d9d9ccd97985b/sympy/polys/matrices/lll.py#L9-L86
The PR introducing it was https://github.com/sympy/sympy/pull/24572 by @erdos4d and has discussions about the algorithm and what might potentially make it faster.
The Flint code for this is here:
https://github.com/flintlib/flint2/tree/trunk/src/fmpz_lll
The Flint code will be used by python-flint and ultimately by SymPy if python-flint is installed (the dependency of SymPy on python-flint will always be optional).

Another thing that would be interesting would be to support LLL in QQ and not just in ZZ.
/usr/local/lib/python3.11/dist-packages/sympy/polys/matrices/lll.py, line 15
A BKZ implementation would also be welcome in future updates.

Another thing that would be interesting would be to support LLL in QQ and not just in ZZ.

It would be better to discuss this in a SymPy issue rather than here in the SciPy repo.


Fix spelling mistake & grammatical error.

Fix spelling mistake.

@microsoft-github-policy-service agree

I Nathan, thank you so much for your contribution. If you are willing, can you please share your name and email address with me (raprofit@microsoft.com)? We would like to send you a thank you for being the first contributor to the guidance documentation.


Use onnxmltools>=1.6.0,<=1.11.0 instead of onnxmltools>=1.6.0

import onnxmltools will fail with
onnxconverter_common==1.8.1 & onnxmltools==1.11.1. The failure caused ONNX test skipping.
In this PR, we'll use onnxmltools>=1.6.0,<=1.11.0 instead of onnxmltools>=1.6.0.
Fix #589

This is great, thanks for finding this. Let's merge it.

We had to pin it to that exact version of skltoonnx because of #533.   :(
I see that when you merged it, it passed on python 3.7 but failed on python 3.8?
I'm confused how it passed before... was it bumping to skl==1.1.1 that broke things for you?  Meaning, if  you set everything back to f452692, is it ok then?

On Python 3.7, pip install git+https://github.com/onnx/sklearn-onnx.git@9b551d8ecfd9f97ad8771909e34cfffea7b6e99d installs scikit-learn-1.0.2. But on Python 3.8, it installs scikit-learn-1.1.1.
I don't know why...

Another option is that we first back to skl=1.0.2, then merge this commit. After that bump to skl=1.1.0.

Thanks so much for all the time you put into this; I really appreciate it!
I don't want to revert the last commit entirely because it had fixes we'll need moving forward, but we can definitely go back to skl1.0.2 for now.


Updated FormatConverter

I wanted to bring this up to date as the previous version had the potential to leak ExtAudioFileRef's from the convertToPCM function if there was an early exit due to an error or if the file didn't need to be converted.
The other change is to make it so that compressed -> compressed conversions can handle sample rate conversion as well.
Also added the test i use and made a base class for generating a more varied audio file.

Thank you!


Upgrade CodeQL v2.22.8 -> v2.22.12

This PR contains the following updates:

Package
Type
Update
Change

github/codeql-action
action
patch
v2.22.8 -> v2.22.12

Release Notes

github/codeql-action (github/codeql-action)
v2.22.12
Compare Source
v2.22.11
Compare Source
v2.22.10
Compare Source
v2.22.9
Compare Source

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

The Java Platform team wishes you a happy festive period. Here is the suggested commit message:
Upgrade CodeQL v2.22.8 -> v2.22.12

See:
- https://github.com/github/codeql-action/blob/main/CHANGELOG.md
- https://github.com/github/codeql-action/compare/v2.22.8...v2.22.12

Renovate be like

Header generated and modified from Sweaterify.

The Java Platform team wishes you a happy festive period. Here is the suggested commit message:
Upgrade CodeQL v2.22.8 -> v2.22.12

See:
- https://github.com/github/codeql-action/blob/main/CHANGELOG.md
- https://github.com/github/codeql-action/compare/v2.22.8...v2.22.12

Renovate be like

Header generated and modified from Sweaterify.

I approved, but we should instead just merge #948.


Deformation wither explosion generate effect

i am on youtube saw this video https://www.youtube.com/watch?v=-jg0fhWBzKk
He morph wither and had an explosive effect Also. wither spawn effect
I won't describe it because it's too complicated
Can it be added?
I am Chinese

l didn't say well, but you can watch the video


Customize daemon port

Thank you for making this useful gem 🎉.
Currently the port is fixed to 3002, but I would like to change the daemon port to another port such as 13002 or 23002 if possible. Do you have any plans for using environment variables, patching rspec options, generating specific client scripts, etc.?

@ta1kt0me
Hello 👋
I have released v1.0.0 and can change the port. You can set it from environment variables or options.
https://rubygems.org/gems/rspec-daemon/versions/1.0.0

Thank you!


Fill payment name, method fields

Hello,
I wonder if we could fill fields like Payment name and Payment method in Commercetools' payment from the ctp-adyen-integration. I imagine it could be very useful for the merchant's team to have information if it is a card, card with 3ds, paypal, klarna or smth different.

Currently, I have to copy Interaction ID and find it in Adyen's dashboard. I imagine some people might have access to the orders but not necessarily should have access to Adyen's dashboard. That's why we should add it.
Another reason is readability.
As we save the payload of makePaymentRequest in CT - there is a field paymentMethod.type which tells us what kind of payment we've used. It might be pretty easy to develop this feature with that.
I also wonder, what should we do with other fields like Payment provider ID, Payment state, PSP Status Code & Description?

Hi @Fifciu
Thanks for suggesting enhancements based on the merchant center users, normally we tend to use the least info (for now only required fields) that would be enough to complete payment within the integration.

As we save the payload of makePaymentRequest in CT - there is a field paymentMethod.type which tells us what kind of payment we've used. It might be pretty easy to develop this feature with that.

We need to discuss the team and need to consider all consequences for that change. After that, we could plan and implement those changes without breaking any existing functionality.
Additional note, those fields could be also added to payment by sending those actions to payment.
https://docs.commercetools.com/api/projects/payments#set-methodinfoname
https://docs.commercetools.com/api/projects/payments#set-methodinfomethod
and others.
But I might also wait for this workaround in the case when we decide to add those enhancements, you might need to change the code. Do you have any urgency for those changes?

I also wonder, what should we do with other fields like Payment provider ID, Payment state, PSP Status Code & Description?

What do you mean by what should we do? Do you have a use case scenario that you need to use so we could discuss based on?

@Fifciu In addition to what @ahmetoz wrote did you notice that within "View PSP transaction log" in your screenshot one can lookup the payment method too?

Additional note, those fields could be also added to payment by sending those actions to payment.
https://docs.commercetools.com/api/projects/payments#set-methodinfoname
https://docs.commercetools.com/api/projects/payments#set-methodinfomethod
and others.

That could be a nice workaround for me, thanks. However, in my opinion, it should be a part of the commercetools-adyen-integration so it would always populate these fields - not only for developers with my module.

Do you have any urgency for those changes?
Agencies are asking about it. They feel like my module is incomplete.

What do you mean by what should we do? Do you have a use case scenario that you need to use so we could discuss based on?
I meant that I am not sure what kind of data we should put in these fields but it is worth investigating.

did you notice that within "View PSP transaction log" in your screenshot one can lookup the payment method too?
Yes, for me as a creator of Vue Storefront Module for Adyen & CT - it is pretty straightforward. Unfortunately, I am afraid it won't be for every developer/moderator - that's why filling fields mentioned in the issue would increase the user experience.

Would it be enough if we would just set "Payment method" since we have no info on the "Payment name" from Adyen? Also, we would leave it up to the user and make it configurable over the env vars like: "setPaymentMethod": true|false.

I feel like Payment name could be a value from hardcoded map like:
const paymentMethodToName = {
  scheme: 'Credit Card',
  pp: 'PayPal',
  klarna: 'Klarna',
  gpay: 'Google Pay',
  // ...
};

So Payment method could be a pure value which is passed to paymentMethod.type (e.g. scheme) and Payment name could be a more readable value from the map above (e.g. Credit Card).
What do you think about this approach?

We would like to avoid hard coding payment specific mapping as by design the integration is payment method agnostic which means that any newly added web-component based Adyen payment method will be supported by this integration out of the box. Otherwise we would need to change the integration every time a new payment method is added.

An alternative would be that we could hard code the current mapping and one could override the mapping or add new entries thorough the existing env var JSON configuration. Override would mean that you need to define only new mappings or the one that needs to be overridden as the rest would be used as already hard coded, wdyt?

@Fifciu Any updates/thoughts from you side?

An alternative would be that we could hard code the current mapping and one could override the mapping or add new entries thorough the existing env var JSON configuration. Override would mean that you need to define only new mappings or the one that needs to be overridden as the rest would be used as already hard coded, wdyt?

It sounds well for me. I would go for it


test(e2e,playwright): FourOhFour component

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Playwright tests for UI Component/FourOhFour: Issue #51705

acknowledgement: camperbot cant code

Had to close as I committed with package-lock.json accidentally. Opened another PR #52054. Kindly review that, thanks!


Simultaneous audio output for bluetooth device and audio jack

Hi,
I would like to have a simultaneous audio output to a connected bluetooth speaker and the normal audio jack at the same time.
The audio output via the bluetooth works already, but I can't get it running for the audio jack.
Here is my /etc/asound.conf:
defaults.bluealsa.device "XX:XX:XX:XX:XX:XX"
defaults.bluealsa.profile "a2dp"
defaults.bluealsa.slave.pcm "jack"

pcm.rawjack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
    }
}

pcm.jack {
    type plug
    slave { pcm "rawjack" }
    hint {
        description "JACK Audio Connection Kit"
    }
}

Do you have an idea?
Btw: I'm using a raspberry pi gen. 3

do you need more information for that or is that kind of use case not yet supported?

Its not clear what you are asking.
Looking at your asound.conf, you appear to be using the JACK audio connection kit; and that is not working with the RPi 3.5mm socket. If that's right, then should you not be asking for help on a JACK forum or a RPi forum?
Or is there some  issue with bluealsa that you need help with?

ah yeah, I reworked the configuration, but somehow it does not work either:
defaults.bluealsa {
  type plug
  slave.pcm {
    type bluealsa
    device "C0:28:8D:XX:XX:XX"
    profile "a2dp"
  }
}

I just want to use the analog audio plug of the raspberry pi with the bluetooth device as a slave together.
Btw here are the error that I get when I execute aplay -D bluealsa /usr/share/sounds/alsa/Noise.wav:
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM bluealsa
aplay: main:828: audio open error: No such file or directory

I think you have misunderstood the use of "default" in alsa configurations. The only argument to pcm.bluealsa whose default you need to define here is device.
In a plain alsa system, the way to  get a single audio stream to be directed to 2 pcms is  the "multi" plugin. Be aware though, that this plugin does not *synchronize" the streams. It is extemely likely that the bluetooth speaker will have a much higher latency than the jack plug. So to synchronize, you would need to add a delay to the jack output. I don't know how to do that with plain alsa - you would have to seek advice from ALSA experts somewhere.
An example .asoundrc that would achieve simultaneous, but not synchronized, output is:
defaults.bluealsa.device "C0:28:8D:XX:XX:XX"
pcm.jackplug "hw:0,0"

pcm.Duplicate {
	type plug
	slave.pcm {
		type multi
		slaves {
			a { pcm "jackplug" channels 2 }
			b { pcm "bluealsa" channels 2 }
		}
		bindings [
			{ slave a channel 0 }
			{ slave a channel 1 }
			{ slave b channel 0 }
			{ slave b channel 1 }
		]
		master 1
	}
	ttable [
		[ 1 0 1 0 ]
		[ 0 1 0 1 ]
	]
	hint {
		show on
		description "Duplicate output to jack plug and bluealsa"
	}
}

redefine "pcm.jackplug" if hw:0,0 is wrong for your setup.
Now , for example,
aplay -D Duplicate testfile.wav
will play to both outputs, most likely with an uncomfortable "echo" effect because the two outputs are not synchronized.

You can use an upmix plugin which has a delay parameter (if the difference in latency is predictable!)
pcm.bothdevices {
	type upmix
	slave "pairup"
	channels 4
	delay 170  ## adjust here as necessary
	hint {
		show {
			@func refer
			name defaults.namehint.extended
		}
		description "device 1 and device 2"
	}
}

pcm_slave.pairup.pcm {
	type plug
	slave.pcm {
		type multi
			slaves {
				a { pcm "device1" channels 2 }
				b { pcm "device2" channels 2 }
			}
		bindings [
		{ slave a channel 0 }
		{ slave a channel 1 }
		{ slave b channel 0 }
		{ slave b channel 1 }
		]
	}
}

This issue appears to be resolved.


Byte value is being read as 2.0 instead of 2 when read from excel sheet in QAF latest version

QAF Version

Note: only the latest version is supported
3.1.0

Steps To Reproduce
1. Read a byte value from excel from feature file example table
2.Like below
   Scenario Outline: Cell Data Types in Excel
   Given The "char" should be taken as "<char>"
Examples: {datafile:'ExcelDataTest.xls',sheetName:'ExcelTest'}

Expected behavior
Value should be read as 2
Actual behavior
It is being read as 2.0
Is the issue reproducible on runner?

[X ] Maven
[ X] Eclipse

Test case sample

Please, share the test case (as small as possible) which shows the issue
Scenario Outline: Cell Data Types in Excel
Given The "char" should be taken as ""
Examples: {datafile:'ExcelDataTest.xls',sheetName:'ExcelTest'}

Duplicate of #416
you can set cell/column format string (Text or @) in excel.

closing as duplicate


Add GraphQL based examples (posts and comments)

Since there is a graphql api we might as well use it.

Done


Proposal and EDA

I see that you have done a great job in your proposal and your EDA file. I see no issues at all, keep up the good work!

@hsmohammed Just wondering, we noticed that we lost marks in some of our written and analysis, and we are unclear about what we should fix from that since you had posted in this issue that there were no issues.

I re-reviewed your proposal and EDA and I see that it is fare to give you the full mark on the reasoning section, as you did a very good job in the proposal and the EDA compared to most groups. I changed that grade on Canvas. Just for future submissions, could you explain this sentence:
"Class imbalance here was avoided by changing the readmitted column to binary "YES" or "NO" values if the patient was readmitted or not".
Regarding the writing, it is excellent actually except for some minor unclear sentence structures such as using "This would then give us" and "This will also allow us". It is better to starting sentences by using such references that maybe confusing to the readers. Also, using abbreviations such as RBF SVM is not recommended.

Feedback understood and incorporated.


feat: Adding support for Spanner with PG Dialect in Database Retriever Service

Adding support for Spanner with PG Dialect in Database Retriever Service.
Queries are used based on auto dialect detection.

/gcbrun

Closing the PR as design is changed, and we will be having separate module for the postgres support. https://github.com/GoogleCloudPlatform/genai-databases-retrieval-app/pull/469


lock_manager: more metrics (#6392) (#6422)

Signed-off-by: youjiali1995<EMAIL_ADDRESS>
What have you changed?
Cherry pick #6392

@AndreMouche @sticnarf PTAL

/merge

/run-all-tests