ipywidgets cause cell to run 30x+ times slower

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
Since several versions ago, cells that involve ipywidgets code, run many times slower than cells with similar code w/o ipywidgets. When running the same notebook in browser jupyter lab, cells with and w/o ipywidgets execute immediately.
I tried disabling extensions, run CPU profiling etc -- there is no clear indication of any direct culprit, which makes me think it's either Jupyter extension or VSCode itself.
The attached notebook involves simple code, so difference between execution times of 0.065s and 2.623s does not seem significant, but in real-world scenarios ipywidgets cell execution takes MINUTES, often with subsequent hanging of
VSCode remote server, i.e. causing sporadic reconnects despite stable connection, and eventually asking to reload window.
CPU profiling logs and notebook are attached below.
CPU-20240518T073123.245Z.cpuprofile.txt.zip
ipwidgets_test.ipynb.zip
VS Code Version
Version: 1.89.1 (Universal) Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685 Date: 2024-05-07T05:14:24.611Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Darwin x64 22.6.0
Jupyter Extension Version
v2024.4.0 and v2024.4.2024042601 (pre-release)
Jupyter logs
Visual Studio Code (1.89.1, ssh-remote, desktop)
Jupyter Extension Version: 2024.4.0.
Python Extension Version: 2024.6.0.
Pylance Extension Version: 2024.5.1.
Platform: linux (x64).
Workspace folder ~/jesse-bot, Home = /home/ubuntu
15:48:46.709 [info] Telemetry level is off
15:48:46.709 [info] Experiments are disabled, only manually opted experiments are active.
15:48:47.762 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0ead1b95f633dc9c51826328e1846203f51a198c6fb5f2884a80417ba131d4e82./bin/python3.11./bin/python3.11.-m#ipykernel_launcher  (Python Path: /bin/python3.11, Unknown, Python 3.11.6, 3.11.6) for '/Volumes/Backup/home/Downloads/peaks_detection_test.ipynb' (disableUI=true)
15:48:47.763 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0ead1b95f633dc9c51826328e1846203f51a198c6fb5f2884a80417ba131d4e82./bin/python3.11./bin/python3.11.-m#ipykernel_launcher  (Python Path: /bin/python3.11, Unknown, Python 3.11.6, 3.11.6) for '~/jesse-bot/Research-Backtest-MA.ipynb' (disableUI=true)
15:48:47.785 [error] Failed to validate Password info D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
15:48:47.789 [error] Failed to validate Password info D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
15:48:47.847 [error] Error fetching kernels from http://localhost:8888/ (localhost): FetchError: request to http://localhost:8888/api/kernels?1716022127788 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
15:48:47.848 [error] Error fetching kernels from http://localhost:8888/ (localhost): FetchError: request to http://localhost:8888/api/kernels?1716022127791 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
15:48:47.848 [error] Jupyter Lab Helper:getKernelSpecs failure:  Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
    at v.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
    at ni.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
    at r.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at __.listKernelsFromConnection (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
    at /home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636
15:48:47.850 [error] Jupyter Lab Helper:getKernelSpecs failure:  Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
    at v.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
    at ni.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
    at r.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at __.listKernelsFromConnection (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
    at /home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636
15:48:47.856 [error] Failed to validate Password info D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
15:48:47.858 [error] Failed to validate Password info D [FetchError]: request to http://localhost:8888/ failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED'
}
15:48:47.865 [error] Error fetching kernels from http://localhost:8888/ (localhost): FetchError: request to http://localhost:8888/api/kernels?1716022127857 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
15:48:47.865 [error] Error fetching kernels from http://localhost:8888/ (localhost): FetchError: request to http://localhost:8888/api/kernels?1716022127859 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
15:48:47.866 [error] Jupyter Lab Helper:getKernelSpecs failure:  Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
    at v.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
    at ni.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
    at r.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at __.listKernelsFromConnection (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
    at /home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636
15:48:47.866 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache FetchError: request to http://localhost:8888/api/kernels?1716022127857 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
15:48:47.867 [error] Jupyter Lab Helper:getKernelSpecs failure:  Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
    at v.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
    at ni.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
    at r.dispose (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:191:14050)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at __.listKernelsFromConnection (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:20211)
    at /home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/extension.node.js:296:17636
15:48:47.867 [error] UniversalRemoteKernelFinder: Failed to get kernels without cache FetchError: request to http://localhost:8888/api/kernels?1716022127859 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888
    at ClientRequest.<anonymous> (/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/dist/node_modules/node-fetch.js:1:306417)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
15:48:49.650 [warn] Failed to get activated env vars for /bin/python3.11 in 1888ms
15:48:49.651 [warn] Failed to get activated env vars for /bin/python3.11 in 1878ms
15:48:49.652 [warn] Failed to get activated env vars for /bin/python3.11 in 1300ms
15:48:49.663 [info] Process Execution: /bin/python3.11 -c "import site;print("USER_BASE_VALUE");print(site.USER_BASE);print("USER_BASE_VALUE");"
15:48:49.684 [info] Process Execution: /bin/python3.11 -m pip list
15:48:49.692 [info] Process Execution: /bin/python3.11 -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
15:48:49.701 [info] Process Execution: /bin/python3.11 -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
15:48:49.712 [info] Process Execution: /bin/python3.11 -m ipykernel_launcher --f=/home/~/.local/share/jupyter/runtime/kernel-v2-1072876pO8XAKQf7V0H.json
    > cwd: //home/~/jesse-bot
15:48:49.722 [info] Process Execution: /bin/python3.11 -m ipykernel_launcher --f=/home/~/.local/share/jupyter/runtime/kernel-v2-1072876uFIivB24Vdbv.json
    > cwd: ~/jesse-bot
15:48:50.232 [info] Process Execution: /bin/python3.11 /home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.4.0-linux-x64/pythonFiles/printJupyterDataDir.py
15:49:36.740 [info] Handle Execution of Cells 0,1,2 for /Volumes/Backup/home/Downloads/peaks_detection_test.ipynb
15:49:37.146 [info] Cell 0 completed in 0.394s (start:<PHONE_NUMBER>752, end:<PHONE_NUMBER>146)
15:49:37.237 [info] Cell 1 completed in 0.065s (start:<PHONE_NUMBER>172, end:<PHONE_NUMBER>237)
15:49:39.865 [info] Cell 2 completed in 2.623s (start:<PHONE_NUMBER>242, end:<PHONE_NUMBER>865)

Coding Language and Runtime Version
Python 3.11.6
Running Jupyter locally or remotely?
Remote

@movy I'm so sorry for missing this issue and never getting back.
I will have a look at the ipynb and the logs, in the mean time, do you still experience the same perf issues.


Linking districtm to appnexus

adding aliasCode
In support of https://github.com/prebid/prebid.github.io/issues/944

@bretg we are also an AppNexus reseller like Brealtime

I don't understand the difference between districtm and districtmdmx, but since you understand that Prebid.js 0.x is shortly going to be out of support, I'll go ahead and merge this.


Fix both configs for rofi update

Rofi 1.7.2  changed the background-color tag to just background.

@background now breaks rofi, @background-color is the name used now. Theme was fixed on 2c9cc1b.


Will a zip deployment do a remote build for Python?

All of the instructions in the Python docs use func azure functionapp publish so you can do a remote build. I'm not sure if the instructions here will lead to a remote build, but mentioning if it does or not would have helped answer a question as to whether doing a zip deployment would have worked.

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

ID: 4581be64-415a-804a-0a45-25b6976095c3
Version Independent ID: 0cae0e82-c263-e2cf-ea54-a783291f5746
Content: Zip push deployment for Azure Functions
Content Source: articles/azure-functions/deployment-zip-push.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hi @brettcannon - Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.


When my program is in the background, the successful callback is only executed once

my plugin version:3.0.3
ionic version:4.12.0
android:9
/this is my start button/
startBackground() {
const config: BackgroundGeolocationConfig = {
desiredAccuracy: 10,
stationaryRadius: 1,
distanceFilter: 1,
debug: true, //  enable this hear sounds for background-geolocation life-cycle.
stopOnTerminate: false // enable this to clear background location settings when the app terminates
};
this.backgroundGeolocation.configure(config).then(() => {
  this.backgroundGeolocation
    .on(BackgroundGeolocationEvents.location)
    .subscribe((location: BackgroundGeolocationResponse) => {
      console.log(`后台定位数据：${JSON.stringify(location)}`);
      let backgroundGeoLocation = JSON.stringify(location);
      this.setLocationData(location.longitude,location.latitude,new Date());
    });
});
this.backgroundGeolocation.start();

}
//console.log(后台定位数据：${JSON.stringify(location)});
//the successful callback is only executed once

I can continuously obtain background location about 20 points...

The interval is about 10 minutes each time

No one answered the question ?
my plugin version is 3.0.3.
I can get location information in the open area, but when I enter the subway or the building, there will be no information to return. I expect that when I return to the open area, it will work properly.
ps:
Stop from the building in a short time, then go out can get the location information, about an hour, then go out, is unable to get the location information.
app.component.ts
import { Component } from '@angular/core';
import { Platform } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx';
import { BackgroundMode } from '@ionic-native/background-mode/ngx';
@Component({
selector: 'app-root',
templateUrl: 'app.component.html'
})
export class AppComponent {
constructor(
private platform: Platform,
private splashScreen: SplashScreen,
private statusBar: StatusBar,
private backgroundMode:BackgroundMode
) {
this.initializeApp();
}
initializeApp() {
this.platform.ready().then(() => {
this.statusBar.styleDefault();
this.splashScreen.hide();
this.backgroundMode.enable();
});
}
}
home.page.ts
import { Component } from "@angular/core";
import {
BackgroundGeolocation,
BackgroundGeolocationConfig,
BackgroundGeolocationResponse,
BackgroundGeolocationEvents
} from "@ionic-native/background-geolocation/ngx";
import { HTTP } from "@ionic-native/http/ngx";
@Component({
selector: "app-home",
templateUrl: "home.page.html",
styleUrls: ["home.page.scss"]
})
export class HomePage {
gps_update_link: string = "replace_with_your_http_request_link";
constructor(
private backgroundGeolocation: BackgroundGeolocation,
private http: HTTP
) {}
startBackgroundGeolocation() {
const config: BackgroundGeolocationConfig = {
desiredAccuracy: 1,
stationaryRadius: 1,
distanceFilter: 1,
debug: true, //  enable this hear sounds for background-geolocation life-cycle.
stopOnTerminate: false, // enable this to clear background location settings when the app terminates
stopOnStillActivity:false,
interval:10000,
};
this.backgroundGeolocation.configure(config).then(() => {
  this.backgroundGeolocation
    .on(BackgroundGeolocationEvents.location)
    .subscribe((location: BackgroundGeolocationResponse) => {
      console.log(`location:${JSON.stringify(location)}`);
      //this.sendGPS(location);

      // IMPORTANT:  You must execute the finish method here to inform the native plugin that you're finished,
      // and the background-task may be completed.  You must do this regardless if your operations are successful or not.
      // IF YOU DON'T, ios will CRASH YOUR APP for spending too much time in the background.
    });
});

// start recording location
this.backgroundGeolocation.start();

}
}
It's urgent.
@mauron85  I need some help


How do I pass arguments to mintty

Seens like there is no way to do so.
Can I launch an app in Msys sunch that is has no cmd windows pop out?

Can you provide more information or any real scenario about your use cases? The question and the issue title does not match.

I tried to pass "-w hide" to the launcher and it seems like no effect on mintty shell, in fact it wont't be able to run at all.

I'm closing this as a duplicate to #25.


Runtime issue

root@kali:~/Downloads# go get -u github.com/ffuf/ffuf
runtime
/usr/local/go/src/runtime/lockrank_off.go:28:2: undefined: lock2
/usr/local/go/src/runtime/lockrank_off.go:37:2: undefined: unlock2

Hi @Th3R0oT!
This looks a problem with your environment, could you please rename the title to something more readable and put here all the output of your "go get" command?

Pretty much that, thank @joohoi
@Th3R0oT you should check what's wrong with your environment, try a clean re-install!.
Happy hacking!.

I had the same issue after downgrading go compiler version. It was because I unpacked old go version (1.11) archive without cleaning /usr/local/go (with 1.15) before it. Sol old and new files mixed all together without saving any consistency. Deleting of /usr/local/go (or where your compiler is situated) and reextraction helped.

Closing the issue in order to keep the issues backlog readable, and I do consider the issue either resolved or there's no communication. If you have something to add to the issue, please comment and we'll consider reopening it.


fix hex dependency version, set to 0.2.0

We need to set a version for the hex dependency, crates.io does not let us publish a package with at * version.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
959

Relevant Lines:
1134

💛  - Coveralls


[Bug] Entering incorrect JS code into property pane is crashing the app

Description
Typed in incorrect JS code into property pane which caused the app to crash now unable to modify hence app crashes each time there's an attempt to modify the code.
Important Details

Version: Cloud
OS: Win10
Browser: Chrome
Environment: Deploy preview (6265) Linting & Errors

@ramsaptami can you verify this on the deploy preview

works fine on deploy preview


chore: exec tests for external PR

Our tests can't be executed for PRs from forked repositories, so this PR just validates https://github.com/Unleash/terraform-provider-unleash/pull/94

PR merged!


Remove atom/language-c grammar from objective-c extension

See https://github.com/microsoft/vscode/issues/74219 for details.

I have checked that our test .mm file looks ok, but I don't use Objective-C++ often. @ambershark-mike @Muirey03 if you are interested/willing to sanity check the Objective-C++ syntax highlighting that would be very helpful! I have just brought in the changes that we talked about about here. The insiders build tomorrow will have the changes.

Sure, I'll check it out tomorrow then, thank you.

Thanks @alexr00!  I'll try to check it out as well.  I don't use obj-c very often either.  I try to write more cross platform code (usually C++), but sometimes get stuck in a platform specific language.  I know just enough objective-c to be dangerous (and frustrated). :laughing:

I tried it out a bit and everything seemed to be working correctly, thank you. @alexr00


update Halo_Mythic_3dot5 > Halo_Mythic_4dot0

Changes / Comments
:green_square: 1 add Fatigue override for Enduring outlier
:green_square: 2 tackle and fix the firefox roll buttons allowing for firefox compatibility
:green_square: 3 add the initiative roller to the NPC sheet
:green_square: 4 make the npc sheet additional info expandable/collapsable
:green_square: 5 change the t'vaoan jump calculations
:green_square: 6 Make Fatigue effect movement
:green_square: 7 add Mythic agi to init
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[Y] Does the pull request title have the sheet name(s)? Include each sheet name.
[Y] Is this a bug fix?
[Y] Does this add functional enhancements (new features or extending existing features) ?
[N] Does this add or change functional aesthetics (such as layout or color scheme) ?
If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

well it seems renaming the folder still made this get picked up as a "new sheet" i have informed the community that they will likely need to reselect the sheet from the menu and will probably leave the push here as i do not know how to make this push as an update to the existing sheet

Hey @michaelvanweelde I believe that is due to the commit history. Could you try the following: Create a new branch from last master, copy the files you changed inside the original 3.5 folder and make a new PR? Thanks!


Can co.js help in this case?

Here's sequelize's transaction syntax from its docs:
return sequelize.transaction(function (t) {
  // chain all your queries here. make sure you return them.
  return User.create({
    firstName: 'Abraham',
    lastName: 'Lincoln'
  }, {transaction: t}).then(function (user) {
    return user.setShooter({
      firstName: 'John',
      lastName: 'Boothe'
    }, {transaction: t});
  });
})

Can co.js help avoid extra nesting into the sequelize.transaction call?

Sure, you can wrap async calls in co:
return sequelize.transaction(function (t) {
  // chain all your queries here. make sure you return them.
  return co(function *() {
    const user = yield User.create({
      firstName: 'Abraham',
      lastName: 'Lincoln'
    }, {transaction: t});
    return user.setShooter({
      firstName: 'John',
      lastName: 'Boothe'
    }, {transaction: t});
  });
});


Add support for non-string labels

Hello,
I haven't found a way to use one representation for x-axis labels and another representation in tooltips.
For example, a list of dates must be formatted into strings on chart initialization and then provided as the labels string array. This means that the label can only be used as such in the tooltip.
However, it may be more visually pleasing to use a very short date format for x-axis labels (e.g. "7/10", "7/11". etc.) and a longer date format in tooltips (e.g. "July 10", "July 11", etc.).
The way I see it, we could leverage the PR from #438 and end up with functionality like this:
formatDate(date, format) {
  // do some date formatting
  ...
}

// get an array of non-String objects (Date objects in this case)
var labels = [new Date(2014, 6, 10), new Date(2014, 6, 11), ...];

var data = {
  labels: labels,  // provide the label array in the raw form
  labelTemplate: function(label) {  // get a String representation for each label
    return formatDate(label, "short");
  },
  datasets: [...]
};

var options = {
  tooltipTemplate: function(obj) {
    // obj.label references the original object, not the String representation
    return formatDate(obj.label, "long") + ": " + obj.value;
  },
  ...
};

var ctx = $("canvas:first")[0].getContext("2d");
var chart = new Chart(ctx).Line(data, options);

I believe that adding this option would greatly improve flexibility of the library.
Thoughts?

+1

+1

+1

+1

This has been addressed in version 2 of Chart.js
A specialized time scale has been created that can handle date objects. Custom formatting for the tooltip is also supported. This sample demonstrates a chart with a time scale and custom formatting for the tooltip.


Header and Footer Sections of Book-Table Page Are Not Properly Styled

The header and footer sections of the book-table page are not properly styled, which affects the overall user experience and visual consistency of the page. This issue needs to be addressed to ensure a professional and cohesive look for the website.
The header section appears misaligned and does not blend well with the overall page layout.
The footer section is not properly styled and is not aligned correctly at the bottom of the page.
https://github.com/khushi-joshi-05/Food-ordering-website/assets/168854094/da4f0c65-dec6-4fda-b458-2def67f4b8c2
@khushi-joshi-05 @sunny0625 Please assign this issue to me under GSSoC,24.

This issue is already solved.
Try to contribute to different issues.


Rendering pipeline

This is #1120 + #1163 + #1199 + #1184 + #1200 + #1202 + #1203 + #301 + other fixes.

Congrats! Big one to land!


Getting a user's email

This PR originated from the fact that I couldn't retrieve user emails when using getUser - the response would never hold the user's registration email.  Two notes:

The API for fetching the user email is nowhere to be found.  Also had a look at https://github.com/discourse/discourse_api and it didn't have anything like that in there.  So I reverse engineered this by browsing as admin into a specific user's profile and clicking the "Show Email" button, and tracking the network tab in Chrome dev tools.  To my surprise this is a PUT request and not a GET.
I didn't manage to get the tests running and couldn't spare the time to run everything on Docker \ Digital Ocean, but I'm almost 100% sure that it'll work because it's a simple test case.  Would appreciate if someone could help with that.

Thank you for contributing


Adapt manageiq to new managers

Depends on: [merged] https://github.com/ManageIQ/manageiq/pull/15354
Adding two new providers to permissions file and ems_spec, should be merged after:

[merged] https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/38
https://github.com/ManageIQ/manageiq-providers-openshift/pull/21

Reopening to pick up changes from https://github.com/ManageIQ/manageiq-providers-openshift/pull/21


Update rendering.md

Please wait for Microsoft dev review confirmation before pushing live.

Docs Build status updates of commit e343ace:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/rendering.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit c29621b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/rendering.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix warnings and possible overflows in various buffers

Hi fairyglade.
This patchset simply allows for the worst-case scenario when snprintfing to buffers, which also removes a warning during compilation.
C strings use a null terminating character, '\0, to mark the end of a string for functions that support string inputs without a given size. So, they are always 1 byte bigger than the string that they hold.

Hey there! Would you kindly update ths PR for the Zig rewrite please? Don't worry, it's not hard: in fact, you only have to do that change for the TTY ID now, because it assumes the ID is <=99, even though it's a byte. However, you don't have to worry about the null terminator, because that's handled by the Zig functions:
https://github.com/fairyglade/ly/blob/0586f3424a0e90477fbfa1d0372ded7ee2c0ed0a/src/auth.zig#L24-L25

I've gone ahead and implemented the changes left in master, closing.


[SUPPORT] AWS DMS and Deletes on S3 with Hudi

Describe the problem you faced
I'm using AWS DMS to export CDC data from a Postgres DB to S3. For tables where I only do Inserts and Updates I don't have any issues, my problem happens when trying to delete rows. Checking my logs I see the problem arises because the precombine key is null on the data I have on S3. Checking the data I see the following:

My delete operations only contain the PK id and nothing else. I tried looking at AWS docs to see if there's any config option to change this and bring all the data of the row (like you can see in these docs: link) but unluckily got no answers.
Does anyone know if there's a config that would make this work? If not, how can I handle these deletes with Hudi only using the PK?

Hudi version : 0.7.0

Spark version : 2.4.7

Hive version : 2.3.7

Hadoop version :

Storage (HDFS/S3/GCS..) : S3

Running on Docker? (yes/no) : no

Additional context
DMS Engine Version: 3.4.5
Stacktrace
	 client token: N/A
	 diagnostics: User class threw exception: org.apache.hudi.exception.HoodieUpsertException: Failed to upsert for commit time<PHONE_NUMBER>3202
	at org.apache.hudi.table.action.commit.AbstractWriteHelper.write(AbstractWriteHelper.java:62)
	at org.apache.hudi.table.action.commit.SparkUpsertCommitActionExecutor.execute(SparkUpsertCommitActionExecutor.java:46)
	at org.apache.hudi.table.HoodieSparkCopyOnWriteTable.upsert(HoodieSparkCopyOnWriteTable.java:92)
	at org.apache.hudi.table.HoodieSparkCopyOnWriteTable.upsert(HoodieSparkCopyOnWriteTable.java:82)
	at org.apache.hudi.client.SparkRDDWriteClient.upsert(SparkRDDWriteClient.java:146)
	at org.apache.hudi.utilities.deltastreamer.DeltaSync.writeToSink(DeltaSync.java:427)
	at org.apache.hudi.utilities.deltastreamer.DeltaSync.syncOnce(DeltaSync.java:278)
	at org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer.lambda$sync$2(HoodieDeltaStreamer.java:170)
	at org.apache.hudi.common.util.Option.ifPresent(Option.java:96)
	at org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer.sync(HoodieDeltaStreamer.java:168)
	at org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer.main(HoodieDeltaStreamer.java:470)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:688)
Caused by: org.apache.spark.SparkException: Job aborted due to stage failure: Task 10 in stage 3.0 failed 4 times, most recent failure: Lost task 10.3 in stage 3.0 (TID 18, ip-172-31-83-103.ec2.internal, executor 6): org.apache.hudi.exception.HoodieException: The value of updated_at can not be null
	at org.apache.hudi.avro.HoodieAvroUtils.getNestedFieldVal(HoodieAvroUtils.java:436)
	at org.apache.hudi.utilities.deltastreamer.DeltaSync.lambda$readFromSource$d62e16$1(DeltaSync.java:389)
	at org.apache.spark.api.java.JavaPairRDD$$anonfun$toScalaFunction$1.apply(JavaPairRDD.scala:1040)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)
	at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:194)
	at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:64)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:95)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:55)
	at org.apache.spark.scheduler.Task.run(Task.scala:123)
	at org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1405)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

Driver stacktrace:
	at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:2136)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:2124)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:2123)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
	at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:2123)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:994)
	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:994)
	at scala.Option.foreach(Option.scala:257)
	at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:994)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:2384)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2333)
	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2322)
	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:49)
	at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:805)
	at org.apache.spark.SparkContext.runJob(SparkContext.scala:2097)
	at org.apache.spark.SparkContext.runJob(SparkContext.scala:2118)
	at org.apache.spark.SparkContext.runJob(SparkContext.scala:2137)
	at org.apache.spark.SparkContext.runJob(SparkContext.scala:2162)
	at org.apache.spark.rdd.RDD$$anonfun$collect$1.apply(RDD.scala:990)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
	at org.apache.spark.rdd.RDD.withScope(RDD.scala:385)
	at org.apache.spark.rdd.RDD.collect(RDD.scala:989)
	at org.apache.spark.rdd.PairRDDFunctions$$anonfun$countByKey$1.apply(PairRDDFunctions.scala:370)
	at org.apache.spark.rdd.PairRDDFunctions$$anonfun$countByKey$1.apply(PairRDDFunctions.scala:370)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
	at org.apache.spark.rdd.RDD.withScope(RDD.scala:385)
	at org.apache.spark.rdd.PairRDDFunctions.countByKey(PairRDDFunctions.scala:369)
	at org.apache.spark.api.java.JavaPairRDD.countByKey(JavaPairRDD.scala:312)
	at org.apache.hudi.index.bloom.SparkHoodieBloomIndex.lookupIndex(SparkHoodieBloomIndex.java:114)
	at org.apache.hudi.index.bloom.SparkHoodieBloomIndex.tagLocation(SparkHoodieBloomIndex.java:84)
	at org.apache.hudi.index.bloom.SparkHoodieBloomIndex.tagLocation(SparkHoodieBloomIndex.java:60)
	at org.apache.hudi.table.action.commit.AbstractWriteHelper.tag(AbstractWriteHelper.java:69)
	at org.apache.hudi.table.action.commit.AbstractWriteHelper.write(AbstractWriteHelper.java:51)
	... 15 more
Caused by: org.apache.hudi.exception.HoodieException: The value of updated_at can not be null
	at org.apache.hudi.avro.HoodieAvroUtils.getNestedFieldVal(HoodieAvroUtils.java:436)
	at org.apache.hudi.utilities.deltastreamer.DeltaSync.lambda$readFromSource$d62e16$1(DeltaSync.java:389)
	at org.apache.spark.api.java.JavaPairRDD$$anonfun$toScalaFunction$1.apply(JavaPairRDD.scala:1040)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:410)
	at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:194)
	at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:64)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:95)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:55)
	at org.apache.spark.scheduler.Task.run(Task.scala:123)
	at org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1405)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)```

can you add a transformer and de-dup on your end just for delete records. After de-duping, you can set the a dummy value for your preCombine field (anyways, it will be no-op) when hudi tries to de-dup.
Do these records have "_hoodie_is_deleted" field as true? and thats how you are issuing deletes to hudi is it ?

sure, sg. thanks!

let us know if you were able to find a solution. feel free to close out the github issue if you got it resolved.

I had the same ploblem for DMS ingestion. I tried a solution changing the source code of AWSDmsTransformer but not worked for me. Then I changed the source code of HoodieAvroUtils to populate the updated_at field.

so, if I understand the use-case correctly, you have records that needs to be deleted w/ hudi, but the records only have record key field set and not other fields set ? whats the case w/ partition path field?
I assume this is via deltastreamer ? Or let us know if you are using spark-datasource writer.

@jasondavindev : sorry, can you clarify bit more on your solution. did you modify HoodieAvroUtils to set some random value for updated_at (preCombine field) for the table and it worked?

you can try setting key gen as org.apache.hudi.keygen.GlobalDeleteKeyGenerator and set operation type to "DELETE", just the batch which has only records to be deleted. and set index type to "GLOBAL_BLOOM".

@pratyakshsharma : can you help me understand the use-case a bit more.

@pratyakshsharma @jasondavindev : can someone help me to understand the ask better.

@pratyakshsharma @jasondavindev : sorry. if you can explain the issue, I can try to see how I can help you here.

@nsivabalan Sorry this slipped off my radar. Basically the user is trying to pull CDC data using DMS and for records getting deleted, only PK field is set. Rest all the fields are empty. These deletes need to be replicated in hudi dataset as well.
@jasondavindev Please let us know if you need any help or we are good to close this?

Sorry about my extremely late response. Changing the REPLICA IDENTITY of the table to an index created for this specific case and reloading the data made DMS export more columns for Delete operations. Hudi was able to use this new data to delete records in the end table.

@ngonik Known limitation, We can use global index when using REPLICA IDENTITY AS DEFAULT. Full details here - https://github.com/apache/hudi/issues/9143
Closing out this issue as we are tracking there.


Use license instead of licence

Noticed in Imaging that the README said Apache Licence... but reading the original license text, is actually says Apache License. So I think we should stick with license? Not a native speaker, and living in a commonwealth country, so licence would be fine for me, but I think this makes more sense?

The US use licenSe as both noun and verb; elsewhere licenCe is the noun, and licenSe the verb.
So you and I can say: they were licensed to issue licences.
The ASF website almost always use the US spelling on the website, i.e. with an 'S', so that should ideally be the case for projects too.
https://www.grammarly.com/blog/licence-license/

Thanks for the explanation @sebbASF!


null values not finding a formatter

This may be due to recent changes, but null values are producing an error:
(null : System.Threading.SynchronizationContext)

This is in a branch with #707 , I haven't checked on master
I'll fix it.

I only repro this locally, oddly enough, not in mybinder


Remove DEV suffix from version number

I believe all of the recent breaking changes in Quaternions now have analogs here; the rest are non-breaking. So I've marked the version as v0.2.0 for a breaking release.

Could you remove the deprecated method Oconions.imag in this PR?


D8: Program type already present: io.flutter.BuildConfig

I'm using Android Studio and upgraded Flutter as suggested. Since that I cannot execute my app because Graddle exit with error "D8: Program type already present: io.flutter.BuildConfig"
**** Returned Message: (doesn't give any clue of what can be happening)
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: io.flutter.BuildConfig
	at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:131)
	at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:118)
	at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:102)
	at com.android.build.gradle.internal.tasks.DexMergingTaskRunnable.run(DexMergingTask.kt:444)
	at com.android.build.gradle.internal.tasks.Workers$ActionFacade.run(Workers.kt:335)
	at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:39)
	at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.execute(NoIsolationWorkerFactory.java:61)
	at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
	at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
	at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
	at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:55)
	at org.gradle.workers.internal.DefaultWorkerExecutor$1.call(DefaultWorkerExecutor.java:105)
	at org.gradle.workers.internal.DefaultWorkerExecutor$1.call(DefaultWorkerExecutor.java:99)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:215)
	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.lang.Thread.run(Thread.java:748)
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
	at com.android.tools.r8.utils.t.a(:55)
	at com.android.tools.r8.D8.run(:11)
	at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:116)
	... 30 more
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: io.flutter.BuildConfig
	at com.android.tools.r8.utils.Reporter.a(:21)
	at com.android.tools.r8.utils.Reporter.a(:7)
	at com.android.tools.r8.utils.t.a(:36)
	... 32 more

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDexDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
     Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
     Program type already present: io.flutter.BuildConfig

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 6s
Finished with error: Gradle task assembleDebug failed with exit code 1

**** Flutter Doctor:
/Users/dsalazar/FlutterSDK/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel master, v1.10.5-pre.22, on Mac OS X 10.13.6 17G7024, locale es-PA)
    • Flutter version 1.10.5-pre.22 at /Users/dsalazar/FlutterSDK/flutter
    • Framework revision ebd8e0b34b (42 minutes ago), 2019-09-19 03:38:41 -0400
    • Engine revision bf3af4d157
    • Dart version 2.6.0 (build 2.6.0-dev.1.0 ea969c358e)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/dsalazar/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /Users/dsalazar/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 9.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3.1, Build version 9E501
    • CocoaPods version 1.6.1

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (3 available)
    • LG K530 • LGK53023932c17 • android-arm    • Android 7.0 (API 24)
    • Chrome  • chrome         • web-javascript • Google Chrome 76.0.3809.132
    • Server  • web            • web-javascript • Flutter Tools

• No issues found!
Process finished with exit code 0

I will appreciate if you can please give me an idea about what to check or change.
regards

Same issue after upgrade to latest master.

Same issue after upgrade to latest master.

What are your dependencies?
Mine are:
dependencies:
flutter:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
intl: ^0.15.8
pdf: ^1.3.20
bloc_pattern: ^1.3.0
rxdart: ^0.20.0
mailer: ^3.0.2
path_provider: ^1.3.0
font_awesome_flutter: ^8.2.0
firebase_auth: ^0.14.0+4
firebase_storage: ^3.0.6
shared_preferences: ^0.4.3
cloud_firestore: 0.12.9+1
printing: ^2.1.2
progress_indicators: ^0.1.2
file_picker: ^1.4.0
firebase_core: ^0.4.0
firebase_analytics: ^1.0.4  # add dependency for Google Analytics for Firebase

I got problem on building this project https://stackoverflow.com/questions/57996076/how-to-use-navigator-from-class-that-do-not-have-context

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

@edufolly the same error and the same solution. Thx.

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

@edufolly Thank you!!! It worked perfectly.

I used flutter clean but it didn't work out

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

Thanks, It works to me.

did you do flutter packages get after that?
Dimas Salazar
"Los jóvenes venezolanos, ¿se dejarán abatir por las dificultades, o
tendrán el valor de ser cristianos de verdad y construir una sociedad
más justa, más fraterna, más acogedora y pacífica?"
Juan Pablo II (1985)
On Wed, Sep 25, 2019 at 3:52 AM 想要个李大仁<EMAIL_ADDRESS>wrote:

I used flutter clean but it didn't work out
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/40830?email_source=notifications&email_token=ACE3SJV6TYHB574DK2QND53QLMDDLA5CNFSM4IYH7OC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7Q2CPY#issuecomment-534880575,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACE3SJVPBQX25KR2OE62LCLQLMDDLANCNFSM4IYH7OCQ
.

For anyone wondering about the actual cause of this issue or want to solve the issue without doing a flutter clean/rebuild; the cause of the issue is that they now use R8 in Flutter.
Add the following line to your .android/gradle.properties file to fix the issue:
android.enableR8=true

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

Love you man! <3 Thanks.

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

haha think simple and works 👍 thank you

@searchy2 adding your android.enableR8=true to .android/gradle.properties , and doing the flutter clean and the flutter packages get worked for me. But i don't know if enabling androidX also helped or not.

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

Worked like a charm, thank you.

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

Awesome. Worked.

@searchy2 flutter is adding android.enableR8=true by itself no need to add it manually. flutter clean worked for me

Adding android.enableR8=true is needed if you're using FlutterFragment or FlutterActivity in your existing app.

If it's a plugin don't forget to clean under the example folder.
flutter clean and flutter pub get in both root and the example directory are required.

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

Thanks!

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

Thanks!

@edufolly it worked for me, thanks a lot

@edufolly it worked for me, thanks a bunch

@edufolly woot! worked for me too.

@edufolly It works. Thanks a lot.

It would be great if flutter's problems were solved so well

@edufolly Thanks !

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

Thank you! it works

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

it worked..Thanks alot for the help. Now i can move forward wit my code

I got the same error but after flutter clean and flutter packages get the issue is gone
thanks  a lot

I got the same error. This type of application is not as generic as we do except. IN my application development I was using the below mentioned dependencies
  youtube_player_flutter: ^6.1.0+7
  webview_flutter: ^0.3.20+2

since  youtube_player_flutter internally it makes use of webview_flutter as one of the dependencies. I removed the dependencies   webview_flutter and it worked.

I got the same error. This type of application is not as generic as we do except. IN my application development I was using the below mentioned dependencies
  youtube_player_flutter: ^6.1.0+7
  webview_flutter: ^0.3.20+2

since youtube_player_flutter internally it makes use of webview_flutter as one of the dependencies. I removed the dependencies webview_flutter and it worked.

This worked for me! I was using the youtube player and webview dependencies when you only need one!

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

Thanks, i solved my problem

I got this problem cause  youtube_player_flutter and flutter_html were using the same dependency flutter_webview.
I used this and work like a charm
https://github.com/sarbagyastha/youtube_player_flutter/issues/215

@smrucv I received the same error, but after flutter clean and flutter packages get everything works great.

thanks,it works!

thanks,it works!


drt: pa continually calls FlexGCWorker::Impl::initDesign()

Describe the bug
I was investigating why it takes so long to start ispd19_test10. Even after https://github.com/The-OpenROAD-Project/OpenROAD/pull/3027 we still spend a significant amount of time in initDesign_skipObj.
It looks like we call it multiple times for every access point, and multiple times for every inst (both via initPA0)
Expected Behavior
Reduce the time it takes to start ispd_test10
Environment
Git commit: edcd14ffec5d232d98e8b0c34315b1ce233b1af6
os: Fedora Linux 37 (Workstation Edition)
cmake version 3.26.0-rc5

To Reproduce
Run ispd19_test10
Relevant log output
No response
Screenshots
No response
Additional Context
No response

@osamahammad21 any comments?

I am not sure exactly if I understand what's the issue here but let me clarify how PA currently works. For each access point in the initial points generation, it tries to access that point from all directions (E,W,N,S,U). In every attempted access, it creates a new FlexGCWorker and initializes it. That gives you 5 calls to initDesign for each access point of each pin of each instance.
Now I am not saying that it is optimal, but this is how it is now. If you are attempting to speedup this, I would recommend reducing the gcworkers to one per instance. However, it could backfire if you are generating access points to huge macro that would have a huge gcworker box with many objects to initialize.

A large part of the problem is https://github.com/The-OpenROAD-Project/OpenROAD/pull/3087

I opened https://github.com/The-OpenROAD-Project/OpenROAD/issues/3171 to track the rest of this.


Version the library

I am about to update the library to use the stable version of client-go 2.0.0 that was released 3 weeks ago. The library should follow semver so that people can easily know when changes have been made to it (versus changes to other files in this repository like documentation or provisioner-specific changes)
If anybody have any opinions on how to version the library please post them here.
At the moment I am thinking of devoting this entire repo's tags to versioning the library. i.e. https://github.com/kubernetes-incubator/external-storage/releases will be devoted to the library and I will tag the repo with v1.0.0 once I update to client-go v2.0.0. This means individual provisioners will have to figure out how to version and release themselves on their own (e.g., point to Docker Hub/Quay and use Docker tags)

hmm noting to self this doesn't preclude using tags like "nfs-v1.0.4"/"v1.0.4-nfs". doesn't seem that abusive of the tag system.


Implement editor_options widget parameter

I believe that overriding default editor config is essential. Waiting for new release.

@abogushov are you going to merge this?

@coler-j Yes, it is nice feature I am going to merge this. I will create prerelease with this.


fixed: selector help msg style

Signed-off-by: yxxhero<EMAIL_ADDRESS>fix selector help msg stylp
old:
  -l, --selector stringArray            Only run using the releases that match labels. Labels can take the form of foo=bar or foo!=bar.
                                                A release must match all labels in a group in order to be used. Multiple groups can be specified at once.
                                                --selector tier=frontend,tier!=proxy --selector tier=backend. Will match all frontend, non-proxy releases AND all backend releases.
                                                The name of a release can be used as a label. --selector name=myrelease

new:
  -l, --selector stringArray            Only run using the releases that match labels. Labels can take the form of foo=bar or foo!=bar.
                                        A release must match all labels in a group in order to be used. Multiple groups can be specified at once.
                                        "--selector tier=frontend,tier!=proxy --selector tier=backend" will match all frontend, non-proxy releases AND all backend releases.
                                        The name of a release can be used as a label: "--selector name=myrelease"

@mumoshu ping


additions of more Graphic properties, some corrections based on testing

Here are my changes to this file so far, in case you are interested in contributions.

I made this pull request before I saw your contribution of the TS 4.1 rewrite, so you are probably not even using this old code any more.   So I contributed it to upstream instead.   I am leaving it open in case you do want it, but feel free to close it with no awkwardness :)


Upgrade to the latest version (serialize-javascript)

Version
2.6.11
Reproduction link
https://www.npmjs.com/package/serialize-javascript
Steps to reproduce
serialize-javascript is a package to serialize JavaScript to a superset of JSON that includes regular expressions and functions. Affected versions of this package are vulnerable to Arbitrary Code Injection. An object like {"foo": /1"/, "bar": "a"@R--0@"} would be serialized as {"foo": /1"/, "bar": "a/1"/}, meaning an attacker could escape out of bar if they controlled both foo and bar and were able to guess the value of . UID is generated once on startup, is chosen using Math.random() and has a keyspace of roughly 4 billion, so within the realm of an online attack. eval('('  serialize({"foo": /1"   console.log(1)/i, "bar": '"@R--0@'})   ')');
What is expected?
Upgrade to the latest version
What is actually happening?
serialize-javascript is a package to serialize JavaScript to a superset of JSON that includes regular expressions and functions. Affected versions of this package are vulnerable to Arbitrary Code Injection. An object like {"foo": /1"/, "bar": "a"@R--0@"} would be serialized as {"foo": /1"/, "bar": "a/1"/}, meaning an attacker could escape out of bar if they controlled both foo and bar and were able to guess the value of . UID is generated once on startup, is chosen using Math.random() and has a keyspace of roughly 4 billion, so within the realm of an online attack. eval('('  serialize({"foo": /1"   console.log(1)/i, "bar": '"@R--0@'})   ')');

There is already a PR. Please don't open issues for this


Updated Czech Localization

What it Does

Closes #100
Added Czech translations to have localization up-to-date

How I Tested

Built the application and checked all string that are visible to the user.

Notes

No

@mikaelacaron Czech translations updated. Also, in the future, I don't mind taking care of updates to the Czech localization :)


Add pub/sub documentation

https://github.com/devopsfaith/krakend-pubsub/issues/2
New backends:

AWS SNS (Simple Notification Service) and SQS (Simple Queueing Service)
Azure Service Bus Topic and Subscription
GCP PubSub
NATS.io
RabbitMQ

Uploaded all documentation in a single page. Maybe we could split every case in a different section?


Add processor design documentation to mdbook

This PR adds documentation of the operation & constraint designs for processors where constraints have been implemented or recently updated. This includes the following processors:

Range Checker
Auxiliary Table (placeholder - not fully implemented yet & may require edits)

Hash Processor (placeholder - not implemented yet & may require edits)
Bitwise Processor
Power of Two Processor
Memory Processor

During this process, the Bitwise Processor documentation was updated to match the existing implementation and the Memory Processor documentation was also updated with small fixes.

@bobbinth I believe there may be an error in some of the diagrams in the original Memory Processor note. Can you check the comment I left in there and let me know? If they need updating, I can take care of it before submitting this PR.

@bobbinth Documentation was pulled directly from the hackmd notes with the following exceptions that should be checked:

Bitwise constraints have changed to match the current implementation.
Memory processor diagrams have been updated to correct the example values in the d0/d1 columns


Remote bolus and remote suspend

I know the code for doing this functionality is currently commented out but would you expect either mt.doRemoteBolus() or mt.doRemoteSuspend() functions to work or are they still a work in progress?
At the moment if I run doRemoteBolus I get a raw response of:
0400ff010011
and the pump does not execute anything.
If this isn't working yet would you be able to give me some information on your work so far so that I can try and continue it?

Unfortunately this is a dead end for using the CNL. That response is a NAK for "Not supported". The CNL is blocking that command at the firmware. The only way we will be able to remote bolus is to build a replacement device for the CNL, and to do that, we need to reverse engineer the over-the-air encryption (which is different from the CNL USB encryption).

Wow, I have just asked a related question on gitter:) Do you know if something like the TI CC2531 or CC2540 would be suitable for communicating with the pump?

This one can: http://www.ti.com/tool/CC2531EMK

So, wait, the bolus function over USB is blocked in firmware? I can bolus manually, remotely, using my CNL device. Darn.

@128keaton that's correct - otherwise we'd already have 600-series pumps working with Loop or OpenAPS 😉

@pazaan that is amazingly frustrating. I enjoy my 600 series pump but I'd love to not have to keep pulling it out to use it. Hmm. I wish I could be of more help.

@128keaton agreed! A bunch of embedded devs are already working on breaking the encryption on 600-series so that we can free our users from the pump UI, and enable other closed loop options.

@pazaan thats great. Is there a community where I can go and volunteer to test, etc? I just jumped into this on a whim today and I'm really surprised to see how much support/ideas there are out there. I just wish we had a bit more control over our CNLs.

There's not really any testing to do as such. Currently it's at a stage of a bunch of engineers attempting to reverse engineer crypto. Once the crypto is broken, I don't think much testing will be required, because the protocol is already known, and working. If you have any experience in this area, let me know and I can point you at the appropriate Gitter channel.

I'm an embedded engineer who would be interested to join the gitter channel, if its still active

@maristal You can join the channel. Just search for it in Gitter :)


All Autocomplete components open on mount

Describe the bug
We have multiple <Autocomplete> component on the landing page of our application, and the application is loaded, these open up automatically (which isn't very logical to me).

Steps to reproduce the bug

Use an autocomplete
Have it open even when it hasn't been clicked

<Autocomplete
  autoWidth
  options={users}
  label="User"
  onOptionsChange={(changes) => setUser(changes.selectedItems[0])}
/>

Expected behavior
All autocompletes should be closed until clicked.
Specifications

Version: 0.20.4
Browser: Electron 20.0.1 (Chromium 104.0.5112.81)
OS: MacOS 12.6 (21G115)

Additional context
Add any other context or screenshots about the bug. An example in CodeSandbox is very helpful

Thanks for reaching out to us!
This is unfortunately bug related to React 18 (useEffect being called double) and the Downshift library which we are using in the Autocomplete. Doesn't look like they have fixed it yet... However, this should only occurs in dev mode.
More information can be found here: #2369

Any chance you could push a bit on this issue up-stream?

Any chance you could push a bit on this issue up-stream?

Done 👍

Had same problem. Only found this issue to occur inside a dialog.
Repro:
https://codesandbox.io/s/npm-playground-forked-zcby68

We'll take a look in case there is something other than the downshift/react18 issue going on in that particular scenario 👍

The main issue here should be resolved by #2697
The dialog case is a separate issue due to the input recieving focus by the floating-ui FloatingFocusManager created a seperate ticket for this here


Call unregistered JavaScript functions

I know that Blazor currently uses a registered function approach, but I'm not sure why exactly this is required. I think It'd be nice if we could call arbitrary JavaScript functions without having to register them first.
I have implemented a simple workaround for this. Please take a look and let me know if this something that you may want to implement (of course in a proper way) in Blazor. If not, can you please tell me why it's a bad idea and is there any reason for me not to use this approach?
In my implementation, I have a C# helper method called JavaScriptInterop.Invoke which can be used like this:
// Call console.log without registering it
// JS call: console.log({"str": "Hello", "f": 1.23, "b": false});
// returns null
JavaScriptInterop.Invoke<object>("console.log", new { str = "Hello", f = 1.23, b = false });

// Method with variable number of params
// JS call: Math.max(3, 4.3, 5.1);
// returns 5.1
JavaScriptInterop.Invoke<double>("Math.max", 3, 4.3, 5.1);

// Access properties (doesn't have to be method call)
// JS call: Math.PI
// returns: 3.141592653589793
JavaScriptInterop.Invoke<double>("Math.PI");

// Invalid reference
// JS call: doesn't call anything
// returns null
JavaScriptInterop.Invoke<object>("invalid.ref");

And here's how I implemented it

Helper method JavaScriptInterop.Invoke to call registered JS function invokeUnregistered

public static class JavaScriptInterop
{
    public static TRes Invoke<TRes>(string identifier, params object[] args)
    {
        return RegisteredFunction.Invoke<TRes>("invokeUnregistered", new { identifier, args });
    }
}

Registering a generic JS function invoker invokeUnregistered

<script type="blazor-boot"></script>
<script>
    Blazor.registerFunction('invokeUnregistered', data => {
        var ref = data.identifier
            .split('.')
            .reduce((prev, curr) => prev && prev[curr], window);
        return ref instanceof Function ?
            ref.apply(null, data.args) :
            ref;
    });
</script>

PS: This could also be implemented as a dynamic class, so that the call will look something like this:
//this will be translated to JavaScriptInterop.Invoke<double>("Math.max", 1, 2, 3);
var max = JavaScript.Math.max(1, 2, 3).As<double>();

In my opinion it is not bad to have this functionality to quickly test something. On the other hand in real application I prefer registration. Usually I have plenty of places where I want to call some function and registration gives me strongly typed arguments and return values. I don't have to use string to specify function name (I do it only once during registration). With plenty of strings it is only matter of time to introduce some hard to find errors.

@Andrzej-W Just a quick note that RegisteredFunction.Invoke doesn't give you strongly typed args and return values either.

@mahdi-ninja I wrap RegisteredFunction.Invoke like this
public static void Focus(this ElementRef elementRef)
        {
            RegisteredFunction.Invoke<object>("Js.ExampleJsInterop.FocusElement", elementRef);
        }

Now I can use this function like this myElementRef.Focus() in hundreds of places and I have full intellisense and strongly typed arguments and return value. Maybe this example is not perfect because focus() JavaScript function doesn't take any arguments, but I think now it is clear what I mean. I can test my wrapper once and I'm sure that everywhere in my program I call it correctly.
To test something I can use your solution and write in C# code:
double pi = JavaScriptInterop.Invoke<double>("Math.PI");

but I will do it only once. Then I will wrap this in C# function and use:
double pi = MathPi();

It is much shorter and it is impossible to make any mistake.

@Andrzej-W thanks for the explanation. Obviously, as you said, the code will be much cleaner and more reliable if you wrap the call to RegisteredFunction.Invoke (or RegisteredFunction.Invoke) in another method to simulate strongly typed args and return values.
However, all I'm talking about here is that registering a function (at least in the current way) doesn't change anything in that regard.

This would be great. Possibly a middle ground would be something similar to Refit https://github.com/reactiveui/refit and the Auto Interface Implementation from Insight.Database https://github.com/jonwagner/Insight.Database/wiki/Auto-Interface-Implementation.
It would give you a strong typed registered function in c# and all for calling any method in the Javascript. It might also help with RegisteredFunction as well.
public interface IJavascriptMethods
{
	[Javascript("Js.ExampleJsInterop.FocusElement")]
	public Task Focus(ElementRef elementRef);
}

I agree at this point the javascript interop isn't working as it should.
I believe the solution andymac4182 suggests could be a better one.

@andymac4182 Good idea. However, I'm not sure if that's possible in the current runtime.
The problem is that AssemblyBuilder.DefineDynamicAssembly is not supported in mono.wasm and using it throws System.PlatformNotSupportedException.
PS: That's how it's done in InterfaceGenerator in Insight.Database too.

While building the class at runtime isn't possible it might be possible to do at build time. If its part of the framework that would be easier as well I am sure.

Would the retyped project from bridge.net help in creating bindings?

@andymac4182 I think it will look like a simplified version of #91

@Terricide take a look at #37

To note var call = RegisteredFunction.Invoke<bool>("IsDeviceLandscape"); for example can return a strongly typed value (in this case a bool). Arguments on the other hand are not strongly typed (i.e. object[] args). I think one step that would be nice to avoid, if possible, is the javascript part of the registration (Blazor.registerFunction).
function isDeviceLandscape() {
        return $deviceWin.innerHeight < $deviceWin.innerWidth;
    }
Blazor.registerFunction('IsDeviceLandscape', function () { return isDeviceLandscape(); }); //Remove need for this?

So if I am expecting a bool return from the js function I can use RegisteredFunction.Invoke<bool>("isDeviceLandscape"); //(note the camel case js function call)  and received an error if not the right return type. Or if I am expecting a dynamic I can use maybe RegisteredFunction.Invoke<dynamic>("isDeviceLandscape");. This way maybe one would not need to differentiate between RegisteredFunction.Invoke and something like a Javascript.Invoke?
Like I think what @mahdi-ninja suggested just call the JS directly from the RegisteredFunction.Invoke<bool>("isDeviceLandscape"); without the need to the Js side of the registration maybe? If the Js function being executed does not exist then an error would occur.

In 0.5.0 we have removed the need to pre-register JS functions.


Move Sock Shop deploys to eu-central-1

Currently Sock Shop deploys are done in eu-west-1, and because most of the other people work in the same zone, there are a high number of VM's already. During the CI tests we are reaching the limit of nr of VM's for the zone, so moving the Sock Shop related deploys to eu-central-1 will solve this.

All CI deployments are running in eu-central-1


Action: Decentraland contracts basic support

Implement basic Decentraland contracts objects to encapsulate ABIs.
Questions:

Should we have TasitSDK.Action.Decentraland.Marketplace or TasitSDK.Action.DecentralandMarketplace.

Should we use exactly contract names (MANAToken, EstateRegistry, etc) or "friendly"/short names like Mana and Estate?

Should we have TasitSDK.Action.Decentraland.Marketplace or TasitSDK.Action.DecentralandMarketplace.

I would vote for TasitSDK.Action.Marketplace.Decentraland - that way it's getting progressively more specific. And then we could add TasitSDK.Action.Marketplace.OpenSea in the future.

Should we use exactly contract names (MANAToken, EstateRegistry, etc) or "friendly"/short names like Mana and Estate?

I'd vote for friendly/short names. What do you think?

I would vote for TasitSDK.Action.Marketplace.Decentraland - that way it's getting progressively more specific. And then we could add TasitSDK.Action.Marketplace.OpenSea in the future.

Ohh, nice! And about other contracts?
TasitSDK.Action.ERC721.Estate, TasitSDK.Action.ERC721.Land and TasitSDK.Action.ERC20.Mana
or
TasitSDK.Action.Decentraland.Estate, TasitSDK.Action.Decentraland.Land and TasitSDK.Action.Decentraland.Mana

I'd vote for friendly/short names. What do you think?
Yes, I agree w/ you.

I'm leaning towards this:
TasitSDK.Action.ERC721.Decentraland.Estate
TasitSDK.Action.ERC721.Decentraland.Land
TasitSDK.Action.ERC20.Mana
A project with only one ERC721 one type might skip the key for project name.
I almost went with NFT over ERC721, but I think it's nice to be consistent.


Conflicts when merging frontend_fixes into dev

I've created new branch frontend_merge from dev and merged there your branch frontend_fixes. There were a few merge conflicts so I've resolved them. Therefore, after you finish your work, you can merge frontend_fixes into frontend_merge and then create a pull request without any conflicts.
Btw, nice work with event cards, it's a magnificent enhancement!

Sure thank you, but I still haven't finished yet so hopefully it doesn't result in more conflicts.

This issue was resolved in #230


Add msixbundle: Microsoft.PowerShell version <IP_ADDRESS>

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.1 schema?

Microsoft Reviewers: Open in CodeFlow

@russellbanks did you remove the msix installers or was it not released when you made the new version PR?

@russellbanks did you remove the msix installers or was it not released when you made the new version PR?

@OfficialEsco They were not released at the time but an issue was filed in the Powershell Repo https://github.com/PowerShell/PowerShell/issues/17892 which justified publishing it early to winget.

Thank you for looking into this. As the previous issue was closed.


net: if: Network interface was missing for offloaded drivers

The NET_IF_OFFLOAD_INIT() macro was not converted to use
Z_STRUCT_SECTION_ITERABLE() macros in commit 62580748e536
("net: Use section foreach macros"). This meant that for those boards
that use offloaded network stack, the network interface was not created
and network connectivity was lost.
Fixes #27037
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

@tsvehagen: Would you be interested to look into this? (given https://github.com/zephyrproject-rtos/zephyr/pull/26763, etc.)

@jukkar Faced the same issue with eswifi. Now tested working with this changes. Thanks.


DVO endpoints mock: stub + docstrings

Description
DVO endpoints mock: stub + docstrings
Type of change

Documentation update

Testing steps
To be checked on CI.
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Patch and project coverage have no change.

Comparison is base (8297f4e) 4.34% compared to head (bdc393c) 4.34%.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #412   +/-   ##
======================================
  Coverage    4.34%   4.34%
======================================
  Files          15      15
  Lines        1128    1128
======================================
  Hits           49      49
  Misses       1079    1079

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


//test/integration:direct_response_integration_test  is flakey

Afaict this has been happening in presubmit for the last few weeks, and has now started to occur in postsubmit.
The earliest incident i could find is 7/20
FAIL: //test/integration:direct_response_integration_test (see /build/bazel_root/base/execroot/envoy/bazel-out/k8-dbg/testlogs/test/integration/direct_response_integration_test/test.log)
INFO: From Testing //test/integration:direct_response_integration_test:
==================== Test output for //test/integration:direct_response_integration_test:
[==========] Running 6 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 6 tests from IpVersions/DirectResponseIntegrationTest
[ RUN      ] IpVersions/DirectResponseIntegrationTest.DefaultDirectResponseBodySize/IPv4
[external/com_google_absl/absl/flags/internal/flag.cc : 115] RAW: Restore saved value of envoy_reloadable_features_no_extension_lookup_by_name to: true
[external/com_google_absl/absl/flags/internal/flag.cc : 115] RAW: Restore saved value of envoy_reloadable_features_runtime_initialized to: false
[       OK ] IpVersions/DirectResponseIntegrationTest.DefaultDirectResponseBodySize/IPv4 (2390 ms)
[ RUN      ] IpVersions/DirectResponseIntegrationTest.DefaultDirectResponseBodySize/IPv6
[external/com_google_absl/absl/flags/internal/flag.cc : 115] RAW: Restore saved value of envoy_reloadable_features_no_extension_lookup_by_name to: true
[external/com_google_absl/absl/flags/internal/flag.cc : 115] RAW: Restore saved value of envoy_reloadable_features_runtime_initialized to: false
[       OK ] IpVersions/DirectResponseIntegrationTest.DefaultDirectResponseBodySize/IPv6 (2409 ms)
[ RUN      ] IpVersions/DirectResponseIntegrationTest.DirectResponseBodySizeLarge/IPv4
[2023-07-29 01:31:19.233][16][critical][assert] [test/integration/base_integration_test.cc:478] assert failure: 0. Details: Timed out waiting for listeners.
[2023-07-29 01:31:19.235][16][critical][backtrace] [./source/server/backtrace.h:104] Caught Aborted, suspect faulting address 0xfffe00000010
[2023-07-29 01:31:19.236][16][critical][backtrace] [./source/server/backtrace.h:91] Backtrace (use tools/stack_decode.py to get line numbers):
[2023-07-29 01:31:19.236][16][critical][backtrace] [./source/server/backtrace.h:92] Envoy version: 0/1.28.0-dev/test/DEBUG/BoringSSL
[2023-07-29 01:31:19.332][16][critical][backtrace] [./source/server/backtrace.h:96] #0: Envoy::SignalAction::sigHandler() [0x850956b]
[2023-07-29 01:31:19.428][16][critical][backtrace] [./source/server/backtrace.h:96] #1: __tsan::CallUserSignalHandler() [0x3060982]
================================================================================
INFO: Elapsed time: 2763.154s, Critical Path: 968.24s
INFO: 24133 processes: 10265 remote cache hit, 10321 internal, 1 local, 3546 remote.

https://dev.azure.com/cncf/envoy/_build/results?buildId=144571&view=logs&j=d1f76054-8f79-554b-6f4a-11d6a63b8e00&t=a193292f-96b1-53c3-0505-a923ddcc3f84&l=118

this is happening quite a lot

i think this is still an issue, reopening for now


Add support for XBPS package manager

xbps package manager is used with void linux https://voidlinux.org/

Codecov Report

Merging #194 (6c192cb) into main (b522b24) will decrease coverage by 1.25%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #194      +/-   ##
==========================================
- Coverage   50.41%   49.16%   -1.26%
==========================================
  Files          58       59       +1
  Lines        1926     1975      +49
==========================================
  Hits          971      971
- Misses        955     1004      +49

Impacted Files
Coverage Δ

lib/src/actions/package/providers/mod.rs
13.33% <0.00%> (-0.46%)
:arrow_down:

lib/src/actions/package/providers/xbps.rs
0.00% <0.00%> (ø)

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 b522b24...6c192cb. Read the comment docs.

@SabariVig I don’t have the means to test this, so if you say it works I’m happy to merge.
I really need to work out some container based testing 😀

Feel free to merge it, ran few basic installs "it works on my machine" :)

Thanks for contributing


Create experiment runners

We will want to run experiments with a variety of configs and options. To enable this, we need two things:

[ ] configs files that we can use to specify the settings for a particular run
[ ] an experiment runner for managing and automatically executing several runs

Do you want to have something like a dashboard for executing and managing your experiments or should it be CLI based.

Do you want to have something like a dashboard for executing and managing your experiments or should it be CLI based.

Do you want to have something like a dashboard for executing and managing your experiments or should it be CLI based.

We would be happy with either, but a dashboard would probably be ideal. FYI, the current interface is to write scripts and then call sh scripts/script_name.Sh.
We already have a tensorboard... is this something that can easily be modified to also manage experiments?

Do you want to have something like a dashboard for executing and managing your experiments or should it be CLI based.

We would be happy with either, but a dashboard would probably be ideal. FYI, the current interface is to write scripts and then call sh scripts/script_name.Sh.
We already have a tensorboard... is this something that can easily be modified to also manage experiments?

We would be happy with either, but a dashboard would probably be ideal. FYI, the current interface is to write scripts and then call sh scripts/script_name.Sh.

Jup. I saw that. Didn't look very optimal

We already have a tensorboard... is this something that can easily be modified to also manage experiments?

Tensorboard is more a visualization tool. Not really sure if it is able to manage/start experiments.

Depending on your needs we could do following:
If you want to have a way for scheduling your Python Scripts, you could use an orchestrating system like:

Airflow
Kubeflow
Mara
Luigi
All of them come in with a web UI, in which you can monitor and manage your scripts. This tool won't give you an overview of your experiments like tensorboard though. It is simply just a dashboard for starting, stoping and monitoring the state of your training.

e.g. when using Airflow it would look like this:

We would be happy with either, but a dashboard would probably be ideal. FYI, the current interface is to write scripts and then call sh scripts/script_name.Sh.

Jup. I saw that. Didn't look very optimal

We already have a tensorboard... is this something that can easily be modified to also manage experiments?

Tensorboard is more a visualization tool. Not really sure if it is able to manage/start experiments.

Depending on your needs we could do following:
If you want to have a way for scheduling your Python Scripts, you could use an orchestrating system like:

Airflow
Kubeflow
Mara
Luigi
All of them come in with a web UI, in which you can monitor and manage your scripts. This tool won't give you an overview of your experiments like tensorboard though. It is simply just a dashboard for starting, stoping and monitoring the state of your training.

e.g. when using Airflow it would look like this:

@steven-mi I assume Kubeflow plays nicely with Kubernetes? Kubernetes is what we are already using on the CoreWeave servers so that sounds ideal.

@steven-mi I assume Kubeflow plays nicely with Kubernetes? Kubernetes is what we are already using on the CoreWeave servers so that sounds ideal.

Do folks want to use something like Weights & Biases? It's a bit harder to make public, but I find it really useful for keeping track of experiments, config files, and sweeps.

Do folks want to use something like Weights & Biases? It's a bit harder to make public, but I find it really useful for keeping track of experiments, config files, and sweeps.

We can use Argo to look at the layout of individual GPUs and the CPU instances they are connected to.
If we need extensive logging we can use ELK or ELP, etc.
Kedro has a bit of a learning curve, but the function visualization interface makes it worth it. Kedro-Vis will also come in useful later when users need to create pipelines to segregate inappropriate content.

We can use Argo to look at the layout of individual GPUs and the CPU instances they are connected to.
If we need extensive logging we can use ELK or ELP, etc.
Kedro has a bit of a learning curve, but the function visualization interface makes it worth it. Kedro-Vis will also come in useful later when users need to create pipelines to segregate inappropriate content.

@dreamindata I've never used Argo before but it looks neat. I think one of the most important uses for a runner is to make sure that work is actually being spread evenly across all machines/processes. What do you think is best for keeping track of that?

@dreamindata I've never used Argo before but it looks neat. I think one of the most important uses for a runner is to make sure that work is actually being spread evenly across all machines/processes. What do you think is best for keeping track of that?

We somewhat have this set up in Kubernetes + Docker currently. I use a Kube GUI called Lens to keep an eye on load balancing.

We somewhat have this set up in Kubernetes + Docker currently. I use a Kube GUI called Lens to keep an eye on load balancing.

@dreamindata I've never used Argo before but it looks neat. I think one of the most important uses for a runner is to make sure that work is actually being spread evenly across all machines/processes. What do you think is best for keeping track of that?

If we change some of the docker defaults we can give each GPU a little more breathing room and the work will stay well distributed across multiple GPUs.
I would recommend staying at the Kubernetes management level because tools which work at the service level have a delay and most of them cannot look into the self-healing stages of a kubernetes node.
Octant might have some tools but Lens should do everything we need.
The only exception might be Cortex since it will allow us to get insights during a node re-launch?
In our case the backward microsteps will (should?) be creating the most computing burden so I will have to look at the code first.
Kubernetes has several management tools and Canonical allows for installation as charms if you want to check it out.

@dreamindata I've never used Argo before but it looks neat. I think one of the most important uses for a runner is to make sure that work is actually being spread evenly across all machines/processes. What do you think is best for keeping track of that?

If we change some of the docker defaults we can give each GPU a little more breathing room and the work will stay well distributed across multiple GPUs.
I would recommend staying at the Kubernetes management level because tools which work at the service level have a delay and most of them cannot look into the self-healing stages of a kubernetes node.
Octant might have some tools but Lens should do everything we need.
The only exception might be Cortex since it will allow us to get insights during a node re-launch?
In our case the backward microsteps will (should?) be creating the most computing burden so I will have to look at the code first.
Kubernetes has several management tools and Canonical allows for installation as charms if you want to check it out.

In our case the backward microsteps will (should?) be creating the most computing burden so I will have to look at the code first.

This is correct. The timings from the most recent large scale run was
<IP_ADDRESS>: rank=0 time (ms) | optimizer_gradients: 15.57 | optimizer_step: 125.15 | optimizer_allgather: 153.85
<IP_ADDRESS>: rank=0 time (ms) | forward_microstep: 9.73 | backward_microstep: 349.99 | backward_inner_microstep: 30.18 | backward_allreduce_microstep: 319.74 | step_microstep: 298.96
<IP_ADDRESS>: rank=0 time (ms) | forward: 9.71 | backward: 349.96 | backward_inner: 30.15 | backward_allreduce: 319.71 | step: 298.93
<IP_ADDRESS>: rank=0 time (ms) | optimizer_gradients: 23.32 | optimizer_step: 123.67 | optimizer_allgather: 267.97
<IP_ADDRESS>: rank=0 time (ms) | forward_microstep: 9.96 | backward_microstep: 448.03 | backward_inner_microstep: 28.11 | backward_allreduce_microstep: 419.85 | step_microstep: 419.11
<IP_ADDRESS>: rank=0 time (ms) | forward: 9.94 | backward: 448.01 | backward_inner: 28.08 | backward_allreduce: 419.82 | step: 419.08

In our case the backward microsteps will (should?) be creating the most computing burden so I will have to look at the code first.

This is correct. The timings from the most recent large scale run was
<IP_ADDRESS>: rank=0 time (ms) | optimizer_gradients: 15.57 | optimizer_step: 125.15 | optimizer_allgather: 153.85
<IP_ADDRESS>: rank=0 time (ms) | forward_microstep: 9.73 | backward_microstep: 349.99 | backward_inner_microstep: 30.18 | backward_allreduce_microstep: 319.74 | step_microstep: 298.96
<IP_ADDRESS>: rank=0 time (ms) | forward: 9.71 | backward: 349.96 | backward_inner: 30.15 | backward_allreduce: 319.71 | step: 298.93
<IP_ADDRESS>: rank=0 time (ms) | optimizer_gradients: 23.32 | optimizer_step: 123.67 | optimizer_allgather: 267.97
<IP_ADDRESS>: rank=0 time (ms) | forward_microstep: 9.96 | backward_microstep: 448.03 | backward_inner_microstep: 28.11 | backward_allreduce_microstep: 419.85 | step_microstep: 419.11
<IP_ADDRESS>: rank=0 time (ms) | forward: 9.94 | backward: 448.01 | backward_inner: 28.08 | backward_allreduce: 419.82 | step: 419.08

Superseded by subsequent changes


HPA based Datadog metrics

Hey everyone, I am last days reading and using HPA based Datadog metrics.
Under I put documentations
https://www.datadoghq.com/blog/autoscale-kubernetes-datadog/
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
This is my Datadogmetric
apiVersion: datadoghq.com/v1alpha1
kind: DatadogMetric
metadata:
  name: deliver-rate
  namespace: beta
spec:
  query: rabbitmq.queue.messages.deliver.rate{environment:production,rabbitmq_queue:enqueue.xxx.callable}.as_count()

and this one is my HPA
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
  name: test-beta2
  namespace: beta
spec:
  minReplicas: 1
  maxReplicas: 8
  behavior:
    scaleDown:
      stabilizationWindowSeconds: 10
      policies:
      - type: Pods
        value: 2
        periodSeconds: 2
    scaleUp:
      stabilizationWindowSeconds: 10
      policies:
      - type: Pods
        value: 2
        periodSeconds: 2
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: dealroom-xxx
  metrics:
    - type: External
      external:
        metric:
          name: 'datadogmetric@beta:deliver-rate'
        target:
          type: Value
          value: 200

I got two problems
1.
And all worked but didn't in the right way scaling up each time when metric value upper than the defined target value. For example, under I will put the  metricvalue/targetvalue and appropriate desiredReplicas
desiredReplicas: 4   252/200
desiredReplicas: 6   252/200
desiredReplicas: 6   252/200
desiredReplicas: 5   240/200
desiredReplicas: 6   240/200
desiredReplicas: 6   240/200
desiredReplicas: 8   240/200

Why the autoscaler adding pods more than 2
  behavior:
    scaleDown:
      stabilizationWindowSeconds: 10
      policies:
      - type: Pods
        value: 2
        periodSeconds: 2
    scaleUp:
      stabilizationWindowSeconds: 10
      policies:
      - type: Pods
        value: 2
        periodSeconds: 2

2.
Periodically I saw that datadogmetric's validation is false, but at the same time datadogmetric fetched metric and showed the value
deliver-rate   True     False   252     beta/test-beta2   9s
this is the error message
HPA controller was able to get the target''s current scale"},{"type":"ScalingActive","status":"False","lastTransitionTime":"2021-05-15T14:32:01Z","reason":"FailedGetExternalMetric","message":"the
      HPA was unable to compute the replica count: unable to get external metric beta/datadogmetric@beta:deliver-rate/nil:
      unable to fetch metrics from external metrics API: Internal error occurred:
      DatadogMetric is invalid, err: Outdated result from backend, query: rabbitmq.queue.messages.deliver.rate{environment:production,rabbitmq_queue:enqueue.dealroom-php.callable}.as_count()"},{"type":"ScalingLimited","status":"True","lastTransitionTime":"2021-05-15T14:30:57Z","reason":"TooManyReplicas","message":"the
      desired replica count is more than the maximum replica count"}]'

Who can help me to solve these 2 problems?

Not to hop on someone elses bug report, but we recently updated to the latest 1.19 helm chart and we see the same thing:
021-07-19 18:11:37 UTC | CLUSTER | ERROR | (pkg/clusteragent/externalmetrics/provider.go:103 in GetExternalMetric) | ExternalMetric query failed with error: DatadogMetric is invalid, err: Outdated result from backend, query: (240 /3600.001) * [snip]

We get these errors constantly flowing in for some reason.

@khachikyan97 @stevenarvar hey guys any chance you can help me understand if  Kubernetes aggregation layer configuration is needed for this integration (i'm running in EKS 1.18)? for some reason i can't get this to work..

Where should i put external_metrics_provider.max_age variable? Because I inserted variable DD_EXTERNAL_METRICS_PROVIDER_MAX_AGE and still getting error invalid metrics?

same issue after setting DD_EXTERNAL_METRICS_PROVIDER_MAX_AGE="900"


Clarified prune documentation regarding tags and interpolate

In response to #13

[x] Clarified that tags are affected by whitelist and blacklist
[x] Clarified what interpolate does by displaying the common logstash dynamic value syntax
- [ ] The %{some_field} should be in the code style < Don't know how to do :/

If you don't mind terribly, could you amend the commit and update the commit message to not just say "Update prune.rb"? The PR's title ("Clarified prune documentation regarding tags and interpolate") would be much better.

Requested changes made.

Thanks! I'll look into making a 2.0.5 release with this PR.

I'll look into making a 2.0.5 release with this PR.

2.0.5 apparently already exists (but hadn't been tagged), so it'll be 2.0.6.