console.log should be added before reconnection because of heartbeat timeout

https://github.com/Yaffle/EventSource/commit/5a4759fba739375421b96afa29c2177bfca675e6


gitlab pipeline Preparation failed: Cannot connect to the Docker daemon at unix:///var/run/docker.sock

when i start the pipeline in nest-of-gold and awesome-app:

 i try many methods but fail to solve it.Can you tell me how to solve it？

I find why it happens.My computer is mac m1 arm64,usually i use env DOCKER_DEFAULT_PLATFORM=linux/amd64 to be compatible with other service's docker image which don't support arm64.So i build cicd-goat in amd64.Usually it's fine when other images,but cicd-goat can't.So I change the env DOCKER_DEFAULT_PLATFORM=linux/arm64 and change the docker-compose.yaml:
version: "3.8"

networks:
  goat:
    driver: bridge

services:
  jenkins-server:
    image: cidersecurity/goat-jenkins-server:latest
    networks:
      - goat
    container_name: jenkins-server
    restart: always
    ports:
      - "8080:8080"
      - "50000:50000"
  jenkins-agent:
    image: cidersecurity/goat-jenkins-agent:latest
    container_name: jenkins-agent
    restart: always
    networks:
      - goat
    environment:
      - JENKINS_AGENT_SSH_PUBKEY=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC33zkdtvwp8giZLp1mVUbqzCKi0KIiWD8/towT0+9k1SCDYjJ/YVPqKidkSefYaKBgJ1yFcWa9qroXAUd5nACXN3Xdes2fe4w+xZ8GQTpqHKyStEHy6R9QXi00r/VxGcmBYZWLifEyzV//PiRC+hUaG27JeeBnkZ1FEOyXUunpaPixNaDkfnLbCimflkd2uYH2arMY+FdOH950ezow/+v4vsNrzoMwVVCCSg/dIJBS2G/JaoAbbQgIGo63Kyz0j++rIInsXMFmxhy9hEpViX/tEorFzGh4gUvJPLy3IDjWjUz/Nfte9By6usQjN/1plJcuP+rUqrjjGeMpfhDP6aq5ZvfuPTmXOVkWJ9vJZaK2BCtSZk1vOJR4luxCyUZQbKgb3jS9YZ4N1ZS26z3EKwJGP/acNtEMx2u2zhY7zXdG7ca1Qo1yeVDMRctlvH++KMEYX/ZR6LqYlJyV6TFICZVUT7dLF65gq68UyIFswMu9pQ8/VvIMkkO6eiU1cqFr8gc=
  gitea:
    image: cidersecurity/goat-gitea:latest
    container_name: gitea
    restart: always
    environment:
      - USER_UID=1000
      - USER_GID=1000
    networks:
      - goat
    ports:
      - "3000:3000"
  ctfd:
    image: cidersecurity/goat-ctfd:latest
    platform: linux/amd64
    container_name: ctfd
    restart: always
    ports:
      - "8000:8000"
    networks:
      - goat
  localstack:
    image: localstack/localstack:0.14.1-amd64
    platform: linux/amd64
    container_name: localstack
    restart: always
    networks:
      - goat
  prod:
    image: cidersecurity/goat-prod:latest
    container_name: prod
    privileged: true
    restart: always
    networks:
      - goat
    ports:
      - "8008:80"
      - "2222:22"
  gitlab:
    image: cidersecurity/goat-gitlab:latest
    container_name: gitlab
    restart: always
    hostname: 'gitlab'
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'http://gitlab'
        registry_external_url 'https://gitlab:5050'
        letsencrypt['enable'] = false
        gitlab_rails['initial_shared_runners_registration_token'] = "GR1348hansd87fyzDiqyZeuHuxe"
        gitlab_rails['smtp_enable'] = false
        gitlab_kas['enable'] = false
        sentinel['enable'] = false
        logrotate['enable'] = false
        pages_nginx['enable'] = false
        grafana['enable'] = false
        prometheus_monitoring['enable'] = false
        alertmanager['enable'] = false
    networks:
      - goat
    ports:
      - '4000:80'
      - '5050:5050'
    shm_size: '256m'
  gitlab-runner:
    image: cidersecurity/goat-gitlab-runner:latest
    privileged: true
    container_name: gitlab-runner
    restart: always
    networks:
      - goat
    shm_size: '256m'
  docker:
    image: docker:20.10.21-dind
    privileged: true
    container_name: docker
    restart: always
    environment:
      DOCKER_TLS_CERTDIR: ""
    command: --insecure-registry=gitlab:5050
    networks:
      - goat

then everything is fine.

Thank you for the solution, looks like an environment specific case so I'll close the issue


unknown SDL_PixelFormatEnum

On docker latest libsdl2-dev SDL_PixelFormatEnumdoes not seem to be available anymore
It can be fixed in /lvgl/src/dev/sdl/lv_sdl_window.c as following:
static void texture_resize(lv_disp_t * disp)
{
...
#if LV_COLOR_DEPTH == 32
    SDL_PixelFormat px_format = {.format = SDL_PIXELFORMAT_ARGB8888};
#elif LV_COLOR_DEPTH == 24
    SDL_PixelFormat px_format = {.format = SDL_PIXELFORMAT_BGR24};
#elif LV_COLOR_DEPTH == 16
    SDL_PixelFormat px_format = {.format = SDL_PIXELFORMAT_RGB565};
#else
#error("Unsupported color format")
#endif

    dsc->texture = SDL_CreateTexture(dsc->renderer, px_format.format,
                                     SDL_TEXTUREACCESS_STATIC, hor_res, ver_res);
    SDL_SetTextureBlendMode(dsc->texture, SDL_BLENDMODE_BLEND);
}

Made a PR in the main repo https://github.com/lvgl/lvgl/pull/4172

The PR is merged, thank you!

I just checked with ubuntu 22.04 just in case and that pulls a newer version of libsdl (2.0.20) which does have SDL_PixelFormatEnum available,
So I think it would actually be better to revert the commit and update the dockerfile to run with ubuntu 22.04 (or 23.04) instead.

Ubuntu 18.04 is really old. So yeah, updating the Docker file would be a more elegant solution. I'll revert the commit and updated the Docker in https://github.com/lvgl/lv_port_pc_eclipse/commit/25b91fd89277936c1199e083bf4e8201e4d11fdb

Just checked on 23.04, it works there also

Okay, updated to 23.04. Thank you!


Any plan to implement Latte in HuggingFace's diffusers library?

@maxin-cn  Great to see your release of the updated LatteT2V model. Awesome work!
Do you have a plan to implement Latte in HuggingFace's diffusers library? As a reference, I am seeing a relevant community request about implementing Latte in diffusers at https://github.com/huggingface/diffusers/issues/7223

@maxin-cn Great to see your release of the updated LatteT2V model. Awesome work!
Do you have a plan to implement Latte in HuggingFace's diffusers library? As a reference, I am seeing a relevant community request about implementing Latte in diffusers at huggingface/diffusers#7223

Hi, thanks for your interest. I am just doing this.

@Quest4AiJ Thanks for asking, we are very interested. Could you please also let us know how to involve Latte in diffusers?

Latte is integrated into diffusers.

Awesome!  This is a great move, @maxin-cn
I saw you spent nearly one month to get it merged. Your effort will be definitely worth it. Thanks a lot


#1 add complete workflow as example

#1

@CAMOBAP confirmed that GHA is on.

@ronaldtse thanks, it works now

Windows issue will be addressed separatelly https://github.com/metanorma/chocolatey-metanorma/issues/72

Thank you @CAMOBAP !


【DUBBO】Fix the problem that Pojoutils.java #getDefaultValue gets the Boolean default value incorrectly, and supplement the corresponding test case

What is the purpose of the change
Getting the default value of boolean is incorrect, resulting in an error in the PojoUtils#newInstance method, if the construction method of the instantiated object requires the boolean type
Brief changelog
let 'bool' to 'boolean'
Verifying this change
I modified the PojoUtilsTest#test_Map_List_pojo test case to add the construction method of SerializablePerson to the boolean type
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.

issue: https://github.com/apache/dubbo/issues/6854

[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #6878 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #6878      +/-   ##
============================================
- Coverage     59.13%   59.11%   -0.03%
+ Complexity      509      507       -2
============================================
  Files          1028     1028
  Lines         41535    41535
  Branches       6041     6041
============================================
- Hits          24561    24552       -9
- Misses        14203    14207       +4
- Partials       2771     2776       +5

Impacted Files
Coverage Δ
Complexity Δ

.../java/org/apache/dubbo/common/utils/PojoUtils.java
72.01% <100.00%> (+1.08%)
0.00 <0.00> (ø)

...rg/apache/dubbo/remoting/utils/PayloadDropper.java
15.38% <0.00%> (-30.77%)
0.00% <0.00%> (ø%)

.../registry/multicast/MulticastServiceDiscovery.java
23.07% <0.00%> (-7.70%)
0.00% <0.00%> (ø%)

...mmon/threadpool/support/AbortPolicyWithReport.java
85.00% <0.00%> (-5.00%)
0.00% <0.00%> (ø%)

...e/dubbo/remoting/transport/netty/NettyChannel.java
55.68% <0.00%> (-4.55%)
20.00% <0.00%> (-1.00%)

...pache/dubbo/remoting/transport/AbstractServer.java
53.75% <0.00%> (-3.75%)
0.00% <0.00%> (ø%)

...ubbo/registry/client/ServiceDiscoveryRegistry.java
27.84% <0.00%> (-2.54%)
0.00% <0.00%> (ø%)

...he/dubbo/rpc/protocol/hessian/HessianProtocol.java
67.46% <0.00%> (-2.41%)
9.00% <0.00%> (ø%)

...ache/dubbo/remoting/transport/mina/MinaClient.java
56.92% <0.00%> (-1.54%)
8.00% <0.00%> (-1.00%)

...g/apache/dubbo/registry/consul/ConsulRegistry.java
60.00% <0.00%> (-0.59%)
31.00% <0.00%> (ø%)

... and 6 more

Continue to review full report at Codecov.

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

this change looks good to me.
@chickenlj could you please help to double check this PR? I thinking this code was introduced many years ago but no one reported this issue before..

this change looks good to me.
@chickenlj could you please help to double check this PR? I thinking this code was introduced many years ago but no one reported this issue before..

maybe there be another bug when the pram is bacis type. see #6551

Changes are merged into master.
Thanks for your ocntribution


Versioning in plugin.php is incorrect

Change the version values for the plugin description and the script enqueue.

Plugin version was already correct, fixed enqueue and changelog versions https://github.com/devgeniem/dustpress-js/pull/10


Downloading STREAMCAT attributes for NHD_PLus

I have tried to download few attributes for NHD_plus streams which is approx 2.6 million. I have used the menu interface but it is not working. Is there a way to get the data

Hi @AnuPal1Hydro123  - are you speaking of StreamCat attributes specifically or rather attributes related to NHDPlus?  And are you referring to the menu interface for StreamCat or the menu interface for NHDPlus?


Devcontainer publishing fails due to tagging issue

The decvontainer@ci action tries to tag the latest tag with the latest tag, producing a failure.
Error: Dev container build failed: Command failed: docker tag ghcr.io/jhatler/jhatler-devcontainer:latest ghcr.io/jhatler/jhatler-devcontainer:latest (exit code: undefined)
  An error occurred building the container.
  Error: Command failed: docker tag ghcr.io/jhatler/jhatler-devcontainer:latest ghcr.io/jhatler/jhatler-devcontainer:latest

The original error persists despite #42.
I traced the issue to this section of the cli code, not the ci action.
https://github.com/devcontainers/cli/blob/828834707ecde0c4cf4738a350700db2259c3828/src/spec-node/devContainersSpecCLI.ts#L509
I can't find a report of a similar issue in the repo. I'm going to install the devcontainer cli and call it directly to see if the issue persists. If this fails, I can at least debug the issue more directly without the devcontainer/ci code in the way.


issue during mining a block

This happened when i tried to mine a block in naivecoin-vue frontpage. The block number was 11 and I tried to add a block by mining.
(https://user-images.githubusercontent.com/31149915/37551904-23df1ae4-29e5-11e8-88ba-92952f72c348.png)
The following error occurs:
(https://user-images.githubusercontent.com/31149915/37551901-f0d8528c-29e4-11e8-9c35-c589b895d5f7.png)
and btw, i wonder if there is a way to communicate with you and ask you serval questions about your amazing codes?

hey, sir . I figured the issue out. And i created a pull request. Hope you will merge it.

hi, how did you resolve this problem?


Issue with base64 password

Hi,
When using this it seems to work fine when adding the password in plain text, however when adding in the base64 equivilant it seems to bring up the below error.
Can you recommend the best command to get the right base64 output for this. I have tried with the below commands to generate base64.
Details:
Error
ERROR: RbVmomi::Fault: InvalidLogin: Cannot complete login due to an incorrect user name or password.

Base64 Commands
openssl enc -base64 <<< 'PASSHERE'

echo -n 'PASSHERE' | base64

Hi,
Re-read the page and it mentioned appending base64: to the password section.
Fixed.

Good to hear you got it working!


Injecting javascript prior to document load

Is there any way to inject javascript prior to the document loading? I think this would be related to #227
Thanks!

Prior to document loading I don't think it's possible

I have a super simple POC at https://github.com/paulxuca/react-native-webview:
on iOS:
Uses WKUserScript with atStart
on android:
Uses shouldInterceptRequest and injects the value of injectJavaScript into the response.

@Titozzz Would @paulxuca patch be considered for merge? I am interested in that feature too.

It is considered, I'm still trying to get a clear picture of the perfect plan

Nice! FYI we came up with a similar solution in an old bridge fork. Only difference is that we are using an InputStream on Android, not loading the whole body before hand.

@Titozzz Can we help somehow? Willing to help/implement this :D

@jeluard Looking forward to see your implementation.

@alexanderby It's available there

@jeluard I mean your fork of react-native-webview :) My project is stuck because this feature is missing.

@alexanderby My fork available at https://github.com/paulxuca/react-native-webview is kept up-to-date and implements this behavior.

@paulxuca What is the API for your implementation? It might be worth merging in if it's a thoughtful API.

On android:
shouldInterceptRequest + identifying GET requests and injecting the javascript in a script tag
On IOS:
WKUserScript

@paulxuca Thanks!
I don't mind this at all. I don't particularly care for the injectJavaScript prop name, as we already have a prop named injectedJavaScript and a method injectJavaScript. That would be pretty confusing.
Perhaps the prop could be named injectedJavaScriptBeforeLoad? That way we have:

injectedJavaScriptBeforeLoad -- prior to load
injectedJavaScript -- after load

That would be more understandable to me.

Sure! That makes a lot more sense. Will make a seperate PR for this feature. Thanks for chiming in!

If you can include the information in the docs/Reference.md and docs/Guide.md (this section) that would be epic. Thank you!

@paulxuca Could you please give a hint, I'm trying to follow your sample, but getting The module ./lib/WebView could not be found. How to create a lib folder?

Weird! The package is using the github repo at a specific branch. Does the demo project run for you?

@paulxuca I didn't try to run the demo yet, I copied the react-native-webview path from package.json. There seems like tasks in the source repository have changed, now there is a build task.

@paulxuca Your sample works.

When you copied the package url for your own project, did you do a fresh native build? It will need to rebuild the native app since the native code has changed.

@paulxuca I deleted node_modules folder and run npm install again. Now it works great and scripts are injected as expected. Thank you!

Great! I’m glad it worked :) working on getting the mainstream branch merged. Thanks for testing!

@Titozzz crying for this feature.
@paulxuca your repo should update.There some pages i cannot open in your repo,but it's ok with the master

@jinzunyue can you give me an example of a page I should test with?

https://big.game/
http://slots777.dapp365.io/
@paulxuca

Both work for me.

https://github.com/react-native-community/react-native-webview/pull/397 PR here

@jinzunyue I'm unable to access one of the links due to error attached below. Switching the URL to https works.

@paulxuca ok,i'll review the code, maybe there is other reason causes my bug.

@paulxuca I notice that you have changed something about ts,then i get the error above.I create a new react-native project with the command "react-native init",and got the error too.Would you like to figure out it's the problem of mine or your repo?

I think the error above is due to using npm to install and using yarn to run the command. The build process works fine on my local machine. If you have a code sample that you expect to work but does not, I'm happy to take a look :)

@paulxuca I come again.

I have solved the error above by using 'yarn install' instead of 'npm install',but it is for the initial project,i haven't figoured out how to use it in my real project.For my real project, it just got the npm error after you changed ts in yesterday,i'll continue to work on it.
When the url is not correct like "https://www.google.co m',the app will crash.I found it was a exception of null point.The picture below shows the detail,hope you can fix it.

@jinzunyue For 2) I don't think react native webview supports urls without a protocol (http, https, etc). It should then be https://google.com, not google.com for source.uri.

I agree with you.But what i mean is that when the users input some incorrect url,the webview can show the error info for the users instead of making apps crash for now.In my example,there just an extra blank in the right url(https://google.c om),it will make the app crash while the master just warn this in development.I think it's better to show the errors fro users rather than app crashing.

@paulxuca I notice that you have changed something about ts,then i get the error above.I create a new react-native project with the command "react-native init",and got the error too.Would you like to figure out it's the problem of my machine‘s env or your repo?

I had the same error.

@devk1d Can you confirm that the error does not occur on master? My changes to the typescript code did not touch the build process, which is what the error above is referring to.

@paulxuca

I have said it got errors on totally new project after you changed something about ts while the master behaved normally.I thought it maybe my local enviroment's problem.But my three colleagues tried to install your repo/the master in new project.They got the same error.
I really want to help this,because the feature is so important to my project.

Hi @jinzunyue - Sorry you're having trouble with this feature! I noticed you're using the git url. For now, before the PR gets merged in I recommend using @paulxuca/react-native-webview. Please let me know if the fork works!

Hi @jinzunyue - Sorry you're having trouble with this feature! I noticed you're using the git url. For now, before the PR gets merged in I recommend using @paulxuca/react-native-webview (https://www.npmjs.com/package/@paulxuca/react-native-webview). Please let me know if the fork works!

I try
npm install @paulxuca/react-native-webview
then get this error
npm ERR! code E404
npm ERR! 404 Not Found: @paulxuca/react-native-webview@latest

@jinzunyue
I resolved it by use injectJavaScript ，the the injectJavaScript code run InitVue
injectJavaScript:
injectJavaScript  = "window.localStorage.setItem(TokenKey, appToken); window.InitVue && window.InitVue()"
web:
if(isWebView) {
    window.InitVue = () => {
        new Vue({
            router,
            store,
            render: h => h(App),
        }).$mount('#app')
    }
}else {
    // ..
}

@devk1d Why you code with "Vue" which is a framework for web?Actually the npm reaylly don't have the new repo @paulxuca gave, the the url get error of 404.

@jinzunyue Sorry about that! The package was private. Made it public, please let me know if it works!

@paulxuca It's ok.But there are two problems.

I get an error below while build with "react-native run-ios" which is ok building with xcode.I have to use xcode to run on ios devices now.

I suggest whatever uses input shouldn't make app crash.The repo can show the errors to the use,but simplely make app crash with "Null point" is so bad.I changed the repo in my local node_modules to avoid app's crashing,i hope you can improve this.For detail,you can scan the comment above.

@paulxuca It's ok.But there are two problems.

I get an error below while build with "react-native run-ios" which is ok building with xcode.I have to use xcode to run on ios devices now.

I suggest whatever uses input shouldn't make app crash.The repo can show the errors to the use,but simplely make app crash with "Null point" is so bad.I changed the repo in my local node_modules to avoid app's crashing,i hope you can improve this.For detail,you can scan the comment above.

For ios,i only changed wkwebview,because i only use this.But maybe you should also change uiwebview even it's useless.

Hi @paulxuca , injectedJavaScriptBeforeLoad is not work in the latest version

Hi @paulxuca , injectedJavaScriptBeforeDocumentLoad is not work in the latest version. And I can not find this feature in codes, Maybe you pack a wrong package?

It is "injectJavaScript" rather than "injectedJavaScriptBeforeDocumentLoad".I think you can read the source code.

In Android:
remote uri such as www.google.com -> it works
local uri such as file:///xxxx/index.html -> app crash

In Android:
remote uri such as www.google.com -> it works
local uri such as file:///xxxx/index.html -> app crash

It was the because the url was not correct,then the request got null,then tiggerred 'Null Point Exception'.Same error as url such like "www.google.c om".Like i suggest above,the repo should intercept it like the master do.

In Android:
remote uri such as www.google.com -> it works
local uri such as file:///xxxx/index.html -> app crash

It was the because the url was not correct,then the request got null,then tiggerred 'Null Point Exception'.Same error as url such like "www.google.c om".Like i suggest above,the repo should intercept it like the master do.

I think you are right; I got adb log as follow:
04-29 15:35:51.841 28819 29297 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'okhttp3.HttpUrl okhttp3.Request.url()' on a null object reference
04-29 15:35:51.850 28819 29297 W System.err: 	at com.reactnativecommunity.webview.RNCWebViewManager$RNCWebViewClient.interceptRequest(RNCWebViewManager.java:701)
04-29 15:35:51.850 28819 29297 W System.err: 	at com.reactnativecommunity.webview.RNCWebViewManager$RNCWebViewClient.shouldInterceptRequest(RNCWebViewManager.java:695)
04-29 15:35:51.850 28819 29297 W System.err: 	at ib.b(PG:165)
04-29 15:35:51.850 28819 29297 W System.err: 	at zw.a(PG:9)
04-29 15:35:51.850 28819 29297 W System.err: 	at org.chromium.android_webview.AwContentsBackgroundThreadClient.shouldInterceptRequestFromNative(PG:2)

@paulxuca I got in troubles again. The property "injectJavaScript" don't work on iOS 10.0.0.I know it is an old enough version,but there a lot people they think the iphone's upgrade will make mobiles slower,so they don't upgrade for evet three years.

@paulxuca Haven't see you for a long time.And i got an another bug.It only shows on some special android devices such as "HUAWEI PRA AL00 android 7.0".Your repo will crash when invoke "reload" for 100%,but the master will not.
`export default class App extends Component {
componentDidMount(): void {
setTimeout(() => this.webview.reload(), 5000);
}
render() {
return (
<View style={{backgroundColor: "red", flex: 1}}>
<WebView
ref={(ref) => this.webview = ref}
style={{flex: 1}}
source={{uri: "https://www.baidu.com"}}
/>

);
}
}The below is error info.
2019-05-17 14:22:09.621 7741-7741/com.reactnativedemo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.reactnativedemo, PID: 7741
java.lang.IllegalStateException: Unable to create layer for RNCWebViewManager$RNCWebView, see logcat for more info
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:356)
at android.os.Looper.loop(Looper.java:138)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)
2019-05-17 14:22:09.625 7741-7776/com.reactnativedemo E/OpenGLRenderer: allen debug liyu Key: 5242945
`
I don't know why,but the master behaves normal.

@paulxuca I get an error when I try to install:
tomas@~/sites/zingfit-mobile $ react-native link react-native-webview
{ Error: Cannot find module '/Users/tomas/sites/ZingFit Mobile/node_modules/react-native-webview/package.json'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at getRNPMConfig (/Users/tomas/sites/ZingFit Mobile/node_modules/react-native/local-cli/core/index.js:53:1)
    at Object.getDependencyConfig (/Users/tomas/sites/ZingFit Mobile/node_modules/react-native/local-cli/core/index.js:110:18)
    at deps.reduce (/Users/tomas/sites/ZingFit Mobile/node_modules/react-native/local-cli/link/getDependencyConfig.js:18:24)
    at Array.reduce (<anonymous>)
    at getDependencyConfig (/Users/tomas/sites/ZingFit Mobile/node_modules/react-native/local-cli/link/getDependencyConfig.js:15:15)
    at Object.link [as func] (/Users/tomas/sites/ZingFit Mobile/node_modules/react-native/local-cli/link/link.js:151:24) code: 'MODULE_NOT_FOUND' }

I've looked under node_modules and it doesn't install the package via "npm install @paulxuca/react-native-webview"

Anything new?

I think I solved it by injecting while document is only partially loaded. Havent tested much yet, thats what Im gona do next hour. This is the essence:
          onLoadStart={e => {
            alreadyInjected = false;
            console.log('load start');
          }}

          onLoadProgress={e => {
            console.log('progress:', e.nativeEvent.progress);
            if (!alreadyInjected) {
              this.webview.injectJavaScript(injectedParadise);
              alreadyInjected = true;
              console.log('injected');
            }
          }}

thoughts..?

 Thanks for this one. Works like a charm on Android where I had issues.

Anything new?

It works but I wait until the body is load.
Here is my example code:
  const myInterval = setInterval(() => {
    if(document.body){
      document.body.addEventListener('click', myFunction);
      clearInterval(myInterval);
    }
  }, 300);

I don't think @Overtorment 's solution works on page redirects because you get 2x of the script running concurrently. I wonder why this is and how to prevent this from happening. Does anyone have any idea on how to check if you already have an active script running? This could solve my issue.

I have not tried this yet but I believe it might work (depending on your situation):

Open a blank or test web page
Execute the script
Navigate or reload the navigation to your desired / intended page.


-tov/--transparentvideoovervideo: invalid  value:

Hi,
I tried multiple way to get a -tv working an example video to work with a background and it always throws the error in the title.
For instance, backgroundremover -i "./stress.mp4" -tov "vert.mp4" -o "output.mp4" results in:
backgroundremover: error: argument -tov/--transparentvideoovervideo: invalid <lambda> value: 'vert.mp4'
Weirdly enough backgroundremover -i "./stress.mp4" -tov -o "output.mp4" "works" ... but there's no overlay video input so I get:
/<stdin>: No such file or directory Process finished
Any idea?

same issue:
backgroundremover -i 15_terminator.mp4 -tov green.mp4 -o g_out.mov usage: backgroundremover [-h] [-m {u2net,u2net_human_seg,u2netp}]                          [-a [ALPHA_MATTING]]                          [-af ALPHA_MATTING_FOREGROUND_THRESHOLD]                          [-ab ALPHA_MATTING_BACKGROUND_THRESHOLD]                          [-ae ALPHA_MATTING_ERODE_SIZE]                          [-az ALPHA_MATTING_BASE_SIZE] [-wn WORKERNODES]                          [-gb GPUBATCHSIZE] [-fr FRAMERATE] [-fl FRAMELIMIT]                          [-mk [MATTEKEY]] [-tv [TRANSPARENTVIDEO]]                          [-tov [TRANSPARENTVIDEOOVERVIDEO]]                          [-toi [TRANSPARENTVIDEOOVERIMAGE]]                          [-tg [TRANSPARENTGIF]]                          [-tgwb [TRANSPARENTGIFWITHBACKGROUND]] [-i [INPUT]]                          [-bi [BACKGROUNDIMAGE]] [-bv [BACKGROUNDVIDEO]]                          [-o [OUTPUT]] backgroundremover: error: argument -tov/--transparentvideoovervideo: invalid <lambda> value: 'green.mp4'

So far, I didn't find a way to make it work and python code looks the same as -tv so I don't see why the file is not loaded as overlay.
Let me know @celikmustafa89 if you find some way :wink:

Hi,
I found the way of running it.
backgroundremover -i terminator.mp4 -toi -bv green.mp4 -o out_vid.mov
however the output is not good. I was expecting the original video with the green background but it is a grayscale output. :S :S

So far, I didn't find a way to make it work and python code looks the same as -tv so I don't see why the file is not loaded as overlay.
Let me know @celikmustafa89 if you find some way 😉

Hi @edouard-mangel ,
I found the way of running it.
backgroundremover -i terminator.mp4 -toi -bv green.mp4 -o out_vid.mov
however the output is not good. I was expecting the original video with the green background but it is a grayscale output. :S :S

may be it is because of the version of FFmpeg ?? I do not know.

I had the same, its the alpha matte (mask for the alpha channel).
For an image with the same size as the video it shrinks the video and only keep the matte:

I had the same, its the alpha matte (mask for the alpha channel).
For an image with the same size as the video it shrinks the video and only keep the matte:

how should we run the code to get a proper output? any idea?

I had the same, its the alpha matte (mask for the alpha channel).
For an image with the same size as the video it shrinks the video and only keep the matte:

how should we run the code to get a proper output? any idea?

No idea :confused:

Oh, nice!
The matte is 0.4444 the scale of the original video in my case. Is it the same for you?
Maybe simply adding some scale parameter in ffmpeg could do the trick?

Your exact command worked for me!

Hey,it also works with a PNG image: ffmpeg -i stress.mp4 -i matte.mp4 -i vert.png -filter_complex '[1][0]scale2ref[mask][main];[main][mask]alphamerge[vid];[2:v][vid]overlay[out]' -map [out] complete2.mp4

The following command generates a video that scale-up the video for the background image. It may help in some cases. At least work for me. I spent some time writing this command, just want to share it to save your time if you need it.
ffmpeg -i test_fightclub.mp4 -i fight_matte_image.mov -i green.png -filter_complex '[1][0]scale2ref[mask][main];[main][mask]alphamerge[vid];[vid][2:v]scale2ref[fg][bg];[bg][fg]overlay[out]' -map [out] fight_image_complete_scale2ref.mp4
my output was like this:

now I can generate following output with the code:

Cool!
Thank you!

I had this open on superuser as I had gotten stuck.   I'll fix the '-tov' ffmpeg command and close this issue.

Thank you!


⚠ Bofrost.de has degraded performance

In 29e7fbe, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1809 ms

Resolved: Bofrost.de performance has improved in 16eaaf7 after 6 minutes.


error in getCompilerVersion()

Hi,
When running the test cases, getCompilerVersion() keeps throwing errors.  I am working on Windows 10, JDK 13. I check the code, and String version = System.getenv("SRC_VERSION"); always return null.  What is the SRC_VERSION?

Hi @shaoweiwang2010 ,
We use the environment variable SRC_VERSION in our development setup and CI setup, as we compile our example projects to several target versions.
See the list of target versions we use right now: https://github.com/SpoonLabs/flacoco/blob/2a74fda24c1337280d03ec099fa3722f674ecdee/.github/workflows/tests.yml#L12
So, if you want to compile and test flacoco you should set that variable to the version you wish (keep in mind some of the example projects only work for a specific or a sub-set of the available versions due to them using recent or outdated features of Java):
$ export SRC_VERSION=8
$ ./.github/install_examples.sh # to install the example projects
$ mvn test

Hope I was able to help :)

@andre15silva  thanks for the quick response. Yes, it works now:)   I faced another error after fixing this.  I am using flacoco 1.0.2, tried both on Windows (JDK13) and Ubuntu (JDK11) and both have the same problem.
I pasted some error log here:
[2677] DEBUG SpectrumRunner - Running spectrum-based fault localization...
[2677] DEBUG SpectrumRunner - FlacocoConfig{workspace='/tmp/junit6356226748834157226', projectPath='/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL9NotMavenMultiple', srcJavaDir=[/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL9NotMavenMultiple/java], srcTestDir=[/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL9NotMavenMultiple/test2, /home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL9NotMavenMultiple/test1], binJavaDir=[/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL9NotMavenMultiple/bin/classes], binTestDir=[/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL9NotMavenMultiple/bin/test-classes2, /home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL9NotMavenMultiple/bin/test-classes1], classpath='', customJUnitClasspath='null', customJacocoClasspath='null', mavenHome='/home/shaowei2/.m2/repository/', coverTests=false, testRunnerVerbose=true, testRunnerTimeoutInMs=1000000, testRunnerJVMArgs='null', threshold=0.0, includeZeros=false, complianceLevel=8, testDetectionStrategy=CLASSLOADER, ignoredTests=[], jUnit4Tests=[], jUnit5Tests=[], jacocoIncludes=[], jacocoExcludes=[], family=SPECTRUM_BASED, spectrumFormula=OCHIAI, computeSpoonResults=false}
[2677] DEBUG TestDetector - Running chosen test detection strategy: CLASSLOADER
[2678] INFO CoverageRunner - Tests found: 0
[2678] INFO CoverageRunner - Tests executed: 0
[2678] DEBUG SpectrumRunner - Running spectrum-based fault localization...
[2678] DEBUG SpectrumRunner - FlacocoConfig{workspace='/tmp/junit4572837061421405899', projectPath='/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL4JUnit5/FLtest1', srcJavaDir=[/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL4JUnit5/FLtest1/src/main/java], srcTestDir=[/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL4JUnit5/FLtest1/src/test], binJavaDir=[/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL4JUnit5/FLtest1/target/classes], binTestDir=[/home/shaowei2/Downloads/flacoco-1.0.2/./examples/exampleFL4JUnit5/FLtest1/target/test-classes], classpath='', customJUnitClasspath='null', customJacocoClasspath='null', mavenHome='/home/shaowei2/.m2/repository/', coverTests=false, testRunnerVerbose=true, testRunnerTimeoutInMs=1000000, testRunnerJVMArgs='null', threshold=0.0, includeZeros=false, complianceLevel=8, testDetectionStrategy=CLASSLOADER, ignoredTests=[], jUnit4Tests=[], jUnit5Tests=[], jacocoIncludes=[], jacocoExcludes=[], family=SPECTRUM_BASED, spectrumFormula=OCHIAI, computeSpoonResults=false}
[2678] DEBUG TestDetector - Running chosen test detection strategy: CLASSLOADER
[2679] INFO CoverageRunner - Tests found: 0
[2679] INFO CoverageRunner - Tests executed: 0
Tests run: 15, Failures: 11, Errors: 0, Skipped: 4, Time elapsed: 0.019 sec <<< FAILURE!
Failed tests:   testExampleFL1IgnoreTestMethod(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL6Mixed(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<2> but was:<0>
testSpoonClass(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL4JUnit5(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL1(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL2(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL3(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL7(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL8(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL9(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL11(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
testExampleFL5JUnit3(fr.spoonlabs.flacoco.core.test.TestDetectorTest): expected:<1> but was:<0>
It seems the test cases are not detected.
I also tried to bypass test when packaging and built jar directly, after running the given example It appears to the same error, test cases seems not detected. Here is the output for the given example.
java -cp target\flacoco-1.0.2-SNAPSHOT-jar-with-dependencies.jar fr.spoonlabs.flacoco.cli.FlacocoMain --projectpath examples\exampleFL1\FLtest1
[0] INFO Flacoco - Running Flacoco...
[43] INFO CoverageRunner - Tests found: 0
[44] INFO CoverageRunner - Tests executed: 0
Really appreciate it if you could provide some instructions on how to fix it.

Hello @andre15silva
I'm facing the same issue. Would you share some instructions on how to solve the issue.

Hi @shaoweiwang2010 and @ashraf04066
I am not being able to reproduce such a bug.
Could you give me some additional information:

The output of java -version
The value you used for the env variable SRC_VERSION, and whether you ran ./.github/install_examples.sh after setting it or not.

Hi @andre15silva thanks so much. Yes, after running ./.github/install_examples.sh, it works now. Thanks very much.
I was wondering, if I apply flacoco to my own project. Do I need to run something similar to install_examples.sh before running cmd through CLI or using API?

I was wondering, if I apply flacoco to my own project. Do I need to run something similar to install_examples.sh before running cmd through CLI or using API?

No! You only need to run that script if you want to run the tests.
If you want to use the API, simply add flacoco as a maven dependency:
<dependency>
    <groupId>com.github.spoonlabs</groupId>
    <artifactId>flacoco</artifactId>
    <version>1.0.2</version>
</dependency>

If you want to use the CLI, you can build flacoco and bypass the tests with -DskipTests, and then use the generated jar.
$ mvn install -DskipTests

@andre15silva Thanks for the quick reply! Do we need to compile our projects before we can run Flacoco in CLI using jar? or Flacoco will run maven to compile the target project automatically. I checked the install_examples.sh seems it will compile the example projects first.

@andre15silva Thanks for the quick reply! Do we need to compile our projects before we can run Flacoco in CLI using jar? or Flacoco will run maven to compile the target project automatically. I checked the install_examples.sh seems it will compile the example projects first.

Yes, @shaoweiwang2010. You do need to compile your example projects first, and then you can run flacoco on them.


Feature/assignment 2 bonus improvements

This PR adds:

Build pipeline that is triggered on pull-requests to automatically detect any deviations from the PEP8 coding standard
Updates docker image to include additional helpful packages for troubleshooting stuff in k8s
Updates code formatting
Updates README

Approving since the changes look good to me.


cert_build_list(): by default don't show certs without prv key

[ ] Redmine Issue: https://redmine.pfsense.org/issues/9972
[ ] Ready for review

by default don't show certs without prv key
allow to show it with using extra $noprv arg (can be used for CA certs)
it will also allow  https://github.com/pfsense/pfsense/pull/4102

There are very few, if any, places that will require a private key as a CA, and those that do, don't use this function.

only Squid
done


Improve AsyncResetSpec test-cases

Related issue: See https://github.com/freechipsproject/firrtl/pull/1201
Type of change: bug report
Impact: no functional change
Development Phase: implementation
Release Notes
Update AsyncResetSpec in line with https://github.com/freechipsproject/firrtl/pull/1201
Add additional test-cases

Can one of the admins verify this patch?

Note: no need to launch CI => will fail until https://github.com/freechipsproject/firrtl/pull/1201 gets merged

Closing for now as discussed in https://github.com/freechipsproject/firrtl/pull/1201. I want to see how far we can go with the current semantics and revisit in the future if necessary.


[feature] Disable sortable on part of a list

I have a specific use-case where I don't want to allow sorting on part of the list (specifically, the the first N items). However, as sortableJs is assigned on the root of the list, I can't find a way to ask sortable to don't consider the items as valid drop targets.
I did find the filter option, but as stated in the docs and as I found out in practice, this only prevents the item from being dragged, not being a drop target. See: https://jsbin.com/vinitaqeje/1/edit?html,css,js,output
Groups doesn't work, as I don't want to create multiple lists, I want to party disable it in the same
The jQuery sortable library has a similar function, which would work great: https://jqueryui.com/sortable/#items
Any chance something like this can be achieved through a workaround?

+1

This is already supported in Sortable JS. Just modify your script to include onMove
Sortable.create(list, {
filter: ".item-disabled",
onMove: function (evt) {
const targetElement = evt.related; // The element you're trying to drop onto
// Prevent drop if the target element has the 'item-disabled' class
if (targetElement.classList.contains('item-disabled')) {
return false; // Prevent dropping on this element
}
}
})


MGMT-17227: Use openshift-install for creation of ibi-config.iso

/cc @mresvanis
/cc @eranco74

/lgtm
/approve

/hold
@jeff-roche says that this might break CI, so we want to test it in CI environment first


theme Joy and Material ui , shouldSkipGeneratingVar missing in material/styles , also codesandbox broken in [doc]

My Theme jsx file  theme.txt
I was using joy theme with a little material theme
, and with a new project , following https://mui.com/joy-ui/guides/using-joy-ui-and-material-ui-together/  but I can't load shouldSkipGeneratingVar  from @mui/material/styles , as matter of fact there is no more export for that in the lib .
and the https://codesandbox.io/s/joy-ui-feat-material-ui-k86j2j?file=/demo.tsx is buggy too, I use jsx and not typescript.
my package.json is :
"react": "^18.2.0",
"@mui/icons-material": "^5.11.11",
"@mui/joy": "5.0.0-alpha.70",
"@mui/material": "^5.11.12",
"@mui/styles": "^5.11.12",
"@mui/utils": "^5.11.12",
Originally posted by @tombombadilom in https://github.com/mui/material-ui/issues/33275#issuecomment-1458291395

Duplicate of #36451


Create lookalike_domain_with_suspicious_language.yml

Description
This rule identifies messages where links use typosquatting or lookalike domains similar to the sender domain, with at least one domain being either unregistered or recently registered (≤90 days). The messages must also contain indicators of business email compromise (BEC), credential theft, or abusive language patterns like financial terms or polite phrasing such as "kindly." This layered approach targets phishing attempts combining domain deception with manipulative content"
Associated samples
Link to samples that are affected by your change.
For example, samples you are negating, samples you are including, or samples your new insight should fire on.

Sample 1
Sample 2

/update-test-rules

/update-test-rules

/update-test-rules

Adding ASR


Support remote connections for TestCafe helper

Motivation/Description of the PR
Saw this very nice functionality of TestCafe was not supported yet, so I have implemented it. You can now configure your TestCafe helper with browser: 'remote' that results in a testcafe remote connection. It will print the url and a QR-Code to automatically scan and navigate to it via the browser of the remote device.
For more information/background about remote test see:
https://devexpress.github.io/testcafe/documentation/recipes/test-on-remote-computers-and-mobile-devices.html
Applicable helpers:

[ ] Webdriver

[ ] Puppeteer

[ ] Nightmare

[ ] REST

[ ] Appium

[ ] Protractor

[x] TestCafe

Description of this PR, which problem it solves

A link to the corresponding issue (if applicable).

Type of change

[ ] Breaking changes
[X] New functionality
[ ] Bug fix
[ ] Documentation changes/updates
[ ] Hot fix
[ ] Markdown files fix - not related to source code

Checklist:

[ ] Tests have been added
[x] Documentation has been added (Run robo docs)
[x] Lint checking (Run npm run lint)
[x] Local tests are passed (Run npm test)

 Here is an overview of what got changed by this pull request:

Clones added
============
- lib/helper/TestCafe.js  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Clones removed
==============
+ lib/helper/TestCafe.js  -1

See the complete overview on Codacy

@Vorobeyko please merge if no objections


no xformers? its slow as hell

or did i miss something ?
3090

Cannot say i completely know how it runs, but there is xformers in audiocraft

How to check is it using transformers? When i used this last time when 2.0 was released it was really fast. Today 2.1 takes a looong time to generate 30sec clip. It's like 10 x slower what it used to be.


Remove warning information when compiling and Add some comment about code

Fix #112

@yuqi1129 I think there is no need to create an issue for such a small change. And when you do need issue for progress tracking, you should add "Fix #issue_number" in the PR description for GitHub to automatically link the PR with issue.

@yuqi1129 I think there is no need to create an issue for such a small change. And when you do need issue for progress tracking, you should add "Fix #issue_number" in the PR description for GitHub to automatically link the PR with issue.

Got it


Update provincial cumulative files for 20200603

Update provincial cumulative files for 20200603

Hey @lrossouw you might want to sync up with @chadwpetersen who has also adopted these files.

OK no problem.


feat(types): improve order by type safety

Change Summary
Improves the order type to signify that only one field can be present at any given time.
Checklist

[x] Unit tests for the changes exist
[x] Tests pass without significant drop in coverage
[ ] Documentation reflects changes where applicable
[ ] Test snapshots have been updated if applicable

Agreement
By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice.

If you need to order by multiple fields you can pass a list to order, for example:
posts = await Post.find_many(
	order=[
        {'created_at': 'desc'},
        {'views': 'desc'},
    ],
)

Hi @RobertCraigie
The solution is extremely inflexible and broke our code in development/testing branches, because it requires a Literal and something so simple as
def some_endpoint(sorty_by_field: str):
       posts = await Post.prisma().find_many(
	order=[
        {sort_by_field: 'desc'}
    ],
)

error: Argument "order" to "find_many" of "OrganizationActions" has incompatible type "Dict[str, Literal['asc', 'desc']]"; expected "Union[...]

Does not work. We tried to make Literals, Finals, but it fails on mypy and pyright. I do not know if there is a suitable solution for that, but writing the name of the order field as Literal in the code in advance is really making the use of find_many really hard with type checkers, the only solution for now for us is to bypass with cast or type:ignore.

Hi @RobertCraigie
I can't find any prisma.PostScalarFieldKeys

Where this type is generated?

@danigosa sorry I should've been more clear, that type is generated for every model in your schema file. So PostScalarFieldKeys is only generated if you have a model named Post in your schema file.
Are there other types like PostScalarFieldKeys generated?

@danigosa sorry I should've been more clear, that type is generated for every model in your schema file. So PostScalarFieldKeys is only generated if you have a model named Post in your schema file.
Are there other types like PostScalarFieldKeys generated?

There is not, but it sounds great to have a Type that can handle this, can you post the code of PostScalarFieldKeys so I can work something out? There are not any generated for custom models, unfortunately

@danigosa sorry I should've been more clear, that type is generated for every model in your schema file. So PostScalarFieldKeys is only generated if you have a model named Post in your schema file.
Are there other types like PostScalarFieldKeys generated?

Yes! I know documenting is hard, but this is really awesome and undocumented :laughing:

@danigosa sorry I should've been more clear, that type is generated for every model in your schema file. So PostScalarFieldKeys is only generated if you have a model named Post in your schema file.
Are there other types like PostScalarFieldKeys generated?

Yes! I know documenting is hard, but this is really awesome and undocumented laughing

Unfortunately with mypy it does not work:
@router.get(
    "",
    response_model=Paginated[CenterWithoutRelations],
    response_class=ORJSONResponse,
)
async def list_centers(
    take: int = None,
    skip: int = None,
    sort_by: CenterScalarFieldKeys = "id",
    order: SortOrder = "asc",
    db: Prisma = Depends(db_from_request),
) -> Paginated[CenterWithoutRelations]:
    """LIST"""
    if sort_by not in CenterWithoutRelations.__fields__:
        return ORJSONResponse(
            status_code=400, content={"message": "Incorrect sort_by field"}
        )

    data = await db.center.find_many(
        take=take,
        skip=skip,
        where={"deleted": False},
        order={sort_by: order},
    )
    if skip is not None:
        count = await db.center.count()
    else:
        count = len(data)

    return {"data": data, "count": count}

➜  care-api git:(1446-care-api-dev-deploy) ✗ make stylecheck
Loading .env environment variables...
src/robbie/care_api/v1/centers.py:46: error: Argument "order" to "find_many" of "CenterActions" has incompatible type "Dict[Literal['id', 'org_id', 'name', 'created_at', 'modified_at', 'deleted'], Literal['asc', 'desc']]"; expected "Union[_Center_id_OrderByInput, _Center_org_id_OrderByInput, _Center_name_OrderByInput, _Center_created_at_OrderByInput, _Center_modified_at_OrderByInput, _Center_deleted_OrderByInput, List[Union[_Center_id_OrderByInput, _Center_org_id_OrderByInput, _Center_name_OrderByInput, _Center_created_at_OrderByInput, _Center_modified_at_OrderByInput, _Center_deleted_OrderByInput]], None]"
src/robbie/care_api/v1/centers.py:46: error: Expected TypedDict key to be string literal

The types code:
CenterScalarFieldKeys = Literal[
    'id',
    'org_id',
    'name',
    'created_at',
    'modified_at',
    'deleted',
]

I think the problem is using Union of TypedDict with literal definition of key, may python typing does not support the goodies of TypeScript type DerivedCenter = {[k: keyof Center]: string | number} where you can define both types for keys and values... or I'm doing something wrong

Looking at https://peps.python.org/pep-0589/#rejected-alternatives I can see why is not working, TypedDict is not supposed to support that, any workaround is welcome!

Adding ScalarFields still have mypy  and pyright problems, the type in checkers after applying ScalarFieldKeys is Dict[Literal['id', 'org_id', 'name', 'created_at', 'modified_at', 'deleted'] which is ok but does not work for Union[TyopedDict,...]:
src/robbie/care_api/v1/centers.py:46: error: Argument "order" to "find_many" of "CenterActions" has incompatible type "Dict[Literal['id', 'org_id', 'name', 'created_at', 'modified_at', 'deleted'], Literal['asc', 'desc']]";
expected "Union[_Center_id_OrderByInput, _Center_org_id_OrderByInput, _Center_name_OrderByInput, _Center_created_at_OrderByInput, _Center_modified_at_OrderByInput, _Center_deleted_OrderByInput, List[Union[_Center_id_OrderByInput, _Center_org_id_OrderByInput, _Center_name_OrderByInput, _Center_created_at_OrderByInput, _Center_modified_at_OrderByInput, _Center_deleted_OrderByInput]], None]"
src/robbie/care_api/v1/centers.py:46: error: Expected TypedDict key to be string literal

"ORJSONResponse" is incompatible with "Paginated[CenterWithoutRelations]" (reportGeneralTypeIssues)
  /home/danigosa/rbcode/backend/care-api/src/robbie/care_api/v1/centers.py:46:15 - error: Argument of type "dict[str, str]" cannot be assigned to parameter "order" of type "CenterOrderByInput | List[CenterOrderByInput] | None" in function "find_many"
    Type "dict[str, str]" cannot be assigned to type "CenterOrderByInput | List[CenterOrderByInput] | None"

Yes! I know documenting is hard, but this is really awesome and undocumented 😆

Yeah the documentation needs some more love to be honest...
Any suggestions are more than welcome :)

I think the problem is using Union of TypedDict with literal definition of key, may python typing does not support the goodies of TypeScript type DerivedCenter = {[k: keyof Center]: string | number} where you can define both types for keys and values... or I'm doing something wrong

I can replicate the errors you're seeing with both pyright and mypy. It saddens me to say this but I think this is just one of those cases where you'll have to ignore the error unfortunately. If you do this in multiple places I'd recommend extracting it to a function that returns the corresponding PostOrderByInput for your model so that you only have to ignore the error in that function.
@danigosa Thanks for looking into this and raising it, I was not aware that this did not work! This should probably also be raised on typing-sig / mypy / pyright to see if it would be feasible to support officially.
If I receive signal from other users that this change should be reverted, I'll look into it but for the time being I think this change provides a good amount of value as it signals to users directly writing the order query themselves that they can only specify one field at a time.

Yes! I know documenting is hard, but this is really awesome and undocumented laughing

Yeah the documentation needs some more love to be honest...
Any suggestions are more than welcome :)

I think the problem is using Union of TypedDict with literal definition of key, may python typing does not support the goodies of TypeScript type DerivedCenter = {[k: keyof Center]: string | number} where you can define both types for keys and values... or I'm doing something wrong

I can replicate the errors you're seeing with both pyright and mypy. It saddens me to say this but I think this is just one of those cases where you'll have to ignore the error unfortunately. If you do this in multiple places I'd recommend extracting it to a function that returns the corresponding PostOrderByInput for your model so that you only have to ignore the error in that function.
@danigosa Thanks for looking into this and raising it, I was not aware that this did not work! This should probably also be raised on typing-sig / mypy / pyright to see if it would be feasible to support officially.
If I receive signal from other users that this change should be reverted, I'll look into it but for the time being I think this change provides a good amount of value as it signals to users directly writing the order query themselves that they can only specify one field at a time.

Yeah we are bypassing it with cast(CenterOrderByInput, obj) this way developers within the IDE can at least look into the target type to see what we are skipping by...
After a talk with some team mates it's really a limitation on typing, although we do not find a TypeScript solution for it either, seems like the API from Query Engine is the one enforcing a bad typing by asking a list of dictionaries of just 1 pair per order field element which is itself a little weird, IMHO.


Update s3, sdk-core, sqs to 2.15.76

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.15.73 to 2.15.76.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #68.


Show update summary

pre, post comparison for changed package versions

Add all angular included packages to version task group. Consider making another button to run update on the selected items if possible.


[zh-cn] sync concepts/workloads/controllers/replicationcontroller.md

Signed-off-by: Gao Qian<EMAIL_ADDRESS>

/approve

/lgtm
/approve


Fix incorrect operator example

Why:
I included a syntactic expression in the example of the article Context and expression syntax for GitHub Actions, because the expression in the example has == as an operator, and according to the documentation it needs a $ {{ }} to explicitly mark it for evaluation.
Closes #4488.
What's being changed:

Check off the following:

[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

Thanks for opening a PR @lucalves and thanks to @adambkaplan for opening an issue! I'll get this triaged for the team to review ⚡

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idif also contains this error btw.

@jaqx0r Thanks for catching that and reporting it. Would you mind opening a new issue with this information? Then we can triage it and get it up for review ⚡


Search on the front page to search public trees and our databases once indexed

Search on the front page to search public trees and our databases once indexed

Hi, everyone.
Don't work with this scammer.
Let me explain how he will scam you.
First, he will hire you on Upwork(sometimes PPH, and so on).
Second, he will let you work on a lot of issues and push your updates.
Third, he will let you work without any payment.
Fourth, he will remove you from his GitHub repo, so you will never get paid from this scammer.
He already scammed a lot of developer in this way.
You can check a lot of feedback removed from this scammer.
Don't work with this scammer.
I will report this scammer to GitHub team.


Improved generic method and parameters syntax highlighting

Also fixes #89
Before:

After:

Looks great @ivanz. I'd love to take this PR. Since this is a PR to a Microsoft repo, let me get the machinery set up to take external PRs. I'll get the ball rolling on that today.

I made some more improvements to handle generic parameters in the method signature and also handle arrays of nullable types:
Before

After

FWIW, I'm still waiting for the CLA machinery to get set up. It's being worked on though. Once it's ready, would you be willing to sign a Microsoft CLA? (assuming you haven't already)

Yes no problem whatsoever. I have signed one before.

Hi @ivanz, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Hi @ivanz, sorry for the delay! The CLA automation is finally set up. We're currently locked down on the master branch. I'll go ahead and rebase for you against dev.

OK -- I've rebased against dev and created a new PR - #191. Thanks @ivanz!


Versions at the top are out of date

v3 is in public preview

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

ID: cac22961-da69-7b22-6dff-f7bc5ee82ed3
Version Independent ID: dd4ed11e-a0f9-4e97-48ae-8bd94f510c07
Content: How the SharePoint Migration Tool works
Content Source: migration/how-the-sharepoint-migration-tool-works.md
Product: sharepoint-server-itpro
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

@officedocsbot assign @scanum

@danmyhre thank you for reaching out. Please let me know exactly which versions are out of date so I can add the necessary changes.

It looks like that section of the page has been removed since this was submitted.

@scanum this can be closed thank you.

@danmyhre  Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


Fix smart_stats update-smart-drivedb interactive prompt

PR to address issue #892

well - honestly i am not well versed in smartmontools etc - not sure why the drivedb needs to be updated etc.  was just trying to fix a hang when the install.sh is run to build the pkg and modules that i have been seeing.
looks like it also depends on gpg to ensure update consistency.. which you dont have :) in your case i would think install.sh would just error that line and continue - not hang.  we could add --no-verify too though.
maybe this is a better question for @tuxudo who initially set up this module?  thx! :)

The reasoning for having it update the smartdb is to make sure that smartctl always has the latest drives in its database. Not everyone runs the latest version of smartmontools and the online database is updated more often than a new version of smartmontools is released. It's possible to skip the updates, but at the possible cost of the smartctl not properly displaying stats for more modern or recently released drives. Some notable drives that are updated or included in the database often are the PCIe blade SSDs included in Macs.

hey @tuxudo - makes sense... so either way not exactly sure what we should do here.  i think we should make the change that i had in here to make sure the database is updated and permissions differ - but interestingly @bochoven indicated a different issue which looks like it was just fixed in this commit (path issue):
https://github.com/mirror/smartmontools/commit/cb47b33b56c124b70e1d884d6f7e1caead1ff880
thoughts?


Adds STORYBOOK_MODE ENV variable

But common practice is also just to test whether it exists, so it doesn't matter very much.


Optimize clamp

As ridiculous as this may sound, you can optimize clamp by rewriting it as a 2-line function.
It's a craziness I was aware of for a bit of time, you can easily reproduce it.
https://godbolt.org/z/NuNaq9
As you will be able to observe, gcc will generate a branch in the slow case, and just an instruction pair in others.

Wow, OK. Seems the 3rd one is the most general; clang seems to match gcc's code, and msvc just adds a move instruction for some reason.


How to merge Column toggle and rows selection with Checkbox

I have successfully merged Sort, Selection with Checkbox, Draggable, Resize columns, scrolls...etc.
Current behavior
At first glance, it is working fine but if we try to toggle column check boxes are hiding so after that onwards individual rows selection is not possible
Expected behavior
I am expecting to use both Selections with checkbox and Column toggle for one data table
Please tell us about your environment:
operating system: Windows,  package manager: npm,

Table version: 0.8.x
6.3.0

Angular version: 2.0.x
Angular 2

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: TypeScript, ES6

<ngx-datatable
          style="width: 90%"
          class="material"
          [rows]="tableRows"
          [columnMode]="'force'"
          [columns]="tableColumns"
          [headerHeight]="50"
          [footerHeight]="50"
          [scrollbarV]="true"
          [scrollbarH]="true"
          [externalSorting]="true"
          [loadingIndicator]="loading"
          (sort)="onSort($event)"
          [selected]="selectedRows"
          [selectionType]="'multi'"
          (activate)="onActivate($event)"
          (select)='onSelect($event)'
          [externalPaging]="true"
          [count]="totalRows"
          [offset]="pageNum"
          [limit]="size"
          (page)='setPage($event)'>
        </ngx-datatable>


Function to record

Hi, I want to ask, where is the function of record for the voice?
When we access the web browser, there is two options,
whether to record your own voice or to upload the 16kHz audio file right?
So i need to know is the voice we record is converted to 16k?
And where is the record function located?
Thank you.
ASyraf

Yes, voice is converted to 16k sample rate. Functions are in audioRecorder.js and audioRecorderWorker.js files.


Makefile issue for embedded platforms

The Makefile for the non-x86 builds does not include the VPP_LDFLAGS_vadd variable. Therefore the xclbin does not include 4 CUs.

Hi @randyh62 ,
Thanks for pointing out the issue. We will soon update the repo with the fix.

Thank you. You might also update the xrt.ini settings, because some of the profile options are deprecated.


Fix rough edges on first project

Multi: MacOS; Fileformat; Pico; dict holder
Description
Fixing some rough edges on matts first encounter with faebryk.
Checklist
Please read and execute the following:

[ ] My code follows the coding guidelines of this project
[ ] My PR title is following the contribution guidelines
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if applicable)
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works (if applicable)
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I ran Black to format my code

Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct:

[ ] I agree to follow this project's Code of Conduct

Removed Switch so we can merge this PR


Added HA specific extracts for both milestone and applicant extracts

Updated data extracts. For HA users, only users who have a "referred to " milestone will have their milestones extracted.
I added two steps to the process. The first takes the users HA PCN and finds the id of the "Applicant Referred to " milestone for that HA. The second selects a list of ids of users who have that milestone.
The remainder is the main query, just with a check to ensure that only milestones from those users are selected.

Linting issue


Properly check for all unrecoverable types of errors

NetflixOSS » Hystrix » Hystrix-pull-requests #84 SUCCESS
This pull request looks good


Use font-display: swap to ensure faster Web font display

This makes the system font fallback display instantly while the font is loading, which results in a much better experience on slower connections (no more flash of invisible text during initial page loads).
See https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for more information.

Could this pull request be reviewed again? Thanks in advance :slightly_smiling_face:

LGTM


Revert "Fix #13: Upgrade glob to 5.x for nodir option"

Reverts mklabs/node-fileset#14
@yurenju I'll cherry pick your commit on 0.2.x branch

Fails on 0.4, but ok on 0.6 according to travis. Merging


[style]: Adding type writer effect

What's the style idea?
we can add an type writer effect on the search for cools projects text on projects page
Add screenshots

Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSoC'23 contributor
[X] I want to work on this issue

it's unwanted


Fix link to "contributor code of conduct"

Fixes issue https://github.com/veggiemonk/awesome-docker/issues/898

Pipeline is currently failing, fixed in https://github.com/veggiemonk/awesome-docker/pull/897


💡[FEATURE]:  Billionares Statistics Analysis Model

Is your feature request related to a problem? Please describe.
The project aims to perform exploratory data analysis on a dataset containing billionaire statistics to draw meaningful insights regarding wealth distribution, demographics, origins of wealth, economic indicator correlations, geospatial representation, and temporal trends. However, additional features or enhancements could further enrich the analysis and visual representation of the data
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@Akshat111111  can i please work on this under gssoc 24


Client side login tests and token invalidation

In the future, logout will actually invalidate the token used to login, so we cannot logout and then use a token for client side login. Probably should set client.user = null instead.

Closing this issue as it has been fixed and merged long back.


Converting Mat_ into &Mat/ToInputArray?

I'm not sure if this an oversight with the API, but Mat_<T> seems kind of useless when trying to also interact with the rest of library. My use case is I prefer to work with https://github.com/rust-ndarray/ndarray, which I use data_typed() to provide a view for ndarray. However when I want to use the Mat in an opencv function I can't pass a reference. This makes it difficult to use Mat_<T> in struct fields, as I always need to do std::mem::take (and always ensure to put it back when I'm done) or use the unsafe new_nd_with_data or mat.row_bounds(0, mat.rows()).

Hi, it is indeed an oversight, the Mat_ can't be generated automatically (at least not yet, until we can generate template classes reliably) so it's implemented completely by hand. I'll try to fix it asap, thanks for the report!

Hi, it is indeed an oversight, the Mat_ can't be generated automatically (at least not yet, until we can generate template classes reliably) so it's implemented completely by hand. I'll try to fix it asap, thanks for the report!

Actually, do you mind checking master to see if it works for you? For now I can only semi-safely implement unmutable access otherwise the element type of the underlying mat can be changed which will lead to mismatch between the generic type for Mat_ and the type of the Mat it wraps.

Actually, do you mind checking master to see if it works for you? For now I can only semi-safely implement unmutable access otherwise the element type of the underlying mat can be changed which will lead to mismatch between the generic type for Mat_ and the type of the Mat it wraps.

It works for half of my use cases - I also wanted to be able to use Mat::roi, which takes &Mat. However the more I work with it, the more I realize how difficult Mat is to work with in Rust. I've hit a couple bugs where I managed to have multiple mutable references to the same underlying data in "safe" Rust.
Thanks for your quick response however.

It works for half of my use cases - I also wanted to be able to use Mat::roi, which takes &Mat. However the more I work with it, the more I realize how difficult Mat is to work with in Rust. I've hit a couple bugs where I managed to have multiple mutable references to the same underlying data in "safe" Rust.
Thanks for your quick response however.

Can you tell me more about those bugs you encountered? Maybe there is a way to make that usage more robust.

I'm not sure if the issue is with opencv or the library; but it's hard to understand how things are allocated with C++ "retval" pattern, and opencv use of function overloading that doesn't translate well to Rust. The issue I was hitting was like so:
let mut output = Vector::<Mat>::new();
let r = self
                .net
                .set_input(&blobs, "", 1., opencv::core::Scalar::default())
                .map_err(Error::from)
                .and_then(|_| Ok(self.net.forward(&mut output, &self.names)?));
let output = output.get(0).unwrap();

What I would expect here is for Mat here to point to be a newly allocated Mat, that I could then do whatever I wanted. What I discovered is that successive runs to forward actually return a Mat referencing the same data. In Rust terms, I was actually getting &Mat, not a Mat, meaning I would have to clone the Mat if I wanted to own it.
Unfortunately the opencv documentation doesn't seem to make this clear and/or has different semantics (ex. there is a definition of forward that returns a Mat).

I see. I’ll try to reproduce that, but yeah, most probably it’s not fixable in an automated manner it at this moment (or at all?).


Allows user to specify frameworks to be excluded

Some frameworks are test frameworks or stub frameworks, which shouldn't be included with the main app.
I've added an exclude parameter that allows the user to exclude certain frameworks.
e.g.:
carthage-copy-frameworks --exclude OHHTTPStubs.framework Nimble.framework
I also edited the setup.py as it was giving errors from PIP. (couldn't find DESCRIPTION.rst)

Thanks for your comments, I've submitted another commit that fixes these issues and refactors excluded_frameworks into a function

That looks great! I think you can avoid moving the excluded_frameworks thing into its own function for now. Also, can you combine (squash) both commits into one?

Ok, I moved excluded_frameworks back out and squashed commits.

Do you think this can be merged?

Thanks 👍

Thanks for accepting it - are you planning to update https://pypi.python.org/pypi/carthage-copy-frameworks?
Btw, I'd like to thank you for this tool, it's extremely useful in our team.

I just published version 1.0.1 to PyPI.


Content request: creating NuGet packages with CI/CD pipeline

Demonstrate the CI/CD workflow for NuGet packages, including build, test, and deploy to nuget.org or another feed.

Redundant with #291


Capture plus and minus metadata injections

While testing out the injections, I noticed that plus/minus metadata wasn't being correctly captured.
I also removed the mention of nvim-treesitter, because at this point, it has diverged. They've done truly amazing work with tree-sitter, but I really feel like the parser data should live with the parsers. When possible, one source of truth just makes sense.

Thanks, good changes! I guess the other yaml injection should be removed, but that's another story.

Thank you!
To be honest, I wasn't sure I understood that other yaml injection, so I just left it as-is.


DEP: deprecate spatial.distance.kulsinski

Reference issue

Closes #15125
Supersedes #15180
What does this implement/fix?

Finished off the pr started by @deepakdinesh1123 to deprecate spatial.distance.kulsinski.
Additional information

@tupui is this the correct way to give attribution to the work originally done by @deepakdinesh1123 ?

I missed this from the CI. We had other intermittent bug there and wrongly assumed it was the same.
======================
scipy.spatial.distance
======================

Non-deprecated objects in __all__: 29
Objects in refguide: 30

ERROR: missing objects::

    kulsinski


PWA support

Hello. When do you plan to add PWA support (Progressive Web App)?

@volanar Какие конкретные функции PWA вы ищете?

https://nextjs.org/features/progressive-web-apps

I think with the current usage of apolloclient we could get pretty far. Maybe something that can be worked on in the v3 cycle? I'd love to help on this one

@volanar I'm trying to understand which specific features? The example storefront is already what I would call "PWA-compatible". It supports either server or client routing. You can easily enable the NextJS offline support I assume.
I'm going to guess what might be the deficiencies:

Make it easier / document how to do offline data with Apollo Client
If you're thinking about mobile, then maybe a few UI bugs on small screens
If for mobile, then maybe some optimization to make sure we aren't loading extra data and we're taking advantage of caching as much as possible.

This is a good idea, but it needs to be broken down into much smaller pieces of what specifically is missing for PWA use case.


consolidate and improve manifest validation

motivation: make code easier to reason about and maintain
changes:

create new ManfeistValidator utility
move manifest validation code out of ManifestLoader and Workspace and into the new validation utility
seperate out manifst validation diagnostics from manifest loading diagnostics such that a fake diagnostics scope is no longer required
adjust call sites and test

@neonichu @abertelrud this needs a bit more work to get the tests aligned, but wanted early feedback on the approach

@swift-ci smoke test

@swift-ci smoke test

@abertelrud @neonichu this has been rebased and ready for review

Looks good, and the only nit now was about what looks like a boilerplate source file header (which I guess that new script could fix actually  :-).

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test


How Do I Contact Kraken Support Number

How can I recover my Kraken account? If you need to recover your Kraken account, you can contact their customer service hotline at +1-(707)-852-8230 or +1-(707)-852-8230 USA for assistance in the recovery process.
How to contact Kraken Manager? You can access live chat by clicking the "Contact Us" ☎+1-(707)-852-8230 button in the help center and then selecting "Chat." Phone: Kraken also offers phone support for urgent issues. You can call Kraken at ☎+1-(707)-852-8230 for Quick response & Support. There are in brief ways to talk to someone on Kraken.
Does Kraken have a live chat? Yes, Kraken does offer a live chat option for customer support. To access the live chat feature:
Go to Kraken's Help Center on the platform.
Look for the "Contact Us" ☎+1-(707)-852-8230 option.If you are trying to reach Kraken Support +1-(707)-852-8230 (24/7), the only Kraken phone number is ☎+1-1-(707)-852-8230 (24/7) or +1-(707)-852-8230 USA for Quick response & Support. You can also access live chat by clicking the "Contact Us" button in the help center and then selecting "Chat."
Choose the chat option to speak with a live person.
You can also contact Kraken support at ☎+1-(707)-852-8230 (Talk with Human) & (☎+1-(707)-852-8230 (Contact-USA)).
Follow the prompts to describe your issue and get assistance.

Closing this issue as spam.


In Semantic UI React, NVDA/JAWS is not announcing the options in the "Multiple Search Selection" dropdown.

Title (Put in field above)
In Semantic UI React, Narrator/NVDA/JAWS is not announcing the options in the "Multiple Search Selection" dropdown.
Steps

Hit the URL: Dropdown - Semantic UI React (semantic-ui.com)
Tab till "Multiple search Selection" dropdown
Check whether In Semantic UI React, Narrator/NVDA/JAWS is announcing the options in the "Multiple Search Selection" dropdown or not.

Expected Result
In Semantic UI React, Narrator/NVDA/JAWS should announce the options in the "Multiple Search Selection" dropdown.
Actual Result
In Semantic UI React, Narrator/NVDA/JAWS is not announcing the options in the "Multiple Search Selection" dropdown.
Version
3.0.0
Testcase
Dropdown - Semantic UI React (semantic-ui.com)

Hi team, Any update on this issue?


Automated cherry pick of #1570: fix: quota encode json allowing zero value

Cherry pick of #1570 on release/2.10.0.
#1570: fix: quota encode json allowing zero value

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@631ea33). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #1571   +/-   ##
================================================
  Coverage                  ?   7.71%
================================================
  Files                     ?     409
  Lines                     ?   62262
  Branches                  ?       0
================================================
  Hits                      ?    4804
  Misses                    ?   57048
  Partials                  ?     410

Flag
Coverage Δ

#aFlag
7.71% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/quotas.go
3.33% <0%> (ø)

Continue to review full report at Codecov.

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


[AMBARI-25492] Ambari Sends Empty metrics_collector_hosts parameters after AMS service is deleted

[AMBARI-25492] Ambari Sends Empty metrics_collector_hosts parameters after AMS service is deleted
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
manually tested
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Ambari Contributing Guide before opening a pull request.

@Akhilsnaik , actually sending empty array when there are no such hosts/components/services etc. is an architectural decision in Ambari, because that has some information content.
You can find such behaviour in many places in the code.
The python code must handle these cases properly, like the way you have suggested.


[FXServer] admin.lua and gui.lua error?

New bug, i do not know how it happend, but i just checked my server console and this popped up:
Error running system event handling function for resource vrp: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: modules/admin.lua:69: attempt to concatenate a nil value (upvalue 'id')
stack traceback:
modules/admin.lua:69: in local 'prompt'
modules/gui.lua:197: in local 'f'
[string "..."]:100: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:124: in function citizen:/scripting/lua/scheduler.lua:123
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function citizen:/scripting/lua/scheduler.lua:92

That happens when you try to add a user to a group but leaves the User ID empty. Not a game breaking bug, just missing a check for nil values.

Should be fixed.


add thank you page

What's the purpose of this PR
add a thank you page to thank the help from other companies or projects.
Brief changelog

thanks JetBrains for the open source licenses
thanks docscify for the docsify library to generate the documentation website

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Read the Contributing Guide before making this pull request.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit tests to verify the code.
[x] Run mvn clean test to make sure this pull request doesn't break anything.

Codecov Report

Merging #3733 (a10e9af) into master (b6fa4c6) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3733      +/-   ##
============================================
- Coverage     50.39%   50.32%   -0.07%
+ Complexity     2375     2374       -1
============================================
  Files           457      457
  Lines         14435    14435
  Branches       1457     1457
============================================
- Hits           7274     7264      -10
- Misses         6657     6665       +8
- Partials        504      506       +2

Impacted Files
Coverage Δ

...mework/apollo/portal/component/PortalSettings.java
57.81% <0.00%> (-7.82%)
:arrow_down:

...ework/apollo/internals/RemoteConfigRepository.java
86.25% <0.00%> (-3.13%)
:arrow_down:

Continue to review full report at Codecov.

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


Request counting?

It would be nice to have some sort of built in request counter (perhaps even in the logging) to keep track of how many API calls an application is making.
I dug around a little bit in the code but couldn't really find anything (maybe it's hiding right in front of my nose!). Is there something like this? Perhaps at the protocol level?
https://github.com/hozn/stravalib/blob/master/stravalib/protocol.py
Maybe this is already achievable by using some sort of a dummy rate limiter?

See this on line 178?
# TODO: We should parse the response to get the rate limit details and
# update our rate limiter.
# see: http://strava.github.io/api/#access

I'm in need of this as well - may work on it in the next weeks or so...

Aha, interesting!

Yeah, any patches for that would be very welcome!
And @loisaidasam , I think your idea of dummy rate limiter for logging is a great one.  Maybe it would make sense to add a general "hook" concept; I haven't given that a lot of thought.  ... Open to suggestions, PRs, etc.


Migrate alerter to "User Notifications" framework

Fixes #113
Known issues:

Can only send "Banner" notifications by default
Does not support sending a notification with the same group ID as existing ones. But fortunately our use case does not need this.

Thanks for the update.
Sent from my iPhone

On Dec 14, 2021, at 10:51 PM, rundong08 @.***> wrote:

@rundong08 commented on this pull request.
In third_party/alerter/alerter/AppDelegate.m:

           userNotification.hasActionButton = 1 ;

       }

   }else{

       userNotification.actionButtonTitle = options[@"actions"];

   }

}else if (options[@"reply"]) {

   [userNotification<EMAIL_ADDRESS>forKey:@"_showsButtons"];

   userNotification.hasReplyButton = 1;

   userNotification.responsePlaceholder = options[@"reply"];

}

// Close button
if(options[@"closeLabel"]){

   userNotification.otherButtonTitle = options[@"closeLabel"];

if (options[@"groupID"] && [self notificationWithGroupIdExists:options[@"groupID"]]) {
NSLog(@"Sending notification with the same groupID as existing ones is not supported.");
Sorry for the delayed updates. It is not ready yet. I was still working on the bug we discovered this morning.

—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Now the code are there, just need to add proper copyright notice and license text before merging


Added function to show current Node.js version and new Bureau theme

I've added function nvm_prompt_info() that will show you current Node.js version wrapped in prefix and suffix. E.g.:
 %  ZSH_THEME_NVM_PROMPT_PREFIX="[ Node v"
 %  ZSH_THEME_NVM_PROMPT_SUFFIX=" ]"
 %  nvm_prompt_info
[ Node v0.10.15 ]

And added new Bureau theme:

Time, git status and Node.js version always are right-aligned.

FYI, I added proposed alternate install location support in #4338. You can point it any directory by setting $NVM_DIR before loading OMZ. In your case, export NVM_DIR=$HOME/dotfiles/nvm and add nvm to your $plugins list. And the revised prompt function will recognize nvm loaded from anywhere.


opt/conda/bin/conda not found when building Dockerfile

🚀 Feature
As title, I run into this error when building from Dockerfile; apparently it's caused by curl missing the "follow redirects" flag and thus not installing conda. Solution is to append the -L flag to curl as described in this answer https://stackoverflow.com/a/63367463 to a related problem.
Pitch
curl -o ~/miniconda.sh -O  https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh->curl -L -o ~/miniconda.sh -O  https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh

Thanks for pointing this out. Would you mind sending us a PR?


Only testing doc when only doc is modified

Closes #47
TO DO:

[X] implement python -m pkgmt ensure_modified
[X] add unit tests
[X] implement sample github workflow (you can test in the dummy repository, ask @edublancas for edit access)
[ ] open PR with the finished workflow to this repo https://github.com/ploomber/contributing

Hey @edublancas ,
please take a look at the modified.py and check if it satisfies all the requirements.
I have also added some test that works fine locally, but not with GitHub actions. Seems like I have to use tmp_packages in conftest.py. Any suggestion?
Sample commands:
Context: the current branch has 3 diff: folder doc, another_doc and file a.txt

 pkgmt ensure-modified -b main  -ex doc -ex another_doc -ex a.txt  --debug
Output: 0

 pkgmt ensure-modified -b main  -ex another_doc -ex a.txt  --debug
Output: 1

@edublancas

open PR with the finished workflow to this repo https://github.com/ploomber/contributing

Also, can you please elaborate more on what you want to add to contributing guidelines?

@edublancas
I have written a template based on the above logic here
Testing:
For testing the logic, I made pkgmt_modi branch with a new GitHub workflow. After that, I made three branches with the following commits on top of pkgmt_modi branch:

pkgmt_modi1:
File Changed: Modified doc/a.txt
Output: GitHub Actions

pkgmt_modi2:
File Changed: Modified a.txt
Output: GitHub Actions

pkgmt_modi3:
File Changed: Modified a.txt, doc/a.txt
Output: GitHub Actions

TLDR: Tests are working as intended

@edublancas
Template
With sys.exit
Testing:

pkgmt_modi1:
File Changed: Modified doc/a.txt
Branch Compared: origin/pkgmt_modi
Output: GitHub Actions

pkgmt_modi2:
File Changed: Modified a.txt
Branch Compared: origin/pkgmt_modi
Output: GitHub Actions

pkgmt_modi3:
File Changed: Modified a.txt, doc/a.txt
Branch Compared: origin/pkgmt_modi
Output: GitHub Actions

TLDR: Tests are working as intended

@edublancas
Template
With windows testing and sys.exit
Testing:

pkgmt_modi1:
File Changed: Modified doc/a.txt
Branch Compared: origin/pkgmt_modi
Output: GitHub Actions

pkgmt_modi2:
File Changed: Modified a.txt
Branch Compared: origin/pkgmt_modi
Output: GitHub Actions

pkgmt_modi3:
File Changed: Modified a.txt, doc/a.txt
Branch Compared: origin/pkgmt_modi
Output: GitHub Actions

TLDR: Tests are working as intended on ubuntu and macos. Not working for windows

@mehtamohit013: just to confirm what we discussed earlier today. since windows support is giving too much trouble, let's not worry about it for now

@mehtamohit013: just to confirm what we discussed earlier today. since windows support is giving too much trouble, let's not worry about it for now

@edublancas
Ok, then, I believe I have resolved all the issues and the PR is ready to be reviewed and merge