Notebook storage UI - File explorer

Related to the Notebook epic https://github.com/deephaven/deephaven-core/issues/8
One example is https://github.com/perry-mitchell/webdav-client

https://github.com/perry-mitchell/webdav-client looks like it will be sufficient. Note there does not seem to be support for SEARCH, but that also isn't supported in the webdav modules I've looked at, it was added as an extension: https://datatracker.ietf.org/doc/html/rfc5323
So we'd need to build that SEARCH spec on both the server and the client side.
Using this library though we should be able to build a file explorer that just takes the webdav endpoint as it's URL, and then we can do the following:

Read directory contents

c.getDirectoryContents('/foo')

Read file contents

c.getFileContents('/foo/bar.txt', { format: 'text' });

Rename files

c.copyFile('/foo/bar.txt', '/foo/baz.txt')

Copy files

c.copyFile('/foo/bar.txt', '/foo/baz.txt')

Put file contents

c.putFileContents('/foo/bar2.txt', 'testingg....' ,{ format: 'text' });

Delete files

c.deleteFile('/foo/bar.txt')

Drag and drop multiple files?

File Explorer should match the specs: https://docs.google.com/document/d/1-opw7dd0taZkdT-EPFpCiWUrnb6GXsif-SFN9V_KprU/edit#heading=h.wsbtcyhvlnju
Test notes:

[ ] Create new file using "Create File" button from File Explorer, saving
[ ] Create new file using "Send to Notebook" button from Command History, saving
[ ] File is not created in either of the above two cases if not saved
[ ] Opens as preview on first click - click one file, it should load with the
[ ] Rename file inline (via right-click in file explorer). Should update any open files.
[ ] Rename file via right click menu on an open files tab. Should update in File Explorer
[ ] Create directory using "Create Directory" button from File Explorer
[ ] Click directory to expand, click again to collapse
[ ] Delete file using context menu
[ ] Delete directory using context menu


add debug log for matched pipeline

Codecov Report
Base: 78.85% // Head: 78.83% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (9f410b6) compared to base (e8da8b0).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #771      +/-   ##
==========================================
- Coverage   78.85%   78.83%   -0.03%
==========================================
  Files         101      101
  Lines       11166    11168       +2
==========================================
- Hits         8805     8804       -1
- Misses       1857     1859       +2
- Partials      504      505       +1

Impacted Files
Coverage Δ

pkg/object/httpserver/mux.go
87.64% <100.00%> (+0.05%)
:arrow_up:

pkg/filters/proxy/pool.go
76.00% <0.00%> (-0.71%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


BUG: Client MUST restart their game in order to reconnect to a dedicated server.

Clients can connect to a dedicated server, but if they disconnect, they have to restart their game in order to reconnect to the server.
Removing Krypton Reforged fixes the issue.
Krypton reforged is on both the client and server.
I'm running the server on the same pc I'm playing on.
Forge 36.2.35
MC: 1.16.5

yeah same here after i disconnect and came back i need 10-20 trys to connect to the server again...restarting the whole game fixed it

Same issue here.

This mod doesn't do as much as it says, it's a junky port that gives no clear improvement. I deleted the mod and everyone playing my modpack was happier for it.

Holy... I just spend a whole week, 8 hours daily trying to figure out why I could only connect once per client session.. (one of my players doesn't have this issue, so id be interested to find out why that is... hardware, IP? Same ISP so 🤷♂ )
Flushed DNS, reset models, did port forwarding, tried hosting a server on another computer in the same network.
Installing other "performance / tweak / fix" mods, uninstalling all content mods one by one and starting a server up trying to connect until eventually I got to this.
Please, for the love of god, ether remove the mod from CF or maintain / fix it, please <3

The guy's making money off this shitty mod he won't remove it lol

Any log pls?

same problem client restart game before again connected in server.


16-drag-outside

https://strml.github.io/react-grid-layout/examples/16-drag-outside.html the example is not present.

Can it also be commited to master, please.
Thank you for the help.

@Marius8881 now you can find the example here https://strml.github.io/react-grid-layout/examples/15-drag-from-outside.html. (But this feature is still unpublished)


React Native 0.71.4 Release Build Crash FATAL EXCEPTION: create_react_context

Description
Issue:
We upgraded to react native version 0.71.4 from 0.70.6
All works good in debug mode for android but if we take apk or aab or build varient changed to release mode app got crashed
Expected Behaviour:
It should work debug and release mode
React Native Version
0.71.4
Output of npx react-native info
System:
OS: macOS 13.5.1
CPU: (8) x64 Apple M2
Memory: 9.66 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.17.1 - /usr/local/bin/node
Yarn: Not Found
npm: 9.6.7 - /usr/local/bin/npm
Watchman: 0.0.0 - /opt/local/bin/watchman
Managers:
CocoaPods: 1.12.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10671973
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
Languages:
Java: javac 21 - /usr/bin/javac
npmPackages:
@react-native-community/cli: 9.2.1 => 9.2.1
react: 18.2.0 => 18.2.0
react-native: 0.71.4 => 0.71.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Step 1:
Upgrade the react native version from 0.70.6 to 0.71.4
Step 2:
Change your android build varient to release
Step 3:
It will crash when launching on device
Snack, screenshot, or link to a repository

Please provide the crash report with the stacktrace

FATAL EXCEPTION: create_react_context
java.lang.RuntimeException: Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
FATAL EXCEPTION: create_react_context
Process: com.testreleasebuild, PID: 8291
java.lang.RuntimeException: Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:248)
at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:29)
at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:277)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1422)
at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:138)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1111)
at java.lang.Thread.run(Thread.java:923)

⚠	Newer Version of React Native is Available!
ℹ	You are on a supported minor version, but it looks like there's a newer patch available - 0.71.13. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

Still the issue eixst even updated to <IP_ADDRESS>
pid-26940                            E  FATAL EXCEPTION: create_react_context
Process: com.ts.ecsite.app.fieldnotesdev, PID: 26940
java.lang.RuntimeException: Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:239)
at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:29)
at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:268)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1402)
at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:135)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1109)
at java.lang.Thread.run(Thread.java:1012)

Can you share your android/app/build.gradle file?

@cortinico I have upgraded my react native version which is working fine on debug mode but crashes on release mode
here is what logcat says

trying for so many days to resolve this can you or someone please suggest what i need to do
here is my build.gradle file

I have the same issue. It seems like bundle app acts like a debug release ?
It doesn't make sense

@mubashiralisiddiqui Sorry, but did you find some solution? I have the same problem after upgrading from 0.68.5 to 0.72.9. I used react-native cli to init a new project from 0.72.9 template, and after I just copied all js-files and all dependencies and Android modules

I fiexd it by creating a new cli and move my code into it after that it resolved

@mubashiralisiddiqui
I solved it already when I found the following code in MainApplication.java file and removed it:
        @Override
        protected @Nullable
        String getBundleAssetName() {
            return "app.bundle";
        }

Previously I used some Jitsi library inside my project, and I forgot to delete this code after switching to different Jitsi library in my project, so I had the problem with crashing.
So I think the main reason of this bug is some code added before that breaks Android logic to render activities

@mubashiralisiddiqui I solved it already when I found the following code in MainApplication.java file and removed it:
        @Override
        protected @Nullable
        String getBundleAssetName() {
            return "app.bundle";
        }

Previously I used some Jitsi library inside my project, and I forgot to delete this code after switching to different Jitsi library in my project, so I had the problem with crashing.
So I think the main reason of this bug is some code added before that breaks Android logic to render activities

Yes I am using jitsi library could be the reason thanks


Update will cause the container to rely on a profile's root disk device but none was found.

Hello,
I have a container that was working good for some months and now I can not start it, I gess, after I do a system upgrade in the host

Distribution: Ubuntu Linux 16.04.1
Distribution version: Linux foobar 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
The output of "lxc info":

root@foobar:~# lxc info
config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFwDCCA6igAwIBAgIRAOACm2/ImvBHm2AopADlQlkwDQYJKoZIhvcNAQELBQAw
    OTEcMBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEZMBcGA1UEAwwQcm9vdEB2
    aXNjYXRhLVBPUzAeFw0xNjEyMjIwMDUxNTVaFw0yNjEyMjAwMDUxNTVaMDkxHDAa
    BgNVBAoTE2xpbnV4Y29udGFpbmVycy5vcmcxGTAXBgNVBAMMEHJvb3RAdmlzY2F0
    YS1QT1MwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCslCkUMFtL4GfF
    7jrKjvzDcNDd43LxHoFzIhAnVzsTOiNl/5TjoHxrT38gorbX+yEipycP6nV+k4Iz
    AZeNIs95BsjG0Jvr7XG7EIYn0/bZBgR3MEztSBKfGex/yHmVEAd7edZDg9rZKkc/
    NXWyr3zg6Yo3KMMUs4BV5cGnInziUs81TnT3edcyO4itn0psA/Xnbnna6SZKxC5g
    RabOZoHgg1aR0bVpGBXjeuec5w/YLebL04BIEdMoJZARFmJcU0cHrcUmDK1nb8F6
    a1W5/5w1eubqGIqVPAKENEG28f/tA+cVP7FBA80WlIiDkGkdSyW9SlG+c3Z4BkUY
    W/kOkxd/wOMkYvniqMQikr7na0L8pPoA5HbXh9xsVGma4wa7sFF61DLhZFIACij6
    MU+B0EOCRhbmOKZOITgm0V7FnUcWwZwrpp5JtiKcljZ3UlAJn/F6kaBtyssXSbdr
    0L4VAzUTpfFs8ndA42vF5B6ZEn1PQrcSZb1uRsbGfqfnFHR/cgy+Szg/bawScZAg
    TWgfA4tRzqVlrdvBbcWmQCicau9CheFbFRHkF7t+xMqS9frqe/mH9tarX+Ogo2pY
    1XjZCs2mi/2b0xL04B/Wt7Q2X5o6ic6sUTFHc2TPtiah2D2KU+xUKFxFvTMfSETW
    05WdRNZCc1OEDO6QIvgD8S9d3gpXTQIDAQABo4HCMIG/MA4GA1UdDwEB/wQEAwIF
    oDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMIGJBgNVHREEgYEw
    f4ILdmlzY2F0YS1QT1OHBMCoATKHEP17RCwZqQAAjKVI4MjiWX2HEP17RCwZqQAA
    AiIt//4pHqyHEP13FM5SDQAAjKVI4MjiWX2HEP13FM5SDQAAAiIt//4pHqyHECAC
    vFEEMwAAjKVI4MjiWX2HECACvFEEMwAAAiIt//4pHqwwDQYJKoZIhvcNAQELBQAD
    ggIBAA0rUHa2FNV+OaIkLWG0kMiqltBBivlsX8x4V09gtBNmxgPRSk5O49oFAijv
    K1luXwt1SRV+c5whEn3XzphddcHbUFeWEvhn8HKNBcvT/J2t7HXHkiDaRIUOst97
    rLYAUUFpcbgB4Kr2GZVEN2zM1BJSvbjzWod8qfd1FH+QzjLWjPlTtWdC78nqeEiw
    qAURYbug87wc9xOGYiMCiXt15jsyHxSkzazJXQ5YTp8Eue8zQksGqaxhRTOVkoqm
    P2K87YoI+6HsRjmr6LzWpCbZXTGp+f+TGJqN8cnoNIH1h4JQWSHL1eF87UKld14p
    +ZNZQ0Fsk6oabnygS6aYOszHDJYCLaIe7ga6INnu9KyP3YHwuMmGV+SlUwliUk9j
    Wc3F4z+k3Oqo5WNhHN8M3JnXsklSGS1x5oNhkQe/A+jMsmpdqc4rNOOb29N0XrNR
    w7qHmY0e16W1rBGWcKlqXH5Z/4jtRHYt+AU7WCY3cQe3jYdgCuEUdHWElZ2WuRXr
    sFs3mB6lv2d0Q/w7u6LY8BzM945PRgQj5HTDuwJ1oXEijuHNl1I7NUhsq0bOJzql
    xqhXvbzr1o8AJLdOAxZoUAc7bIpjdfTDq8xagzwFskKNInVp1Vg5eGZyjlKu+Qgh
    fVxO8eby/4ROIYe9Xu2r14sLqehJeE8s+nMpWKygx0yAmS3L
    -----END CERTIFICATE-----
  certificate_fingerprint: 244d120ad15b24bf603d935943bea8776b0baa53f9f1a487bf629f3c09fd3d65
  driver: lxc
  driver_version: 2.0.7
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.4.0-72-generic
  server: lxd
  server_pid: 2792
  server_version: "2.12"
  storage: dir
  storage_version: "1"`

Issue description
Hello
I have a container that does not start
root@foobar:~# lxc start freepbx
erro: Update will cause the container to rely on a profile's root disk device but none was found.
Try `lxc info --show-log freepbx` for more info

When I try to get the log, no useful information apears

root@foobar:~# lxc info --show-log freepbx
Nome: freepbx
Remote: unix:/var/lib/lxd/unix.socket
Arquitetura: x86_64
Criado: 2016/12/22 01:39 UTC
Estado: Stopped
Tipo: persistente
Perfis: default
Snapshots:
  Inicio_com_freepbx_chan_dongle (taken at 2016/12/22 21:47 UTC) (stateless)
  freepbx_aparentemente_a_100 (taken at 2016/12/23 02:00 UTC) (stateless)

Registo:

I check other users with similar problems and have heard off
root@foobar:~# lxc storage list
+---------+--------+------------------------------------+---------+
|  NOME   | DRIVER |               SOURCE               | USED BY |
+---------+--------+------------------------------------+---------+
| default | dir    | /var/lib/lxd/storage-pools/default | 6       |
+---------+--------+------------------------------------+---------+

root@foobar:~# lxc profile show default
config: {}
description: Default LXD profile
devices:
  eth0:
    nictype: bridged
    parent: br0
    type: nic
  root:
    path: /
    pool: default
    type: disk
name: default
used_by:
- /1.0/containers/freepbx
- /1.0/containers/freepbx/Inicio_com_freepbx_chan_dongle
- /1.0/containers/freepbx/freepbx_aparentemente_a_100

when I do
root@foobar:~# lxc profile device add freepbx root disk path=/ pool=default
erro: not found

What am I doing wrong?
Thanks and regards
A brief description of what failed or what could be improved.
Steps to reproduce

Just try to Start Container

So do you want to add a root disk device to the container? If so then you should use the command:
lxc config device add ....

Did you perform an upgrade from an earlier LXD version? And if so, has the container been created after or prior to the upgrade?

Hello,
My container was working good for some months. I think it stops working when I did a system upgrade in the host and probably lxd was upgraded.

What is Wrong here ?
root@foobar:~# lxc config edit freepbx
  GNU nano 2.5.3                                          Ficheiro: /tmp/lxd_editor_028803766

### Este é um exemplo da configuração do yaml
### Cada linha é iniciada com um '# será ignorada
### Um exemplo de configuração é semelhante a:
### nome: container1
### perfis:
### - padrão
### config:
### volatile.eth0.hwaddr: 00:16:3e:e9:f8:7f
### dispositivos:
### homedir:
### path: /extra
### source: /home/user
### tipo: disco
### ephemeral: false
### Note-se que o nome é mostrado mas não pode ser alterado

architecture: x86_64
config:
  image.architecture: amd64
  image.description: ubuntu 14.04 LTS amd64 (release) (20161213)
  image.label: release
  image.os: ubuntu
  image.release: trusty
  image.serial: "20161213"
  image.version: "14.04"
  volatile.base_image: 8573fa6fed57ecadbb6f76f6b424533e4a8c5a562e29cee28ba47b6923aa4f88
  volatile.eth0.hwaddr: 00:16:3e:24:83:b2
  volatile.eth0.name: eth0
  volatile.idmap.base: "0"
  volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":165536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":165536,"Nsid":0,"Maprange":65536}]'
  volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":165536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":165536,"Nsid":0,"Maprange":65536}]'
devices:
  root:
    path: /
    type: disk
  ttyUSB0:
    path: /dev/ttyUSB0
    type: unix-char
  ttyUSB1:
    path: /dev/ttyUSB1
    type: unix-char
  ttyUSB2:
    path: /dev/ttyUSB2
    type: unix-char
ephemeral: false
profiles:
- default

Config parsing error: Update will cause the container to rely on a profile's root disk device but none was found.

Oh, I get it the container has a root disk device without a pool property set. You can fix this by doing:
lxc config device set freepbx root pool default

Ok brauner,
Thank you very much. That solved the problem.
Sorry, but I am just a beginner working with LXD.
Thanks and regards

@mochoandre, np. Totally fine. We're here to help. :) We just need to figure out how it came about that your container ended up with a root disk device without a pool property set after the upgrade. So I'm keeping this issue open for now.

I really don't know. My gess is that it was during a simple apt system upgrade in ubuntu because i don't remind to do any operation to the container or LXD enviorment when it stops working.
regards

Thanks.
I'm going to assume that it happened back when we were very actively fixing storage issues and that you somehow got far enough into the storage upgrade to have the migration step marked as done but not have all DB records straight.
So short of getting other reports with a detailed upgrade history that we can look into, I don't expect us to be able to improve things much.
If anyone finds this Github issue after encountering a similar problem, please comment and we'll re-open it!

Can confirm: after update i had the exact same problem after upgrading lxd.

I just created a container using 2.0.9-0ubuntu1~16.04.2 (version of lxd in xenial-updates) and upgraded to 2.13-0ubuntu3~ubuntu16.04.1 and hit this exact same problem. Seems the upgrade path is broken and given that both of these versions are "stable" I think we need to fix this.

@brauner can you look into @dosaboy's report? I've not seen that behavior when upgrading my own servers from 2.0.x to 2.10 but something might have regressed later.
@dosaboy anything special with that deployment?

Yeah, can do but won't be before Friday because of travel.

@dosaboy, can you please provide the following info:

did you install 2.0.9 fresh and create a single container and then upgraded to 2.13 or was the 2.0.9 instance in use for longer time and had other containers and images?
what exactly is your setup, especially:

storage backend in use by the 2.0.9 instance
any special setup? e.g. symlinks for the /var/lib/lxd folder to somewhere?

Also, can you show the output of:
lxc storage show <pool-name>
lxc profile show default
lxc config show <container-with-missing-pool-property>

?


Add client income attribute

Implement client to have income as an attribute when adding and editing a client info.
When adding a client, income attribute is required, prefix used to add income attribute is i/.
Did manual testing

 Additional changes made:

Update existing test codes to include income attribute to Person, tested and passed*
Update all JavaDoc and comments containing address book to financial book

*Existing data in /data/addressbook.json must be deleted and run the app again for the new sample data, as the old data is not recognized due to the new required formatting of the income prefix i/.

You can click on details of Java CI / build (ubuntu-latest) to see what checks went wrong.

Thanks! @leecaregene

Looks good to merge, however in my opinion it would be better to change financial book in the comments to FinBook instead to reduce confusion.

Looks good to merge, however in my opinion it would be better to change financial book in the comments to FinBook instead to reduce confusion.

Good point! I have made the necessary changes

LGTM!


feat: enhance Frax project description and algorithm explanation

Thanks for your contribution, add yanyanho666 to join our developer group.   Note the PR serial number when applying


Support for gzipped dashboards

In version 4 we got support for gziped dashboards.
This makes it possible to have dashboards that is bigger then 1Mb which is the ETCD max.

This have been implemented, thanks @tamcore


Add lighthouse-check-action to workflow.

Scheduled workflows using cron seems broken but it's all god on PUSH. Might take a look later...

Welp. That's done. Works on push and cron (only on master).


[Feature Request] Add Avalon Nano 3 Miner Support

The new Avalon Nano 3 is running AvalonMiner software (Firmware Version24071801_42c628d). It is sometimes detected as "AvalonMiner (Stock)" and pyasic works. Other times, it is detected as "Unknown (VNish)" and get_data fails.

Other times, it is detected as "Unknown (VNish)" and get_data fails.

This should be fixed with 0.59.7.

It is sometimes detected as "AvalonMiner (Stock)" and pyasic works

I would like to add actual support for it, so if you're up for it, could you run this script?
To use this, make a new text file, paste this data in, and change the "server" variable at the top to match the IP of your miner.  Once that's done, change the file extension of the file to .ps1 (if you cant see this, its in file explore top menu, view, then a checkbox that says file name extensions, then you can rename the file).  Right click, select "Run with powershell", then send the result in a text file here.
$server = "<IP_ADDRESS>"
$port = 4028
$commands = @("devs", "stats", "devdetails", "version")

try {
    foreach ($cmd in $commands) {
        $client = New-Object System.Net.Sockets.TcpClient
        $client.Connect($server, $port)

        $stream = $client.GetStream()

        $command = '{"command": "' + $cmd + '"}'
        $writer = [System.Text.Encoding]::UTF8.GetBytes($command)

        $stream.Write($writer, 0, $writer.Length)
        $stream.Flush()

        # Read response
        $reader = New-Object System.IO.StreamReader($stream)
        $response = $reader.ReadToEnd()
        $reader.Close()

        # Display the response
        Write-Host "Response for command '$cmd':"
        Write-Host "-------------------------------------------------------------------------------------"
        Write-Host $response
        Write-Host ""

        # Clear the stream for the next command
        $stream.Flush()
        # Close the connection
        $client.Close()
    }

    # Wait for a key press
    Read-Host "Press Enter to exit..."
}
catch {
    Write-Host "An error occurred: $_"
    Read-Host "Press Enter to exit..."
}

I don't have any windows boxes (but can borrow a laptop if the below doesn't help).
Here is the output of "socat":
phanley@tele ~ % echo -n "version" | socat -t 30 stdio tcp:<IP_ADDRESS>:4028,shut-none && echo
STATUS=S,When=1725213740,Code=22,Msg=CGMiner versions,Description=cgminer 4.11.1|VERSION,CGMiner=4.11.1,API=3.7,PROD=Avalonnano,MODEL=nano3,HWTYPE=PMMv1_X1,SWTYPE=MM318_X2,VERSION=24071801_42c628d,HVERSION=24071801_b906c52_6223725,UPAPI=2|
phanley@tele ~ % echo -n "devdetails" | socat -t 30 stdio tcp:<IP_ADDRESS>:4028,shut-none && echo
STATUS=S,When=1725213762,Code=69,Msg=Device Details,Description=cgminer 4.11.1|DEVDETAILS=0,Name=AVANANO,ID=0,Driver=avalonnano,Kernel=,Model=,Device Path=|
phanley@tele ~ % echo -n "stats" | socat -t 30 stdio tcp:<IP_ADDRESS>:4028,shut-none && echo
STATUS=S,When=1725213774,Code=70,Msg=CGMiner stats,Description=cgminer 4.11.1|STATS=0,ID=AVANANO0,Elapsed=334151,Calls=0,Wait=0.000000,Max=0.000000,Min=99999999.000000,MM ID0=HashStatus[1] Ver[nano3-24071801_42c628d] HVer[24071801_b906c52_6223725]  DNA[0000000000000000]  HDNA[020100009358c17d]  PFCnt[2] NETFAIL[1724892531<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER> 0 0 0 0] Elapsed[334167] LW[8342299] MH[289] DHW[0] HW[289] DH[1.735%] Temp[71] OTemp[45] TMax[92] TAvg[90] TarT[90] Fan1[4830] FanR[60%] Vo[0] PS[0 0 0 4 2755 123 340] GHSspd[4125.40] DHspd[1.735%] GHSmm[4196.48] GHSavg[3974.32] WU[55520.58] Freq[0.00] Led[1] MGHS[3974.32] MTmax[92] MTavg[90] TA[10] Core[A3198S] PING[290] SoftOFF[0] ECHU[0] ECMM[0] PLL0[0 306 752 712] SF0[100 568 588 608] PVT_T0[ 89  91  92  91  87  86  91  91  92  87] PVT_V0[330 325 326 322 326 325 326 324 324 325] MW0[7689 7585 7494 7724 7609 7578 7659 7394 7325 7436] CRC[0] ATA0[60-80-318-100:293:313:333] ATA1[90-85-322-100:459:479:499] ATA2[125-90-344-100:568:588:608] WORKLEVEL[2] MPO[125] ADJ[1],MM Count=1,Nonce Mask=1|STATS=1,ID=POOL0,Elapsed=334151,Calls=0,Wait=0.000000,Max=0.000000,Min=99999999.000000,Pool Calls=0,Pool Attempts=0,Pool Wait=0.000000,Pool Max=0.000000,Pool Min=99999999.000000,Pool Av=0.000000,Work Had Roll Time=false,Work Can Roll=false,Work Had Expire=false,Work Roll Time=0,Work Diff=16384.00000000,Min Diff=16384.00000000,Max Diff=16384.00000000,Min Diff Count=544,Max Diff Count=544,Times Sent=18965,Bytes Sent=3686291,Times Recv=29230,Bytes Recv=24320077,Net Bytes Sent=3686291,Net Bytes Recv=24320077|
phanley@tele ~ % echo -n "devs" | socat -t 30 stdio tcp:<IP_ADDRESS>:4028,shut-none && echo
STATUS=S,When=1725213784,Code=9,Msg=1 ASC(s),Description=cgminer 4.11.1|ASC=0,Name=AVANANO,ID=0,Enabled=Y,Status=Alive,Temperature=0.00,MHS av=3963345.31,MHS 5s=8306339.27,MHS 1m=6859427.21,MHS 5m=5142265.64,MHS 15m=4579396.40,Accepted=18889,Rejected=58,Hardware Errors=289,Utility=3.39,Last Share Pool=0,Last Share Time=1725213760,Total MH=1324058287104.0000,Diff1 Work=309231616,Difficulty Accepted=309477376.00000000,Difficulty Rejected=950272.00000000,Last Share Difficulty=16384.00000000,Last Valid Work=1725213781,Device Hardware%=0.0001,Device Rejected%=0.3073,Device Elapsed=334076|
phanley@tele ~ %

Ah perfect.  I usually expect people to just have windows devices at this point, nice to see you actually understood what that did haha.  Ill take a look later today, I think this is standard return stuff for the avalons though, so just need to create the device type and set chip count and model and it should be good.

Done in 0.60.0.


Enable standard Windows alt key menu functionality

[X] I agree to follow the [Code of Conduct]
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
When working in the Windows app, there is no easy way to get to the top menus with the keyboard. Most Windows programs get you there when you click the Alt key. See attached images from Microsoft Word, and Notepad++.
Describe the solution you'd like
It would be nice if clicking the Alt key took you to the menu. Once there, you could use the arrow keys to move left and right to other menus, and up and down within a menu.
Describe alternatives you've considered
I don't know of an alternative, other than using the mouse.
Additional context
Add any other context or screenshots about the feature request here.

Thank you!

This might make sense on the desktop app, but not in the online version.


Backup Report email not displaying images

The email reports are not embedding the images correctly.
As an example:

Should be:

I have tested my changes by testing by changing directly in the Logic Ap and subsequently cloned and branched the repository to update the files.
Commit: https://github.com/microsoft/Application-Insights-Workbooks/commit/91f2a21a90da2c4a6c04f9533485b9185da475d2
I should be able to test using https://portal.azure.com/?feature.workbookGalleryBranch=sangling-BackupReportEmailImages
Workbooks are being redirected correctly:

However, as it can't be deployed from Workbooks, I get the following error when deploying from the Recover Services Vault:

Thanks,

if you're building from a custom branch, there are some restrictions on the names of files/folders inside that have to match up exactly so it can find the right files in github.  the custom gallery instructions are more accurate/functional.

Thanks for reaching out - Looking into this. @tmalhotra2428 for visibility

if you're building from a custom branch, there are some restrictions on the names of files/folders inside that have to match up exactly so it can find the right files in github. the custom gallery instructions are more accurate/functional.

I was wondering if I am unable to test is related to the fact that this specific workbook doesn't appear under 'Workbooks' in Azure and is only accessible from within 'Recovery Services Vault'.


promql: Propagate Inspect() errors to the user

...instead of logging them.
Signed-off-by: Julius Volz<EMAIL_ADDRESS>

:+1:

Note that the tests here are failing because they and the API v1 still expect something around an ErrStorage error type, but we never actually ever create errors of that sort anywhere (also not sure how they are currently propagated in the test). That seems broken, will have a look...

(DON'T MERGE)

Aha! The ErrStorage error type was only ever used by Cortex (see https://github.com/weaveworks/cortex/search?q=errstorage&unscoped_q=errstorage). The existing test ensures that it is still propagated correctly. So I will have to preserve that... fix incoming.

Ok, so it turns out that the storage errors were already propagated correctly through an err variable in the outer function which the Inspect() calls close over... this works, but I wonder if it wouldn't be better to not do that kind of convoluted thing and do it by returning the error from Walk() instead.

Yeah, doing it explicitly is a lot clearer.

This seems still relevant. @juliusv could you rebase the PR?

Closing, as it doesn't seem that errors can happen in this path anymore.


Unverified Breakpoint in VSCode. DebugService: Error serving requestsError: FormatException: Unsupported URI form.

What happened?
I'm learning to use Flame and I have a little project setted up. Thing is I want to use the debbuger but I can't in my desktop PC but in the laptop I actually can. I thought was my desktop so I reinstalled VSCode and even formatted the PC but the error persists.
I have 2 breakpoints:

main.dart, line 5
pixel_adventure.dart, line 5

The execution code stops in breakpoint 1, as expected, but it doesn't stop in breakpoint 2. When I do click "Step into" when I'm on breakpoint 1, the debug console prints the next error: DebugService: Error serving requestsError: FormatException: Unsupported URI form: C:/Users/daniJ/AppData/Local/Pub/Cache/hosted/pub.dev/flame-1.17.0/lib/src/components/sprite_animation_group_component.dart
The breakpoint 2 is marked as "Unverified endpoint" everytime, as if the execution code wouldn't be able to reach it. I narrow this code to show the problem but in my project, apart from the breakpoint bug, everything works as expected.
Weird thing is that I do one of the following things, bugs dissapear:

remove import 'package:pixel_adventure/components/player.dart' from pixel_adventure.dart (and thus remove the use of this class, obviously)
remove import 'package:pixel_adventure/pixel_adventure.dart' from components/player.dart
remove mixin KeyboardHandler from Player class

I also raised this bug in the Flutter repo as I'm not sure if the problem is from Flutter or Flame
https://github.com/flutter/flutter/issues/146795
What do you expect?
I expect the stop execution stops on breakpoints 1 and 2 when running the project in debug mode
How can we reproduce this?
No response
What steps should take to fix this?
No response
Do have an example of where the bug occurs?

Example
Lib folder in project structure (only 3 files):

lib (folder)
main.dart
pixel_adventure.dart
components (folder)

player.dart

main.dart
import 'package:flutter/material.dart';
import 'package:pixel_adventure/pixel_adventure.dart';

void main() async {
  final game = PixelAdventure();

  runApp(
    Container(),
  );
}

pixel_adventure.dart
import 'package:pixel_adventure/components/player.dart';

class PixelAdventure {
  PixelAdventure() {
    final player = Player();
  }
}

player.dart
import 'package:flame/components.dart';
import 'package:flutter/services.dart';
import 'package:pixel_adventure/pixel_adventure.dart';

class Player extends SpriteAnimationGroupComponent with KeyboardHandler {
  @override
  bool onKeyEvent(RawKeyEvent event, Set<LogicalKeyboardKey> keysPressed) {
    return super.onKeyEvent(event, keysPressed);
  }
}

Relevant log output
Here is the error shown in the debug console when click "Step into" (debugging options) while the code is stopped in breakpoint 1

DebugService: Error serving requestsError: FormatException: Unsupported URI form: C:/Users/daniJ/AppData/Local/Pub/Cache/hosted/pub.dev/flame-1.17.0/lib/src/components/sprite_animation_group_component.dart

Execute in a terminal and put output into the code block below
[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.22631.2861], locale es-CO)
• Flutter version 3.19.5 on channel stable at C:\Users\daniJ\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 300451adae (3 weeks ago), 2024-03-27 21:54:07 -0500
• Engine revision e76c956498
• Dart version 3.3.3
• DevTools version 2.31.1
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\daniJ\AppData\Local\Android\sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2023.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
[√] VS Code (version 1.88.1)
• VS Code at C:\Users\daniJ\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.86.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.2861]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 123.0.6312.123
• Edge (web)        • edge    • web-javascript • Microsoft Edge 123.0.2420.97
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Affected platforms
Web
Other information
No response
Are you interested in working on a PR for this?

[ ] I want to work on this

Thank you for the catch of the onKeyEvent function error. I repeatedly have to change between Flutter versions and I pasted the example code while working with SDK 3.16.9 and the flutter doctor -v while working with 3.19.5. That doesn't really matter as I having the error in both Flutter versions.
As you, I also think the error is not in Flame code... not even sure if it is on Flutter framework itself, because breakpoints are working as expected in my laptop... not sure how to solve the error tho, because I even formatted my desktop PC!

If it is an issue with your local development environment, having this issue open on Flame isn't of much use.

I would recommend joining our discord (or the Flutter discord) and asking there.

It also appeared in my environment, win10, flame is 1.17.0

[✓] Flutter (Channel stable, 3.19.6, on Microsoft Windows [版本 10.0.19044.4291], locale zh-CN)     • Flutter version 3.19.6 on channel stable at D:\flutter     • Upstream repository https://github.com/flutter/flutter.git     • Framework revision 54e66469a9 (3 weeks ago), 2024-04-17 13:08:03 -0700     • Engine revision c4cd48e186     • Dart version 3.3.4     • DevTools version 2.31.1     • Pub download mirror https://pub.flutter-io.cn     • Flutter download mirror https://storage.flutter-io.cn
DebugService: Error serving requestsError: FormatException: Unsupported URI form: C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flame-1.17.0/lib/src/components/sprite_component.dart

Just linking this one: https://github.com/flutter/flutter/issues/146795


Stack Corruption Fix

Issues #1 and #2 should be resolved by changing extern(C) to extern(Windows) as suggested by @the-tallest-tower in issue #1.

Thank you very much @Huntsman-Studios

Unless I'm missing something, this doesn't appear to be versioned to Windows only, which means it's going to break elsewhere. The correct approach is to use extern(System). This is equivalent to extern(Windows) on Windows and extern(C) everywhere else.

Looking at https://dlang.org/spec/attribute.html#linkage it seems like either extern(System) or extern(Windows) will work. Both are stdcall on Windows and cdecl elsewhere. extern(System) is probably clearer from a readability standpoint, but if the docs are to be believed it won't matter.
That being said, that page says that extern(Windows) is only stdcall on Win32. What about Win64? I have no idea what fmod uses on win64 (do they even ship 64-bit DLLs?). I can check when I'm back on my home machine.

Both are stdcall on Windows and cdecl elsewhere.

If this was true, then ODBC bindings wouldn't work on unix: they use windows calling convention.

@mdparker any input on this? I dont have a windows machine anymore to test this ;(

It's non-Windows systems where it needs to be tested :-) On my 64-bit VirtualBox Lubuntu, I don't see a difference with simple tests in terms of behavior and the disassembly looks the same.
I know that Walter added extern(System) years ago explicitly because this was not possible:
version(Windows) extern(Windows):
else extern(C):

So if this line of the documentation is true:
The Windows convention is distinct from the C convention only on Win32 platforms, where it is equivalent to the stdcall convention.
Then that means that extern(Windows) now indeed has the same behavior as extern(System). And color me surprised. I'll make a post in the forums to clarify.

@mdparker ok then it seems to work for me on osx too. forum post would be interesting indeed

It's not an issue with the 64-bit ABI, but it is with 32-bit. Pay a visit to asm.dlang.org and add -m32 to the command line flags. That's a Posix system it's running on, and you can see that extern(System) and extern(C) generate the same mangling and assembly for a given function. Make the same function extern(Windows) and you'll see the stdcall name mangling and slightly different assembly (an explicit ret instruction).
So, yes, extern(System) is still the proper thing to do.

@mdparker ¯_(ツ)_/¯ Just submit a pull request then, I don't think anyone's opposed to using extern(System).


Multiple Issues linked to TopoJSON Maps

Hello, I'd like to point out a few issues with the TopoJSON maps:

In the documentation, when you want to navigate on a map, it disappears, leaving only the points visible.
The feature allowing you to add a TopoJSON Overlay to a map does not work (tested on Vue). It also doesn't work in the documentation.

@GauthierNelkinsky Thank for reporting this!  We'll take a look


Fix sass build on Windows

On a Windows development environment, the SCSS to CSS build was not functional, putting the CSS files next to their SCSS counterparts, instead of moving them to the appropriate static directory. I believe the cause of this was a faulty gulp script (which actually perplexes me how it worked correctly on any platform?). Perhaps this was related to a gulp/vinyl/path handling behavior change in some combination of gulp + node?
Additional context in slack thread and another slack thread.
Changes:

Refactor gulp scss renaming pipeline, following the example of other working pipelines.
Drop path separator rewriting during gulp build in favor of using actual system paths.
Ignore .venv directory (I thought this was common... maybe it's just me!)

Confirmed the npm build fully works on Windows 10 (Using Node 16.10.0). Help testing this on clean git clones (not containing any pre-built files) on Mac, Linux, and other Windowses would be much appreciated!

@vsalvino I have not tested this yet, but just a heads up we are actually on Node 14 (see .nvmrc), it should not make too much difference (as no new packages were added).
Do you mind testing a build locally on Node 14 also and checking it works, (e.g. nvm use and then npm ci to clear packages & reinstall) then npm run build/ npm run watch (to test the dev watcher also).

I have tested this out on macOS (new clone) and builds fine, but would be good to get another validation from a Windows user.

Tested successfully on Windows 10. Following the existing install steps at https://docs.wagtail.io/en/stable/contributing/developing.html resulted in .css files being placed in static_src - retrying with this branch, all is working as intended 👍

Merged and release note added in f8e7a049c0f2dcbbeecc32344fa7c20d7f2c63a3 - thanks @vsalvino!


Fix threading

Coverage increased (+0.06%) to 82.013% when pulling aadadd2ccc30ac2a103172bc72b151c27937b2e3 on fix-threading into 10315a7106e3d37f963da488ce5678c135674661 on master.

Coverage increased (+0.06%) to 82.013% when pulling bc096d91bb8793ed66879411d39c5b47b8c1eedf on fix-threading into 10315a7106e3d37f963da488ce5678c135674661 on master.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Fixing the NOMINMAX C4003 bug

As discussed in the FAQ and in this issue, trying to use std::min or std::max while including <windows.h> throws a C4003 error (with permissive- enabled.) There is a very simple work around: surround the std::min and std::max function names with parenthesis.
int a = 0;
int b = 1;
a = (std::min)(a, b);

The bug is related to the "most vexing parse" problem. Forcing the function name to be evaluated with parenthesis removes the min and max names from consideration as a macro replacement.
I looked through the single-header implementation of EnTT and there are only a handful of places where std::min and std::max are used. It would be trivial to add the appropriate changes in less than 5 minutes.

How is it related to the most vexing parse exactly? Afaik it's due to macro definition for min/max pulled in by the Windows' headers.
What you're suggesting is to make the compiler recognize that we want to decay a name to a pointer to function. It works for many reasons but literally no major compiler suggests to do this. It's intrusive and changes somewhat the semantic of the whole thing.
Why should I do this if a solution exists already? I don't see the point to be honest.

I misspoke, no it's not MVP-related. Further research shows the use of parenthesis around a function name is designed to prevent macro expansion and is perfectly legal to due so:
https://stackoverflow.com/a/13600837/421178
https://www.geeksforgeeks.org/g-fact-36-function-declaration-with-extra-brackets-in-c/
It works because it is a requirement of the language itself (a holdover from C) regardless of what the compiler suggests to do:
https://softwareengineering.stackexchange.com/a/159848/15252
It does not, however, decay to a pointer.

PR merged on experimental. Soon on master. Thanks for contributing.


README.md: Build Status Badge Codeship => Jenkins

rebased on master, if tests pass I'm going to merge. @msaxena2 is that ok?

@msaxena2 actually, it looks like you're trying for an image in the repository, but as far as I can tell, it's just showing up as a link (switch to build_badge branch in the Github repo and see what it looks like). Is that intended?

@ehildenb No, it should show up as an actual "passing/failing" badge. If the reason is the self signed certificate, then I can try using one of the solutions mentioned on slack to get the badge displayed.

test this please

Sorry, the http just redirects to https so that's not going to work


Adjust shelter volume to remove hardcoded index and leverage NamedDimsArray

Removed hardcoded position indexers to make the metric more generic with regard to the number of coral groups/size classes represented.
This PR also takes the opportunity to remove dependence on DataFrames (which are quite slow and heavy to use for this) and instead uses NamedDimsArray as much as possible.

I'm not sure if the test just needs to be altered or it's due to an error in the relative shelter volume function

Hmmm, let me double check (soon). Tests ran fine last night so not sure what the issue might be.
Just in case, could you let me know package versions for NamedDims/AxisKeys?
(ADRIA) pkg> status NamedDims AxisKeys
Project ADRIA v0.4.5
Status `C:\projects\AIMS\ADRIA.jl\Project.toml`
  [94b1ba4f] AxisKeys v0.2.12
  [356022a1] NamedDims v1.2.1

Weird, just checked package versions and they're the same as the ones above.

That's good - I just wanted to rule that out as an issue.

I stashed some changes to switch between branches and forgot about them.
Tests all pass now.

Hold off on this Rose, I think I spotted a bug in the math

Fixed a mismatch between coral taxa and their associated parameters.
To the slide Ken showed in his recent email.

It's a bit hard to see, but the legend seems to give "86" as the maximum shelter volume per ha. This is the mean value over 2000-2020 (SSP2 - RCP4.5).
If we assume a single site hits this value, and does so for all six taxa (86 * 6 = 516) then ADRIA seems to overestimate by 2 to 3 times.
Below I'm showing results for the first site, first scenario.

@Rosejoycrocker could be the values we used for the shelter volume model (assumed values based on the Urbina-Barretto paper) are inappropriate. Do you have time to have a look?

Hey @ConnectedSystems , I'll have a look this afternoon :)

@Rosejoycrocker  Looking over the paper over lunch - should we be using:
exp(b + a * log(PA)) to convert the values back to cubic decimeter?
@KRNA01 We use the default value of 2827.43 cm^2 for all coral types and perturbe these +/- 10% (2544.69, 3110.18) over a triangular distribution
Judging by the x-axis scale, are we severely under-representing the range of possible colony sizes?

Hey @ConnectedSystems, is that figure from Urbina-Barreto 2021? I can't seem to find it...

Sorry, ignore- I found it. I forgot there are 2 2021 papers

Sorry, ignore- I found it. I forgot there are 2 2021 papers

Great. Also note that the relevant references are listed in the docstrings

Hey @ConnectedSystems, I think we do the transformation here : https://github.com/open-AIMS/ADRIA.jl/blob/347b3fc420f688dcee3efd9d43c6d2e8e793d2bc/src/metrics/metrics.jl#L438
But I'm not sure if it should be exp... I imagine the paper is using log_{10} because it's not using ln() to denote log but hard to tell

Just checking- the screenshot above is in m^3/ha ?

Yes, see screenshot of output underneath it - I've converted values to match

Hi @ConnectedSystems and @Rosejoycrocker,
Thanks for double-checking

Fixed a mismatch between coral taxa and their associated parameters.
To the slide Ken showed in his recent email:

It's a bit hard to see, but the legend seems to give "86" as the maximum shelter volume per ha. This is the mean value over 2000-2020 (SSP2 - RCP4.5).
If we assume a single site hits this value and does so for all six taxa (86 * 6 = 516) - a highly optimistic scenario - then ADRIA seems to overestimate by 3 to 4 times under a non-intervention context.
Below I'm showing results for the first site (Briggs_BR_C_1), first scenario.
@Rosejoycrocker could be the values we used for the shelter volume model (assumed values based on the Urbina-Barretto paper) are inappropriate. Do you have time to have a look?

Note that these figures are produced using ReefMod outputs.

@ConnectedSystems and @Rosejoycrocker.
Great that you are double checking the math.  I was unsure about the log natural versus log 10 scale.
I even emailed Urbina-Barreto to get confirmation on what scale was used, but never got a reply.
From memory, I passed the challenge to Ryan.
@Rosejoycrocker, if Ryan has firmed up this decision, can you think of a test we can do to establish which scale is the right one?
Also agree that the size ranges used in the study very much under-represent our ranges.
This, the scaling issue, and uncertainty around whether vertical relief (space under corals) were captured as part of the study makes me think we really need ecoRRAP to help redo this for at least the six groups in ReefMod.

Does using exp() look reasonable to you Rose?
a = 1.50
b = -8.32
colony_area = 3085.1855

b + a * log(colony_area)
# 3.731550596287125

10^(b + a * log(colony_area))
# 5389.526309135325

exp(b + a * log(colony_area))
# 41.7437

Are we missing a conversion here?
https://github.com/open-AIMS/ADRIA.jl/blob/347b3fc420f688dcee3efd9d43c6d2e8e793d2bc/src/metrics/metrics.jl#L443
We convert from dm^3 to m^3 by multiplying by 10^-3 but the RHS unit label is m^3/m^2, while colony_litres_per_cm2 is in per cm^2 units, so shouldn't be also divide by 10^-4 to convert to per m^2. Have I missed something? (not that this will effect the final size much)

The value with exp definitely seems more reasonable, I'll see if I can check it against the plot scale

I just realised, log() in julia is the natural log, so which ever it is we have it wrong in the code because we are doing the inverse of $log_{10}$ on the natural log

Are we missing a conversion here?

That's converting dm^3 to m^3.
dm^3 is equivalent to Litres/cm^2 in this context (because dm^3 = 1 litre and the model expects the planar area to be given in cm^2).
Converting to m^3 means multiplying by 0.001 and doing so gets us the unit per m^2.
That's how I understand it at least.

@Rosejoycrocker, one way to test this is to produce estimates of SV (in litres or m3) per m2 for the largest corymbose Acropora (and maybe also a large Tabular Acropora) using both the natLog scale and the 10log scale.  Assume 100% coral cover.
I can then quickly gauge which volume is the right one (produced by which scale) by going back to first principles (i.e. knowing corals like the inside of my pocket).

@Rosejoycrocker.
Good pick-up. Same in MatLab.

@KRNA01 the values used in the example above are for Tabular Acropora (largest size class).
Not sure what you think, but these look wrong to me:
b + a * log10(colony_area)
# -3.0860780776546584

10^(b + a * log10(colony_area))
# 0.0008202040744216785

Are we missing a conversion here?

That's converting dm^3 to m^3.
dm^3 is equivalent to Litres/cm^2 in this context (because dm^3 = 1 litre and the model expects the planar area to be given in cm^2).
Converting to m^3 means multiplying by 0.001 and doing so gets us the unit per m^2.
That's how I understand it at least.

Are we missing a conversion here?

That's converting dm^3 to m^3.
dm^3 is equivalent to Litres/cm^2 in this context (because dm^3 = 1 litre and the model expects the planar area to be given in cm^2).
Converting to m^3 means multiplying by 0.001 and doing so gets us the unit per m^2.
That's how I understand it at least.

Right, do you mean 'the model expects planar area to be in cm^2' as in the x value in the interpolation is planar area?

Right, do you mean 'the model expects planar area to be in cm^2' as in the x value in the interpolation is planar area?

I'm probably misunderstanding but aren't we saying the same thing?
By "the model" I'm referring to the model in Urbina-Barreto et al.

@ConnectedSystems and @Rosejoycrocker
I managed to find the code for the Urbina-Barreto paper, including the R script.
Here's the link: https://zenodo.org/record/4309245

Okay, so ln(x) to output ln(y)
So to transform back to cubic decimeter, we take apply exp()?

Yeah sounds good, looks like they use natural log

Good work, team !

Absolute SV look much more reasonable now
Showing per ha values below:

@ConnectedSystems, @Rosejoycrocker
Great, are these in units of m3 per ha?

Great, are these in units of m3 per ha?

Indeed

@Rosejoycrocker ready for (final?) review

Yep, I can review

Nope, though speaking of tests I should add one to ensure values are in expected ranges. Best to do this after the improved example dataset is ready though I think, so please go ahead and merge.

Ok, cool, sounds good

@KRNA01 for completeness, could you respond with your approval as well?

@ConnectedSystems , @Rosejoycrocker
Great, thank you both for completing this.


Network Hypervisor IPv6 address persistency

This commit adds hypervisor IPv6 address persistency after BMC reboot.
so that redfish hypervisor network events will suppressed after BMC reboot
Tested By:
Connect HMC with configured VMI network  and reboot BMC while phyp is running
check redfish hypervisor events on HMC Side there is no vmi network events seen

Fixes stop ship defect https://jazz07.rchland.ibm.com:13443/jazz/web/projects/CSSD#action=com.ibm.team.workitem.viewWorkItem&id=580554


Update circleci configuration for collections

Towards https://github.com/giantswarm/roadmap/issues/2189

I'm about to release some changes as well :smile: I'll wait for this to be merged.

Thanks!


Generating double slashes in APIPathBuilder

'/timetable/disruption/v1/areas/{planningAreaNumber}/alerts/{alertId}':
leads to
    public static final class AlertId extends Endpoint {
        private final String value;
        private AlertId(String alertId){ this.value = alertId; }
        public final String path() { return "/timetable/disruption/v1/areas/{planningAreaNumber}/alerts/" + "/" + value; }
    }

This is solved in the 3rd generation path builder


Bring in Jim's Improved Regex

I ran into this while running the transition script for the js repo.
(base) PS C:\repo\sdk-for-js\sdk\textanalytics\ai-text-analytics> C:/repo/sdk-tools/tools/test-proxy/transition-scripts/generate-assets-json.ps1
git remote -v
harsha  https://github.com/HarshaNalluru/azure-sdk-for-js.git (fetch)
harsha  https://github.com/HarshaNalluru/azure-sdk-for-js.git (push)
joheredi        https://github.com/joheredi/azure-sdk-for-js.git (fetch)
joheredi        https://github.com/joheredi/azure-sdk-for-js.git (push)
nick    https://github.com/nguerrera/azure-sdk-for-js (fetch)
nick    https://github.com/nguerrera/azure-sdk-for-js (push)
origin  https://github.com/scbedd/azure-sdk-for-js.git (fetch)
origin  https://github.com/scbedd/azure-sdk-for-js.git (push)
timo    https://github.com/timovv/azure-sdk-for-js.git (fetch)
timo    https://github.com/timovv/azure-sdk-for-js.git (push)
upstream        https://github.com/Azure/azure-sdk-for-js.git (fetch)
upstream        https://github.com/Azure/azure-sdk-for-js.git (push)
OperationStopped: C:\repo\sdk-tools\tools\test-proxy\transition-scripts\generate-assets-json.ps1:66
Line |
  66 |  … bject { if ($_ -match "azure-sdk-for-([a-zA-Z0-9\-\_\.]+)?(\.git)?")  …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Invalid pattern 'azure-sdk-for-([a-zA-Z0-9\-\_\.]+)?(\.git)?' at offset 29. Unrecognized escape sequence
     | \\_.

Write-Error: C:\repo\sdk-tools\tools\test-proxy\transition-scripts\generate-assets-json.ps1:80
Line |
  80 |  $AssetsRepoPrefixPath = Get-Repo-Language
     |                          ~~~~~~~~~~~~~~~~~
     | This script can only be called from within an azure-sdk-for-<lang> repository on disk.

Looking at the regex being invoked, I was SUPER weirded out as it wasn't what I remembered from Jim sharing the regex101 with me this morning.
Yep, I was right. @JimSuplizio originally created an updated version that he saved in a regex101 but I think it just didn't make it to the powershell. After accepting the change the script works.

Ignore failing test. Just flakyness in the signing component 👎

@scbedd, I'm going to close this PR out in favor of my PR. I want the comments that I had in my file. My apologies you'd hit this, I already had this fix locally and I was hoping to have this script finished today.


Use git master as libc version

As mentioned by @fiveop in #363,

We should use the Github version of libc for development and a fixed version for releases.

So this changes the required libc version to GitHub's master.
The dependency is supposed to be manually changed to a fixed version when doing a release, out of the GitHub repository (i.e. nix's master always tracks libc's master).

Looks good to me.  Cargo will not allow things to be pushed to crates.io with the dependency not pointing to a version also on crates.  @homu r+

:pushpin: Commit c0eb3cc has been approved by posborne

:zap: Test exempted - status


Fix right shifting decoder inputs

Closes #25
Closes #26
Closes #27

Fixed right shifting decoder inputs that was causing super low training loss.
Changes embedding size based on decoder inputs
Fixed tokenizer to ignore special tokens such as decoder start token, BOS, EOS, padding tokens.
Turn off shuffle for test data loader.

@ArjunKrishna3367 @Waleedprw22

Question: so what does the embedding file look like now?
From my understanding:
headline_tokens/caption_tokens -> input_tokens
headline_attention/caption_attention -> attention_mask
image_tokens -> labels
Did you change the encode_data.py as well? Would be good to add it to this PR as well.

Question: so what does the embedding file look like now?

What do you mean by embedding file? I made changes to embedding size and input/output sequences. These changes are made in hparams_base.json file. Right shifting the decoder inputs in handled in the forward method. The tokenizer is modified to account for these changes.

From my understanding: headline_tokens/caption_tokens -> input_tokens headline_attention/caption_attention -> attention_mask image_tokens -> labels
Did you change the encode_data.py as well? Would be good to add it to this PR as well.

Yes, I made changes to simplify the dataset class. Most of the logic is now handled via command line arguments.
I didn't change encode_data.py file. There are additional changes that we need to make to encode_data.py file such as split train/val/test data into separate files (#29) when encoding because loading the entire file in memory is super slow and consume too much memory (during init process, it loads data that's not even needed). As we have limited time, I didn't modify encode_data.py file but feel free to open a new PR (#29).


Unable to load extension 'azure-devops' in devops pipeline

Error :
Az devops works locally on agent.
When we ran through pipeline with CLI task ( powershell script) on agent, it throws error as az: 'devops' is not in the 'az' command group.
Also i could see the warning 'unable to load extension azure-devops' while loading.
azure-cli: 2.1.0,
command-modules-nspkg: 2.0.3,
core: 2.1.0,
nspkg: 3.0.4,
telemetry: 1.0.4
Extensions: azure-devops                      0.17.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Program Files\Common Files\AzureCliExtensionDirectory'
Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]
Expected behavior
AZ devops command should work with Agent through devops pipeline.
Screenshots
Added Screenshot which shows unable to load extension 'azure-devops'

Hi @jayaakshayan  ,
Can you update the extension and check if that resolves the issue?
If not, please run az devops -h --debug and share the corresponding debug logs.

Az extension is up to date, attached below the Az devops -h --debug
DEBUG: Command arguments: ['devops', '-h', '--debug']
2020-03-12T12:32:22.0100157Z DEBUG: Event: Cli.PreExecute []
2020-03-12T12:32:22.0103668Z DEBUG: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x02669540>, <function OutputProducer.on_global_arguments at 0x026B21E0>, <function CLIQuery.on_global_arguments at 0x026C1300>]
2020-03-12T12:32:22.0314031Z DEBUG: Event: CommandInvoker.OnPreCommandTableCreate []
2020-03-12T12:32:22.0395006Z DEBUG: Installed command modules ['acr', 'acs', 'advisor', 'ams', 'apim', 'appconfig', 'appservice', 'backup', 'batch', 'batchai', 'billing', 'botservice', 'cdn', 'cloud', 'cognitiveservices', 'configure', 'consumption', 'container', 'cosmosdb', 'deploymentmanager', 'dla', 'dls', 'dms', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'hdinsight', 'interactive', 'iot', 'iotcentral', 'keyvault', 'kusto', 'lab', 'managedservices', 'maps', 'monitor', 'natgateway', 'netappfiles', 'network', 'policyinsights', 'privatedns', 'profile', 'rdbms', 'redis', 'relay', 'reservations', 'resource', 'role', 'search', 'security', 'servicebus', 'servicefabric', 'signalr', 'sql', 'sqlvm', 'storage', 'vm']
2020-03-12T12:32:22.0448290Z DEBUG: Loaded module 'acr' in 0.005 seconds.
2020-03-12T12:32:22.0577484Z DEBUG: Loaded module 'acs' in 0.013 seconds.
2020-03-12T12:32:22.0592187Z DEBUG: Loaded module 'advisor' in 0.001 seconds.
2020-03-12T12:32:22.0600931Z DEBUG: Event: CommandLoader.OnLoadCommandTable []
2020-03-12T12:32:22.0641416Z DEBUG: Loaded module 'ams' in 0.005 seconds.
2020-03-12T12:32:22.0659680Z DEBUG: Loaded module 'apim' in 0.002 seconds.
2020-03-12T12:32:22.0686594Z DEBUG: Loaded module 'appconfig' in 0.003 seconds.
2020-03-12T12:32:22.0771634Z DEBUG: Loaded module 'appservice' in 0.008 seconds.
2020-03-12T12:32:22.0806050Z DEBUG: Loaded module 'backup' in 0.003 seconds.
2020-03-12T12:32:22.0832681Z DEBUG: Event: CommandLoader.OnLoadCommandTable []
2020-03-12T12:32:22.0878187Z DEBUG: Loaded module 'batch' in 0.007 seconds.
2020-03-12T12:32:22.0905806Z DEBUG: Loaded module 'batchai' in 0.003 seconds.
2020-03-12T12:32:22.0922642Z DEBUG: Loaded module 'billing' in 0.002 seconds.
2020-03-12T12:32:22.0954940Z DEBUG: Loaded module 'botservice' in 0.003 seconds.
2020-03-12T12:32:22.0962682Z DEBUG: Event: CommandLoader.OnLoadCommandTable []
2020-03-12T12:32:22.0984345Z DEBUG: Loaded module 'cdn' in 0.003 seconds.
2020-03-12T12:32:22.1000150Z DEBUG: Loaded module 'cloud' in 0.001 seconds.
2020-03-12T12:32:22.1017068Z DEBUG: Loaded module 'cognitiveservices' in 0.002 seconds.
2020-03-12T12:32:22.1028457Z DEBUG: Loaded module 'configure' in 0.001 seconds.
2020-03-12T12:32:22.1058543Z DEBUG: Loaded module 'consumption' in 0.003 seconds.
2020-03-12T12:32:22.1077143Z DEBUG: Loaded module 'container' in 0.002 seconds.
2020-03-12T12:32:22.1134649Z DEBUG: Loaded module 'cosmosdb' in 0.006 seconds.
2020-03-12T12:32:22.1158247Z DEBUG: Loaded module 'deploymentmanager' in 0.002 seconds.
2020-03-12T12:32:22.1197394Z DEBUG: Loaded module 'dla' in 0.004 seconds.
2020-03-12T12:32:22.1228984Z DEBUG: Loaded module 'dls' in 0.003 seconds.
2020-03-12T12:32:22.1248682Z DEBUG: Loaded module 'dms' in 0.002 seconds.
2020-03-12T12:32:22.1271975Z DEBUG: Loaded module 'eventgrid' in 0.002 seconds.
2020-03-12T12:32:22.1303990Z DEBUG: Loaded module 'eventhubs' in 0.003 seconds.
2020-03-12T12:32:22.1313809Z DEBUG: Loaded module 'extension' in 0.001 seconds.
2020-03-12T12:32:22.1322433Z DEBUG: Loaded module 'feedback' in 0.001 seconds.
2020-03-12T12:32:22.1331759Z DEBUG: Loaded module 'find' in 0.001 seconds.
2020-03-12T12:32:22.1359244Z DEBUG: Loaded module 'hdinsight' in 0.003 seconds.
2020-03-12T12:32:22.1363328Z DEBUG: Loaded module 'interactive' in 0.000 seconds.
2020-03-12T12:32:22.1403515Z DEBUG: Loaded module 'iot' in 0.004 seconds.
2020-03-12T12:32:22.1416998Z DEBUG: Loaded module 'iotcentral' in 0.001 seconds.
2020-03-12T12:32:22.1469360Z DEBUG: Loaded module 'keyvault' in 0.005 seconds.
2020-03-12T12:32:22.1489091Z DEBUG: Loaded module 'kusto' in 0.002 seconds.
2020-03-12T12:32:22.1523221Z DEBUG: Loaded module 'lab' in 0.003 seconds.
2020-03-12T12:32:22.1538572Z DEBUG: Loaded module 'managedservices' in 0.002 seconds.
2020-03-12T12:32:22.1553510Z DEBUG: Loaded module 'maps' in 0.001 seconds.
2020-03-12T12:32:22.1609972Z DEBUG: Loaded module 'monitor' in 0.006 seconds.
2020-03-12T12:32:22.1625314Z DEBUG: Loaded module 'natgateway' in 0.001 seconds.
2020-03-12T12:32:22.1634110Z DEBUG: Event: CommandLoader.OnLoadCommandTable []
2020-03-12T12:32:22.1657299Z DEBUG: Loaded module 'netappfiles' in 0.003 seconds.
2020-03-12T12:32:22.1914477Z DEBUG: Loaded module 'network' in 0.026 seconds.
2020-03-12T12:32:22.1933808Z DEBUG: Loaded module 'policyinsights' in 0.002 seconds.
2020-03-12T12:32:22.1973276Z DEBUG: Loaded module 'privatedns' in 0.004 seconds.
2020-03-12T12:32:22.1989269Z DEBUG: Loaded module 'profile' in 0.002 seconds.
2020-03-12T12:32:22.2044858Z DEBUG: Loaded module 'rdbms' in 0.005 seconds.
2020-03-12T12:32:22.2065080Z DEBUG: Loaded module 'redis' in 0.002 seconds.
2020-03-12T12:32:22.2094434Z DEBUG: Loaded module 'relay' in 0.003 seconds.
2020-03-12T12:32:22.2114622Z DEBUG: Loaded module 'reservations' in 0.002 seconds.
2020-03-12T12:32:22.2176054Z DEBUG: Loaded module 'resource' in 0.006 seconds.
2020-03-12T12:32:22.2214852Z DEBUG: Loaded module 'role' in 0.004 seconds.
2020-03-12T12:32:22.2231053Z DEBUG: Loaded module 'search' in 0.001 seconds.
2020-03-12T12:32:22.2254680Z DEBUG: Loaded module 'security' in 0.002 seconds.
2020-03-12T12:32:22.2304115Z DEBUG: Loaded module 'servicebus' in 0.005 seconds.
2020-03-12T12:32:22.2329234Z DEBUG: Loaded module 'servicefabric' in 0.002 seconds.
2020-03-12T12:32:22.2344673Z DEBUG: Loaded module 'signalr' in 0.001 seconds.
2020-03-12T12:32:22.2409568Z DEBUG: Loaded module 'sql' in 0.006 seconds.
2020-03-12T12:32:22.2426577Z DEBUG: Loaded module 'sqlvm' in 0.002 seconds.
2020-03-12T12:32:22.2436107Z DEBUG: Event: CommandLoader.OnLoadCommandTable []
2020-03-12T12:32:22.2671236Z DEBUG: Loaded module 'storage' in 0.025 seconds.
2020-03-12T12:32:22.2808216Z DEBUG: Loaded module 'vm' in 0.014 seconds.
2020-03-12T12:32:22.2811328Z DEBUG: Loaded all modules in 0.236 seconds. (note: there's always an overhead with the first module loaded)
2020-03-12T12:32:22.2829081Z DEBUG: Extensions directory: 'C:\Program Files\Common Files\AzureCliExtensionDirectory'
2020-03-12T12:32:22.2840593Z DEBUG: Found 1 extensions: ['azure-devops']
2020-03-12T12:32:22.2844681Z DEBUG: Extensions directory: 'C:\Program Files\Common Files\AzureCliExtensionDirectory'
2020-03-12T12:32:22.2855774Z DEBUG: Extension compatibility result: is_compatible=True cli_core_version=2.1.0 min_required=None max_required=None
2020-03-12T12:32:22.2866130Z DEBUG: Module 'azext_devops' is missing COMMAND_LOADER_CLS entry.
2020-03-12T12:32:22.2866626Z DEBUG: Event: MainLoader.OnFailedExtensionLoad []
2020-03-12T12:32:22.2867216Z WARNING: Unable to load extension 'azure-devops'. Use --debug for more information.
2020-03-12T12:32:22.2870092Z DEBUG: Traceback (most recent call last):
2020-03-12T12:32:22.2870971Z   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-3pnsb50r\azure-cli-core\azure\cli\core_init_.py", line 210, in update_command_table_from_extensions
2020-03-12T12:32:22.2871997Z   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-3pnsb50r\azure-cli-core\azure\cli\core\commands_init.py", line 969, in load_extension_command_loader
2020-03-12T12:32:22.2873087Z   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-3pnsb50r\azure-cli-core\azure\cli\core\commands_init.py", line 965, in _load_command_loader
2020-03-12T12:32:22.2873825Z UnboundLocalError: local variable 'command_loader' referenced before assignment
2020-03-12T12:32:22.2874282Z
2020-03-12T12:32:22.2874741Z DEBUG: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x027FC4F8>]
2020-03-12T12:32:22.2883320Z INFO: az_command_data_logger : command args: devops -h --debug
2020-03-12T12:32:22.2884632Z DEBUG: metadata file logging enabled - writing logs to 'E:\VSTSAgents\zpppdvbavm07-0003_temp.azclitask\commands'.
2020-03-12T12:32:22.2916401Z DEBUG: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x0280DBB8>]
2020-03-12T12:32:22.2930500Z DEBUG: Event: CommandInvoker.OnPostArgumentLoad []
2020-03-12T12:32:22.2931681Z DEBUG: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x0282DAE0>, <function register_cache_arguments..add_cache_arguments at 0x0283E1E0>]
2020-03-12T12:32:22.3349860Z DEBUG: Event: CommandInvoker.OnCommandTableLoaded []
2020-03-12T12:32:22.3350677Z DEBUG: Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x034D3C00>]
2020-03-12T12:32:22.3357844Z ERROR: cli.azure.cli.core.parser : az: 'devops' is not in the 'az' command group. See 'az --help'. If the command is from an extension, please make sure the corresponding extension is installed. To learn more about extensions, please visit https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview
2020-03-12T12:32:22.3360198Z ERROR: az: 'devops' is not in the 'az' command group. See 'az --help'. If the command is from an extension, please make sure the corresponding extension is installed. To learn more about extensions, please visit https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview
2020-03-12T12:32:22.3396694Z INFO: az_command_data_logger : exit code: 2
2020-03-12T12:32:22.4254301Z INFO: telemetry.save : Save telemetry record of length 2746 in cache
2020-03-12T12:32:22.4256635Z WARNING: telemetry.check : Negative: The E:\VSTSAgents*********_temp.azclitask\telemetry.txt was modified at 2020-03-12 12:32:19.177669, which in less than 600.000000 s
2020-03-12T12:32:22.4257279Z INFO: command ran in 0.328 seconds.
2020-03-12T12:32:22.6902936Z ##[error]Script failed with error: Error: The process 'C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe' failed with exit code 1

Hi @jayaakshayan can you specify which agent pool you used when you encountered this error?

We use self-hosted agent pool.

@jayaakshayan How are you installing the az devops extension in that agent since you mentioned it works locally?

i installed like az extension add —name azure-devops.
The installation will be happen through pipeline with invoke command to VM agent.
Fyi, created self-hosted agent with the https://github.com/microsoft/azure-pipelines-image-generation?files=1

Hi @jayaakshayan, right now that extension is not supported in the self hosted agents when you use the AzCLIv2 task. For now, as a work-around, you can add az extension add -n azure-devops in your script and that'll let you use the extension in your task

It doesn’t solve the problem. When i do the workaround it says “ warning: Extension ‘azure-devops’ is already installed.

Can you run the command with --debug and share the logs?
Please make sure you are doing this inside the script.
I want to check the extensions path from the logs

Is there any update on this problem? I have hit exactly the same issue, I am using a self-hosted agent on a stock Azure Ubuntu VM and I am trying to use storage-preview extension instead. Behavior is identical to the one described above: extension is installed, it works if I use it from the agent in an interactive mode, but it does not work if invoked from a pipeline.

facing same issue with azure windows VM self hosted agent .
Unable to prompt for extension install confirmation as no tty available. Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Any workarounds ?

facing same issue with azure windows VM self hosted agent .
Unable to prompt for extension install confirmation as no tty available. Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Any workarounds ?

I am also facing same issue on self-hosted linux agent:

ERROR: The command requires the extension azure-devops. Unable to prompt for extension install confirmation as no tty available. Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.

Experiencing the same issue on a selfhosted Windows machine agent.
Script:
          az devops login --organization https://dev.azure.com/OrganizationName

          $sourceDirectory = "$(Build.SourcesDirectory)"

          $version = (Get-Item "$sourceDirectory\Program.exe").VersionInfo.FileVersion
          $buildId = "$(Build.BuildID)"

          az pipelines runs tag add --run-id "$buildId" --tags "$version" --detect true

Logs:
Starting: Tag build with server version
==============================================================================
Task         : Azure CLI
Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
Version      : 2.1.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
==============================================================================
C:\WINDOWS\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" --version"

azure-cli                         2.20.0
Please let us know how we are doing: https://aka.ms/azureclihats

core                              2.20.0
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
telemetry

Extensions:
azure-devops                      0.18.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\username\.azure\cliextensions'

Python (Windows) 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.
Setting AZURE_CONFIG_DIR env variable to: C:\agentname\_work\_temp\.azclitask
Setting active cloud to: AzureCloud
C:\WINDOWS\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" cloud set -n AzureCloud"
C:\WINDOWS\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" login --service-principal -u *** "--password=***" --tenant *** --allow-no-subscriptions"
[
  {
    "cloudName": "AzureCloud",
    "homeTenantId": "***",
    "id": "***",
    "isDefault": true,
    "managedByTenants": [],
    "name": "***",
    "state": "Enabled",
    "tenantId": "***",
    "user": {
      "name": "***",
      "type": "servicePrincipal"
    }
  }
]
C:\WINDOWS\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" account set --subscription ***"
"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agentname\_work\_temp\azureclitaskscript1615887054530.ps1'"
ERROR: The command requires the extension azure-devops. Unable to prompt for extension install confirmation as no tty available. Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
ERROR: The command requires the extension azure-devops. Unable to prompt for extension install confirmation as no tty available. Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
##[error]Script failed with exit code: 1
C:\WINDOWS\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" account clear"
Finishing: Tag build with server version

Is there any progress on resolving this issue. I also would like to use this extension.

I had similar issue when az-devops extension was not installed under the pipeline agent running user.

can you try to add the extension as part of the pipeline or your script?
 az extension add --name azure-devops

@gauravsaralMs  In my case self hosted ubuntu agents it does the job! Thanks!

I encountered the same issue. @manusabu11 pointed me in the right direction. I used the following command to install the extension (note the --system which installs it for all users).
az extension add --name azure-devops --system

I had planned to set the extension.use_dynamic_install option as suggested in the error message, but this seems to be per user and I couldn't see an option to set this at a system level.

@sclarke81 After executing the above command in self hosted ubuntu machine facing this error
An error occurred. Pip failed with status code 2. Use --debug for more information.

I am facing this error on the azure devops pipeline the pipeline is executing on the ubuntu self-hosted machine.
Any solution for this error @mitsha-microsoft
ERROR: The command requires the extension azure-devops. Unable to prompt for extension install confirmation as no tty available. Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.

Hi @Ijtehad143
I had left the team 3 years ago and don't work with this team anymore, and I am not sure who owns this as well. Tagging @gauravsaralMs to redirect to the proper support.


#157694757 send alerts via sms

What does this PR do?

Add a section on the dashboard for the user to set their preferred alert mode
Sends SMS alerts when the alert mode is set to phone

Description of Task to be completed?
When a user sets the alert mode to phone and a job run too often or goes down he/she receive alerts via phone SMS on the phone number provided
How should this be manually tested?

Run the application and click the check link to create a new check
Go to account settings and set the alert mode to phone and provide a phone number to receive alerts.
Run the job too often or let it go down and you will receive alerts through SMS instead of default email method.
When running locally make sure send alerts is running by running:-
./manage.py runserver & ./manage.py sendalerts

What are the relevant pivotal tracker stories?
Send alerts via multiple methods
Screenshots
A sample of the dashboard where the user will change alert mode

A sample of SMS alerts sent

@Awesome94  @Felistas  @daktari01 @kzyGit  @tonykimathi  @muhozi

Hi @Awesome94, I have squashed the commits as suggested.

Good


Floating hint in default ComboBox style

Hi guys,
I wanna to know if you have this behavior referenced on Material Design :
Exposed DropDown Menu
On WPF, I'm using Hint with ComboBox and I have this behavior with different menu status.
Do you have any implementations/workarounds about it ?
Thank in advance.

Hello, @Tenjim
I think what this is what you need: https://github.com/AvaloniaCommunity/Material.Avalonia/issues/101#issuecomment-900148274
Does this solve your problem?

Hi @SKProCH ,
Not really. I want to have hint when I don't have any value in the combobox and the behavior that replace hint by combox value selected and finaly put hint above.
Like this :

It's  the same behavior in your demo do with TextBox and TextFieldAssist.

Hmm, @Tenjim
You can use PlaceholderText or ComboBoxAssist.Label to set hint what will look like this:

Is that one what you needed?

Hi @SKProCH
The ComboBoxAssist is not working in the ComboBox without class.
                        <ComboBox assist:ComboBoxAssist.Label="ComboBox">                             <TextBlock Text="Item 1" />                             <TextBlock Text="Item 2" />                             <TextBlock Text="Item 3" />                             <TextBlock Text="Item 4" />                         </ComboBox>
Here is what i expect (in wpf material design) :

Is there an easy way to have this ?
Thanks :)

Seems like this currently not available.
You can use Outline ComboBox style or wait untill i or @appleneko2001 impletent floating hint in regular ComboBoxes. But we don't have much time right now because of work.

Hi, any update on this? We are just starting with Avalonia and need a filled ComboBox with a floating label.

Hello, @Stensan. Currently - no yet. I've trying to find time to finish TextBoxes rework, and after that I hope what i can quickly do ComboBoxes rework.


(feat):Responsiveness for Tablets

Description:
Our website/application is currently responsive for mobiles and PCs but faces layout and functionality issues on tablets. This affects user experience and needs fixing.
To guide our development efforts and ensure consistency with our design, please refer to the Figma design file provided here: Figma Design File Link.

hey @Arindam200 , can i work on it? please assign me

@DHRUVKHANDELWAL00 Go Ahead!

can you please assign me i can make your website responsive as you mentioned

Hey @Dev-Abhay01 , @DHRUVKHANDELWAL00 is currently working on this issue!
You can Collaborate with him. or can work on other issues!

Hey @DHRUVKHANDELWAL00 Are you working on this?

@Dev-Abhay01 Please start working on this issue!!


python311Packages.dvc: 3.40.0 -> 3.40.1

Diff: https://github.com/iterative/dvc/compare/refs/tags/3.40.0...3.40.1
Changelog: https://github.com/iterative/dvc/releases/tag/3.40.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 281972 run on x86_64-linux 1

16 packages built:

deja-dup
duplicity
duplicity.dist
duply
dvc (python311Packages.dvc)
dvc-with-remotes
dvc-with-remotes.dist
dvc.dist (python311Packages.dvc.dist)
python311Packages.dvc-gdrive
python311Packages.dvc-gdrive.dist
python311Packages.dvc-hdfs
python311Packages.dvc-hdfs.dist
python311Packages.dvclive
python311Packages.dvclive.dist
python311Packages.pydrive2
python311Packages.pydrive2.dist


Bug : Proper alignment added cards of  clients section

Issue : #632
In the clients section, there is now a proper view of the client cards. The issue has been resolved with proper alignment, and hovering effects have been added to the cards to enhance the user interface.
Bug:
before:

After:

Here is the improved text:
The two images reveal that a hover effect was incorporated to provide a better view of the cards.
@Anushkabh , please check my changes and merge to project to make contribution to the project.
Thank you

Issue : #632
In the clients section, there is now a proper view of the client cards. The issue has been resolved with proper alignment, and hovering effects have been added to the cards to enhance the user interface.
Bug:
before:
After:
 Here is the improved text:
The two images reveal that a hover effect was incorporated to provide a better view of the cards.
@Anushkabh , please check my changes and merge to project to make contribution to the project.
Thank you

The inside green border makes it a very clumsy design, can we remove it?

Issue : #632
In the clients section, there is now a proper view of the client cards. The issue has been resolved with proper alignment, and hovering effects have been added to the cards to enhance the user interface.
Bug:
before:
After:
 Here is the improved text:
The two images reveal that a hover effect was incorporated to provide a better view of the cards.
@Anushkabh , please check my changes and merge to project to make contribution to the project.
Thank you

The inside green border makes it a very clumsy design, can we remove it?

@himanshu-03  I removed the green border , please go through the chnages
Thank you

Hey @GAVINESHWAR !
I was talking about the green  border which is currently inside the crad, I think that should be matched with the card outline the hover effect you inserted earlier was good.

Hey @GAVINESHWAR !
I was talking about the green border which is currently inside the card, I think that should be matched with the card outline the hover effect you inserted earlier was good.

@himanshu-03 , I done required changes as per your instructions and added new #829  PR the issue due to conflicts.
Thank you


MAINT: leaving hashbang line where it is necessary

Description
leaving hashbang line where it is necessary

Where is it necessary? CI and build scripts only?

Where is it necessary? CI and build scripts only?

Probably, yes. But for other scripts definitely not required.


[Proposal] Plugin development workflow after NativeScript 4.0

This issue is meant to describe the recommended plugin development workflow after NativeScript 4.0 is released.
Stay tuned for more details on the topic.

Please, refer to issue #65


CA Data Gap Analysis - Results

Story
As CA HCO, to ensure we'll receive all needed results data to an EHR, we need to relate the ReportStream results information to what will be received by the EHR.
Pre-conditions

none

Acceptance Criteria

[ ] Identified what are the fields required
[x] Identified any message transformations needed
[x] Get HCO approval

Tasks

[ ] Confirm vocabulary documentation with code assignments with HCO
[ ] Document CA result message profile

[ ] Inventory of data elements
[ ] Confirm cardinality and optionality fields

[x] Identify and document which transformations may be needed for other CA hospitals.

Definition of Done

[ ] Documentation tasks completed

[ ] Documentation and diagrams created or updated

[ ] Implementation guide (/ig folder)
[ ] ADRs (/adr folder)
[ ] Main README.md
[ ] Other READMEs in the repo
[ ] If applicable, update the ReportStream Setup section in README.md

[ ] Threat model updated
[ ] API documentation updated

[ ] Code quality tasks completed

[ ] Code refactored for clarity and no design/technical debt
[ ] Adhere to separation of concerns; code is not tightly coupled, especially to 3rd party dependencies
[ ] Code is reviewed or developed by pair; 1 approval is needed but consider requiring an outside-the-pair reviewer
[ ] Code quality checks passed

[ ] Security & Privacy tasks completed

[ ] Security & privacy gates passed

[ ] Testing tasks completed

[ ] Load tests passed
[ ] Unit test coverage of our code >= 90%

[ ] Build & Deploy tasks completed

[ ] Build process updated
[ ] API(s) are versioned
[ ] Feature toggles created and/or deleted.  Document the feature toggle
[ ] Source code is merged to the main branch

Research Questions

Optional: Any initial questions for research

Decisions

Optional: Any decisions we've made while working on this story

Notes

Optional: Any reference material or thoughts we may need for later reference

Potential 3 distinct categories for transformations:

Unique UCSD transformation needs
Potential transformation needs for other CA HCOs
Transformations needed for LRIv5 (i.e. flattening)

Receiving facility MSH header may need to be conditional -- as there are two separate facilities within UCSD. (FYI @jorg3lopez )

To be discussed during team collab later today

Calling complete based on the transformation work being done, and decoupling from the open vocabulary items impacting the profile work.


Moon 82 Header for secondary nav

JIRA

https://jira.jahia.org/browse/MOON-82
Description
We need to be able to have consistency in our headers in secondary nav. We want to do minimal styling and be able to just pass a component which will be centered and displayed properly.

I think we can also directly display the header props on SecondaryNav.
We don't need the wrapper anymore.
 <header className={classnames(styles.secondaryNav_header, 'flexRow_center', 'alignCenter')}>
        {header}
</header>

So you can use this markup on your new component SecondaryNavHeader it will be more semantic than a div


Reorganize the OGM website

The metadata team did some initial reorganizing of the website (see https://github.com/OpenGeoMetadata/opengeometadata.github.io/issues/36) but feedback suggests we could improve the structure further, particularly to make the legacy schema more findable.
Suggestion to use https://diataxis.fr/ as a guideline for restructuring.

Addressing this issue and #https://github.com/OpenGeoMetadata/opengeometadata.github.io/issues/72:
I made a fork of the OGM Website and applied the mkdocs.org framework. I then reorganized the information by trying to follow the principles of Diataxis.  It's pretty fun to work on - I got a bit carried away and ended up with this: https://karenmajewicz.github.io/opengeometadata.github.io/
Overall, I felt like this structure made it easier to bring useful information into a more prominent view, such as the crosswalks. I also thought about info that had been reported as hard to find (ex. GBL 1.0 or the References URIs) and made them separate pages under the nav.
Some things to note:

I started off using the readthedocs theme for MkDocs, but ended up using the Material theme instead as is so much more versatile and is actively developed.
For the tables, we are able keep the information natively as CSV files. There is a plugin that reads them as Markdown. This makes it much easier to update tables.
There is also a plugin to sort the tables (click on an icon that appears when you scroll over a header)
The navigation style is configurable - it can be all on one side, split into two sides, and/or have a top menu. Also, we don't need to define the TOC for each page - it can be automatic based on headers
The internal links compiling is a bit different, so I had to tack on ".md" to them. I think I caught all (?) of them though. When you build or deploy the site, it warns you about broken links. (But, there might be differences as well if a custom domain is applied.)


ParagraphBox is not respecting the managed property for the paragraph graphic node

As the title.  ParagraphBox is incorporating the paragraph graphic node into the layout calculations even when the managed property is set to false.
I actually have a use-case for this (rather than just being a property pedant).  In relation to #1077 when I enable the typewriter scrolling mode I want the paragraph graphic to disappear, i.e. so the user is left with just the writing area, no scrollbar, no paragraph graphic.  Essentially it's a "distraction free" mode.  I have the managed property for the graphic bound to the visible property but the graphic is still being laid out when the graphic's visibility is hidden.
There is a workaround in that you can set the width of the graphic to 0.

So then in ParagraphBox would changing getGraphicPrefWidth() to the following work:
double getGraphicPrefWidth() {
    return graphic.filter( Node::isManaged )
	.map( n -> n.prefWidth(-1) )
	.getOrElse( 0.0 );
}

I think that goes most of the way however the graphic will still be laid out with zero width.  So perhaps ParagraphBox.layoutChildren should also do a isManaged check?
The definition of the managed property is:
"If the node is unmanaged, its parent will ignore the child in both preferred size computations and layout."
(from https://docs.oracle.com/javase/8/javafx/api/javafx/scene/Node.html#managedProperty )
There may be some ramification for the node being laid out with zero width, I'm not sure.  I don't know if it could respond to input events with zero width.  I think user expectation and compliance with the definition would be the main issue.

Note that the Region parent class of ParagraphBox is honoring the graphic's managed property. It's just that the local layoutChildren method wasn't, and thus incorrectly relocating the enclosed ParagraphText. Anyways, I have added an additional check in the PR to not try and relocate the graphic if it's not managed. So it should be good now :-)

Thanks, sounds good :)


refactor: filed -> field

Thought that I found some typos, but are they?

@toshi0383
Thanks for all the PR 👍
Looks like you are right , I will look into installing linter to prevent this.


Cloud Service Provider Selection

Task:
Evaluation and selection of a cloud service provider based on the system requirements, cost, scalability, and reliability. Providers considered include AWS, GCP, and Azure.
Definition of done:
Selection of a cloud service provider

I appreciate your insights on this issue. Can you consider exploring the potential option for hosting with OU, alongside evaluating the cloud hosting options? Your efforts in examining both possibilities concurrently would be highly valuable. Thank you!

OU IT server space has been considered for hosting the Capstone Management System by reviewing all the constraints.


Use locally installed phpunit in travis

I didn't like the red status badge on this library.
I think the build should use the locally installed PHPUnit version from vendor dir, it matches the current PHP version.

Closing, as it's already contained in #175.


Add more tests for gather/take

All of these tests are dying with an UnwindException on the
JVM backend currently, but they are passing on MoarVM.

I would say that since they are known to fail it makes sense to fudge them.

Yes, I could do that. (Just in case you missed it: I took the easy route and specified in spectest.data to only run the test file on Moar.)

I did miss it. But it looks somewhat weird because they're not moar specific in neither way. My approach would be to fudge them with skip for jvm. And add a canary test using is_run which would be fudged with todo. In this case if the bug is fixed we'll get a notification.

Thanks @usev6! I'm awaiting for my jvm backend to compile in order to test this PR. Will merge later if it passes.

@vrurg Thanks! (I didn't want to generate that much extra work for you. My main reason for creating a PR was to get a second pair of eyes for the sanity of the tests.)

The "much work" as you name it is only about running a compiler and then a single test. :)
Ok, done. Once again - thanks!


Aggressive decommit now disabled by default

Hi,
In a commit from 2016 you decided to revert by default the aggressive decommit mode, the commit message mentions that this improves some tensorflows benchmarks. It still possible to define an environment variable or to set it in C/C++ through malloc extensions to enable it again.
First, do we know (with the current implementation, which apparently changed in 2016) in which case aggressive decommit is indeed slowing down performances (is it when I use a lot of small objects ? when do I a lot of big frees ? in some other kind of scenarios) ?
Our experience with our own Amadeus specific business processes is that we consume a lot more memory per process with and without aggressive decommit with exactly the same code (1GB vs 4GB in one specific workload, 1GB vs 2GB in another, 200MB vs 1.5GB in yet another different workload) while on the other side we couldn't see real performance degradation. So knowing exactly when this is useful would allow people to choose or not to enable it.
In our case, it looks like most if not all of our usages of tcmalloc would benefit from aggressive decommit (with a lot less consumed resident memory) without the drawback of being noticeably slower, so would you consider having a configure-time flag that would allow to switch the default behavior once and for all without having to modify all user programs/user environment ?
Cheers,
Romain

Correct. Default is off now. Some workloads do see performance drop from aggressive decommit. And yes, I'll accept patch for build- or configure-time switch.

As for which workloads get slower, well, I don't have good answer for you. Those the exercise freeing pages into page heap is kind obvious but not helpful answer. I cannot say more specific.

This issue could be closed since https://github.com/gperftools/gperftools/commit/5574c87e39ee592c909cb48245c1d91e90ddaf4d.


added method 'executeBatch' for execute batch without preimage

Added chaincode method "batcherBatchExecute" for execute group of requests like "preimage and batch" but without "preimage".
Use Case:
First user make request (Tx method and args) on backend, and backend cache this request on self side
Second user make request (Tx method and args) on backend cache this request on self side
On event backend get requests from cache and send invoke "batcherBatchExecute" with methods and args, each request contains their own "BatcherRequestID"
Added mock function for test batcher requests

@pfi79 please review this PR

@andreevym please, write an integration test.