.listeners() is not implemented.

Currently .listeners(eventName) works as an alias for .rawListeners(eventName)
When used after calling .once() or.prependOnceListener, this may cause some issues.

Fixed in PR #3 (Thanks @Balou9)


Does bluerredfox support FireFox Developer Edition?

I am trying to install for Firefox Developer, but when I run
 bash -c "$(curl -fsSL https://raw.githubusercontent.com/manilarome/blurredfox/master/install.sh)"

It's returning
[!!] No firefox user profile directory found. Make sure to run firefox atleast once! Terminating...

Does blurredfox support FireFox Developer edition?

Sorry for the duplicate issue, I did it by mistake (Already did it at #18 ). Closing this one.


[azure-security-attestation-cpp] Use non-deprecated syntax

Updating a single line in the released SDK to a syntax that works with both old and new azure-core-cpp versions. The old syntax will be deprecated in the upcoming azure-core-cpp release, which, if not fixed, will result in deprecation warnings (potentially treated as errors) for the existing azure-security-attestation-cpp customers.

Has this been submitted upstream?

@BillyONeal, I have updated the PR so that it matches the line numbers exactly, so it is easier to verify visually.
Thank you for checking - yes, this change is in azure-sdk-for-cpp repo, see the latest main - https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/attestation/azure-security-attestation/inc/azure/attestation/attestation_client.hpp#L187
The line numbers have changed since then, but here would be this line in the azure-security-attestation_1.1.0 release - https://github.com/Azure/azure-sdk-for-cpp/blob/azure-security-attestation_1.1.0/sdk/attestation/azure-security-attestation/inc/azure/attestation/attestation_client.hpp#L176-L179 (GetOpenIdMetadata() function). And if you look around, {} for the context parameter is used in other functions in the same file.
We just feel, this change is not sufficient to make another release of azure-security-attestation, so we just patch it. In the upcoming release, Context::ApplicationContext is deprecated: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/core/azure-core/inc/azure/core/context.hpp#L379-L381

Thanks!


[Storage] Update polyfill to fix the failed browser tests in IE

Why are we updating polyfill?
In the core-logger package, debug shim uses Object.assign which is incompatible with IE11

Introduced here - https://github.com/Azure/azure-sdk-for-js/blob/5297357da043fd539b5053c99ddc49e18394ae5e/sdk/core/logger/src/debug.ts#L133
Updating the polyfill wiith Object.assign fixes the issue. Thanks to @chradek, for suggesting the fix.
Browser Tests
BLOB - IE

FILE - IE

(Failed test - Known Issue - IE behavior)
QUEUE - IE

Merged this since it is a much-needed fix that should be done before the release.


Double-initialize shadow regs at boot

I tested this in a couple scenarios, and it really seems to be best.


Triton Engine did not auto update to new model after retraining

I saw this line in the readme:
"Notice: If we re-run our keras training example and publish a new model in the repository, the engine will automatically update to the new model."
I have a created a serving service. However, when i retrain my model with same project and task name, and publish the model once training is done, the model version deployed in triton is not updated.
May I know if this is a bug or did I misunderstand some steps?

Apologies, my mistake. My serving service was not handled by an agent.


Fix: remove bolt-button[type] browser defaults

Summary
Fixes a bug when bolt-button[type] is rendering browser default button styles.
Details

Changed the CSS to specifically target bolt-button[type].
We need to avoid using existing HTML attribute name as prop name. This is a prime example of unexpected behaviors.

How to test
Run the branch locally and find a bolt-button, add type="submit" and see if it produces browser default button styles in Safari. Also check the typeahead docs, make sure the search icon button does not look like a browser default button.

We need to avoid using existing HTML attribute name as prop name. This is a prime example of unexpected behaviors.

This issue here is that [type="submit"] conflicting with our own global styles (normalize) not default browser styles. It might still be a good idea to not have a prop "type". I just want to be clear on where the unexpected side-effects are coming from.

We need to avoid using existing HTML attribute name as prop name. This is a prime example of unexpected behaviors.

This issue here is that [type="submit"] conflicting with our own global styles (normalize) not default browser styles. It might still be a good idea to not have a prop "type". I just want to be clear on where the unexpected side-effects are coming from.


feat(repeater): disconnect on process termination

closes #41

🚧 should be rebased after merge of #28


Setting baseUrl in protractor.conf is not working

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

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.7
@angular-devkit/build-angular     0.6.7
@angular-devkit/build-optimizer   0.6.7
@angular-devkit/core              0.6.7
@angular-devkit/schematics        0.6.7
@angular/cli                      6.0.7
@ngtools/webpack                  6.0.7
@schematics/angular               0.6.7
@schematics/update                0.6.7
rxjs                              6.2.0
typescript                        2.7.2
webpack                           4.8.3

node: v10.2.1
npm: 6.1.0
macOS High Sierra 10.13.4

Repro steps

In a new Angular Cli project, in the e2e folder open protractor.conf.js
change baseUrl to https://google.com
run ng e2e

Observed behavior
The brower opens up to http://localhost:4200/ and not https://google.com

Desired behavior
I think it should go to what the baseurl is set to.
Mention any other details that might be useful (optional)
I add browser.sleep(900000) in the first test after navigateTo so I have time to see what is going on.

I have the same problem here. Is there any information about when this is fixed? Or is there a certain workaround?

It seems to have to do with using the "serve" target for that configuration, which for some reason overwrites the baseUrl from the protractor.conf. We managed to work around it by either modifying the default "production" e2e config to not use the "serve" as "devServerTarget", or creating a separate configuration in the e2e project part of the angular.json for accessing a difference webserver, like this:
"e2e": {
  "builder": "@angular-devkit/build-angular:protractor",
  "options": {
   },
  "configurations": {
     "local": {
        "protractorConfig": "./protractor.conf.js"
        "devServerTarget": "my-app:serve:production",
      },
     "remote": {
        "protractorConfig": "./protractor.conf.remote.js",
      }
   }
}

The first "local" config is used for e2e testing against a locally running "ng served" web server, and the "remote" config is used to run the test suite against a remote web server, which is configured using the baseUrl in the different protractor.conf.testautomation.js.
Maybe this will help other people with the same problem, too.

You can pass --public-host arg to your ng e2e call (i.e: ng e2e --public-host="https://hostname.com")

@Schmaga - Leaving the "options" block empty like that causes the following error:
Schema validation failed with the following errors:   Data path "" should have required property 'protractorConfig'.
I have a local build that needs to point to a dedicated selenium server (not localhost) and while I was hopeful this would work, isn't acting as expected even when I add distinct 'baseURL' arguments to both "remote" and "local" blocks within "configurations"

Here's my angular.json block for 'e2e':
"e2e": {
  "builder": "@angular-devkit/build-angular:protractor",
  "options": {
    "protractorConfig": "./tests/e2e/protractor.conf.js",
    "devServerTarget": "my-app:serve",
  },
  "configurations": {
    "local": {
      "protractorConfig": "./tests/e2e/protractor.conf.js",
      "devServerTarget": "my-app:serve",
      "baseUrl": "https://my.remote.selenium.server.com/"
    },
    "remote": {
      "baseUrl": "https://my.remote.selenium.server.com/"
    }
  }
}

@mtaylor769 Sorry I should have explained that the options block was omitted for brevity

@Schmaga understood, but I'm still seeing the issue of it redirecting to localhost:4200 in the 'beforeEach' in the spec unless I prepend some sort of 'baseURL' that's hardcoded in a config somewhere. My understanding was that the variables declared and set in the beforeEach were then in scope for the subsequent tests.
One note, however, I am using Page Object Models and it's the browser.get() calls in those that I am seeing this behavior in.
(https://github.com/angular/protractor/blob/master/docs/page-objects.md)

@mtaylor769 Are you sure you are not still using the "serve" target? That always seems to overwrite the baseUrl.

I am running e2e tests from Jenkins and my base url depends on some parameter passrd to the Jenkins job. so how I will pass baseUrl to the e2e test from the command.
previously I was doing ng e2e --base-url="http://mysite.com" how I will do the same thing in angular cli 6 and higher. currently I am using angular 7.0.0-beta.6

I'm setting up a Selenium grid and after getting it to work, wanted to share a composition of what you need to do.
Basically the workaround is to remove the devServerTarget from myapp-e2e.targets.e2e.options and manually serve, so something like this for an external e2e server that needs to talk to your app:
angular.json snippet:
"myapp-e2e": {
  "root": "e2e/",
  "projectType": "application",
  "targets": {
    "e2e": {
      "builder": "@angular-devkit/build-angular:protractor",
      "options": {
        "protractorConfig": "e2e/protractor.conf.js"
      },
      "configurations": {
        "production": {
          "devServerTarget": "myapp:serve:production"
        }
      }
    },

protractor.conf.js:
directConnect: false,
seleniumAddress: 'https://salenium.myapp.com/wd/hub',
baseUrl: 'http://somewhere-where-selenium-can-access-ng-serve:4200',

commands to run in parallel:
ng serve --host=<IP_ADDRESS> --disable-host-check
ng e2e

ng e2e will instruct the external Selenium server to run tests against the server accessible via baseUrl

Unless I'm missing something here, this behaviour is very much intended.
When devServerTarget is present in the options and is different from an empty string, the protractor baseUrl will always be overwritten with a computed value. Semantically it means "I want to test this dev server". All the host related options from the devServer (publicHost, host, ssl, port) will be used in this computation.
So if you don't actually want to use the devServer, you should create a configuration that sets "devServerTarget": "". If you want to use the devServer exposed in another address, I'd suggest using publicHost on the devServer target.

One problem I have is that the value needs to be dynamic as we don't know where the server is going to be accessible from ahead of time.
We're using Jenkins pipelines to run the e2e tests. That Jenkins executor is bought up dynamically within a Kubernetes cluster and will have a randomised IP. Our Selenium grid deploys pods in Kubernetes and needs to be able to access the ng e2e web-server running within randomly placed Jenkins executor pod.
package.json scripts:
"scripts": {
  "e2e": "ng e2e",
  "e2e:ci": "CI=true npm run e2e",
  "serve": "ng serve --host=<IP_ADDRESS> --disable-host-check"
}

Jenkinsfile pipeline for starting the e2e tests:
POD_POST = sh (
    script: 'ip r show dev "$(ip r|awk \'$1=="default"{print$NF}\')"|awk \'$1!="default"{print$NF}\'',
    returnStdout: true
).trim()
withEnv(['POD_HOST=' + POD_POST]) {
    sh 'docker-compose up --abort-on-container-exit ngserve e2e'
}

docker-compose.yml:
services:
  ngserve:
    image: app
    build: .
    command: npm run serve
    ports:
      - "4200:4200"

  e2e:
    image: app
    command: npm run e2e:ci
    depends_on:
      - ngserve
    environment:
      POD_HOST:

Inside the protractor.config.js file:
baseUrl: process.env.CI ? `http://${process.env.POD_HOST}:4200` : 'http://localhost:4200/',
directConnect: process.env.CI ? false : true,

When you deploy within a K8S cluster the host/port are totally randomised and I don't see how this can be accomplished within angular.json without using bash magic

@intellix no, there isn't a good way to call call ng e2e and send CLI overrides to the serve command, unfortunately.
That's an interest use case. I'm not sure how it can be addressed without fully exposing all transitive dependencies. Perhaps by allowing the config file to pull values from the environment or commands.

One problem I have is that the value needs to be dynamic as we don't know where the server is going to be accessible from ahead of time.
We're using Jenkins pipelines to run the e2e tests. That Jenkins executor is bought up dynamically within a Kubernetes cluster and will have a randomised IP. Our Selenium grid deploys pods in Kubernetes and needs to be able to access the ng e2e web-server running within randomly placed Jenkins executor pod.
package.json scripts:
"scripts": {
  "e2e": "ng e2e",
  "e2e:ci": "CI=true npm run e2e",
  "serve": "ng serve --host=<IP_ADDRESS> --disable-host-check"
}

Jenkinsfile pipeline for starting the e2e tests:
POD_POST = sh (
    script: 'ip r show dev "$(ip r|awk \'$1=="default"{print$NF}\')"|awk \'$1!="default"{print$NF}\'',
    returnStdout: true
).trim()
withEnv(['POD_HOST=' + POD_POST]) {
    sh 'docker-compose up --abort-on-container-exit ngserve e2e'
}

docker-compose.yml:
services:
  ngserve:
    image: app
    build: .
    command: npm run serve
    ports:
      - "4200:4200"

  e2e:
    image: app
    command: npm run e2e:ci
    depends_on:
      - ngserve
    environment:
      POD_HOST:

Inside the protractor.config.js file:
baseUrl: process.env.CI ? `http://${process.env.POD_HOST}:4200` : 'http://localhost:4200/',
directConnect: process.env.CI ? false : true,
seleniumAddress: 'https://zalenium.k8s.ourserver.io/wd/hub',

When you deploy within a K8S cluster the host/port are totally randomised and I don't see how this can be accomplished within angular.json without using bash magic
Everything I used to use was ripped away from CLI and placed into static configuration files and it just gets more and more difficult to accomplish :)

I'm faced with a similar issue, except I'm using Travis CI. During my builds, I need to get the Docker Host IP in Travis CI, and I'm not certain if that IP will be random. It is the last piece I need to ensure my angular e2e tests pass on Travis CI.


functions?

Thank you very much for such nice and simple to use package
I'm trying to test if I can use OpenAI functions but not sure if the script will keep function message if it will truncate the messages
will it never truncate functions?

All the wrappers forward everything, so functions should work just fine. Let me know if you see otherwise

Huh, it would be nice to support. We just need to add the function blocks in the token calculations right?

Huh, it would be nice to support. We just need to add the function blocks in the token calculations right?

Yes correct
Usually it's large test resulted from calling a function as requested by openai
I think after openai reads the function and response with assistant . The function in most of cases is not needed any more
But I would make this function truncate as optional - maybe other cases need it all the time

Interesting. I looked up docks and it’s passed as some sort of a system prompt trained to interpret functions, but not sure on the exact token counting.
I would love to support it, but docs on token counting for functions is too opaque unless you can find something…


Logging update for 3.2.0 reload4j

Since 3.2.0 now uses reload4j rather than log4j 1, if you want to continue to swap in log4j2 instead then we should update the dependency exclusion to leave out reload4j instead of log4j.

Closing this as it has messy history from another change that I had applied on my master branch, and might message up the history.


Clean up CSS

Connect Logout button in navbar to Ben's Logout page.
Make a button on Logout Screen to reroute users to the Logon page.
Style Nate's calendar page to have calendar display over a large part of the screen.
Add Navbar to Calendar page.


Switcher signs not working properly

##### BkCommonLib version: 1.14.4-v1
Spigot version: 1.14.4-R0.1-SNAPSHOT

Problem or bug: Switcher signs using TCC on latest version of train carts/tcc plugin tends not to work properly on some straight/angle track and will bounce back trains when used to activate a destroy sign and will destroy the front car if empty as it bounces back, Have tried moving the sign on different sides of the block, but would either not work at all or still bounce the train back and destroy front car. However it will sometimes work as intended on certain track if switcher was moved on a opposite block face that it was previously on but on other track it will not.
Expected behaviour: Trains filled should keep moving to the destination and empty trains should be destroyed.
Steps to reproduce: Set up as seen below shows what it does. (command block is for respawing a button so ignore that) For steps to try and reproduce bug make angled TCC track and set up switcher destroyer as seen in the images and connect to a track node. (Hope you can reproduce bug and fix it as we open our server at the end of the month.)

Transferred as it is a TrainCarts issue, not a BKCommonLib issue.

Can you get a video here to show exactly what you mean? The dev is not able to respond immediately, so we would like to collect as much information as possible before he looks into this.

I will try to as i don't have access to the console and we reverted to the previous version we had before.

I will let the Dev on the server know so i can try and get that video to you.

Here's the error message from our console from the latest version that we downloaded from the spigot site.
12.08 20:43:44 [Server] ERROR [Train_Carts] Failed to execute GROUP_ENTER for SignActionSwitcher: 12.08 20:43:44 [Server] INFO java.lang.NullPointerException: null 12.08 20:43:44 [Server] INFO at com.bergerkiller.bukkit.tc.events.SignActionEvent.setRailsFromTo(SignActionEvent.java:440) ~[?:?] 12.08 20:43:44 [Server] INFO at com.bergerkiller.bukkit.tc.events.SignActionEvent.setRailsTo(SignActionEvent.java:382) ~[?:?] 12.08 20:43:44 [Server] INFO at com.bergerkiller.bukkit.tc.signactions.SignActionSwitcher.execute(SignActionSwitcher.java:153) ~[?:?] 12.08 20:43:44 [Server] INFO at com.bergerkiller.bukkit.tc.signactions.SignAction.executeAll(SignAction.java:279) ~[?:?] 12.08 20:43:44 [Server] ERROR [Train_Carts] Failed to perform physics on train 'train1' at mk_210_72_1366: 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] java.util.ConcurrentModificationException 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at java.util.ArrayList$Itr.next(ArrayList.java:859) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.bukkit.common.collections.List2DIterator.next(List2DIterator.java:53) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.bukkit.tc.controller.components.SignTracker.updateActiveSigns(SignTracker.java:118) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.bukkit.tc.controller.components.SignTrackerGroup.refresh(SignTrackerGroup.java:192) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.bukkit.tc.controller.MinecartGroup.doPhysics_step(MinecartGroup.java:1482) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.bukkit.tc.controller.MinecartGroup.doPhysics(MinecartGroup.java:1408) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.bukkit.tc.controller.MinecartMember.onTick(MinecartMember.java:1918) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.bukkit.common.internal.hooks.EntityHook.onTick(EntityHook.java:118) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.mountiplex.reflection.util.fast.GeneratedInvoker$mplgene336b2b.invokeVA(Unknown Source) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.mountiplex.reflection.util.FastMethod.invokeVA(FastMethod.java:112) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at com.bergerkiller.mountiplex.reflection.ClassInterceptor$CallbackMethodInterceptor.intercept(ClassInterceptor.java:655) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at net.minecraft.server.v1_14_R1.EntityMinecartRideable$$EnhancerByCGLIB$$525274f2.tick(<generated>) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at net.minecraft.server.v1_14_R1.WorldServer.entityJoinedWorld(WorldServer.java:584) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at net.minecraft.server.v1_14_R1.World.a(World.java:936) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:356) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1207) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:417) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1074) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:918) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib]   at java.lang.Thread.run(Thread.java:748)

One more bug to Report in that when trains are present on a server when it goes down and restarted they appear as minecarts and not what they were saved as or showed up as.

Here's the video that was requested: https://www.youtube.com/watch?v=9dZcU2hP7jo&feature=youtu.be

Ok, are you using your switcher signs to toggle levers only, or to switch the track as well?

Mostly for levers used to destroy trains and to replace a button if they are empty as seen in the video, however switchers with 2: and 3: statements for diverting trains when empty seems to work fine, at least from what i have seen on the ride i installed it on.

We have found a temporary fix to our issue from our dev going though the plugin files and he found that adding "continue" on the last line of sign text might work and it has been at least for now.

If its only toggling levers, line one should be changed to [-train] to prevent the rail switcher from kicking in, you add8 ng continue there might have introduced a new bug

I will give it a try and see what happens.

I have given your sign change a try in some areas that we were having the issue and it indeed worked and the command block still activated, but if we run into this problem again i will let you know and also hope this still gets fixed for those who don't know whats going on with their trains that have the same problem that we had.

Here's the error message from our console from the latest version that we downloaded from the spigot site.
12.08 20:43:44 [Server] ERROR [Train_Carts] Failed to execute GROUP_ENTER for SignActionSwitcher: 12.08 20:43:44 [Server] INFO java.lang.NullPointerException: null 12.08 20:43:44 [Server] INFO at com.bergerkiller.bukkit.tc.events.SignActionEvent.setRailsFromTo(SignActionEvent.java:440) ~[?:?] 12.08 20:43:44 [Server] INFO at com.bergerkiller.bukkit.tc.events.SignActionEvent.setRailsTo(SignActionEvent.java:382) ~[?:?] 12.08 20:43:44 [Server] INFO at com.bergerkiller.bukkit.tc.signactions.SignActionSwitcher.execute(SignActionSwitcher.java:153) ~[?:?] 12.08 20:43:44 [Server] INFO at com.bergerkiller.bukkit.tc.signactions.SignAction.executeAll(SignAction.java:279) ~[?:?] 12.08 20:43:44 [Server] ERROR [Train_Carts] Failed to perform physics on train 'train1' at mk_210_72_1366: 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] java.util.ConcurrentModificationException 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at java.util.ArrayList$Itr.next(ArrayList.java:859) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.bukkit.common.collections.List2DIterator.next(List2DIterator.java:53) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.bukkit.tc.controller.components.SignTracker.updateActiveSigns(SignTracker.java:118) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.bukkit.tc.controller.components.SignTrackerGroup.refresh(SignTrackerGroup.java:192) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.bukkit.tc.controller.MinecartGroup.doPhysics_step(MinecartGroup.java:1482) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.bukkit.tc.controller.MinecartGroup.doPhysics(MinecartGroup.java:1408) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.bukkit.tc.controller.MinecartMember.onTick(MinecartMember.java:1918) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.bukkit.common.internal.hooks.EntityHook.onTick(EntityHook.java:118) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.mountiplex.reflection.util.fast.GeneratedInvoker$mplgene336b2b.invokeVA(Unknown Source) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.mountiplex.reflection.util.FastMethod.invokeVA(FastMethod.java:112) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at com.bergerkiller.mountiplex.reflection.ClassInterceptor$CallbackMethodInterceptor.intercept(ClassInterceptor.java:655) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at net.minecraft.server.v1_14_R1.EntityMinecartRideable$$EnhancerByCGLIB$$525274f2.tick(<generated>) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at net.minecraft.server.v1_14_R1.WorldServer.entityJoinedWorld(WorldServer.java:584) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at net.minecraft.server.v1_14_R1.World.a(World.java:936) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:356) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1207) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:417) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1074) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:918) 12.08 20:43:44 [Server] ERROR [BKCommonLib] [BKCommonLib] at java.lang.Thread.run(Thread.java:748)

If this still occurs, please open a new issue ticket for this, and add information as to when this happens

I have given your sign change a try in some areas that we were having the issue and it indeed worked and the command block still activated, but if we run into this problem again i will let you know and also hope this still gets fixed for those who don't know whats going on with their trains that have the same problem that we had.

The thing that was happening with you, is that the switcher is powered by !, thus it was launching the train towards the switcher's left. Using - disables the switching part.


No Transparency

It removes the transparency feature of wingpanel. Any way to fix that?

I know that there is an issue with transparency and I think that is because of the charts.
I am still thinking how to solve this issue.

Hi!
I fix your trasparency problem in elementary with apps.css edit.
Just open with gedit /usr/share/themes/elementary/gtk-3.0/apps.css file
Then I found .panel.translucent and .panel.color-light.translucent classes and set background-color to trasparent instead of alfa.
That's all.

I tried it. works but it also disable the feature of dynamically change the font color of the panel according to the light/dark wallpaper

trasparent

This used to work for me last time. But this time around I guess it is not reading the properties from apps.css. I have changed and ran killall wingpanel but its not changing accordingly :/

Having same issue and changing background-color to transparent seems to doesn't work anymore.

Any progress on this?

its still

Any progress on this?

just reinstalled to check. It's still the same. no transparency.

Anyone knows where does this wingpanel version read its config from?


Consider reusing Effectful.Process.Process effect

Following the discussions after the effects talk at BobKonf 2023 it is not clear to me  why we shouldn't reuse the Process effect defined in Effectful.Process of the effectful package. As both TypedProcess and Process are static effects with compatible representation and the different semantics are captured in the operations it is possible for them to share the effect in the effect row, i.e. Process :> es => Eff es a instead of (Process :> es, TypedProcess :> es) => Eff es a. I am not sure if I am missing something here.
@arybczak Do you remember why we went with two separate effects in the first place? I know we had a discussion about that, but I couldn't find anymore.

@arybczak Do you remember why we went with two separate effects in the first place? I know we had a discussion about that, but I couldn't find anymore.

We did? :D I don't remember. Having just Process sounds good to me.

We did? :D I don't remember.

Forgetful me; You're right, we didn't! The reasons I chose different names is because Process/runProcess clashes with names from typed-process. See https://github.com/haskell-effectful/typed-process-effectful/pull/4 for a solution.


Add Ray address env.

Why are these changes needed?

Adds RAY_ADDRESS env variable for Ray containers.
Allows using the natural-looking ray.init() to connect to Ray from within the cluster, rather than the mystical ray.init("auto")

Fixes a bug: currently workers look to their own RayStartParams for the Ray GCS server port. They should look at the head's RayStartParams instead. This bug fix required modifying function signatures a bit.

Related issue number

Closes https://github.com/ray-project/kuberay/issues/373
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[x] Unit tests
[x] Manual tests
I tested connecting to Ray with ray.init() on the head node.
[ ] This PR is not tested :(

Kind of overwhelmed today. I will help review the change tomorrow morning.

Will let GCS HA https://github.com/ray-project/kuberay/pull/294 get merged first to avoid blocking it with a merge conflict.

@DmitriGekhtman HA PR has been merged. This one is unblocked now. Seem it does have few conflicts.

The nightly compatibility test has been unhappy lately.
It might make sense to view that one as "non-blocking" given that it is sensitive to changes in another repo.


Node emits new message instead of received one and drops additional data

After upgrading from version 0.5.8 to 0.6.0 the node no longer passes on the message that it received. This can be observed by looking at the debug out and also the message id of the node in the attached picture. This makes it impossible to work in the native node-red way of passing on messages because all the previous information is lost when passing though the node.

I can confirm this. For the use of the node, it is essential that the data from the input message is transferred to the output message (except for payload). Without a corresponding adjustment, the Node in version 0.6 cannot be used sensibly.

@recursivecodes , Can you please take a look at this issue?
Apparently, we are losing message context after querying.

I'll take a look.

I've pushed a fix for this. This is certainly not a regression, as the original message was never being passed along - but it is now.  @vtulluru - can you publish a new version to NPM?

I will check and push it shortly. Thanks!

Fix has been verified and published to npm.


Implement a way to count all transitive dependencies, not just direct dependencies

cargo tally --transitive serde rustc-serialize

Implemented in 2088697c9da0cade012ef3a907d47cb7ffa4639b.


Bulk add search results (keywords)

Just went through and added keywords for the cases that didn't require too much thinking 😉
Closes #5057
Closes #5024
Closes #4896
Closes #4853
Closes #4588
Closes #4492
Closes #3942
Closes #3788
Closes #3701

Great work, I appreciate it!

Glad i can help 🎉


Please remember to upstream extra tests to WPT

Other implementations would benefit. Especially since this year all browsers are focused on URL interop as part of Interop 2023!

@domenic That’s a good practice and we shall do so.
I am going to close this issue because we agree.


Datasets and Depositions info icon is missing

Describe the bug
Datasets and Depositions info icon is missing in depositions page
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Pay attention to "Depositions" page title
Compare to design

Screenshots

Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]

@lauramarcos we ended up going with the banner with the text instead of the tooltip. @Janeece i think there might be 2 designs circulating, maybe we remove the bug tag for this ticket and replace with a design ticket tag?

The masterfiles only reflects the banner. This should be treated as SOT for depositions designs, except for a couple of educational tooltips that are on hold.
In the original spec

The old design for tooltip in the header was labeled as archived, I've moved it out of the spec since this was confusing
Anything that has the "completed" checkmark is in the masterfile & on prod, anything with the Green "ready for dev" is not (just the education add ons).


Added smartstring feature

Hi there,
after reading https://fasterthanli.me/articles/small-strings-in-rust I tried out smartstring in an osm processing pipeline (it's quite unintrusive) and the performance gain for my usecase (lots of tag comparisons) was rather impressive (almost 50%). Does it makes sense to add it as a feature to this library?

I see. That would work for me. but consumers would have to deal with smartstrings, do you think that's acceptable?

I think yes, most of the time, they only care on the deref to &str

👍 I did not bump the version, not sure to which version you prefer to increment.

v0.14.0 published, thanks!


Document ulimit setting/troubleshooting on the getting started doc

When adding Jest to an existing project it breaks on the first run with the default (mac) ulimit of 256 files.
This can be solved by running:
ulimit -n 10000 # or some other big value

Otherwise, jest will just keep throwing errors trying to open modules, either jest's own dependencies or others.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

I take it this is not an issue any longer?


Add parameter export simple

Codecov Report
Attention: Patch coverage is 70.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 73.41%. Comparing base (990fc77) to head (f1c2470).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

experimental_experiment/xbuilder/_dtype_helper.py
0.00%
2 Missing :warning:

...erimental_experiment/torch_bench/bash_bench_agg.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #212      +/-   ##
==========================================
- Coverage   73.77%   73.41%   -0.37%
==========================================
  Files         142      142
  Lines       20038    20176     +138
==========================================
+ Hits        14784    14812      +28
- Misses       5254     5364     +110

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Set the correct document title when opening a new file in the GENERIC default viewer

/botio-linux preview

Looks good. Thank you for finding this!


ValueError: AES key must be either, 24, or 32 bytes lon 16g

Environment: Sungrow Inverter SG8K-D with Wifi Adaptor. Raspi8 with Python 3.8.
Port 502 accessible by scanning.
Error: ValueError: AES key must be either, 24, or 32 bytes lon 16g
I have attempted to re-install and update all dependencies with no errors.
./solariot.py
Load config sungrow-sh5k
Load SungrowModbusTcpClient
Connect
Traceback (most recent call last):
File "./solariot.py", line 77, in
client.connect()
File "/solariot/SungrowModbusTcpClient.py", line 32, in connect
self._getkey()
File "/solariot/SungrowModbusTcpClient.py", line 22, in _getkey
self._aes_ecb = AES.new(self._key, AES.MODE_ECB)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 94, in new
return AESCipher(key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 59, in init
blockalgo.BlockAlgo.init(self, _AES, key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py", line 141, in init
self._cipher = factory.new(key, *args, **kwargs)
ValueError: AES key must be either, 24, or 32 bytes lon 16g

`inverter_ip = "<IP_ADDRESS>"
inverter_port = 502
Slave Defaults
Sungrow: 0x01
SMA: 3
slave = 0x01
model = "sungrow-sh5k"
timeout = 3
scan_interval = 10
Optional:
dweepy_uuid = "random_solar_thing"
Optional:
influxdb_ip = "<IP_ADDRESS>"
influxdb_port = 8086
influxdb_user = "user"
influxdb_password = "password"
influxdb_database = "inverter"
influxdb_ssl = True
influxdb_verify_ssl = False
Optional
mqtt_server = "<IP_ADDRESS>"
mqtt_port = 1883
mqtt_topic = "inverter/stats"
mqtt_username = "user"
mqtt_password = "password"
`

Hi @wombatvic. According to output, it seems the Python runtime is 2.7. Try running in version 3. Using a Python3 virtual environment (venv) will ensure you use the required version libraries.

Thanks for that - using the venv worked and got me past the encryption error.
Have I missed a step with the below error querying the registers? I'm using the SG8K-D with Wifi Adaptor.
 I was hoping someone in the community might be able to assist with your particular inverter model. I am unable to verify if the SH5K modbus map is compatible with the SG8K-D. I'll leave this ticket open in the hope someone can contribute their findings.

Hey @wombatvic if you're still having this problem try out the sungrow-sg5kd modbus map that's in there now, might be a more compatible fit?

Bump @wombatvic.  There are others interested in the compatibility.

I came across http://www.photovoltaicsolar.in/Sungrow_Manual/Modbus RS485 RTU Protocol.pdf in my travels. It doesn't explicitly mention the SG8KD but you might be able to use trial and error to get it working. I have an SG3KD and while the SG5KD map worked I needed to modify it a bit to remove unused/incorrect registers. Using the link helped me understand what the register ranges are

Thanks @shannonpasto, that's a great find. Would you mind sharing your sg3kd map? I'll add it to repo.

I just used https://solarclarity.co.uk/wp-content/uploads//2018/12/TI_20180301_String-Inverters_Communication-Protocol_V10_EN.pdf to validate a few things on my SG5K-D and they seemed to line up quite nicely as well!

Thanks @shannonpasto, that's a great find. Would you mind sharing your sg3kd map? I'll add it to repo.

Here it is. Sorry if the formatting didn't work out properly
read_register = {
  "5003": "daily_power_yield_0.01", # Wh
  "5004": "total_power_yield_100",  # MWh
  "5008": "internal_temp_10",       # C
  "5011": "pv1_voltage_10",         # V
  "5012": "pv1_current_10",         # A
  "5013": "pv2_voltage_10",         # V
  "5014": "pv2_current_10",         # A
  "5017": "total_pv_power",         # W
  "5019": "grid_voltage_10",        # V
  "5022": "inverter_current_10",    # A
  "5031": "total_active_power",     # W
  "5036": "grid_frequency_10"      # Hz
}

holding_register = {
  "5000": "year",
  "5001": "month",
  "5002": "day",
  "5003": "hour",
  "5004": "minute",
  "5005": "second"
}

scan = """{
    "read": [
        {
            "start": "5000",
            "range": "100"
        },
        {
            "start": "5100",
            "range": "50"
        }
  ],
  "holding": [
    {
      "start": "4999",
      "range": "10"
    }
  ]
}"""

# Match Modbus registers to pvoutput api fields
# Reference: https://pvoutput.org/help/api_specification.html#add-status-service
pvoutput = {
  "Energy Generation": "daily_power_yield",
  "Power Generation": "total_active_power",
  "Temperature": "internal_temp",
  "Voltage": "grid_voltage"
}```


Have Istio optional

What
Part of https://github.com/Kuadrant/kuadrant-operator/issues/325
This is a preparation work for on-boarding EnvoyGateway on following up PRs. It is, essentially,  moving Istio from being the required GatewayAPI provider to optional gateway provider. Among other things, being optional means that when Istio is not installed in the cluster, the kuadrant operator does not die. Additionally, make room for on-boarding other GatewayAPI providers.

[X] Make Istio EnvoyFilter controller optional. When  istio envoy filter CRD or GatewayAPI CRD is not installed, the controller does not start.
[X] Make Istio Wasmplugin controller optional. When  istio WasmPlugin CRD or GatewayAPI CRD is not installed, the controller does not start.
[X] Make kuadrant controller optional. When GatewayAPI CRD is not installed, the controller does not start.
[X] Make ratelimitpolicy controller optional. When GatewayAPI CRD is not installed, the controller does not start.
[X] Make authpolicy controller optional. When GatewayAPI CRD is not installed, the controller does not start.
[X] Make dnspolicy controller optional. When GatewayAPI CRD is not installed, the controller does not start.
[X] Make tlspolicy controller optional. When GatewayAPI CRD is not installed, the controller does not start.
[X] Make target status controller optional. When GatewayAPI CRD is not installed, the controller does not start.
[X] Make ratelimit policy enforcedstatus controller optional. When GatewayAPI CRD is not installed, the controller does not start.
[x] Make Istio optional. When istio is not installed, the kuadrant operator still runs.
[X] At golang level, helper functions working with Istio APIs in github.com/kuadrant/kuadrant-operator/pkg/istio package. Controllers should be the only one importing that package.
[X] kuadrant status reports when all the supported GatewayAPI providers are not found.
[x] (Integration) Tests refactor.

Golang package
Required environment
Makefile env setup target
Makefile test run target

github.com/kuadrant/kuadrant-operator/tests/bare_k8s
no gateway provider, no GatewayAPI CRDs. Just Kuadrant API and Kuadrant dependencies.
make local-k8s-env-setup
make test-bare-k8s-integration

github.com/kuadrant/kuadrant-operator/tests/gatewayapi
no gateway provider. GatewayAPI CRDs, Kuadrant API and Kuadrant dependencies.
make local-gatewayapi-env-setup
make test-gatewayapi-env-integration

github.com/kuadrant/kuadrant-operator/controllers
at least one gatewayapi provider. It can be any: istio, envoygateway, ...
make local-env-setup GATEWAYAPI_PROVIDER=[ISTIO|SAIL] (Default Istio)
make test-integration

github.com/kuadrant/kuadrant-operator/tests/istio
GatewayAPI CRDs, Istio, Kuadrant API and Kuadrant dependencies.
make local-env-setup GATEWAYAPI_PROVIDER=ISTIO
make test-istio-env-integration

Defined behavior

GatewayAPI CRDs
Istio
Kuadrant CR status

NO
NO
Not reconciled

YES
NO
Error: GatewayAPI provider not found

YES
YES
OK

Verification Steps: run kuadrant in cluster without GatewayAPI provider

run environment

make local-gatewayapi-env-setup

Run the operator

make run

Create Kuadrant CR

kubectl -n kuadrant-system apply -f - <<EOF
apiVersion: kuadrant.io/v1beta1
kind: Kuadrant
metadata:
  name: kuadrant
spec: {}
EOF

Kudrant CR status reports not ready status
kubectl get kuadrant kuadrant -n kuadrant-system -o jsonpath='{.status}' | yq e -P
conditions:
  - lastTransitionTime: "2024-05-27T21:25:38Z"
    message: GatewayAPI provider not found
    reason: GatewayAPIPRoviderNotFound
    status: "False"
    type: Ready
observedGeneration: 1

rebasing as there are conflicts with some files


[iOS] Keyboard stuck and text editor is unfocused when app is taken to background and then to foreground

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Have a TextField widget
Open another app for ex. notepad and start editing, so that the keyboard appears
Click on home then open your app from the launch screen
Repeat the above steps

Note. I was able to reproduce this consistently, on avg 15-20 tries.
I had the similar kind of issue previously which i have raised here https://github.com/flutter/flutter/issues/131840. As per suggest i upgraded the flutter.
Expected results

Keyboard should not be glued to the screen if textfield is not focused and other way around

Actual results

The Keyboard is glued to the screen of the app, even when clicking back from the navigator and moving to the previous screen this keyboard does not closed.

Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const LandingPage(title: 'Page 1'),
    );
  }
}

class LandingPage extends StatefulWidget {
  const LandingPage({super.key, required this.title});
  final String title;

  @override
  State<LandingPage> createState() => _LandingPage();
}

class _LandingPage extends State<LandingPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        backgroundColor: Colors.white,
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: Center(
            child: Container(
          padding: const EdgeInsets.all(10),
          child: OutlinedButton(
              onPressed: () {
                Navigator.push(
                    context,
                    MaterialPageRoute(
                        builder: ((context) =>
                            const MyHomePage(title: "Page 2"))));
              },
              child: const Text("Go to next screen")),
        )));
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> with WidgetsBindingObserver {
  @override
  void initState() {
    WidgetsBinding.instance.addObserver(this);
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        backgroundColor: Colors.white,
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: Center(
            child: Container(
          padding: const EdgeInsets.all(10),
          child: TextField(
            autofocus: true,
            textInputAction: TextInputAction.search,
            onSubmitted: (value) => {print(value)},
          ),
        )));
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.9, on macOS 12.6 21G115 darwin-arm64, locale
    en-IN)
    • Flutter version 3.13.9 on channel stable at
      /Users/kovallip/Desktop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (3 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/kovallip/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
    • IntelliJ at /Users/kovallip/Applications/JetBrains Toolbox/IntelliJ IDEA
      Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
    • IntelliJ at /Users/kovallip/Library/Application
      Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/232.9921.47/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.4)
    • IntelliJ at /Users/kovallip/Library/Application
      Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9225.16/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] VS Code (version 1.82.0)
    • VS Code at /Users/kovallip/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (4 available)
    • Android SDK built for arm64 (mobile) • emulator-5554
      • android-arm64  • Android 10 (API 29) (emulator)
    • Prateek Koval li’s iPod (mobile)     •
      d2a65f89a60a14829e79399fae6cb7250b82a27a • ios            • iOS 15.5 19F77
    • macOS (desktop)                      • macos
      • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)                         • chrome
      • web-javascript • Google Chrome 119.0.6045.123

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for filing this @prateekrk.
I can't seem to reproduce this on my end (testing with a real device, iPhone 13, iOS 17.0). I tested this on the latest master and stable channels. The TextField in the Flutter app doesn't get unfocused during the switch on my device and when unfocused before the switch, the keyboard doesn't reappear. Are you able to test this on another device (either the simulator or the real device) to see if this could be device-specific? Also, kindly share the device information of where this reproduces.
https://github.com/flutter/flutter/assets/53122008/92380d8e-6bdb-4ba5-8cf5-cf7690daa73b

I have tested this on iPod 7th gen, with iOS 15.5. The behaviour you described is correct and expected behaviour. But as you keep on trying this for 15-20 I think you might reproduce that.
It's not a very straightforward use case, but my concern is when this happens with the end-user then the whole UI alignment will be messed up and overflow issues will also show up.

Thanks for your response. I tried this multiple times but can't reproduce as well, could this be peculiar to the device you are testing with?
Can you please try on an iPhone device to see if this also reproduces there?

Hi @dam-ease , just wanted to check this
We are not using the manual focuses, we use only autofocus in our enterprise application. Since i was able to reproduce this with minimal code in sample app, can we rule out the possibility that this bug is because of developer implementation.
Also flutter has released 3.16 stable version so will check with that.

Thanks for your response.

Since i was able to reproduce this with minimal code in sample app, can we rule out the possibility that this bug is because of developer implementation.

Are you able to reproduce with the minimal sample? You could share a screen record, that'll help

can we rule out the possibility that this bug is because of developer implementation.

Can say this for sure, if it happens with the minimal code sample then it might not be an issue with implementation

Also flutter has released 3.16 stable version so will check with that.

Please do and share the results
Thank you!

Are you able to reproduce with the minimal sample? You could share a screen record, that'll help

Recording is attached to the issue, But i have not tried in iPhone, will test and let you know by Monday

Sorry, we were not able to test in iPhone because of its unavailability.

@prateekrk I also checked this issue on iPhone 7, iOS 15.8 but can't reproduce it. This could be a device-specific issue on your device iPod 7th gen.
Has this issue appeared before in older releases of Flutter? Does this issue persist if there is no navigation between pages? (I mean in a case when there is only a screen with a TextField, to rule out the possibility of a navigator-issue).


IMediaManager.Cover no longer exists

I was attempting to use the lastest MediaManager with my project, and it appears that IMediaManager.Cover no longer exists (as of PR# 44 I believe).
If this was intentional, what is the new way of accessing the current cover?

The Cover is now in the IMediaFile, IMediaFileMetadata object: https://github.com/martijn00/XamarinMediaManager/blob/master/MediaManager/Plugin.MediaManager.Abstractions/IMediaFileMetadata.cs#L38
Using the default MediaFile you can get the Cover, or you could provide your own implementation.

Thanks.  Given an IMediaManager object, How can I access the IMediaFile object for the currently playing song? I don't see any reference to it in IMediaManager.

The MediaQueue has a QueueChanged event if I remember correctly

Is that the only way to get it now? My application has places where it needs to access the cover of the currently playing song. Before, I was just able to access the Cover property of the MediaManager object to get it. Adding a QueueChanged listener is more cumbersome, as I would then need to cache it somewhere for later use.

The Items playing are now put into the MediaQueueby default. This means you can get the current items cover with this: CrossMediaManager.Current.MediaQueue.Current.Metadata.Cover
Be aware that the current, MetaData and Cover can be null, so what you can do is listen for changes on the MediaFileChanged event.

Perfect, thanks!


ProjectInSolution.AbsolutePath contains '' on Mac OS/Linux

The problem appears to be that the '' comes from the relative path of the project defined in the .sln files. When MSBuild reads the paths, it doesn't properly convert to the right directory separator based on the OS that is currently running.
Here is the code that can repro the issue:
	class MainClass
	{
		public static void Main(string[] args)
		{
			var projectPaths = SolutionFile.Parse("/Users/dazhao/Projects/ProjectInSolutionRepro/ProjectInSolutionRepro.sln")
										   .ProjectsInOrder
										   .Where(p => p.ProjectType != SolutionProjectType.SolutionFolder)
										   .Select(p => p.AbsolutePath)
										   .ToList();

			foreach (var projectPath in projectPaths)
			{
				Console.WriteLine(projectPath);
			}

			// The output is /Users/dazhao/Projects/ProjectInSolutionRepro/ProjectInSolutionRepro\ProjectInSolutionRepro.csproj

			Console.Read();
		}
	}

Right now we just Path.Combine the relative path with the solution file directory. Perhaps we should normalize _relativePath in its setter?


Qa 2145 update test automation qa int

Description

Update test automation to align with qa-int

Run on VPN2, qa-int
All tests pass except for "Mutation Frequency - Custom Gene and Mutation Filters" due to a bug the test caught. A ticket has been made for the front-end team for a fix.
This cannot be merged in until we have updated our holmes-py repo to align with qa-orange/production. I am making it now so we can review it.

Ran all tests, only expected failure occurred.


Migrate to different hosting

On May 1st Bintray will be sunset (https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/). @mefellows do you already have plans to move sbt-dotenv somewhere else?

Ahhh, good question - I didn't see this announcement!
What's everyone else doing these days? Move back to Central? What would you suggest?

I think most are moving to publish on Maven Central.

Looks like the brownouts mentioned on that page have already started.

Hi, I'm experiencing this issue when trying to build my project that depends on sbt-dotenv. Should I wait for another release? Any estimate on when it will be available again?

I think we are covered for existing releases by this: https://github.com/sbt/sbt/issues/6294

Thanks @Philippus.
I'll get this migrated to Maven central this week (now regretting not doing that in the first place :P )

@Philippus can you please create yourself a user (or share your current username) at https://issues.sonatype.org/secure/Signup!default.jspa? I've created https://issues.sonatype.org/browse/OSSRH-68099 and will add you as an owner of the org also.

From here, I think the process is:

Add https://github.com/xerial/sbt-sonatype to the project (or another project that can do it, but this seems to be the official one)
Remove the Bintray plugin
Update the release step in travis
Update the README so everybody knows where to find it.

FYI I've added the GPG_PASSPHRASE secret to our repository, so that can be used in builds once we have publish rights.
@Philippus I might need your help, I haven't written any scala since not long after this module 😆

My username at sonatype is 'philippus'.

Thanks - I've just added you to the ticket now!

This actually looks useful too - what do you think https://github.com/olafurpg/sbt-ci-release?

Yes, I think that's a good one. A lot of folks are using that.

Great. OK, well I think I've created all of the pre-requisite accounts/keys/credentials and have added them to the travis settings. Once I get confirmation that central repo has been setup we can give it a go!
There's a few pieces of our SBT setup that I can't recall how it works/why it's there - would you be OK to give the build setup a go? Otherwise, I can give it a shot and you can tell me what I've done wrong :P
Also, I so very much appreciate all of your help on this! 🙏

Packages are syncing to the OSS release repository (), just waiting for them to setup the sync to Maven Central (see https://issues.sonatype.org/browse/OSSRH-68099?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel).
Almost there!

and we're live: https://repo1.maven.org/maven2/au/com/onegeek/sbt-dotenv_2.12_1.0/2.1.231/
We're not visible in search.maven.org yet, but that sync can take a couple of hours apparently.
Going forward, it should take about 10mins after a release for it to be available to users.
Closing!

It's not showing up yet, I'm wondering if we have to switch to Maven-style publishing or something like that. If I compare the directory to https://repo1.maven.org/maven2/com/github/sbt/sbt-release_2.12_1.0/1.0.15/ then I don't see the .pom files.

hmm that's a bugger! Is it maybe this we need to configure: https://github.com/xerial/sbt-sonatype#project-rootsonatypesbt ?

I would ask to reopen this issue.
Some automatic dependency update tools like scala-steward and renovate are triggering update to 2.1.231 but build fails because there is no pom file on https://repo1.maven.org/maven2/au/com/onegeek/sbt-dotenv_2.12_1.0/2.1.231/
[error]   Not found
[error]   Not found
[error]   not found: repo1.maven.org/maven2/au/com/onegeek/sbt-dotenv_2.12_1.0/2.1.231/sbt-dotenv-2.1.231.pom
[error]   not found: /home/runner/.ivy2/local/au.com.onegeek/sbt-dotenv/scala_2.12/sbt_1.0/2.1.231/ivys/ivy.xml
[error]   not found: repo.scala-sbt.org/scalasbt/sbt-plugin-releases/au.com.onegeek/sbt-dotenv/scala_2.12/sbt_1.0/2.1.231/ivys/ivy.xml
[error]   not found: repo.typesafe.com/typesafe/ivy-releases/au.com.onegeek/sbt-dotenv/scala_2.12/sbt_1.0/2.1.231/ivys/ivy.xml```

I'm pretty sure the problem is `publishMavenStyle` is disabled:
https://github.com/mefellows/sbt-dotenv/commit/9360fd24c54fd49a4dc44c90c03d837ac341cc37#diff-5634c415cd8c8504fdb973a3ed092300b43c4b8fc1e184f7249eb29a55511f91L50

Just added publishMavenStyle := true now. 🤞

I think publishMavenStyle is now declared twice the build.sbt, both false and true and probably second one is the actual used 😬
https://github.com/mefellows/sbt-dotenv/blob/v2.1.232/build.sbt#L9

Oh, dear. You're right. I used git add -p and forget that I removed it at the bottom. Thanks for picking that up.

Looks like that did the trick: https://search.maven.org/artifact/au.com.onegeek/sbt-dotenv/2.1.233/jar. Let me know if that works.

That worked! 👍
Thanks a lot 😃

Great, thanks for helping out!
On Sun, 23 May 2021, 10:01 pm Fernando Mora, @.***>
wrote:

That worked! 👍
Thanks a lot 😃
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mefellows/sbt-dotenv/issues/97#issuecomment-846551746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAANFDFPWH5PCTWMUDAHGBTTPDVBBANCNFSM42GPQ66Q
.


Implemented saving credentials.

A quick implementation of saving the user's credentials for automatically logging in, if desired. Saves the username and password to SharedPreferences (plain text xml in the filesystem)

:+1:

+1


InputText.value is not set when an empty String is used

Hi, thanks for your work!
I found that when I pass an empty String to the InputText widget constructor, the text is not cleared. The value of the element is not overridden. Should I save the dart:html.InputElement reference to clear and update the value, like a Flutter TextEditingController?
I was also wondering whether a void Function(String value) onValueChange argument in the constructor could be used as API, maybe the same for others where we know the Dart type such as number or date inputs. At the moment I was casting the event target to dart:html.InputElement and accessing the value from that. However, for InputText and others we know the element and type of input (and Dart's value type).
The full code that I was testing is in this file.
Thanks again!

Hi, thanks for trying it out.

found that when I pass an empty String to the InputText widget constructor, the text is not cleared.

Just checked, it's indeed a bug, thanks for reporting it.

I was also wondering whether a void Function(String value) onValueChange argument in the constructor could be used as API, maybe the same for others where we know the Dart type such as number or date inputs.

Do you mean adding onValueChange like this?
InputText(
  onValueChange: (value) => print('updated value is $value'),
)

Thanks for the response.

Do you mean adding onValueChange like this?

Yes, similar to Flutter's TextField.onChanged argument. Maybe for other Input types could be a specific Dart type like double for InputNumber.
InputNumber(
  onValueChange: (double? value) => print('updated value is $value'),
)

The value is nullable when it could not be parsed or is empty? or pass the raw String value and the parsed value as arguments to the onChanged callback. Or maybe a class with most of the event's info:
class InputValueChanged<T> {
  final T value;
  final EmittedEvent event;

  html.InputElement get element => event.target as html.InputElement;
  String get rawValue => element.value;
}

But that is probably too complicated and would be strange for InputText since value would be the same as rawValue. Maybe just the:
InputNumber(
  onValueChange: (String value) => print('updated value is $value'),
)

would be nice enough, since one does not need to extract the target from the event and cast it into html.InputElement.

I too think a basic onValueChange(String value) would be great. I'll give it a try.
Talking about issue, I've published a fix in v1.0.2, let me know if that works.

Yes, It's working perfectly now. Thank you for your help!


fix(deploy): Rename role and role-binding

The role and role-binding are for the pipelinerun and not for the eventListener. Let us rename them accordingly.

You didn't update the template, run   make validate until it passes
You will need to commit the changes there / decide if you don't want it to change

Thank you @georgettica!


Merge resolve default commit message

Default behavior in git is to automatically supply a commit message for merging, formatted as such:
Merge branch 'from-branch-name' into to-branch-name
When resolving a conflict from the status dashboard however, committing the merge has no commit message.
Not sure if this is a bug, but if not, consider it a missing feature.

relatd to #426

I do have the merge message.

@p3lim, can you supply with which commands you are using to find this behavior?

I merge a branch into another branch on the branch dashboard.
There's a conflict, I go back to the status dashboard
I resolve the conflicts in the file(s)
I stage the files
I press C to commit

At which point the commit view is empty (except for the help text and the commit diff below).

Can you also include Sublime version, Git version, OS version?

SublimeText build 3120
Git 2.9.2
Windows 10 Pro x64

I was seeing this behaviour as well with Git 2.6.2. Upgraded to Git 2.10.1 and I’m no longer having a problem.

Can confirm, can't reproduce with 2.10.1, closing this issue.


[FLOC-2603] Retry downloads in brew

Helps mitigate: https://clusterhq.atlassian.net/browse/FLOC-2603
Also adds a generic function retry_effect_with_timeout that can be used in flaky tests to mitigate network (or other) issues.

Thanks!
It's great to see this code made more robust, and the addition of a new helper. There's some work that's required, some of which might be fiddly. I'm happy to help with it. Please re-submit for review when you're done.

Can someone verify this PR?

Thanks!
Only a few minor style things to clean up.
In a later patch, we may want to change this to have a more similar interface to the other retry functions.

Please make the suggested changes and merge.


Unable to configure Parler translations

Hi,
This is a question. I'm not able to configure entirely these two languages: en, es.
I can Add post in both languages. But in example.com/es/ site, the Blog locale translations are not applied and everything (even category-tag-author words in the slug) is shown in English.
settings.py
SITE_ID = 1

LANGUAGES = (
    ## Customize this
    ('en', gettext('en')),
    ('es', gettext('es')),
)

CMS_LANGUAGES = {
    ## Customize this
    1: [
        {
            'public': True,
            'name': gettext('en'),
            'redirect_on_fallback': True,
            'code': 'en',
            'hide_untranslated': False,
        },
        {
            'public': True,
            'name': gettext('es'),
            'redirect_on_fallback': True,
            'code': 'es',
            'hide_untranslated': False,
        },
    ],
    'default': {
        'public': True,
        'redirect_on_fallback': True,
        'hide_untranslated': False,
    },
}

PARLER_LANGUAGES = {
	1: (
		{'code': 'en',},
		{'code': 'es',},
	),
}

Did I miss something?
Thanks

I'm working in locale with the feature/appcnfig branch code translations work with the same settings.

@vnavascues does the page the blog is attached to exist in both languages? Does the page data (slug and title) change change when you switch between the two languages? Which django-parler version is installed in the virtualenv?

@yakky here the response:

Blog is attached to exist in both languages: yes (and published).
Does the page data (slug and title) change when you switch between the two languages: yes.

I thought category, tags and slug word-paths on the URL were translated too. But is not a problem for me that stay in english.

Virtualenv significant packages (python 3.4):

django: 1.7.9
django-cms: 3.1.3
django-parler: 1.5

As I mentioned on Pull requests #147 thread, I don't have this issue with:

Virtualenv significant packages (python 3.4):

django: 1.7.10
django-cms: 3.1.3
django-parler: 1.5
new djangocms-blog code
django-meta-mixin: 0.2.0 dev1

Thanks!

@vnavascues are you still experiencing issues using latest develop / 0.6.a2?

@vnavascues closing this as I cannot reproduce. Feel free to reopen in case you have more information about it


support per-version API prototypes

necessary for GetTalentInfo, which is necessary for SPELLS_CHANGED

Done in 8446c05fe121e789da9cb06b9151d5745e3f37a3 and neighbors.


Camera switch does not work

Oh, that's great! I have downloaded and imported all the scripts and all 7 scene buttons work perfectly.
However, I have not been able to get the camera button to work. When I press it in StreamDeck, it changes color, but does not turn off the camera in StreamYard.
It's strange, because it seems that the keyboard shortcut Ctrl+Alt+May+V is also the one that appears in the AutoKey and Tampermonkey HotKeys....
Does anyone else get this error?
Thanks for everything!

Yes, I'm getting the same results.  I'm poking around in the script and the page source code to try and see if there might be an easy solution...but I don't really know programing.  I would also love to be able to turn on/off backgrounds in streamyard...so I'm trying to modify the code to add that...no luck yet, though.

Ok...I got the camera working for me.  I merely had to change the keystroke from a lowercase v... to a lower case l (I realize this looks like a one...but it's the letter before m)
Don't know why this worked...but it did.
Just remember to change it in the tampermonkey script ... in the ahk script (and save and rerun this) ... and then be sure to set it in your streamdeck as well.
Anyway...seems to be working fine for me now.
Still trying to figure out how to change a background with a hotkey...no luck on that yet.

All you need to do is to have "Turn" with a capital "T"
('[aria-label="Turn on camera"]');
('[aria-label="Turn off camera"]');

This has now been updated in the sources as well.

Does it still work for you? It worked fine for me for a few days, until a Google Chrome update arrived. Since then it stopped working. Today I tried to install it again and it still doesn't work. None of the StreamDeck keys respond in StreamYard.


Dedicated window for all mentions and highlight words across all discussions

My Setup

Operating System: macOS 10.14.5

App Version: 2.15.3

Installation type: dmg

[x] I have tested with the latest version

[x] I can simulate the issue easily

Description
When you start to have more than 10 "Channels", some "Private Groups" and handful of "Direct Messages" it's harder and harder to followup on discussions. Therefore that's where "Mentions" and "Highlight words" are handy to catchup on "interests". However the current UI/UX is not ideal.
Current Behavior
Right now you need to check on each "Channels", "Private Groups" and "Direct Messages" for Mentions and Highlight words, so multiplying clicks then "Jump to First Unread Messages" then scroll manually to spot the Mentions/Highlight. In a hurry there is a high chance to miss some Mentions/Highlight.
Expected Behavior
A dedicated "window" similar to a discussion window, that list all Mention/Highlight words across all "Channels", "Private Groups" and "Direct Messages". This give the user the power to quickly check all "interests" in one place and quickly jump to specific discussion where the user attentions is needed.

I miss that too. And when you reply to a message it's difficult to follow if there is other reply.

Maybe I can give more background on my use case and "my persona". We are using Rocket Chat at work, to keep in touch with all projects I'm responsible for I need to join at least 20 channels, and I have around 50 Direct Messages.
Checking each 20 channels by hands for "Mentions" and "Highlight" is just time consuming.

Hi RocketChat community !
Our company migrated 2 month ago from Microsot Teams to RocketChat and one of the main feature that is missing (its not the only one ;-) ) is the activity panel.
In Microsoft Teams, you can follow in one place all the discussions you have initiated, reacted to or replied.
Our teams are working with a lot of different channels and its really painful to go trough all of them to find the last answers in RocketChat.
We are still a small company, so we don't have a lot of money for that... but if other users are interested, we are ready to create a bounty around this feature request.
Anyone interested to contribute ? We can help with mockups by example ;-)
Thanks,
Jonathan


Warning: [RCTRootView cancelTouched] is deprecated and will be deleted soon.

Bug description:
After upgrading from react-native 0.60.5 to 0.61.2, a screenshot warning to show up on every click inside the web view.
To Reproduce:
Fresh install of react-native-webview on a new react-native 0.61.2 project
Screenshots/Videos:

Environment:

OS: MacOS
OS version: Mojave 10.14.6
react-native version: 0.61.2
react-native-webview version: 7.4.0

https://github.com/kmagiera/react-native-gesture-handler/pull/657

I don't think react-native-gesture-handler's case has anything to do with this one as the web view doesn't depend on that package.

I can confirm this issue on both android and ios with the specified versions above.
When both platforms are in release mode on device the app force-quit's.

same issue..

?


removed AgentState.STOPPED_BY_ORCH -- we never set it

I guess STOPPED_BY_ORCH used to be the previous version of graceful shutdown, before we had graceful termination on TerminateResponse. Now agents either crash and are killed by HeartbeatInspector or stop gracefully.


Create clear documentation for elements that need consistent styles

After finalizing button and form styles, create clear documentation that indicates html structure and class names that should be utilized when placing these elements on any view in the app. This will ensure that our styles are consistent from here on out.

This issue has been completed.


[SMALLFIX]Add javadoc for the function and class of JobConfInfoTest.java

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13208/
Test PASSed.

Merged build finished. Test PASSed.


test

test

@${issue.user.login}: Hello! :wave:
This issue is being automatically closed because it does not follow the issue template.

@louislam: Hello! :wave:
This issue is being automatically closed because it does not follow the issue template.


Better performance in the GetBulkStateAsync operation

Expected Behavior
If it was possible, to reduce the time of the method GetBulkStateAsync lower than 10 ms.
Actual Behavior
The current operation takes about 64 ms to read four keys.
Steps to Reproduce the Problem
Scenario configuration

MODE

self-hosted

STATE STORE

MongoDB

DAPR INFO

CLI version: 1.13.0
Runtime version: 1.13.4

SYS INFO

OS: Windows 10 IoT 21H2

Description
In my scenario, I have profiled the code using the MiniProfiler.NET package.
IReadOnlyList<BulkStateItem> multipleStateResult;
using (profiler.Step("Bulk op"))
{
    multipleStateResult = await daprClient.GetBulkStateAsync(_daprStoreName, keys, parallelism: 2);
}

And one of the tests have delivered these results:
== APP ==  === PROFILING RESULTS ===
== APP ==
== APP == MYPC at 10/21/2024 6:58:21 AM
== APP == My Profiler Name 0ms
== APP == >> Main Work 98.84ms
== APP == >>>> Load state 66.67ms
== APP == >>>>>> Bulk op 66.1ms
== APP == >>>> Load dict 7.87ms

In this code we can conclude that:

the time spent to my library and come back is very fast (0,57 ms aprox),
the bulk operation is taking the most time.

I have done some tests using PowerShell calling to the State API and the results are much better (Duration: 00:00:00.0040811 ms).
$uri = "http://localhost:10001/v1.0/state/state.mongodb/bulk"
$headers = @{
    "Content-Type" = "application/json"
}
$body = @{
    keys = @("key1", "key2", "key3", "key4")
    parallelism = 20 # it is not relevant
} | ConvertTo-Json

# Capture the start time
$startTime = Get-Date

# Invoke the REST method
$response = Invoke-RestMethod -Uri $uri -Method Post -Headers $headers -Body $body

# Capture the end time
$endTime = Get-Date

# Calculate the duration
$durationMs = ($endTime - $startTime).TotalMilliseconds

# Output the response and duration
$response
"Duration: $duration ms"

Release Note
RELEASE NOTE: IMPROVEMENT Better performance in the GetBulkStateAsync operation.

As discussed in Discord, I believe the issue here is not specific to this method, but rather one of the overhead of using gRPC in the SDK for all requests where the issue author is instead opting to use the HTTP API for their PowerShell sample.
The 1.15 release will come with some (significant package updates)[https://github.com/dapr/dotnet-sdk/pull/1366} which have hopefully themselves added performance boosts.
Further, given a large enough bulk operation (as with the amount of data transferred in other client operations), I would expect that there's a point somewhere that the gRPC operation becomes more performant than the HTTP approach (primarily as binary encoding is smaller), but I don't know where that is for each operation.
Regardless, this is worth keeping in mind when designing the next generation state stores to look at opportunities to handle small requests more efficiently.

@AlbertoVPersonal How many times are you running this test in your .NET code?
I wonder if there is an initial penalty/tax on that first operation, and subsequent operations will be faster?


Ancient Dhide Shield spawnbox timer

🐛 Bug Report

Wasn't even spawned for more than a few seconds and it said nobody got it. When it was answered correctly

This was fixed with the last update. It was a problem with the bot own trivia spawn and not spawnbox command.


estimateTransactionGasLimit hides errors from the caller

Describe the bug
estimateTransactionGasLimit hides errors from the caller
To Reproduce
We're using useContractFunction to call a smart contract function. In this instance, we're expecting the function to revert with a custom error, and want to catch it and display an appropriate error message to the user.
However, we only see the cannot estimate gas error in the browser console, but unable to catch the error where we're calling send.

Relevant part of useContractFunction's send which checks gas estimate:

Relevant part of estimateTransactionGasLimit which catches the error but does not throw it to the caller:

We realized that the useContractFunction state has an errorHash which can be mapped back to the custom error defined in the smart contract (e.g. using ethers getError function)

@shioju , I'm experiencing a similar issue - however the state only provides status: "PendingSignature" as the user has not yet interacted with their wallet.


Performance of v1 and v2 on metabolism variables

The question of the performance of v1 and v2 came up in the reviews. I did a little analysis on this. Below is a table of summary statistics of the NSE's for each of the sites with metabolism estimates for GPP.

count
mean
std
min
25%
50%
75%
max

('BC_24', 'v1 - Process-Informed Multitask')
10
0.183483
0.041765
0.148315
0.155368
0.173863
0.184158
0.277129

('BC_24', 'v2 - Process-Dependent Multitask')
10
0.121001
0.240079
-0.333508
-0.031117
0.137663
0.247184
0.451938

('BC_40', 'v1 - Process-Informed Multitask')
10
-0.0016963
0.040878
-0.064888
-0.0323425
-0.0013305
0.027947
0.059083

('BC_40', 'v2 - Process-Dependent Multitask')
10
0.0858435
0.120403
-0.101917
0.0097475
0.0528945
0.172728
0.268014

('BC_53', 'v1 - Process-Informed Multitask')
10
-0.129638
0.0973996
-0.323575
-0.168624
-0.116805
-0.078289
0.040102

('BC_53', 'v2 - Process-Dependent Multitask')
10
-0.111172
0.396592
-0.687346
-0.412103
-0.171459
0.199471
0.5041

('SR_40', 'v1 - Process-Informed Multitask')
10
-0.42923
0.173224
-0.76964
-0.528927
-0.394296
-0.317387
-0.160238

('SR_40', 'v2 - Process-Dependent Multitask')
10
-0.561778
0.320169
-1.0773
-0.708186
-0.482284
-0.338313
-0.213263

And ER:

count
mean
std
min
25%
50%
75%
max

('BC_24', 'v1 - Process-Informed Multitask')
10
0.379391
0.042008
0.292413
0.363698
0.375451
0.405685
0.447272

('BC_24', 'v2 - Process-Dependent Multitask')
10
0.265132
0.18703
-0.12138
0.174873
0.248651
0.419316
0.487525

('BC_40', 'v1 - Process-Informed Multitask')
10
-0.0487092
0.0424984
-0.114341
-0.070662
-0.058703
-0.0354472
0.031145

('BC_40', 'v2 - Process-Dependent Multitask')
10
-0.0402173
0.0880268
-0.158404
-0.113148
-0.0345635
0.020053
0.089052

('BC_53', 'v1 - Process-Informed Multitask')
10
-0.0912459
0.21411
-0.319095
-0.268808
-0.096497
-0.0248843
0.380792

('BC_53', 'v2 - Process-Dependent Multitask')
10
-0.412079
1.0233
-2.56067
-0.938191
-0.0640765
0.322946
0.490124

('SR_40', 'v1 - Process-Informed Multitask')
10
0.104795
0.0148806
0.085017
0.0922185
0.103179
0.117831
0.125553

('SR_40', 'v2 - Process-Dependent Multitask')
10
0.0241732
0.10121
-0.155439
-0.0464302
0.068531
0.0946857
0.131504

Here are some example predictions at two of the sites (BC_24 which had the highest metrics for GPP and ER, and BC_53 and SR_40 which were the worst at predicting ER and GPP, respectively).  I included all 10 replicates because they vary quite a lot replicate to replicate:

Overall it seems like most of them get the trends pretty well, but they don't go after the extremes at all.
Another interesting thing is that in some of the V2 models, (e.g., replicate 2 for ER and 6 for GPP) the trends are backwards. What I'm pretty sure happened is that the random starting weights were set in a way that the algorithm settled on having the sign flipped in the second dense layer so that the output of the GPP/ER was actually the negative of what it should be. It seems like the loss in performance for that one variable wasn't enough for the algorithm to change the weights enough to flip the sign to the correct one.


syscall: update syscall numbers for linux/amd64

Updated the syscall definitions for arm64 and amd64 to allow programs using Go to interact with Linux syscalls to have the proper constant for them and not having to figure out the number themselves.

I followed the instructions and used the script to generated them using the latest mainline kernel. I didn't update the file manually.


Linux Server Support

Hi,
Would it be possible to compile this for the linux server?
Thanks!

This is already compatible with Linux, I run this on both Linux and Windows rust servers without any issue.


NOJIRA: Remove type annotations in Search that can be implicitly determined

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

Cleans up the search portlet to remove type annotations on operators that can be determined from variable declarations and the operands.

Coverage decreased (-0.006%) to 23.249% when pulling 2db608b34e643556d8860182b2aef0a0ce1385c3 on ChristianMurphy:NOJIRA-removed-implied-type-annotations into f053fa5839ab07db891bb8081a5f118f5bc95e6c on Jasig:master.


[sil] Add a new CastConsumptionKind called BorrowAlways.

This means that:

SILGenPattern always borrows the object before it emits a case.
Any cast with this cast has a +0 result.

NOTE: That one can not use this with address only types (so we assert if you
pass this to any of the checked cast instructions).
This is an incremental commit towards fixing SILGenPattern for ownership.
rdar://29791263

Just to be clear this doesn't change anything to actually use BorrowAlways.

@swift-ci smoke test

Forgot to mention, I also changed all '==' queries on CastConsumptionKind to instead use covered switches.

The current precondition on using the scalar cast instructions isn't just that the types are address-only; they require the target value to be a directly-stored part of the source value, i.e. a class upcast/downcast or an existential value or something like that.  The general cast functions can do a lot of things that produce owned values that are unrelated, ownership-wise, to the source values; and they can do this even when the types involved are both loadable (e.g. if you're casting an NSArray to an Array).  So I'm concerned about what the semantics of this new CCK are w.r.t. those situations.

@rjmccall sorry I may have spoken too fast about the copy + take_always (I remember a piece of code that did something like that, but I can't seem to find it now).
That being said, I think if we know that we are going to need to go through memory to case then we can copy if we need to before, run it through as +1 and then borrow again. Or if we do not need to copy and the cast machinery will do the copy for us and return a +1 value, then we just borrow afterwards.

So is this not a valid alternative on checked_cast_addr_br?

Yes. I even put in an assert to make that clear.

Look at the constructor of CheckedCastAddrBranch.

Okay.  Well, please at least fix the comments to explain what I said, then.
Also, given that we're moving towards opaque values, is it a good idea to include a feature that can't be reliably lowered to addresses?

I haven't talked to Andy about this, but I imagine that all of the borrow stuff could become copy_on_success. But I haven't thought in depth (trying to finish that proposal to get to you). @atrick your thoughts?

I don't want to hold this PR up. I think that the overall simplest form of the cast is TakeAlways. As John is saying BorrowAlways is not a realizable operation since the new value may not be directly related to the old value. So, if we allow it as a SILGen strategy, then we need some pass to undo it later.

@atrick I am fine with that. I do think that SILGen needs to put in those copies initially. Like you said, I definitely think we are going to want to have an optimization that changes +0 pattern matching into +1 pattern matching if a value is consumed.

@swift-ci smoke test and merge

@swift-ci smoke test and merge

@swift-ci smoke test and merge

@swift-ci test linux platform

@swift-ci test linux platform

@rjmccall @atrick I was thinking about this last night and I remembered more. Basically I don't think we need this CastConsumptionKind long term. The reason I am adding this is to enable me to borrow inside SILGenPattern since SILGenPattern uses CastConsumptionKind via ConsumableManagedValue to control the ownership of what it emits.
Once I am finished changing SILGenPattern to emit code at +0 I think that we will be able to change SILGenPattern to just work with ManagedValues instead of ConsumableManagedValue and then get rid of this extra case.

👍


Clarify header and footer output cache behavior

It's unclear from this documentation whether or not applying the template source code changes will allow a custom header and/or footer to also be cached, or if that only applies to the Header and Footer web templates. I would assume that the output would be cached for any web template that is specified as the website's Header Template and Footer Template, but that assumption seems impossible to validate.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 91747e3b-2a0b-c046-a88b-e2ffd6b22f61
Version Independent ID: 91747e3b-2a0b-c046-a88b-e2ffd6b22f61
Content: Enable header and footer output caching on Power Pages
Content Source: power-pages-docs/configure/enable-header-footer-output-caching.md
Service: power-pages
Sub-service: ****
GitHub Login: @sandhangitmsft
Microsoft Alias: sandhan

Output caching can be configured for both the out-of-the-box and custom web templates specified in the Header Template and Footer Template fields in the options section of the website record. Documentation updated and issue closed.


It doesn't work on React 18.

At least until version 1.5.4, it doesn't work on React 18. I would appreciate it if you could fix it, thank you!

Fixed in new version, thank you for your comment