Response from "az login --identity" can display confusing message

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
When a managed identity is implicitly used to authenticate, a message can be displayed saying incorrectly, that a system assigned identity is being used, when it should say user-assigned. This only happens when there is a single user-assigned identity and no system-assigned identity

To Reproduce

Create an Azure VM
Associate it with a single user-assigned identity, ensure that system-assigned identity is not enabled
Access VM using shell
Install Azure CLI
Authenticate using az login --identity (as the user-assigned identity is the only one available, it is used)
observe that response says that system-assigned identity was used, instead of user-assigned identity

azureuser@temp1:~$ az login --identity
[
  {
    "environmentName": "AzureCloud",
    "homeTenantId": "<snip>",
    "id": "<snip>",
    "isDefault": true,
    "managedByTenants": [],
    "name": "Visual Studio Enterprise Subscription",
    "state": "Enabled",
    "tenantId": "<snip>",
    "user": {
      "assignedIdentityInfo": "MSI",
      "name": "systemAssignedIdentity",
      "type": "servicePrincipal"
    }
  }
]

Authenticate using az login --identity -u /subscriptions/<subscriptionId>/resourcegroups/<myRG>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<myID>
Observe that the response correctly references the user-assigned identity

azureuser@temp1:~$ az login --identity -u /subscriptions/<snip>/resourceGroups/Revocation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RevocationUAM
[
  {
    "environmentName": "AzureCloud",
    "homeTenantId": "<snip>",
    "id": "<snip>",
    "isDefault": true,
    "managedByTenants": [],
    "name": "Visual Studio Enterprise Subscription",
    "state": "Enabled",
    "tenantId": "<snip>",
    "user": {
      "assignedIdentityInfo": "MSIResource-/subscriptions/<snip>/resourceGroups/Revocation/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RevocationUAM",
      "name": "userAssignedIdentity",
      "type": "servicePrincipal"
    }
  }
]

Result - can cause confusion for new users whether the correct identity is being used / if the VM does actually have a system-assigned identity that is being used

Expected behavior
When a user-assigned identity is used to authenticate, the response should correctly contain the details of the identity, even if it was not explicitly referenced in the az login command through the -u parameter
Environment summary

VM created from  Ubuntu Server 18.04 LTS image in portal
Shell type: OSX terminal, connecting to VM by ssh
CLI installed using curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
CLI version:

azure-cli                         2.25.0

core                              2.25.0
telemetry                          1.0.6

Python location '/opt/az/bin/python3'
Extensions directory '/home/azureuser/.azure/cliextensions'

Python (Linux) 3.6.10 (default, Jun 11 2021, 05:19:38)
[GCC 9.3.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstu

Additional context
This only happens when there is a single user-assigned identity and no system-assigned identity. The overall behaviour is correct, it's just the message that is returned is confusing, possibly because the user-assigned identity has not been explicitly referenced in the login command.

@jiasli for awareness


[Mouse Tooltips] Hide Top-Left Contextual Text

Could we add an option to remove the text in the upper-left hand corner when hovering over anything? These same tooltips now show up as mouse tooltips so the option to disable it should be an option within the Mouse Tooltips plugin.
Jagex themselves have already implemented this very feature into their C++ Steam client.

This is already in the Jagex java client, it just isn't documented, I think its ::mouseovertext

This is already in the Jagex java client, it just isn't documented, I think its ::mouseovertext

This is true, thanks for pointing it out! Problem is, when you log out, the text reappears. Meaning, as much of a first-world problem as it is, you have to reenter “::mouseovertext” everytime you login. Even switching worlds resets it.
An option in the plugin could fix this issue.

Duplicate of #12590


Webpack bundle is empty

Bug report

What is the current behavior?
The output bundle is empty, and this is the entire content:
(()=>{"use strict";Symbol(),new TextDecoder("utf-16le")})();
//# sourceMappingURL=glas.esm.js.map

If the current behavior is a bug, please provide the steps to reproduce.
git clone git@github.com:lume/glas.git
cd glas
git checkout webpack-issue-12740
npm install
npm run build:webpack # runs `webpack --mode production`

Then open dist/ts/glas.esm.js and it is empty. Same with glas.umd.js.

What is the expected behavior?
There should be stuff in the output bundle.
Other relevant information:
webpack 5.23.0
webpack-cli 4.5.0
webpack-dev-server 3.11.2
Node.js 14.15.5
Operating System: Manjaro Linux
My config file is short:
import path from 'path'

const outputPath = 'dist/ts'

export default {
	entry: './dist/ts/index.js',
	output: {path: path.resolve(outputPath), filename: 'glas.esm.js'},

	module: {
		rules: [ {test: /\.js$/, use: ['source-map-loader'], enforce: 'pre'} ],
	},

	devtool: 'source-map',
}

I added a reproduction.

Ah. Looks like because the entry point doesn't do anything, "tree shaking" is actually doing its job and not bundling anything because nothing will run.


Discussion: Can't extend errors because this project uses Babel, Babel/Webpack schools of thought

Immediate Problem
I recently tried to extend the build-in Error class with something like this:
class ReadError extends Error {}

new ReadError('Boom') instanceof ReadError // => false

This is a known Babel gotcha: https://github.com/babel/babel/issues/4485

Extending builtin types like Array and Error and such has never been supported in Babel. It is perfectly valid in a real ES6 environment, but there are requirements to make it work that are very difficult to transpile in a way that is compatible with older browsers.

What are the best schools of thought in the Electron community on this?
I'm not sure what all the pros/cons are, but given that Electron really combines 2 modern platforms (Node, Google Chrome), long-term I could see this project getting rid of Babel (and maybe Webpack?) magic and relying directly on native ES6 implementations (Node 10, Google Chrome). This is a little above my expertise level, but it seems that there are 2 schools of though for building an Electron app:
1. Rely directly on APIs supported in Node.js and Google Chrome

You only get access to the APIs supported by whatever version of Node.js and Google Chrome you're on. This problem seems fairly mitigated, as Node.js is making reasonable progress on implementing ES6 features.
I believe this is what Slack does. If you un-asar Slack, you can see a lot of their code is un-minified and uses Node.js APIs. The dependencies (here) members of the Slack team uses seems to rely on Node.js APIs that like (require()) that aren't available in a Webpack environment.
This also seems to be the approach of Atom, as documented in their improvements to require()-ing on startup documented here.
This approach also seems to be inline with how electron-forge works (here)

2. Rely on Babel (via Webpack) to transpile code for the main and/or renderer process

This is the approach of this boilerplate.
This approach gives you access to Babel configuration (and in turn more bleeding edge APIs).
This approach may interfere with the use of Node.js dependencies that rely on require.resolve() due to how Webpack overloads this (here). I.e. you can't use dependencies like umzug, electron-userland/electron-remote because they assume your app is using Node APIs directly.
This seems to be the option that supports more bleeding edge features, but is less complex to configure.

What is the best place to discuss these community issues?
I'm still piecing this together. Is this the right way to think about the options out there? Who are the leader in the Electron community who might be able to explain this better than I can?
Resources

https://medium.com/the-node-js-collection/an-update-on-es6-modules-in-node-js-42c958b890c
https://node.green/
https://nodejs.org/api/esm.html#esm_ecmascript_modules
https://github.com/webpack/webpack/issues/1554

And here's the implementation for the workaround that allows you to try/catch custom errors with Babel: https://github.com/aguynamedben/electron-react-boilerplate/compare/ef426887c5a2900ce8c38d49f96b05addc77e37f...40699635dbab9ce79c0278275f4b1cd19db6ed98 (see the error-handling-confusion-workaround branch on aguynamedben/electron-react-boilerplate).
I'm not really sure I have any other actionable things you can do on this ticket, so feel free to close it... I just wanted to convey the information and see if there is anything to learn. After a year I'm still learning the intricacies of the environmental issues with JavaScript/Babel/Node/Webpack/V8. Tracking down the cause of this issue took about 3/4 of a day.
On second look, I think Slack and electron-forge do use Babel, but they don't use Webpack.
Maybe this set of assertions is more accurate:

Webpack caveats may cause issues dependencies that assume a pure Node.js environment. Webpack patches the environment a lot.

Webpack overrides require.resolve() (affects electron-userland/electron-remote, umzug).

Babel caveats may cause issues with JavaScript language features. There are caveats that must be respected when Babel is used.

Babel requires special workarounds for extending built-in objects, affects custom error handling) (affects extends Error, extends Array, etc.)

🤷♂

Closing, this is a similar discussion to https://github.com/chentsulin/electron-react-boilerplate/issues/1827, if anybody has things to add please add in #1827.


enable brand extension

Can you bump the yarn images to pr-8 while you're at it? Otherwise LGTM

👍


feat(origin-core-ui): improvements to user profile page

@marcin-l-tsh Does something change on the user interface?
If so, could you attach screenshots to the PR? (Ideally a before/after comparison).
We do this for UI PRs to get a better sense of what's changed and how to review the PR.

@marcin-l-tsh Does something change on the user interface?
If so, could you attach screenshots to the PR? (Ideally a before/after comparison).
We do this for UI PRs to get a better sense of what's changed and how to review the PR.

@marcin-l-tsh Does something change on the user interface?
If so, could you attach screenshots to the PR? (Ideally a before/after comparison).
We do this for UI PRs to get a better sense of what's changed and how to review the PR.

screenshots added

@marcin-l-tsh Does something change on the user interface?
If so, could you attach screenshots to the PR? (Ideally a before/after comparison).
We do this for UI PRs to get a better sense of what's changed and how to review the PR.

screenshots added


wav2vec Unsupervised  scripts/vads.py speed

the ori code to vad the wavs code didn't use multiprocessing:
python scripts/vads.py -r $RVAD_ROOT < /path/to/train.tsv > train.vads
so it really slow to handle massive wavs,i add the multiprocessing_code,and it will use multiprocessing and i found it can work well.
it's the modified mutiprocessing code:
#!/usr/bin/env python3 -u
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
    import argparse
    import sys

    from copy import deepcopy
    from scipy.signal import lfilter

    import numpy as np
    from tqdm import tqdm
    import soundfile as sf
    import os.path as osp

    from multiprocessing import Pool
    from functools import partial

    def get_parser():
        parser = argparse.ArgumentParser(description="compute vad segments")
        parser.add_argument(
            "--rvad-home",
            "-r",
            help="path to rvad home (see https://github.com/zhenghuatan/rVADfast)",
            required=True,
        )

        parser.add_argument('--ori_file',type=str,help='path to tsv file',required=True)
        parser.add_argument('--vad_file',type=str,help='gene vad file',required=True)
        parser.add_argument('--cpus',type=int,default=40,help='multi processing num of cores')

        return parser

    def rvad(path):
        winlen, ovrlen, pre_coef, nfilter, nftt = 0.025, 0.01, 0.97, 20, 512
        ftThres = 0.5
        vadThres = 0.4
        opts = 1

        import speechproc
        path = '/data/2021-06-07/' + path.split('\t')[0]

        data, fs = sf.read(path)
        assert fs == 16000, "sample rate must be 16khz"
        ft, flen, fsh10, nfr10 = speechproc.sflux(data, fs, winlen, ovrlen, nftt)

        # --spectral flatness --
        pv01 = np.zeros(ft.shape[0])
        pv01[np.less_equal(ft, ftThres)] = 1
        pitch = deepcopy(ft)

        pvblk = speechproc.pitchblockdetect(pv01, pitch, nfr10, opts)

        # --filtering--
        ENERGYFLOOR = np.exp(-50)
        b = np.array([0.9770, -0.9770])
        a = np.array([1.0000, -0.9540])
        fdata = lfilter(b, a, data, axis=0)

        # --pass 1--
        noise_samp, noise_seg, n_noise_samp = speechproc.snre_highenergy(
            fdata, nfr10, flen, fsh10, ENERGYFLOOR, pv01, pvblk
        )

        # sets noisy segments to zero
        for j in range(n_noise_samp):
            fdata[range(int(noise_samp[j, 0]), int(noise_samp[j, 1]) + 1)] = 0

        vad_seg = speechproc.snre_vad(
            fdata, nfr10, flen, fsh10, ENERGYFLOOR, pv01, pvblk, vadThres
        )
        return vad_seg, data

    def main():
        parser = get_parser()
        args = parser.parse_args()

        sys.path.append(args.rvad_home)

        stride = 160
        # lines = sys.stdin.readlines()
        # root = lines[0].rstrip()

        num_lines = sum(1 for line in open(args.ori_file, 'r', encoding="utf8"))
        rf = open(args.ori_file, 'r', encoding="utf8").readlines()
        wf = open(args.vad_file, 'a+', encoding="utf8")

        p = Pool(args.cpus)

        func = partial(rvad)

        for rslt in tqdm(p.imap(func, rf[1:], chunksize=20),total=num_lines-1):
            vads, wav = rslt

            start = None
            vad_segs = []
            for i, v in enumerate(vads):
                if start is None and v == 1:
                    start = i * stride
                elif start is not None and v == 0:
                    vad_segs.append((start, i * stride))
                    start = None
            if start is not None:
                vad_segs.append((start, len(wav)))

            print(" ".join(f"{v[0]}:{v[1]}" for v in vad_segs))
            wf.write(" ".join(f"{v[0]}:{v[1]}" for v in vad_segs)+'\n')

        # for fpath in tqdm(lines[1:]):
        #     path = osp.join(root, fpath.split()[0])
        #     vads, wav = rvad(speechproc, path)
        #
        #     start = None
        #     vad_segs = []
        #     for i, v in enumerate(vads):
        #         if start is None and v == 1:
        #             start = i * stride
        #         elif start is not None and v == 0:
        #             vad_segs.append((start, i * stride))
        #             start = None
        #     if start is not None:
        #         vad_segs.append((start, len(wav)))
        #
        #     print(" ".join(f"{v[0]}:{v[1]}" for v in vad_segs))

    if __name__ == "__main__":
        main()

you can run this code in the terminal:
python3 scripts/vads.py -r $RVAD_ROOT --ori_file= --vad_file=train.vads
I just want let sb who interested in in wav2vec unspuervided to know you can use multiprocessing and it will save your a lot time to processing data.

@ZhaoJiangJie
very useful. Can you leave a contact information, I have some other questions about wav2vec-u

@ZhaoJiangJie very useful. Can you leave a contact information, I have some other questions about wav2vec-u

thanks for  your attention,I'm not very familiar with wav2vec-u,but I'm interested in this way that use semi-supervised or unsupervised learning in ASR,we can make some discuss about it,my email is<EMAIL_ADDRESS>,or<EMAIL_ADDRESS>is ok.


Performing gitops install fails with bad credentials

Describe the bug
I am following the getting started guide and when i do this:
gitops install --config-repo git@github.com:richardcase/gitops-config.git

I get the following error:

Environment

gitops: 0.6.0

kubernetes:  1.21.1

[x] KinD - v0.11.1

Browser + version: n/a

Affects versions
To Reproduce
Following the quickstart guide
Expected behavior
I would expect the gitops install command to succeed. Also i see nothing in the quickstart guide around credentials/auth for GitHub.
Config and Logs
If applicable, add logs to help explain your problem. please compress the output before attaching

[ ] gitops config
[ ] gitops cli call output (and parameters)
[ ] gitops-controller logs
[ ] Events from wego-* namespaces
[ ] kubectl cluster-info dump
[ ] Prometheus alerts
[ ] Flux logs

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

this looks like you have $GITHUB_TOKEN set in your environment, but the token is not valid (expired perhaps). Without this set, you would be directed to login via your browser - hence why no mention in the getting started guide (less pre-requisites). The CLI would prompt on any use of the device flow login that you can avoid this by setting $GITHUB_TOKEN. However, we should add a specific page/topic detailing the setting of the token.

It was GITHUB_TOKEN being set in the environment. I've unset it and the device login flow starts. I think some sort of docs in this area will help.
Oh dear now i have an knownhosts: key mismatch error :(

@sympatheticmoose - should i close this and create a new issue around the docs?

@richardcase were you able to resolve the known_hosts issue and was there any guidance we could add / changes we could make as a result?
For docs around the setting of GITHUB_TOKEN yes a new issue in the docs repo would be great to track.

Closing and will create an issue in the docs repo


Add mustSpendAtLeast Constraint tests

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Formatting, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reference the ADR in the PR and reference the PR in the ADR (if revelant)
[ ] Reviewer requested

I would also add a test case which results in a failing validation script.

I would also take add (duplicate?) the test cases for the plutus-tx-constraints library. We do something similar in here #640


Does this actually work cause I can’t get it to

Please help

It works for a specific subset of the standard NIF format that MapleStory 2 uses. I made it to cover a weak spot that Noesis didn't cover with exporting mesh morph shapes, but I didn't go very far with it outside of that small niche.
What version or branch of the format is the model that you're trying to convert using & what kinds of nodes do you expect it to export? If you aren't sure, NifSkope is a good tool for reading the structure & data in NIF files & it's what I used as a reference when making this tool.

I am trying to make a fallout 4 outfit mod

Ah yeah. If I'm not misremembering I believe the Bethesda branches of the format are going to be different than the stock Gamebryo one. I recommend sticking to the standard Fallout 4 modding tools for that purpose. NifSkope is still a good place to start for viewing the file structure, but you're gonna wanna use resources more tailored to FO4's structure and workflow.


Option for deleting a particular item in History

Summary:
There is an option  for deleting all the scan history, but there may be some users who might want to delete only a particular product from their history.
Steps to reproduce:
Menu -> History
Expected behavior:
We can improvise the feature by selecting the product we want to delete by long pressing it and then pressing the delete button.
Screen-shots:
A small example of what i'm trying to say.

@toelmon Nowadays apps come with option to delete by a swipe action . So as an enhancement we may allow a user a delete by swiping a item across the screen . It may lead to a better User Experience as the user need not have to long press a item and delete it .

@PrajwalM2212  that's a really nice idea, it is much more convenient :)

May I work on this issue?

Hi @AbsolutelySaurabh, I am working on it :)


Add json/add/exception methods to json.rbi

Adds methods defined in https://github.com/flori/json/blob/master/lib/json/add/exception.rb to json.rbi
Motivation

https://github.com/Homebrew/brew/issues/16557
Test plan

Tested in above repo

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_PU3upww8OOdKkB
→ https://go/builds/bui_PU3vxhRgB0Res7
→ https://go/builds/bui_PU3vMhyMh3GjeK


[test] Fix test for cases where TMPDIR shares a prefix with CWD

There is code in IRGenDebugInfo.cpp (1) that tries to move the common part of the filename into the directory. If this test is build with a temporary directory that shares a prefix with the current working directory, the common part of the path will be moved into directory, but since the test checks for an empty directory, it will fail the test, even if the results are correct. This situation is not uncommon in CI setups where each job might have an isolated temporary directory sharing a prefix with the current working directory (example: /ci/build/XXX/tmp and /ci/build/XXX/cwd).
Modify the regex to allow anything in the directory value, since it is not really important for the test to prove that the debug information is generated.`

@swift-ci please smoke test


Support server control of engine config

1. Describe the feature
Now, client can overwrite resouce and other spark config by beeline. We can support that server control cofing(resource and other) of engine for each beeline user. In addition, provide a custom config manager interface for kyuubi server user to define their own manager.
2. Motivation
3. Describe the solution
4. Additional context

Some of these can be done with kyuubi.session.conf.restrict.list and kyuubi.session.conf.ignore.list?

@yaooqinn: different from these two configurations. As I understand it, for example resource manager, users start engine with the same resource size when use  these two config to restrict or ignore related configuration. We want to provide different configs for each user.

For now,

kyuubi.engineEnv.SPARK_CONF_DIR can be used to point isolated spark configuration environment
https://kyuubi.apache.org/docs/latest/deployment/settings.html#user-defaults can be also used for custom user defaults

I am not sure whether they can meet you demands. New thoughts are welcome

I think there can be some improvements:

we need to restart we config change or a new user come, i think we can use zk to manager configs for users
we can support custom resource manger. In my case, i have a restful config provider.
restrict.list or ignore.list just support complete config, spark.* will not work


Add bid/vouch info to suspended list

As the title says, this PR adds bid/vouch info to the suspended list. It also includes some improvements to the candidates page so it looks more user-friendly and standardized with the other pages/elements.

 Add type of bid and quantity to suspended candidates list


[DOCFIX] Cherry-pick Improve Configuration webpage with cluster default (#7491)

Improve Configuration webpage with cluster default

Address comments

Further cleanup

Merged build finished. Test PASSed.

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


Fix for : enhance asio detection error message #208

rephrased the error message and made it more user friendly

This pull request is now managed with CodeReviewHub. Refresh.

Current coverage is 72.29% (diff: 100%)

Merging #387 into master will not change coverage

@@             master       #387   diff @@
==========================================
  Files           214        214
  Lines          6674       6674
  Methods        1447       1447
  Messages          0          0
  Branches        845        845
==========================================
  Hits           4825       4825
  Misses         1382       1382
  Partials        467        467

Powered by Codecov. Last update 12bfd67...bef14a1

As explained in the associated issue, we forgot to close this a while ago. Sorry for the confusion.


strcpy_s to strncpy

It seems that strcpy_s is not in c++ standard.

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

ID: db9f5429-d3ce-3c6c-cd5a-3f7ea5389677
Version Independent ID: 4c5e1cca-316f-8488-ab0c-110013b51d42
Content: References to Pointers
Content Source: docs/cpp/references-to-pointers.md
Product: visual-cpp
GitHub Login: @mikeblome
Microsoft Alias: mblome

The strcpy_s function was originally a Microsoft extension to C and C++, one of the security-enhanced CRT functions created to make it more difficult to write code that overruns a buffer. These new functions were proposed to the ISO C and C++ standards committees, and some have been adopted in C11, including strcpy_s. (Unfortunately, some of the other functions were adopted with different signatures, or different names, so you need to be careful when moving code that uses them to other platforms.) Some of the C11 CRT was adopted by C++17, but I don't think these functions were included. I understand it's under consideration for C++20.


Monthly Chat Agenda April 2022 (2022-04-04 and 2022-04-18)

This is the Agenda for the Monthly CRS Chat.
The general chat is going to happen on https://owasp.slack.com in the channel #coreruleset on Monday, 2022-04-04, at 20:30 CET. That's the 1st Monday of the month. A separate issue chat is happening at the same location, same time on Monday, 2022-04-18. That's the 3rd Monday of the month. Please note that we have a CRS calendar (maintained by @fzipi).
Items on the Agenda:  (see previous meetings decisions: here)
What happend in the meantime since the chat last month
Outside development

Blogpost about ImpressCMS weaknesses that also describes a CRS false negative at PL1 via a prepared statement and omitting whitespace.
@airween published a first version of a service to read rule documentation at https://crsdoc.digitalwave.hu/parse.html
Good Summer of Code application has found a lot of interest with contact with 8 students

PRs that have been merged since the last meeting

#2457
#2467
#2456
#2436
#2363
#2459
#2451
#2461
#2465
#2454
#2444
#2439
#2442
#2441
#2448
#2445
#2426
#2432
#2430
#2406
#2322
#2408

We merged 22 PRs since the last monthly project chat.
Open PRs

#2464 good to go?
#2460 good to go?
#2455
#2437 BIG, needs thorough review
#2429 good to go?
#2425 good to go?
#2423 conflict, otherwise good to go?
#2417 Preliminary reviews look good. Reporting question open.

Open PRs marked DRAFT or work in progress or needs action

#2349 final open point about stricter sibling, otherwise good to go
#2422 waiting for review
#2303 draft
#2302 draft
#2301 draft
#2290 needs action
#2217 needs action
#2067 draft
#1975 new traffic on this PR

Open Non-Core PRs

Contributed pgAdmin rule exclusion plugin: https://github.com/coreruleset/plugin-registry/pull/9

Dev retreat topics

Demo / Sandbox site:

/juiceshop backend is active and running in production.
all requests that match a rule under /juiceshop receive a 403 Forbidden with the usual JSON/CSV/TXT output.
I’m writing an HTML matched rules output that should be the default output format for /juiceshop.
There’re some FPs on juiceshop and we should develop an exclusion rule set for it (for example allow PUT method).
Since there’re RCE and SQLi vulnerabilities, we need to find a clean solution to “factory reset” the backend (maybe a crontab job that kills the container and recreates it via docker-compose).

Documentation:

:bar_chart: Anomaly scoring content: still stuck at 99% complete. Now has feedback from @dune73. Needs re-visiting.
:wrench: Development section: now in a PR! @theseion has left some comments, which need to be looked into.

Help required with the following headings:

When and Why to Anchor Regular Expressions
Lazy Matching
Writing RE2-compatible Regular Expressions

Testing section: ported from the wiki.

:fire_engine: Engine options and integrations: still todo.
:broom: Final tidy up: todo, needs everything else to be finished first.

Technical Blog Posts: FIXME

Status page: There has not been additional progress in the Status page project.

Coraza: FIXME

Other items

:electric_plug: Plugins: Should they be allowed to set global (server context) ModSec/engine settings (e.g. SecCollectionTimeout)?
Plugin activation / disabling per VH?
Feature Freeze

Open Issues - Separate Issues Meeting (Monday, FIXME)
Status of issues covered last month

Issue slot 1: #2449
Issue slot 2: #2450
Issue slot 3: #2447
Issue slot 4: #FIXME
Issue slot 5: #FIXME
Issue slot 6: #FIXME
Issue slot 7: #FIXME
Issue slot 8: #FIXME
Issue slot 9: #FIXME
Issue slot 10: #FIXME

Stats

Covered in chat: FIXME
Closed: FIXME
Pending: FIXME

This month's issues
There are FIXME open issues at the beginning of the issue chat.
We generally cover 10 issues per month in a separate issue meeting. Add them as you see fit.

Issue slot 1: #FIXME
Issue slot 2: #FIXME
Issue slot 3: #FIXME
Issue slot 4: #FIXME
Issue slot 5: #FIXME
Issue slot 6: #FIXME
Issue slot 7: #FIXME
Issue slot 8: #FIXME
Issue slot 9: #FIXME
Issue slot 10: #FIXME

How to get to our slack and join the meeting?
If you are not yet on the OWASP Slack, here is your invite: https://owasp.org/slack/invite .
Everybody is welcome to join our community chat.

Decisions
PRs

#2464 good to go?
#2460 good to go?
#2455
#2437 BIG, needs thorough review
#2429 good to go?
#2425 good to go?
#2423 conflict, otherwise good to go?
#2417 Preliminary reviews look good. Reporting question open.

Dev retreat topics
Other items
Issues

Discussed in the previous meeting:
#2423 depends on https://github.com/coreruleset/coreruleset/pull/2422 that still needs a review by @franbuehler and @airween.

@dune73 Can this be closed? Thanks.

Absolutely. Thanks.


Luis Features are created, but not visible

I am currently working on a Luis application, which has up to 100 Features (aka Phrase Lists) and 145 intents. I got to a point where I'm being able to create new interchangeable, not-global Features normally, but they do not display in the application. Whenever I try to create another one with the same name, I have the error message saying that there's another Phrase List with the same name. I'm very far from reaching Luis limits regarding number of intents and phrase lists.
I'm currently on a S0 - Standard Tier, and I'd love some help on this.

Please post this issue in the current repo - https://github.com/Azure-Samples/cognitive-services-language-understanding.  Closing because this repo is archived.


[hw/aes] Support IV save/restore flows

The software implementation of the crypto library that wraps the AES interface expects the IV register to be readable and updated after each block operation. This is to support AES context switching for long running operations at the API level, as well as to facilitate the implementation of additional decoy operations which may be needed to meet our hardening goals of the crypto library.
Currently the IV registers are not readable to software, so this issue is to request required changes to enable this use case.

CC: @vogelpi, @jadephilipoom

Thanks @moidx for creating the issue. Making the IV register readable can certainly be done but it might have security implications. I thus suggest to protect it with a regren bit. Does this sound reasonable to you?

@vogelpi would this regren imply that when it is set to '0', we will not be able to do IV save / restore as mentioned?

Yes. I just thought we could ask software to first set the read enable before reading the IV and then disable it again in order to continue encryption/decryption. Just to make a little bit harder to extract the IV at any given point because the IV should actually be treated as a secret as well. But it depends on the thread model whether we want to add the regren.

@cdgori
that sounds okay to me. My understanding of IVs in general is that they are not secrets.
Could we file an issue to enhance this later?

@martin-lueker

Hi Everyone, is the P1 priority accurate for this?

Hi @martin-lueker, yes, this is something we definitely need to support the crypto library use cases.

Okay, thanks for confirming.

Closing as the corresponding PR #10996  has been merged.

@cdgori that sounds okay to me. My understanding of IVs in general is that they are not secrets.
Could we file an issue to enhance this later?

Sorry for late comment - this is my understanding as well.
It is also not surprising to me that we need to support these flows given the way data is processed in some of the AES modes.


Have a color for the ICON in bridge for missing SLO

Is your feature request related to a problem? Please describe.
When there is missing SLO file, the pipeline will stop, but the ICON and task shows no indication unless you review the JSON results.
Describe the solution you'd like
To make it stand out, have the ICON in bridge be RED when missing SLO file and/or other issues with quality gate processing
Describe alternatives you've considered
None
Additional context

It's not an error if the SLO file is missing. However Keptn's Bridge should show the result message more prominent.


remmina: 1.3.7 -> 1.3.8

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/remmina/versions.
meta.description for remmina is: '"Remote desktop client written in GTK"'.
meta.homepage for remmina is: '"https://gitlab.com/Remmina/Remmina"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.3.8 with grep in /nix/store/gbwbh0p91qqhypb1zdiwk2zkph1v5ipg-remmina-1.3.8

directory tree listing: https://gist.github.com/05d5cfba2bb35a69b91f75d9fcb0cf5c

du listing: https://gist.github.com/fcd87e5ab8a2a88fd136d543769c621e

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

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
remmina

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gbwbh0p91qqhypb1zdiwk2zkph1v5ipg-remmina-1.3.8 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A remmina https://github.com/r-ryantm/nixpkgs/archive/fbbec90129677bd31036160a27bfc1144ca7db24.tar.gz

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

cc @melsigl @ryantm for testing.

LGTM, tested VNC and RDP. Fixes #76350.


Showcase Submission for challenges/86-cube-wave-by-bees-and-bombs

Thank you Terence Grover for your contribution! A member of the Coding Train team will review it shortly.

Pastel Cube Wave
Terence Grover

So lovely!


Fire tiara clips head.

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
Fire tiara clips through head.
To Reproduce
Steps to reproduce the behavior:

Wear fire tiara.
Observe clipping.

Screenshots

Environment (please complete the following information):

OS: Windows 10
RuneLite version: 1.7.24
Launcher version: 2.1.7

Clips without the plugin too, sorry.


Rotate by one

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
This is a amazon interview question involving data structures concept.
Pitch
This is a amazon interview question involving data structures concept.

I am gssoc21 participant and I want to contribute in cpp

/assign

/assign


VM2 MVP

This massive PR adds an MVP new smart contract execution engine based on wasmer.
This aims to address some long-standing issues with the current engine as well as improve developers' experience:

URef once granted is forever and can't be reclaimed. The new engine does not support these.
As a consequence purses are not exposed to the user (purses == special urefs)
There were ~53 host functions in old execution engine. The new engine aims to be thoughtful when adding new host functions.
Often there were inefficiencies when passing the data from host to wasm and back
Isolation of implementation details from the Wasm SDK
Encouraged high-level code (think of struct Contract, trait SharedBehavior), low-level also possible and is easy to explain
When going high-level users shouldn't be concerned with low details (no more no_mangle, pub extern "C", e
Introduces missing features

payable entrypoints
contract schemas
unit testing

And more
Example contract:
#[casper(contract_state)]
struct Counter {
  count: u64
}

#[casper]
impl Counter {
  #[casper(constructor)]
  pub fn new(initial_value: u64) {
    Self {
      count: initial_value
    }
  }
  pub fn counter_inc(&mut self) {
    self.count += 1;
  }
  pub fn counter_get(&self) -> u64 {
    self.count
  }
}

#[cfg(test)]
mod tests {
  #[test]
  fn counter_works() {
    let mut counter = Counter::default();
    let before = counter.counter_get();
    counter.counter_inc();
    let after = counter.counter_get();
    assert!(after > before);
  }
}

There's self-contained example contract located here https://github.com/mpapierski/vm2-flipper/ that currently pulls the deps through git. There will be more self-contained example contracts as the time goes.
In general, smart contract developers from similar backgrounds should feel productive early on.
Another benefit of the new engine is that it brings us closer in performance to other leading blockchains, has a smaller footprint, and is easier to maintain and explain to the users.
This PR lays the foundation for the MVP new engine at the core level, but at the same time allows you to spin up nctl network and start write smart contracts, and execute contracts with the new runtime target.

bors r+

The required new execution engine support for casper-client-rs has been added via PR #199

The follow-on ticket, to address any additional new VM changes/updates will be tracked using https://github.com/casper-network/casper-node/issues/4962


BetterBeds & FastChest not removed in 2.1.0-beta.3

Describe the bug
In the changelog for 2.1.0-beta.3, BetterBeds & FastChests were supposedly removed. However, they're both still present in the Packwiz config.
From what I can tell, this doesn't cause any issues, but should still be addressed. This issue is similar to #97.
Expected behavior
BetterBeds & FastChest were both removed.
Observed/actual behavior
BetterBeds & FastChest are still present.
Steps To Reproduce
Install 2.1.0-beta.3
Modpack version
2.1.0-beta.3
Launcher
MultiMC
Install method
Fresh install/new profile
Additional context
No response

Thank you. I guess I should clear up the packwiz mods folder every time before adding new ones 😄


tensorflow 2.0 tf.linalg.normalize yields nan

tf.linalg.normalize(np.zeros([10, 4]), ord=1, axis=-1) yields nan as below
(<tf.Tensor: id=58, shape=(10, 4), dtype=float64, numpy=
array([[nan, nan, nan, nan],
[nan, nan, nan, nan],
[nan, nan, nan, nan],
[nan, nan, nan, nan],
[nan, nan, nan, nan],
[nan, nan, nan, nan],
[nan, nan, nan, nan],
[nan, nan, nan, nan],
[nan, nan, nan, nan],
[nan, nan, nan, nan]])>,
<tf.Tensor: id=57, shape=(10, 1), dtype=float64, numpy=
array([[0.],
[0.],
[0.],
[0.],
[0.],
[0.],
[0.],
[0.],
[0.],
[0.]])>)

I know this is caused by divide by 0, so in the future tensorflow should make this operation more numerically stable.

I have tried on colab with TF version 2.0 ,2.1.0-rc1 and was able to reproduce the issue.Please, find the gist here. Thanks!

This seems to be working as intended. How would you normalize 0? The NaN tell you that you tried something that is not well defined, exactly as intended.

@hyperji You can use tf.math.l2_normalize instead. ( https://www.tensorflow.org/api_docs/python/tf/math/l2_normalize )


Unable to upgrade database from 5.6 to 5.8

Description
It seems, that something wrong with the migration script, or I have specific case.
During run onedb upgrade, I've get the following error:
Mysql2::Error: Incorrect string value: '\xC4\x9B\xC5\xA1\xC4\x8D...' for column `opennebula`.`vm_pool`.`short_body` at row 1
/usr/lib/ruby/vendor_ruby/mysql2/client.rb:120:in `_query'
/usr/lib/ruby/vendor_ruby/mysql2/client.rb:120:in `block in query'
/usr/lib/ruby/vendor_ruby/mysql2/client.rb:119:in `handle_interrupt'
/usr/lib/ruby/vendor_ruby/mysql2/client.rb:119:in `query'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:137:in `block in _execute'
/usr/lib/ruby/vendor_ruby/sequel/database/logging.rb:38:in `log_connection_yield'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:132:in `_execute'
/usr/lib/ruby/vendor_ruby/sequel/adapters/utils/mysql_mysql2.rb:38:in `block in execute'
/usr/lib/ruby/vendor_ruby/sequel/connection_pool/threaded.rb:87:in `hold'
/usr/lib/ruby/vendor_ruby/sequel/database/connecting.rb:269:in `synchronize'
/usr/lib/ruby/vendor_ruby/sequel/adapters/utils/mysql_mysql2.rb:38:in `execute'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:72:in `execute_insert'
/usr/lib/ruby/vendor_ruby/sequel/dataset/actions.rb:1101:in `execute_insert'
/usr/lib/ruby/vendor_ruby/sequel/dataset/actions.rb:398:in `insert'
/usr/lib/one/ruby/onedb/local/5.6.0_to_5.7.80.rb:207:in `block (2 levels) in feature_2489_2671'
/usr/lib/ruby/vendor_ruby/sequel/dataset/actions.rb:151:in `block in each'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:238:in `block (2 levels) in fetch_rows'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:238:in `each'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:238:in `block in fetch_rows'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:152:in `_execute'
/usr/lib/ruby/vendor_ruby/sequel/adapters/utils/mysql_mysql2.rb:38:in `block in execute'
/usr/lib/ruby/vendor_ruby/sequel/connection_pool/threaded.rb:87:in `hold'
/usr/lib/ruby/vendor_ruby/sequel/database/connecting.rb:269:in `synchronize'
/usr/lib/ruby/vendor_ruby/sequel/adapters/utils/mysql_mysql2.rb:38:in `execute'
/usr/lib/ruby/vendor_ruby/sequel/dataset/actions.rb:1085:in `execute'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:273:in `execute'
/usr/lib/ruby/vendor_ruby/sequel/adapters/mysql2.rb:236:in `fetch_rows'
/usr/lib/ruby/vendor_ruby/sequel/dataset/actions.rb:151:in `each'
/usr/lib/ruby/vendor_ruby/sequel/database/dataset.rb:51:in `fetch'
/usr/lib/one/ruby/onedb/local/5.6.0_to_5.7.80.rb:199:in `block in feature_2489_2671'
/usr/lib/ruby/vendor_ruby/sequel/database/transactions.rb:204:in `_transaction'
/usr/lib/ruby/vendor_ruby/sequel/database/transactions.rb:179:in `block in transaction'
/usr/lib/ruby/vendor_ruby/sequel/connection_pool/threaded.rb:91:in `hold'
/usr/lib/ruby/vendor_ruby/sequel/database/connecting.rb:269:in `synchronize'
/usr/lib/ruby/vendor_ruby/sequel/database/transactions.rb:145:in `transaction'
/usr/lib/one/ruby/onedb/local/5.6.0_to_5.7.80.rb:198:in `feature_2489_2671'
/usr/lib/one/ruby/onedb/local/5.6.0_to_5.7.80.rb:43:in `up'
/usr/lib/one/ruby/onedb/onedb.rb:232:in `apply_migrators'
/usr/lib/one/ruby/onedb/onedb.rb:179:in `upgrade'
/usr/bin/onedb:389:in `block (2 levels) in <main>'
/usr/lib/one/ruby/cli/command_parser.rb:470:in `run'
/usr/lib/one/ruby/cli/command_parser.rb:84:in `initialize'
/usr/bin/onedb:294:in `new'
/usr/bin/onedb:294:in `<main>'

Any ideas, how to solve it?
Details

Affected Component: onedb
Hypervisor: KVM
Version: 5.8

Additional context
Add any other context about the problem here.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

I'm not sure but I think might be connected with the specific UTF symbols.

Done, this is fix: https://github.com/OpenNebula/one/pull/3184

Thanks, we'll take a look at it!!! In the past we had several problems with the enconding affecting non-english users.

take a look, maybe better to place it in create_table method:
https://github.com/OpenNebula/one/blob/431cba56a3fdc1141b6899349621010b5b8478a7/src/onedb/database_schema.rb#L152-L166

This seems to be a problem because a wrong change in the encoding introduced in 5.6. It should not be an issue in current OPenNebula versions


Win11 can't use

When using win11 to open mikumikuworld, the application will have a white screen

Can you list down the version of MikuMikuWorld you are using and your system's language?

Closing due to inactivity


fix(kook): 增加 extra 字段(获取 user_info)

body 中的 user_info 字段需要传过来，将 body 放入 extra 中

Codecov Report

Merging #105 (0ada716) into master (ff5033d) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master     #105   +/-   ##
=======================================
  Coverage   81.83%   81.83%
=======================================
  Files           1        1
  Lines         424      424
  Branches       86       86
=======================================
  Hits          347      347
  Misses         77       77


Update the content of a Dataset in AzureML studio

In the execution of a job in my MLOps pipeline, I want to obtain a dataset's content, modify it, and upload the new content, overwriting the old content of the file. Is there any option to do it? I have tried different forms, such as using Dataset.Tabular.register_pandas_Dataframe, but it creates a new directory for the new file, and in my case, I need to replace the existing file.
from azureml.core import Dataset
dataset_test = Dataset.Tabular.from_parquet_files(path = [(ds, 'main.parquet')])
file_dataframe = dataset_test.to_pandas_dataframe()
file_path = 'test_dir/main.parquet'

file_dataframe['column'] = 'new_value'

file_dataset = Dataset.Tabular.register_pandas_dataframe(
    dataframe=file_dataframe,
    target=(ds, file_path),
    name='main.parquet',
    description='Test upload new file'
)

--
Detalles del documento
⚠ No edite esta sección. Se requiere para learn.microsoft.com ➟ Vinculación de problema de GitHub.

ID: ed683fb5-825c-23fa-ad73-02432e9ba89e
Version Independent ID: a45ba4d2-5789-5b99-3780-85c320baf1ab
Content: azureml.core.Dataset class - Azure Machine Learning Python
Content Source: AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.core.Dataset(class).yml
Service: machine-learning
Sub-service: core
GitHub Login: @DebFro
Microsoft Alias: **d

@sjLeonGalan
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

Im following this doc: https://learn.microsoft.com/es-es/python/api/azureml-core/azureml.core.dataset(class)?view=azure-ml-py #

@sjLeonGalan
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.


ssd1306 support

example tested on esp8266 with i2c ssd1306 128x64 OLED
runs without wifi

I could not get it to run with a timer or isr solution so just removed it, if using a ticker it will need to use flags and not execute code in the ISR

You can get various styles since its monochrome to make it a bit more interesting, one requires modifying a line in the library

It would be cool to update the main library to support actual piece outlines for monochrome mode, not just bocks, also the colon needs to be fixed to support outline mode


Support Amazon Linux 2

Description
This PR addresses #177. It changes the user data scripts such that they test whether the distribution is Amazon Linux 2 and, if so:

install docker from the "extras" bundles;
use systemd to start docker and awslogsd;

Migrations required
NO
Verification
Successully deployed GitLab runner and end executed a job using ami_filter = { name = ["amzn2-ami-hvm-2.0.*-x86_64-ebs"] }.
Documentation
I updated the README in _docs/README.md and manually updated the README.md in the root  folder.
The script ci/bin/autodocs.sh failed for me with error messages from terraform-docs like: Failed to read module directory: Module directory /tmp/terraform-docs.YY7w3Rt7Up does not exist or cannot be read.

@chludwig-haufe thanks, will check the PR in the next days. I also will have a look with the issue of generating docs.

Regarding the docs: I have terraform-docs v0.8.2 installed.
Since v0.8.0, terraform-docs claims to support the syntax of Terraform 0.12.x; maybe there is no need for the AWK scripts anymore...

Hello, I have a random error in this seccion eip.tpl of the process.
When run terraform apply  everything was fine, but occasionally the next error happen,

tail -200f /var/log/user-data.log

+ tee /etc/hosts
++ hostname
<IP_ADDRESS>   localhost localhost.localdomain ip-10-0-1-124.ec2.internal
+ echo 'installing additional software for assigning EIP'
installing additional software for assigning EIP
+ curl --fail --retry 6 -O https://bootstrap.pypa.io/get-pip.py
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:08 --:--:--     0curl: (7) Failed to connect to bootstrap.pypa.io port 443: Connection timed out

It really random error, can you analize it


More /processes route notes and clarifications.

Fix authentication.md links.

/azp run dotnet-monitor-ci


fix(sequencer): reject txs bigger than batch size

Description
Reject transactions bigger than the batch size from the mempool. Eliminates a misconfiguration issue where the sequencer would "choke" on a valid transaction bigger than batch size and never return a blob.
Testing
Added a test case for rejecting tx bigger than batch size

Grate work @rkrasiuk. Thx!


Does not work on the M2

https://github.com/dehydratedpotato/socpowerbud/blob/1a9b69136dba3c213f5a0875548da139bccaa0b8/README.md?plain=1#L203
The answer is regretfully no, it exits with a 133 code.

Confirming the same for me on M2 Max
sudo socpwrbud
zsh: trace trap  sudo socpwrbud

@JJ @sammcj finally got to it. Don't have an M2 machine to test but tried to fix some stuff up to make more portable in latest commit. Maybe it'll work now?

Great, thanks!
It builds in Xcode:
Profiling Apple M2 Max (T6021)...

0-Core PCPU
    Average frequency: 2023 mhz
    Active residency:  100.00 %
    Idle residency:    0.00 %

Integrated Graphics
    Average frequency: 444 mhz
    Active residency:  16.39 %
    Idle residency:    83.61 %

0-Core ECPU
    Average frequency: 1590 mhz
    Active residency:  100.00 %
    Idle residency:    0.00 %

0-Core PCPU1
    Average frequency: 1813 mhz
    Active residency:  100.00 %
    Idle residency:    0.00 %

Just note that the make seems broken though:
socpowerbud/socpwrbud [2] $ make                                                                                (mainU)
clang -fobjc-arc -funroll-loops -Ofast -arch arm64 -mmacosx-version-min=11.0 -o socpwrbud socpwrbud.m -lIOReport -framework Foundation -framework IOKit
socpwrbud.m:127:48: error: initializer element is not a compile-time constant
  127 | static const NSArray* performanceCounterKeys = @[ @"ECPU", @"PCPU", /* pleb chips (M1, M2, M3, M3 Pro) */
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  128 |                                                   @"ECPU0", @"PCPU0", @"PCPU1", /* Max Chips */
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  129 |                                                   @"EACC_CPU", @"PACC0_CPU", @"PACC1_CPU" /* Ultra Chips */];
      |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
socpwrbud.m:186:40: warning: 'kIOMainPortDefault' is only available on macOS 12.0 or newer [-Wunguarded-availability-new]
  186 |     if (!(IOServiceGetMatchingServices(kIOMainPortDefault, service, &iter) == kIOReturnSuccess)) return nil;
      |                                        ^~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:112:19: note: 'kIOMainPortDefault' has been marked as being introduced in macOS 12.0 here, but the deployment target is macOS 11.0.0
  112 | const mach_port_t kIOMainPortDefault
      |                   ^
socpwrbud.m:186:40: note: enclose 'kIOMainPortDefault' in an @available check to silence this warning
  186 |     if (!(IOServiceGetMatchingServices(kIOMainPortDefault, service, &iter) == kIOReturnSuccess)) return nil;
      |                                        ^~~~~~~~~~~~~~~~~~
socpwrbud.m:242:40: warning: 'kIOMainPortDefault' is only available on macOS 12.0 or newer [-Wunguarded-availability-new]
  242 |     if (!(IOServiceGetMatchingServices(kIOMainPortDefault, service, &iter) == kIOReturnSuccess)) return;
      |                                        ^~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:112:19: note: 'kIOMainPortDefault' has been marked as being introduced in macOS 12.0 here, but the deployment target is macOS 11.0.0
  112 | const mach_port_t kIOMainPortDefault
      |                   ^
socpwrbud.m:242:40: note: enclose 'kIOMainPortDefault' in an @available check to silence this warning
  242 |     if (!(IOServiceGetMatchingServices(kIOMainPortDefault, service, &iter) == kIOReturnSuccess)) return;
      |                                        ^~~~~~~~~~~~~~~~~~
2 warnings and 1 error generated.
make: *** [socpwrbud] Error 1

@sammcj sweet! for the make file ill just have to set the target to macosx 12.
But one thing does make me nervous about your output, are no core metrics working for the CPUs?
also, that out of order-ness of the gpu being under pcpu but above ecpu...its hurting my eyes lol


salesforce/salesforcedx:Latest can not be found.  Gitlab pipeline deployment is failing

Summary
salesforce/salesforcedx:Latest can not be found.  Gitlab pipeline deployment is failing
in our gitlab yml file we  have specified salesforce/salesforcedx  which should look for the latest tag. That has been working for a long time and it stopped working on Thursday Aug 12 .  We tried to update the sfdx and also force the tag version in the yml file
(tried all the followings )  but we recieve an error that Org can not be found .
docker pull salesforce/salesforcedx:7.113.1-full

docker pull salesforce/salesforcedx:latest-rc-full

docker pull salesforce/salesforcedx:7.113.0-full
docker pull salesforce/salesforcedx:latest-full

Error :
Successfully authorized
$ cd dx/crm
$ sfdx force:source:deploy -p force-app/main/default --targetusername $SF_CRMDEV_USERNAME --testlevel $SF_CRMDEV_TEST
ERROR running force:source:deploy:  The org cannot be found
Try this:
Verify that the org still exists
If your org is newly created, wait a minute and run your command again
If you deployed or updated the org's My Domain, logout from the CLI and authenticate again
If you are running in a CI environment with a DNS that blocks external IPs, try setting SFDX_DISABLE_DNS_CHECK=true
Running after_script
As a workaround I am forcing the version 7.81.0-full  and  deployment goes through .
we should not specify the Tag name in the command as this will be a manual work everytime there will be a updated version .
Latest should always point to latest version and deployment shouldn't fails
Also why the old version 8.81.0 works and any latest version give us an error "org can not be found "
SFDX CLI Version:
We have updated it to the latest version 7.113.0
OS and version:

cc @cristiand391 @WillieRuemmele looks like more docker issues
See related https://github.com/forcedotcom/cli/issues/1123

Encountered the same issue. Suddenly following Gitlab Pipelines config started failing:
image: salesforce/salesforcedx
After checking here https://hub.docker.com/r/salesforce/salesforcedx/tags I noticed there are two tags now:

latest-full
latest-slim

So I just updated my pipleine config to use the latest-slim and it works.
image: salesforce/salesforcedx:latest-slim

Thank you for the reply. I did try "latest-full"   I get this error  " org not found Error" .
Due to: Validation errors:
should have required property 'packageDirectories'
2021-08-17T15:03:47.236Z sfdx:SchemaValidator DEBUG Schema loaded for<EMAIL_ADDRESS>ERROR running force:source:deploy:  The org cannot be found
Try this:
Verify that the org still exists
If your org is newly created, wait a minute and run your command again
If you deployed or updated the org's My Domain, logout from the CLI and authenticate again
If you are running in a CI environment with a DNS that blocks external IPs, try setting SFDX_DISABLE_DNS_CHECK=true
*** Internal Diagnostic ***
Domain Not Found: The org cannot be found
at Connection.isResolvable (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:276:19)
at async Connection.retrieveMaxApiVersion (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:237:9)
at async Connection.useLatestApiVersion (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:248:32)
at async useLatest (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:406:13)
at async Connection.loadInstanceApiVersion (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:428:13)
at async Function.create (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:88:39)
at async Org.init (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/org.js:401:31)
at async Function.create (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/kit/lib/creatable.js:31:9)
at async SourceDeployCommand.assignOrg (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:109:24)
at async SourceDeployCommand.init (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:231:13)
at async SourceDeployCommand._run (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:80:13)
at async Config.runCommand (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@oclif/config/lib/config.js:173:24)
at async SfdxMain.run (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@oclif/command/lib/main.js:27:9)
at async SfdxMain._run (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@oclif/command/lib/command.js:43:20)
at async Object.run (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/dist/cli.js:162:47)

2021-08-17T15:03:47.251Z sfdx:SourceDeployCommand ERROR [
'ERROR running force:source:deploy: ',
'The org cannot be found',
'\n\nTry this:',
'\nVerify that the org still exists',
'\nIf your org is newly created, wait a minute and run your command again',
'\n' +
"If you deployed or updated the org's My Domain, logout from the CLI and authenticate again",
'\n' +
'If you are running in a CI environment with a DNS that blocks external IPs, try setting SFDX_DISABLE_DNS_CHECK=true',
'\n' +
'*** Internal Diagnostic \n' +
'\n' +
'Domain Not Found: The org cannot be found\n' +
'    at Connection.isResolvable (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:276:19)\n' +
'    at async Connection.retrieveMaxApiVersion (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:237:9)\n' +
'    at async Connection.useLatestApiVersion (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:248:32)\n' +
'    at async useLatest (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:406:13)\n' +
'    at async Connection.loadInstanceApiVersion (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:428:13)\n' +
'    at async Function.create (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/connection.js:88:39)\n' +
'    at async Org.init (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/core/lib/org.js:401:31)\n' +
'    at async Function.create (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@salesforce/kit/lib/creatable.js:31:9)\n' +
'    at async SourceDeployCommand.assignOrg (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:109:24)\n' +
'    at async SourceDeployCommand.init (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:231:13)\n' +
'    at async SourceDeployCommand._run (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/salesforce-alm/node_modules/@salesforce/command/lib/sfdxCommand.js:80:13)\n' +
'    at async Config.runCommand (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@oclif/config/lib/config.js:173:24)\n' +
'    at async SfdxMain.run (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@oclif/command/lib/main.js:27:9)\n' +
'    at async SfdxMain._run (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/node_modules/@oclif/command/lib/command.js:43:20)\n' +
'    at async Object.run (/usr/local/lib/nodejs/lib/node_modules/sfdx-cli/dist/cli.js:162:47)\n' +
'***\n'
]

Our team also started getting the "The org cannot be found" error. Usually re-running the pipeline fixes it for us.
For now I switched our piplenes to use the previous version of docker image:
image: salesforce/salesforcedx:7.111.6-full
Seems to work with no errors so far. Still monitoring.
Also "The org cannot be found" error is mentioned here https://github.com/forcedotcom/cli/issues/820
Hope this helps.

@mahbouf @PalGenadich We only provide 2 docker images (slim and full), we have stopped publishing latest images some months ago but it seems they weren't removed from dockerhub until last release, that's why you all get the error: manifest for salesforce/salesforcedx:latest not found: manifest.
We have confirmed that the latest tag that was available was published by our team, but since we stopped publishing it some months ago it's possible that it was using an outdated version of sfdx.
If you want to always use the latest version of sfdx you can use either latest-slim or latest-full (if you don't need node or jq, latest-slim is the recommended image since it only install sfdx from the linux tarball instead of an npm installation).
Regarding other errors when using latest-slim/full images, I will see if I can to reproduce them but I suspect these are caused by latest versions of sfdx.

Thanks for the reply!  As I stated in my previous messages I receive an error using latest-full or any other latest tag versions (I tried 4/5 different ones ) . we need to know why do we get an error and deployment failure using latest-full  and how to fix it .  The only version which finally worked was 7.81.0-full  which is an OLD version .
Thanks


add services guide to manage a swarm

Adds guide for creating services to Manage a swarm. Doesn't cover every option/not intended to be comprehensive, but a good start for most command line options. Would like to get something in along w/ 1.12 release.
Signed-off-by: Charles Smith<EMAIL_ADDRESS>

ping @mgoelzer , @stevvooe , @aaronlehmann

CI Errors expected until 1.12 tag is out

Thanks for the great feedback @aaronlehmann , @stevvooe . I think I've addressed your comments now.
@thaJeztah PTAL if you have time.
Would like to get this in for a publish later today.

LGTM

CI Errors are unrelated to this PR:
18:27:40 ERROR: 2016/07/29 18:27:40 content_renderer.go:56: LinkResolver: No page found for "/docker-for-mac/index.md" on page "machine/overview.md".
18:27:40 ERROR: 2016/07/29 18:27:40 content_renderer.go:56: LinkResolver: No page found for "/docker-for-windows/index.md" on page "machine/overview.md".
18:27:40 ERROR: 2016/07/29 18:27:40 content_renderer.go:56: LinkResolver: No page found for "/docker-for-mac/index.md" on page "machine/overview.md".
18:27:40 ERROR: 2016/07/29 18:27:40 content_renderer.go:56: LinkResolver: No page found for "/docker-for-windows/index.md" on page "machine/overview.md".
18:27:40 ERROR: 2016/07/29 18:27:40 content_renderer.go:56: LinkResolver: No page found for "/docker-for-mac/index.md" on page "toolbox/overview.md".
18:27:40 ERROR: 2016/07/29 18:27:40 content_renderer.go:56: LinkResolver: No page found for "/docker-for-windows/index.md" on page "toolbox/overview.md".

Thanks @sfsmithcha, left some nits, and questions inline. Some of my questions are probably out of scope for this PR, but something we need to address.

LGTM (perhaps address some of the nits, but no show-stoppers); we can do a follow up once we have input for the bigger changes

author merge


feat: Expose possibleTypes on cache

This PR exposes the possibleTypes of normalize allowing users to specify type inheritance
The field is released in 0.5.3 (see https://github.com/gql-dart/ferry/pull/199).
The map can be generated with graphql_codegen.
Breaking changes

None

Fixes / Enhancements

Added possibleTypes field to cache.
Passed possibleTypes to normalize.

Docs

Expose possibleTypes from normalize on cache.

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


edits

Category

[X] Content updates

Docs Build status updates of commit 0934f47:
:warning: Validation status: warnings

File
Status
Preview URL
Details

Community/microsoft365-maturity-model--intro.md
:warning:Warning
View
Details

Community/working-with-cascading-lists-in-sharepoint-and-powerapps.md
:warning:Warning
View
Details

.github/PULL_REQUEST_TEMPLATE.md
:white_check_mark:Succeeded

Community/TOC.md
:white_check_mark:Succeeded
View

Community/benefits-of-using-powershell-with-sharepoint.md
:white_check_mark:Succeeded
View

Community/glossary.md
:white_check_mark:Succeeded
View

Community/index.yml
:white_check_mark:Succeeded
View

Community/media/maturity-model-for-microsoft-365/M365MM.png
:white_check_mark:Succeeded
View

Community/media/maturity-model-for-microsoft-365/M365MMSquare.png
:white_check_mark:Succeeded
View

Community/media/maturity-model-for-microsoft-365/SPMMSquare.png
:white_check_mark:Succeeded
View

Community/microsoft365-maturity-model--collaboration.md
:white_check_mark:Succeeded
View

Community/microsoft365-maturity-model--communication.md
:white_check_mark:Succeeded
View

Community/microsoft365-maturity-model--people-and-communities-competency.md
:white_check_mark:Succeeded
View

Community/microsoft365-maturity-model--staff-and-training.md
:white_check_mark:Succeeded
View

SharePoint-News
:white_check_mark:Succeeded

Community/microsoft365-maturity-model--intro.md

Line 83, Column 3: [Warning-file-not-found] Invalid file link: 'microsoft365-maturity-model--collaboration'.
Line 84, Column 3: [Warning-file-not-found] Invalid file link: 'microsoft365-maturity-model--communication'.

Community/working-with-cascading-lists-in-sharepoint-and-powerapps.md

Line 13, Column 1: [Warning-link-out-of-scope] File 'media/working-with-cascading-lists-in-sharepoint-and-powerapps/working-with-cascading-lists-in-sharepoint-and-powerapps.gif' referenced by link 'media/working-with-cascading-lists-in-sharepoint-and-powerapps/working-with-cascading-lists-in-sharepoint-and-powerapps.gif' will not be built because it is not included in build scope.
Line 13, Column 1: [Suggestion-image-alt-text-duplicated] Alt text 'Demo-Cascading-Lists' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 23, Column 1: [Suggestion-alt-text-bad-value] Alt text 'Demo-Cascading-Lists' is the same as the image file name. This redundancy adds no value for users of screen readers. For accessibility, add more descriptive alt text. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 23, Column 1: [Suggestion-image-alt-text-duplicated] Alt text 'Demo-Cascading-Lists' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 84, Column 1: [Suggestion-image-alt-text-duplicated] Alt text 'Demo-Cascading-Lists-Formatting' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 90, Column 1: [Suggestion-image-alt-text-duplicated] Alt text 'Demo-Cascading-Lists-Formatting' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 94, Column 1: [Suggestion-image-alt-text-duplicated] Alt text 'Demo-Cascading-Lists-Formatting' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 102, Column 1: [Suggestion-image-alt-text-duplicated] Alt text 'Demo-Cascading-Lists-Formatting' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 110, Column 1: [Suggestion-image-alt-text-duplicated] Alt text 'Demo-Cascading-Lists-Formatting' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Skip pip check

Skipped pip check since the dependencies are different. In Plotly's recipe for this they just check the import as well.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

LGTM thanks. @bandersen23 want to be added as a maintainer?

Sure - done in #7. Thanks!

@conda-forge-admin, please rerender

@raybellwaves - I added myself. This should be good to go! Fixes #7.

Thanks @bandersen23


[AutoPR iotcentral/resource-manager] Add iotcentral version 2018-09-01

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3466

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/2256


How to send the photo in base64 and other data in json?

I need to send in this format json:
{ 	"DocCont":[{ 		"DocumentContent":"base64 string", 		"LeftEyeX":"String", 		"LeftEyeY":"String", 		"RightEyeX":"String", 		"RightEyeY":"String" 	}], 	"OrderId":"String", 	"Token":"String" }
I'm posting this is so:
`        let imgBase64 = imageData?.base64EncodedString(options: .lineLength64Characters)
let param: Parameters = ["DocCont": [
["DocumentContent": "(imgBase64)",
"LeftEyeX": "LeftEyeX",
"LeftEyeY": "LeftEyeY",
"RightEyeX": "RightEyeX",
"RightEyeY": "RightEyeY"
]
],
"OrderId": "myOrder",
"Token": "myToken"
]
    let url = "\(MyVariables.url)/TaxiCreditRestService/OrderService.svc/SendScan"

    Alamofire.request(url, method: .post, parameters: param, encoding: JSONEncoding.default, headers: nil).responseJSON { response in
        switch response.result {
        case .success(let value):
            let json = JSON(value)
            print("Client error: \(json["Error"])")
            print("Client IsOK: \(json["IsOK"])")
        case .failure(let error):
            print("error send scans: \(error)")
        }
    }

`
But I get the error "Code = 3840" Invalid value around character 3. "
How do I solve this problem?

I would try change to single quotes - and also unwrap the image data in case thats causing issues

Error 3840 means that the response wasn't proper JSON, so you need to investigate that further.
Also, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow and tag alamofire.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


Address::{is_ed25519_backed, backing_ed25519}

👍 was checking if we could use this somewhere already but doesnt seem so easily

I actually think we can but I'd do that when refactoring some parts.


Faster training compared to Monodepth2

Hi and thanks for sharing your code online!
When training my own models and comparing with the Monodepth2 framework, I noticed that CADepth-Net takes significantly less time to train with all parameters being the same - number of layers, epochs, type of training data, hardware.
For example, 6h53m for 20 epochs on monocular data with ResNet18 for both depth and pose. My MonoDepth model with the same settings took 11h19m, consistently over several tests.
To my understanding, you essentially took the Monodepth2 code and then added the SPM and DEM, so I wonder how that results in reduced training time.
Do you have an idea why this might be?

For faster image preprocessing, we use opencv+albumentations instead of pil+ torchvision which Monodepth2 uses, you can see datasets/mono_dataset.py for more details. And you can see this experiments for speed comparison.

Thanks for the fast reply!
Since according to the link you shared, cv2.imread is a lot slower than PIL.Image.open, I suppose the main load during training comes from other things where albumentations gives a speed boost, like image flipping and other data augmentation stuff.
I have another question though:
My Monodepth2 model took 11h23 with ResNet50 and 11h19 with ResNet18 -- barely any difference.
CADepth-Net however took 10h11 with ResNet50 and 6h53 with ResNet18.
I wonder how one model is almost invariant to the encoder size and the other one not?

we haven't compared the training time between the MonoDepth2 and CADepth-Net with different encoder,  but i think you can use some tools, like lineprofiler, to check the running speed for encoder, decoder and so on.


[Bug] refetchOnChangeExternalData doesn't work

QueryBuilder and InfiniteQueryBuilder refetches when externalData has changed but the setExternalData method isn't used to set the new instance of externalData inside QueryBowl.fetchQuery so QueryJob.task is run with the old externalData instance
References:

query_bow.dartl
use_query.dart
query_builder.dart

Hello @KRTirtho, Kindly fix this bug. I want to use this feature

@Arjun544 if you need it right now, you can use this commit https://github.com/KRTirtho/fl-query/commit/51cad709543a94229b4c670ef2ff31ad782bc586 for now

@KRTirtho I have a quick question regarding QueryJob.withVariableKey.
I have a use case in the app where the user has 2 types of profiles( fun & professional ), by default Im fetching details of the "fun" profile, but the user can change the type to professional from the profile page.
Currently, I'm using  QueryJob.withVariableKey for dynamic switching between fun and professional types. Everything is working fine but QueryJob.withVariableKey refetch data on a screen that is not even currently visible.
Is there any way I can refetch the data only when I navigate to the particular screen with QueryJob.withVariableKey?

Currently, like React-Query, fl-query doesn't support the glob path queryKey matching e.g. some-query-key*
Which can be used to refetch a group of queries at once
Since you know what are the dynamic params (fun / professional) are. You can manually do the refetching for now. You can do the following in the page where you want to refetch those queries
initState(){
  super.initState();
  WidgetBinding.instance.addPostFrameCallback((_) async {
     final bowl = QueryBowl.of(context);
     await bowl.getQuery(userQuery.withVariableKey("fun"))?.refetch();
     await bowl.getQuery(userQuery.withVariableKey("professional"))?.refetch();
   }
}

Or inside zero dependency useEffect
useEffect((){
  WidgetBinding.instance.addPostFrameCallback((_) async {
     final bowl = QueryBowl.of(context);
     await bowl.getQuery(userQuery.withVariableKey("fun"))?.refetch();
     await bowl.getQuery(userQuery.withVariableKey("professional"))?.refetch();
  }
 }, []);

Thank you, I will try to implement this approach.


Command handler custom exception resulting in NPE during commit phase when upgrading from 3.2.2 to 3.4.1

Recently upgraded from Axon 3.2.2 to Axon 3.4.1. When running tests, noticed that when exceptions are thrown from command handler, they are not being propagated. This was noticed when the test was expecting a custom business exception to be thrown, instead it was throwing NPE. The test looked something like this:
fixture.when(some_command).expectNoEvents().expectExcption().matcher(SomeCustomException)
On further debugging noticed that this was because failing because of the following piece of code in LockingRepository.java
@Override     protected void prepareForCommit(LockAwareAggregate<T, A> aggregate) {         Assert.state(aggregate.isLockHeld(), () -> "An aggregate is being used for which a lock is no longer held");         super.prepareForCommit(aggregate);     }
Since aggregate is "null", the Assert fails with a NPE.
PS: The same test was running fine in 3.2.2
Happy to share more code if needed.

Hi @cynic89, is the @CommandHandler that throws the exception, a constructor command handler, by any chance?

@abuijze yes, it is a constructor. Ah, so that's why the aggregate reference is null...


The tests for each component have not been implemented yet.

Description
Perform tests on each component.
Problem Statement/Justification
It is necessary to ensure quality during post-release changes as well.
Proposed Solution or API
Place a "tests" folder in each package and perform testing within that folder.
Alternatives
No response
Additional Information
No response

Hi!
I'm inclined to help create the test (of course I can't do it all very well lol).
Do you have a specific type of test in mind, whether it is a visual regression test or a snapshot test?
Will you discuss/review that as well in the future?

Fixed tests.


[RFE] GCP - Allow use of Atomic Hosts

FEATURE REQUEST
As far as I can see, there is no way to use Atomic Hosts with gcloud.sh. I think it would be very nice to have such a feature

I agree :-) Unfortunately, atomic host is not yet supported on GCP - but we are actively working on it.

I've been able to create an Atomic Host instance in GCP using the upload way. Not sure if something could be problematic on the medium/long term but it seemed to be working properly for what I tested.
I wonder if the same technique could be used or not. Also, if Atomic Hosts would be officially supported, maybe is better waiting slightly longer for that :)

Yes, it works, but not all GCP features are available on atomic host yet. For them to work, you need to have running https://github.com/pschiffe/gce-system-container
And of course, we want atomic host to be officially available in the GCP.


Parse ISO-8601 duration in bp samples

Description

It was discovered that the BP sample attribute value age_at_extraction is given in ISO-8601 duration format, e.g. "P1Y1M1D" (= 1 year, 1 month, 1 day) instead of simple integers signifying years or days or something. BP imaging beacon needs to compare these durations so it's necessary to parse these strings to integers. So in this PR that value is turned into an integer representing the number of days while also retaining the original value in originalValue key.
Related issues

Type of change

[x] New feature (non-breaking change which adds functionality)

Changes Made

added parsing method
updated bp sample json schema
updated unit tests

Testing

[x] Unit Tests

Mentions

It would be nice to have a changelog entry as well

Rebased with develop and updated changelog, which made the original approval stale.


[BUG][Users]: getUsers has wrong ordering

Description of the bug
getUsers has wrong ordering
Steps To Reproduce

Send request to get users that weren't cached before
Users that weren't cached will be bottom, but should be sorted

Additional Information
No response

To fix this, you should go to UsersRepository implementation and map ids to user entity by using cached and realtime entities.

Also, you should write tests to ensure that everything works as expected


delfin: 0.4.4 -> 0.4.5

Description of changes
Changelog:

Support Jellyfin 10.9 API
Support Jellyfin 10.9 trickplay
Account and server list design improvements - thanks to Ashley Rudelsheim
Show hours in video player timestamp
Add 1.75x playback speed
Keyboard navigation improvements
Translation updates from Weblate - thanks to Eryk Michalak, Fjuro, owofied, Tuba2, Vistaus, yanndvd, and yareg

Things done

Built on platform(s)

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 315670 run on aarch64-linux 1

1 package built:

delfin


prover: make sure the block sizes are sorted

Description
This pr will make sure the block sizes config in the prover are sorted.
Changes
Notable changes:

make sure the block sizes are sorted

/update-integration-keyfile

/update-integration-keyfile


Fix checking for service started status on Debian

service SERVICE_NAME status should return a 0 exit code when running, or non-zero when not running. Piping into grep swallows this, and serves no apparent purpose. This results in services always appearing running as long as the command outputs something including 'running' to stdout, including strings like 'SERVICE_NAME is not running'.

Easy fix: also check for "done", as init scripts are supposed to use the lsb functions, and check out line 118 here http://apt-browse.org/browse/ubuntu/trusty/main/all/lsb-base/4.1%2BDebian11ubuntu6/file/lib/lsb/init-functions.d/50-ubuntu-logging


updated crate plugin loader to reflect ES changes

made plugin loader backward compatible
re-added test plugins based on ES 2.x

ack