UnhandledRejection: Cannot read property 'range' of undefined

Karma version 5.2.3
Node version 14.15.2
After running the tests Chrome exits and I get the following error:
ERROR [karma-server]: UnhandledRejection: Cannot read property 'range' of undefined
ERROR [karma-server]: TypeError: Cannot read property 'range' of undefined

I suspect this to be related to #3571, node version 14.15.1 works correctly.
Please let me know if I need to provide more information.

I don't think this issue is in Karma core. From #3571 it looks like the issue is in the @angular-devkit\build-angular plugin. I've tested with fresh @angular/cli@11 project and issue is not reproducible. Please consider below options:

stick with older Node version
upgrade to latest Angular
report bug to Angular CLI repository with minimal reproduction if you're also using Angular 9 as in #3571. Angular 9 is an LTS release, so they may issue a fix.
debug this issue further and figure out if this is a Node regression, then it should be reported to Node itself

In any case, there is nothing we can do on the Karma core to fix issue in the third-party plugin as we don't develop this plugin.
Happy to re-open if you provide a minimal reproduction showing that this issue is caused by the Karma core.

FWIW I tested locally against 14.15.1 and 14.15.2 so any issue between these versions isn't visible to our tests.

Unfortunately I have the same issue in my test project. Tests work on NodeJS 14.15.1, but fails on 14.15.2 with exception:
UnhandledRejection: Cannot read property 'range' of undefined

@tbprojects Open up karma/lib/server.js and find
this.log.error(`UnhandledRejection: ${error.message || String(error)}`)

Add a line above:
console.error("UnhandledRejection", error.stack || "bah!")

The message should include the stack and that will help us.

@tbprojects Thanks! I'm able to reproduce it using your repository. For some reason it does not reproduce in my freshly-generated Angular CLI 11 project. I'll check what is different tomorrow and post back.

@tbprojects Open up karma/lib/server.js and find
this.log.error(`UnhandledRejection: ${error.message || String(error)}`)

Add a line above:
console.error("UnhandledRejection", error.stack || "bah!")

The message should include the stack and that will help us.

UnhandledRejection TypeError: Cannot read property 'range' of undefined
    at handleRangeHeaders (/node_modules/webpack-dev-middleware/lib/util.js:131:21)
    at processRequest (/node_modules/webpack-dev-middleware/lib/middleware.js:98:19)
    at ready (/node_modules/webpack-dev-middleware/lib/util.js:53:12)
    at handleRequest (/node_modules/webpack-dev-middleware/lib/util.js:182:5)
    at /node_modules/webpack-dev-middleware/lib/middleware.js:64:7
    at new Promise (<anonymous>)
    at middleware (/node_modules/webpack-dev-middleware/lib/middleware.js:63:12)
    at /node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/karma.js:270:13
    at call (/node_modules/connect/index.js:239:7)
    at next (/node_modules/connect/index.js:183:5)
    at /node_modules/karma/lib/web-server.js:24:9
    at call (/node_modules/connect/index.js:239:7)
    at next (/node_modules/connect/index.js:183:5)
    at nullProxy (/node_modules/karma/lib/middleware/proxy.js:86:52)
    at call (/node_modules/connect/index.js:239:7)
    at next (/node_modules/connect/index.js:183:5)

Likely caused by https://github.com/nodejs/node/issues/36550

Thanks for the link @wvankuipers. It is indeed a change in behaviour in Node, which lead to a crash of Angular CLI (because of this line).
It looks like Node is going to revert this change in LTS line. So below is the information for people experiencing this issue:

Avoid affected Node version 14.15.2 and 15.x as it is unsupported by both Karma and Angular CLI.
I'll report this bug to Angular CLI and post issue number back here, so they can fix it in the future release.

@johnjbarton I think we should keep this pinned until fix is released in next Node version, so people can easily find it and don't open new issues about the same problem.

Ok thanks. Did not know this pinned thing ;-)

i also check with Angular CLI @11.x and node v14.15.2 test case run there is no issue in it
who want to use node v14.15.2 for angular please update your angular version
-use command ng update

v 14.15.3 is released https://nodejs.org/en/download/

still happening on v14.15.3

still happening on v14.15.3

@rattkin I can't reproduce on Node 14.15.3 using test project from https://github.com/karma-runner/karma/issues/3588#issuecomment-747094441. Please double check that you use the mentioned Node version and provide the minimal project producing the error if you still believe that this is a bug.

@rattkin I can't reproduce on Node 14.15.3 using test project from https://github.com/karma-runner/karma/issues/3588#issuecomment-747094441. Please double check that you use the mentioned Node version and provide the minimal project producing the error if you still believe that this is a bug.

@devoto13 I upgraded Triton to latest and it is fixed now. Sorry for mistake, the environment that had the problem was not on 14.15.3.
solved.

@devoto13 I upgraded Triton to latest and it is fixed now. Sorry for mistake, the environment that had the problem was not on 14.15.3.
solved.

Same issue appeared again starting from node v15.0.0

@TeaTimeForever Make sure you use the Angular CLI version, where the fix is included.

downgrading from node v15 to v14.16.0 helped, tests are working now

"UnhandledRejection" because Karma Runner is not compatible with Node Version 15. You have to downgrade your node version below or equal to 14.
Karma Runner Open Issue - https://github.com/karma-runner/karma/issues/3571


Empty report

Running against a 6.12.0 cluster
No errors in this log but report shows up empty.
Enter a name for the As Built Report configuration file [AsBuiltReport]: Enter the path to save the As Built Report configuration file [C:\Users\Luke.McCormick\AsBuiltReport]: VERBOSE: Saving As Built Report configuration file 'AsBuiltReport.json' to path 'C:\Users\Luke.McCormick\AsBuiltReport'. VERBOSE: Config.Report.Author = Luke.McCormick VERBOSE: Config.UserFolder.Path = C:\Users\Luke.McCormick\AsBuiltReport VERBOSE: Config.Company.FullName = VERBOSE: Config.Company.Contact = VERBOSE: Config.Company.Phone = VERBOSE: Config.Company.Email = VERBOSE: Config.Company.ShortName = VERBOSE: Config.Company.Address = VERBOSE: Config.Email.Port = VERBOSE: Config.Email.Credentials = VERBOSE: Config.Email.Server = VERBOSE: Config.Email.To = VERBOSE: Config.Email.From = VERBOSE: Config.Email.UseSSL = VERBOSE: Config.Email.Body = VERBOSE: Populating RepositorySourceLocation property for module AsBuiltReport.Aruba.ClearPass. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\AsBuiltReport.Aruba.ClearPass\0.1.1\AsBuiltReport.Aruba.ClearPass.psm1'. VERBOSE: Loading report configuration file from path 'C:\Program Files\WindowsPowerShell\Modules\AsBuiltReport.Aruba.ClearPass\0.1.1\AsBuiltReport.Aruba.ClearPass.json'. VERBOSE: Setting report filename to 'Aruba ClearPass As Built Report - 2024-02-01_13.20.04'. VERBOSE: [ 13:20:04:770 ] [ Document ] - Document 'Aruba ClearPass As Built Report - 2024-02-01_13.20.04' processing started. VERBOSE: [ 13:20:04:937 ] [ Document ] - Executing report style script from path 'C:\Program Files\WindowsPowerShell\Modules\AsBuiltReport.Aruba.ClearPass\0.1.1\AsBuiltReport.Aruba.ClearPass.Style.ps1'. VERBOSE: [ 13:20:04:952 ] [ Document ] - Setting global document options. VERBOSE: [ 13:20:04:968 ] [ Document ] - Enabling section/heading numbering. VERBOSE: [ 13:20:04:968 ] [ Document ] - Setting default font(s) to 'Arial'. VERBOSE: [ 13:20:04:968 ] [ Document ] - Setting page top margin to '25.05'mm. VERBOSE: [ 13:20:04:968 ] [ Document ] - Setting page right margin to '25.05'mm. VERBOSE: [ 13:20:04:968 ] [ Document ] - Setting page bottom margin to '25.05'mm. VERBOSE: [ 13:20:04:968 ] [ Document ] - Setting page left margin to '25.05'mm. VERBOSE: [ 13:20:04:968 ] [ Document ] - Setting page size to 'A4'. VERBOSE: [ 13:20:04:984 ] [ Document ] - Setting page orientation to 'Portrait'. VERBOSE: [ 13:20:04:984 ] [ Document ] - Setting page height to '297'mm. VERBOSE: [ 13:20:04:984 ] [ Document ] - Setting page width to '210'mm. VERBOSE: [ 13:20:04:984 ] [ Document ] - Setting document style 'Title'. VERBOSE: [ 13:20:04:984 ] [ Document ] - Setting document style 'Title2'. VERBOSE: [ 13:20:04:984 ] [ Document ] - Setting document style 'Title3'. VERBOSE: [ 13:20:04:999 ] [ Document ] - Setting document style 'Heading1'. VERBOSE: [ 13:20:04:999 ] [ Document ] - Setting document style 'Heading2'. VERBOSE: [ 13:20:04:999 ] [ Document ] - Setting document style 'Heading3'. VERBOSE: [ 13:20:04:999 ] [ Document ] - Setting document style 'Heading4'. VERBOSE: [ 13:20:05:015 ] [ Document ] - Setting document style 'Heading5'. VERBOSE: [ 13:20:05:015 ] [ Document ] - Setting document style 'Normal'. VERBOSE: [ 13:20:05:015 ] [ Document ] - Setting document style 'Caption'. VERBOSE: [ 13:20:05:031 ] [ Document ] - Setting document style 'Header'. VERBOSE: [ 13:20:05:031 ] [ Document ] - Setting document style 'Footer'. VERBOSE: [ 13:20:05:037 ] [ Document ] - Setting document style 'TOC'. VERBOSE: [ 13:20:05:037 ] [ Document ] - Setting document style 'TableDefaultHeading'. VERBOSE: [ 13:20:05:037 ] [ Document ] - Setting document style 'TableDefaultRow'. VERBOSE: [ 13:20:05:037 ] [ Document ] - Setting document style 'Critical'. VERBOSE: [ 13:20:05:037 ] [ Document ] - Setting document style 'Warning'. VERBOSE: [ 13:20:05:053 ] [ Document ] - Setting document style 'Info'. VERBOSE: [ 13:20:05:053 ] [ Document ] - Setting document style 'OK'. VERBOSE: [ 13:20:05:053 ] [ Document ] - Setting table style 'TableDefault'. VERBOSE: [ 13:20:05:053 ] [ Document ] - Setting table style 'Borderless'. VERBOSE: [ 13:20:05:084 ] [ Document ] - Processing document header started. VERBOSE: [ 13:20:05:131 ] [ Document ] - Processing paragraph 'Aruba ClearPass As Built Report - v1.0'. VERBOSE: [ 13:20:05:177 ] [ Document ] - Processing document header completed. VERBOSE: [ 13:20:05:193 ] [ Document ] - Processing document footer started. VERBOSE: [ 13:20:05:193 ] [ Document ] - Processing paragraph 'Page <!# PageNumber #!>'. VERBOSE: [ 13:20:05:209 ] [ Document ] - Processing document footer completed. VERBOSE: [ 13:20:05:224 ] [ Document ] - Processing blank line. VERBOSE: [ 13:20:05:253 ] [ Document ] - Processing image 'AsBuiltReport Logo'. VERBOSE: [ 13:20:05:316 ] [ Document ] - Processing blank line. VERBOSE: [ 13:20:05:316 ] [ Document ] - Processing paragraph 'Aruba ClearPass As Built Report'. VERBOSE: [ 13:20:05:331 ] [ Document ] - Processing blank line. VERBOSE: [ 13:20:05:353 ] [ Document ] - Processing table 'Cover Page'. VERBOSE: [ 13:20:05:369 ] [ Document ] - Processing page break. VERBOSE: [ 13:20:05:384 ] [ Document ] - Processing table of contents 'Table of Contents'. VERBOSE: [ 13:20:05:384 ] [ Document ] - Processing page break. VERBOSE: [ 13:20:05:384 ] [  Module  ] - Please refer to the AsBuiltReport.Aruba.ClearPass GitHub website for more detailed information about this project. VERBOSE: [ 13:20:05:400 ] [  Module  ] - Do not forget to update your report configuration file after each new version release: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/ VERBOSE: [ 13:20:05:400 ] [  Module  ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.Aruba.ClearPass VERBOSE: [ 13:20:05:400 ] [  Module  ] - Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.Aruba.ClearPass/issues VERBOSE: [ 13:20:05:427 ] [  Module  ] - AsBuiltReport.Aruba.ClearPass 0.1.1 is currently installed. VERBOSE: [ 13:20:11:459 ] [ Document ] - Connect to tips.lmccormick.com : LMCPPM01.lmccormick.com VERBOSE: [ 13:20:11:474 ] [ Document ] - Processing section 'Implementation Report LMCPPM01.lmccormick.com' started. VERBOSE: [ 13:20:11:490 ] [ Document ] - Processing paragraph 'The following section provides a sum[..]'. VERBOSE: [ 13:20:11:506 ] [ Document ] - Processing blank line. VERBOSE: [ 13:20:11:506 ] [ Document ] - Discovering System settings information from tips.lmccormick.com. VERBOSE: [ 13:20:12:306 ] [ Document ] - Processing section 'Version' started. VERBOSE: [ 13:20:12:315 ] [ Document ] - Processing paragraph 'The following section details Versio[..]'. VERBOSE: [ 13:20:12:323 ] [ Document ] - Processing blank line. VERBOSE: [ 13:20:12:331 ] [ Document ] - Processing table 'Version'. VERBOSE: [ 13:20:12:377 ] [ Document ] - Processing paragraph 'The following section details Patche[..]'. VERBOSE: [ 13:20:12:393 ] [ Document ] - Processing blank line. VERBOSE: [ 13:20:12:393 ] [ Document ] - Processing table 'Patches'. WARNING: [ 13:20:12:409 ] [ Document ] - Cannot bind argument to parameter 'Rows' because it is an empty collection. VERBOSE: [ 13:20:12:424 ] [ Document ] - Document 'Aruba ClearPass As Built Report - 2024-02-01_13.20.04' processing completed. VERBOSE: [ 13:20:12:440 ] [ Document ] - Total processing time '7.73' seconds.

Thanks @yuke1922, there is an issue with 6.x.0 (when there is no patches), it will be fixed soon


update homicide model

What's this PR do?
Updates homicide model
Where should the reviewer start?
./app/models/scorecard_homicide.js
How should this be manually tested?
Confirm types
What are the relevant github issue?
#5
Definition of Done:

[ ] You have actually run this locally and can verify it works
[ ] You have added code comments to all code being submitted
[ ] You have updated the README file (if appropriate)

do we want to allow null for any of these values? there are null values in the nationwide spreadsheet


[Bug]: torii.createClient() on Safari and Firefox

Dojo.js Version
0.5.0
What happened?
The torii wasm client on Safari and Firefox takes 60+ seconds to start, or never starts.
On the react-app example, it never returns, freezing the app.
https://github.com/dojoengine/dojo.js/blob/bc3ca835c0508b7f6dc5315a8c1bba1c1abc80da/examples/react/react-app/src/dojo/generated/setup.ts#L16
What is the expected behavior?
The torii wasm client should start quickly, as in Chrome and Chromium.
Steps to reproduce

Bootstrap the react-app example with dojo-starter
start katana, migrate, start torii, start client
open the client on Safari and Firefox: torii.createClient() never returns, freezing the app before it starts

or use on our current deployment, it takes 60+ seconds to start the tori client on Safari, and it never starts on Firefox:
https://pistols.lootunder.world/gate
Tested on macOS 13 and 14
Safari 17.0
Firefox 122.0
Trace
No response
Is there an existing issue for this?

[X] I have searched the existing issues and verified no issue exits for this problem.

It seems like the SubscribeModels gRPC request what's causing the blocking. Will investigate

It might be an issue with wasm-bindgen-futures or the grpc client on wasm. It seems that every stream seems to be blocking on WASM

Ok so I've done some more digging and it seems like the issue is actually maybe related to CORS..? Maybe firefox and safari are more strict on CORS than chrome which is why it fails. What's weird tho is that it only displays the CORS issue sometimes and sometimes fails silently and prints other error messages (due to the request maybe failing?)


⚠ Jenkins Plugins Artifactory has degraded performance

In 181597d, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1257 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 5e52e3b after 20 minutes.


Create search schema to add tables

Create search schema to add tables

/lgtm /hold Will need to update API queries around the same time this gets merged.

https://github.com/stolostron/search-v2-api/pull/7 PR for api


Insights Reflection History Broken

Just started using Viva Insights Reflections (How are you feeling?) - I have not been able to see Reflection History after the 2nd or 3rd time I tried opening it  Please see error page screenshot.

This has been an issue for me for roughly 2 weeks.

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Left-Sidebar

If sidebar navigation overlaps the content instead of sliding it then it will look better I think because in mobile it totally slides the content. Or one option can be it should take up the whole width in the mobile device.
We can achieve the overlap thing by position: absolute and some height. And on the click of hamburger changing display or width property.

To make the navbar width:100% and on the click of hamburger changing display or width property.

In both the cases, I have given some top margin to the sidebar as thenewboston logo should be visible.

Closed in place of https://github.com/thenewboston-developers/Website/issues/94


Ping ApplauseLeads when there's a Cherry Pick

For the past deploy checklists there has been some cherry pick PRs that need QA. When these are CPd to fix a deploy blocker there's no notification (for us at Applause) to test those PRs and verify if the fix was a pass or not.
It would be great and more effective if there's a notification tagging the Applause Leads when there's a CP that needs QA.

How would we know if the CP needs QA or not? I can't think of an easy way to automate this really...

Mmm if the CP is fixing a deploy blocker we should probably retest if the issue is not reproducible so it can be checked off the checklist. Also, I'm almost sure the CPs made recently included some QA steps, let me look for one.

Triggered auto assignment to @thienlnam (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Here's an example of a CP that has QA https://github.com/Expensify/App/pull/4020
Also, forgot to tag you guys before :) Can you give a look at this proposal CC @roryabraham @AndrewGable

Seems like we can just use the CP Staging tag that already exists to ping ApplauseLeads for when PRs get merged with this?

Seems like we can just use the CP Staging tag that already exists to ping ApplauseLeads for when PRs get merged with this?

Not quite, because PRs can be manually CP'd after-the-fact in the event the author forgot to give the PR the CP Staging label when it was merged. Also, it's more useful to ping them once the CP is completed, rather than when the PR is merged.
So the solution for this should really be implemented in the markPullRequestsAsDeployed GH Action. You can see here is where we determine whether a deployed PR was CP'd or deployed normally. In the event it was CP'd, we could also tag @Expensify/applauseleads in the deploy comment.

And to @iwiznia's point, we could skip tagging @Expensify/applauseleads if the PR title includes the string No QA (case insensitive). Worst case scenario, they are tagged and see that there are no QA steps for that PR, which should be NBD.

Going to keep myself assigned to work on this internal issue and try to complete it later this week / early next

Got a little sidetracked with Chronos stuff, but still working on this.  I got some instructions on how to set up octokit form @roryabraham and need to play around with that to check some parameters

🚀 Deployed to production by @roryabraham in version: 1.0.88-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Clarify the dense descriptor

The documentation of the dense descriptor was incorrect and could do with clarifying corner cases.
This MR adds such documentation, and also moves an exposed internal include from the header file to the corresponding descriptors.cpp. It also clarifies the `toString' output of the dense descriptor, and applies minor code style fixes.
This MR corresponds to, and addresses, internal issue #485. Thanks to Aristeidis for reporting.

Review OK, smoke tests (with LPF) OK. Waiting for GitHub and internal CI.

CI tests OK, merging


rustup toolchain documentation mentions uninstall, code expects remove

Running rustup toolchain displays
$ rustup toolchain
rustup.exe-toolchain
Modify or query the installed toolchains

USAGE:
    rustup.exe toolchain [FLAGS] [SUBCOMMAND]

FLAGS:
    -h, --help    Prints help information

SUBCOMMANDS:
    list         List installed toolchains
    install      Install or update a given toolchain
    uninstall    Uninstall a toolchain
...

However running rustup toolchain uninstall nightly fails
$ rustup toolchain uninstall nightly
thread '<main>' panicked at 'internal error: entered unreachable code', src/rustup-cli\rustup_mode.rs:42
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Documentation (https://github.com/rust-lang-nursery/rustup.rs/blob/8838957d197df31f43582393084f6b43ec18db58/src/rustup-cli/rustup_mode.rs#L138) says the command is uninstall but parsing code expects remove (https://github.com/rust-lang-nursery/rustup.rs/blob/8838957d197df31f43582393084f6b43ec18db58/src/rustup-cli/rustup_mode.rs#L34).
I would expect install/uninstall to be the main commands and remove to be the synonym. If this is the case (and I linked to the appropriate locations) I will work on submitting a PR this week.

Fixed by 3f2f8548 (#474).


Remove pages from the default nox sessions

Summary
Mostly just a suggestion since this doesn't seem helpful to most ppl running it locally
Checklist

[ ] I have run nox and all the pipelines have passed.
[ ] I have made unittests according to the code I have added/modified/deleted.

Related issues

Just a thought, is it really important that safety is run by default locally for ppl?
Most people aren't going to be adding dependencies and safety can error on environment specific factors like the installed pip version which we won't necessarily want to be accounting for and this could even just cause unnecessary confusion.
(while we currently have a work around for avoiding it erroring on old pip installs, that's only temporary and should probably be removed at some point)


fix: avoid same name nodes in detection module

Signed-off-by: tomoya.kimura<EMAIL_ADDRESS>Description
avoid to launch duplicated-named nodes in detection module.
/perception/object_recognition/detection/clustering/detected_object_feature_remover_($ anon)
/perception/object_recognition/detection/clustering/shape_estimation
/perception/object_recognition/detection/object_association_merger_($ anon)

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Sorry not approved yet


L1 cache hit/miss counters always zero (RenderDoc)

CSL1CacheHitCount  and CSL1CacheMissCount are both always zero when I capture a scene and look at the AMD performance counters in RenderDoc. L2 cache stats are working fine.

Thanks for reporting this.  We'll take a look.


Non empty collection schemas (#717)

@jdegoes I went with a new Schema sub type instead of transforming, since it offers a way to introspect in libs. For example, in zio-http query parsing, we can just check that the query params is not there and fail immediately.
Also it is easier to add support for other non empty collections by the user.
fixes #717
/claim #717

@987Nabil Good to merge when CI is passing. 👍


[FLINK-5750] Incorrect translation of n-ary Union

What is the purpose of the change
This pull request adds supporting multiple inputs in DataSetUnionRule
Brief change log

DataSetUnionRule should consider all inputs instead of only the 1st and 2nd

Verifying this change
This change added the following test:
- Added unit test testValuesWithCast that validates VALUES operator with values which have to to be casted. This query will be transform to UNION of VALUES in plan optimizer since values arguments are not literal value
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hi, This PR is continuation of https://github.com/apache/flink/pull/6267
Seems that during push I worked wrong with commits. Sorry!

The only thing that I didn't do is: I didn't add unit test for stream environment.
During this test I got exception.
Test in org.apache.flink.table.runtime.stream.sql package:
@Test
def testValuesWithCast(): Unit = {
  val env = StreamExecutionEnvironment.getExecutionEnvironment
  val tEnv = TableEnvironment.getTableEnvironment(env)
  StreamITCase.clear

  val sqlQuery = "VALUES (1, cast(1 as BIGINT) )," +
    "(2, cast(2 as BIGINT))," +
    "(3, cast(3 as BIGINT))"

  val results = tEnv.sqlQuery(sqlQuery).toRetractStream[Row]
  results.addSink(new StreamITCase.RetractingSink)
  env.execute()

  val expected = Seq(
    "1,1\n2,2\n3,3"
  )
  assertEquals(expected.sorted, StreamITCase.retractedResults.sorted)
}

Output:
org.apache.flink.table.api.TableException: Cannot generate a valid execution plan for the given query:
FlinkLogicalUnion(all=[true])
FlinkLogicalCalc(expr#0=[{inputs}], expr#1=[1], expr#2=[1], EXPR$0=[$t1], EXPR$1=[$t2])
FlinkLogicalValues(tuples=[[{ 0 }]])
FlinkLogicalCalc(expr#0=[{inputs}], expr#1=[2], expr#2=[2], EXPR$0=[$t1], EXPR$1=[$t2])
FlinkLogicalValues(tuples=[[{ 0 }]])
FlinkLogicalCalc(expr#0=[{inputs}], expr#1=[3], expr#2=[3], EXPR$0=[$t1], EXPR$1=[$t2])
FlinkLogicalValues(tuples=[[{ 0 }]])
This exception indicates that the query uses an unsupported SQL feature.
Please check the documentation for the set of currently supported SQL features.
at org.apache.flink.table.api.TableEnvironment.runVolcanoPlanner(TableEnvironment.scala:274)
at org.apache.flink.table.api.StreamTableEnvironment.optimize(StreamTableEnvironment.scala:731)
at org.apache.flink.table.api.StreamTableEnvironment.translate(StreamTableEnvironment.scala:778)
at org.apache.flink.table.api.scala.StreamTableEnvironment.toRetractStream(StreamTableEnvironment.scala:254)
at org.apache.flink.table.api.scala.StreamTableEnvironment.toRetractStream(StreamTableEnvironment.scala:234)
at org.apache.flink.table.api.scala.TableConversions.toRetractStream(TableConversions.scala:189)


Fixing init issue with app links

Marking the app link in the intent as used once it is used for getting
deep link params in order to prevent providing wrong deep link data.
@aaustin

Tested and Review ready

Does this still require onNewIntent and singleTask launch mode?

Unfortunately onNewIntent and  singleTask is still needed. With out which the case  of clicking a link when app is in background will not work properly

:+1: looks great


add knob throttle feature

Add knob throttle feature
This fixes #176, the change is more noticeable in poly mode.

Hey @hex-spell, thanks for the contribution!
Though there's a few things I would like changed before merging this.
The major thing being that once the throttle is enabled, the UI update feels slow.
I would apply the throttle directly to the MIDI message output somehow instead of just the mouse move.
The throttle also doesn't apply to the DraggableSelect and MDMWaveform components, which can have the same issue as the MDMDial component as they have mouse inputs.
The import of lodash should be a named import (import { throttle } from "lodash";) to allow webpack to tree-shake the unused lodash modules from the resulting JavaScript bundle.
And lastly, the naming of "Knob Throttle". I'd prefer something like "Mouse Throttle" as it's only to do with the mouse input and should be applied to the MDMDial, DraggableSelect and MDMWaveform components.

And also, once complete and explanation of the Mouse Throttle feature in the README would be appreciated.


move documentation from README.md to lib.rs

so it appears on https://docs.rs and inconsistencies aren't created between README.md and lib.rs
per discussion in https://github.com/rust-lang/cc-rs/issues/920
The old introductory text in lib.rs has been replaced with the text from README.md and the introductory paragraph revised. Otherwise no major changes to the text have been made.
I will follow this PR with more substantial edits to the text.

cc @thomcc I would like your review on this PR

I will merge this before next release to minimize the disruption.

potentially both could be kept by using the doc = include_str! trick. I think cc's MSRV is high enough for that now?

The trouble with doc = include_str!("README.md") is that https://github.com/rust-lang/cc-rs will show documentation for unreleased changes. I have been confused before by another library doing that. Linking to https://docs.rs/cc doesn't have that issue; people will only see the documentation for published releases.


v1.0.2: explicitly forbid reparsing the envelope

It is a security mistake for an implementation to parse the envelope,
verify the signature, and then re-parse the envelope to pull out the
payload, since the two different parsings could result in different
payloads.
This was already implicitly disallowed in protocol.md according to the
"to verify" instructions, but a reader who is not careful might miss
this important bit.
Now we call it out explicitly on both protocol.md and envelope.md, to
avoid any ambiguity.
Signed-off-by: Mark Lodato<EMAIL_ADDRESS>

Oops, done, thanks for reminding me!


Download fails

Trying to install via Package Control fails on Windows 10. It is unable to download the zip file:
Console:
Package Control: Error downloading package. HTTP error 403 downloading https://codeload.github.com/SublimeText/Pywin32/zip/st3-1.1.0.
error: Package Control

Unable to download Pywin32. Please view the console for more details.

I believe the python-pywin dependency might be more up to your needs as it's also more recent, albeit not by much.
That said, the download link referenced in the channel cache and also in your console works for me (https://codeload.github.com/SublimeText/Pywin32/zip/st3-1.1.0). Does this occur with any other package as well?

I have been setting up a new laptop. I followed the advice https://packagecontrol.io/docs/syncing to move my packages over. This was the only one that failed. It is a work laptop, so possible that it was blocked by some security settings. The others worked though...
I just copied the package off the old machine to the new one and it is working ok. I should probably try the dependency you mentioned. The plugin using this is probably from before dependencies were a thing.
Thanks,
You can close this if you want.

It was most definitely before dependencies was a thing. I was the one who originally packaged this up, but found it easier to use ctypes directly, removing the need for this package. I offered it up here as I no longer wanted to maintain it. ctypes is more work to initially implement, but I honestly only required Pywin32 for a limited amount of things. so replacing the needed calls with ctypes relieved me of one more thing to maintain.

I guess it really was blocked for some reason. python-pywin dependency also failed:
Package Control: Error downloading package. HTTP error 403 downloading https://codeload.github.com/packagecontrol/pywin32/zip/v0.0.220.
error: Package Control

Unable to download python-pywin32. Please view the console for more details.

Maybe the others get downloaded as .sublime-package and these are .zip...
I downloaded the v0.0.220.zip of python-pywin dependency by other means. Do you happen to know how to manually install it. I extracted it to the Packages folder, in a folder called python-pywin32 with loader.code in the root. Restarting Sublime Text still tries to download the dependency though.

Yeah, a 403 sounds concerning, especially if the same URL works for me (and should work in general). Can you access these URLs in your browser? Do you use a proxy?

I'm in Germany. Blocked file type by the company it seems. Can't get it in the browser either. Probably should have checked that first, but didn't think to because the other packages worked fine. Its's an issue on my end.


[Kernel] Refactor expressions

Which Delta project/connector is this regarding?

[ ] Spark
[ ] Standalone
[ ] Flink
[x] Kernel
[ ] Other (fill in here)

Description

Refactor the expression interfaces. Currently, the Expression base interface contains a few unnecessary methods such as dataType and eval. Keep the Expression to a minimum, so that it is just used to represent a SQL string version of the expression in Kernel Expression classes.

interface Expression {
  /**
    * @return a {@link List} of the immediate children of this node
    */
  List<Expression> children();
}

Introduce a subtype of Expression called ScalarExpression which is a base class for all scalar expressions.
Introduce a subtype of ScalarExpression called Predicate as the base expression class for scalar expression that evaluates to boolean type. The Predicate is defined such that it takes a generic expression name and any number of input expressions. It is up to the evaluator to make sure the given Predicate is evaluable. Currently Predicate only allows a subset of expressions (=, <, <=, >, >=, AND, OR, ALWAYS_TRUE, ALWAYS_FALSE) as of now. In the future, this can be extended to support more predicate expressions with minimal code changes.
Update scan-related APIs to Predicate instead of Expression.
Remove the use of Literal.FALSE and Literal.TRUE and instead use AlwaysTrue.ALWAYS_TRUE and AlwaysFalse.ALWAYS_FALSE. Literal is not a predicate.
Extract the expression evaluation from kernel-api into kernel-defaults.

DefaultExpressionEvaluator validates the expression and adds necessary implicit casts to allow evaluation.

TODO (will be addressed after this PR is landed):

It is not clear now whether we need the CAST expression as a first class Expression in the kernel-api module. If needed in the future, we can add one (https://github.com/delta-io/delta/issues/2043).
Implicit cast in kernel-default may need to support more type conversions, especially around the Decimal type (https://github.com/delta-io/delta/issues/2044)
Add support for nested column reference in Column expression (https://github.com/delta-io/delta/issues/2040).

How was this patch tested?
Moved the existing Java-based test to Scala and also added new tests (some of them are copied over from the standalone ExpressionSuite and updated).

Pending questions about casting to output type and making literal/column scalar expressions

Created a tracking issue to handling the cast expression output to evaluator output.
For making the literal/column scalar expression: I responded here. Let me know if there is any strong reason to deviate from Spark DSv2 expression model.


Runner doesn't look on shape_class of environment

Describe the bug
I use locust as library and I am investigating how to user custom load shape in this case. And seems like locust ignore shape_class in environment.
Expected behavior
Load increasing by 10 users every 30 seconds
Actual behavior
I've got only 1 user per second all the time
After approximately 2 minutes:
 Name                                                                              # reqs      # fails  |     Avg     Min     Max  Median  |   req/s failures/s
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 GET //                                                                               100     0(0.00%)  |    1105     782    2129    1000  |    0.40    0.00
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 Aggregated                                                                           100     0(0.00%)  |    1105     782    2129    1000  |    0.40    0.00

 Name                                                                              # reqs      # fails  |     Avg     Min     Max  Median  |   req/s failures/s
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 GET //                                                                               101     0(0.00%)  |    1103     782    2129    1000  |    0.50    0.00
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 Aggregated                                                                           101     0(0.00%)  |    1103     782    2129    1000  |    0.50    0.00

 Name                                                                              # reqs      # fails  |     Avg     Min     Max  Median  |   req/s failures/s
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 GET //                                                                               102     0(0.00%)  |    1103     782    2129    1000  |    0.50    0.00
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 Aggregated                                                                           102     0(0.00%)  |    1103     782    2129    1000  |    0.50    0.00

 Name                                                                              # reqs      # fails  |     Avg     Min     Max  Median  |   req/s failures/s
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 GET //                                                                               103     0(0.00%)  |    1102     782    2129    1000  |    0.50    0.00
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 Aggregated                                                                           103     0(0.00%)  |    1102     782    2129    1000  |    0.50    0.00

 Name                                                                              # reqs      # fails  |     Avg     Min     Max  Median  |   req/s failures/s
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 GET //                                                                               104     0(0.00%)  |    1100     782    2129    1000  |    0.50    0.00
----------------------------------------------------------------------------------------------------------------------------------------------------------------
 Aggregated                                                                           104     0(0.00%)  |    1100     782    2129    1000  |    0.50    0.00

Steps to reproduce
This is my code:
import gevent
import math
from locust import HttpUser, task, between, constant
from locust.env import Environment
from locust.stats import stats_printer, stats_history
from locust.log import setup_logging
from locust.shape import LoadTestShape

setup_logging("INFO", None)

class StepLoadShape(LoadTestShape):

    step_time = 30
    step_load = 10
    spawn_rate = 10
    time_limit = 600

    def tick(self):
        run_time = self.get_run_time()

        if run_time > self.time_limit:
            return None

        current_step = math.floor(run_time / self.step_time) + 1
        return (current_step * self.step_load, self.spawn_rate)

class User(HttpUser):
    wait_time = constant(1)

    @task
    def my_task(self):
        self.client.get("/")

env = Environment(user_classes=[User], shape_class=StepLoadShape, host="https://docs.locust.io/")
env.create_local_runner()

gevent.spawn(stats_printer(env.stats))

gevent.spawn(stats_history, env.runner)

env.runner.start(1, spawn_rate=10)

gevent.spawn_later(600, lambda: env.runner.quit())

env.runner.greenlet.join()

Run it with python /path_to_file
Environment

OS: macOS 10.15.4
Python version: 3.7.11
Locust version: 2.1.0
Locust command line that you ran:
Locust file contents (anonymized if necessary):

@max-rocket-internet is the most load shape-y person. Do you have time to take a look?

@kirillantv does it work when using it as a normal locustfile and a master + worker? i.e. remove everything after the User class. You can test this easily using docker-compose for example.

@kirillantv Is this also occuring with locust 1.6?

@max-rocket-internet yeap. With normal locustfile that works.
@mboutet with locust 1.6 it is also occuring. I am also confused by runner.start(1, spawn_rate=10)  - I implement all load logic in load shape, but I also must pass start param.

You should use env.runner.start_shape() for load shape.

@mboutet Hm. Thanks! I also needed to pass shape_class param to env as object, not as class.
I think this method is sorely lacking in the documentation

Documentation PR would be welcome. And a warning logging if someone runs runner.start() with a shape set on environment.

I still have this issue where I pass the custom load shape and call runner.start_shape(), the load test spawns 1 user every second instead of following what the load shape tells it to
load_test_shape = CustomLoadTestShape()
env = Environment(user_classes=user_classes, shape_class=load_test_shape, events=events)
runner = env.create_local_runner()
env.events.init.fire(environment=env, runner=runner)
runner.start_shape()


feat(opd8n): OP Derivation Tool

Description
Introduces a new CLI tool called opd8n ("op" + "derivation") to generate a derivation test fixture.
Effectively what we want here is for someone to define a set of L2 state transitions as blocks and generate the static JSON derivation fixture file that defines all L1 information required to generate those L2 state transitions.
It should support: deposits, reorgs, span batching, various compression schemes, and make it straightforward for anyone to generate new derivation test fixtures for upcoming hard forks or new functionality.
The tricky functionality will be implementing the batching component in an extensible, configurable way such that downstream users can configure batcher functionality. This configurability should only need to happen in the opd8n cli when generating the test fixture. That is the only time when this new batcher component needs to run.

This is merged in https://github.com/ethereum-optimism/op-test-vectors/pull/58


More complete object detail pages

Related to #1. Also related to #34.

[ ] Add text fields to allow for descriptions of various objects (characters, settings, templates, etc.)
[ ] Add user profiles (a freeform text box)

Descriptions of characters is done in #130.

Setting descriptions done in #527.


nerd-fonts broken in gnome after the split

Describe the bug
the nerd-fonts splitting / change broke nerd fonts on gnome

Steps To Reproduce
Steps to reproduce the behavior:

use gnome
try to select or use/select nerd font in for example gnome-tweaks

Expected behavior
Nerd Fonts working

Screenshots

Additional context

Metadata
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.1-cachyos, NixOS, 25.05 (Warbler), 25.05.20241201.ac35b10`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.25.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/ab78nf3ad8ly49zfyd3igw3f2n5q7fz4-source`

~ took 5s
❯

Notify maintainers
@doronbehar @rc-zb

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

found some fonts broken for me too. Agave Nerd Font has the following message when trying to view them in gnome fonts:

Also, they seem to appear twice?

How did you install the fonts? I'm not using GNOME, but for Noto* Nerd Font installed via user profile and Fontconfig on KDE Plasma 6, GNOME Fonts seemed to show nothing wrong:

Metadata
~
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.63, NixOS, 24.11 (Vicuna), 24.11.20241128.c71ad5c`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - nixpkgs: `/nix/store/bm4ga8rzxqcydd16i39admpjwc01x94a-source`

Try running fc-cache -r, this solved the problem for me.


Fix issues in docs

What does this PR do?
Minor fixes to documentation.
Which issue(s) does this PR fix?
The PR fixes errors which I came across while setting this project up.
Related PR in sveltekit repo.
https://github.com/authorizerdev/authorizer-svelte/pull/30

@lakhansamani This can be merged.


Hard to find config options for gem

https://github.com/neo4jrb/neo4j/wiki/Neo4j-v3-Unique-IDs#id_property-primary-key

This can be done through Neo4j::Config, Rails configuration, or models themselves. For example see config/application.rb or model

Links are broken, and how to perform configuration stays big mystery, even search on google don't give results
Until goto source codes (/lib/neo4j/config/neo4j/config.yml)
So would be good to give URL at least to config yml
https://github.com/neo4jrb/neo4j/blob/master/config/neo4j/config.yml

We've got new documentation that should cover this:
http://neo4jrb.readthedocs.org/en/5.2.x/Configuration.html
Please re-open if this is insufficient


Laggy

Hey, I am getting quite a lot of lag on the lattest gradio. I dont actually have experience with previous versions of ewbui, but in this one, after i type some prompts, it takes a while to update the buttons underneath. Each letter comes in at 1/5 speed. Very slow. Very unusable. I need to do some testing to see if another extension is conflicting, but this is happening before any generating even happens

It's still very laggy for me, though no errors in the developer console. Using latest version of better prompt and the only other extension I have is ControlNet.


feat: allow for deployment in subdirectory

One more try at #124.
@dnlggr the 9a5904e commit solves the issue mentioned in you last comment of the previous PR for me.

Oh yes, I'll need to rebase in case it works for all of us.

Rebased and added the nginx with testing instructions. I can remove the nginx commit, but now it is simple and clean enough that we could also keep it. Looking forward to your feedback and hopefully it works this time :)

Tested using my previous testing method (see #124), the nginx setup from this PR and normal npm start dev mode. Everything seems to work as expected (Except for the websocket in the nginx setup, but that's an nginx setup issue right? So nothing wrong with the implementation.)
Looks good to me. I'd say we don't necessarily need the testing setup in master—I feel like once this works we won't need it again (and if we do, we can look up this PR). But I also don't mind if we merge it. Your choice. :)

Except for the websocket in the nginx setup, but that's an nginx setup issue right?

The last commit was supposed to also make it work. What issue did you encounter?

For the version on port 3000 hosted by npm start everything is fine, but for ngingx hosted versions, I'm getting:
WebSocket connection to 'ws://localhost:8000/joinmarket/jmws' failed:

Is that working for you guys?

Yes, my guess is that you are visiting localhost:8000/joinmarket, but it needs to be localhost:8000/joinmarket/extrapath/ (also note the trailing slash). Might that be the case?

Ok I retested everything and it works now (including the websockets)! I must've either had not the latest commit checked out or missed the trailing /. In any case, it works now. Sorry for the confusion—that was my fault.

No worries, thanks to both of you for testing this and bearing with me on that feature :D


(Javascript) Hand Track on Android Chrome throws RuntimeError.

I'm trying to run Hand Track on Chrome 87.0.42, running on Samsung S8 with Exynos 8895 soc. it works fine on PC but stuck at the loading screen on mobile.
Here is the console log.

RuntimeError: abort(undefined) at Error
at jsStackTrace (https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.js:9:67549)
at stackTrace (https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.js:9:67725)
at abort (https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.js:9:41039)
at _abort (https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.js:9:179943)
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10471]:0x49a300
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10466]:0x49a278
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10461]:0x499da0
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10458]:0x499a2a
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10474]:0x49a359
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[515]:0xebe1
at abort (https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.js:9:41070)
at abort (https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.js:9:179943)
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10471]:0x49a300
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10466]:0x49a278
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10461]:0x499da0
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10458]:0x499a2a
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[10474]:0x49a359
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[515]:0xebe1
at https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.wasm:wasm-function[502]:0xd956
at SolutionWasm$send [as send] (eval at new (https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands_solution_wasm_bin.js:9:160446), :9:1)

Hi I'm also experiencing this with the latest release on Android/Chrome and two others have reported this to me as well. It seems to be limited to just the Hands model (Facemesh, Holistic, and Pose works). Can also confirm that it works fine on desktop in all browsers

Hi I'm also experiencing this with the latest release on Android/Chrome and two others have reported this to me as well. It seems to be limited to just the Hands model (Facemesh, Holistic, and Pose works). Can also confirm that it works fine on desktop in all browsers

Can confirm chrome not working on android but working in firefox.

Can confirm chrome not working on android but working in firefox.

@ajmalrasi @MIDIBlocks @Adolar13 could you go to chrome://version/ on chrome android and tell me if you have the 32bit version or 64bit ? Chrome was just released as 64bit for the first time with 89 for android 10 with 8gb of ram: https://www.ghacks.net/2021/03/13/google-is-pushing-64-bit-chrome-on-android/
I can reproduce the error on 32bit chrome android but on 64but chrome android it works 100%. Let me know if you can reproduce on 64bit or not.

Hi @ajmalrasi, Could you please share the issue status?

Hi @ajmalrasi, Could you please respond to my above comment. Thanks!

@sgowroji Just tested on Samsung S8, i can confirm that the issue is resolved.

i get this issue in chrome. how can i resolve it. thanku


Readonly preopened directories

Are there any plans to support this on the CLI for preopened directories? https://github.com/WebAssembly/wasi-filesystem/pull/91
My use case is adding a "scripting" layer to an application where I need to make some files available to untrusted wasm modules. The modules should not be able to modify these files. Ideally this should be done without relying on the underlying OS permissions. Is there any way to do this on the current version?

If you are embedding wasmtime (as a crate), you can achieve this by writing a pair of WasiDir/WasiFile impls that wraps an existing dyn WasiDir/ dyn WasiFile in one that rejects all write operations, otherwise passes operations through, and propagates that property to opened dirs/files.

If you are embedding wasmtime (as a crate), you can achieve this by writing a pair of WasiDir/WasiFile impls that wraps an existing dyn WasiDir/ dyn WasiFile in one that rejects all write operations, otherwise passes operations through, and propagates that property to opened dirs/files.

It's not a Rust app, I'm currently shelling out to the wasmtime CLI. I wanted to do this without writing a custom wrapper, but I will take a look into this suggestion, thanks.

Not sure from reading this thread if this feature is intended at some point, but I've just run into a use-case with the wasmtime-py bindings where this requested functionality would have been very convenient. Would be nice to know if it's something possibly on the horizon for the runtime.

Read-only permissions can now be specified directly in the wasmtime-wasi::preview2::WasiCtxBuilder::preopened_dir method. This isn't yet the implementation used by the c-api that drives wasmtime-py, but we will be switching the c-api to that implementation soon, at which point we could add a new c-api function to expose providing a preopen with permissions, and then finally it could be exposed in wasmtime-py.
We don't currently have anyone actively maintaining wasmtime-py, though, so that step will need someone interested to step up.

Interesting, I had missed that this was capable from the Rust side. If I understand the bindings generation machinery for wasmtime-py, whatever is in the C API should be picked up pretty much automatically, although the Python-facing code may need special care.
If there is an open issue that you could refer me to for exposing that machinery in the C API, I'd be happy to keep an eye on it and perhaps make an attempt (no promises!) at updating the bindings when the time is right.

In the meantime, I may see how much fuss it would be to set up the runtime from ad-hoc Rust code. I have relatively simple needs for control over the configuration/etc. from the Python consumer side, so it might not be so bad to do it that way.
Thanks!

wasmtime-wasi::preview2::WasiCtxBuilder::preopened_dir

The link is now https://docs.rs/wasmtime-wasi/latest/wasmtime_wasi/struct.WasiCtxBuilder.html#method.preopened_dir


(feat): Get runner and monitor image from engine spec

FEATURE REQUEST

Why are we doing in this ?
Before:
We hard coded runner and exporter image inside builder function of runner and exporter.
After:
We are creating additional fields in engine spec and we are fetching image of runner and monitor pod from the engine spec .
Benefits:
We don't need to change builder function every time with change in runner or exporter image. We can directly put images in engine spec.

Engine yaml after changes
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
  name: engine-nginx
  namespace: ""
spec:
  appinfo:
    appns: ""
    applabel: ""
  components:
     monitor:
       image: ""
     runner:
       image: ""
  chaosServiceAccount: litmus
  monitoring: true
  experiments:
    - name: openebs-pool-failure
      spec:
        components:


Reduce warnings

Fixing deprecation warnings
We change all:

jax.tree_map -> jax.tree_util.tree_map
Pytest ignores TestSynapse

Note: We do not change use of a_max in jnp.clip, because this require jax>0.4.30 (which is too recent yet)

There are quite a few unused imports in each file which I could additionally autofix with ruff in this PR.


Console log error Error:  attribute height: Expected length, "unset".

Console error in the chrome browser when successfully selecting a recent transaction from the search dropdown.
The transaction page loads without issue and this seems to work fine.
But there is a console error that complains about the height.
Error:  attribute height: Expected length, "unset".

This is an issue in the ui library, which will be resolved soon.

will be resolved with https://github.com/blockstack/ux/pull/393


IEEE CSPA Call-for-Reviewers

https://sites.google.com/view/asprg-cspa/reviewers?authuser=0
https://www.asprg.net/cspa2025_oc/review/signin.php

Thank you

Thank you so much. May I ask how you gather these information (i.e. the sources?). If available, I could make a better tool for listing review opportunities.


Support enums in docs

Missing @group Enums for CpsNotificationType.
CpsColumnFilterMatchMode is ambiguous for now, as it seems like it's not used anywhere according to the docs, but it should be fixed in #350

Missing @group Enums for CpsNotificationType.
CpsColumnFilterMatchMode is ambiguous for now, as it seems like it's not used anywhere according to the docs, but it should be fixed in #350

I didn't add it for the CpsNotificationType enum on purpose, as it is an internal enum not exported by the library, on the other hand, CpsColumnFilterMatchMode is exported.


Hello! A question about Kitnet

Hello. i want to cite this paper,  but I don’t understand something:
The largest RMSE of the output layer is set as the φ(cutoff-threshold) in kitnet, then:
a) Execute: s = RMSE(~ x,h θ (~ x))
b) Verdict: if(s ≥ φβ) then Alert
i dont know How to determine β，‘In the paper uses the raw RMSE score’, Does that mean β=1?

For anomaly detectors, you can use any value > 0 as a threshold, the trick is finding a level which results in an acceptable TPR, FPR, and FNR. To find this, I recommend you do the following:

get the RMSE values for your training set (all benign samples)
fit a distribution to it (I found that my data usually follows a log-normal distribution, alternatively use a histogram instead)
select your threshold by using the RMSE value where the probability of getting a higher value lower than your requirement (eg, p=0.001)

The above is if you only have normal (clean) data, but if you have examples of anomalous data you can use AUC and other metrics to help you find the best threshold. Just note that in this case you are tuning the model to your set of anomalies which may not capture all anomalies that may occur in the future.

OK, thank you for the advice.  It seems to be a posteriori; if conduct comparative experiments, is a simple and direct method to take the maximum RMSE as the threshold?


Pull changes from main back to staging

Purpose: keep staging from getting too far out of sync with main.
Why a PR? I'm trying out a PR from main to staging, to avoid a local rebase and force push.

Something doesn't feel right. I don't have the same conflicts locally.
Gonna close this for now.

@maurelian do you have the latest staging locally? Lmk if you want me to reopen/fix conflicts

@maurelian do you have the latest staging locally? Lmk if you want me to reopen/fix conflicts

I thought I did. Would appreciate if you can get main into staging however you see fit!


Is it possible to delegate concat to gulp-concat?

Is it possible to delegate concat to gulp-concat?
After this gulp-concat-css will become simpler because it will have less features.

thanks


test_join_sort.py in CI failed by timeout with new Dask release - 2022.2.0

Error: https://github.com/modin-project/modin/runs/5195622251?check_suite_focus=true
Dask release - https://github.com/dask/dask/releases/tag/2022.02.0
Fastest option here - pin dask<2022.2.0, but it also requires an investigation into the cause.

cc @modin-project/modin-core

Besides fixing the perf issue, I think we can revise test_join_sort suites in order to reduce them. Only this one test generates up to 17.000+ cases (around ~35% of all tests for dataframes).

So new Dask release has caused performance to degrade on these tests to the point where they always timeout?

 This may indicate a memory leak or the memory may not be released to the OS; see https://distributed.dask.org/en/latest/worker.html#memtrim for more information. -- Unmanaged memory: 448.04 MiB -- Worker memory limit: 476.84 MiB

Is this something that we need to fix, or does it need to be reported to Dask?

I don't know, it's also possible that some Dask settings have changed. Can someone take a look? (I don't have the capacity to investigate the problem for now)

Let's pin dask for now to make CI pass.

Agree, let's pin for now.

test_join_sort on Ubuntu still takes about 4x long with dask as with ray. e.g. compare this run of test-ubuntu on dask with this run on ray. 47 minutes with dask, 12 minutes with ray. Anecdotally, test-ubuntu is quite often one of the last things to finish in our CI, and test_join_sort is one of the main reasons for that. test_join_sort on dask on windows is also way slower (~1.8x) than on ray on windows, e.g. dask here took 82 minutes vs ray here took 46 minutes.
Speeding up test_join_sort on dask is likely to substantially reduce the time for our CI to run.

I am trying MODIN_ENGINE=dask pytest -n 2  --durations=0 modin/pandas/test/dataframe/test_join_sort.py on my Macbook to get an understanding of the test case time distribution on dask 2022.1.1.


containerd v1.6.2 does not support v1 version, how should I adjust it? Upgrading to containerd1.26.23 does not support it either

What is the problem you're trying to solve
k8s 从1.25.16 升级至1.26之后, 因containerd 版本不支持v1, 导致kubelet 注册失败
Describe the solution you'd like

Additional context
1

HI @he-aook
It's bug of https://github.com/labring/sealos :-)

好的, 感谢, 我先看下 @yankay

Hi @he-aook https://github.com/containerd/containerd/blob/v1.6.2/pkg/cri/server/instrumented_service.go#L25-L26 v1.6.2 supports v1 cri-api. And please use English to describe that issue, thanks. Closing.


error initializing builder 'upcloud': Incompatible API version with plugin.

Using UpCloud builder version 3.0.0:
2020/11/10 19:13:23 [INFO] Packer version: 1.6.4 [go1.15.2 linux amd64]
2020/11/10 19:13:23 [DEBUG] Discovered plugin: upcloud = /home/<redacted>/.packer.d/plugins/packer-builder-upcloud
2020/11/10 19:13:23 [DEBUG] Discovered plugin: vultr = /home/<redacted>/.packer.d/plugins/packer-builder-vultr
2020/11/10 19:13:23 using external builders [upcloud vultr]
2020/11/10 19:13:23 Checking 'PACKER_CONFIG' for a config file path
2020/11/10 19:13:23 'PACKER_CONFIG' not set; checking the default config file path
2020/11/10 19:13:23 Attempting to open config file: /home/<redacted>/.packerconfig
2020/11/10 19:13:23 [WARN] Config file doesn't exist: /home/<redacted>/.packerconfig
2020/11/10 19:13:23 Setting cache directory: /home/<redacted>/src/kfchub.tf/packer/packer_cache
2020/11/10 19:13:23 Creating plugin client for path: /home/<redacted>/.packer.d/plugins/packer-builder-upcloud
2020/11/10 19:13:23 Starting plugin: /home/<redacted>/.packer.d/plugins/packer-builder-upcloud []string{"/home/<redacted>/.packer.d/plugins/packer-builder-upcloud"}
2020/11/10 19:13:23 Waiting for RPC address for: /home/<redacted>/.packer.d/plugins/packer-builder-upcloud
2020/11/10 19:13:23 packer-builder-upcloud plugin: 2020/11/10 19:13:23 Plugin minimum port: 10000
2020/11/10 19:13:23 packer-builder-upcloud plugin: 2020/11/10 19:13:23 Plugin maximum port: 25000
2020/11/10 19:13:23 packer-builder-upcloud plugin: 2020/11/10 19:13:23 Plugin address: unix /tmp/packer-plugin340163571
2020/11/10 19:13:23 packer-builder-upcloud plugin: 2020/11/10 19:13:23 Waiting for connection...

error initializing builder 'upcloud': Incompatible API version with plugin.
Plugin version: 4, Ours: 5

2020/11/10 19:13:23 Build debug mode: true
2020/11/10 19:13:23 Force build: false
2020/11/10 19:13:23 On error:
2020/11/10 19:13:23 Waiting on builds to complete...
==> Wait completed after 5 microseconds
Error: Failed to initialize build "upcloud"
==> Builds finished but no artifacts were created.

error initializing builder 'upcloud': Incompatible API version with plugin.
Plugin version: 4, Ours: 5

Debug mode enabled. Builds will not be parallelized.

==> Wait completed after 5 microseconds

==> Builds finished but no artifacts were created.
2020/11/10 19:13:23 [INFO] (telemetry) Finalizing.
2020/11/10 19:13:23 /home/<redacted>/.packer.d/plugins/packer-builder-upcloud: plugin process exited
2020/11/10 19:13:24 waiting for all plugin processes to complete...

Try to use version 1.1.3 of packer as that is the version they are using in the tutorial. https://upcloud.com/community/tutorials/upcloud-packer-builder/  For mac users, that version is not available from brew, you need to manually download and unpack it.

Try to use version 1.1.3 of packer as that is the version they are using in the tutorial. https://upcloud.com/community/tutorials/upcloud-packer-builder/  For mac users, that version is not available from brew, you need to manually download and unpack it.

The issue solved in release 4.0.0.
https://github.com/UpCloudLtd/upcloud-packer/releases/tag/4.0.0
Closing.


[BUG] ABOUT Milvus

When I use the Milvus vector database, I cannot use the collection that I have previously customized, and many functions of Milvus, such as partition_key, are also unavailable. These operations are all possible in langchain-python.
2024-03-23T20:27:03.730+08:00 ERROR 23616 --- [pool-2-thread-2] i.m.client.AbstractMilvusGrpcClient      : SearchRequest collectionName:enocmics_book failed, error code: 1, reason: field text not exist
2024-03-23T20:27:03.731+08:00 ERROR 23616 --- [pool-2-thread-2] i.m.client.AbstractMilvusGrpcClient      : SearchRequest collectionName:enocmics_book failed! Exception:{}

There is a related PR that addresses partition customization: https://github.com/langchain4j/langchain4j/pull/737


Move requirements.txt to examples directory

@manuel-berning

Hmm. Interesting proposal. Currently this would break the repo2docker (e.g. mybinder) way to consume this repo.
The file you mentioned is used as a configuration file in repo2docker to install python dependencies:
https://repo2docker.readthedocs.io/en/latest/config_files.html
Could of course all install these requirments in notebook itself (but then runtime.txt similar proposals could be discussed).

I just checked again an maybe it would be good to motivate why you would want to move it.
AFAIK the requirements for the (client library) python package are defined in setup.py and I do not see an issue having the requirements in the top level if it does not interfere with other workflows/usages of the repo.

Resolved by https://github.com/SAP/document-classification-client/commit/f24d9eb04911097f4f80cecc98484d5d987466c1

Resolved by https://github.com/SAP/document-classification-client/commit/f24d9eb04911097f4f80cecc98484d5d987466c1


fix(runtime-core): in operator returning false for built-in instance properties in exposeProxy (fix #6137)

This PR tries to fix #6137.
Background info
The component exposeProxy implements a fallback logic for accessing built-in instance properties but was missing the same logic for the in operator in the Proxy's has() handler.

Hey, just wanted to ask if there is anything I can do to get this fix merged? 🙂

@yyx990803 sorry for tagging. This is my last attempt to try to get this fix merged.
If there is anything left to do, please tell me. 😔

We are just starting an effort to clean up and re-review PRs that are unmerged even though ready to go. We have accumulated quite a number of those so it may still take a bit.
Please be a bit more patient. Thanks


Add database docs

Goals for this PR:

[x] Add instructions for setting up a local Postgres server
[x] Add instructions for running a local instance of PolicyBrain using the local Postgres server
[x] Add some database migrations best practice-type procedures in an effort to minimize the number of database misadventures

+1 This PR LGTM.
I was able to get Postgres server set-up on my local following the instructions.

@GoFroggyRun would you mind reviewing the database back up procedure that I outlined in the DATABASE.md file?
@Kpinkelman Thanks for the notes on the local deployment setup documentation! Please, let me know if you have any more questions or feedback

LGTM, +1

Thanks for the review @GoFroggyRun.


Local database made with RoomDatabase

I have learned from Udacity Nanodegree course that rather using SQLite database for local storage, we use the new and improved database, RoomDatabase.
So we get to the point we need to store some data locally on the user's device, Room database is the way to go and I can help with that.

Yeah, I did it too. Let's use it. Awesome.

@emmaunel  How are you doing? I know everyone has been busy.

@Madonahs I am doing good. I took a break from java and worked with python for a while. I believe it is time for me to come back to android.  😁

@Madonahs Quick question, has there being major changes with the app I need to know?  For example, database location?

@Emmanuel no big changes. Just worked on my app https://play.google.com/store/apps/details?id=com.madonasyombua.budgetbuddy

Hi,  I'm Sherif I just got intro android some months ago and I've learnt this new stuffs in android. I came across this project while browsing around GitHub for projects I could possibly contribute to when I found this. I will like to work on this since it's been over a year it has been open

That sounds like a great idea. Please feel free to work on it and put up a Pull Request.


Use the service Address field of Consul 0.5.0 RC1+

This PR is work in progress and depends on unreleased Consul features (available in master branch) and the hashicorp/consul#627 pull request to add address support to the consul go api.

Consul 0.5.0 RC1 is release which include the necessary fixes.

Cool, just needs a rebase.

No Godeps anymore? I did the rebase.

No Godeps for now. Since releases are snapshots of dependencies at that time, we just have to make sure they're up to date before releasing. The only time this will be an issue and in which it would make sense to bring back Godeps is if a dependency breaks and we can't fix our side or theirs before making the release.

cool!

Hi! Should this be working now with progrium/consul:latest and gliderlabs/registrator:latest?


Fix build.sh verify-cocoapods

rather than use pod spec lint, use our own installation examples /cc @bdash @tgoyne

CI failures are unrelated.


Typed Controller should remove auto-patching

Tell us about your request
Karpenter typed controller patches the reconciled object. We should investigate updating instead of patching and rely on optimistic locking.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently, we just patch, meaning two concurrently occuring patches could succeed, when only one should.
Are you currently working around this issue?
Not
Additional Context
No response
Attachments
No response
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Discussed offline, we will keep the controller.Typed mechanism as an abstraction but we will yank out the auto-patching mechanism. It is the responsibility of the controller reconcile to do its own handling of Update/Patch. If a controller wants to do patching always, it can do so with a defer statement in the Reconcile that patches regardless of whether it fails or not.


Generating the Requirements.txt and installation guide

Requirements.txt is discussed

In our essay I summarized the installation process on Keith's laptop. We can also use it as part of installation guide


Developers Flow

What
Elaborate on developers flow istio-workspace should support.
Why
To flesh out and document the vision of the tool.

WIP https://docs.google.com/document/d/1HnkRvN8iILFWqIfTxKAFrx8tkebuROtDIng8NxdXlck


Verify fail

It seems verify fail ( with latest version of Deno )
The hs512 exemple fail ...
( sometimes it work )
The problem is about signature

I cannot replicate, it works for me


Read the System Power Consumption

Read the System Power Consumption and validate it

Looks Good, merging it now.


No test for stringify() with the parameters not bound

I thought that stringify() works well with the parameters not bound. And it really does. For example
var UrlPattern = require('url-pattern');
var pattern = new UrlPattern('/:overflow');

var not_related_params = {
        foo : 'foo',
        bar : 'bar',
        overflow : 'overflow'
};
var result = pattern.stringify(not_related_params);
console.log(result); //return /overflow

But there's no test about this situation. Could you add it?

yeah, stringify ignores key/value-bindings in the argument object if there's no named segment in the pattern that matches the key. i think this is intuitive (what one would expect).
i don't think this behaviour is critical enough to warrant a test.
you're very welcome to add a test in a PR though !

I've just seen your comment now. Thank you for accepting my opinion.


Add command to the swan simulator

https://github.com/inductiva/tasks/issues/492
This PR allows the user to run swanrun or swan.exe.
By default it will use swanrun.
swanrun needs the flag -input
swan.exe takes no flags but needs the input file to be called INPUT (that should be responsibility of the user).
I had to remove the mpiexecuter since i need to build the command.

QA
For QA it's importante to test a few things:

Test the code in our tutorials, it should work with no problems.
Test with command="swanrun". In this step test with no n_vcpus, n_vcpus=1, n_vcpus=2
Test with command="swan.exe". In this step test with no n_vcpus, n_vcpus=1, n_vcpus=2 test with an MPI cluster

Note: for swan.exe you need to change the file name of a11refr.swn to INPUT

QA
@bgregoinductiva can you QA ?
For QA it's importante to test a few things:

Test the code in our tutorials, it should work with no problems.

Test with command="swanrun". In this step test with no n_vcpus, n_vcpus=1, n_vcpus=2

Test with command="swan.exe". In this step test with no n_vcpus, n_vcpus=1, n_vcpus=2 test with an MPI cluster

Note: for swan.exe you need to change the file name of a11refr.swn to INPUT

Sorry for the delay. @HenriquePreto could you do the QA, please? Otherwise, maybe tomorrow I'll have some time to do it.

QA
@bgregoinductiva can you QA ?
For QA it's importante to test a few things:

Test the code in our tutorials, it should work with no problems.

Test with command="swanrun". In this step test with no n_vcpus, n_vcpus=1, n_vcpus=2

Test with command="swan.exe". In this step test with no n_vcpus, n_vcpus=1, n_vcpus=2 test with an MPI cluster

Note: for swan.exe you need to change the file name of a11refr.swn to INPUT

Sorry for the delay. @HenriquePreto could you do the QA, please? Otherwise, maybe tomorrow I'll have some time to do it.

Yes, I can.

QA:

Test the code in our tutorials (same as testing with command="swanrun" with no n_vcpus): OK

"""SWAN example."""
import inductiva

# Instantiate machine group
machine_group = inductiva.resources.MachineGroup("c2-standard-4")
machine_group.start()

# Set simulation input directory
input_dir = inductiva.utils.files.download_from_url(
    "https://storage.googleapis.com/inductiva-api-demo-files/"
    "swan-input-example.zip", True)

# Initialize the Simulator
swan = inductiva.simulators.SWAN()

# Run simulation with config files in the input directory
task = swan.run(input_dir=input_dir,
                sim_config_filename="a11refr.swn",
                on=machine_group)

# Wait for the simulation to finish and download the results
task.wait()
task.download_outputs()

machine_group.terminate()

Test with command="swanrun" with n_vcpus=1: OK

# ...
task = swan.run(input_dir=input_dir,
                sim_config_filename="a11refr.swn",
                on=machine_group,
                n_vcpus=1)
# ...

Test with command="swanrun" with n_vcpus=2: OK

# ...
task = swan.run(input_dir=input_dir,
                sim_config_filename="a11refr.swn",
                on=machine_group,
                n_vcpus=2)
# ...

Test with command="swan.exe" with no n_vcpus (I had to rename the file a11refr.swn to INPUT): OK

# ...
task = swan.run(input_dir="swan-input-example",
                sim_config_filename="INPUT.swn",
                on=machine_group,
                command="swan.exe")
# ...

Test with command="swan.exe" with n_vcpus=1: OK

# ...
task = swan.run(input_dir="swan-input-example",
                sim_config_filename="INPUT",
                on=machine_group,
                command="swan.exe",
                n_vcpus=1)
# ...

Test with command="swan.exe" with n_vcpus=2: OK

# ...
task = swan.run(input_dir="swan-input-example",
                sim_config_filename="INPUT",
                on=machine_group,
                command="swan.exe",
                n_vcpus=2)
# ...

Test with command="swan.exe" with an MPI cluster: OK

"""SWAN example."""
import inductiva

# Instantiate machine group
mpi_cluster = inductiva.resources.MPICluster("c2-standard-4", 4)
mpi_cluster.start()

# Initialize the Simulator
swan = inductiva.simulators.SWAN()

# Run simulation with config files in the input directory
task = swan.run(input_dir="swan-input-example",
                sim_config_filename="INPUT",
                on=mpi_cluster,
                command="swan.exe")

# Wait for the simulation to finish and download the results
task.wait()
task.download_outputs()

mpi_cluster.terminate()


Add teleport and escape packet

I see you the *.xml line from the gitignore, but i suggest you do a pull and get the recent gitignore i just pushed. It just flat out ignores any files named "settings.xml" so you can put it wherever you need. It should also be ignoring any project config changes now, i hope.


report.py sends report to https://gist.github.com/

report.py sends the reports to https://gist.github.com/  with each report as individual file generating a single gist link

great :) :)


gpu utilization 100%

Firstly, I compile FT4.0 , then i join the enc dec so library into tensorflow serverint 1.15 to compile,  but when i start the serving. and access by grpc, then the gpu utilization become 100%.

Sorry. I don't understand your question.

I mean, After i compile the  tensorflow serving with custom FT4.0  library libtf_decoding_beamsearch.so libtf_decoding_sampling.so libtf_fastertransformer.so.
Then i start the serving with batch decoding function and load FT4.0 optimized model , then the gpu utilization will suddenly increate to nearly 100%, then the service cannot be access.
I cannot figure out what's wrong.

We don't test the TF serving although I heard some users use FT in TF serving successfully.
You can try the nsight systems to log the process to check that do we run any FT kernel? Or Add some debug information into FT TF Ops.

Do you use single thread?

It may be some bugs of multi-thread. We don't test of multi-threads, and some private resources may be shared under multi-thread.

I mean, After i compile the tensorflow serving with custom FT4.0 library libtf_decoding_beamsearch.so libtf_decoding_sampling.so libtf_fastertransformer.so. Then i start the serving with batch decoding function and load FT4.0 optimized model , then the gpu utilization will suddenly increate to nearly 100%, then the service cannot be access. I cannot figure out what's wrong.

Hi, @520jefferson
I'm trying to build TF Serving with FasterTransformers, what I know as so far:

compile FasterTransformers to get 'libtf_fastertransformer.so' file

I mean, After i compile the tensorflow serving with custom FT4.0 library libtf_decoding_beamsearch.so libtf_decoding_sampling.so libtf_fastertransformer.so.
Then i start the serving with batch decoding function and load FT4.0 optimized model , then the gpu utilization will suddenly increate to nearly 100%, then the service cannot be access.
I cannot figure out what's wrong.

Hi @520jefferson
I'm trying to compile TF serving with FasterTransformers. As far as I know:
step 1: Build FasterTransformers to obtain the "libtf_xxx.so" file. (I tried this with FT v5.3 but got files named "libtf_bert.so" and others, not libtf_fastertransformer.so.)
step 2: Compile TF serving with the .so file obtained in step 1 to get custom ops.
step 3: Serve the saved_model using the compiled TF serving.
Did I miss anything? Do I need to retrain and export a new saved_model with FasterTransformers, or just train with the official bert repo?
I would really appreciate it if you could provide some   help, Thanks!


Added package nimzbar

Wow. Nimble crashes with no error when installing this package.

I'll bet you are testing on Mac which I couldn't get working since there is no makefile I could refer to. I've put in an exit on Mac with a message and updated Readme but nimble doesn't print anything. It does work on other OS though.

https://irclogs.nim-lang.org/15-11-2018.html#00:38:41

I'm not going to add this package. Quitting with no message is terrible during an install.

Looks like I missed an echo - I had one in nimFastText. I've pushed a fix with a message.
https://github.com/genotrance/nimzbar/blob/master/nimzbar.nimble#L19
However, even with an echo, nimble doesn't print anything, but quits for sure.

Thanks!


update changelog

Pull Request Test Coverage Report for Build 60

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

Totals

Change from base Build 59:
0.0%

Covered Lines:
352

Relevant Lines:
365

💛  - Coveralls

/LGTM


[3.0] Extending SpatialMaterial

I want to extend the functionality of the built in material class in C++. There are a few things that are stopping me doing this, particularly - none of the methods are virtual, especially _update_shader
I want to make a terrain material that takes extra textures so being able to override set/get texture would be helpful if these were also virtual.
If this is something that the godot team are interested in I might do a fork and make some engine changes and commit them back.

Isn't that a very specific use case? You don't you create your own shader in order to input more textures and use them in a custom way?

yes and no, in that is is a more specific use case but it might still be used in a variety of ways for a variety of reasons.
Inheriting the engine material would allow me to have flexibility where i need it but to be able to add/replace/modify the base material functionality.

Virtually all 3D games have terrains, so I don't agree this is a specific use case in that sense.
Both Unity and Unreal come with extensive terrain engines. What I'd argue is that, Godot should also come with a terrain engine.

While I get where tagcup is coming from I'd rather have a flexible tool-set for building my own custom terrain system/engine than have the kind of inflexible terrain system that say unity for an example has. Then again unity isn't necessarily the best example anyways - their terrain system is very old(~2006).

This is a false dichotomy: there is nothing that would stop you from rolling your own custom terrain system, because editor plugins, modules and GDNative will still be there.

Sure, but I'd have to start from scratch, no? I'm saying I want to have my easy bake cake and eat it too. ;)

You want a terrain system, but you also want "have a tool-set for building your own custom terrain system/engine". I really don't know how that's going to work. Do you have any concrete plans how that can be realized?
In any case, all I was saying is that it would be nice if Godot shipped with a terrain engine, because that's a pretty common need and all other top engine come with some sort solution. I don't remember saying "let's make a clone of Unity's terrain engine" at any point.

Also, no, I don't think you'll have to start from scratch. If Godot ever comes with a terrain engine, it's going to be an editor plugin, which you can extend/fork.

Just leaving that here re: the terrain discussion: https://github.com/Zylann/godot_terrain_plugin

sorry. I missed this! I don't think doing this is the right way to go. For terrain, you also probably don't need to override this either, but create materials on the fly. you simply can't just mix and match materials in a terrain


Fix undefined variables for color maps

For this issue https://github.com/dwavesystems/dwave-networkx/issues/232

I'll put in some tests


zgui: Add Drag And Drop API

This PR adds the ImGui Drag And Drop API, which was missing, to zgui.
I tested some basic functionality (essentially reimplemented the example in imgui_demo.cpp here) and it seems to work.
I'm not sure whether the C++ code is formatted correctly, I did it by hand but I don't know if I'm supposed to run it through some formatter.

Looks good, thanks! I'll review properly later today.
We don't use anything for C++ formatting currently. Maybe we should but that's another topic.

By the way, I have created an issue to address ABI compat on non 32-bit word systems: https://github.com/zig-gamedev/zig-gamedev/issues/483

Actually now that I'm looking at the Payload struct I see that data_type is a [32:0]c_char. Should the functions that take the type as its parameter somehow validate the size zig-side or do we leave that up to imgui?

I think I'll add a doc comment that clarifies this

Actually now that I'm looking at the Payload struct I see that data_type is a [32:0]c_char. Should the functions that take the type as its parameter somehow validate the size zig-side or do we leave that up to imgui?

Good question. I think we should keep the bindings shallow and let Dear Imgui do what it does, which in this case appears to be just a strcmp which will determine that 2 null terminated strings of different lengths are never equal.

Yup! 👍


Incompatibility warning when upgrading to React 18

I have upgraded our app with React 18 got the below warning since I am using react-webcomponentify.

Since React 18 is not supporting ReactDOM.render we are getting this. Instead of that we should use createRoot API and its mentioned in their upgrade guide.
I suggest to upgrade the library to support React 18 with proper backward compatibility with older versions.
I would love to contribute on that.
Let me know if you have any nicer suggestion or any plans already in mind @kopach @a7ul .

Awesome @ududsha can you maybe raise a pr for this?

Sure Let me work on it! Thanks @a7ul

Hi @a7ul, I have upgraded the library with React18, but it seems still have issues when we are going to use in another project. Really appreciate if someone can help checking this => https://github.com/ududsha/react-webcomponentify/commits/feature/upgrade-to-react18


test: try to fix Codecov configuration

There was this dependabot PR which I confirmed was working and merged: https://github.com/opentargets/genetics_etl_python/pull/301
The tests were passing in the PR, but after merging they failed in the main branch with the following error message:
[2023-12-04T20:52:25.943Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Could not find a repository associated with upload token ***', code='not_found')}
Our project indeed has a CODECOV_TOKEN secret, which is picked up by the workflow. It was updated 15 hours ago, and it looks like the tests have started failing since then.
Codecov documentation mentions (first question, last paragraph) that this token is not required for public repositories, so my idea is that by removing this entirely we might resolve the problem.

Ah, no, I think I've got it. Despite what the documentation says (unexpected right?), it looks like starting with Codecov v4 upload token is actually required even for public repositories. I've now updated it and restarted the test for the main branch, see if it works

Yes, that helped!

Closing this PR as no longer necessary.

Indeed, I updated the token yesterday to see if that resolved the issues. The Codecov upload is a bit of a hit-and-miss at the moment. They have been recently acquired and it doesn't seem to be in a stable state. I've been monitoring whether people will be jumping out or using any alternative, but there is some inertia at the moment.


unable to claim responsive certification

it looks like you have not completed the necessary steps. Please complete the required challenges to claim the Responsive Web Design

Duplicate of #17698 - It was marked as closed when a PR was submitted & merged http://here. You'll just have to wait for it to be deployed which is explained in the last post there.

closed as duplicate of #17698


Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[x] iOS
[x] Android
[x] UWP
[x] .NET Standard

Version of Library
7.0.25
Version of OS(s) listed above with issue
All
Steps to Reproduce

Open changelog file: https://github.com/aritchie/userdialogs/blob/master/docs/changelog.md
Last indexed version is 7.0.2 (6 months ago)

Expected Behavior
Changelog should be updated to last version available to Nuget
Actual Behavior
Changelog file is 6 months ago

please don't file requests about docs.  I'm one person.  There have only been minor touches since 7.0.2

It's not a direct request, I'm tracking an issue. I could be willing to help if you want.


apt dist-upgrade is too slow - kali linux - WSL 2

Windows Version
Version 10.0.22631.3593
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-2
Distro Version
kali linux - 2024.2
Other Software
upon entering apt-get upgrade , terminal just says -- Nothing to restart, its been 2 hours. it doesnt do anything.
Fetched 48.0 MB in 8s (6,172 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 30058 files and directories currently installed.)
Preparing to unpack .../base-files_1%3a2024.2.0_amd64.deb ...
Unpacking base-files (1:2024.2.0) over (1:2024.1.0) ...
dpkg: warning: unable to delete old directory '/lib/systemd/system-preset': Directory not empty
Setting up base-files (1:2024.2.0) ...
(Reading database ... 30058 files and directories currently installed.)
Preparing to unpack .../libc-l10n_2.38-10_all.deb ...
Unpacking libc-l10n (2.38-10) over (2.37-12) ...
Preparing to unpack .../locales-all_2.38-10_amd64.deb ...
Unpacking locales-all (2.38-10) over (2.37-12) ...
Preparing to unpack .../libc6_2.38-10_amd64.deb ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking libc6:amd64 (2.38-10) over (2.37-12) ...
Setting up libc6:amd64 (2.38-10) ...
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
Repro Steps
apt-get upgrade
Expected Behavior

Actual Behavior
it should install within few mins / sec but its taking hours.
Diagnostic Logs
No response

I have same problem. No works for 7 hours.
I attach the log file from my pc.
WslLogs-2024-05-29_05-56-42.zip

Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs

I have same problem. No works for 7 hours.
I attach the log file from my pc.
WslLogs-2024-05-29_05-56-42.zip

i think this will solve your issue https://github.com/microsoft/WSL/issues/11631#issuecomment-2143540987


GEODE-3411 Suspect the member by it's own member-timeout instead of locator's.

…ternal/membership/NetView.java
modified:   geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
modified:   geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeave.java
modified:   geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/messages/JoinRequestMessage.java
modified:   geode-core/src/test/java/org/apache/geode/distributed/internal/membership/gms/fd/GMSHealthMonitorJUnitTest.java
modified:   geode-core/src/test/resources/org/apache/geode/codeAnalysis/sanctionedDataSerializables.txt

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

The idea is to make a member to survive in the view for a little longer time than others.
But we cannot do with the current suspect mechanism.
Now a member can be removed from the view in two cases: one is missing heartbeat and second is missing acknowledgement of message.
In the first case ,the final check is done by coordinators member-timeout and in the second case the final check done by suspecting member by its own timeout.
So, in these two cases if we manage to suspect the member by the member-timeout of the suspected one in the final check then we can achieve to make a member survive in the view a little longer by configuring a greater member-timeout to that member.


GIC smp and ls1046a SMP

Enable SMP for GIC driver.
Add NXP ls1046ardb SMP support.

@stephanosio and @nashif, would you please review this pull request? thanks.


New Testimonial for Nwoke Emmanuella

Name
Ellah120
Title
Testimonial For Ellah
Description
She's a very hardworking and resilient developer with top-notch coding skills. Ellah has so much energy when it comes to delivering scalable and awesome Frontend applications built with the most stable and awesome libraries like Reactjs.

Awesome 🎉


bug: Individual imports not working

Hi Matt,
it seems that the individual entrypoints for the helpers are broken.
For example, considering the following:
import "@total-typescript/ts-reset/array-includes";
import "@total-typescript/ts-reset/fetch";

const users = ["matt", "sofia", "waqas"] as const;

const isUser = (input: string) => {
  if (users.includes(input)) {
    // input is narrowed to "matt" | "sofia" | "waqas"
    console.log(input);
  }
};

fetch("/")
  .then((res) => res.json())
  .then((json) => {
    console.log(json); // any
  });

Shows an error in users.includes and console.log(json) is still any.
However, including the whole library works just fine:
import "@total-typescript/ts-reset";

const users = ["matt", "sofia", "waqas"] as const;

const isUser = (input: string) => {
  if (users.includes(input)) {
    // input is narrowed to "matt" | "sofia" | "waqas"
    console.log(input);
  }
};

fetch("/")
  .then((res) => res.json())
  .then((json) => {
    console.log(json); // any
  });

Package to test:
{
  "name": "tsresettest",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@total-typescript/ts-reset": "^0.3.7",
    "typescript": "^4.9.5"
  }
}

CodeSandbox: https://codesandbox.io/s/serene-mountain-rebrlv?file=/src/index.ts

You're using "module": "commonjs", in your tsconfig.json.
Probably worth a note about this in the readme.

Yeah, that makes sense! Definitely worth it to document it to the README. Thanks for the answer!

Added to readme!

Also worth noting that "moduleResolution": "node", in the tsconfig.json also stops the individual imports from working. Want me to open a PR @mattpocock ?

Oh, for some more clarity - I found I couldn't actually update both module and moduleResolution in my project because of other bundling import issues. ie it would have required more refactoring that wasn't quite as easy.
Instead, I kept my tsconfig.json as it was and just imported individual features like this from the dist dir:
'@total-typescript/ts-reset/dist/json-parse'


Question

Hey,
offtopic, but do you know if its possible to add/remove WhatsApp contact in some automated way using Selenium?
thanks in advance
Roman

Hey Roman,
I saw your last answer but I have not had time to debug yet!
I'm not familiar with adding or removing contacts via wpp web, but everything you can do manually with whatsapp web you can automate with selenium for sure.
You're welcome
Filipe

Thanks for your response. I now managed to sync contacts on some emulated device to keep contacts coming from an API updated. Not sure how effective it will be to use selenium now to automate adding/deleting these contacts to/from multiple broadcast lists. But i also cannot see any alternative way to solve this as there seems to be no other way instead of browser automation here.

Hm i noticed you cannot manage contacts on WhatsApp Web, also you cannot manage broadcast lists so i don´t see a way to automate this with Selenium. I really wonder how people doing this... :(


Infowindow scroll doesn't work under IE11

https://github.com/CartoDB/cartodb-management/issues/4256

There has been no activity on this issue for several months and that's why we are closing it (automatically). If you think this still needs to be addressed please reopen it. The good news is that we are now working on the next version of CARTO.js, stay tuned.