[NOT READY FOR RELEASE] AIS-233 Strong match domain default bnc -> app.link

Changes the strong match domain default to app.link like Android.
@ahmednawar

BNC_LINK_URL is also used when generating long links in case of failures. Shall we introduce a new const just for strong matching?

Result of Integration 1
Duration: 3 minutes and 42 seconds
Result: 1 error, failing state: build-errors

good catch - updated

:+1 but I don't think we should merge this before the backend change, no? Otherwise apps on bnc.lt will not get strongly matched.

Sounds good. We can hold.

Result of Integration 1
Duration: 1 minute and 29 seconds
Result: -1 error, failing state: build-failed

Result of Integration 2
Duration: 19 seconds
Result: -1 error, failing state: build-failed

Result of Integration 1
Duration: 5 minutes and 5 seconds
Result: 1 error, failing state: build-errors

Result of Integration 2
Duration: 3 minutes and 13 seconds
Result: Perfect build! All 179 tests passed. :+1:
Test Coverage: 65%

Result of Integration 3
Duration: 3 minutes and 55 seconds
Result: Perfect build! All 179 tests passed. :+1:
Test Coverage: 65%

Result of Integration 1
Duration: 55 seconds
Result: -1 error, failing state: build-failed

Result of Integration 3
Duration: 3 minutes and 45 seconds
Result: Perfect build! All 179 tests passed. :+1:
Test Coverage: 65%

Result of Integration 1
Duration: 4 minutes and 40 seconds
Result: Perfect build! All 179 tests passed. :+1:
Test Coverage: 57%

Is this ready to go?

Not quite. Ahmed is out today but will be back tomorrow to comment.

Not yet.
On Wed, Jun 28, 2017 at 7:34 PM, Alex Austin<EMAIL_ADDRESS>wrote:

Not quite. Ahmed is out today but will be back tomorrow to comment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BranchMetrics/ios-branch-deep-linking/pull/617#issuecomment-311845724,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQIHgByCX_ybuv4Sp0cUGtsWrotO1gpcks5sIw1HgaJpZM4NDQbw
.

--
[image: Branch] https://branch.io/?bmp=xink-sig
Ahmed Nawar
Software Engineer
How Branch Links Work https://t.xink.io/Tracking/Index/9a4BAGZBAABB8g8A0
How Airbnb https://t.xink.io/Tracking/Index/9q4BAGZBAABB8g8A0, Strava
https://t.xink.io/Tracking/Index/-K4BAGZBAABB8g8A0, and Instacart
https://t.xink.io/Tracking/Index/-a4BAGZBAABB8g8A0 use Branch
Join us  at BUG SF on July 13 for a conversation with Close5 - REGISTER
HERE https://t.xink.io/Tracking/Index/9K4BAGZBAABB8g8A0

Result of Integration 2
Duration: 6 minutes and 40 seconds
Result: All 191 tests passed, but please fix 2 warnings.
Test Coverage: 61%

Result of Integration 3
Duration: 6 minutes and 29 seconds
Result: All 191 tests passed, but please fix 2 warnings.
Test Coverage: 61%

Still not ready? @ahmednawar

Yeah, let's hold on for a bit since we will need to rethink this again in light of iOS 11.

No longer relevant


Optional priority-based event listener

Listeners now accept an optional numeric priority parameter (higher value = higher priority, default is 0)
Callback functions can return false to stop event propagation to lower-priority listeners
Changes maintain backward compatibility with existing listener registrations and behavior
Priority-based sorting occurs during listener registration, using an array for efficient sorting and execution
slightly slower registration for faster event execution

An alternative version : #135

Let's move forward with the alternative approach in #135


change database default value

@prydonius please, provide a description for this PR that explains a bit why we are doing this (I guess this is related to https://github.com/bitnami/kubeapps-hub/pull/26/).

Well, yes, the issue is that the db ratesvc is already being used by the ratesvc so it shouldn't be used by a different service. We are changing this value in our manifest so we are fine but the default value should be something different to avoid possible conflicts.

@arapulido sorry I created this in a rush, thanks for providing the context @andresmgot!


Angular Google Maps zoom dynamically

hello i have Angular Google Maps on my app (angular 2) , im trying to set the zoom dynamically depending on some city or country , there is a way to do this? example :
i do a search and type new york , i want the zoom fit on the city , if a search for london the zoom must change to fit london

I am not sure if this is implemented but your need something like this
https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete
https://developers.google.com/maps/documentation/javascript/examples/places-searchbox
If this is not supported yet you may have to inject '&libraries=places' in LazyMapsAPILoader and crate a searchbox the example.
Once you get a location from autocomplete  you could center to that location with this example:
 @ViewChild(AgmMap) mapElement: AgmMap;           this.mapElement._mapsWrapper.setCenter(placeLatLng)           this.mapElement._mapsWrapper.panTo(placeLatLng);
This is not a complete answer  or solution by rather a starting point for your needs.

@vvasiloud when I attempt your solution, I get an error:
Property '_mapsWrapper' is private and only accessible within class 'AgmMap'.
The only public method in the whole directive appears to be triggerResize(). How should we get around this?

@jplew As a workaround you can set mapElement to any instead of AgmMap to avoid the error. I haven't found any other way for this problem yet.

wow, that works! Thanks a lot for the quick response.
I found another solution here on Stack Overflow: https://stackoverflow.com/questions/44315771/setcenter-not-working-in-angular2-google-maps/44333134#44333134
Basically, if you want to access the private GoogleMapsAPIWrapper service, you have to do it via a child component. This is by design, apparently: https://github.com/SebastianM/angular-google-maps/issues/1036#issuecomment-309282967
Wish this was better documented.

is there any better solution for this?


run gnina for pose scoring for both GNINA score, VINA score

@thetechnocrat-dev pls review

https://github.com/labdao/casf-2016-evaluator


Reactstrap dropdown doesn't show initial toggle header.

When the page is loaded, the dropdown does not show the first item in the dropdown toggle. Only after selecting an item does the dropdown toggle show the appropriate header.

Resolved. Incorrect variable name Lol.


remove shouldComponentUpdate check

I was using<EMAIL_ADDRESS>with mobx-react/observer.
react-router@4 uses Router#setState to trigger re-render from history changes, which means every component that specifies shouldComponentUpdate must be responsible for location changes.
One solution is to use @withRouter along with @observer, which might be really redundant.
Given the fact that current code of shouldComponentUpdate defined in observer is behaving like PureRenderMixin, I suggest removing it since if users really need it they would have defined it or used PureRenderMixin/React.PureComponent, it shouldn't harm much restoring to default behavior.
Looking forward to your response. Thank you for your dedication!

The point of @observer / mobx-react is that sCU doesn't need to be implemented by users and one still gets optimized performance out of the box. If you can setup a test project or testcases in the testsuite, it can be investigated if the check can be made smarter, for example skipping the hook for setState calls etc.

Yes, I understand that mobx is doing partial update. But still there is such case where default behavior is wanted, and since react-router is not bound to mobx, this feature is probably needed.

Closing this issue, the impact of people needing to use @withRouter for react-router related components is a lot smaller than people suddenly having to provide a shouldComponentUpdate strategies, which is one of the biggests pro's of mobx-react

Note that it is still possible to override shouldComponentUpdate in specific components if you like to


Build with mimalloc to further improve browser performance

Is your feature request related to a problem? Please describe.
mimalloc is a high-performance memory allocator alternative to glibc malloc().
In Linux, it can be easily enabled as a drop-in replacement of glibc malloc().
In Windows, it has to be compiled together with the target project.
Describe the solution you'd like, including relevant patches or source
Compile Thorium-Win with mimalloc enabled.
https://github.com/microsoft/mimalloc?tab=readme-ov-file#override_on_windows
Additional Notes
Add any other context or screenshots about the feature request here.

Introducing mimalloc into Chromium compilation requires a lot of work. It seems that no developers are doing this at this stage, but it would be good if it can be done.

@enihcam This is something I would like to do, based on their benchmarks, however, getting this to work in Thorium, and for all the platforms (Linux, Windows, MacOS, Android, ChromiumOS) would take alot of work. Perhaps with a .patch file and a script that uses sed and grep to replace all instances of malloc in the code with mimalloc. I can look into it. However, there is also the possibility that it would cause bugs, since although we use the gcc malloc function, Chromium is compiled with LLVM/Clang, not the GCC/G++ toolchain.

@Alex313031 @gz83 Glad to hear you are considering this.
Maybe you can start from trying Dynamically overriding first?

We may try, but there is no guarantee that mimalloc will be used and Chromium's compilation workflow does not support us using mimalloc directly.


ci: increase binding tester iterations

It looks like it takes about 400 interations if we want our schedule
workflow to run approximately for an hour.

Codecov Report

Merging #11 (cd41a03) into main (7a5d392) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   89.43%   89.43%
=======================================
  Files          17       17
  Lines        7655     7655
=======================================
  Hits         6846     6846
  Misses        809      809

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 7a5d392...cd41a03. Read the comment docs.


One library can't import another library

Versions
Angular CLI: 6.0.0
Node: 10.0.0
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.6.0
@angular-devkit/build-angular      0.6.0
@angular-devkit/build-ng-packagr   0.6.0
@angular-devkit/build-optimizer    0.6.0
@angular-devkit/core               0.6.0
@angular-devkit/schematics         0.6.0
@ngtools/json-schema               1.1.0
@ngtools/webpack                   6.0.0
@schematics/angular                0.6.0
@schematics/update                 0.6.0
ng-packagr                         3.0.0-rc.2
rxjs                               6.1.0
typescript                         2.7.2
webpack                            4.6.0

Repro steps

Step 1
ng generate library model-lib
ng generate library ui-lib
ng generate application portal
Step 2
ng build model-lib
Step 3
import { ModelLibModule } from 'model-lib' in portal module
ng build portal
Step 4
import { ModelLibModule } from 'model-lib' in ui-lib module
ng build ui-lib

Observed behavior
BUILD ERROR
projects/ui-lib/src/lib/ui-lib.module.ts(3,29): error TS2307: Cannot find module 'model-lib'.

Desired behavior
Library should import other library same as application.

Have same issue, even added two libs to tsconfig.json file

Same, it's a pretty critical issue imho. I tried playing with the compiler options "baseUrl" and "path", but the error is always the same during the compilation step with ngc.
Note that the IDE's (VS Code) intellisense works in resolving an import from library 1 written inside a file of library 2, but then the compilation of library 2 fails.

solved that issue by defining libs in paths see https://github.com/formly-js/ngx-formly/blob/master/tsconfig.json#L20-L22 and for building libs I used a patch in ng-packgr to make it work

@Etchelon it's just a temporary fix :) https://github.com/formly-js/ngx-formly/blob/master/package.json#L13

@Etchelon another easy way is to add paths in tsconfig.lib.json

same here

The specified command ("build:lib") is invalid. For a list of available options,
run "ng help".
Did you mean "build"?

With a library generated with 6.0.2+ this should no longer be an issue.  Support for secondary entry points will be corrected via https://github.com/angular/devkit/pull/933
For an existing library exhibiting the issue, ensure the library that contains the import has its own tsconfig and that it has a paths section as described in the previous responses.

With a library generated with 6.0.2+ this should no longer be an issue.

Can you elaborate on this?
If lib-b depends on lib-a (both created w/6.0.0):
Which library do I need to regenerate for this issue to go away?
What manual change can I make so that both libs function as if they were created w/6.0.2+?
btw, adding paths to lib-b as describe above works---but if this is not the 'official cli' way, I'd rather not use it.

It works for me after I have corrected the "paths" of library in "tsconfig.lib.json". I have Angular CLI 6.0.9.

Ok so I've been digging into that issue and found out what was wrong.
For some reason, /src/tsconfig.app.json had into compilerOptions the following prop:
"baseUrl": "./",
Removed that and now everything seems to be working.

@maxime1992  Thanks a lot!! I was debugging this for a couple of hours and it was driving me crazy. Thanks a lot.
It happens when you migrate an application from 5.x to latest angular version, in my case it was 7.x. So old tsconfig.app contained that property and was messing the imports from the libraries.

Trying to migrate to v8... this trick doesn't work anymore and baseUrl is now required...
I've been stuck on that for 2 hours now :(

Ok, after trying plenty of different things I finally managed to get it to work.
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,16 +1,16 @@
 {
   "compileOnSave": false,
   "compilerOptions": {
-    "baseUrl": ".",
+    "baseUrl": "./",
     "outDir": "./dist/out-tsc",
     "sourceMap": true,
     "declaration": false,
-    "module": "es2015",
+    "module": "esnext",
     "moduleResolution": "node",
     "emitDecoratorMetadata": true,
     "experimentalDecorators": true,
     "importHelpers": true,
-    "target": "es5",
+    "target": "es2015",
     "typeRoots": ["node_modules/@types"],
     "lib": ["es2018", "dom"],
     "paths": {

--- a/tsconfig.app.json
+++ b/tsconfig.app.json
@@ -2,11 +2,7 @@
   "extends": "./tsconfig.json",
   "compilerOptions": {
     "outDir": "./out-tsc/app",
-    "types": [],
-    "paths": {
-      "ngx-hover-opacity": ["projects/ngx-hover-opacity/src/public_api"],
-      "ngx-hover-opacity/*": ["projects/ngx-hover-opacity/src/public_api"]
-    }
+    "types": []
   },
   "include": ["src/**/*.ts"],

Might eventually help someone out here :man_shrugging:

Specifically, just adding those two lines to your lib's tsconfig:
"baseUrl": "./",
"module": "esnext",

Specifically, just adding those two lines to your lib's tsconfig:
"baseUrl": "./",
"module": "esnext",

I just added this in my tsconfig.lib.json, but now my first library can not see components from another library (shared-lib). Do u have any solution for that?

Specifically, just adding those two lines to your lib's tsconfig:
"baseUrl": "./",
"module": "esnext",

Hello @kcrossman. I just added this in my tsconfig.lib.json, but now my first library can not see components from another library (shared-lib). Do u have any solution for that?

This is a project I made to test making a library and whatnot, for your reference. It's possibly your tsconfig.json, where you need to specify the path as such:
...
    "paths": {
      "shared-lib": [
        "dist/shared-lib"
      ],
      "shared-lib/*": [
        "dist/shared-lib/*"
      ]
    }

After which, you have to run ng build or ng build shared-lib to publish your library to that dist folder. Your code may show red lines but it will work at that point if you just run ng serve.

I have the same issue with angular 8, I made a repo to reproduce my error here: https://github.com/fjoalland/multiple-angular-lib/
You just need to follow the steps and you will have the same error as me
`[error] Error: : Unexpected value 'Lib1Module in D:/Documents/multiple-angular-lib/lib1/dist/libs/lib1/libs-lib1.d.ts' imported by the module 'Lib2Module in D:/Documents/multiple-angular-lib/lib2/projects/libs/lib2/src/lib/lib2.module.ts'. Please add a @NgModule annotation.
at Object.<anonymous> (D:\Documents\multiple-angular-lib\lib2\node_modules\ng-packagr\lib\ngc\compile-source-files.js:73:19)`

DId you manage to find a solution?

@kcrossman I have the same issue with angular 8, I made a repo to reproduce my error here: https://github.com/fjoalland/multiple-angular-lib/
You just need to follow the steps and you will have the same error as me
[error] Error: : Unexpected value 'Lib1Module in D:/Documents/multiple-angular-lib/lib1/dist/libs/lib1/libs-lib1.d.ts' imported by the module 'Lib2Module in D:/Documents/multiple-angular-lib/lib2/projects/libs/lib2/src/lib/lib2.module.ts'. Please add a @NgModule annotation. at Object.<anonymous> (D:\Documents\multiple-angular-lib\lib2\node_modules\ng-packagr\lib\ngc\compile-source-files.js:73:19)
DId you manage to find a solution?

I'll look at your repo and see if I can find something. If you really need this, you could create 3 separate libraries for now and just host them and npm install them independently.

@fjoalland Your repository is not configured correctly to use the normal import rule. You will have to host each library and npm install them to use them. I will copy some commands so that you can re-create your libraries to work...

ng new ng-libs-ws --style=scss --createApplication=false --skip-git --skip-install
cd ng-libs-ws
ng g library ng-lib1 --skip-install
ng g library ng-lib2 --skip-install
ng g library ng-lib3 --skip-install
(optional) ng g application ng-libs-demo --style=scss --routing --minimal --skip-install
npm i

At this point, you should be able to import your ng-lib1 where you want to use it. Though, I haven't done this myself. I've only verified the commands work and the initial config looks right...

Merci pour ta réponse.
Cependant, j'ai bien testé et ca ne fonctionne pas. Peut être que j'ai mal expliqué ce que je rechairchais à faire.
Je souhaites pouvoir importer une librairie dans une autre librairie (et non une application angular). Je sais comment importer une librairie dans une application angular, ca fonctionne sans problème. Cependant, j'obtiens une erreur lorsque j'importe une librairie dans une autre librairie avec la commande 'npm link'. Par contre (et c'est la le plus surprenant!), si je déploie ma librairie sur un repository privé (example: nexus), et que je l'importe dans une autre librairie, cela va fonctionner.
J'ai recreer un repository ici!https://

@kcrossman Thank you for your answer.
However, I have tested well and it does not work. Maybe I did not explain what I was trying to do.
I wish I could import a library into another library (and not an angular application). I know how to import a library into an angular application, it works without problems. However, I get an error when I import a library into another library with the 'npm link' command. By cons (and this is the most surprising!), If I deploy my library on a private repository (example: nexus), and I import it into another library, it will work.
I recreated a github reproduisnat my error here with the steps you made: https://github.com/fjoalland/import-lib-angular-in-other-angular-lib
There are two librairies:

ng-lib1 in ng-libs-ws-bis directory
ng-lib2 in ng-libs-ws directory

The ng-libs-ws-bis library imports the ng-libs-ws library module
import { NgModule } from '@angular/core';
import { NgLib2Component } from './ng-lib2.component';
import {NgLib1Module} from 'ng-lib1';

@NgModule({
  declarations: [NgLib2Component],
  imports: [
    NgLib1Module
  ],
  exports: [NgLib2Component]
})
export class NgLib2Module { }

Bellow, the error I got

ERROR: : Unexpected value 'NgLib1Module in /home/user/Documents/Test/libs/ng-libs-ws/dist/ng-lib1/ng-lib1.d.ts' imported by the module 'NgLib2Module in /home/user/Documents/Test/libs/ng-libs-ws-bis/projects/ng-lib2/src/lib/ng-lib2.module.ts'. Please add a @NgModule annotation.

An unhandled exception occurred: : Unexpected value 'NgLib1Module in /home/user/Documents/Test/libs/ng-libs-ws/dist/ng-lib1/ng-lib1.d.ts' imported by the module 'NgLib2Module in /home/user/Documents/Test/libs/ng-libs-ws-bis/projects/ng-lib2/src/lib/ng-lib2.module.ts'. Please add a @NgModule annotation.

See "/tmp/ng-cOPw65/angular-errors.log" for further details.

On the other hand, if I publish the library ng-libs-ws on my private repository nexus, and install it with the command 'npm install ng-lib2' on ng-libs-ws-bis, it will work.

@fjoalland If they are separate Angular projects, you cannot share them without hosting them in some way and npm installing them. You don't necessarily have to use Nexus, something like Verdaccio may work better for you.

@krossman thanks a lot I didn't know Verdaccio! It's a great solution to resolve my problem.
I will try that and tell you if it's working. But I hope that one day, npm link will work with angular library. It's much comfortable to use ng build --watch in a symlink to debug your library in real time.


Incorrect notes on mpv

https://github.com/lukesampson/scoop-extras/blob/master/bucket/mpv.json#L28-L29
mpv-git releases come with install scripts, but not stable ones.
Perhaps this should be reported to those who make Windows builds to contain the scripts in future builds?

It looks like the stable releases do not include the scripts but the x64 releases do.
https://sourceforge.net/projects/mpv-player-windows/files/64bit/


Remove explicit region assigning

SparkConf is intended for passing configuration to
driver, and driver would not pass those configuration
to executors. Thus, using this factory in a multi
node spark cluster would result in error.
User must set AWS region through environment variable
AWS_REGION.

I understand the importance of semver, but this repo never really work from the beginning, so I don't think there is anyone really using this repo. Also, people should understand that there could be bc-breaking changes due to this repo still < 1.0 according to semver. Anyway, I'll see if I can mark those classes with @deprecated.


[REST] Fix issue #1144 : Support variadic typesafe arguments

Turns out it was way simpler than anticipated. I actually didn't expect this snippet of code to compile...

Oh wow, that's indeed a surprising language feature there. Thanks for finding a (non-disrupting) fix!


Run pyupgrade on the codebase and clean things up.

What is wrong?
We have some things in the codebase that could be fixed automatically by pyupgrade
How can it be fixed
See: https://github.com/ethereum/py-evm/pull/1789

@pipermerriam I have to pyupgrade on every file in the repo?

@Patil2099 I believe you can apply it to whole directories.

:+1: to @iamonuwa

@iamonuwa you're good to go on this one! Sorry about that @sprimage there should be some other Python issues up that are good fits though :)

@pipermerriam can I continue with the PR or create a new one?

@iamonuwa whatever you'd like to do is fine

@pipermerriam there is a PR waiting for you 😁

Hi guys,
Am I eligible to receive the bounty for this issue?
@pipermerriam @ceresstation

@pipermerriam Can this be closed because of #1859?

@Swixx I think so. Thanks for the hint.


feat: opt in to CircleCI

The SSH deployment key (fingerprint: 92:e5:99:6a:e1:24:28:b6:fb:a4:33:9a:a1:b1:a7:c6) is used to perform write-access to the styled-ui repo
The SSH deployment key (fingerprint: 73:b4:70:76:97:74:c2:f5:c9:bf:71:83:8c:a6:da:a6) is used to perform write-access to the styled-ui-demo repo

You can configure the SSH keys at the following places:

https://app.circleci.com/settings/project/github/trendmicro-frontend/styled-ui/ssh
https://github.com/trendmicro-frontend/styled-ui/settings/keys
https://github.com/trendmicro-frontend/styled-ui-demo/settings/keys

CircleCI Workflow


Sort wifi networks in alphabetical order

link

What will happen if my network is named ZZZ and there are 30 or more other networks nearby? Someone just said on the Ruuvi telegram channel that once there were 1800 other Wi-Fi networks available when he tried to configure some other device and it froze completely. This should not happen to Ruuvi Gateway and it should be also always possible to select my ZZZ network even if there were number of other networks in range. In these situations, can user currently use the manual SSID selection?

QA passed


Nested variable renaming uses camel case instead of snake case

Hello, recently I've upgraded graphql-client version from 0.9.0 to 0.10.0 and the variable renaming of nested structs defined in graphql does not rename the variables using camel case anymore. I apologize for the code dump but I think it would be best if I showed what I mean.
Say I have the following struct defined:
#[derive(juniper::GraphQLInputObject, Clone, Validate, Serialize, Deserialize)]
pub struct Actor {
    pub first_name: String,
    pub last_name: String,
}

From which I can generate a schema.json file which would contain the following:
...
{
        "kind": "INPUT_OBJECT",
        "name": "Actor",
        "description": "",
        "fields": null,
        "inputFields": [
          {
            "name": "firstName",
            "description": "",
            "type": {
              "kind": "NON_NULL",
              "name": null,
              "ofType": {
                "kind": "SCALAR",
                "name": "String",
                "ofType": null
              }
            },
            "defaultValue": null
          },
          {
            "name": "lastName",
            "description": "",
            "type": {
              "kind": "SCALAR",
              "name": "String",
              "ofType": null
            },
            "defaultValue": null
          },
        ],
        "interfaces": null,
        "enumValues": null,
        "possibleTypes": null
      },
...

I also have created a file query.graphql to contain the target query to be tested:
mutation ActorCreation ($movieName:String!, $actor:Actor!) {
  createActor(movieName:$movie, actor:$actor) {
    firstName
    lastName
    movie
  }
}

And somewhere in my rust code I need to build the input for mutation ActorCreation, something like:
    #[derive(GraphQLQuery, Copy, Clone, PartialEq)]
    #[graphql(
        schema_path = "schema.json",
        query_path = "src/tests/query.graphql",
        response_derives = "Debug, PartialEq",
        normalization = "rust"
    )]
    struct ActorCreation;
    ...
    let query: QueryBody<actor_creation::Variables> =
        ActorCreation::build_query(actor_creation::Variables {
            movie_name: "Star Wars",
            actor: actor_creation::Actor {
                first_name: "Adam".to_string(), // <<<<<<<<<<<<< ERROR
                last_name: "Driver".to_string(), // <<<<<<<<<<<< ERROR
            },
        });
    ...

The errors being:
error[E0560]: struct `actor_creation::Actor` has no field named `first_name`
   --> /tests/test.rs:811:21
    |
811 |                     first_name: "Adam".to_string(),
    |                     ^^^^^^^^ help: a field with a similar name exists: `firstName`

error[E0560]: struct `actor_creation::Actor` has no field named `last_name`
   --> /tests/test.rs:812:21
    |
812 |                     last_name: "Driver".to_string(),
    |                     ^^^^^^^^^ help: a field with a similar name exists: `lastName`

error: aborting due to 2 previous errors

Instead with version 0.10.0 I'm having to do the following with camel case:
...
            ActorCreation::build_query(actor_creation::Variables {
                movie_name: "Star Wars",
                actor: actor_creation::Actor {
                    firstName: "Adam".to_string(), // <<<<<<<<<<<<< HAPPY
                    lastName: "Driver".to_string(), // <<<<<<<<<<<< HAPPY
                },
            });

I spent some time looking for a way to generate the snake case variables but all I could find was the attribute normalization but that did not quite work. Am I missing something, or is there a way to make this happen?
Thank you in advance!

Thanks for the report! It looks like a bug to be fixed, indeed.

My pleasure!


Add typescript support

Closes #99

@ondrejbartas @incik What about this PR, squash and merge? It's working within React app, also in TypeScript app and tests passed.

@imtoo Yup, squash and merge 👍


Game Crash

Describe your bug here.
Game Randomly crashes after i switch between songs, I don't know if it is because of the different charts or different characters.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

same

Seems like no one helped

but with old version its working


compatibility or just a crash from the mod?

https://pastebin.com/Vr9adFv2

crash on launch

https://pastebin.com/KMRW25hM removed all mods, still crashes. fabric 1.19.2

sorry about that, the mod is actually not available for 1.19.* yet, did not write correct in the descriptio. I will fix this in one-two days and there will be new version available (just wait for it in releases)

Added version 1.19.2 to releases: https://github.com/gXLg/libr-getter/releases/tag/v1.2.3


David Widger has an LCCN entry

Given the frequency of his involvement, should we add a snippet to create-draft to prefill it in the transcribers section?
https://id.loc.gov/authorities/names/no2011017869.html

Oops, wrong repo 🤦♂


Update Cluster-Sets.md

For some reason, "VM" got replaced with "virtual machine" throughout the doc which invalidated all the commands.  Fixed them.

Sorry about this, John - I'll get this fixed on the site, then will figure out what went sideways. Thanks.


Support apps:destroy

Just a notification saying that Redis will have to be removed manually will be enough. Apps can be redeployed after deletion, data can't be recovered after deletion.


admin_velocity_header_issue_fixed

admin velocity header mobile view issue
-> please find the screen shot attached below
-> https://prnt.sc/gf-SneTdrcw9
->issue has been resolved in admin velocity header mobile view
-> https://prnt.sc/ks2zdzc9sFeH

As discuss with @devansh-webkul
I am closing this pull request.


Add script for PDF attachment report

Trello card
This script produces a CSV of counts of published PDF attachments per
organisation owning the associated manual. This was produced for the
Content Operating Model team.

@NeilvB - we booked in a deploy for Thursday, so feel free to merge this before then if you'd like it to go out as part of that deploy.

Thanks @chrislo !

In a discussion on the GDS Slack (#manuals-publisher channel, not publicly archived) @NeilvB pointed out that this script may be used by the requester again in the future. @h-lame was concerned that if we delete it from the codebase after running it may make it more difficult for future people to find it.
Given those two constraints, and that some time might pass before the script needs to be run again,  I think this script should have some tests added so that we can be more confident that our future refactorings don't break it.

@NeilvB could you also add some of the relevant context for this request to the PR from the non-public Trello card, just in case someone else needs to refer to it in the future?

Note that tests were added for this script in PR #830.


test

Summary

Full changelog

[Implement ...]
[Add related tests]
...

Issue reference

Fix #[issue number]

Is it still in use? if this PR finish its mission we should close it.


chore(build): update chromium-bidi to 0.6.1

Closes https://github.com/puppeteer/puppeteer/pull/12745
As it includes the change from it as well.

Its seems that Firefox is not respecting neither the WebDriver Classic or the WebDriver BiDi  unhandledPromptBehavior.
Classic way:
2024-07-12T13:23:11.960Z puppeteer:webDriverBiDi:SEND ► [
  '{"id":1,"method":"session.new","params":{"capabilities":{"alwaysMatch":{"acceptInsecureCerts":false,"unhandledPromptBehavior":"ignore","webSocketUrl":true}}}}'
]
2024-07-12T13:23:12.845Z puppeteer:webDriverBiDi:RECV ◀ [
  '{"type":"success","id":1,"result":{"sessionId":"b3f64299-5759-4902-a15e-19bafe933ce5","capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"130.0a1","platformName":"linux","unhandledPromptBehavior":"dismiss and notify","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0","moz:buildID":"20240711215213","moz:headless":true,"moz:platformVersion":"6.6.15-2rodete2-amd64","moz:processID":1867689,"moz:profile":"/tmp/puppeteer_dev_firefox_profile-XXXXXXmfZUzr","moz:shutdownTimeout":60000,"proxy":{}}}}'
]

BiDi way:
2024-07-12T13:26:04.921Z puppeteer:webDriverBiDi:SEND ► [
  '{"id":1,"method":"session.new","params":{"capabilities":{"alwaysMatch":{"acceptInsecureCerts":false,"unhandledPromptBehavior":{"default":"ignore"},"webSocketUrl":true}}}}'
]
2024-07-12T13:26:05.826Z puppeteer:webDriverBiDi:RECV ◀ [
  '{"type":"success","id":1,"result":{"sessionId":"0461138e-35e5-4a03-9605-27a05a67c1f7","capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"130.0a1","platformName":"linux","unhandledPromptBehavior":"dismiss and notify","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0","moz:buildID":"20240711215213","moz:headless":true,"moz:platformVersion":"6.6.15-2rodete2-amd64","moz:processID":1869294,"moz:profile":"/tmp/puppeteer_dev_firefox_profile-XXXXXX1egd7n","moz:shutdownTimeout":60000,"proxy":{}}}}'
]

@Lightning00Blade can we skip it for Firefox for now?

I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1907935 to get this fixed.
It would be good to give us a little bit of time (if possible) to actually investigate such issues when major changes like that are done.
@orkon, could we at least wait with the next release of Puppeteer until we got it fixed? It's actually a simple issue.

@whimboo we need to update the dependencies for other work. Whenever the fix is available we will update again.

@whimboo would it be possible for you to backmerge the fix to 129?

@Lightning00Blade I actually meant to skip setting the capability for Firefox not the test.

@whimboo would it be possible for you to backmerge the fix to 129?

Good point. I'm going to request the uplift to beta.

FYI https://github.com/puppeteer/puppeteer/pull/12755 is reverting all the test expectations.

@whimboo please let us know if the fix can be uplifted to beta. Otherwise, we would need a workaround on our side.

@whimboo please let us know if the fix can be uplifted to beta. Otherwise, we would need a workaround on our side.

I don't see a reason why not. We are at beta 5 so a couple of beta's still around and this is a low risk patch.


Have a way to not overshoot Letsencrypt cert creation limit

There is no logic as of now which would allow for a cooldown period before kingsly requests for certs from letsecrypt servers, in case kingsly hits that limit. It would be rate limited.

I'll take a stab at this. After seeing the code, and looking at the rate limit documentation (https://letsencrypt.org/docs/rate-limits/) I think we can go with the following approach for the rate-limiting:

Add a rate-limit config, let's say CERT_BUNDLE_WEEKLY_RATE_LIMIT
Make a model to track each renewal effort
Count how many renewal efforts have been done in a week (because the rate limit is weekly in a sliding window manner) against the new config
Throw an error when the renewal efforts is more or equal to the config
Let the renewal through when it's less

What do you think?

@BimoZX @tasdikrahman I checked the docs of letsencrypt, and kingsly's implementation.

If you have a lot of subdomains, you may want to combine them into a single certificate, up to a limit of 100 Names per Certificate. Combined with the above limit, that means you can issue certificates containing up to 5,000 unique subdomains per week. A certificate with multiple names is often called a SAN certificate, or sometimes a UCC certificate. Note: For performance and reliability reasons, it’s better to use fewer names per certificate whenever you can.

Renewals are treated specially: they don’t count against your Certificates per Registered Domain limit, but they are subject to a Duplicate Certificate limit of 5 per week. Note: renewals used to count against your Certificate per Registered Domain limit until March 2019, but they don’t anymore.

A certificate is considered a renewal (or a duplicate) of an earlier certificate if it contains the exact same set of hostnames, ignoring capitalization and ordering of hostnames. For instance, if you requested a certificate for the names [www.example.com, example.com], you could request four more certificates for [www.example.com, example.com] during the week. If you changed the set of hostnames by adding [blog.example.com], you would be able to request additional certificates.

Currently, the scale at which kingsly is running, above specified rate-limits won't be reached.

@tasdikrahman @BimoZX if it makes sense to you, let's close #34 #32
We can create a new issue to address this

Hi @olttwa, cmiiw @tasdikrahman the current kingsly is already doing that, it won't renew unless it hits the configured expiry time (here). I it won't hit LE server if self.needs_renewal? is false.

@BimoZX thanks for pointing this out.
I'll close #34 #32 then.

closing this as discussed above https://github.com/gojek/kingsly/issues/32#issuecomment-519823034


reserve proxy error

(Are you asking for help with using Caddy? Please use our forum instead: https://forum.caddyserver.com. If you are filing a bug report, please answer the following questions. If your issue is not a bug report, you do not need to use this template. Either way, please consider donating if we've helped you. Thanks!)
1. What version of Caddy are you running (caddy -version)?
Caddy 0.9.4
2. What are you trying to do?
Reserver resilio-sync(btsync) web interface with https.
3. What is your entire Caddyfile?
abc.xyz.com {
proxy /sync <IP_ADDRESS>:8888
root /home/wei/Downloads
gzip
browse
log /var/log/online.log
}
4. How did you run Caddy (give the full command and describe the execution environment)?
systemctl start caddy
Ubuntu server 16.04
5. What did you expect to see?
1.root directory for https file server
2.resilio web interface with https
want file server and reverse proxy work toghter
6. What did you see instead (give full error messages and/or log)?
https://abc.xyz.com/sync   invalid request
https://abc.xyz.com will redirect to https://abc.xyz.com/gui and show 404 not found.
7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?

Hi, thanks for the issue. Unfortunately I don't know what to do with this, because you did not include any instructions for reproducing it. My inclination right now is to suggest that you inspect your backend and make sure it is working properly; the redirect, for example, is not being done by Caddy with that Caddyfile.

@mholt Hello.
I mean
root /home/wei/Downloads
proxy / <IP_ADDRESS>:8888
these two instructions can't work toghter.they work sepreated alone.
And proxy / <IP_ADDRESS>:8888 works but proxy /sync <IP_ADDRESS>:8888 don't.

It could be anything. Try asking on the forums: https://forum.caddyserver.com


[RFC] props vs variables boundary

I still don't have a firm understanding of what defines a boundary between props and variables. I am not proposing any change, I am just playing devil's advocate to make sure stardust architecture is correct. I am trying to define the boundary in order to be able to make decisions when designing component API.
A possible definition which makes sense to me is whatever is used in the component code belongs to props and whatever is used only for styling (=theming) should be part of variables because variables are part of the theme.
Button component example
Why is circular a prop? It does not affect component structure, it is used in theme only to make the button round.
For my custom theme, I need hexagonal button. Why am I not able to achieve that using the same semantics (<Button hexagonal ... />)? And what about the circular prop? Do I need to support it even if my theme does not provide circular button?

I agree with the presence of this issue.  I'm also not 100% sure about the boundary between theme variables and component props.  I do have an intuition and proposal for starters.
First, it is important to note that:

Stardust props APIs are:

Attempting to describe preexisting UI concepts that have emerged over time.
Proposing a standardized language for these concepts.
Proposing that all component libraries and themes support these concepts.

Theme variables are:

Currently loosely defined
Expected to be extensible to suit your company and/or teams' needs

This means that when we publish a component API we are stating that it is a solid UI concept and something that most of the UI community has already shown adoption for.  The props API is codifying canonical UI.  We're doing this from a descriptivist point of view, not prescribing ideas.
This would make a possible definition something like, whatever is common in the UI community worldwide belongs to props and whatever is rare or unique belongs to variables.
This makes the decision of props vs variable a bit involved since we'll need to do our research and make informed decisions.  I propose we do that slow research based work in the /specifications repo and we keep moving forward as quickly and best as we can here in the /react repo.
As our specifications become more solidified, we can iterate the react repo to conform.  Just as other frameworks and teams would do.

In the case of hexagonal, we can relatively safely say that this is not a common practice in UI and therefore will not be supported as a first class prop today.  Other props and ideas might be harder to decide on but research and conversation can sort through those.


Some Parameters ignored

Tested it with the sample script, and it works so far. But I have some trouble getting it work with german chartable, the german umlauts are scrambled. In the sample script, I configured "EmailEncoding =" UTF8"" instead of Unicode, but that doesn't change anything.
The other thing is that FontSettings seem to be ignored, the mail comes with Times New Roman 12pt (tried it with Arial or Calibri).

You may need to change whole .ps1 file encoding to required encoding. The one you run. Try that and let me know

Also if possible check html source in email and paste it over

You may need to change whole .ps1 file encoding to required encoding. The one you run. Try that and let me know

You mean the script file itself? The file is already encoded in UTF8.

`

You may want to change it to UTF16 maybe. Did you solve your problem that you closed this?

As for the fonts... it seems it's added properly into email. Can you verify those fonts have same names in German systems? Maybe that''s why they don't work?

You may want to change it to UTF16 maybe. Did you solve your problem that you closed this?

Changing the encoding of the PS1 file to UTF-16 LE did it, the German Umlauts are back :-)

And fonts?

As for the fonts... it seems it's added properly into email. Can you verify those fonts have same names in German systems? Maybe that''s why they don't work?

Fonts are still broken... The font names are the same in german, and those names work with other applications that send HTML mails via SMTP

That's weird thou because HTML wise it looks ok. Which Client? Outlook ?

Yes, Outlook. But I remember that we had a similar problem with our ERP system. We had to embed the body text with  tags to set the font correctly for Outlook. Don't invest too much time into that issue, I think Outlook is the problem here...

Yes, Outlook. But I remember that we had a similar problem with our ERP system. We had to embed the body text with  tags to set the font correctly for Outlook. Don't invest too much time into that issue, I think Outlook is the problem here...

Ok. It's weird because I use Outlook, my Clients use Outlook and this basically works just fine.


Email Forgot Password/SignUp Not Working

Hello All, Where do i configure the email forgot password and signup etc.. When I submit forgot password or sign up it says successful but no email is sent or generated.

Hi,
if I am correct, this functionality is not built in within standard Serenity Framework and you have to implement it by yourself.
With kind regards,
John

@billuran check your IIS settings it should work if settings are correct, check smtp/port/ssl for instance...

If you want you can open a free SendGrid account and then in your Web.config change your mailsettings to something like this:
<system.net>
	<mailSettings>
	  <smtp<EMAIL_ADDRESS>	    <network host="smtp.sendgrid.net" password="ThisIsMySendgridPassword"<EMAIL_ADDRESS>port="587" />
	  </smtp>
	</mailSettings>
</system.net>

This works well for me.
Note: Their free tier gives you 40,000 emails free for 30 days, then send 100 emails/day free forever—no credit card required.
I am in no way affiliated with SendGrid. I'm just a happy customer.

Great I want it to come from my office 365account.
I get this message.
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [SN4PR0601CA0006.namprd06.prod.outlook.com]
<system.net>

</system.net>
Any help?

Haven't sent through O365 but according to Send emails through Office365/Exchange Online using .NET
You can try:
<system.net>
	<mailSettings>
		<smtp>
			<network defaultCredentials=”false” enableSsl=”true” host=”smtp.office365.com” port=”587" password=”MyPassword"<EMAIL_ADDRESS>/>
		</smtp>
	</mailSettings>
</system.net>

Otherwise set a breakpoint, debug, and see what elGoog has to say...

Hi, I am trying the same above but am not able to send emails. On debugging I found the following line from the EmailHelper.cs is not returning the expected result:
var config = Config.Get();   //This is returning null
Also, I have modified the web.config as follows:
<system.net>

</system.net>
Please suggest a solution.


Moderate vulnerability in static-module v.1 used

Can you please consider upgrade to version 3 on which this is patched?
Moderate        Sandbox Breakout / Arbitrary Code Execution
Package         static-eval
Patched in      >=2.0.0
Dependency of   static-module
Path            static-module > static-eval
More info       https://nodesecurity.io/advisories/548

Bueller?

There seems to be a PR that already does this.
https://github.com/scijs/cwise/pull/21

/sub


query connection string directly

@realwanpengli : Thanks for your contribution! The author, @sffamily, has been notified to review your proposed change.

Hi @sffamily , I update the azure signalr service document in which form the connection string manually in azure cli script.

#sign-off


chore(package): update lint-staged to version 4.2.1

Fixes #11

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Deconvolution not working at image segmentation

I followed Image "Segmentation with SegNet" at this page. End of the page dustin  said that some layers like deconvolution and crop layers don't supported with this TensorRT version so delete this layer. I used jetson TX2 and running inside TensorRT 3.0.4 . According to TensorRT 3.0.1 release notes, now it is supporting deconvolution layers and also some restrictions are lifted. So I used deconvolution layer to get same size or close size output image as like input image. But deconvolution layer not working at all. Lets say I have  pixel size of 576 * 720 image. After convolution layers image size decreasing to 19*23. Then i applied 1 deconvolution layer with kernel size 63 and stride 32 but, i got same image size before deconvoltion applied which is 19 * 23 pixel size.
Any answers, tips is greatly appreciated.

Hey there, are you sure you are getting a small output after the deconv layer?
If you check the network definition that Dustin is using for the inference, the output is the following:

Meaning that you have 58x21 pixels and 21 channels (the number of classes).
If you include the deconv (the 'upscore_21classes' layer) you should get an output of 2111x1087 and 21 channels, this is for a 2048x1024 image. So something like:

What the code currently does is taking the 58x21 output and perform bilinear interpolation to get the segmentation mask.
Check again that you are allocating enough memory for the deconv layer.

Updating this, I've since then ran the deconv layer and indeed you get smoother segmentations like in this segmented inference:

But indeed the times are horrible, just for the deconv layer it takes about 4 seconds on an Geforce1080Ti. At this point I think it might be an issue on implementation of the deconv layer.
Some people have complained already about the slow times on the deconv here
and here. In the last link  they've already acknowledged it is a bug reproducible in TensorRT4.1 so probable there will be a fix in the future.


python mock: enable for python 3.5

Seems to work, at least, no tests fail.

@domenkozar

Sigh. I'll try to fix https://github.com/NixOS/nixpkgs/issues/10715 before this is merged as it recompiles a lot of things because mock derivation changes.

fixed in 0509252e2874641b0f446b48b434ea6cca32875d


Clearer no-op logging in stubbed SavedQueryRunner

resolves #9533
Problem
Confusing logging for dbt build --include-saved-query, given current stub of SavedQueryRunner
Solution
Clearer logging. Needs verification with @DevonFulcher that this doesn't negatively impact SL team's downstream work on SavedQueryRunner. For now (unless we backport to 1.7.latest), this only has a go-forward impact, so I'm not as worried about merging in for main / v1.8.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
[x] This PR includes type annotations for new and modified functions

Not sure why the Check Artifact Changes check is failing even though there are no dbt/artifacts changes: https://github.com/dbt-labs/dbt-core/actions/runs/7980936313/job/21791611600?pr=9605
It's still pretty new, will look into that separately!


Add OBJ output

Adds .obj outputting capabilities to the TriMesh class.

I notice this changes the filename in the notebook to ak47. Can you reverse that change?

Sorry about that! Its been fixed.

Great, we need it!


Error Screen Enchacment! (0.18.0-rc)

Hi,
Many errors are displayed on the error screen as if the dev server is not running.
Maybe a better error message would be less confusing.
Thank You!

There was a bug in my redux actions apparently. Maybe another error status would be better.

@DHidee66 , can you please post more information?  Are you saying that the issue is that errors are appearing if the dev server is running?
Please post stack trace/screenshots.

#5235

@jaygarcia  If there are bugs in the code then the JSX transformation stops at the last file (ex. 500/501) and the error page says that the dev server is not running.
I haven't yet found a common theme throughout the bugs that cause this error page.
@satya164 It's not a server issue. The message that you put on the error page is related only to the dev server.

@DHidee66 There is a bug with the current version which doesn't show proper error messages. Master branch shows proper errors.


Fix macos CI

see: https://github.com/neovim/neovim/pull/13584

@teto This one is pretty straightforward, can we merge? It will considerable cut down on the failed CI email messages :P

thanks for the help with this repo. I think you have merging rights so if you feel confident it's enough, feel free to merge ;)

I do! I've just been a little hesitant until I got the ok 😆


Refactor read_neon() function to support generalized NEON data reading

The read_neon() function has been enhanced to provide generalized support for reading NEON AOP hyperspectral HDF5 files across different sites. Previously, the function was hardcoded to access data using a fixed site acronym (SERC). This enhancement should allow the function to dynamically adapt to different files without using a fixed site acronym.

@gponce-ars This is great! Thank you very much for your contribution.

@gponce-ars I just released a new version. You should be able to use it now.


Still Doesn't Work

WF 56.2.1 IG Helper 1.8.13
Script: Clicking Button does nothing
Extension: Clicking Button automatically downloads picture/video to "Downloads" folder bypassing "Where to download" dialog box.

Try 1.9.0. Thanks feedback


Add Nvidia NIM Support

Issue
Hi Aider Team,
It would be great to have support for Nvidia NIM I tried using the openAI base url but litellm keeps throwing errors for some reason,
Thanks!
Version and model info
No response

Thanks for trying aider and filing this issue. When reporting problems, it is very helpful if you can provide:

Aider version
LLM model you are using
Any stack traces or error messages
A description of what you were doing when the error happened.

Including the “announcement” lines that aider prints at startup is an easy way to share some of this helpful info.
Aider v0.37.1-dev
Models: gpt-4o with diff edit format, weak model gpt-3.5-turbo
Git repo: .git with 243 files
Repo-map: using 1024 tokens

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

@parththakor -- NVIDIA NIMs work for me. Here's my code snippet:
if args.model == "NIM-llama3.1-405b":
    print(f"Using NVIDIA NIM API with {args.model}.")
    os.environ["OPENAI_API_BASE"] = "https://integrate.api.nvidia.com/v1"
    os.environ["OPENAI_API_KEY"] = os.environ.get("NVIDIA_API_KEY")
    client_model = "openai/meta/llama-3.1-405b-instruct"
    client = openai.OpenAI(
        base_url=os.environ["OPENAI_API_BASE"],
        api_key=os.environ["OPENAI_API_KEY"]
    )


Fix selection box rendering

When conf.skip_small_lines = true; and the data length is greater than the window size, the t_step is no longer valid to draw the selection. Using the step calculated from the actual data length to fix the issue.

Thank you! 👍


Patch crabs download

Fixed CRABS_DOWNLOAD, this is just an example, you do not need to merge that, I just randomly tested changed, thats why so many commits ;)
PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/readsimulator branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

This seems outdated, so I close it.


Support IN set of values

Currently, seems the only supported "in" is like:
from employees
filter (age | in 20..80)

which will be translated to:
SELECT
  employees.*
FROM
  employees
WHERE
  age BETWEEN 20
  AND 80

Is there a way for IN Clause, like:
SELECT
  employees.*
FROM
  employees
WHERE
  dept IN ('tech', 'hr', 'sales')

Good point.
I propose following syntax:
from employees
filter (dept | in ['tech', 'hr', 'sales'])

There is quite a lot of punctuation, WDYT?

I think that's good!
Does this compile to the same SQL for most dialects?

Yes, I think
dept IN ('tech', 'hr', 'sales')
in SQL is supported by most dialects

Great. We'd need to work out a way of distinguishing based on the type of the arg from the stdlib, which isn't yet supported, but could be supported by #593.
If that's difficult, we could add it into the compiler, which would be fairly easy-ish™

Duplicate of https://github.com/PRQL/prql/issues/993 and fixed in https://github.com/PRQL/prql/pull/3883


How to free up space after using snapshots?

Required information

Distribution:Ubuntu
Distribution version: ubuntu 16.04
The output of "lxc info" or if that fails:

config:
  core.https_address: '[::]:8443'
  core.trust_password: true
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- candid_authentication
- candid_config
- candid_config_key
- usb_optional_vendorid
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses:
  - <IP_ADDRESS>:8443
  - '[2001:da8:216:2511:60f9:2f94:f4de:83e8]:8443'
  - '[2001:da8:216:2511:d5ee:2398:915a:f862]:8443'
  - '[2001:da8:216:2511:69cd:139b:4cae:35c0]:8443'
  - '[2001:da8:216:2511:ae1f:6bff:fe7c:6fa3]:8443'
  - <IP_ADDRESS>:8443
  - '[fd42:3aa8:1d6f:a4f8::1]:8443'
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFaDCCA1CgAwIBAgIRALhuzLf2LlB5pAmUXXPMBWMwDQYJKoZIhvcNAQELBQAw
    NTEcMBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEVMBMGA1UEAwwMcm9vdEBt
    Y2oyMDgwMB4XDTE5MDUzMDA2MTYyOFoXDTI5MDUyNzA2MTYyOFowNTEcMBoGA1UE
    ChMTbGludXhjb250YWluZXJzLm9yZzEVMBMGA1UEAwwMcm9vdEBtY2oyMDgwMIIC
    IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAs6EgWqBughFTEND90eubPOqW
    e5A7pL0gWPKQxepyWk5NdNLbefkeIrqXwgxlUvp8glFoRb2qzyReESij14zC0y/g
    CdMGid35yYd6HfsW0YwoMLlKGMvWybn6Ic6eFi6ypPWnBdNUueyhVqozNf5Lt3+Y
    npTIIG5mZ7Iv5FeT+75k/AtDzKIXYgdE4YVpJqppR47ZnfTMbSrJCUQOnxzf1PFI
    mj+T9XPYx+v2Jl/bWE7iiNU82FFKcvAP40CK6udS6kQV8IZb0CecRa9kA8OK1yQ5
    NbpNwsvb4OxXMUkOGU5fL4ZAmQ8mH2n7Tbnk677jbDAjg5xt+O5vaPXMuS5M/pVk
    WeGzJPE2qSysDVdZhvGBwEvLnUjnKFYPmX2a/DRFyQjEtkuhifyKju18IQDYzwan
    CrAPdTKz79RYnH9XpF1uXiJQzcj/aZX+mEeHU38pplFcXKarH9RU/q17K4jwvqtJ
    1bM4LuOTaqLEhqziaNi/3ZuPAjAbT8/emq2gjCyFHBGA8M+/sWvYpAKzJRN7TzfE
    42VmRByhtNEkzdUgF28ZMmSYI5rje+Lbr5tNNOh8srwk5+rTCxdyIiDqrlJbHyw3
    6kIRmy3faEi0Flme5nYwzWQiN0LrcM8WbsUJQ42NUGgnU57zzNvx34NGBmDuthZV
    AXOMiBgHpzaxnJSDd1cCAwEAAaNzMHEwDgYDVR0PAQH/BAQDAgWgMBMGA1UdJQQM
    MAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwPAYDVR0RBDUwM4IHbWNqMjA4MIcE
    rBkRJ4cQIAENqAIWJRE8hATl22ORvIcQIAENqAIWJRFknTw0SMPwAzANBgkqhkiG
    9w0BAQsFAAOCAgEAQm1uEHHQfsTlJ4qKw3cbdSRzdXydWUTKODwqLa8jwO0ZAeMN
    Iloqt+Vl3EA/rcYL82RzHb9GjsZES2FQaFwRHqqya+Dc1l6j4FWmprnIXj2K4XFF
    5MK3uzwAXDMrMwtnzyBOByA0EP8wcmhjD/gch8LQ75dXWzjZDTACLRboCEaFQO4A
    M0hgqg12yIK9YOtdbgaSFlDrQW0caxUh4LqqDuquMnCtHkrPvskmTw5VkKCVntMV
    KsxzvmvCB30+JAiborXTLukcQ5Tp+lku/CxKkU7XncPwTvblWk8SGuzBcBlqQgla
    TIPj3VwYQs0/bbKCMC6voo8Qb4i2/L5ieq3PwpxV8bIlc/O8EED+IYkfVtLTnGBN
    D7hbS+gZqomS7GOxwPpygKaFS/9yA9hsPS8mOIeJqXO3Wh2hfZzHF7mSx58FFGAp
    Uegx6B40Poz41JRWoQDIBst6f/3FgbCrRS3o7fq4toJPvBkiMyvce437KMKa8+uB
    CXeE5El16Bz5q1UFcVb5LbsvKhbb7cry8VdIR5BYviQPjFrQEqRPkkR51jYjjWpc
    qy48u+R11i0Ih59rwjQITrjdERPiFyjyDIZPYRbvsoMHFKmcSpeHhLXe36eoj4YY
    wcbbSu2JxScA8/5sXiv4v+aq8KyhdZOrkw08Y8KFfjPrObtEowT1TMUZxAY=
    -----END CERTIFICATE-----
  certificate_fingerprint: df9859335b5fca7e6702d5fed601ea614ebf1aab84d2e16f4bb4d34503a262f2
  driver: lxc
  driver_version: 3.0.3
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.15.0-142-generic
  server: lxd
  server_pid: 3158
  server_version: 3.0.3
  storage: zfs
  storage_version: 0.7.5-1ubuntu16.11
  server_clustered: false
  server_name: mcj2080
  project: ""

Issue description
At some point in the past, I took a snapshot of a container, and recently when I was organizing the container, I noticed that the space inside the container was not freed up after the files were deleted, and I think this is because I took a snapshot before. How do I properly free up my hard drive space? Just delete all the previous snapshots?
Steps to reproduce

lxc snapshot part1 snapname
lxc exec part1 bash
delele some files, however, the free space does not decrease after running the df -h command

Information to attach

[ ] Container log (lxc info NAME --show-log)

Name: part1
Remote: unix://
Architecture: x86_64
Created: 2019/11/10 12:13 UTC
Status: Running
Type: persistent
Profiles: default
Pid: 15563
Ips:
 docker0:      inet    <IP_ADDRESS>
 eth0: inet    <IP_ADDRESS>   vethRV0SKY
 eth0: inet6   2001:da8:216:2511:216:3eff:fe3a:f98     vethRV0SKY
 eth0: inet6   fe80::216:3eff:fe3a:f98 vethRV0SKY
 lo:   inet    <IP_ADDRESS>
 lo:   inet6   ::1
Resources:
 Processes: 874
 Disk usage:
   root: 772.07GB
 CPU usage:
   CPU usage (in seconds): 158479
 Memory usage:
   Memory (current): 15.00GB
   Memory (peak): 29.37GB
 Network usage:
   lo:
     Bytes received: 67.47kB
     Bytes sent: 67.47kB
     Packets received: 804
     Packets sent: 804
   docker0:
     Bytes received: 0B
     Bytes sent: 0B
     Packets received: 0
     Packets sent: 0
   eth0:
     Bytes received: 7.31GB
     Bytes sent: 360.02GB
     Packets received: 52014289
     Packets sent: 25544147
Snapshots:
 bak1 (taken at 2019/11/10 12:13 UTC) (stateless)
 mcj20190902 (taken at 2019/11/10 12:13 UTC) (stateless)
 20191213 (taken at 2019/12/13 03:48 UTC) (stateless)
 20191220 (taken at 2019/12/20 03:57 UTC) (stateless)
 20191220v2 (taken at 2019/12/20 09:42 UTC) (stateless)
 20191224 (taken at 2019/12/24 08:53 UTC) (stateless)
 20200426 (taken at 2020/04/26 14:38 UTC) (stateless)
 20200728ECANET (taken at 2020/07/28 12:02 UTC) (stateless)
 20200802 (taken at 2020/08/02 14:04 UTC) (stateless)
 20200807 (taken at 2020/08/06 16:04 UTC) (stateless)
 20200821 (taken at 2020/08/21 08:22 UTC) (stateless)
 todln (taken at 2020/09/05 13:29 UTC) (stateless)
 20200911 (taken at 2020/09/11 04:05 UTC) (stateless)
 k1 (taken at 2020/09/12 14:24 UTC) (stateless)
 bak (taken at 2020/09/16 14:58 UTC) (stateless)
 20200918 (taken at 2020/09/18 01:56 UTC) (stateless)
 20200918-1 (taken at 2020/09/18 02:04 UTC) (stateless)
 before_orn (taken at 2020/09/23 09:12 UTC) (stateless)
 20201111 (taken at 2020/11/11 08:55 UTC) (stateless)
 20201208 (taken at 2020/12/08 09:15 UTC) (stateless)

Log:

lxc part1<PHONE_NUMBER>0616.705 WARN     conf - conf.c:lxc_setup_devpts:1616 - Invalid argument - Failed to unmount old devpts instance

[ ] Container configuration (lxc config show NAME --expanded)

architecture: x86_64
config:
 image.architecture: x86_64
 image.description: Ubuntu 16.04 LTS server (20181207)
 image.os: ubuntu
 image.release: xenial
 security.privileged: "true"
 volatile.base_image: ed24e99183897c62fad305b6f2257c33c1cb457f6d59a970b421046e8f94481f
 volatile.eth1.hwaddr: 00:16:3e:3a:0f:98
 volatile.eth1.name: eth0
 volatile.idmap.base: "0"
 volatile.idmap.next: '[]'
 volatile.last_state.idmap: '[]'
 volatile.last_state.power: RUNNING
devices:
 eth1:
   nictype: bridged
   parent: br1
   type: nic
 gpu:
   type: gpu
 nvidia-uvm:
   path: /dev/nvidia-uvm
   type: unix-char
 root:
   path: /
   pool: lxd-zfs
   type: disk
 share:
   path: /home/ubuntu/bigdisk
   source: /home/mcj/bigdisk
   type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

Closing as this is a support question and not really an issue (nothing actionable for us).
In general those are better handled at https://discuss.linuxcontainers.org
But yes, you're correct, a snapshot is always free at the time it's taken but becomes costly overtime as the state diverges.
If you create an instance with 2GB of data, you make a snapshot and then proceed to delete that 2GB of data. The size will still be 2GB as the snapshot is preventing it from getting actually released.


fix(#minor); gmx; fixed price rounding

Fix price rounding issue #2030
Also, normalize TS filenames
Test:

https://okgraph.xyz/?q=dmelotik%2Fgmx-arbitrum
https://okgraph.xyz/?q=dmelotik%2Fgmx-avalanche

@tnkrxyz is the current notes on the revenue not sufficient?

@tnkrxyz is the current notes on the revenue not sufficient?

It may well be. Sorry if I misunderstand here. From the code, the fees goes to the supply side = total revenue * (1 - protocol side % - staking side %).
In README, the description of revenue:
Supply Side Revenue

Supply Side Revenue = 70% * Total Revenue
Protocol Side Revenue

Protocol Side Revenue = 30% * Total Revenue


Tutorial Colab notebook

Link to notebook in case not visible in diff.

@AdityaKane2001 could you install ReviewNB in this repository so that it's easier to review the notebook?

Thanks @AdityaKane2001. ReviewNB is acting up weird lately. I have commented there and have also recorded a screencast of my comments here.

@sayakpaul
Made requested changes in the notebook.

@MorganR
Could you please take a look at this?

Looks good! Just suggested a few small changes

@MorganR
Made requested changes except validation augmentations one.

@MorganR
If the notebook is good to go, please approve the PR. I'll merge this to main and add the links in the TFHub PR.

It still seems unusual to crop the validation images, but as long as it's a static change I don't see an issue with it.

@MorganR central crops during inference, validation, evaluation in image classification is a widely adopted preprocessing scheme.

@sayakpaul @MorganR
Merging this one. Thank you for the reviews and suggestions.


Does not switch a color depending on theme

Hi. THanks for the package
I'm trying to use it in conjunction with flutter theme.
child: Shimmer.fromColors(
                    baseColor: Theme.of(context).primaryColor,
                    highlightColor: Colors.grey[100],

The shimmer does not change it's color when switching the theme, Also it does not updates the colors on hot reload.
[✓] Flutter (Channel dev, v1.15.3, on Mac OS X 10.15.2 19C57, locale en-UA)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[!] IntelliJ IDEA Ultimate Edition (version 2018.3)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.40.2)
[✓] Connected device (4 available)

#23

@hnvn any comments, thoughts?


Move ArrayInitializer grammar to expression.dd & improve docs

Rename ArrayInitializer to ArrayLiteral.

ArrayInitializer is not referenced anywhere else.
Existing ArrayLiteral grammar was wrong.

Tweak wording of array literal description.
Update:

Document [AssignExpression : NonVoidInitializer] syntax.
Remove slicing from array literal section, just link to it (the example for each is the same).

Rebased. Minor addition under Initializers: See also $(GLINK VoidInitializer).


changing a user's password

I am connecting to mobius running on raspberry pi os 64bit.
I'm having trouble changing a user's password.
When I change and save, an unexpected password is set.
There is no problem with other clients (Nostalgia), so
It is unlikely to be a problem with the server (mobius).

I'm convinced this is related to that one: https://github.com/mierau/hotline/pull/7


Z-Scales Variables

Brought up in #970.
We should have variables for z-scales to standardize. This might work well in cf-core or cf-enhancements. :snake:

Moved to https://github.com/cfpb/capital-framework/issues/798


fish and motd options conflicting

Describe the bug
When fish is enabled as default shell and a motd message is set, the fish'es welcome message is displayed instead of motd.
Configuration:
programs.fish.enable = true;
users.defaultUserShell = "/run/current-system/sw/bin/fish";
users.motd = "Message of the day";

What is displayed:
Welcome to fish, the friendly interactive shell
Type `help` for instructions on how to use fish

To Reproduce
Steps to reproduce the behavior:

use the configuration provided
login with a new user
notice the message of the day

Expected behavior
motd to take precedence over fish'es welcome message
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

CC @ocharles @cole-h
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Does this do what you'd expect when paired with bash or zsh?
You can customize this by setting the function fish_greeting to whatever you want, I believe.

Okay, I have checked and here are the results.
bash and login with su = nothing appears
bash and login via ssh = motd appears
bash and login via UI (gnome) = motd appears under the username box
fish and login with su = only fish welcome message appears
fish and login with ssh= motd + fish welcome message appears
zsh and login with su = nothing appears
'zsh' and login with ssh = motd appears


Pairing check optimisation

Description
Minor optimisation on residue witness scaling cofactor mul.
Changed it to E6 (from E12) for fewer constraints and logic gates.
Optimization Results By Curve

BN254
BLS381

R1CS
SCS
R1CS
SCS

Before
1167090
4586889
990001
3879548

After
1166782
4586709
989785
3879428

Diff
-308
-180
-216
-120

How has this been tested?

[x] All tests run

How has this been benchmarked?

[x] Benchmarked on Macbook Pro M3, 36GB RAM

Checklist:

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I did not modify files generated from templates
[x] golangci-lint does not output errors locally
[x] New and existing unit tests pass locally with my changes
[x] ~Any dependent changes have been merged and published in downstream modules~
[x] ~I have added tests that prove my fix is effective or that my feature works~ na

cc. @yelhousni.

Yeah,
I've just made the Fp12 that needs constraining just be Fp6 instead.
In my lib I'm using a more optimised version, because actually the FP6 itself is sparse.
https://github.com/shramee/cairo_pairing/blob/27af4f2b714ad739c9b2896e5f5e838248a1ae5a/legacy/bn_legacy/src/curve/residue_witness.cairo#L96
This uses enums, known values (roots) and a custom Fq6 mul formulas.

Actually in our case the scaling factor is even just 1 because we do the easy part (that kills the non-residue) before doing Novakovic-Eagen final exp check. But I kept the trivial multiplication by 1 just in case anyone would use this check right after the easy part.


AccountDetails: you can select two assets on multi assets chains

scenario:
Choose a multi-asset chain,
pick an asset from the dropdown menu,
select another asset from the same chain using AOC,
and observe that you have chosen two different assets.

WORK IN PROGRESS

Because of the same asset Ids:


Update README.md to have correct signature

What kind of change does this PR introduce?

docs update,

Additional context

correct signature for initialising client

+1


feat: slots

Can you try https://southcoastweb.co.uk/open-source-software/vue3-snackbar/#page_section_7
Instead of Vue3Snackbar use NuxtSnackbar?


flutter_desktop_darwin_unittests doesn't run on arm64 ci

steps to reproduce
https://github.com/flutter/engine/pull/55968
error
https://ci.chromium.org/ui/p/flutter/builders/try/Mac Engine Drone/1259641/overview
log
Failed Command:

/Volumes/Work/s/w/ir/cache/builder/src/out/ci/host_profile_arm64_tests/flutter_desktop_darwin_unittests --gtest_repeat=2 --gtest_shuffle

Exit Code: -5

Output:
[INFO:flutter/testing/test_timeout_listener.cc(76)] Test timeout of 300 seconds per test case will be enforced.

Repeating all tests (iteration 1) . . .

Note: Randomizing tests' orders with a seed of 31833 .
[==========] Running 199 tests from 24 test suites.
[----------] Global test environment set-up.
[----------] 13 tests from FlutterViewControllerMockEngineTest
[ RUN      ] FlutterViewControllerMockEngineTest.TestKeyEquivalentIsPassedToTextInputPlugin
flutter: The Dart VM service is listening on http://<IP_ADDRESS>:51195/XpIJBtGVkwE=/
[       OK ] FlutterViewControllerMockEngineTest.TestKeyEquivalentIsPassedToTextInputPlugin (104 ms)
[ RUN      ] FlutterViewControllerMockEngineTest.TestKeyEventsAreNotPropagatedIfHandled
flutter: The Dart VM service is listening on http://<IP_ADDRESS>:51196/vayix9mBX-I=/
[       OK ] FlutterViewControllerMockEngineTest.TestKeyEventsAreNotPropagatedIfHandled (8 ms)
[ RUN      ] FlutterViewControllerMockEngineTest.TestFlagsChangedEventsArePropagatedIfNotHandled
flutter: The Dart VM service is listening on http://<IP_ADDRESS>:51197/YavpTKH4t4M=/
[       OK ] FlutterViewControllerMockEngineTest.TestFlagsChangedEventsArePropagatedIfNotHandled (7 ms)
[ RUN      ] FlutterViewControllerMockEngineTest.TestTrackpadGesturesAreSentToFramework

Traceback (most recent call last):
  File "/Volumes/Work/s/w/ir/cache/builder/src/flutter/testing/run_tests.py", line 1394, in <module>
    sys_exit(main())
  File "/Volumes/Work/s/w/ir/cache/builder/src/flutter/testing/run_tests.py", line 1307, in main
    run_cc_tests(build_dir, engine_filter, args.coverage, args.engine_capture_core_dump)
  File "/Volumes/Work/s/w/ir/cache/builder/src/flutter/testing/run_tests.py", line 511, in run_cc_tests
    run_engine_executable(
  File "/Volumes/Work/s/w/ir/cache/builder/src/flutter/testing/run_tests.py", line 316, in run_engine_executable
    run_cmd(
  File "/Volumes/Work/s/w/ir/cache/builder/src/flutter/testing/run_tests.py", line 127, in run_cmd
    raise RuntimeError(
RuntimeError: Command "/Volumes/Work/s/w/ir/cache/builder/src/out/ci/host_profile_arm64_tests/flutter_desktop_darwin_unittests --gtest_repeat=2 --gtest_shuffle" (in /Volumes/Work/s/w/ir/cache/builder/src) exited with code -5.

It can be reproduced locally by just running the one test:
$ ./flutter_desktop_darwin_unittests --gtest_filter="FlutterViewControllerMockEngineTest.TestTrackpadGesturesAreSentToFramework"
[INFO:flutter/testing/test_timeout_listener.cc(76)] Test timeout of 300 seconds per test case will be enforced.
Note: Google Test filter = FlutterViewControllerMockEngineTest.TestTrackpadGesturesAreSentToFramework
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from FlutterViewControllerMockEngineTest
[ RUN      ] FlutterViewControllerMockEngineTest.TestTrackpadGesturesAreSentToFramework
Trace/BPT trap: 5

Here's the stack trace for the crash:
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x18c0915a4)
  * frame #0: 0x000000018c0915a4 libobjc.A.dylib`object_getClass + 48
    frame #1: 0x0000000100b95cc4 flutter_desktop_darwin_unittests`+[OCMArg resolveSpecialValues:](self=<unavailable>, _cmd=<unavailable>, value=0x0000600001b789e0) at OCMArg.m:133:28 [opt]
    frame #2: 0x0000000100b97bc4 flutter_desktop_darwin_unittests`-[OCMInvocationStub invokeArgActionsForInvocation:](self=0x0000600001b60f40, _cmd=<unavailable>, anInvocation=0x0000600000e6fec0) at OCMInvocationStub.m:87:27 [opt]
    frame #3: 0x0000000100b97984 flutter_desktop_darwin_unittests`-[OCMInvocationStub handleInvocation:](self=0x0000600001b60f40, _cmd=<unavailable>, anInvocation=0x0000600000e6fec0) at OCMInvocationStub.m:53:5 [opt]
    frame #4: 0x0000000100b9cdc4 flutter_desktop_darwin_unittests`-[OCMockObject handleInvocation:](self=0x0000600003f4cb40, _cmd=<unavailable>, anInvocation=0x0000600000e6fec0) at OCMockObject.m:445:9 [opt]
    frame #5: 0x0000000100b9eb6c flutter_desktop_darwin_unittests`-[OCPartialMockObject forwardInvocationForRealObject:](self=<unavailable>, _cmd=<unavailable>, anInvocation=0x0000600000e6fec0) at OCPartialMockObject.m:254:8 [opt]
    frame #6: 0x000000018c523ce0 CoreFoundation`___forwarding___ + 976
    frame #7: 0x000000018c523850 CoreFoundation`_CF_forwarding_prep_0 + 96
    frame #8: 0x0000000100125a14 flutter_desktop_darwin_unittests`-[FlutterViewController touchesBeganWithEvent:](self=0x000000014f7199e0, _cmd=<unavailable>, event=0x0000600003841310) at FlutterViewController.mm:1089:7 [opt]
    frame #9: 0x00000001000d8f50 flutter_desktop_darwin_unittests`-[FlutterViewControllerTestObjC testTrackpadGesturesAreSentToFramework:](self=<unavailable>, _cmd=<unavailable>, engineMock=<unavailable>) at FlutterViewControllerTest.mm:827:3 [opt]
    frame #10: 0x00000001000d038c flutter_desktop_darwin_unittests`flutter::testing::FlutterViewControllerMockEngineTest_TestTrackpadGesturesAreSentToFramework_Test::TestBody(this=<unavailable>) at FlutterViewControllerTest.mm:286:3 [opt]
    frame #11: 0x0000000100bf305c flutter_desktop_darwin_unittests`testing::Test::Run() [inlined] void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000060000154c000, method=0x00000000000000000000000000000020, location=<unavailable>) at gtest.cc:0 [opt]
    frame #12: 0x0000000100bf3044 flutter_desktop_darwin_unittests`testing::Test::Run(this=0x000060000154c000) at gtest.cc:2688:5 [opt]
    frame #13: 0x0000000100bf3e68 flutter_desktop_darwin_unittests`testing::TestInfo::Run(this=0x000000014f712cc0) at gtest.cc:2837:11 [opt]
    frame #14: 0x0000000100bf4b24 flutter_desktop_darwin_unittests`testing::TestSuite::Run(this=0x000000014f712540) at gtest.cc:3016:30 [opt]
    frame #15: 0x0000000100c03980 flutter_desktop_darwin_unittests`testing::internal::UnitTestImpl::RunAllTests(this=0x000000014f704b20) at gtest.cc:5922:44 [opt]
    frame #16: 0x0000000100c03500 flutter_desktop_darwin_unittests`testing::UnitTest::Run() [inlined] bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=<unavailable>, method=<unavailable>, location=<unavailable>) at gtest.cc:0 [opt]
    frame #17: 0x0000000100c034ec flutter_desktop_darwin_unittests`testing::UnitTest::Run(this=<unavailable>) at gtest.cc:5486:10 [opt]
    frame #18: 0x0000000100169784 flutter_desktop_darwin_unittests`main [inlined] RUN_ALL_TESTS() at gtest.h:2316:73 [opt]
    frame #19: 0x000000010016977c flutter_desktop_darwin_unittests`main(argc=1, argv=<unavailable>) at run_all_unittests.cc:0 [opt]
    frame #20: 0x000000018c0db154 dyld`start + 2476

Here is invocation in the crash:
(lldb) up
frame #2: 0x0000000100b99624 flutter_desktop_darwin_unittests`-[OCMInvocationStub invokeArgActionsForInvocation:](self=0x00006000023e5780, _cmd=<unavailable>, anInvocation=0x00006000036d4fc0) at OCMInvocationStub.m:87:27 [opt]
   84  	            continue;
   85
   86  	        if([recordedArg isKindOfClass:[NSValue class]])
-> 87  	            recordedArg = [OCMArg resolveSpecialValues:recordedArg];
   88
   89  	        if([recordedArg isKindOfClass:[OCMArgAction class]])
   90  	            [recordedArg handleArgument:passedArg];
(lldb) po anInvocation
<NSInvocation: 0x6000036d4fc0>
return value: {v} void
target: {@} 0x14300a550
selector: {:} sendPointerEvent:
argument 2: {r^{?=QiQddiiddiqddddq}} 0x16fdfe8f0

(lldb) po 0x14300a550
<FlutterEngine: 0x14300a550>

Originally I thought we were going to be missing a method or the target would be deallocated, that doesn't seem to be the case.
It may have something to do with the argument being a reference.  It seems to be messing up with that.


Update styling on in-line forms

Couple of design notes for the new in-line edit forms:

Fields should be using the "stacked" mode. Labels should appear above inputs. This can be done by adding the stacked class to the form-group container:

Old:

New:

Responsive min-width should be updated. Specifically for TinyMCE that's looking a little cramped:

In-line edit form has horizontal scroll:

When in edit mode with a reduced window width the TinyMCE right border is lost:

Add it here if there was anything I missed (cc @clarkepaul - let me know if you want to run through this together in more detail).

Apart from making the editor area bigger we'll need to create a separate issue to organise the TinyMCE options.

At least the above two points appears to be inherited from core styling. See here for details https://github.com/silverstripe/silverstripe-admin/issues/655

I'm changing this to impact/medium.

It appears that the first point has already been actioned upon.
See wide screen size:

See narrow screen size:

There are some weird semi-states as well... 🤔

If this hasn't been fixed, can we make sure there is an issue to capture it (or let me know to capture it), it should nicely for smaller sizes.

Closed in #478

If this hasn't been fixed, can we make sure there is an issue to capture it (or let me know to capture it), it should nicely for smaller sizes.

@clarkepaul #478 resolves this too.

If this hasn't been fixed, can we make sure there is an issue to capture it (or let me know to capture it), it should nicely for smaller sizes.

@clarkepaul this wasn't fixed by this PR. I've raised #483 to track it.

It was a run-on effect of the scrollbar and styling issues addressed in #478 and #487 respectively


[suggest] Controller summary not shown

version: 5.0.0-rc4

The effect of this code is as follows:

However, the controller module summary is not shown. It is recommended to write the controller module summary to the end of the module, looks like:

Dup of #1293

TL/DR: Use the overload of IncludeXmlComments that accepts an includeControllerXmlComments flag.

Thanks @domaindrivendev. Finally find the solution.

@domaindrivendev Thanks for includeControllerXmlComments! Perhaps should be added to the docs as it was very hard to discover. Thanks!


Repair decoder undefined json bug

When the stringified json contains a undefined or NaN value we need to replace it by null to allow for json.parse to work.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.9%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1544

Relevant Lines:
3042

💛  - Coveralls


#1066 - Fix rule for brew cask

Fix for #1066

Added cask to the list of fallback brew commands
Changed BREW_CMD_PATH and TAP_PATH to have /Homebrew prefix. The commands are normally located at /usr/local/Homebrew/Library/Homebrew/cmd. Verified it on macOS Catalina and Mojave.

Tested on:

macOS Catalina 10.15.5

Looks good, thanks!


version 0.3.19

@aaustin

v0.3.19

Updating Branch to Android version 2.11.1 and iOS version 0.17.7

updated AWS as well 👍 thanks much


Write proper steps to run the app in your local machine

Write proper steps to run the app in your local machine.

@Abhijit2505 Please look for this issue and if you find it legitimate award me points for nwoc.


determine which AWS regions should serve the image layers

Part of:

https://github.com/kubernetes/k8s.io/issues/3411

Follow up of:

#22

Determine if we should push the image layers to all the AWS regions or pick the regions where we want to push them.
List of AWS S3 regions: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

/kind feature
/sig k8s-infra
/sig release
/area release-eng
/area artifacts
/milestone v1.24
/assign @BenTheElder @jaypipes
cc @BobyMCbobs @dims
cc @kubernetes-sigs/release-engineering

Also if we don't push the image layers to all the AWS regions how de we maintain the mapping between network regions and S3 regions ?

Probably by hand, to the nearest region for regions that aren't 1:1.
That's a different issue we will work into as part of implementing the redirecting.

The following regions should serve the image layers:

us-west-2
us-west-1
us-east-1
eu-central-1
eu-central-1
us-east-2
ap-southeast-1
us-west-1
ap-northeast-1
ap-south-1

Those 10 regions cover more than 90% of the source traffic for AWS customers pulling container images.

xref: https://github.com/kubernetes-sigs/oci-proxy/issues/39 which seems to have wound up with most of the region selection discussion rather than this issue.

/close feedback from @jaypipes on #sig-k8s-infra call

/close


ImportError: No module named gst

I am new to BeagleBone and I am testing out the webcam_bbioserver_test.py example provided here with PYBBIO. I get the "Importerror: no module named gst" error. I checked for gst-inspect on the OS(Angstrom) and it shows the GST module installed. Please help me understand if the webcam requires any specific gst plugin to run? or does it have something to do with the configuration.

That's referring to the gstreamer Python bindings, which you should hopefully be able to install on Angstrom with:
opkg install python-gst0.10
I don't have an Angstrom image handy though, that package may not be available


Adding HotKey Bindings to Search Box

In many cases, quick navigation requires the use of the search function. However, currently, the user needs to use the mouse to focus on the search box. It would be helpful to add a keyboard shortcut, such as CMD+F, to quickly focus on the search box.

@isecret You don't need to focus search field - just start typing what you want to search and it will automatically focus itself.

@isecret You don't need to focus search field - just start typing what you want to search and it will automatically focus itself.

Okay, it looks like I've been using the search function incorrectly before.


mouse pos tracking in scaled viewports is not correct

Windows 7 64 bit, 1.1 stable
I chased this down as a problem with moving a WindowDialog by dragging on the title bar but I think it is actually a mouse position reporting issue.  To reproduce:

New project setup as:

Add a WindowDialog node
Run
Click and hold on the dialog title bar and slowly move the mouse - the dialog drags in sync with mouse
Resize the application window (make it substantially bigger or maximize it)
Click and hold on the dialog title bar and slowly move the mouse - the dialog does not move unless the mouse is moved quickly

I suspect the issue is in mouse movement event handling with scaled viewports - printing ev.relative_pos from _input_event on the WindowDialog node shows it as (0,0) unless the mouse is moved quickly.

this was fixed recently, closing


Change network handling to example42/network

We use https://forge.puppet.com/example42/network to control bridge setup in a more flexible way.

Looks fine to me, do you want do a full test by pointing the puppetmaster to your branch and doing a full reinstall?

I don't think so, I'm still working on terraform deployments on the server at the moment.

Well, I'll say let's merge it and deal with any eventual issue when we deploy proxmox1.sinequanon.io, in 2 years 💯