chores: update dependencies

Updated dependencies with poetry update.
Fixed the rsa version to ^4.7 to ensure the CVE gets fixed.
Many dependencies have been updated.
Lea ran successfully locally.

@MaxHalford unit tests are failing for DuckDB-related tests, could you help me with this? This gets a bit further than my current experience with this repository 🙏

Yes it's an annoying one, I can't reproduce it. Thanks for the PR, I'm merging and I'll fix the test myself!

Thanks Max!
On Thu, Sep 19, 2024 at 6:26 PM Max Halford @.***>
wrote:

Yes it's an annoying one, I can't reproduce it. Thanks for the PR, I'm
merging and I'll fix the test myself!
—
Reply to this email directly, view it on GitHub
https://github.com/carbonfact/lea/pull/46#issuecomment-2361474943, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD25CBCS5JZ223T7XVKTKLZXL3MFAVCNFSM6AAAAABODHHZOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRRGQ3TIOJUGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Romain Champourlier
Cofounder & CTO
@.***>
CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents,
files or previous e-mail messages attached to it may contain information
that is confidential or legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that you must not read this transmission
and that any disclosure, copying, printing, distribution or use of any of
the information contained in or attached to this transmission is STRICTLY
PROHIBITED. If you have received this transmission in error, please
immediately notify the sender by telephone or return e-mail and delete the
original transmission and its attachments without reading or saving in any
manner. Thank you.


Feat/bybit connector

Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Bybit Spot connector development. PRP related: https://snapshot.org/#/hbot-prp.eth/proposal/0x29bd6e24877d3c21050311f825095de7981b52bab5abb12b1a0374ae90f44a3f
Tests performed by the developer:
Tips for QA testing:

@cardosofede please check the the unit tests. The validation workflow failed when running them.


How to avoid interaction_in_progress error if user closes page while on AAD page?

Please follow the issue template below. Failure to do so will result in a delay in answering your question.
Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[X]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description
Code:
const publicClientApp = new PublicClientApplication(config);
const handleRedirectPromise = publicClientApp
      .handleRedirectPromise()
      .then(response => {
        this.account = response ? response.account : this.getAccount();
        if (!this.account) {
          this.publicClientApp.loginRedirect({
            scopes: this.scopes,
            authority: this.authority
          });
        }
      })
      .catch(error => {
        if (error) {
          this.trackError(error);
        }
      });

This works, when the user first goes onto our site, if there are no accounts, it will loginRedirect the user.
However if user then closes the AAD page for whatever reason and then comes back to our site..
We will again find that there is no account and call loginRedirect again. This will then throw an error: "interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API."
How do I handle this?
Examples:

"How do I use MSAL with Vue.js"
"How do I SSO between tabs?"
"How do I use MSAL to protect my custom Web API?"
"How can my app support multiple AAD tenants?"
"When will my scenario be supported?"
"When will this framework be supported"

Sorry this isn’t the msal-browser, I had tested something else, closing

I'm seeing this behaviour in msal-browser as well
Reproduction:

In our app we create the PublicClientApplication like so

    const publicClientApp = new PublicClientApplication({
      auth: {
        clientId: this.clientId,
        authority: this.authority,
        redirectUri: this.loginRedirectUri,
        postLogoutRedirectUri: this.postLogoutRedirectUri
      },
      cache: {
        cacheLocation: "localStorage",
        storeAuthStateInCookie: isIEOrOldEdge // https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/1188#issuecomment-634281307
      },
      system: {
        loadFrameTimeout: 30000,
        tokenRenewalOffsetSeconds: 60,
        loggerOptions: {
          loggerCallback: MsalAuthContext.msalLoggerCallback,
          piiLoggingEnabled: false,
          logLevel: LogLevel.Verbose
        }
      }
    });
    const handleRedirectPromise = publicClientApp
      .handleRedirectPromise()
      .then(response => {
        this.account = response ? response.account : this.getAccount();
        if (!this.account) {
          this.publicClientApp.loginRedirect({
            scopes: this.scopes,
            authority: this.authority
          });
        }
      })
      .catch(error => {
        if (error) {
          this.trackError(error);
        }
      });

Use the site in incognito mode to make sure you have not been logged in
Get redirected to AAD page to login
Click browser back button or close the window
Go back to the site and notice an error is thrown
Uncaught (in promise) BrowserAuthError: interaction_in_progress: Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.
at t [as constructor]
at new t
at Function.t.createInteractionInProgressError
at e.preflightInteractiveRequest
at e.
at
at Object.next
at
at new Promise
at h

I also noticed that in localStorage,
msal..interaction.status: interaction_in_progress
How do we prevent such an error? This blocks users from signing in if you close out of the AAD flow midway


Sampling for Bar Charts

Would love to see the ability to do with bars, the same thing that's done with lines. If bars start overlapping due to size, then the bars would stack or average out.
I.e. min width, if min-width cannot be achieved without overlap, points are sampled into a smaller number of bars.

Could I have that in which scenario this feature is required?


Lab10 Review by Riccardo Cardona s319441

Intro
Hi Davide ✌.
Firstly, good job 👍🏻! Each function is well documented and the code is easy to read. Your players also seem unbeatable, nice!
Also, nice job on adding to practically every single line in the notebook a little comment to describe what's happening,
it gave me a huge help in understanding the code and therefore saved me some time.
I also discovered that it's possible to print the board using some emoji for ❌ and ⭕ and I must say that it turns out
really well, I will definitely use it in the future 😏.
Code
While reading the code, I just noticed a small typo that's also quite irrelevant but anyway, in the _game_reward
method you write that the player is a TicTacToe class instead of a QLearningRLPlayer.
Since you use the state in the form of a string as the dictionary key, it took me a while to understand the whole process
between wanting to change the -1 to 2 of the board state in _map_state_to_index to the various reshapes in _make_move
and immediately after to get the action. I personally find working with strings quite uncomfortable and often not very
intuitive, which is why I opted to transform the board matrix into a tuple of tuples and use it as a key. For example, a matrix
[[1,0,0], [0,1,0], [0,0,1]] will become ((1,0,0), (0,1,0), (0,0,1)). In this way, in my opinion, it is slightly easier
to work with and also more intuitive.
Changing the exploration rate at each epoch is also excellent. I think this step improves the player and not just a little.
I hadn't really thought of this, so thank you very much for this addition, I will definitely use it for the project.
Ending
I hope you'll find this review useful and good luck for the project 😉!

Hi 👋🏻, Riccardo.
Thank you for your feedback on my work.
When I wrote the code I didn't see the typo you pointed out in the comment, I'll fix it after the final exam.
For the state representation, my first idea was to encode the state as an integer value. In particular, in my representation the state is encoded in a base 3 number, so it is sufficient to write the following line of code to get the corresponding integer value.
state = int(state, base=3)

In the end I decided not to use it because it is just an additional operation that increases the computational complexity but not the quality of the solution.
Good luck with the project and the exam to you too 🍀😉!


Set entrypoint path as /opt/conda/bin/tini

As a follow up to rapidsai/gpuci-build-environment#215, we need to update the entrpoint path to /opt/conda/bin/tini

Closed in favor of https://github.com/rapidsai/docker/pull/392


npm package remark failed to fetch

repro: https://github.com/aspect-build/bazel-examples/pull/new/next
% bazel test ...
INFO: Repository npm__stringify-entities__4.0.2 instantiated at:
  /home/alexeagle/Projects/bazel-examples/next.js/WORKSPACE.bazel:30:17: in <toplevel>
  /home/alexeagle/.cache/bazel/_bazel_alexeagle/1112fa9a04c6878cb3f2bf123baf106a/external/npm/repositories.bzl:3979:15: in npm_repositories
  /home/alexeagle/.cache/bazel/_bazel_alexeagle/1112fa9a04c6878cb3f2bf123baf106a/external/aspect_rules_js/js/npm_import.bzl:150:16: in npm_import
Repository rule npm_import defined at:
  /home/alexeagle/.cache/bazel/_bazel_alexeagle/1112fa9a04c6878cb3f2bf123baf106a/external/aspect_rules_js/js/private/npm_import.bzl:493:29: in <toplevel>
ERROR: An error occurred during the fetch of repository 'npm__stringify-entities__4.0.2':
   Traceback (most recent call last):
        File "/home/alexeagle/.cache/bazel/_bazel_alexeagle/1112fa9a04c6878cb3f2bf123baf106a/external/aspect_rules_js/js/private/npm_import.bzl", line 274, column 27, in _impl
                pkg_json = json.decode(rctx.read(pkg_json_path))
Error in decode: at offset 2312, object has duplicate key: "typeCoverage"
ERROR: /home/alexeagle/Projects/bazel-examples/next.js/WORKSPACE.bazel:30:17: fetching npm_import rule //external:npm__stringify-entities__4.0.2: Traceback (most recent call last):
        File "/home/alexeagle/.cache/bazel/_bazel_alexeagle/1112fa9a04c6878cb3f2bf123baf106a/external/aspect_rules_js/js/private/npm_import.bzl", line 274, column 27, in _impl
                pkg_json = json.decode(rctx.read(pkg_json_path))
Error in decode: at offset 2312, object has duplicate key: "typeCoverage"

ERROR: /home/alexeagle/Projects/bazel-examples/next.js/BUILD.bazel:4:17: //:store_link__stringify-entities__4.0.2__pkg depends on @npm__stringify-entities__4.0.2//:jsp_source_directory in repository @npm__stringify-entities__4.0.2 which failed to fetch. no such package<EMAIL_ADDRESS>at offset 2312, object has duplicate key: "typeCoverage"
ERROR: Analysis of target '//lib:lib' failed; build aborted:
INFO: Elapsed time: 0.347s
INFO: 0 processes.
ERROR: Couldn't start the build. Unable to run tests
INFO: Build Event Protocol files produced successfully.
FAILED: Build did NOT complete successfully (7 packages loaded, 21 targets configured)

Hah. Someone published a package.json with duplicate keys:
<EMAIL_ADDRESS>"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true,
"ignoreCatch": true
}

We can patch the offending package.json files on the way in (there are of them):
translate_pnpm_lock(
    name = "npm",
    pnpm_lock = "//:pnpm-lock.yaml",
    patches = {
        # these npm packages have package.json files with duplicate 'typeCoverage' keys which
        # Bazel's json.decode fails on:
        #<EMAIL_ADDRESS>        #<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>    },
)

But this fix is needed so we apply the patches before reading the package.json file: https://github.com/aspect-build/rules_js/pull/149

Left issues upstream,
https://github.com/wooorm/stringify-entities/issues/11
https://github.com/wooorm/decode-named-character-reference/issues/2


Add OWASP T10 config and suites

The issue here is that the out-of-the-box queries aren't included into the queries source packs. We might need to look into this.

Not needed, might come back


Video playing behind preroll ad

I have run into an issue where the video starts playing at the same time as the preroll ad.  So if the preroll ad is 10 seconds long, once the video appears it is already 10 seconds into the video.  I've created a codepen below to demonstrate code similar to what we are using in production.  This example works just fine.
https://codepen.io/davidjamesherzog/pen/LrzWZG
Unfortunately, when I put this similar type code in our production code, we run into the issue of the preroll and video playing at the same time.  Our production code has the equivalent code above but is intertwined with a whole bunch of API calls, promises, callbacks, components, etc. which may be causing the problem.  Is there a certain sequence that needs to occur to make sure the ads prevent the video from starting once it is loaded and configured with autoplay on?  I call video.ima.requestAds(); prior to loading the source into the player and that seems to work just fine in the sample above but does not work in our production code.

Hey - I think this sample is the same or very similar to the one provided in #662. It's erroring out for me because it's trying to load controller.js, which doesn't exist. Since you said this example is working but you're seeing issues in production, would it be possible for you to share your production page with us so we can see the issue? Thanks!

I removed the reference to controller.js. That was a copy/paste error.

Unfortunately, I can't share the production page.  I have actually taken our custom video code (setting up the player, loading video and listening for events) and commented out almost everything and only left the bare essentials.  The issue goes away so it is somewhere in our code.  I started to uncomment out the code piece by piece but I got pulled off onto other priorities.  I won't get back to looking at this for another week or two.

OK let me know if you need anything more from us - thanks!

I think I found out why this was occurring.  I was explicitly setting autoplay(true) on the player because of autoplay block detection in the browsers.  When I removed this line, it stopped the video from playing while the preroll was playing.  I'm going to use the can autoplay library that is used in the autoplay example in this repo.  That seems like a much better solution for autoplay detection than my hack.


[Taxonomy Tree]: Size missing from Bikes

Taxonomy Field
Attributes
Vertical
Sporting Goods
Change Type
New category or attribute
Issue
Size attribute missing in the Bicycles categories.
Description
Bikes are often sold in sizes, but size is missing an an attribute:

Video/Screenshot
No response
Merchant Store
No response

In scope for measured attributes pending infrastructure.


Could support the SkipFlagParsing is true with flags?

Could support the SkipFlagParsing is true with flags?
For example:
package main

import (
        "fmt"
        "os"

        "github.com/urfave/cli"
)

func main() {
        app := cli.NewApp()
        var uuid cli.StringSlice
        app.Commands = []cli.Command{
                {
                        Name:  "test",
                        Usage: "cli testing",
                        Flags: []cli.Flag{
                                cli.StringSliceFlag{Name: "uuid", Value: &uuid},
                        },
                        Action: func(c *cli.Context) {
                                fmt.Fprintf(os.Stdout, "uuid: %v\n", uuid)
                                for _, x := range c.Args() {
                                        fmt.Fprintln(os.Stdout, x)
                                }
                        },
                        SkipFlagParsing: false,
                },
        }
        app.Run(os.Args)
}

It outputs:
 go run test2.go test -uuid foobar -a a
Incorrect Usage: flag provided but not defined: -a

NAME:
   test2 test - cli testing

USAGE:
   test2 test [command options] [arguments...]

OPTIONS:
   --uuid value  (default: "foobar")

Expect:
uuid: [foobar]
-a
a

need that

+1

In general we cant have it both ways, if SkipFlagParsing is false the  behaviour is as expected. If SkipFlagParsing is set to true then output is
uuid: []
--uuid
dd
--a
a


Protect simulator accessors via shared lock

This fixes an intermittent crash by putting shared locks around the access of the psis vector, where create and destroy use an exclusive lock of the same mutex
Fixes #335

I've introduced a bug somewhere with how the new get method is working. Changing this PR to draft while I track it down.


Angular Keeps Compiling

Which @angular/* package(s) are the source of the bug?
compiler-cli, compiler, core
Is this a regression?
No
Description
I have setup a fresh Angular project. When I run using ng serve it keeps compiling non-stop without any real change in the source code.

Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 13.3.7
Node: 16.15.1
Package Manager: npm 8.12.1
OS: win32 x64

Angular:
Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1303.7 (cli-only)
@angular-devkit/core         13.3.7 (cli-only)
@angular-devkit/schematics   13.3.7 (cli-only)
@schematics/angular          13.3.7 (cli-only)

Anything else?
Please help me fix this problem, am struggling from past 1 week and nothing is helping out of Google as well.

You can check which files have been modified/deleted by replacing liner 67 in<EMAIL_ADDRESS>with the below
-    const extraPlugins = [];
+    const extraPlugins = [
+      new (class {
+        apply(compiler) {
+          compiler.hooks.watchRun.tap(
+            "WatchRunPlugin",
+            ({ modifiedFiles, removedFiles }) => {
+              console.log({ modifiedFiles, removedFiles });
+            }
+          );
+        }
+      })()
+    ];

You can check which files have been modified/deleted by replacing liner 67 in<EMAIL_ADDRESS>with the below
-    const extraPlugins = [];
+    const extraPlugins = [
+      new (class {
+        apply(compiler) {
+          compiler.hooks.watchRun.tap(
+            "WatchRunPlugin",
+            ({ modifiedFiles, removedFiles }) => {
+              console.log({ modifiedFiles, removedFiles });
+            }
+          );
+        }
+      })()
+    ];

This is not helping identify the changes.

Can you run ng version inside your project?

Can you run ng version inside your project?

My actual project is in Angular 11.x. At first, I faced the compilation issue in my current project. Then, I did setup a new Angular project with version 13.x. Surprising I faced the same compilation issue there as well. Hence I think, we need to fix this in both Angular 11.x & Angular 13.x
ng version - Current Project with Angular 11.x

ng version - New Project with Angular 13.x

From both the screenshots above. Version 11 of Angular is used in both cases. In the 2nd case only Angular CLI is version 13.
Please align all Angular packages to the same major version.
Please also be aware that Angular 11 is no longer supported. Please see https://angular.io/guide/releases#support-policy-and-schedule

From both the screenshots above. Version 11 of Angular is used in both cases. In the 2nd case only Angular CLI is version 13.
Please align all Angular packages to the same major version.
Please also be aware that Angular 11 is no longer supported. Please see https://angular.io/guide/releases#support-policy-and-schedule

Extremely sorry. I didn't realize I pasted the same screenshot in both the cases. Here is the ng version for Angular 13.x project.
ng version - New Project with Angular 13.x

Can you paste the provided snippet in the v13 project please?

Can you paste the provided snippet in the v13 project please?

I did that and here is what it displays in V13 project.

Hi @irshadahmed,
I was able to reproduce this and it seems that the problem is the special character ( in the path.
To be more precise this is exposing a bug in glob-parent package which is used by the copy-webpack-plugin.
https://github.com/webpack-contrib/copy-webpack-plugin/blob/b66cc95d1e67ca858c46d24fabadbb67f79ab009/src/index.js#L360
Example the below code
globParent('C:\\Users\\abc(a\\test-test\\src\\assets\\**\\*')

Will incorrectly return
'C:\\Users'

Closing as this is not actionable from our end. I suggest to file an issue with glob-parent


Converted to template strings

Indented some code, and converted certain strings to template strings for readability.
Note: The code hasn't been minified, how do I do it? I suggest adding webapck.

I minified the file using an online tool (https://www.toptal.com/developers/javascript-minifier) but you are right, adding webpack is cleaner. This would be one of the next steps. Thank you very much for your contribution and suggestion! :)

This is a solid tool, and will definitely contribute more! 🚀


refactor annotate.js

break up the long file into multiple smaller ones

This is going to be part of refractor branch or a new pr?


Can't upgrade to k8s.io/api v0.28.0-alpha.4

Dependabot is trying to upgrade my project with the following dependencies
k8s.io/api v0.28.0-alpha.4
k8s.io/apimachinery v0.28.0-alpha.4
k8s.io/client-go v0.28.0-alpha.4

However when I try to compile I get the following error
#14 [build 8/8] RUN go build -o /app/im-manager -ldflags "-s -w" ./cmd/serve
#14 31.08 # sigs.k8s.io/kustomize/kyaml/openapi
#14 31.08 /go/pkg/mod/sigs.k8s.io/kustomize/kyaml@v0.13.9/openapi/openapi.go:656:33: cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to swagger.FromGnostic
#14 ERROR: process "/bin/sh -c go build -o /app/im-manager -ldflags \"-s -w\" ./cmd/serve" did not complete successfully: exit code: 1

The project in question can be found here.
Please let me know if I should add more information or ask in a different place.

May be this https://github.com/kubernetes/client-go/issues/1075 would help to resolve your issue.


feat: enable dependabot and codeql scanning

@mrlubos  It doesnt appear to be enabled here (as I am seeing issues on my fork, but not here).
Also I have sent you an email (to the one linked on your github), about this repository and making it more accessible to stay maintained. When you get a chance take a look at it.

@jordanshatford yep, replied!

@mrlubos can we enable both of these in the repository settings?

This has been complete, both dependabot and codeql are working


old PCR Test should vanish

old PCR Tests are still in Frontpage, even if weeks old.
If someone not deletes them actively the old PCR Test should move somewhere else, since the app should go in business as usual mode. (maybe ask for it)
Otherwise the main view is blocked by an very old pcr positive test.
Or give some information on how to get a "genesenen certificate" instead,
or the info that the pcr test - if you are healthy now - is no longer needed and no good for anything.

@viisauksena
So, just to make sure I understood you right, if one has registered a PCR test which comes back positive & then warns others, the screen which is then shown should automatically be not shown anymore after ca. 2-3 weeks?

It would be even more convenient to be able to convert the positive PCR test into a Genesenenzertifikat with a click of a button.
If this is technically not possible it would be good to move the PCR test somewhere else, since you cannot access the „Risiko-Ermittlung“ feature with a postive PCR test. It should not be deleted since oftentimes the positive PCR test in the app is the only way some test centers tell you the result.

It would be even more convenient to be able to convert the positive PCR test into a Genesenenzertifikat with a click of a button.
If this is technically not possible it would be good to move the PCR test somewhere else, since you cannot access the „Risiko-Ermittlung“ feature with a postive PCR test. It should not be deleted since oftentimes the positive PCR test in the app is the only way some test centers tell you the result.

This issue should be moved to the cwa-wishlist.

This issue should be moved to the cwa-wishlist.

I would like to +1 for the proposed solution.
Since I didn’t find any active communication, that the risk calculation will be paused - I was assuming there is a bug in displaying risk cards and was about to open a bugticket.
Unless users will be notified and reminded to delete the positive test result - they might think they need the test-card again. E.g. to get their proof in form of Genesungszertifikat.
Some might never delete the test, to proof that they have had a COVID infection, for documentation reasons, because they are unsure what happens after deleting,(even simply because they want to show off).
*suggested solution:
As a user I want to get an information that risk calculation is paused for x days due to reasons, because I want to understand  that there won’t be any tracking of risk encounters.
As a user I want risk calculation to continue after 14 days of quarantine so that I don’t have to worry about getting missed risk encounters.
As a user I want to get the information when the pcr is not longer needed ans an option to move the active PCR  test to continue to use the app as originated.
thanks a ton.

@larswmh
Can you move this to the wishlist repo?


Permission Error

I put this provider in a .net core 2.1.5 webapi and deployed it to a lambda function. API endpoint works fine, but cloudwatch logs the below error:
Amazon.AspNetCore.DataProtection.SSM.SSMXmlRepository: Error calling SSM to get parameters starting with /LambdaWebApi.DataProtection/: User: arn:aws:sts::xxxxxxxxxxxx:assumed-role/lambdawebapiservice-dev-us-east-1-lambdaRole/lambdawebapiservice-dev-api is not authorized to perform: ssm:GetParametersByPath on resource: arn:aws:ssm:us-east-1:xxxxxxxxxxxx:parameter/LambdaWebApi.DataProtection/
Note:I have replaced the arn number with xxxxxxxxxxxx in the above copy-pasted error message.
Since the data protection system is not set due to above error, the api throws the below error:
[Error] Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider: An error occurred while reading the key ring.
Is there some IAM permission that must be setup before using this library? Any help is appreciated. Thanks.

Adding a policy in IAM for the lambda role to allow it access to SSM resolved the problem. Please close this issue.

I'm having the same issue.
What is the minimum required set of permissions needed to make the library work?

I added a permissions section to the README. I would appreciate feedback if that is helpful.
https://github.com/aws/aws-ssm-data-protection-provider-for-aspnet/blob/master/README.md#permissions

This is perfect. I came up with the same results by inspecting the error messages, but this makes it a lot easier to get started. Thanks!


Scorched Fossil not added to forum export

I haven't had a chance to try with other fossils, but the 3 scorched fossils I have in my stash don't get added to forum export, I think it worked fine during Betrayal or a previous Procurement version. They used to show up under Currencies

Just tested 1.25.2 and fossils work fine there, some change in 1.26.0 broke it.

Will be this:
https://github.com/Stickymaddness/Procurement/pull/968/commits/150d4e23b4fd83047878840859aaae9601ad75b9
That broken it.
It will need a fossil runner adding.

Didn't want to open another issue, sextants also seem to broken between 1.25.2 and 1.26.0. They are not being added to forum export anymore


Why remove the memtable from imm_memtables in LsmStorgae.sync()?

https://github.com/skyzh/mini-lsm/blob/130b47ba54929e4eb1f83f1dfef7d79a9cfbd6ca/mini-lsm/src/lsm_storage.rs#L165-L177
In sync() we push the memtable to imm_memtables first, but remove it during flush to ssTable. What's the reason for removing memtable from imm_memtables? If we do not remove it, we can get key-value in imm_memtables which is located in memory.
And what is the role of imm_memtables in LsmStorage? It's unclear to me.

imm_memtables are immutable memtables. Memory is not unlimited, and it will eventually become full. We will need to flush those memtables to disk as SST files. After flushing to disk, you can read them from block cache, and we can also run background compaction so consolidate SSTs.

Soga. I found that I overlooked block cache in SsTable.
There is another point I don't really understand. The variable imm_memtable seems to be only used for temporarily store memtable. Is this all its functions? or are other aspects ignored by me?

In the future, we will have flush thread in the background, which flushes imm_memtable to disk. sync will be very light-weight. It will only do a fsync on WAL file.

very much looking forward to the future chapter


iOS Keyboard Shortcut rapid double tap space for period

I want to start this discussion regarding react native's plans for this keyboard shortcut UX feature, is there the possibility of a 3rd party solution in the form of a package to insert this setting, or does some feature of the native bridge api need to be configured to read this native setting. Can this be implemented in a future version of react native and what are the current blockages?

interestingly, I notice that this feature is respected, but in typescript if you use the wrong syntax, such as js constructor syntax, the double tap is not respected. Very interesting case.

Hey @Kielan, did you find another solution to this issue other than setting multi line to true? I'd like the double tap for period behavior in my app, but the desired field does not need to be multi line.


RP2040 - Core gets stuck after reflashing

Describe the bug
Occasionally (~10% of the time) when I use probe-rs to reflash my chip with new software, the new software is reprogrammed but the chip appears to be stuck. The only way to get out of this state is to physically reset the chip.
probe-rs 0.23.0
git commit: 426750d

To Reproduce
Use probe-rs to reflash an RP2040 chip. This issue doesn't always manifest. I've noticed that it mostly happens with larger payloads
Expected behavior
Chip is reflashed and begins running the new software
Desktop (please complete the following information):
Ubuntu 22.04
Additional context
I'm using a CMSIS-DAP probe.
This is what I see after reflashing (again it's almost like the chip is running no software after reflashing since neither my old software nor the new one appears to be executing)
      Erasing ✔ [00:00:00] [###########################################################################################################################################################################################################################################################################################################] 56.00 KiB/56.00 KiB @ 71.87 KiB/s (eta 0s )
  Programming ✔ [00:00:01] [###########################################################################################################################################################################################################################################################################################################] 56.00 KiB/56.00 KiB @ 36.67 KiB/s (eta 0s )
    Finished in 2.337s
        Done processing config default
 WARN probe_rs::architecture::arm::core::armv6m: Core is running, but we expected it to be halted

Same on STM32F030CC. It seems that the chip is not reset automatically by probe-rs after flash done, unless manually run probe-rs reset. I don't know if it's a expected behavior.

probe-rs reset doesn't seem to be working for me
$ probe-rs reset --chip RP2040
 WARN probe_rs::architecture::arm::core::armv6m: The core is in locked up status as a result of an unrecoverable exception

Was running into a similar issue when reflashing an stm32h7 via an rp2040 probe running https://github.com/probe-rs/rusty-probe-firmware. Adding this delay between programming and the reset_and_halt seems to have fixed it: https://github.com/akhilles/probe-rs/commit/349ec7f1e93a1d238943db2258549edbcc631b93. Using the --verify flag, which effectively also adds a delay, also works.


disk: sdhc: Switch to clock frequency from DTS

The "spi-max-frequency" property already exists, but was unused. This
now sets the SPI clock frequency to this value (limited to 24MHz) once
initialisation is complete.
Due to the nature of the SPI API, it is necessary to have two separate
configuration structures to switch clock speed as some SPI drivers only
compare pointers to detect changes.
Fixes: #32996, Fixes: #28092, #22906
Improves issue reported in #26513, but does not implement CMD6 to
switch to High Speed mode.
Signed-off-by: Rich Barlow<EMAIL_ADDRESS>

This supersedes #26319. It rebases the change to master and incorporates the requested architectural changes.


Bump the modal's z-index

I noticed that the z-index of Vega-lite's menu button was 1000 but the modal's z-index is 40. I did not see any options to drop the z-index in vega-lite, so I bumped the modal. Perhaps not ideal to have to have components keep one-upping their z-index, but seems ok given that modals are usually set quite high.

@jonatanklosko ohh cool, updated!


Bootstrap 3 jspm jquery dependency issue

When I install Bootstrap with jspm it also downloads jquery for me because that dependency is listed in the package.json of Bootstrap. But there is no version specified in the package.json for jquery, so it's downloading the latest jQuery 3.0.0. But that version isn't compatible with Bootstrap 3.3.6 which leads to problems.
Can the package.json be updated so that is specifically targets the latest jquery 2.x.x version?

Going to call this a duplicate of 16834. Accounting for the overhead of shipping a release, it'll be faster to just properly fix the incompatibility. I'll try to get it done this week.


Tool generated binary manifest cause validation failure

After committing the manifest file as binary (blame Sourcetree!), the validation pipeline validation fails with the following error:

Manifest is invalid. (Line: 3, Col: 1, Idx: 38) - (Line: 3, Col: 1, Idx: 38): While scanning a simple key, could not find expected ':'.

I fixed this by re-commiting the file as non-binary, and the manifest is validated successfully.
This may not be an issue, but I have noticed a lot of PRs are having this validation error and this information could help :)

I bumped to this issue too but in my case the issue was in file encoding. When I opened the file in vscode again it displayed wrong characters. Re-saving the content in UTF-8 helped.

It seems that core of the issue is YamlCreate.ps1 script.
Repro steps:

Use YamlCreate.ps1
Generated yaml file is UTF-16 LE encoded
Commit and Push changes to GitHub - yaml file is "broken"

@LukasNespor Yes, I was going to mention did you create it using the YamlCreate.ps1 script. I also used that tool to create my manifest, perhaps that is the issue?

@LukasNespor Yes, I was going to mention did you create it using the YamlCreate.ps1 script. I also used that tool to create my manifest, perhaps that is the issue?

Yes, that is the issue. When the PowerShell script is generating the yaml file in UTF-8, everything works just fine. Just created PR #451

This way you generate UTF8 with BOM. Also you have modified many more lines than needed. I have committed PR #462 to create the file with UTF8 without BOM

It looks like the validation has been fixed. #605 passed validation with a binary file.

This issue should be resolved now.

This issue should be resolved now.


FormBuilderTypeAhead event when field is cleared.

Is there any way to trigger an event when the field is cleared?
I tried using onChange and checking if value is empty but OnChange only triggers when I select an option from the suggestions.
It would be a awesome if there was a clear icon on the right, and when cleared (or manually cleared), a event would be triggered.
Is it possible?
Thanks!

You can add a clear icon yourself by specifying an InputDecoration with a suffixIcon.
                  decoration: InputDecoration(
                    suffixIcon: IconButton(
                      icon: const Icon(Icons.cancel),
                      onPressed: () {
                        ...
                      }
                  ),

Hey, Thanks Antonio!
I would still need an event to trigger when the field is emptied. (For when the user removes the text manually)

I implemented what Anthony said. Still would love an event trigger on field empty.
Besides that, Is there any way to hide suggestion on a possible clear? So if I press the cancel icon, the suggestion Box does not come up.
Thanks for your help!

Please note that this project provides a thin wrapper around flutter_typeahead.  My immediate suspicion is that you may want to direct functionality requests for that specific widget to that specific project.

I would still need an event to trigger when the field is emptied. (For when the user removes the text manually)

It sounds like you want an onChange handler specifically for when the query text changes.  That sounds like something that the widget will need to provide -- this framework wouldn't be able to provide that directly.

Is there any way to hide suggestion on a possible clear? So if I press the cancel icon, the suggestion Box does not come up.

Not totally sure without trying, but you may be able to control this with your findSuggestions function -- what if you return an empty list or null?

Please note that this project provides a thin wrapper around flutter_typeahead. My immediate suspicion is that you may want to direct functionality requests for that specific widget to that specific project.

I would still need an event to trigger when the field is emptied. (For when the user removes the text manually)

It sounds like you want an onChange handler specifically for when the query text changes. That sounds like something that the widget will need to provide -- this framework wouldn't be able to provide that directly.

Is there any way to hide suggestion on a possible clear? So if I press the cancel icon, the suggestion Box does not come up.

Not totally sure without trying, but you may be able to control this with your findSuggestions function -- what if you return an empty list or null?

It does not work, as I want the suggestion to show when the query is empty. I want to hide it when I clear the query using the suffixIcon.

This still an issue?

Due to lack of response and an old error, I will close this issue.
If the bug still exists, feel free to open a new issue


⚠ Bofrost.com has degraded performance

In 16d7603, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1323 ms

Resolved: Bofrost.com performance has improved in 29c26cd.


List of services

As a Refugee/Volunteer I want to see list of all services so that can find the best one for me.
Old version - https://wehelp.live/services

name - With right-justified second column
link - https://tailwindui.com/components/application-ui/lists/stacked-lists

@amanuela97 I added design of card, can you please add this change to your PR?


SPSearchTopology: FirstPartitionDirectory issue

Details of the scenario you tried and the problem that is occurring
The Get-TargetResource of the SPSearchTopology Resource returns the property FirstPartitionDirectory as a string, however it is supposed to be an array. This causes an issue the moment two folders are specified. We need to change the logic to only return the first item.
Verbose logs showing the problem
N/A
Suggested solution to the issue
$ssiComponents = $enterpriseSearchServiceInstance.Components
if($null -ne $ssiComponents)
{
    if($ssiComponents.Length -gt 1)
    {
        $ssiComponents = $ssiComponents[0]
    }
    $firstPartition = $ssiComponents.IndexLocation[0]
}

The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A
The operating system the target node is running
N/A
Version of SharePoint that is used (e.g. SharePoint 2016)
2013
Version and build of PowerShell the target node is running
PoSh 4
Version of the DSC module that was used ('dev' if using current dev branch)
<IP_ADDRESS>

@NikCharlebois Was this issue fixed in PR #928?

Yes it was. Closing the Issue


Missing extensions for import/export statements

Right now this project is not usable within browser engines, e.g Firefox. As the import/export statements are missing file extensions, e.g. import * as AasComon from "./common".
With the resulting js files, the statement is untouched, the browser requests ./common instead of the necessary ./common.js, thus missing the functionality later on.
There is a lenghty thread/bug about this in the Typescript Repository: TypeScript/issues/4087.
The workaround proposed is to change the imports/exports to add the file extensions for the resulting files in the source files (.ts), e.g. import * as AasComon from "./common.js", despite being counter-intuitive.

@eboxberger could you please have a look?
@tobijk2 @eboxberger could you please get in touch & make a PR? This is out of my comfort zone.

P.S. Maybe it's easier if you two agree on a proposal, and I fix aas-core-codegen? Please let me know how to proceed.

@tobijk2 @mristin this is actually a problem with all browsers (this was new for me). One possible solution / workaround is to use the bundled esm version. The esm bundle is also a part of the npm package.
Here is an example:

    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

ESM Bundled

    test

We could also fix this issue by adding some post build step and adapt the imports within the transpiled files (add the file extensions). I have tried this manually. That works.

A post-build step sounds good -- please let me know if I have to change something in the codegen.

Just a note to myself -- this is also relefant for https://github.com/aas-core-works/aas-core3.0-typescript.

Ok, I will add this post-build step and create a pull request.


All address Tentatives failed

Client version
0.8.4
Node version
0.8.4
Operating System type
Docker
Operating system version
Unknown - Unpaid
Describe the bug
All of my devices show up in HA but the docker log outputs this repeatedly after saying it has successfully registered for MTQQ and notifications.
90m2022-05-07 16:15:12.319 ERROR P2PClientProtocol.lookup(): station: T8021P10212112EC - All address lookup tentatives failed.
2022-05-07 16:15:12.319 INFO Timeout connecting to station T8021P10212112EC
To reproduce
I just have installed the docker container and integration and attempted to use it, no other steps needed.
Screenshots & Logfiles
No response
Additional context
No response

This means that it cannot connect to the unit. In the latest version, new Eufy Cloud servers for the USA were added. Try the latest version.

stale


fix: Bind parameter values not updating FluentSelect component

🐛 Bug Report
There seems to be a problem updating FluentSelect values using the @bind-SelectedOption or @bind-Value parameters. The components do not consistently reflect the value assigned to the variable used in the binding.
💻 Repro or Code Sample
@page "/fluent-select-test"
@using Microsoft.FluentUI.AspNetCore.Components

Using @@bind-SelectedOption

SelectedOption: @selectedOption?.GetHashCode()

SelectedOption Text: @selectedOption?.Text

SelectedOption Value: @selectedOption?.Value

	<FluentLabel>Select 1</FluentLabel>
	<FluentSelect AriaLabel="Select 1"
				Items="items"
				TOption="Option<int?>"
				OptionText="@(o => o.Text?.ToString() ?? "")"
				OptionValue="@(o => o.Value?.ToString() ?? "")"
				@bind-SelectedOption="selectedOption" />
	<FluentLabel>Select 2</FluentLabel>
	<FluentSelect AriaLabel="Select 2"
				Items="items"
				TOption="Option<int?>"
				OptionText="@(o => o.Text?.ToString() ?? "")"
				OptionValue="@(o => o.Value?.ToString() ?? "")"
				@bind-SelectedOption="selectedOption" />

<FluentButton OnClick="@(args => selectedOption = items.Single(i => i.Value == null))">Set Option null</FluentButton>
<FluentButton OnClick="@(args => selectedOption = items.Single(i => i.Value == 1))">Set Option 1</FluentButton>
<FluentButton OnClick="@(args => selectedOption = items.Single(i => i.Value == 2))">Set Option 2</FluentButton>
<FluentButton OnClick="@(args => selectedOption = items.Single(i => i.Value == 3))">Set Option 3</FluentButton>

Using @@bind-Value

SelectedValue: @selectedValue

	<FluentLabel>Select 3</FluentLabel>
	<FluentSelect AriaLabel="Select 3"
				Items="items"
				TOption="Option<int?>"
				OptionText="@(o => o.Text?.ToString() ?? "")"
				OptionValue="@(o => o.Value?.ToString() ?? "")"
				@bind-Value="selectedValue" />
	<FluentLabel>Select 4</FluentLabel>
	<FluentSelect AriaLabel="Select 4"
				Items="items"
				TOption="Option<int?>"
				OptionText="@(o => o.Text?.ToString() ?? "")"
				OptionValue="@(o => o.Value?.ToString() ?? "")"
				@bind-Value="selectedValue" />

<FluentButton OnClick="@(args => selectedValue = items.Single(i => i.Value == null).Value.ToString())">Set Option null</FluentButton>
<FluentButton OnClick="@(args => selectedValue = items.Single(i => i.Value == 1).Value.ToString())">Set Option 1</FluentButton>
<FluentButton OnClick="@(args => selectedValue = items.Single(i => i.Value == 2).Value.ToString())">Set Option 2</FluentButton>
<FluentButton OnClick="@(args => selectedValue = items.Single(i => i.Value == 3).Value.ToString())">Set Option 3</FluentButton>

@code {
	Option<int?>? selectedOption;
	string? selectedValue;
	List<Option<int?>> items = new List<Option<int?>>
	{
		new() { Text = null, Value = null },
		new() { Text = 1, Value = 1 },
		new() { Text = 2, Value = 2 },
		new() { Text = 3, Value = 3 }
	};
}

🤔 Expected Behavior
The component values for Select 1 and Select 2 should stay in sync when the corresponding component changes
and
The component values for Select 3 and Select 4 should stay in sync when the corresponding component changes.
😯 Current Behavior
Using the @bind-SelectedOption parameter the components get out of sync when trying to select a value that has already been selected at least once. Using Select 1 select values 1-3 in order, the Select 2 component values change to match what is selected in Select 1. However, when you select another value using the Select 1 component from this point Select 2 never changes.
Using the @bind-Value parameter the components are less prone to getting out of sync. If only one of the components is used to change the value the other component will stay in sync. However, if changes are made to both components eventually I was able to get them out of sync.
💁 Possible Solution
I'm not aware of a solution but I did step through the code in ListComponentBase and observed that the render tree is being built correctly. I'm guessing there could be some race condition with the event handling.
🔦 Context
I'm using the FluentSelect to allow users to select from a set of values and use their selection to filter data in a FluentDataGrid. I want to be able to allow the user to click a "Clear" option which reverts the FluentSelect to the starting value resulting in the starting data set to be re-displayed.
🌍 Your Environment
Observed behavior with both Blazor Server and Blazor WebAssembly projects using version 4.0.0 of the Blazor Fluent UI library and .NET 8. I haven't tried prior versions of the library or .NET.

OS & Device: Windows on PC
Browser: Microsoft Edge, Mozilla FireFox
.NET and FAST Version: .NET 8, Blazor Fluent UI 4.0.0

the same issue on FAST 3.3.0

The code for ListComponentBase<TOption> was missing some handlers.
For @bind-SelectedOption
Even though SelectedOption is set, Value is not changed (it always defaults to null). Because Value does not change, the current-value of fluent-select will not be updated from this source code (see line 16).
https://github.com/microsoft/fluentui-blazor/blob/25a2c0c85352c5da1b5ab7c34de18b916999bef3/src/Core/Components/List/FluentSelect.razor#L7-L19
I see code that updates Value using SelectedOption via InternalValue but the conditions for this to happen are probably not for this case.
protected override void OnParametersSet()
{
    ...

https://github.com/microsoft/fluentui-blazor/blob/25a2c0c85352c5da1b5ab7c34de18b916999bef3/src/Core/Components/List/ListComponentBase.cs#L256-L260
    ...
}

You may want to see more about the definition of InternalValue here.
https://github.com/microsoft/fluentui-blazor/blob/25a2c0c85352c5da1b5ab7c34de18b916999bef3/src/Core/Components/List/ListComponentBase.cs#L27-L49
Perhaps @fluentui/web-components' script automatically assigns a value to the current-value of fluent-select based on the first selected of all fluent-option. However, it can only do this the first time for each fluent-option (see picture, or you can test it at https://codepen.io/pk9r327/pen/ExrqxYK)

For @bind-Value
Is similar to @bind-SelectedOption, even though Value is set, SelectedOption is not changed (but it can be updated by OnChangedHandlerAsync). Since SelectedOption is not for display, everything looks fine, but SelectedOption does not match Value causing a condition in OnSelectedItemChangedHandlerAsync to become abnormal.
https://github.com/microsoft/fluentui-blazor/blob/25a2c0c85352c5da1b5ab7c34de18b916999bef3/src/Core/Components/List/ListComponentBase.cs#L380-L384
Summarize
The solution here is to make SelectedOption and Value match each other in case SelectedOption changes and in case Value changes.
I fixed it in local, but I didn't take care of Multiple when fixing this, which may cause errors when using Multiple. I also changed quite a bit of code in ListComponentBase.cs while debugging so I need time to review it. Please wait for a PR.
Below is a video I shot to show this issue, dark mode is the result after I fixed it.
https://github.com/microsoft/fluentui-blazor/assets/72692627/ece46ec2-6561-4fc7-865f-efd5241f8941

@pk9r327 Looking forward to that PR!


we should include typical year

Description of the issue
This comes from #474, where the concept of a typical year / period was mentioned. I am assuming that this doesn't refer to an actual year, but to the results of aggregation of data over several years, which is why I opened a new issue for this.
Ideas of solution
My guess is: A typical year is a collection of data values that are linked to a certain time period (e.g., 30 years from 1991 to 2021) and use some form of aggregation to convert the 30 years into one typical year.
Therefore I would use time series as the parent class and add the axiom has part some aggregation type.
Open questions:

Is this linked to meteorology?
Do we need a typical year or typical period or both?
What kinds of aggregations can be used (i.e., is it always an average?)

Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

There's not just a typical year, but also e.g. a typical day.
Here's a def from the EnArgus ontology of typical day (unfortunately in German), which could help with the definition:
Ein Typtag ist ein Konzept der Energiesystemmodellierung. Es handelt sich um einen Tag, dem kein genaues Datum zugeordnet wird. Stattdessen repräsentiert ein Typtag mehrere Tage, die alle Eigenschaften des Typtags teilen. Ein Typtag „Wochentag“ repräsentiert dann in einem Modell z. B. jeden der fünf Arbeitstage. Weitere Typtage würden dann für Samstage, Sonntage und Feiertage erstellt werden. Typtage werden häufig weiter unterteilt. Beispielsweise wird ein typischer Tag für Sonntage im Sommer, im Winter und in der Übergangszeit erstellt. Diese können dann weiter, unter anderem nach der Wetterlage, unterteilt werden. Typtage werden eingesetzt, um den Rechenaufwand von Energiesystemmodellen zu reduzieren. Zudem werden Typtage genutzt, falls Daten von verschiedenen Tagen aggregierbar sind. Analog zu Typtagen werden der Energieforschung auch Typwochen, Typmonate und Typjahre genutzt.

I like the idea of 'typical period' as parent class:
A typical period is a time series that represents a couple of real time periods that have certain characteristics in common, e.g. seasonal specifications, weekly routines, etc. It doesn't refer to a real date. Typical periods are used to reduce computing time of energy system models.

A typical year is a typical period with the duration of one year.
A typical day is a typical period with the duration of one day.
Just like that? I'm hesitating to add more subclasses and put more brains into it at the moment. Let's wait for an actual use case.

I am fine with that.


luci-mod-admin-full Add 802.11k/v related configurations

Since openwrt already supports 802.11k/v by using full version of wpad, it would be better if we add configurations for them in luci.
Here is parameter list.

There are already PR #5572 and #5571 for that purpose.


Site Search: Settle on search technology

Description
The website needs a search function.  Ideally that search function would also search an identified list of other conda-related sites as well.
Tasks

[x] Create a document in the team's HackMD space for listing and discussing options. Post a link to that here.  Created.  Link.
[ ] Discuss and decide on a search technology to use.  Post that decision here.

Page to cover search options has now been created in HackMD.  Have at it.

We'll be going with Algolia Search, via Algolia's DocSearch program.


Pass back full response, fixes #190

Bit of header rework in this pull request.  Made sure that the proxy captures the incoming request headers from the client and uses them when making the cURL request.
Next the PHP proxy reads the cURL response and collects all the headers.  These headers are then sent to the client along with the response.
Occasionally folks were seeing the full response was not getting sent, aka a truncated response.  This was b/ the Content-Length property was incorrect.  The proxy now calculates Content-Length and sets the proper Content-Length property.

i think you ended up with some unintended stuff in this Pull Request (ie: line 201 of proxy-verification.php and the overwritten proxy.config).
let me know if you need a hand squashing/rebasing.  the alternative would be to lay down the same changes in a single commit in a new feature branch.

Very, likely john.  I believe the proxy.php file is correct.  If you are using the PHP version would you swap it out for this proxy.php file?  Let's try and connect this week.

@hgonzago  Hi Heather - The proposed fix is in. It's in the proxy.php file.  I will work with John on cleaning up the Git part.

closing in favor of #193


Order on a foreign table

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
Hey guys, I am not an expert around here but hear me out :)
Based on docs here on how to order the query result on a referenced table .
const { data, error } = await supabase
  .from('countries')
  .select(`
    name,
    cities (
      name
    )
  `)
  .order('name', { referencedTable: 'cities', ascending: false })

First issue is that, maybe the docs is outdated but, this options key is called foreignTable in the supabase-js package 2.38.3.
Secondly, when i add foreignTable option to order the foreign table that comes with the query, in Typescript, I am given the columns of the base table of the query (countries in this example) as autocomplete.  Though, I can still use the desired column name as the order value and TS will not yell about it.
Expected behavior
If I want to order the foreign table and add that option key, TS should recognize that so I should be able to use the columns of that table to order. The inferred type is still the columns of the base table.
System information

Version of supabase-js: [2.38.3]

You can workaround for this issue using foreign table reference same as in select method
const { data, error } = await supabase
  .from('countries')
  .select(`
    name,
    cities (
      name
    )
  `)
  .order('cities(name)', { ascending: false })

You can workaround for this issue using foreign table reference same as in select method
const { data, error } = await supabase
  .from('countries')
  .select(`
    name,
    cities (
      name
    )
  `)
  .order('cities(name)', { ascending: false })

When I try this I get the following Postgres error:
{
  code: 'PGRST100',
  details: `unexpected '(' expecting letter, digit, "-", "->>", "->", delimiter (.), "," or end of input`,
  hint: null,
  message: '"failed to parse order (product_category(name).desc)" (line 1, column 17)'
}

This is my specific query:
const {data, error} = await supabase.from("product").select("id, product_category(name)").order("product_category(name)", { ascending: false })

Any idea how to work around this?

This requires PostgREST v11.
To force update remote supabase you need to pause it and restore it.
To update local supabase, update supabase-cli and restart whole supabase using stop and start

Hi, I have been unable to get order with a referencedTable to affect the results of the parent table. In other words, these docs have been untrue for me. Others have hit this too.
I wanted to get clarity on this open issue. Is it related to the functionality of referencedTable, or Typescript typing errors? If it's just typing, should I open a separate issue? Thanks.

Facing the same issue.  Using referenceTable isn't working.
const {data, error} = await supabase
  .from('haikus')
  .select(
    'id, content, created_at, profiles(id, username, avatar_path), likes!inner()'
  )
  .eq('likes.profile_id', userId)
  .order('created_at', { referencedTable: 'likes', ascending: false });

You can workaround for this issue using foreign table reference same as in select method
const { data, error } = await supabase
  .from('countries')
  .select(`
    name,
    cities (
      name
    )
  `)
  .order('cities(name)', { ascending: false })

Tried doing this, but I got an error:
const {data, error} = await supabase
  .from('haikus')
  .select(
    'id, content, created_at, profiles(id, username, avatar_path), likes!inner()'
  )
  .eq('likes.profile_id', userId)
  .order('likes(created_at)', { ascending: false });

{
  code: 'PGRST118';
  details: "'haikus' and 'likes' do not form a many-to-one or one-to-one relationship";
  hint: null;
  message: "A related order on 'likes' is not possible";
}

facing the same issue, referencedTable is not working as how it should be done in the docs
When I tried the workaround of
const { data, error } = await supabase   .from('countries')   .select(
name,
cities (
name
)
)   .order('cities(name)', { ascending: false })
I got the error saying Error: 'app_likes' is not an embedded resource in this request in my case.
something logic like this:
const { data, error } = await supabase   .from('apps')   .select(
name,
app_likes(
*
)
)   .order('app_likes(created_at)', { ascending: false })

I'm facing the same issue, the order from the referencedTable is ignored in Dart:
Does not work:
var laps = await _supabaseClient         .from('lap_times')         .select(             '*, sessions(*)')         .order('end_at_utc', referencedTable: 'sessions', ascending: false)
Workaround works:
var laps = await _supabaseClient         .from('lap_times')         .select(             '*, sessions(*)')         .order('sessions(end_at_utc)', ascending: false)
This cost me 2 hours of debugging, wouldn't have solved this unless I found this Issue because I trusted the documentation was correct. Frustrating to say the least.

Hi, I have been unable to get order with a referencedTable to affect the results of the parent table. In other words, these docs have been untrue for me. Others have hit this too.
FWIW @KajSzy 's workaround is working for me.
I wanted to get clarity on this open issue. Is it related to the functionality of ordering with referencedTable, or Typescript typing errors? If it's just typing, should I open a separate issue? Thanks.

I'd say it's nothing to do with Typescript, relatedTable order is bugged in Dart too.

This is also an issue for me, if i'm doing select('*, member: members(*)) neither .order('members.first_name', { referencedTable: 'members' }) nor .order('member.first_name', { referencedTable: 'members' }) work

I was wondering if there is actually someone from Supabase looking at
this?  I follow a couple other Supabase issues in GitHub as well,  and they
also seem to stay in a limbo for months with no other updates than people
confirming the issue.  Is this to correct place to report issues?
On Tue, 6 Aug 2024 at 18:14, geo @.***> wrote:

This is also an issue for me, if i'm doing select(', member: members())
neither .order('members.first_name', { referencedTable: 'members' }) nor .order('member.first_name',
{ referencedTable: 'members' }) work
I'm falling back to a programmatic sort.
—
Reply to this email directly, view it on GitHub
https://github.com/supabase/supabase-js/issues/971#issuecomment-2271659728,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKID2JRFMFJYDGQOLOKQVBTZQDY4VAVCNFSM6AAAAABI64S2V6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRGY2TSNZSHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I've found another solution to some issues.
I've created table A which reference table B that refernces table B_order where I store in column order an integer defining order of rows from table B I can use referencedTable
supabaseClient
  .from("A")
  .select(
    "*,B(*,B_order(order))"
  )
  .order("B_order(order)", {
    ascending: true,
    referencedTable: "B",
  });

This way I'm getting sorted by order from B_order rows that are nested inside data
{
  "B": [
    {
      "B_order": {
        "order": 0
      }
    },
    {
      "B_order": {
        "order": 1
      }
    },
    {
      "B_order": {
        "order": 2
      }
    }
  ]
}

Having the same issue as the commenters above. The workarounds didn't work for me. It is not clear to me if someone from Supabase is working (or even looking) at this?!
This seems a rather essential feature and should be pushed higher on the to fix list imho!

Nobody from Supabase seems to be working on this at least for now.

This gets a +1 for me. I also ran into this. Thanks for opening the issue.

+1

After hours of debugging, none of the above workarounds worked for me


keyboard navigation tuning - only on focus

Focus styling is still missing, any ideas?

@dyuri Or could we be more strict and only allow keyboard navigation when vizzu-story is full screen?

Sure, but it's strange for me that you are so much against a11y :)
I'll add an attribute, something like keyboard="focus|fullscreen".

keyboard attribute of the player is checked before keyboard navigation

fullscreen - keyboard navigation is available only in fullscreen mode
focus - keyboard navigation is available if the player is in focus
anything else (i.e. no) - no keyboard navigation


Error occurred when executing WD14Tagger|pysssss:

D:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:636 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.

I also get this. CUDA works fine everywhere else.

I have the same error with exactly the same path location. I do have a D: drive but no folders with those names on there.

I have the same error with exactly the same path location also.

用我这个方法，可以解决问题：
Your inference package version 0.9.13 is out of date! Please upgrade to      init.py:35
version 0.9.22 of inference for the latest features and bug fixes by running
pip install --upgrade inference.
您的推理包版本0.9.13已过期！请升级到__init__.py:35
0.9.22版本的推断最新特性和错误修复，通过运行
"pip安装--升级推理"

pip install --upgrade inference

not working

I have the same problem.
I made sure that onnxruntime is running and that I have installed the CUDA version and the cudnn version needed for onnxruntime.
ONNX Runtime | CUDA | cuDNN | Notes
1.17 | 12.2 | <IP_ADDRESS>

I have the same question, pip install --upgrade inference didn't work. please help me.

Same problem, I can't find a solution

Here is how I fix this:
go to ComfyUI\custom_nodes\ComfyUI-WD14-Tagger folder, open terminal
run in terminal:
../../../python_embeded/python.exe -s -m pip uninstall onnxruntime, type y
../../../python_embeded/python.exe -s -m pip uninstall onnxruntime-gpu, type y
run comfy
go to Manager - Install missing custom nodes - click 'Try to fix it' button
Restart

我的英语不好，直接给你们我参考的俩个文章：
第一个https://www.bilibili.com/read/cv30767082/
第二个：https://blog.csdn.net/u010554324/article/details/137160182
我是用了第二个方法，然后控制台提示我：Your inference package version 0.9.13 is out of date! Please upgrade to init.py:35 version 0.9.22 of inference for the latest features and bug fixes by running pip install --upgrade inference
我运行之后，安装了一堆东西。要我然后又把wd14tagger.py里的参数又改回来，他就不报错了。

Solved the problem with https://www.bilibili.com/read/cv30767082/, thanks!

https://www.bilibili.com/read/cv30767082/
我用了这个，真的有用，如果中间安装报错，搜一下百度，立马解决

our lovely author seemed don't very like this issue? didnt see you here.  hope our author could made an official modification.

Here is how I fix this: go to ComfyUI\custom_nodes\ComfyUI-WD14-Tagger folder, open terminal run in terminal: ../../../python_embeded/python.exe -s -m pip uninstall onnxruntime, type y ../../../python_embeded/python.exe -s -m pip uninstall onnxruntime-gpu, type y run comfy go to Manager - Install missing custom nodes - click 'Try to fix it' button Restart

thanks, solved in my case.

I uninstall onnxruntime and onnxruntime-gpu, i found onnxruntime is 1.19.0, onnxruntime-gpu is 1.15.0   then I reinstall them two of them on the same version, problem solved,


#134 - Multiple ShareService support.

Supports multiple ShareService implementations. If none accept, then the default ASC email based ShareService is used.
Note that MULTIPLE share services can be invoked via a single share operation.

@davidjgonzalez ,
One suggestion. Can we also move the constants PN_SIGNATURE and PN_USE_SHARER_NAME_AS_SIGNATURE from EmailShareImpl.java to EmailShare.java and update EmailShareServiceImpl.java to use these constants from interface ? If any custom implementation have to use these constants, impl classes will not get resolved and constants cannot be reused.
CC: @kaushalmall

Good idea. Will move when I fix codeclimate


The author is insane

The author is doing something insane. The author is requested to stop.


BROKERS: Lab Workflow Broker Post

@geetika-jain make sure LabCommand is WorkflowCommand and make sure it has WorkflowId in it.


Fix CaptureResultTest

I checked to see if the Json conversion test was working correctly to tackle Issue #236 and found that it was not working correctly.

Thanks. I didn't notice we broke the roborazzi-core tests. I added a test workflow to address this. 👀


can not run

git clone https://github.com/moove-it/react-native-template.git
cd react-native-template
npm install
cd ios
pod install --repo-update

Auto-linking React Native modules for target `RNTemplate`: RNBootSplash, RNCMaskedView, RNGestureHandler, RNReanimated, RNScreens, ReactNativeLocalization, react-native-config, react-native-mmkv-storage, and react-native-safe-area-context

[!] Invalid `Podfile` file: unknown keyword: "Flipper".

 #  from /Users/aracoix/ReactNativeProject/react-native-template/ios/Podfile:27
 #  -------------------------------------------
 #    if !ENV['CI']
 >      use_flipper!('Flipper' => '0.87.0')
 #    end
 #  -------------------------------------------

cd ..
npm run android

BUILD FAILED in 4s

    at makeError (/Users/aracoix/ReactNativeProject/react-native-template/node_modules/@react-native-community/cli-platform-android/node_modules/execa/index.js:174:9)
    at /Users/aracoix/ReactNativeProject/react-native-template/node_modules/@react-native-community/cli-platform-android/node_modules/execa/index.js:278:16
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async runOnAllDevices (/Users/aracoix/ReactNativeProject/react-native-template/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:5)
    at async Command.handleAction (/Users/aracoix/ReactNativeProject/react-native-template/node_modules/@react-native-community/cli/build/index.js:186:9)

node -v
v16.6.1
npm -v
8.1.0
pod --version
1.10.2
yarn -v
1.22.11
which node
/Users/aracoix/.nvm/versions/node/v16.6.1/bin/node
which npm
/Users/aracoix/.nvm/versions/node/v16.6.1/bin/npm
pc MacBook Pro (13-inch, M1, 2020)

Closing as it seems to be a development environment issue. Feel free to reach us if have further questions :)


feat: cluster and quorum can have distinct passwords

Enhancement: cluster and quorum can have distinct passwords
Reason: The same quorum hosts can be joined to multiple, separate clusters. Since the passwords of the "hacluster" user on these clusters might be different, it makes sense to configure them separately.
Result: I separated pcs auth for the cluster and qdevice. I also introduced an new var ha_cluster_hacluster_qdevice_password, which is used for qdevice auth. If the new var is not set, qdevice auth will fall back to use ha_cluster_hacluster_password like rest of the cluster. This should make the change fully backwards compatible.
Issue Tracker Tickets (Jira or BZ if any): none

[citest]

[citest]


Investigate commandlets in the client

We should investigate whether any of these commandlets do anything interesting:

The virtual int32_t Main(FString* args) implementations seem to be stripped from the client, so nothing interesting to find here.


Added ability to use non well known property types in style selector

This change allows to use a value of any type in a style selector expression if it's convertible to the target type. The target type is inferred from the actual value if the property type is object. Otherwise, the property type is used.
The feature fixes an issue when the expected property value is set in XAML and which is a string, so comparison with an actual value gives false and leads to writing a workaround in code.
The behavior is the same as in WPF inside bindings except that it doesn't catch errors.

I think we should parse enums and other values at compile type rather then attempting a runtime conversion. The property type is already known to compiler, so it can just reuse the existing parsing infrastructure.

Would it cover the case when some value is binded to the Tag property (or any other accepting object) and the property is used in a style selector?

It will not, but run-time parsing is a really bad idea performance-wise.
We should probably extend the syntax to allow specifying the type in selector itself, e. g. Button[Tag=(local:SomeEnum)Foo].
@grokys

A converted value may be cached which solves the perf problem and will cause an overhead only first time. Is it better?

Cache can solve the problem but e. g. Tag values can have have hundreds of different types across the app. The selector matcher will have to keep a dictionary for all of them. Trying to convert to all of those also involves a performance penalty: converter might do some expensive operations (e. g. if some Tag was holding an image, converter will attempt to load one using the string specified in selector) or throw format exceptions.
Also, keeping the value as a string will move errors from compile-time to the run-time, so invalid value will be simply ignored and selector not applied.

I meant a field stored in the same instance as the original value.

Trying to convert to all of those also involves a performance penalty: converter might do some expensive operations (e. g. if some Tag was holding an image, converter will attempt to load one using the string specified in selector) or throw format exceptions.

In such cases I would say it's user's responsibility how to use the tool: to benefit from it using the feature reasonably or shoot their head with legs at once which can be easily done even without that change.

Also, keeping the value as a string will move errors from compile-time to the run-time, so invalid value will be simply ignored and selector not applied.

Am all for compile time type checking and conversion if possible, but let's be honest. Not everything can be done by the compiler and for that cases there's an option to disable strongly typed binding generation. Therefore, the change can be used as a fallback.

for that cases there's an option to disable strongly typed binding generation

Selectors are always parsed by compiler. What exactly is wrong with specifying the type explicitly? It's not needed for properties when type is already known.

If it's always the case, I see no reason to keep this PR. Just need the confirmation from @grokys since @MarchingCube had different opinion when we discussed this privately.

Perhaps I misunderstood the problem, I think it would make sense to come up with a parsing type hint so we could handle this at compile time.

Would it not be a good idea to get this feature in with runtime parsing and then improve it to parse at compile time in a later PR?

If you think so, I will reopen the PR and finish it. Are you okay with changes?

I think so, yeah. Might be nice to have a few more unit tests for more types?

Would it not be a good idea to get this feature in with runtime parsing and then improve it to parse at compile time in a later PR?

As long as the type is explicitly specified or derived from the property type. No ad-hoc conversion attempts.

@grokys, I added more tests. Could you take another look?

@kekekeks, the thing you proposed might be useful in case of command parameters to write values. Right now, it takes a few lines to specify a value if there's no standard one (i.e. stored in a static field or property).

@grokys, is there something else to address?


Remove JetBrains.IntelliJIDEA.Edu 2022.2.2 to JetBrains.IntelliJIDEA.Educational 2022.2.2

Microsoft Reviewers: Open in CodeFlow

URL: https://download-cdn.jetbrains.com/idea/ideaIE-2022.2.2.exe
Status Code: 200
(Automated message - build 869)

Hi @SpecterShell,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 869.)


Razor CompilationFailedExceptions contain design-time-missing content and incorrect line/column information

For instance:  I have an exception that fails with:
Additional information: C:\GIT\DataPoint\Source\DataPoint.Web\shell\default_shelllayout.cshtml(28,36): error CS0115: 'ASPV__shell_default__shelllayout_cshtml.ExecuteAsync()': no suitable method found to override
... but opening that file up with a text editor, I see that line # 28 looks like:
        </div>

... and furthermore, I don't have any calls to ExecuteAsync()  in the markup.  There are assorted calls to RenderSectionAsync that this is probably related to, but the end user shouldn't have to guess about this.
** Update:

I noted that the markup causing the issue is contained in CompiledContent property of the exception.  The exception text still directs me to the original, not compiled file, but at least the needed data is already there.

@MattGal razor compilation is an MVC feature, not a razor feature :)

https://github.com/aspnet/Mvc/issues/1968


[Bug] Can't connect to rxresu.me with GitHub

Is there an existing issue for this?

[X] Yes, I have searched the existing issues and none of them match my problem.

Product Variant
Cloud (https://rxresu.me)
Current Behavior
I can't connect to the rxresu.me website with my GitHub account. So I can't access my CV or anything else.
Here is the error code: {“message”: “UserAlreadyExists”, “error”: “Bad Request”, “statusCode”:400}

Expected Behavior
Log in and access my CV.
Steps To Reproduce

Go to https://rxresu.me/
Click on Start
Click on Continue with GitHub
See error

What browsers are you seeing the problem on?
Chrome
What template are you using?
None
Anything else?
No response

Hi there
This issue is also apparent on Firefox based browsers along with chromium based browsers as per my testing on 4 different browsers.

Hi there,
This issue also persists on mac with the previously mentioned browsers.
The issue does not persist in the safari browser.

Hi there,
This issue also persists on mac with the previously mentioned browsers.
The issue does not persist in the safari browser.

I have the same issue...


Option for Dilated Expansion of Nuclear Segmentation

Hello,
I am interested in using Cellpose2 to segment brain tumor cells, in which case a nuclear dilation approach is most effective for dealing with tightly packed cells which do not contain a membrane marker. In this case, I'm wondering if Cellpose2 has the option to impose a specified pixel dilation around the nuclei mask in order to capture some of the cytoplasm for each cell despite there not being a specific membrane marker, similar to the options from the Mesmer package which directly enables this?
Do you have any suggestions on how to apply Cellpose2 to perform segmentation of this type of tissue using a nuclear dilation approach?
Thanks,
Jonathan

No, cellpose does not implement this. There are many options available in opencv and scikitlearn via python libraries. You can look for further help in the image.sc forum


Setup ENS for token contract

Origin.js should get the token contract address through ENS, to allow even older Origin.js versions to access the current token contract.

Right now the token address is baked into the Marketplace contract and there is no way to update it. Perhaps we can add an updateToken method, then use the marketplace contract as the source of the active token address?

@nick I like that idea. Would the new updateToken function be protected by onlyOwner from OpenZeppelin's Ownable contract?

Yep, that'd work. I'm not sure the marketplace needs all the features of Ownable though - we could just have a variable owner that is set to msg.sender in the constructor and checked in updateToken, perhaps?


Following a player doesn't work

Open the web map while connected the map's server via Minecraft
Click on the players tab and select yourself.
Move around on the server.

After step 2, nothing happens except the player UI element you just clicked on changing color. I'd expect the map to focus on the player, but it doesn't scroll or move in any way.
During step 3, nothing happens either. I'd expect the map to scroll so the player stays in the middle of the screen, or at least so that the player can't move entirely offscreen.
The browser dev console shows no errors aside from the ones I mentioned in #153. This test was performed with build 423.

Fixed in build 425 \o/


[5.2] Bootstrap 4 Pagination Presenters

these are new pagination presenters for the Bootstrap 4 framework. they are duplicates of the BS3 presenters with updated classes and tags.
i am not exactly sure what needs to be done to get these wired into the FW, and make them an option for end users. I will need some help with that.  but I wanted to get these on here to start.
it seems, too, that this may not be a good long term strategy, as it is very coupled to BS, and does not allow for users to customize their paginators easily.  hopefully we can discuss better ways to handle this.
off the top of my head, a new config/pagination.php file could be created where users define the layout for their ‘available’, ‘disabled’, and ‘active’ page wrappers.
Thanks.

Merging this for now and we can talk about how to make the configuration easier (which I agree needs to be done) in another PR.


Allow overriding of all component style variables

Bug, feature request, or proposal:
Feature
What is the expected behavior?
Ability to override other variables within the components, e.g. toolbar height, list item height, etc.
What is the current behavior?
We are able to override colors
What is the use-case or motivation for changing an existing behavior?
We could customize the components to our needs.

@gelidus You should be able to override these variables already if your ViewEncapsulation is turned off.  Can you add plunker repro case?

@gelidus Are you talking about sass variables? If so, there is not a good distribution mechanism for supporting this as any kind of public API short of you pulling in the scss sources and compiling all the css output yourself.

Alright @jelbourn , thanks


bundle with src?

Is there anyway to bundle this with the src dir? debugging problems hits a brick wall when I land in here

Hey @brianorwhatever im unsure what you mean by this, what environment are you trying to debug in?

Sorry, I managed to debug my issues no problem.. not sure why I was having troubles last night.
Found I had 2 problems with my code:

credentialSubject didn't have an "id" value so was being dropped from the json-ld frame
vc issuance was adding the wrong key id to the proof verificationMethod

Closing this issue now, thanks for the quick reply!

credentialSubject didn't have an "id" value so was being dropped from the json-ld frame

Yeah this is a common problem our team has had to deal with as well. I'm not really sure how to share these types of learnings more broadly. Any suggestions would be welcomed.

so @kdenhartog just to make sure I have this straight. Reading from this thread https://github.com/w3c-ccg/ldp-bbs2020/issues/45

if the VC has an id it MUST be revealed
the credentialSubject MUST have an id and be revealed

We are signing the compact form of the document, is that correct?

nevermind, just read the spec - rdf normalized of course

credentialSubject didn't have an "id" value so was being dropped from the json-ld frame

Could you elaborate on this one? I've had some trouble with credentialSubject values being dropped if I didn't specify a type in some cases. Is it related to this?


Update integration test to test creation of impression and duration measurements.

This change is

src/main/kotlin/org/wfanet/measurement/loadtest/frontend/FrontendSimulatorRunner.kt, line 88 at r3 (raw file):
Previously, SanjayVas (Sanjay Vasandani) wrote…
Just a thought: do we maybe want to run these in parallel? This would mean kicking them off with launch and then using joinAll on the returned jobs.

Running in parallel actually exposed some bugs I had to fix to not break the local kind test because of the order change.

src/main/kotlin/org/wfanet/measurement/kingdom/deploy/gcloud/spanner/queries/StreamMeasurements.kt, line 51 at r5 (raw file):
Previously, SanjayVas (Sanjay Vasandani) wrote…
This wasn't quite what I had suggested. The reason I mentioned filtering based on computation participant ID (i.e. Duchy ID) is that it inherently will exclude direct measurements, while also having the nice property that the system API isn't giving the Duchy measurements it actually shouldn't have access to.
Since it requires more changes, feel free to put a TODO here to filter by computation participant ID instead.

Switched to duchy id filtering.


New Feature: Field Type Templates

Let's imagine a complex form component such as a map that lets you select a location stored as a { lat, lng } pair. Currently we can do input: Map which activates the correct form input component.
But the component won't be functional unless we also specify the correct type (a SimpleSchema object with lat and lng subfields), GraphQL type (including input types), and maybe even validation (lat and lng have to be floats contained between x and y).
Currently all this has to be done manually, but we could automate it via a pattern I'm calling "field type templates" until I find a better name (field factories? field models?):
{
  location: makeMap('location', fieldSchema, options)
}

The makeMap template function would take a field name, field schema, and some options, and return a new schema that includes all the elements mentioned above. That field schema is then included in the collection schema as before.
Here's a real-world example for a future Likert Scale component:
import { addGraphQLSchema } from 'meteor/vulcan:core';
import SimpleSchema from 'simpl-schema';

export const makeLikert = (fieldName, field) => {
  // get typeName from fieldName unless it's already specified in field object
  const { typeName = `${fieldName}Type` } = field;

  if (!field.options) {
    throw new Error(`Likert fields need an 'options' property`);
  }

  // build SimpleSchema type object for validation
  const typeObject = {};
  field.options.forEach(({ value }) => {
    typeObject[value] = {
      type: SimpleSchema.Integer,
    };
  });

  // create GraphQL types for main type, create input type, and update input type
  addGraphQLSchema(`type ${typeName} {
  ${field.options.map(({ value }) => `${value}: Int`).join('\n  ')}
}

input Create${typeName}DataInput {
  ${field.options.map(({ value }) => `${value}: Int`).join('\n  ')}
}

input Update${typeName}DataInput {
  ${field.options.map(({ value }) => `${value}: Int`).join('\n  ')}
}
  `);

  // add additional field object properties
  const likertField = {
    ...field,
    type: new SimpleSchema(typeObject),
    input: 'likert',
    typeName,
  };

  return likertField;
};

Maybe "decorator" would be a better name than "template"?


Default theme: use the default sans-serif font, not Source Sans Pro

A colleague complained that regular text in Source Sans Pro looks quite heavy on a Mac, and is hard to distinguish from bold text.
This is a subtle problem, and depends a lot on the font rendering system and the display device. However, we can assume that the OS default font has been picked to be the most legible, and it removes an external dependency.

Done in 238f266ca6cdfbc2cac3304075f5967310023a8b


Absurdly high memory usage when exporting to ONNX? (V0.2.0)

I've noticed a HUGE spike in memory usage when exporting a new model in V0.2.0. The usage goes from 6gb vram, all the way up to the full 24gb of my 3090, and then it overflows to ram with 14-16gb.
The overflow to ram might also cause the Exporting to ONNX failed, although someone would need to approve this.
Some additional info: The export was done using static shapes,
batch size 4,
512 width, 768 height,
token count 75.

Was trying to investigate another issue with the token count, but this locked me out.
Driver version: 551.23
This can't be right.

I think this might've been a pytorch issue (namely https://github.com/pytorch/pytorch/commit/b4a49124c8165a374a3ef49e14807ac05b3fc030) but I don't have the know-how to confirm it. Regardless, updating to the 1.8.0 release candidate of the webui (which uses a newer version of pytorch) seems to have fixed it for me and it now peaks around 11GB vram usage when converting an SDXL model.
When recreating the venv for 1.8.0, I had to run pip install importlib-metadata in the venv and also follow https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT/issues/204#issuecomment-1879870974.
GPU: RTX 4060ti 16GB
Driver: 545.29.06
OS: Linux Mint 21.3 (kernel 6.5.0-18 generic)
Webui commit: eaf5e02

unless I'm misunderstanding, pytorch/pytorch@b4a4912 seems to be included as far back as pytorch v2.1.0rc1, so I doubt this is the cause.

FWIW, I'm not saying this is not a problem, just that's unlikely to be the cause of it. I've noted that XL models seem to not undergo the same issue as vram usage/ram spillover is much more contained.

I found a solution, First generate trt using the first present 256x256 - 512x512 | Batch Size 1-4. Then generate using other presets.
Without generating from the first preset it gives polygraphy.exception.exception.PolygraphyException: Failed to parse ONNX model. Does the model file exist and contain a valid ONNX model?
Strange, but worked for me


Multisig. Cross-chain fee calculates wrong on Operations page

Description
Polkadot Asset Hub -> Mythos XCM shows cross-chain fee in DOT and shows 0 from Operations page, when approve multisig.

Environment
https://github.com/novasamatech/nova-spektr/commit/261ea0fb3861522933e5b3f05330309a7775f339

Status verification: ❌
What has been verified:

Approve confirm page

Wrong transfer amount
Cross-chain fee

Reproduced the same:

test data:
wallets.json
accounts.json
multisigTransactions.json

Status verification: ✅


Warnings with ruby 2.5.0

I upgraded to Ruby 2.5.0 and now I have a bunch of warnings from cequel:
.rvm/gems/ruby-2.5.0@thrillpixx_cassandra/gems/cequel-3.0.2/lib/cequel/record/data_set_builder.rb:72: warning: Cequel::Record::DataSetBuilder#scoped_key_names at .rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/forwardable.rb:157 forwarding to private method Cequel::Record::RecordSet#scoped_key_names .rvm/gems/ruby-2.5.0@thrillpixx_cassandra/gems/cequel-3.0.2/lib/cequel/record/data_set_builder.rb:72: warning: Cequel::Record::DataSetBuilder#scoped_key_values at .rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/forwardable.rb:157 forwarding to private method Cequel::Record::RecordSet#scoped_key_values .rvm/gems/ruby-2.5.0@thrillpixx_cassandra/gems/cequel-3.0.2/lib/cequel/record/data_set_builder.rb:75: warning: Cequel::Record::DataSetBuilder#scoped_indexed_column at .rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/forwardable.rb:157 forwarding to private method Cequel::Record::RecordSet#scoped_indexed_column
Didn't put all of them, there are too many.
Should I panic? ;-)

This is a duplicate of https://github.com/cequel/cequel/pull/378 which from the looks of it won't be merged any time soon.
We solved this by adding the following to config/environments/production.rb:
$VERBOSE = nil


How would I use onDuplicateKeyUpdate on bulk insert

As the title states, I would I go about handling duplicate conflicts when bulk inserting?

At least older MySQL versions support the non-standard values function as a way to reference the insert values. So something like this: https://kyse.link/?p=s&i=h1zfDQygOSOoWmyTUmzL


Added tests for Java & blas/lapack

Java code requires input to be provided for each functions. First input is for count_to_one(Sum of 1/N). Second input is for complext_function(Having higher degree terms in the function). Third input is for complext_function_2(Real output should be 6.* but it converges to ~100).
Single run of the code will run all the three test cases.

Awesome, thanks!!!


Set Timer Using Python GUI

Run the main file to get a timer.
You can schedule your work time, break time and interval by this python GUI project.

⚠ Welcome to PR waiting room
Thank you for your contribution! However, this pull request does not meet the required structure or rules. Please address the following issues:

Files are not within a single directory in the root.

Next Steps:

Review the issues listed above.
Make the necessary changes to your pull request.
Push your changes to update the pull request.

Once the issues are resolved, we'll review your pull request again. If you have any questions, please don't hesitate to ask.
Thank you for your understanding and cooperation!


When At.js is used with CKEditor the suggestion list position goes wrong when srcollpane appears.

The same occurs with Tinymce too

Solution :
config.extraPlugins = 'autogrow';
config.autoGrow_minHeight = 200;
config.autoGrow_maxHeight = 600;
config.autoGrow_bottomSpace = 50;
link : http://sdk.ckeditor.com/samples/autogrow.html


Menu: Improve docs & Refactor code

Description

preparation for #10255
docs are easier to understand
no breaking changes
How Has This Been Tested?

unit
Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[ ] I've added relevant tests.

Merging in a few minutes to save reviewer time on basic changes and so i can immediately start a new branch. There are no behavioral changes. Please lmk if you disagree with this decision @ScarletKuro !


Docs should talk more about network requirements?

In trying to setup flynn on a digitalocean box running ubuntu 14.04, I ran into some trouble using ufw and flynn in tandem.
ufw is a fairly common technology on ubuntu for managing firewalls, and I think a lot of more junior systems people (like me!) would appreciate better documentation.
I had trouble getting flynn to bootstrap until I opened port 1111, ran sudo ufw allow in on flynnbr0, and did this: https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/573461/comments/3
I'm not sure exactly which incantation fixed the problem, but it would be awesome if the docs could link to an FAQ about the full network requirements.
Thanks so much for what you're doing!

@phildini any chance you can share your complete ufw settings? i'm still having problem w postgres connection after the edits you mentioned
12:45:24.851568 wait postgres-wait
12:47:25.072044 wait postgres-wait error: bootstrap: timed out waiting for http://postgres-api.discoverd/ping, last response "Get http://postgres-api.discoverd/ping: dial tcp: lookup postgres-api.discoverd: no such host"

+1 for this

@tyler274 this did the trick for me:
https://docs.docker.com/installation/ubuntulinux/#enable-ufw-forwarding

+1 for this. Really need some more detailed information on how to setup firewalls as it really not clear how to set internal communication between nodes

Maybe this helps a bit:
https://philiplb.de/flynn/2016/04/19/flynn-ufw/

@philiplb Thanks for that, so is that needed in addition to the firewall I can configure on my cloud hosting

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Add Type.Data.Ordering; Reexport Data.Symbols, Type.Equality

(Note: this obviously this won't compile yet: https://github.com/purescript/purescript/pull/2486)

I'll merge this and add a comment on the README, explaining the status of the library.


opentok not working for Android phonegap application

Hi Team..
We are using the opentok phonegap plugin for our phonegap application.We are also using paypal phonegap plugin.
with these both plugins, app works fine in iOS but not in Android.

We created a fresh phonegap project and had added the opentok plugin...
Then we see the app working with video in Android.
We added paypal plugin.
The app stopped working.. we dont see any video on Android.
We removed paypal plugin and tested, then also the app is not working.. we dont get any video..
Similarly we have added paypal plugin first and we can see paypal screen coming up for payment.
We then added opentok plugin.
Then both are not working.

May we Please know the possible reasons for this behaviour. And also can you please provide the correct plugin link for opentok to install.
Please let me know the details...

I haven't run into this issue before. I would bring the issue up with OpenTok Support at support.tokbox.com.


When will version 0.3.0 be released?

When will version 0.3.0 be released or can you release a 0.2.3 version?

Hi, thanks for reminding me, for some reason I thought I've already released all latest changes.
0.3.0 should be on hex.pm now

Thanks!


Provide deprecated create_node_ref

This PR provides a deprecated create_node_ref function as a part of #2771.

Thanks!


feat : Add a Testimonials and about page for better User Traffic and Interaction

Description:
To enhance user engagement and build trust with customers on the Ratna Supermarket e-commerce app, we need to add two key sections: Testimonials and an About Page. These sections will provide visitors with valuable insights about the platform and encourage better interaction, leading to improved traffic and conversion rates.
Requirements:

About Page:

Provide a comprehensive introduction to Ratna Supermarket, including the mission, vision, values, and history.
Feature key milestones or highlights (e.g., years in business, unique offerings).
Include relevant visuals (e.g., team photos, behind-the-scenes images).
Make the page SEO-friendly to improve search rankings.

Testimonials Section:

Create a section where customer reviews and feedback can be displayed.
Design a layout that is visually appealing and easy to read.
Allow for adding new testimonials dynamically via the admin panel.
Ensure testimonials are real, authentic, and relevant to customer experiences.
Include customer names, ratings, and photos if available.

Expected Outcome:
The addition of these pages will increase user trust and provide more information to potential customers, leading to better interaction, higher engagement, and increased user traffic. The Testimonials page will show the credibility of Ratna Supermarket through positive customer feedback, while the About page will foster a stronger connection between the brand and its users.

@MinavKaria  Pls assign me this


Container config recon

these changes cover the transition from using a container config that hangs off the cluster level to one that hangs off of the nodePool level.  This configuration move challenges how we approach container level configurations in a rather fundamental way.  This should be obvious because I think this PR touches everything in our codebase.
This approach challenge means that we need to start off by iterating over a list of clusters and passing a list of nodePools down.  it also means that we can no longer attempt to access a global etcd or master configuration because in a single config file there may be several sets of both that have no relation to each other.
Anyway, here's wonderwall.

This resolves #272

LGTM