v2 of the Azure Stack

Major overhaul of the Azure Stack:

Migrated to PostgreSQL as the DB rather than Azure SQL
New devcontainer that sets up the PostgreSQL db for you
Introduced azd for infra management
Full set of Bicep templates for deploying with azd

I'm learning remix (and Azure) and trying out your v2 template. Thanks for creating this!
In the .devcontainer/docker-compose.yaml there is a default password:
version: '3'

services:
  db:
    image: postgres
    restart: always
    environment:
      POSTGRES_PASSWORD: '$AzureR0cks!'

For me (on Windows/WSL2), if I ports the postgres image so I can connect to it from local tool (DataGrip), the value of POSTGRES_PASSWORD becomes !. I had a little trouble before I found the issue.
Removing the quotes from the pg password ('$AzureR0cks!') fixed the issue for me.

I haven't had problems with wsl2 (it's my primary Dev environment, but I haven't tried connecting from an external DB tool (I just is vscode).
I'll double check the yaml encoding

When I try to run the v2 container on Windows 10 with the latest VS Code, the container fails at some point in the process of building this container with the relevant error output below as well as the entire log file. I have only run into this issue on Windows. On MacOS I am able to build the container, but there is only text showing up when I open the app in the browser that says "Upgrade Required" after executing "npm run dev". I have not tried Linux yet.
> [dev_container_auto_added_stage_label 3/3] RUN apt-get update     && /bin/bas h /tmp/library-scripts/common-debian.sh "true" "automatic" "1000" "1000" "false"  "true" "true"     && /bin/bash /tmp/library-scripts/docker-debian.sh "true" "/v ar/run/docker-host.sock" "/var/run/docker.sock" "automatic"     && curl -fsSL ht tps://aka.ms/install-azd.sh | bash     && apt-get autoremove -y && apt-get clean  -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts/: #0 0.596 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] #0 0.639 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease  [48.4 kB] #0 0.661 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] #0 0.804 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 k B] #0 2.202 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd6 4 Packages [210 kB] #0 2.235 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages  [14.6 kB] #0 3.907 Fetched 8616 kB in 3s (2499 kB/s) #0 3.907 Reading package lists... #0 4.697 /tmp/library-scripts/common-debian.sh: line 11: $'\r': command not foun d : invalid optionbrary-scripts/common-debian.sh: line 12: set: - #0 4.697 set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] #0 4.697 /tmp/library-scripts/common-debian.sh: line 13: $'\r': command not foun d #0 4.701 /tmp/library-scripts/common-debian.sh: line 23: $'\r': command not foun d #0 4.701 /tmp/library-scripts/common-debian.sh: line 38: syntax error near unexp ected token$'do\r''
#0 4.701 /tmp/library-scripts/common-debian.sh: line 38: `    for CURRENT_USER i
' ${POSSIBLE_USERS[@]}; do
failed to solve: executor failed running [/bin/sh -c apt-get update     && /bin/
bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USE
R_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true"     && /bin/bash /tmp/
library-scripts/docker-debian.sh "${ENABLE_NONROOT_DOCKER}" "/var/run/docker-hos
t.sock" "/var/run/docker.sock" "${USERNAME}"     && curl -fsSL https://aka.ms/in
stall-azd.sh | bash     && apt-get autoremove -y && apt-get clean -y && rm -rf /
var/lib/apt/lists/* /tmp/library-scripts/]: exit code: 2
[2023-01-02T01:13:43.500Z] Stop (6287 ms): Run: docker-compose --project-name azure-remix-stack_devcontainer -f c:\Users\Zelda\Downloads\azure-remix-stack.devcontainer\docker-compose.yml -f c:\Users\Zelda\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.build-1672622017211.yml build
[2023-01-02T01:13:43.501Z] Error: Command failed: docker-compose --project-name azure-remix-stack_devcontainer -f c:\Users\Zelda\Downloads\azure-remix-stack.devcontainer\docker-compose.yml -f c:\Users\Zelda\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.build-1672622017211.yml build
[2023-01-02T01:13:43.502Z]     at pF (c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1850:431)
[2023-01-02T01:13:43.502Z]     at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2023-01-02T01:13:43.502Z]     at async foe (c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1850:2457)
[2023-01-02T01:13:43.503Z]     at async loe (c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1832:2396)
[2023-01-02T01:13:43.503Z]     at async Poe (c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1899:2301)
[2023-01-02T01:13:43.503Z]     at async Zf (c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1899:3278)
[2023-01-02T01:13:43.504Z]     at async aue (c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:2020:15276)
[2023-01-02T01:13:43.504Z]     at async oue (c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:2020:15030)
[2023-01-02T01:13:43.519Z] Stop (14416 ms): Run: C:\Users\Zelda\AppData\Local\Programs\Microsoft VS Code\Code.exe --ms-enable-electron-run-as-node c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\Zelda\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --workspace-folder c:\Users\Zelda\Downloads\azure-remix-stack --workspace-mount-consistency cached --id-label devcontainer.local_folder=c:\Users\Zelda\Downloads\azure-remix-stack --log-level debug --log-format json --config c:\Users\Zelda\Downloads\azure-remix-stack.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-01-02T01:13:43.519Z] Exit code 1
[2023-01-02T01:13:43.524Z] Command failed: C:\Users\Zelda\AppData\Local\Programs\Microsoft VS Code\Code.exe --ms-enable-electron-run-as-node c:\Users\Zelda.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\Zelda\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --workspace-folder c:\Users\Zelda\Downloads\azure-remix-stack --workspace-mount-consistency cached --id-label devcontainer.local_folder=c:\Users\Zelda\Downloads\azure-remix-stack --log-level debug --log-format json --config c:\Users\Zelda\Downloads\azure-remix-stack.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-01-02T01:13:43.524Z] Exit code 1`
remoteContainers-2023-01-02T01-13-27.660Z.log

It looks like a line endings problem @mex20 - the shell scripts that are run are being converted to CRLF and that causes problems when Docker executes them in Linux. I'll add a gitattributes to hopefully fix that.
For MacOS, are you on a M1 or M2 chipset?

It looks like a line endings problem @mex20 - the shell scripts that are run are being converted to CRLF and that causes problems when Docker executes them in Linux. I'll add a gitattributes to hopefully fix that.
For MacOS, are you on a M1 or M2 chipset?

Thanks for the quick issue identification @aaronpowell! I was having a tough time figuring out why the 'CURRENT_USER in....; do" code was leaking into the arguments.
For the 'Upgrade Required" issue on MacOS, I was not running it on an M1 or M2 chipset Mac. I was running it on an Intel Mac, Model A1707.
When I attempt to run on an M1 chipset Mac, I get an Unhandled 'install-azd' error. seen below. I am also attaching the full log for you.
Error
#0 23.84 install-azd: ERROR: Architecture not supported: aarch64 on platform: linux
#0 23.84 install-azd: ERROR: Unhandled error

m1Chipset_remoteContainers-2023-01-02T22-37-15.375Z.log

Is the "Upgrade Required" error in the browser? I don't have a MacOS device so I'm not able to test that scenario myself.
For the M1 issue, that's reported here: https://github.com/Azure/azure-dev/issues/952
I'll follow their guidance to rectify.

Is the "Upgrade Required" error in the browser? I don't have a MacOS device so I'm not able to test that scenario myself.
For the M1 issue, that's reported here: Azure/azure-dev#952
I'll follow their guidance to rectify.

Yes the "Upgrade Required" error happens in the browser. I can provide assistance with testing on MacOS on this. What would be helpful for me to test/gather for you on the Intel MacOS device?

After some digging around, I was able to find out some more information about this MacOS "Require Upgrade issue. The "Upgrade Required" page does not seem to be coming from the Remix stack as I am not seeing any incoming requests from the browser in the dev container console. I can see the Remix stack receiving a request from the browser when I go to http://localhost:3000 in the dev container console, but I get a whole different issue then. Below in the steps to reproduce I have detailed my findings much better.
Thank you so much for your quick responses @aaronpowell!
Here are the steps I took to get to this issue:

git clone https://github.com/aaronpowell/azure-remix-stack
Change to the azure-remix-stack directory
Run npm install
Start the dev container
When the dev container is fully started I run npm setup
After that finishes I run npm run dev
Server starts and I click the "Open in Browser" button on the pop-up in VS Code.

The browser opens with the "Upgrade Required" screen. and opens to: http://localhost:8002

The dev container console does not show any connections to the remix stack. However it does show: Remix App Server started at http://localhost:3000 (http://<IP_ADDRESS>:3000)
a. In the browser navigate to: http://localhost:3000 and the page that is displayed shows this:

b. The dev container console will show this error when the browser loaded http://localhost:3000

I have been trying to deploy v2 using the azd commands in the README, but I am unable to run azd login and successfully login and deploy to Azure because the browser fails to open. The same error seen in the below images occurs on MacOS (M1/Intel) and Windows. I am able to use the command az login to launch the browser and log into that tool, but it does not carry over to azd.
Error:

@mex20 what's the version output by azd version?

@mex20 what's the version output by azd version?

azd version 0.5.0-beta.3 (commit 1c23678aade587d5b9685a256a3c1d2d7f4b42e0) Is the output I get from running azd version in the dev container on Windows and on MacOS.

Can you try the --use-device-code flag when trying to trigger a login:
azd login --use-device-code

That should avoid the browser being launched, instead give you a URL to follow and the auth code to give the login screen.

Can you try the --use-device-code flag when trying to trigger a login:
azd login --use-device-code

That should avoid the browser being launched, instead give you a URL to follow and the auth code to give the login screen.

Thanks @aaronpowell that was the trick to getting azd associated with the Azure account. I was able to successfully log in with that command.

I've been meaning to merge this for a while, figured it's about time!


Change colour

Changes the to yellow on < 50% and red on < 20% battery percentage.

Nice idea, thanks! Please can you put an entry in the changelog and bump the version number?

Thanks - for the future, it is possible to do everything in one PR rather than 3 separate ones


Enable to put groovy scripts in subdirectories

I hope if it was tested empirically :)

seems that it wasn't even tested, see CI error:
e: /home/travis/build/Cognifide/gradle-aem-plugin/src/main/kotlin/com/cognifide/gradle/aem/common/instance/service/groovy/GroovyConsole.kt: (96, 16): None of the following functions can be called with the arguments supplied:
public final fun evalScripts(fileNamePattern: String = ..., data: Map<String, Any> = ...): Sequence<GroovyConsoleResult> defined in com.cognifide.gradle.aem.common.instance.service.groovy.GroovyConsole
public final fun evalScripts(scripts: Iterable<File>, data: Map<String, Any> = ...): Sequence<GroovyConsoleResult> defined in com.cognifide.gradle.aem.common.instance.service.groovy.GroovyConsole
> Task :compileKotlin FAILED
:compileKotlin (Thread[Daemon worker,5,main]) completed. Took 49.569 secs.

please test it empirically before introducing PR

My apologies, I've updated the code

@twiernik
too late ;) improved by myself in 9.2.0
try be quicker and more presice next time!


Use classes instead of prototypes

+1, but I don't like the fact that you also modify code style for single argument functions.

Landed in 5fec963, a56f3f4, 3ade167, f3f740b, 1be3420


Readonly atribute is ignored

I want to use the readonly-attribute on the checkbox, but when I do, I still can toggle the checkbox.
I cannot use d'disabled' instead, because then the property is not included in the post of the form.
How to use readonly on Bootstrap4-Toggle?

Hi @norhan22,
I've released a new version for bootstrap 4 and bootstrap 5 in palcarazm/bootstrap5-toggle that support readonly attribute.

Thanks.


updated validations.py python script

fixed the behavior of validate_user function in validations.py
closes: #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Include task scores with mmlu results + adjust default api retries

This change allows for the individual tasks to be returned to the caller to be able to show something more interesting in the output.  Previously only mmlu_pr would be returned.
I've also adjusted the api retires to something more reasonable.  I'm going to open another issue to address api errors.
Example output:
# KNOWLEDGE EVALUATION REPORT

## BASE MODEL
/home/ec2-user/instructlab/models/instructlab/merlinite-7b-lab

## MODEL
/home/ec2-user/instructlab/models/instructlab/granite-7b-lab

### AVERAGE:
+0.23 (across 2)

### IMPROVEMENTS
1. task2 (+0.37)

### REGRESSIONS:
1. task1 (-0.11)

### NO CHANGE:
1. tonsils

This lgtm.
Would the tasks be named to something more specific in the output? Something like abstract_algebra as opposed to task1


US977107: Release preparation

Ticket: https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=977107

CI Build Link:
https://sou-jenkins2.swinfra.net/job/CAFapi/job/CAFapi~opensuse-opensearch1-image~US977107~CI


Obtrusive Title Bar on Windows

Will there ever be a better title bar instead of the default one?

Hey! Thanks for filing this @rittbys — I'll see if we can get a custom titlebar in there (or just remove the frame and put the window controls icons in the bar beneath) in a future update. Stay tuned!

The Discord Windows app is a good example

On Feb 9 2016, at 12:58 pm, Ben Gotow<EMAIL_ADDRESS>wrote:

Hey! Thanks for filing this @rittbys — I'll
see if we can get a custom titlebar in there (or just remove the frame and put
the window controls icons in the bar beneath) in a future update. Stay tuned!

—
Reply to this email directly or [view it on GitHub](https://github.com/nylas/N
1/issues/1264#issuecomment-182004334).![](https://github.com/notifications/bea
con/AE9sFzFQtQ-toEvIxD-TZmJbe7no0it2ks5pii44gaJpZM4HWhcn.gif)

The Discord windows app is a good example.

Not to be a dick, and I know it doesn't alter the bug report, but why not upgrade from WIndows 8 to Windows 10?

@bengotow Is the option of removing using a custom titlebar and removing the frame doable under Linux as well?

@brittyazel I don't want to deal with the incompatibility and privacy issues. I really hate windows 10 except for its looks and Win8.1 is working better for me.

fair enough

Since Electron is a C++ application, you could probably fork Electron to have
a different window manager since I doubt it's possible to do that with JS.

On Feb 9 2016, at 8:13 pm, Britt Yazel<EMAIL_ADDRESS>wrote:

fair enough

—
Reply to this email directly or [view it on GitHub](https://github.com/nylas/N
1/issues/1264#issuecomment-182169521).![](https://github.com/notifications/bea
con/AE9sF5LU-d6Rh5hNjAEA1hp5MQs4UVP9ks5pipRhgaJpZM4HWhcn.gif)

I think it should be totally possible with Frameless Window

@bengotow this sounds like the right way to go, I had no idea this was
actually a thing in electron.

Hey folks—yep, I believe we can do this using the "Frameless Window" API. On Mac OS X, we actually do this and fake the "gumdrop" window controls in the top left. It looks like Discord is also faking the controls (they look /slightly/ different than the native ones.) I'll see what we can do.

@bengotow Is this also possible under Linux? If it were, you could unify the layouts across all platforms

Yes, it's possible under Linux, I've tested it with another electron app I'm
developing.

On Feb 19 2016, at 11:31 pm, Britt Yazel<EMAIL_ADDRESS>wrote:

@bengotow Is this also possible under Linux?
If it were, you could unify the layouts across all platforms

—
Reply to this email directly or [view it on GitHub](https://github.com/nylas/N
1/issues/1264#issuecomment-186514726).![](https://github.com/notifications/bea
con/AE9sF6vLLgzz7qN3FKp2tl8yGLvV2wLuks5pl_F1gaJpZM4HWhcn.gif)

The Windows titlebar is ruining the elegance of all the themes, so yeah, frameless window is the way to go.

Another request in #216.

I agree, this should be done in Windows to improve the design.


Question: upload.abort()

Question about upload.abort(). Let's say several files are uploading and one of them fails to upload. If I call upload.abort() in onError does that only abort the failed upload or all remaining uploads?
Thank you for this excellent package!

Hi @firewater, there is one uploader (worker) per file to upload, so any action on this uploader concerns only one file, in your case it will only abort the file that failed to upload, the others will still be uploading.
I fixed the abort() method, it was doing nothing because of a code executed at the wrong place... sorry for that.
Thanks for your help in debugging the package ;-)


Checks Slack profile fields for None before accessing them

This PR fixes a NoneType exception when Slack fields are None.

We could also move the logic down to the get_user_profile_by_email() function in the service module.


Update inheritance-mapping.md

Small tweak to make the sentence more grammatically correct.

thanks, can you please update the next docs too (in docs/docs folder)? this change would be lost in future versions


No Kotlin examples in armeria-examples repository

While there are some examples for Kotlin in this repository, but not in https://github.com/line/armeria-examples.

Have to update the script or gradle scripts of examples.

scalapb example, too.


Service Request: NPR One

http://one.npr.org/
I'm a Nuvola Patron with username ederickson

Hello @dericke. Thanks for your feature request. I have attached it to the Service Backlog milestone. These services has higher priority.

WIP: https://github.com/tiliado/nuvola-app-npr-one

Published but not announced yet.
Flatpak package
Source code


The statement about ExpressRoute being a Trusted Service is wrong

It's not in the list of trusted services referenced here "https://learn.microsoft.com/en-us/azure/key-vault/general/overview-vnet-service-endpoints#trusted-services".
Furthermore, if one is to implement this as outlined in this guide and then switches the key vault from "Allow public access from all networks" to "Allow public access from specific virtual networks and IP addresses, requests to the key vault by the ExpressRoute service get denied with the reason that the IP address of the caller is not whitelisted in the key vault's firewall.
Please update the documentation accordingly.

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

ID: 1d55ccda-fe86-6732-41d3-abea758842c8
Version Independent ID: 4e043350-9d88-a57f-e743-a169d73d86be
Content: Azure ExpressRoute: Configure MACsec
Content Source: articles/expressroute/expressroute-howto-macsec.md
Service: expressroute
GitHub Login: @duongau
Microsoft Alias: duau

@ManuelSchenkel , thank you for your feedback. We'll review this and get back to you shortly!

@ManuelSchenkel , do you face an issue even when you select the 'Allow Trusted Microsoft Services to bypass this firewall.' option in your Azure Key Vault Firewall?
Refer: https://learn.microsoft.com/en-us/azure/key-vault/general/network-security#key-vault-firewall-enabled-trusted-services-only

@GitaraniSharma-MSFT
Yes, even with 'Allow Trusted Microsoft Services to bypass this firewall.' selected, the requests get denied.

@ManuelSchenkel , thank you for the update. We have assigned this to the content owner/author for review.

Hello @ManuelSchenkel, are you still experiencing this issue? As of November 15th, ExpressRoute as a Trust Service is now GA. Please let me know if you're still having trouble setting this up.

Hello @ManuelSchenkel, please feel free to reach out to me if you're still experiencing any issues with ER as a Trusted Service. For now I'll be archiving this issue. Thank you! #please-close


Add a very minimal viable product preview API

This adds aiofiles as a dependency to serve files, and it assumes that
/tmp/ will have {uid}.png files with previews generated. This enables
some prototyping of the feature in the web interface, but it is only
intended as a temporary solution.

Is there an easy way to generate said previews?

I will see about adding something in a follow up commit, it is not that hard but some questions over triggering. Ideally upon first run or new runs it would generate a preview, they remain in a consistent spot.

I just pushed the script I was using @tacaswell to generate the thumbnails. As I said, there are lots and lots of improvements to be made, but the basic concept of generating PNGs at some point, using the uid to identify them, and serving them to the client are all of value.

Thanks for that, I wonder if the cookie cutter should be updated for the stuff it added that was failing? Another day perhaps, but the version stuff was all cookie cutter made.


Hibernate not able to wakeup

Hi,
I want to implement Hibernate but it's not able to wake the system up with a specified button (pin 33 in my sample). My Teensy version is 3.5 and I'm using Snooze 6.2.8
Below is my sample code:
// Sample code: Hibernate after 5 seconds
#include <Snooze.h>

SnoozeDigital digital;
SnoozeCompare compare;
SnoozeTimer timer;
SnoozeAlarm alarm;

#if defined(__MK66FX1M0__)
SnoozeBlock config_teensy36(digital, alarm, compare);
#elif defined(__MK64FX512__)
SnoozeBlock config_teensy35(digital, timer, compare);
#elif defined(__MK20DX256__)
SnoozeBlock config_teensy32(digital, timer, compare);
#elif defined(__MK20DX128__)
SnoozeBlock config_teensy30(digital, timer, compare);
#elif defined(__MKL26Z64__)
SnoozeBlock config_teensyLC(digital, timer, lc5vBuffer);
#endif

int sleepTiming = millis();
void setup() {
  Serial.begin(9600);
  pinMode(33, INPUT_PULLUP);
  digital.pinMode(33, INPUT_PULLUP, RISING);
}

void loop() {
  if (millis() - sleepTiming > 5000) {
    Serial.println("Test Hibernate");
    delay(100);
    #if defined(__MK66FX1M0__)
        Snooze.hibernate( config_teensy36 );// return module that woke processor
    #elif defined(__MK64FX512__)
        Snooze.hibernate( config_teensy35 );// return module that woke processor
    #elif defined(__MK20DX256__)
        Snooze.hibernate( config_teensy32 );// return module that woke processor
    #elif defined(__MK20DX128__)
        Snooze.hibernate( config_teensy30 );// return module that woke processor
    #elif defined(__MKL26Z64__)
        Snooze.hibernate( config_teensyLC );// return module that woke processor
    #endif

    sleepTiming = millis();
  }
  delay(100);
}

Thanks!
Uyen

Use the USB Serial Hibernate example if you want to print usb messages. When you put the Teensy into hibernate the USB is disabled and takes time to come back online. Also try putting a debug led blink after wakeing so you know it woke up.

Thanks for your response. In my case, it's not only with USB Serial. I have tried with led blink or other output but still not able to wake it up when pressing the button.


non-empty segments in IFCINDEXEDPOLYCURVE currently not supported

Describe the bug
I am attempting to display this file:
https://drive.google.com/drive/folders/1VTO76g_djBrd6uvB3yelCizo7nfEP7qz?usp=sharing
To Reproduce
Steps to reproduce the behavior:

open any ifcjs viewer
upload this file
See missing components

Expected behavior
This is what the building should look like:

This was opened using https://wikiifc.com/
This is what it currently looks like: (ignore material changes this is expected since different material was applied)

It is expected that IFCINDEXEDPOLYCURVE would be supported. This seems to be the only type of ifc type that fails.
Screenshots
These errors were occuring on loop

Additional context
My assumption is the geometry just needs to be supported. If this is easy grunt work just let me know how to do it and I'll take care of it.

Can you raise this on the web-ifc repo as it is a bug in that repository

@beachtom https://github.com/IFCjs/web-ifc/issues/466


[Question]

How can I change the prefix and make it without the need for space?
I tried everything in the message event, changing the args to [0] but still couldn't make it work.
so like how can I change the prefix to % and make the commands work with %help and not with % help

    const messageArray = message.content.split(' ');
    const cmd = messageArray[1];
    const args = messageArray.slice(2);

Just replace these with how you want it to respond

const messageArray = message.content.split(' ');
const cmd = messageArray[0];
const args = messageArray.slice(1);

Shouldn't that work without space? Like %help by just moving both 1 argument before?

Have you tried it I can’t really test anything as am not on my pc but just use
const cmd = messageArray[0];

Don’t think you need the args or the slice when there is no space 👍

just tried
const messageArray = message.content.substring(prefix.length).split(" ");
const cmd = something[0]
const args = something[1]

And now am getting an error on the help command, Cannot read property 'slice' of undefined.


Update geoserer-node-client

Title says all. Question would be if we move this lib to the package.json at root-level so that it is not installed 3 times. Unsure...
@weskamm @chrismayer ?

i would like to keep the individual package.json files, so the workers stay standalone.

Right, works for me.


Cosine learning rate schedule - minimum learning rate

Regarding cosine learning rate decay, in the literature the learning rate is typically decayed to some percentage of the peak learning rate rather than decayed to 0 (e.g., Llama 2 decays the final learning rate down to 10% of the peak learning rate).
I am unsure if axolotl currently offers a straightforward way of setting the minimum learning rate when using cosine decay. Here is a simple implementation where the user simply needs to specify cosine_min_lr_ratio in the config file (e.g., cosine_min_lr_ratio=0.1 decays the final learning rate down to 10% of the peak learning rate).

This is great, I think the only thing we may want to do is warn if a user sets cosine_min_lr_ratio and also uses deepspeed, that cosine_min_lr_ratio COULD be ignored depending on whether the user set a scheduler in their deepspeed JSON. the example deepspeed files in axolotl don't have this set, so should be less of an issue if people use those.

@RicardoDominguez one last thing, could you update the README to include this option in the documented yaml options please?

Great, thanks @winglian!


HHH-15957 Hibernate 6.1.6 Infinite Recursion/StackOverflow Using DB2 Custom Dialect

https://hibernate.atlassian.net/browse/HHH-15957

The 6.1.7-SNAPSHOT allowed me to extend DB2zDialect and override the getVersion() as a temporary fix for our DB2 z/OS Application Compatibility setting. Thanks!!
According to your releases page, it seems your cadence is just over once a month. Do we have a date for 6.1.7.Final?

We will release it in the next few days.


resource/aws_msk_cluster: Add storage_mode argument

https://github.com/hashicorp/terraform-provider-aws/releases/tag/v4.40.0
https://github.com/hashicorp/terraform-provider-aws/issues/27546

@cbrim-12 This module was migrated to tedilabs/terraform-aws-messaging repository.
You can check the following URL:
https://github.com/tedilabs/terraform-aws-messaging/blob/main/modules/msk-cluster/variables.tf#L97


[GHI] Fix/lvt jules postproc

Description
Updated scripts to restore non-GALWEM related postprocessing of LIS Jules.

Note:  GALWEM related LIS-Jules postprocessing scripts are preserved with slightly different names.


feature/add-platform-and-org-name-on-create-app

TODOs

[x] adding optional arguments
[x] validate optional arguments
[ ] update templates
[ ] update templates rendering

Unclear yet

In process_service.dart I added the optional arguments and pass them as the arguments variable which is a list of strings, but I'm not sure if this is the right approach as the information about the variable name (i.e. platforms) is lost
How to test the runCreateApp  method

Remarks
In the readme file, there is already a placeholder for "Running the code." It would be helpful to have this guide when creating such a PR.

@FilledStacks this would be a major addition to "stacked create app" command. Options to choose platforms and to specify the bundle ID are a must-have IMO. Can we maybe expect this in the next version release of stacked_cli?

This feature is incomplete. But we have selected this for next weeks work so it should be in by the end of next week 🤞


Limit NATS Datastore instance to support only a single TCP

Due to the missing NATS multi-tenancy feature (tl;dr; no way of creating users dynamically) we have to enforce the use of a single TCP per NATS datastore.
A webhook must be enforced to prevent the allocation of a Tenant Control Plane, as well a reconciliation must be stopped if the given Datastore has been already assigned to another TCP.

A webhook wouldn't be enough resilient, we should block reconciliation.
Opening a new PR for this.


Is there a way to ignore certain routes or apply any sort of filter?

I love the option for outputting specification to a .json file. However the problem I face is, the file grows so large. Based on my usage pattern, some of the routes get tons of examples added. And some others don't have any yet.
It will be great if we can tightly control what goes into the specification json. Things like, store only 1-2 examples per api.
I believe the second argument to init() is for this purpose. But I am not sure how exactly to tweak it for the above need.
I will be happy to create a documentation PR if anybody can shed some light here.

Second argument is used to modify specification, indeed, but I think it is not used when we write specificatoion into the file. I thought only one example is generated per endpoint. I will check.

From express's 4.x docs:
I'd recommend reading the whole thing - https://expressjs.com/en/4x/api.html#router.use

The order in which you define middleware with router.use() is very important. They are invoked sequentially, thus the order defines middleware precedence. For example, usually a logger is the very first middleware you would use, so that every request gets logged.

var logger = require('morgan')
var path = require('path')

router.use(logger())
router.use(express.static(path.join(__dirname, 'public')))
router.use(function (req, res) {
  res.send('Hello')
})

Now suppose you wanted to ignore logging requests for static files, but to continue logging routes and middleware defined after logger(). You would simply move the call to express.static() to the top, before adding the logger middleware:

router.use(express.static(path.join(__dirname, 'public')))
router.use(logger())
router.use(function (req, res) {
  res.send('Hello')
})

...

NOTE: Although these middleware functions are added via a particular router, when they run is defined by the path they are attached to (not the router). Therefore, middleware added via one router may run for other routers if its routes match. For example, this code shows two different routers mounted on the same path:

I see potential, but I haven't yet tried anything like this.
Once again, see https://expressjs.com/en/4x/api.html#router.use

I thought only one example is generated per endpoint. I will check.

@mpashkovskiy did you get a chance to check that? It is generating multiple examples for me. Not sure if I missed something.

@obai-d Just an FYI - I had the same issue previously & thus used this monstrosity to trim the length of my examples' arrays to 1.
/**
 * trimExampleLengthToOne.ts
 *
 * Ported from https://github.com/sarpik/turbo-schedule
 *
 * Copyright (c) 2019 Kipras Melnikovas
 * Use freely
 */

import { OpenAPIV3 } from "openapi-types";

/** debugging purposes */
function logEmpty(what: string) {
	console.log(`\`${what}\` not found / empty`);
}

export function trimExampleLengthToOne<T extends OpenAPIV3.Document>(generatedDocsReference: T): T {
	const generatedDocs: T = { ...generatedDocsReference };

	Object.entries(generatedDocs.paths).forEach(([_pathKey, pathValue]) => {
		Object.entries(pathValue as object).forEach(([_reqMethodKey, reqMethodValue]) => {
			if (!reqMethodValue?.responses) {
				logEmpty("responses");
			} else {
				Object.entries(reqMethodValue.responses as object).forEach(([_resCodeKey, resCodeValue]) => {
					console.log("resCodeValue", resCodeValue);
					if (!resCodeValue?.schema?.properties) {
						logEmpty("schema / schema.properties");
					} else {
						Object.entries(resCodeValue.schema.properties as object).forEach(([_propKey, propValue]) => {
							if (!propValue?.example) {
								logEmpty("property / property.example");
							} else {
								if (!Array.isArray(propValue.example)) {
									// continue;
								} else {
									if (propValue.example.length > 1) {
										propValue.example = propValue.example[0];
										console.log("  -> Sliced example's array to contain only 1 element!");
										console.log("Example", propValue.example);
									}
								}
							}
						});
					}
				});
			}
		});
	});

	return generatedDocs;
}

It's written in TypeScript, but you can easily convert it to JavaScript.
I no longer need this since I run tests with a fake database & all data is whatever I provide in the tests, so it's fitting perfectly.
We might consider something like this in the future with maybe an option like limitExampleArrayLengthTo or something:D Feedback welcome!

Thanks @sarpik !

fixing it, hold on

@obai-d , @sarpik  could you please try version 1.0.18

@mpashkovskiy just verified it, works 👍  Thanks a bunch!

@mpashkovskiy seems to be working fine:)
Should we mention this in the docs? Someone might want the opposite behaviour and might get confused. Thus, maybe we should make this optional? (After #35)

frankly speaking I doubt that anyone would like to have opposite behaviour, it was more of a bug than a feature :)

Fair enough, let's do something else that's useful then:D

Hey there, could we re-open this?
I'd like to make the behaviour, introduced in d8f19dc2a1891400389dc01e8de6f0e9246a5d59, optional.


pydolphinscheduler is having problems using the official documentation code

The version of my pydolphinscheduler is 4.0.3, and dolphinscheduler is 3.1.5. , my OS is ubuntu 22.10，Other than that,I use hdfs for the resource center.
When I run code in the official documentation

something wrong happened.I was able to upload main.py and dependence.py without a problem, but my workflow didn't work. When I look at the log it says the host instance does not exist.

Hi @Treasure-u , do you mean both resource files and workflow created success, but when you run the workflow and go to see the workflow/task instance log is show's host is empty?
If in this situation, could you

check your task definition and see whether resource in your task looking good?
check your master and worker and see whether they exists and working fun?
check your master or worker log to see whether have detail error log?

duplicate #101

YES, I have the same problem while using the pydolphinscheduler CLI to create workflow with YAML file, pydolphinscheduler's version im using is 4.0.3, and the version of dolphinscheduler is 3.1.7, a part of whole code as following:
`

name: child2
task_type: Shell
command: sh test1.sh
fail_retry_times: 2
fail_retry_interval: 3
worker_group: worker252
environment_name: worker-[252]-environment
resource_list: [test1.sh]
deps:

parent
I'm used these code to generate workflow and the programe raise an error like below:
Auth token is default token, highly recommend add a token in production, especially you deploy in public network.
/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/java_gateway.py:324: UserWarning: Using unmatched version of pydolphinscheduler (version 4.0.3) and Java gateway (version 3.1.7) may cause errors. We strongly recommend you to find the matched version (check: https://pypi.org/project/apache-dolphinscheduler)
gateway = GatewayEntryPoint()
Traceback (most recent call last):
File "/home/hadoop/.local/bin/pydolphinscheduler", line 8, in
sys.exit(cli())
File "/home/hadoop/.local/lib/python3.8/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/hadoop/.local/lib/python3.8/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/hadoop/.local/lib/python3.8/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/hadoop/.local/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/hadoop/.local/lib/python3.8/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/cli/commands.py", line 106, in yaml
create_workflow(yaml_file)
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/core/yaml_workflow.py", line 494, in create_workflow
YamlWorkflow.parse(yaml_file)
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/core/yaml_workflow.py", line 235, in parse
workflow_name = cls(yaml_file).create_workflow()
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/core/yaml_workflow.py", line 179, in create_workflow
task = self.parse_task(task_data, name2task)
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/core/yaml_workflow.py", line 290, in parse_task
task = task_cls(**task_params)
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/tasks/shell.py", line 58, in init
super().init(name, TaskType.SHELL, *args, **kwargs)
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/core/task.py", line 222, in init
self.get_content()
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/core/task.py", line 332, in get_content
res = self.get_plugin()
File "/home/hadoop/.local/lib/python3.8/site-packages/pydolphinscheduler/core/task.py", line 319, in get_plugin
raise PyResPluginException(
pydolphinscheduler.exceptions.PyResPluginException: The execution command of this task is a file, but the resource plugin is empty
`
the error remaind me to add resource plugin in YMAL file, resource center build on HDFS, after checking the source code and official doc, pydolphinscheduler support Local, GitHub, GitLab, OSS, S3, but not contain HDFS, so i should create a new resource plugin with HDFS? or do you have some other way can help me to create a workflow which can using resource center file with YAML file

[Looking forward to your reply](javascript:;)

maybe you can try my fixed dolphinscheduler-sdk https://github.com/Treasure-u/dolphinscheduler-sdk-python

hi @Treasure-u @baratamavinash225 @Andy-xu-007 this issue already fix in https://github.com/apache/dolphinscheduler-sdk-python/pull/116 and we will release in version 4.0.4 within 3 days, thanks for your bug reports


[BEAM-13268] Change autosharding big query inserts to happen in parallel for a bundle.

Previously if an input bundle of elements had 5000 elements and batch size was 500, GroupIntoBatches would emit 10 times and the flushes would be performed sequentially.  Since the underlying BQ insertAll now parallelizes rpcs when limits are exceeded, we unbatch and reuse the dofn used for viafinalization.  GroupIntoBatches is still beneficial to only flush once there is enough elements for a batch or timeout.
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @chamikaramj @pabloem

seems like there are failures related to the change: https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/19725/testReport/junit/org.apache.beam.sdk.io.gcp.bigquery/BigQueryIOWriteTest/testStreamingWriteWithAutoSharding_1_/

Fixed the coder inference issue

lgtm thanks!


Add 'apply' button for time

Is it possible to add an 'apply' button that inserts the time values in the timepicker into the input field? For instance if the input is blank and i have a readValue function that starts at the current time. The only want to apply that to the input is to change a value (hours, minutes or seconds) and change it back to the original value for it to get applied to the input field.

Not sure if this is the most elegant solution, but it works.
if (/apply/.test(className)) {
  $('#'+_this.currentInput.id).val(_this.date.hour+':'+_this.date.minute+':'+_this.date.second);
  _this.toggle();
}


serverless issue

I try deploy app to aws serverless
https://cge149bt26.execute-api.eu-central-1.amazonaws.com/production is working
https://cge149bt26.execute-api.eu-central-1.amazonaws.com/donors got error ( {"message":"Forbidden"}  )

@itranga Thanks for this report. How did you set up your project?
Cloning the repo or by using CLI (ng init --collection @ng-toolkit/init myApp)?

I used ng new --collection @ng-toolkit/init myApp

Sorry I used ng new --collection @ng-toolkit/init myApp

I updated your comment. If you are using the @ sign you need to use <pre> or ``` in your comment.
What command did you use to deploy?
npm run build:prod:deploy
or
npm run build:serverless:deploy
?

Thank you so much
npm run build:serverless:deploy  is working

You're welcome.
You should use npm run build:prod:deploy when you use a custom domain.
Take a look at this article (deep overview of @ng-toolkit/serverless):
https://medium.com/@maciejtreder/angular-serverless-a713e86ea07a
And this one, to get know how to setup custom domain in AWS API  Gateway:
https://medium.com/@maciejtreder/custom-domain-in-aws-api-gateway-a2b7feaf9c74

Is there a way to set up multiple stages? I want to be able to deploy my app to a 'qa', 'uat' and 'prod' stage. Also, does this play nice with the serverless-domain-manager plugin that is great for handling custom domain deployments?


[self-referential relations] Attempted to serialize scalar with non-scalar compatible type 'List(Object((Weak)))

Main Error Message
Attempted to serialize scalar with non-scalar compatible type 'List(Object((Weak)))

Schema
model Post {
  id            String    @default(cuid()) @id
  slug          String    @unique
  comments      Comment[] @relation(name: "postComments")
}

model Comment {
  id            String         @default(cuid())
  post          Post?          @relation(name: "postComments")
  parent        Comment?       @relation(name: "commentReplies")
  replies       Comment[]      @relation(name: "commentReplies")
}

Query
query post {
  post(slug: "hyperspektiv-2-0") {
    id
    comments {
      id
      replies {
        id
      }
    }
  }
}

Error
Error:
Invalid `var result_1 = (fieldResolver || graphql_1.defaultFieldResolver)()` invocation in
/Users/lukehamilton/development/lyra-labs-dev/lyra-labs/backend/node_modules/graphql-extensions/lib/index.js:119:77

  115 // If no resolver has been defined for a field, use the default field resolver
  116 // (which matches the behavior of graphql-js when there is no explicit resolve function defined).
  117 // TODO: Find a way to respect custom field resolvers, see https://github.com/graphql/graphql-js/pull/865
  118 try {
→ 119     var result_1 = (fieldResolver || graphql_1.defaultFieldResolver)(source, args, context, info)

Reason: Attempted to serialize scalar 'ck6d3v5uy01625bykrf7jj6oz' with non-scalar compatible type 'List(Object((Weak)))'

    at PrismaClientFetcher.request (/Users/lukehamilton/development/lyra-labs-dev/lyra-labs/backend/node_modules/@prisma/client/index.js:62:23)
    at process._tickCallback (internal/process/next_tick.js:68:7)

 {
  "data": {
    "post": null
  },
  "errors": [
    {
      "message": "\n\u001b[31mInvalid \u001b[1m`var result_1 = (fieldResolver || graphql_1.defaultFieldResolver)()`\u001b[22m invocation in\u001b[39m\n\u001b[31m\u001b[4m/Users/lukehamilton/development/lyra-labs-dev/lyra-labs/backend/node_modules/graphql-extensions/lib/index.js:119:77\u001b[24m\u001b[39m\n\n\u001b[2m  \u001b[90m115 \u001b[39m\u001b[90m// If no resolver has been defined for a field, use the default field resolver\u001b[39m\u001b[22m\n\u001b[2m  \u001b[90m116 \u001b[39m\u001b[90m// (which matches the behavior of graphql-js when there is no explicit resolve function defined).\u001b[39m\u001b[22m\n\u001b[2m  \u001b[90m117 \u001b[39m\u001b[90m// TODO: Find a way to respect custom field resolvers, see https://github.com/graphql/graphql-js/pull/865\u001b[39m\u001b[22m\n\u001b[2m  \u001b[90m118 \u001b[39m\u001b[36mtry\u001b[39m \u001b[38;2;107;139;140m{\u001b[39m\u001b[22m\n\u001b[31m\u001b[1m→\u001b[22m\u001b[39m \u001b[90m119 \u001b[39m    \u001b[36mvar\u001b[39m result_1 = \u001b[38;2;107;139;140m(\u001b[39mfieldResolver || graphql_1\u001b[38;2;107;139;140m.\u001b[39mdefaultFieldResolver\u001b[38;2;107;139;140m)\u001b[39m\u001b[38;2;107;139;140m(\u001b[39msource\u001b[38;2;107;139;140m,\u001b[39m args\u001b[38;2;107;139;140m,\u001b[39m context\u001b[38;2;107;139;140m,\u001b[39m info\u001b[38;2;107;139;140m)\u001b[39m\n\n\u001b[31m\u001b[1mReason: \u001b[22m\u001b[39m\u001b[31mAttempted to serialize scalar 'ck6d3v5uy01625bykrf7jj6oz' with non-scalar compatible type 'List(Object((Weak)))'\u001b[39m\n\u001b[31m\u001b[39m",
      "locations": [
        {
          "line": 6,
          "column": 7
        }
      ],
      "path": [
        "post",
        "comments",
        0,
        "replies"
      ]
    }
  ]
}

Seed
for (let j = minComments; j < maxComments; j += 1) {
  const author = usernames[Math.floor(Math.random() * usernames.length)];
  const parent = await prisma.comment.create({
    data: {
      author: { connect: { username: author } },
      post: { connect: { slug: postSlugs[i] } },
      text: COMMENT_PARENT_TEXT
    }
  });

  for (let k = minReplies; k < maxReplies; k += 1) {
    const replyAuthor = usernames[Math.floor(Math.random() * usernames.length)];
    const reply = await prisma.comment.create({
      data: {
        author: { connect: { username: replyAuthor } },
        text: COMMENT_REPLY_TEXT,
        parent: { connect: { id: parent.id } }
      }
    });
  }
}

Can you please share your complete seed script? It has many missing variables. I wasn't able to reproduce this so far with my attempts. If you can provide a reproduction inside a git repo, that would be much better.

@pantharshit00 I've got the exact same problem. My code regarding prisma is pretty much the same.
What I find strange, is that the foreign-keys are wrong, if I'm not mistaken.

I've created 5 comments. First 3 are root comments without parent and last 2 have a parent.
The blue highlighted row is the parent comment, that both comments below (A, B) have set as parent via:
parent: {
  connect: {
    id: parentId,
  },
},

However, shouldn't the parent attribute of the children A, B be filled with the id from the parent comment, instead of the parent test 3?

Can you please share your complete seed script? It has many missing variables. I wasn't able to reproduce this so far with my attempts. If you can provide a reproduction inside a git repo, that would be much better.

@pantharshit00 Here is a repo: https://github.com/lukehamilton/prisma-self-relations-test

@lukehamilton I am getting a NullContraintVioliation when I try to run your seed script.

Can you please make sure your reproduction works fine?
Also, I suspect this issue is related to https://github.com/prisma/prisma-client-js/issues/413 so this might automatically get fixed one that issue is fixed.
@tre-dev If you can provide a minimal reproduction, that would be great.


Set diskType on disks

Set diskType on disks
R: @dpmills

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Run Portable_Python PreCommit


Interactive dashboard for docstring errors

Relates to #152
Interactive docstring error dashboard, built using viola.

Generates a graph displaying error frequency
Displays an accompanying DataFrame that shows related error indexes and name based on selected errors

@dujm thank you! I did the DataFrame approach, but I need to work on adjusting the dimensions of the DataFrame. I will do that tomorrow. This is what it looks like:

Select the class

Select the error code and then it updates

@datapythonista and @dujm let me know what you think

@sparalic I really like the simplicity and clarity of you code/app. I think what you showed is already very clear. The only thing I would suggest is to replace the pandas data frame with an editable qgrid widget (I tried it in my notebook)
And yes, I agree, functionality should come first. I created a GitHub project, shall we try to use it and list what elements we want to have? What do you think?
The aesthetics could be done at the end, or I could work on that ;)

@dujm I like that layout and tabs you added with the error counts. That sounds great I’ll add the elements you like to the project repo.


maker-deb config.depends has no effect

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.0.4
Electron version
18.3.6
Operating system
Linux x64
Last known working Electron Forge version
No response
Expected behavior
config.depends should work.
Actual behavior
config.depends not working.
Steps to reproduce
forge.config.js:
  makers: [
    {
      name: '@electron-forge/maker-deb',
      config: {
        depends: ['libopencv-dev']
      }
    }
  ]

Additional information
Looks like the problem is here:
https://github.com/electron/forge/blob/main/packages/maker/deb/src/MakerDeb.ts#L42
https://github.com/electron-userland/electron-installer-debian/blob/main/src/installer.js#L173
https://github.com/electron-userland/electron-installer-common/blob/master/src/dependencies.js#L126
Here leaves an empty options object during initialization.
This makes the merge option use empty content.

Any update on this? Thanks

Ok, the problem is in the line 126 electron-installer-common
This is not a valid question, because even if the options are empty object {}, this will evaluate to true.


fix(deps): update terraform elasticstack to latest for deployable modules / architectures

This PR contains the following updates:

Package
Type
Update
Change

elasticstack (source)
required_provider
patch
>= 0.11.5 -> >= 0.11.6

Release Notes

elastic/terraform-provider-elasticstack (elasticstack)
v0.11.6
Compare Source

Improve validation for index settings and mappings (#719)
Add support for Kibana synthetics http and tcp monitors (#699)
Add elasticstack_kibana_spaces data source (#682)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This issue has been resolved in version 2.2.9 :tada:
The release is available on:

GitHub release
v2.2.9

Your semantic-release bot :package::rocket:


fcitx5-chewing: 5.1.3 -> 5.1.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/fcitx5-chewing/versions.
meta.description for fcitx5-chewing is: Chewing wrapper for Fcitx5
meta.homepage for fcitx5-chewing is: https://github.com/fcitx/fcitx5-chewing
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
fcitx result is not automatically checked because some binaries stick around

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

fcitx5-chewing

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x6rc4q1zcsn3j3n4al01qika3728my35-fcitx5-chewing-5.1.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A fcitx5-chewing https://github.com/r-ryantm/nixpkgs/archive/91a18a1bee27d1c483e9fd425ff8f9806e159c83.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/91a18a1bee27d1c483e9fd425ff8f9806e159c83#fcitx5-chewing

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x6rc4q1zcsn3j3n4al01qika3728my35-fcitx5-chewing-5.1.4
ls -la /nix/store/x6rc4q1zcsn3j3n4al01qika3728my35-fcitx5-chewing-5.1.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

fcitx5-chewing

Maintainer pings
cc @xrelkd for testing.

Solved by https://github.com/NixOS/nixpkgs/pull/316403.


Is there a demo or a guide to follow for mistral 7b for tensor parallelism and  then deployment in triton inference server later for 2 A100 GPUs

Mistral and LLaMA shares the same convert, build scripts, so you can almost follow the same instructions as shown for LLaMA 7B.
See more details in https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llama#mistral-v01.
Let me know if you observe any issues.


Put back to repository fails with no error message

My test pass but when the on_success of the job tries to put back to the resource it just fails.  There is not error output.

Here is my resource code
 name: pullrequest
    type: git-bitbucket-pr
    source:
      base_url: https://bitbucket.org
      bitbucket_type: cloud
      dir: pullrequest
      git:
        password: <redacted>
        uri: https://bitbucket.org/corvesta/helloworld.service
        username: cv-devops
      password: <redacted>
      project: corvesta
      repository: helloworld.service
      username: cv-devops

@philicious Can you help me with this? I can't seem to get it to work.

@fewknow
you could either modify the out script to be more verbose and then build/push/use it from your own registry. (remove -s -fail from the curl)
OR
run the out manually after adding some verbosity
cat test/payload| assets/out .
and the payload like
{
  "source": {
    "bitbucket_type": "cloud",
    "base_url": "https://bitbucket.org",
    "project": "foo",
    "repository": "foobar",
    "username": "peter",
    "password": "parker",
    "git": {
      "uri": "git@bitbucket.org:foo/foobar.git"
    }
  },
  "params": {
    "state": "SUCCESSFUL",
    "key": "BLA_3",
    "name": "unit test",
    "url": "http://whatever.com",
    "description": "foobar"
  }
}

however you also need to modify in out
pr=`cat pull-request-info`
commit=`echo ${pr} | jq -r '.commit'`

and hardcode the commit hash of the latest commit in PR as that pull-request-info? file is created by the in step.
it can be a little cumbersome to debug concourse resources, but when reading the bash scripts and playing around a little, you will work it out. I went the same way when adding Bitbucket Cloud support to this resource

Hi Guys, did u resolve this and merged to Master? If not can you please do?

@gmadu123 have not fixed issue yet.   Was going to test out another resource. https://github.com/mmb/concourse-bitbucket-pullrequest-resource
I would recommend trying this one as well.  I will get around to this in the next few weeks.

@fewknow if you are using Bitbucket Cloud, the resource you linked wont work for you as its a fork of a resource that is only working with Bitbucket Server. (This repo here is the only one that works with Bitbucket Cloud afaik. At least I contributed that support myself last year as I found no resource that did work with Cloud but I needed that)

@philicious Thank you for the update.  I was not aware of that and we are using cloud not server.  I will look into debugging the issue above ASAP.

There's a mismatch in out params documentation and actual ones:

key is not mentioned in documentation example
name is derived from key, so the value from params is ignored


Create eims.txt

Maricopa Community Colleges emails adddress @maricopa.edu for https://eims.maricopa.edu

@zastil regrettably, this request cannot be satisfied. Please see #2393 for the details. Also, if the domain name is maricopa.edu, the corresponding file for this repository is lib/domains/edu/maricopa.txt. It does not matter, which URL do student use to access a webmail for this domain. Thank you for your understanding.


Remove Team Chat from included extensions

Target on marketplace: https://marketplace.visualstudio.com/items?itemName=karigari.chat
This plugin breaks the Discord TOS by logging in to a user account via a method other than OAuth, and by including this, a lot of users break TOS, with results:

Discord API and Discord.py (Bot support servers) being spammed by people thinking it's okay to use this extension and asking how to obtain their token which is prohibited
Users being banned from the platform for logging in with an unofficial client (which gets flagged as userbotting which is prohibited)

Thanks for your feedback, @martmists. Looping in @lostintangent.

@martmists FYI it might be a good idea to raise the issue on the repo for the plugin itself also, if not already done.

The reason we include this extension in our extension pack is because it provides integrated chat support directly on top of Live Share (i.e. you don't need to use Slack or Discord at all). Integrated chat was one of our #1 feature requests, and so we've addressed that by means of an integrated with Team Chat, instead of building our own.
Therefore, the Discord support is largely unrelated to Live Share, and isn't something we're necessarily suggesting you use. Would it be sufficient if the Team Chat extension simply updated it's documentation calling out that Discord support is "experimental"?

I feel like instead of saying it's "experimental", it should include some sort of warning:

Warning!
Using the Discord feature from the Team Chat extension may result in termination of your Discord account. Use with caution.

Thanks for the feedback @martmists. I'm the author of the extension and I'll make changes to clarify this to users. The plan is to be able to migrate to Discord RPC when it is out of private beta, so that we can support an OAuth flow.
I'm tracking this change here https://github.com/karigari/vscode-chat/issues/371

The docs and VSIX for Team Chat have been updated with this fix with 0.14.0

@martmists Does the change that @arjun27 made seem sufficient? As I mentioned, from a Live Share perspective, we include the Live Share extension in our pack because it provides “native” Live Share chat support. Not because it provides Discord support.

There are a few issues with this:

The method of obtaining the token is very outdated and will not work anymore, you need to POST to /api/vX/auth/login with email and password since the client has disabled token access.
There is nothing about the risk of accounts being deleted for using unauthorized extensions, which should definitely be included.

I'm going to close this for now since it isn't a Live Share issue. As discussed, we include Team Chat for it's Live Share native chat support, not its Discord support. If needed, it would be great to carry this conversation further on the Team Chat repo.


Updates to RAI text dashboard - update test app values to latest shap release, fix predicted label, limit selection to one row, fix random crash

Description
This PR includes several small updates and bug fixes to the RAI text dashboard after manual testing:
1.) Update the predicted probabilities and local feature importance values to the latest shap package version update in the test app (which also changed the predicted values to be probabilities instead of raw values).
2.) Fix predicted label being incorrectly shown as the lowest instead of highest probability label.

3.) Limit selection of instances to a single instance in text case, unlike tabular case which has comparisons enabled.
4.) Fix random crash due to text and importances length getting out of sync in intermediate render calls when clicking on different rows to view different local importances
Checklist

[x] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1605 (d0c4582) into main (371e669) will decrease coverage by 13.33%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1605       +/-   ##
===========================================
- Coverage   88.91%   75.58%   -13.34%
===========================================
  Files         110       10      -100
  Lines        5415      258     -5157
===========================================
- Hits         4815      195     -4620
+ Misses        600       63      -537

Flag
Coverage Δ

unittests
75.58% <ø> (-13.34%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...i/responsibleai/managers/counterfactual_manager.py

responsibleai/responsibleai/_managers/__init__.py

raiwidgets/raiwidgets/error_analysis_constants.py

raiutils/raiutils/common/__init__.py

...nalysis/erroranalysis/_internal/version_checker.py

erroranalysis/erroranalysis/_internal/utils.py

erroranalysis/erroranalysis/version.py

raiutils/raiutils/common/retries.py

responsibleai/responsibleai/__version__.py

...iwidgets/raiwidgets/model_performance_dashboard.py

... and 90 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


On Dense Reconstruction

Thank you very much for the excellent work.
Would it be possible to use the SFM output from glomap for dense reconstruction with colmap (i.e. patch-match stereo and fusion) with additional steps such as manually configuring the below files?

patch-match.cfg
fusion.cfg

The output of glomap is fully compatible with colmap. Simply run the image undistorter on glomap’s output and then run colmap’s dense reconstruction steps.


Sometimes group sessions get ignored

Sometimes group chat does not get passed to the bot until the bot sends a message first.
It's like it's not in the session or something.

This actually happens with the regular SL client sometimes too :/

I've made a new change in b7e71e11 which may help with this. But I believe this to be an issue with SL itself, since the same behaviour can be witnessed occasionally in Firestorm too.

Looks like this is still happening. My bot was in a group which had nothing posted for over 24 hours, I then sent a message to the group and the bot did not see it or even rejoin the group chat.


allow for multiple blobs per entry

parse by type rather than key and add to a separate structure
rewrite insertBlob() to update records rather than creating them (also sidesteps the update queries and would vastly simplify #1)

implemented in 7fe43c7


Add auto-updating of Babel version

Some GitHub action automation could add auto updating.

Hi @tmc !
Here's a pull request with the current version: https://github.com/jvatic/goja-babel/pull/6 The standalone package has moved into the main babel project, it should be really just increasing the version numbers to update.
Philip

@psilva261 that PR looks great! Do you think you could extend that work (in a separate branch/PR) to consider how auto-updating to track upstream would work?

Thanks! Yes maybe at some point, right now I'm not sure though how time-consuming this is to implement. But actually this could be fun to realize. FWIW I think this really depends on the other issue #5 that you created. I mean there are already unit tests transforming code which seem to cover the main branches of execution but it would be nice to have more confidence in transformation of more complex code. (Also I wouldn't expect babel to always create the same code. So probably it would be necessary to run the resulting code with goja runtime) Would you be up for adding a 1 or 2 tests with more complex examples?

@psilva261 I think modifying the existing test to run the transformed code in goja and assert on the output should be enough to have confidence (will require the test program to have a meaningful output and I'm open to this having a bit of complexity, and adding a jsx tranform would add some confidence the code is being transformed with this change).
I'll try and find some time soon to setup CI, and a GitHub action to automatically bump the version for each babel release.


Goldfish scraper fails because they send us a deck pages without a date, seemingly at random

Error running task ['run.py', 'scraper', 'all']

Reported on CLI by CLI

--------------------------------------------------------------------------------
InvalidDataException
Got Unable to find a date in None because of list index out of range trying to find a created_date in Container({'source': 'MTG Goldfish', 'identifier': '534623', 'url': 'https://www.mtggoldfish.com/deck/534623#online', 'name': 'Empires', 'mtggoldfish_username': 'Andreooo'}),

Empires

Empires

by Andreooo

$

1.61

38.46

Stack Trace:
```Python traceback
  File "run.py", line 125, in <module>
    run()
  File "run.py", line 69, in task
    run_all_tasks(module)
  File "run.py", line 112, in run_all_tasks
    s.scrape() # type: ignore
  File "/home/discord/decksite/decksite/scrapers/mtggoldfish.py", line 36, in scrape
    raise InvalidDataException(msg)

Exception_hash: 95b782c0e7c758c96bd6f08761d560acbfafba5a
Labels: CLI; InvalidDataException

When you actually visit that URL you do see a date in the HTML as we expect. Has happened on numerous different decks about 30 times in the last 11 days.

Probably a symptom of #6109 somehow? Best to fix that first at least.

Post-#6109 this has gone away. Might be because we're no longer being throttled, might be just that we aren't seeing it because we are doing so much less. Either way closing until it reoccurs.


Provide reading/writing of portfolio's in JSON format

Codecov Report

Merging #3 (e2d69e5) into main (8b666ec) will decrease coverage by 6.09%.
The diff coverage is 62.50%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
- Coverage   94.82%   88.73%   -6.10%
==========================================
  Files           4        5       +1
  Lines         174      213      +39
  Branches       24       30       +6
==========================================
+ Hits          165      189      +24
- Misses          5       19      +14
- Partials        4        5       +1

Impacted Files
Coverage Δ

src/lisatools/io.py
40.90% <40.90%> (ø)

src/lisatools/fund.py
88.57% <83.33%> (-3.10%)
:arrow_down:

src/lisatools/__init__.py
100.00% <100.00%> (ø)

src/lisatools/portfolio.py
93.96% <100.00%> (+0.27%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Make cancel from CatFileBatch and CatFileBatchCheck wait for the command to end

Unfortunately, it appears like #16435 still isn't enough. This PR adjusts the cancel functions to make them block till the end of the command in the hopes that this finally allows windows to rename the directory.
Fix #16427 (again!)
Fix #16475
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Codecov Report

Merging #16479 (a7b83ef) into main (0393a57) will increase coverage by 1.20%.
The diff coverage is 48.14%.

@@            Coverage Diff             @@
##             main   #16479      +/-   ##
==========================================
+ Coverage   44.24%   45.44%   +1.20%
==========================================
  Files         695      718      +23
  Lines       82341    84216    +1875
==========================================
+ Hits        36429    38275    +1846
+ Misses      40014    39789     -225
- Partials     5898     6152     +254

Impacted Files
Coverage Δ

cmd/convert.go
0.00% <0.00%> (ø)

cmd/dump.go
0.91% <0.00%> (ø)

cmd/dump_repo.go
0.00% <0.00%> (ø)

cmd/generate.go
0.00% <0.00%> (ø)

cmd/hook.go
0.00% <0.00%> (ø)

cmd/mailer.go
0.00% <0.00%> (ø)

cmd/manager.go
0.00% <0.00%> (ø)

cmd/migrate.go
0.00% <0.00%> (ø)

cmd/migrate_storage.go
0.00% <0.00%> (ø)

cmd/restore_repo.go
0.00% <0.00%> (ø)

... and 317 more

Continue to review full report at Codecov.

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

🚀


Upgrade keptn/distributor to 0.8.4 for properly showing up at the integrations page in Keptn Bridge

In Keptn 0.8.4, the distributor will be extended with the functionality of registering itself as a Keptn uniform integration at the Keptn's Uniform API.
Related Video with short Tutorial (part of community meeting on June 17th): https://youtu.be/oZlf1v5qUvc?t=436
Goal: The integration/service should be visible in Keptn's Bridge Uniform screen:

If you have any questions, please reply to https://github.com/keptn/keptn/issues/4418

To enable this feature, the following changes need to be made:
First, the image of the distributor container of the deployment needs to be set to keptn/distributor:0.8.4:
        - name: distributor
              image: keptn/distributor:0.8.4

Second, locate the env section of the distributor container:
        - name: distributor
          image: keptn/distributor:0.8.4
          resources: ...
          env:
            ...

and add the following environment variables:
            - name: VERSION
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: 'metadata.labels[''app.kubernetes.io/version'']'
            - name: K8S_DEPLOYMENT_NAME
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: 'metadata.labels[''app.kubernetes.io/name'']'
            - name: K8S_POD_NAME
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: metadata.name
            - name: K8S_NAMESPACE
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: metadata.namespace
            - name: K8S_NODE_NAME
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: spec.nodeName

Last but not least, ensure that the labels app.kubernetes.io/version and app.kubernetes.name are available under spec.template.metadata.labels in the K8s deployment:
        app.kubernetes.io/name: dynatrace-service
        app.kubernetes.io/version: 0.14.1

You can find a complete example of deployment.yaml (or service.yaml) here: https://github.com/keptn-contrib/unleash-service/blob/release-0.3.2/deploy/service.yaml

Updated with this PR https://github.com/keptn-sandbox/litmus-service/pull/54


<EMAIL_ADDRESS>extract_dir error

 scoop update go
go: 1.10.2 -> 1.12.4
Updating one outdated app:
Updating 'go' (1.10.2 -> 1.12.4)
Downloading new version
go1.12.4.windows-amd64.zip (134.7 MB) [=============================================================================================================] 100%
Checking hash of go1.12.4.windows-amd64.zip ... ok.
Uninstalling 'go' (1.10.2)
Running uninstaller script...
Removing ~\go\bin from your path.
Removing shim for 'go'.
Removing shim for 'gofmt'.
Removing shim for 'godoc'.
Unlinking ~\scoop\apps\go\current
Installing 'go' (1.12.4) [64bit]
Loading go1.12.4.windows-amd64.zip from cache
Extracting go1.12.4.windows-amd64.zip ... Expand-Archive : A parameter cannot be found that matches parameter name 'DestinationPath'.
At C:\Users\dneeley\scoop\apps\scoop\current\lib\decompress.ps1:182 char:36
+         Expand-Archive -Path $Path -DestinationPath $DestinationPath  ...
+                                    ~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Expand-Archive], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Pscx.Commands.IO.Compression.ExpandArchiveCommand

ERROR Could not find 'go'! (error 16)

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/scoopinstaller/scoop-main/issues/new?title=go%401.12.4%3a+extract_dir+error
True

get-command Expand-Archive

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Cmdlet          Expand-Archive                                     <IP_ADDRESS>    Pscx

Same as https://github.com/scoopinstaller/scoop-main/issues/20, uninstall pscx will help.

Maybe we should make scoop to be compatible with PSCX.

I agree. I'm running into the same issue with CMake. I use PSCX for Import-VisualStudioVars. I imagine a lot of people use it for the same reason.


etcdserver: not print password in the warning message of expensive request

Fix https://github.com/coreos/etcd/issues/9635
Replace https://github.com/coreos/etcd/pull/9636
ETCDCTL_API=3 ./bin/etcdctl put foo bar
ETCDCTL_API=3 ./bin/etcdctl role add root
ETCDCTL_API=3 ./bin/etcdctl role grant-permission root readwrite foo
ETCDCTL_API=3 ./bin/etcdctl role get root
ETCDCTL_API=3 ./bin/etcdctl --interactive=false user add root:123

{"level":"warn","ts":1525111903.8282323,"caller":"etcdserver/util.go:116","msg":"request took too long","took":0.000198305,"expected-duration":0.1,"prefix":"","request":"header:<ID:7587829900858626564 > put:<key:\"foo\" value:\"bar\" > "}
{"level":"info","ts":1525111943.2119756,"caller":"auth/store.go:788","msg":"created a role","role-name":"root"}
{"level":"warn","ts":1525111943.212163,"caller":"etcdserver/util.go:116","msg":"request took too long","took":0.000222896,"expected-duration":0.1,"prefix":"","request":"header:<ID:7587829900858626565 > auth_role_add:<name:\"root\" > "}
{"level":"info","ts":1525111943.2332838,"caller":"auth/store.go:851","msg":"granted/updated a permission to a user","user-name":"root","permission-name":"READWRITE"}
{"level":"warn","ts":1525111943.2333753,"caller":"etcdserver/util.go:116","msg":"request took too long","took":0.000084734,"expected-duration":0.1,"prefix":"","request":"header:<ID:7587829900858626566 > auth_role_grant_permission:<name:\"root\" perm:<permType:READWRITE key:\"foo\" > > "}
{"level":"warn","ts":1525111943.2436109,"caller":"etcdserver/util.go:116","msg":"request took too long","took":0.000016087,"expected-duration":0.1,"prefix":"","request":"header:<ID:7587829900858626567 > auth_role_get:<role:\"root\" > "}
{"level":"info","ts":1525111943.31909,"caller":"auth/store.go:407","msg":"added a user","user-name":"root"}
{"level":"warn","ts":1525111943.3191411,"caller":"etcdserver/util.go:116","msg":"request took too long","took":0.058392292,"expected-duration":0.1,"prefix":"","request":"header:<ID:7587829900858626568 > auth_user_add:<name:root>"}

@mitake


Missing block timestamp in the block details

I don't know whether it was intentional or it was missed to add the timestamp of the block in the block metadata.
I was trying to access the event data and the timestamp at which events get emitted but it seems impossible to get
Block Data -
SignedBlock {
  'block' => Block {
  'header' => Header {
  'parentHash' => [Hash],
  'number' => [Compact],
  'stateRoot' => [Hash],
  'extrinsicsRoot' => [Hash],
  'digest' => [Digest],
  _jsonMap: Map {},
  _Types: [Object] },
  'extrinsics' => Extrinsics [
  [Extrinsic],
  [Extrinsic],
  [Extrinsic],
  _Type: [Function: Extrinsic] ],
  _jsonMap: Map {},
  _Types: { header: 'Header', extrinsics: 'Extrinsics' } },
  'justification' => Justification [  ],
  _jsonMap: Map {},
  _Types: { block: 'Block', justification: 'Justification' } }

Event data -
EventData [
  Bytes [ 83, 65, 84, 89 ],
  AccountId [
    142,
    175,
    4,
    21,
    22,
    135,
    115,
    99,
    38,
    201,
    254,
    161,
    126,
    37,
    252,
    82,
    135,
    97,
    54,
    147,
    201,
    18,
    144,
    156,
    178,
    38,
    170,
    71,
    148,
    242,
    106,
    72 ],
  AccountId [
    212,
    53,
    147,
    199,
    21,
    253,
    211,
    28,
    97,
    20,
    26,
    189,
    4,
    169,
    159,
    214,
    130,
    44,
    133,
    88,
    133,
    76,
    205,
    227,
    154,
    86,
    132,
    231,
    165,
    109,
    162,
    125 ],
  <BN: 2710>,
  _Types: [ [Function: Bytes],
    [Function: AccountId],
    [Function: AccountId],
    [Function: Balance] ],
  _meta: EventMetadata {
    'name' => [String: 'Approval'],
    'args' => _class [ [Type], [Type], [Type], [Type], _Type: [Function: Type] ],
    'documentation' => _class [ _Type: [Function: Text] ],
    _jsonMap: Map {},
    _Types: { name: 'Text', args: '_class', documentation: '_class' } },
  _method: 'Approval',
  _section: 'asset',
  _typeDef: [ { info: 3, name: undefined, type: 'Bytes' },
    { info: 3, name: undefined, type: 'AccountId' },
    { info: 3, name: undefined, type: 'AccountId' },
    { info: 3, name: undefined, type: 'Balance' } ] ]

In both data sets there is no way to get the timestamp

Which timestamp do you need? The one that is used in the block while building it?

@bkchr Yes, I think so because every event in the block will take the same timestamp.

As the timestamp is stored in the block, you should be able to extract it.
I assume you want to get this data in Javascript?
Cc @jacogr if it is js.

Substrate does not have the concept of "a block timestamp".
However, in each block an inherent is added (assuming it is pure substrate) which does the timestamp setting. So to extract, you would need to look at the extrinsics in the block, e.g https://polkascan.io/pre/alexander/system/block/1651859
So to extract -

retrieve block
get first extrinsic (set timestamp)
look at the data of it

@bkchr Yes, I want to access from the js. Thanks @jacogr to make me understand the process. Out of curiosity, I want to ask one more thing what does the second extrinsic do it also shows some data. By seeing its data I can guess that it gives the previous block number. Could you please shed some light on this as well.
{
        signature: {
          version: 1,
          signer: F7Hs,
          signature: 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
          nonce: 0,
          era: 0x00
        },
        method: {
          callIndex: 0x1400,
          args: {
            hint: 1426
          }
        }
      },

This is probably the aura slot number you are seeing.

For some reason, we never exposed the human-readable module & method names on the actual Method. (Easy enough to find, however from a convenience pov, was missing - addressed in https://github.com/polkadot-js/api/pull/975)
So on polkadot, it always adds parachains.setHeads (as intrinsic #2) - can see that in the polkadot.js.org/apps explorer (or on polkascan). Substrate only adds the first by default.

Thanks, @jacogr & @bkchr for giving me insight. Closing the issue


Misuse of AsyncTask

According to our research, there are misuses about the following AsyncTask classes:

de.tap.easy_xkcd.fragments.NestedPreferenceFragment.deleteComicsTask
de.tap.easy_xkcd.fragments.NestedPreferenceFragment.deleteArticlesTask

The problems is:
The instance of these AsyncTask classes are annoymous object. For instance, new deleteArticlesTask().execute()). These objects can not be cancelled before the Activity is destroyed, which can lead to the wrong invocation of onPostExecute() if the Activity has been destroyed.
I think we can make following change to fix the misuse problem:
Add AsyncTask field in NestedPreferenceFragment for these AsyncTask object and invoke cancel() in the onDestroy() method if the AsyncTask field is not null.
These are my suggestions above, thank you.

Sounds right, feel free to make a pull request :)

8.0 does not use async task anymore


Upgrade k8s-sidecar

Point the k8s-sidecar image back to the original repo and bump the version.
Signed-off-by: Vlad Duta<EMAIL_ADDRESS>What this PR does / why we need it:
The base repository now contains xuxinkun's patch:
https://github.com/xuxinkun/k8s-sidecar/commit/c3612666023b468bfc2752e3c88ca60cf258bb50
https://github.com/kiwigrid/k8s-sidecar/commit/c3612666023b468bfc2752e3c88ca60cf258bb50
It also includes a recent fix to a common issue that causes grafana to keep restarting:
Original issue report: https://github.com/helm/charts/issues/9136
Sidecar fix: https://github.com/kiwigrid/k8s-sidecar/pull/14
Which issue this PR fixes

fixes https://github.com/helm/charts/issues/9136

Special notes for your reviewer:
@zanhsieh @rtluckie @maorfr @xuxinkun
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

lgtm

/assign
/ok-to-test
@vduta you can also check this out:
https://github.com/helm/charts/blob/master/stable/jenkins/values.yaml#L188
Thanks!

@maorfr Unfortunately, that one is not safe to upgrade:

This branch is 7 commits ahead, 9 commits behind kiwigrid:master.

It also includes some jenkins specific commits:
https://github.com/holmesb/k8s-sidecar/commits/master
https://github.com/kiwigrid/k8s-sidecar/commits/master

/lgtm


Jira and Feature Widget Improvements

Contains a number of jira and feature collector / widget changes rolled up into a single PR from @pxk5958
Changes:

Jira collector now supports gathering team data. In the past Jira projects were being placed into 'scope' and 'ScopeOwner' (in collector_items). Now if the tempo team field is configured in the collector the team data is placed in 'ScopeOwner'.
Feature widget can filter based on project name, team name, or both. To grab all items for a given field / team the 'Any' option can be selected in the drop down.
Feature widget can be configured to list Epics (previously called 'features') or Issues (stories, defects, spikes, etc).
Added hyperlinks to epics / issues in progress
Added hyperlink to sprint in progress
Issues that have been completed now have a strikethrough on the UI
Issues are sorted by modified date. Epics are still sorted by points. We feel that when listing stories a user will be more interested in recent activity.
Feature widget modified to display open / in progress / done estimate metrics instead of total / in progress / done as this seems to be more intuitive.
Added the ability to collect data on multiple issues types in the Jira collector
Improved documentation / configuration of jira collector - renamed 'feature.jiraIssueTypeId' to 'feature.jiraIssueTypeNames'

Note: the feature collection will have to be wiped / reset in order to take advantage of urls and teams
The jira collector items that correspond to scopeowners will have to be wiped as they currently store project information
@tabladrum @amitmawkin we need to know how to construct urls to versionone assets in order to have hyperlinks be available for the version one feature.

I recommend someone doing a quick sanity test with versionone with this branch to verify these changes did not break it. They shouldn't as they are view changes that work off the underlying data model but we don't have any way here to verify that.

@MarkRx versionone testing looks good so far. Testing more. One thing is would be nice to have: (1) Filter in selectable Teams based on project selected and (2) Filter in selectable project based on Team selected.
Question: Do you see a project tree path based on org hierarchy in JIRA? Something like this: Company->Line of Business -> Product -> Team etc?

LGTM

LGTM

What's the team means in Jira ?

2016-12-11 11:30:00,714 ERROR c.c.d.client.DefaultJiraClient - IOException
java.io.FileNotFoundException: http://jira.bjz.apac.ime.reuters.com/rest/tempo-teams/1/team
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[na:1.8.0_91]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[na:1.8.0_91]
at java.net.URLConnection.getContent(Unknown Source) ~[na:1.8.0_91]
at com.capitalone.dashboard.client.DefaultJiraClient.getTeams(DefaultJiraClient.java:192) ~[jira-feature-collector.jar!/:2.0.4-SNAPSHOT]
at com.capitalone.dashboard.client.team.TeamDataClientImpl.updateTeamInformation(TeamDataClientImpl.java:61) [jira-feature-collector.jar!/:2.0.4-S
NAPSHOT]
at com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:107) [jira-feature-collector.jar!/:2.0.4-SNAPSHOT]
at com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:28) [jira-feature-collector.jar!/:2.0.4-SNAPSHOT]
at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) [core-2.0.4-SNAPSHOT.jar!/:2.0.4-SNAPSHOT]
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-4.1.7.RELEA
SE.jar!/:4.1.7.RELEASE]
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) [spring-context-4.1.7.RELEASE.jar!/:4.1.7.RELE
ASE]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_91]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.8.0_91]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_91]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_91]
2016-12-11 11:30:08,607 DEBUG c.c.d.client.team.TeamDataClientImpl - Size of paged Jira response: 1792
2016-12-11 11:30:19,322 INFO  c.c.d.collector.CollectorTask - Team Data            1792       19s
2016-12-11 11:30:19,325 DEBUG c.c.d.c.p.ProjectDataClientImpl - Constructing data collection for the feature widget, project-level data...
2016-12-11 11:30:26,318 DEBUG c.c.d.c.p.ProjectDataClientImpl - Size of paged Jira response: 1792
2016-12-11 11:30:28,222 INFO  c.c.d.collector.CollectorTask - Project Data         1792        8s
2016-12-11 11:30:28,227 DEBUG c.c.d.c.story.StoryDataClientImpl - Constructing data collection for the feature widget, story-level data...

@xpdable Your teams need to be configured using Tempo-team plugin in JIRA. Also, please read collectors/feature/jira/README.md :
#############################################################################
# In Jira, your instance will have its own custom field created for "team"
# This field allows you to specify that data field for your instance
# of Jira.  Note:  You can retrieve your instance's team ID field name via the following URI where your
# queried user story issue has team set on it; your custom field name describes the
# team value you expect to see:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
#############################################################################
feature.jiraTeamFieldName=customfield_10703

@pxk5958 Hi, we do not use this plugin. Could I somehow disable your feature on this Team plugin in collector?

@tabladrum the project to team relationship is many to many and is not hierarchical. Teams may have work from multiple projects. Projects may have work from multiple teams.

Not getting drop down option for project name and team name under Feature widget. I can see the projects but not getting anything under Team and as there is no drop down its not letting me save the widget. Error "select a valid team name".
How can I tackle this ?

@Gurugit1  - did you try giving your team name (or any team name)  in input field, it should start suggesting the values. If not check in your Mongo if team collection is populated.

@nireeshT - I could see data in feature collection but team collection is empty.
I'm using the following properties.
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.jiraIssueTypeNames=Story
feature.jiraSprintDataFieldName=customfield_10000
feature.jiraEpicIdFieldName=customfield_10002
feature.jiraStoryPointsFieldName=customfield_10003
feature.jiraTeamFieldName=
Do I need any other property ?


How did you get the http server working from JupyterLab?

We ran into issues around previewing Jupyter Books for the Turing Way / Jupyter Book jupytercon tutorial (https://github.com/martinagvilas/jupytercon_tutorial/issues/14) I wonder if this pattern could be used there as well for Binder?

(on that note, I wonder if we should offer to the turing way to run infrastructure for their workshop, if they aren't able to get things working on Binder...it's just a one-day workshop)

Yes. We should do that!

I figured it out with this PR: https://github.com/martinagvilas/jupytercon_tutorial/pull/39


Mock of async/await method doesn't work ?

When I try to mock a class with an async/await method, it will trow TypeError: canRegisterSpecification.isSatisfiedBy is not a function
class CanRegisterSpecification implements ISpecification {
    public isSatisfiedBy = async (email: string): Promise<boolean> => {/*...*/}
}

const canRegisterSpecification = mock(CanRegisterSpecification);
when(canRegisterSpecification.isSatisfiedBy(email)).thenResolve(false);

Bear in mind that isSatisfiedBy is not a method of the class, is a property that holds a function, therefore the value is bull (not function :)) then, I'll suggest to either change the signature from property to a class method or maybe mock the getter like this:
when(canRegisterSpecification.isSatisfiedBy).thenReturn(() => new Promise.resolve(false))

@lordrip Thank you for your answer. I didn't understand correctly. isSatisfiedBy is not interpreted as a method but as a property? How to transform it as a class method ?

class CanRegisterSpecification implements ISpecification {
    // This is a property, notice the equal sign for assignment
    public isSatisfiedBy = async (email: string): Promise<boolean> => {/*...*/}

    // We can omit public keyword since is the default, and also add async since we're returning a promise
    async isSatisfyMethod(email: string): Promise<boolean> {
         /*...*/
    }
}


Authenticate with Managed Service Identity(MSI) does not run as written

Attempted copy and paste of MSI sample, and receive the following error message:
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='ip address', port=80): Max retries exceeded with url: /metadata/identity/oauth2/token?api-version=2018-02-01&resource=https%3A%2F%2Fmanagement.core.windows.net%2F (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f18a6d81f90>: Failed to establish a new connection: [Errno 101] Network is unreachable',))

@sptramer -- can you investigate?

In order to sign in with an MSI, your Azure resource needs to be configured to use it. See How to configure MSI and How to sign in with MSI.
Investigating some other potential issues with this sample but configuring the resource for MSI resolved the HTTP connection problem.

@GeekTrainer It looks like this issue is because your VM resource might not be configured for MSI, and that MSI may not have an assigned role or scope. The best way to handle this is to use the CLI to create the MSI and assign scope at once:
az vm identity assign \
  -g DefaultRG \
  -n TestVM \
  --role Contributor \
  --scope /subscriptions/your-sub-here/resourceGroups/your-rg-here


Close/Minimize/Maximize buttons are out of place on macOS Big Sur

Im on electron 14.0.0 but facing issue with Close/Minimize/Maximize buttons out of the place on macOS Big Sur
Refers to same fixes done here:
https://github.com/AlexTorresSk/custom-electron-titlebar/pull/114

@kylefoo Thanks for the PR! This is, unfortunately not mergeable because of the changes in the package.json. I'd be happy to pull, if those changes were reverted/removed.
Thanks! Andreas

sry, meant to use another branch instead. https://github.com/Treverix/custom-electron-titlebar/pull/20
closing this.


Always remove viewBox Attribute?

Hello,
great tool!
I am having an issue in removing viewBox attribute in my svg file.
Looks like my viewBox doesn't have the same values as  width and hight attributes.
This is because they are defined like this:

Parameter
Value

left
0

top
0

right
width * 72

bottom
height * 72

By looking at the plugin code I see it is expecting the same values in those tags as in viewBox.
https://github.com/svg/svgo/blob/master/plugins/removeViewBox.js#L40
if (
    nums[0] === '0' &&
    nums[1] === '0' &&
    item.attr('width').value.replace(/px$/, '') === nums[2] && // could use parseFloat too
    item.attr('height').value.replace(/px$/, '') === nums[3]
) {
    item.removeAttr('viewBox');
}

Is there any specifics on why is neccecerly to have absolutely the same values there or this check can be removed from plugin?

SVGO is an optimisation tool in the first place. Removing viewBox when its values equal to width/height is an optimisation. In other case it may change/break behaviour.


Clarify fps in PerformanceOverlay

Hitting 60fps in the PerformanceOverlay doesn't necessarily mean that your app will be 60fps. In fact, the PerformanceOverlay can show 60fps when a trace shows that the app is nowhere close to that.
The PerformanceOverly should make it clear what the 60fps mean that it shows.
This came up while looking at https://github.com/flutter/flutter/issues/12138.

What does it actually mean? Now I'm curious...

It's the maximum possible throughput for that thread.

For example, if you tick a clock every sixty seconds, and do nothing else, and your frame takes 10ms, then you're capable of doing 60fps, and we show 60fps (although technically you're only getting one frame per minute). But if your frame takes 30ms, then we'd say you reached 33fps, because that's your theoretical max throughput (although technically you're still only getting one frame per minute).


Compatibility with Kibana5

Are there any plans to make this compatible with Kibana 5? I get this error when trying to render the visualization:
TypeError: handlerTypes[chartType] is not a function

well, I had a try months ago but failed: https://github.com/chenryn/kbn_sankey_vis/issues/6

done by https://github.com/chenryn/kbn_sankey_vis/commit/f3c2ba419069026aad8332920f3159dada3a42af