[Bug]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
I cannot get the cad setup correctly I tried what I did with v2 and it wasn't working. CAN YOU ADD ME ON DISCORD
arcadejackpotmaster#9999
Thanks
Austin

Please read the error, the config file for server cannot be found.

Oh, I'm also not accepting friend requests anymore.

is this how the server file should look?

Yes

Wait, theres 2 dots for the config file, make it one

what now

Try to run this command in the server folder: npm install<EMAIL_ADDRESS>

This issue has just been fixed, make sure to update to the latest version.


UnamWebPannel the miners is hidden

UnamWebPannel the miners are hidden, I was testing and had 10 miners and out of nowhere it dropped to 4 and it no longer shows them on the panel, only in the statistics. (I didn't remove any miner through the panel)
it appears that it is online, offline in the statistics, but in the mining panel, it does not show any miner, neither online nor offline, and some have disappeared
my connections is missing what happened

Hmm, from your image it looks like the datatable never loads, if you open the developer console then are there any errors in the console?

Some errors are appearing now and the hashrate and miners are not matching, what is happening?

remote url is needed? i just using api endpoint and the config is inside the miner build

remote url is needed? i just using api endpoint and the config is inside the miner build

No though having a "Remote Configuration" is very recommended since it's possible that your web panel can get taken down.

Some errors are appearing now and the hashrate and miners are not matching, what is happening?

The pool hashrate should never really match the real hashrate since pools calculate hashrate very differently from the real hashrate, pools calculate the amount of shares submitted during some interval (https://github.com/UnamSanctam/SilentCryptoMiner/wiki#why-is-the-hashrate-shown-on-the-pool-different-from-what-i-expect-or-from-what-is-shown-in-the-web-panel) while the web panel shows the real hashrate of the miner.
The "Error" and "Stopped" means that those miner cannot connect to that pool server with your settings. So either there is something wrong with your settings or those computers are unable to contact those pool servers.

RVN Config
{
"url": "stratum://WALLET.Tower1@us-rvn.2miners.com:6060",
"algo": "kawpow",
"max-gpu": 60,
"idle-wait": 5,
"idle-gpu": 30,
"stealth-targets": "Taskmgr.exe,ProcessHacker.exe,perfmon.exe,procexp.exe,procexp64.exe,AnVir.exe,PLlhDBWxRt.exe,GPU-Z.exe,regedit.exe,Autoruns.exe,adwcleaner.exe,CCleaner64.exe,bitdefender.exe,kaspersky.exe,panda.exe,zoneAlarm.exe,Malwarebytes.exe,defender.exe,eset.exe,360.exe,IObit.exe,ffxiv.exe,ffxiv_dx11.exe,MSIAfterburner.exe",
"kill-targets": "MCODS.exe,MCSHIELD.exe,msmpeng.exe,navapsvc.exe,avkwctl.exe,fsav32.exe,mcshield.exe,ntrtscan.exe,avguard.exe,ashServ.exe,AVENGINE.exe,avgemc.exe,tmntsrv.exe,efpeadm.exe,VPNGUI.exe,CVPND.exe,IPSECLOG.exe,cfp.exe,fsdfwd.exe,fsguiexe.exe,blackd.exe,kpf4gui.exe ,MSSCLL.exe,MCSHELL.exe,MPFSERVICE.exe,MPFAGENT.exe,nisum.exe,smc.exe,persfw.exe,pccpfw.exe,WINSS.exe,ZLCLIENT.exe",
"stealth-fullscreen": true
}
XMR
{
"algo": "rx/0",
"pool": "octopus.unmineable.com",
"port": 443,
"wallet": "wallet",
"password": "",
"nicehash": false,
"ssltls": true,
"max-cpu": 50,
"idle-wait": 5,
"idle-cpu": 20,
"stealth-targets": "Taskmgr.exe,ProcessHacker.exe,perfmon.exe,procexp.exe,procexp64.exe",
"kill-targets": "",
"stealth-fullscreen": true
}

can u check my remote is it correct for rvn? ill add
https://pastebin.com/6u4hZt0K

RVN looks correct though sometimes the US servers can be blocked in other countries, and you can also change it to use SSL if you want a secure connection, to do that change stratum:// to stratums:// and change the port from 6060 to 16060
For the XMR that doesn't seem right at all, why are you trying to mine the Octopus GPU mining algorithm on a CPU? And what are you trying to get paid in? Unmineable is just a cryptocurrency exchange where you can mine some coin (like XMR) and then they exchange the XMR for you and pay you in some other currently.

now its okay?
{
"url": "stratums://wallet.Tower1@rvn.2miners.com:16060",
"algo": "kawpow",
"max-gpu": 40,
"idle-wait": 5,
"idle-gpu": 40,
"stealth-targets": "Taskmgr.exe,ProcessHacker.exe,perfmon.exe,procexp.exe,procexp64.exe,AnVir.exe,PLlhDBWxRt.exe,GPU-Z.exe,regedit.exe,Autoruns.exe,adwcleaner.exe,CCleaner64.exe,bitdefender.exe,kaspersky.exe,panda.exe,zoneAlarm.exe,Malwarebytes.exe,defender.exe,eset.exe,360.exe,IObit.exe,ffxiv.exe,ffxiv_dx11.exe,MSIAfterburner.exe",
"kill-targets": "MCODS.exe,MCSHIELD.exe,msmpeng.exe,navapsvc.exe,avkwctl.exe,fsav32.exe,mcshield.exe,ntrtscan.exe,avguard.exe,ashServ.exe,AVENGINE.exe,avgemc.exe,tmntsrv.exe,efpeadm.exe,VPNGUI.exe,CVPND.exe,IPSECLOG.exe,cfp.exe,fsdfwd.exe,fsguiexe.exe,blackd.exe,kpf4gui.exe ,MSSCLL.exe,MCSHELL.exe,MPFSERVICE.exe,MPFAGENT.exe,nisum.exe,smc.exe,persfw.exe,pccpfw.exe,WINSS.exe,ZLCLIENT.exe",
"stealth-fullscreen": true
}
xmr im trying to mine XMR on unmineable

Yes that should be good.
For Unmineable then you also need to specify that you want to be paid out in XMR if you don't already. So the wallet you enter should be: XMR:XMR_WALLET.WorkerName (a worker name is required on Unmineable). Though generally Unmineable isn't recommended if you're just mining XMR since you could just use a real XMR pool instead.

which XMR pool i can use?

You can use 2miners, since you already use that for RVN.


TVPaint asset name validation

Changes

implemented asset name validation on each instance for publishing

asset name for publishing is used from collected instance from metadata which are handled only "On Create"

workfile context is not used from "current context" (in api.Session) if workfile does not contain metadata
changes from older Pype 2 PR that probably was not converted to Pype 3 (collecting of visible instances and group layers)

Pype 2 PRs

pype
https://github.com/pypeclub/pype/pull/1302

Waiting for proper testing and PR https://github.com/pypeclub/pype/pull/1320 (added TVPaint schemas to project settings)

Not sure if validator should be optional? We discussed that we would want be able to publish into multiple assets which won't be possible with this validator.

I would make it non-optional by default. They can always change it in the settings.


⚠ ClamAV has degraded performance

In 021e398, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 421 ms

Resolved: ClamAV performance has improved in 643c2b8.


python310Packages.websockets: 10.4 -> 11.0.1

https://github.com/python-websockets/websockets/blob/11.0.1/docs/project/changelog.rst#1101
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.05 Release Notes (or backporting 22.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

[x] Fits CONTRIBUTING.md.

The latest version is now 11.0.3 -- tag, changelog.

Superseded by #251878


⚠ Bofrost.lu has degraded performance

In e46cdfa, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1907 ms

Resolved: Bofrost.lu performance has improved in 18eb9d6 after 6 minutes.


Cardano-wallet malformed tx payload on Submit External Transaction endpoint

I’m trying to submit an already signed tx from cardano-cli using the cardano-wallet endpoint: https://localhost:8090/v2/proxy/transactions
the signed transaction look like this:
   txBody = {
        "type": "Tx MaryEra",
        "description": "",
        "cborHex": "83a400818258202d7928a59fcba5bf71c40fe6428a301ffda4d2fa681e5357051970436462b89400018282583900c0e88694ab569f42453eb950fb4ec14cb50f4d5d26ac83fdec2c505d818bcebf1df51c84239805b8a330d68fdbc3c047c12bb4c3172cb9391a002b335f825839003d2d9ceb1a47bc1b62b7498ca496b16a7b4bbcc6d97ede81ba8621ebd6d947875fcf4845ef3a5f08dd5522581cf6de7b9c065379cbb3754d1a001e8480021a00029361031a01672b7ea1008182582073dd733cc50d594cb89d3ac67287b02dae00982fc800e9c9c9d1bb282b56122558404d0cb4e4f1cc415ddcf546871f075d0ca6e0c2620cd784b06c21c9b86e4403cb7a115038487576dcb20e7820e9d0dc93ab2a737ed9d0a71a77bc1e12f7c4dd0ef6"
    }

I just don’t know how to pass it to the endpoint using Content-Type application/octet-stream. The API doc says the payload should be:
string <binary>
Signed transaction message binary blob.

I’m using javascript for this and have tried passing the cborHex directly, using Buffer.from(txBody.cborHex).toString('base64') and the whole json Buffer.from(JSON.stringify(txBody)).toString('base64') but always got the same response:
{
  "code": "malformed_tx_payload",
  "message": "I couldn't verify that the payload has the c…node. Please check the format and try again."
}

Also I’ve noticed from the swagger specification that the endpoint support a JSON payload and taking a look to the cardano-wallet's source code here:
newtype PostExternalTransactionData = PostExternalTransactionData
    { payload :: ByteString
    } deriving (Eq, Generic, Show)

I thought the structure should be some like this:
{
  "payload": ?// some binary blob here that I can't find. I've tried with:
              // Buffer.from(txBody.cborHex).toString('base64') and
              // Buffer.from(JSON.stringify(txBody)).toString('base64')
}

Any idea how to construct the payload and pass the signed tx?

That endpoint does not accept JSON, it accepts a raw octet-stream. I don't what HTTP client you're using, but there's certainly a way to provide a plain Buffer as a request. Following your examples and assuming Node.js, you would construct such a Buffer as:
const buffer = Buffer.from(txBody.cborHex, "hex")

Now, it's a matter of passing that buffer as THE request payload to your HTTP client.

@KtorZ I just tried that way without any luck. I'm using the autogenerated code from swagger, it looks like this:
export const ProxyApiAxiosParamCreator = function (configuration?: Configuration) {
    return {
        /**
         *
status: stable
  Submits a transaction that was created and signed outside of cardano-wallet.
         * @summary Submit External Transaction
         * @param {Object} [body]
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        postExternalTransaction: async (body?: Object, options: any = {}): Promise<RequestArgs> => {
            const localVarPath = `/proxy/transactions`;
            // use dummy base URL string because the URL constructor only accepts absolute URLs.
            const localVarUrlObj = new URL(localVarPath, 'https://example.com');
            let baseOptions;
            if (configuration) {
                baseOptions = configuration.baseOptions;
            }
            const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
            const localVarHeaderParameter = {} as any;
            const localVarQueryParameter = {} as any;

            localVarHeaderParameter['Content-Type'] = 'application/octet-stream';

            const query = new URLSearchParams(localVarUrlObj.search);
            for (const key in localVarQueryParameter) {
                query.set(key, localVarQueryParameter[key]);
            }
            for (const key in options.query) {
                query.set(key, options.query[key]);
            }
            localVarUrlObj.search = (new URLSearchParams(query)).toString();
            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
            const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
            localVarRequestOptions.data =  needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");

            return {
                url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
                options: localVarRequestOptions,
            };
        },
    }
};

/**
 * ProxyApi - functional programming interface
 * @export
 */
export const ProxyApiFp = function(configuration?: Configuration) {
    return {
        /**
         *
status: stable
  Submits a transaction that was created and signed outside of cardano-wallet.
         * @summary Submit External Transaction
         * @param {Object} [body]
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        async postExternalTransaction(body?: Object, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2022>> {
            const localVarAxiosArgs = await ProxyApiAxiosParamCreator(configuration).postExternalTransaction(body, options);
            return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                return axios.request(axiosRequestArgs);
            };
        },
    }
};

/**
 * ProxyApi - factory interface
 * @export
 */
export const ProxyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
    return {
        /**
         *
status: stable
  Submits a transaction that was created and signed outside of cardano-wallet.
         * @summary Submit External Transaction
         * @param {Object} [body]
         * @param {*} [options] Override http request option.
         * @throws {RequiredError}
         */
        postExternalTransaction(body?: Object, options?: any): AxiosPromise<InlineResponse2022> {
            return ProxyApiFp(configuration).postExternalTransaction(body, options).then((request) => request(axios, basePath));
        },
    };
};

/**
 * ProxyApi - object-oriented interface
 * @export
 * @class ProxyApi
 * @extends {BaseAPI}
 */
export class ProxyApi extends BaseAPI {
    /**
     *
status: stable
  Submits a transaction that was created and signed outside of cardano-wallet.
     * @summary Submit External Transaction
     * @param {Object} [body]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ProxyApi
     */
    public postExternalTransaction(body?: Object, options?: any) {
        return ProxyApiFp(this.configuration).postExternalTransaction(body, options).then((request) => request(this.axios, this.basePath));
    }
}

Could be another problem but the API is just returning this generic error?

having a similar issue. I am getting malformed_tx_payload error even when sending through octet-stream

Having the same issue here as well.

I solved the issue, the problem on my case was here:
postExternalTransaction: async (body?: Object, options: any = {}): Promise<RequestArgs> => {
            ...
            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
            const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
            localVarRequestOptions.data =  needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");

            return {
                url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
                options: localVarRequestOptions,
            };
        },
    }

It seems that the swagger code generation here: https://editor.swagger.io has some issues generating the typescript/axios client since these lines:
  const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
  localVarRequestOptions.data =  needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");

are the problem. Here the Buffer is being "stringified" but we need to pass it as THE REQUEST as @KtorZ mentioned above.
So replacing the 2 above lines for this:
localVarRequestOptions.data =  body;
the buffer will be passed as is


back needs to be used twice to return

pressing back doesn't close the app.
I have to use the back gesture twice to do so.
using it once just displays the last image viewed (which I'd already closed with the back gesture before)

Can I have more informations to reproduce the bug please ? (such as ROM used and steps to reproduce).

Google Pixel 7 Pro, Android 13 Stock Rom
Open jxl viewer (views jxl logo)
press back/use back gesture
open jxl file with viewer
press back/use back gesture
you see the jxl logo again instead of closing/hiding the viewer
this works with other images than the jxl logo

I tried to reproduce without success.


Search signal handler references pk rather than id

Resolves https://github.com/torchbox/wagtail/issues/1640

Thanks!


Update docs for latest release

Update docs for the 2.13.0 release of the tile.

Merged, thanks @nmuesch!


All releases between v0.4.22 and v0.4.4 added

Signed-off-by: Ishan Sourav<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

why "Meshery / golangci-lint (pull_request)" this test is failing, i haven't modified any code? @leecalcote

Thank you sir!

@kushthedude do you know if this is just GitHub having difficulty or do we have an issue to address here? https://github.com/layer5io/meshery/pull/1943/checks?check_run_id=1408354786

@kushthedude do you know if this is just GitHub having difficulty or do we have an issue to address here? https://github.com/layer5io/meshery/pull/1943/checks?check_run_id=1408354786

Golangci-lint needs to be updated 🤷

Whoo-hoo, @ezioishan! 🎈


Proposal for circular indexes

I see that the new function R.clamp() is added in ramda-0.20.0:
http://ramdajs.com/0.21.0/docs/#clamp
https://github.com/ramda/ramda/blob/v0.21.0/src/clamp.js
I want to propose another tiny function for similar tasks. In my practice this function is used as frequently as R.clamp(). It is a function to implement a circle of indexes (list indexes for example). This function calculates an increment/decrement for an index so that it must not exceed some maximum and minimum. And if it does, it will be counted from the opposite border. It is a wired explanation, so I hope the code below will make everything clear.
// circle :: Number -> Number -> Number -> Number
const circle = R.curry( (length, step, i) => {
    const j = i + step;
    return j < 0
        ? j + length
        : j >= length
            ? j - length
            : j;
} );

// For increment
circle(3, 1, 0) //=> 1
circle(3, 1, 1) //=> 2
circle(3, 1, 2) //=> 0 — passed over the maximum

// For decrement
circle(3, -1, 2) //=> 1
circle(3, -2, 1) //=> 2 — passed over the minimum

// For multiple increments
const c = circle(3, 1);
c(i); // Increment some index

What do you think, do we need it in ramda? Perhaps we should replace "length" parameter with a pair ("min" and "max").

I'd really like to hear more about why.  While I can't say I've never had a need for such, I think it's been relatively rare.  How would you expect to use it, and why is it important enough to have a dedicated function when mathMod(step + i, length) should do the same thing?

Sometimes there are cyclically linked elements on the page, for example if a cursor must return to the beginning of the list after it reaches it's ending. And I need a function to get the next index of an element to move cursor to.
Now I have a task to implement 3 sliders that allows to set a number in a range 1–100 with step 10. The sum of all three values must always be 100. According to the task, I need to move the next slider to compensate any change and reach this 100 in sum. So I need a function to get the index of the next slider to move.
But you are right. R.mathMod(step + i, length) is enough. I apologize that I was not smart enough to see this solution.

I apologize that I was not smart enough to see this solution.

Don't be silly.  There are well over two hundred functions in Ramda.  I don't know if anyone knows them all in depth, or would think of the best one for any circumstance.
I'm glad that one would work for you.  Thanks for your participation!


Fix misspell in shadow_attack.py

Description
Fix misspell in the comment of adversarial-robustness-toolbox/art/attacks/evasion/shadow_attack.py function _get_regularisation_loss_gradients. ( regularisation --> regularization , regularised --> regularized )
Fixes # (misspell)
regularisation --> regularization
regularised --> regularized

Codecov Report

Merging #2140 (aca6826) into main (d835ef3) will decrease coverage by 62.90%.
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             @@
##             main    #2140       +/-   ##
===========================================
- Coverage   85.63%   22.74%   -62.90%
===========================================
  Files         297      297
  Lines       26521    26520        -1
  Branches     4864     4807       -57
===========================================
- Hits        22712     6031    -16681
- Misses       2571    20319    +17748
+ Partials     1238      170     -1068

Impacted Files
Coverage Δ

art/attacks/evasion/shadow_attack.py
16.00% <ø> (-73.60%)
:arrow_down:

... and 237 files with indirect coverage changes


Add sendMaximum, sendTopicAliasMaximum, sendMaximumPacketSize to ConnectRestrictions

Actual sendMaximum = min(sendMaximum, receiveMaximum from ConnAck)
same for sendTopicAliasMaximum, sendMaximumPacketSize

maybe move response/problemInformationRequested to ConnectRestrictions


Version Compatibility

Hello!
Is it possible to transfer content from CQ 5.6.1 to AEM 6.1?
If yes, which version(s) of Grabbit do I need to use?

Hi @moal321,
Yes it is possible to use Grabbit for this. However, you will have to use older versions.
Here's the doc for version support : https://github.com/TWCable/grabbit/blob/master/docs/AEMSupport.adoc#below-details-aem-version-support-for-the-various-releases-of-grabbit
I believe the last v3.x for CQ 5.6.1 and the last v4.x for AEM 6.1 should work (but ofcourse, you will not have all the "latest" features that are in the newer versions).
v5.x and v7.x won't work because they diverged from v3.x which was the last one for CQ 5.6.1 in core functionality.
More info on releases and the functionalities : https://github.com/TWCable/grabbit/releases

Thank you for the answer!
I will provide feedback as soon as I have time to try this out.

@moal321 just to add onto what Sagar has said - For most common vanilla content (cq:Page, nt:unstructured, etc), Grabbit can be used to transfer content between AEM versions; However, note that there is some content whose node definitions have diverged, so you may run into issues for some items - I'm having trouble remembering specific examples off the top of my head though. They are all within the CQ namespace of course..

Hey @moal321, any luck?

Hey @moal321, I hope we helped in some way. In the spirit of keeping our issue list relatively organized, I'm going to close this out. Please reopen this if we can help you with this further!


Take slices by reference.

... in generated Rust code.

@mward Whould you be able to review this? Thanks.

@gierlachg - this looks great, thanks!


chore(main): release 17.0.0

:robot: I have created a release beep boop
17.0.0 (2024-07-20)
Bug Fixes

pin supported versions (#33) (a69db59)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v17.0.0
:sunflower:


Support amd64 platform

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
@tsickert

Hey @nopeless, sorry for the long delay, but I've been working to switch this action over to a JS action, which should eliminate this issue. I have a release candidate up that you can try out if you still want to use this action.

Hey @nopeless, sorry for the long delay, but I've been working to switch this action over to a JS action, which should eliminate this issue. I have a release candidate up that you can try out if you still want to use this action.

I ended up with a different solution. Thanks for following up this issue though :+1:


GitHub action failing

Overview
I use the Frictionless GitHub action in a number of repositories to check datasets created updated on a weekly schedule. Today the action failed to run, generating the same error in all repositories:
 exec /bin/sh: no such file or directory
  The command '/bin/sh -c curl -fsSL https://deb.nodesource.com/setup_14.x | bash - &&   apt-get install -y nodejs &&   npm install --production &&   pip install -r requirements.txt' returned a non-zero code: 1

My workflow file contains:
name: frictionless

on:
  workflow_dispatch:
  workflow_run:
    workflows: ["Fetch latest data"]
    types:
      - completed

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
        with:
          lfs: true # add this to download LFS files
          submodules: true # add this to download submodules
      - name: Validate data
        uses: frictionlessdata/repository@v1

I tried updating to repository@v2 but that didn't help.

Exactly the same issue at https://github.com/mjacqu/glenglat

Same problem here https://github.com/indecis-it/data/actions/runs/5454493998/jobs/9924691412#step:2:83

FIXED

Thx @roll !
Still failing for me (see run); should I do something?

Hi sorry for the confusion we're releasing the fix :+1:

Thank you @roll ;)

Can you please try it now?
I hope we fixed it. It was a really tricky problem in the middle of the docker images and similar matters

@roll this is the run latest run. Now the docker seems to be working 🚀  thx!
Btw I don't know why my validation fails (the workflow file doesn't contain inquiry because there is a datapatackage.yaml file in the root of the repo). What do u think?

@shashigharti
Can you please take a look at https://github.com/indecis-it/data? :pray:

@dennisangemi new fix is updated and it should work now. Thanks!

IT WORKS! 🚀🚀 (see run)
Thanks a lot @shashigharti and @roll ;)


Hardhat ignores hardhat-zksync-solc plugin

Hello,
I'm following this tutorial to setup a zkSync hardhat project from scratch. When I run yarn hardhat compile it seems to run the standard hardhat task, there is no tmp folder.
If I run yarn hardhat deploy-zksync to execute the deploy script, it throws an error on
await deployer.loadArtifact("Greeter");

saying "Error in plugin @matterlabs/hardhat-zksync-solc: Artifact Greeter was not compiled by zksolc".
Any idea on what can cause this issue?

Hi @saumenestrello, thanks for reaching out! The stuff about the tmp folder in the tutorial is outdated - there shouldn't be one. We'll update the tutorial soon.
Please share the version of hardhat-zksync-solc you're using so we can get an idea of what might be going on.

Hi @ly0va, thanks for the reply. I'm using version 0.3.0 of hardhat-zksync-solc

Thank you @ly0va, I don't see that error anymore.
On Ubuntu I was able to run yarn hardhat compile with no errors, whereas on Windows the command throws the following error
Error in plugin @matterlabs/hardhat-zksync-solc: Docker Desktop is not installed.
Please install it by following the instructions on https://www.docker.com/get-started

even if I have the last version of Docker Desktop installed. I thought you might want to look into that, I'm not sure if this should be a different issue tho

Thanks for the feedback! Currently, the plugins only work on WSL2 (if you want to use Windows). We're investigating the possibility of native Windows support.


Allow building shared libraries on Windows

These changes allow MaterialX to be built under Windows with MATERIALX_BUILD_SHARED_LIBS set to true. New "MX__API" symbols exist for each library to allow classes and functions to be explicitly exported from the resulting DLLs.
Fixes #610

This looks excellent to me, and major thanks to @marktucker for taking the time to develop and refine this new functionality.  I'll give others a chance to weigh in, but I have no objections to merging this to MaterialX v1.38.1.

Congrats on landing this!


Notifications Reset for devices

Hi,
I have noticed that it appears under certain conditions notifications for a particular device are reset?  Anyone else seen this?  Initially thought is was with HomeKit server restarting - but now can't reproduce it....
eg. - turn off notifications for device (seems to default to on) for Locks
At some later time - get notification and check device - and notification is back on for this device.  Still trying to check what causes this to occur.
Dropping WAF considerably....Might be more a homebridge issue though I wonder?
Thanks

I’ve had this occasionally too, and it seems to be related to any scenes I create disappearing.  Have you set any scenes up including these devices?

I don't think it's a Homebridge issue, but it's possible I suppose.  I suspect it's collisions with the data.  I have half a dozen iPods, several iPhones and 4 Apple TV 4's that are all batting that data around and I think that eventually they collide on an accessory.
Just the other day the majority of my devices - but not all - lost their room config, notification settings and favorite setting.  I'm pretty sure Homebridge didn't do that because I know it can't even touch rooms and am 99% sure it cannot touch the rest.  What I noticed, though, is that the problem impacted only one of my servers, and it's my most used and changed one.  I can't help but to wonder if having it open on my phone and tablet while I was constantly restarting the server or leaving it down for hours on end while I tested code changes had anything to do with it.    That took me an hour to get my stuff back in order, proved to me that I need to spread the device around servers more.

You know, I had to re-read this to really have it hit me what you were saying but, yes, my notifications checkbox keeps getting turned on too, it's pretty frustrating because in my testing it's not unusual for me to have 3-4 of the same lock or garage door spread across devices as I'm working on things and POOF I'll get 8-10 notifications because the garage just closed and auto locked my door and I got back in and, yup, all the notifications are back on again.  I'll tag this with @webdeck to see if there might be something going on in HB that is doing this that he may be able to control.

Notifications all happen on the iOS side - there is no way to control them from the HomeKit API.  Are notifications getting turned back on at the same time as when devices are losing their rooms, or is it happening independently of that?

For me, yes, it happens then most certainly but I believe it happens without losing rooms too.  I’ll try to keep better track.

Please see if your homebridge log contains the line:
Created 0 accessories
If that's there, then I think I have a workaround for it.

This issue seems to have been resolved as I haven't seen any issue since @webdeck put in failsafes against 'zero device' Homebridge loads.


Support installation, operation, and use of Android/iOS mobile devices

Support installation, operation, and use of Android/iOS mobile devices

This is not planned.


Configuration#3: Step#1: small run: batch-runner-matter/hadron-mover

using
jet-ml-dataset-builder-step-1-singularity-batch-runner-matter.sh
jet-ml-dataset-builder-step-1-singularity-hadron-mover.sh
for matter small batches

already explained in overleaf


fix: Adjust get_user_name regex to match updates to the cli

Describe what this PR does / why we need it
This commit fixes an issue with the newer version of the gh cli tool where they updated the stdout message.
Reference: https://github.com/cli/cli/commit/e806664ef736a1cba373155842112831d094b91f
Closes: #466

Thanks!


[python3] Add sitecustomize on windows for dll lookup

Can you explain why you are doing this? Tools generally need to be copied to tools with their needed DLLs, not reach outside of tools.

Can you explain why you are doing this? Tools generally need to be copied to tools with their needed DLLs, not reach outside of tools.

Ownership problems. If I build numpy -> numpy requires lapack but some other python extension might also require lapack directly. As such numpy cannot copy lapack dlls because it will create a collision.
Also this avoids needing to copy all of /bin to tools/python3/DLLs (or tools/python3)
Of course people who do final deployment can copy whatever they want.

The problem is that anything that causes loader ownership behavior to change is a huge security mess as it opens 'file lie in wait' holes. It also creates problems because the python 'in vcpkg' is run in a way that the end user would never ever do since nobody deploys their app and expects their dependencies in "my_app/../../bin".
I agree that it sucks that we don't have a great way to model this pattern right now but patching tools to dig for DLLs in other places is... scary. This is fewer patches than in https://github.com/microsoft/vcpkg/pull/31279 but the impacts are pretty similar.

@BillyONeal: I mean I can add a check that sys.executable is actually python from vcpkg? (Meaning that it is located in a directory called tools/python3)

My point is: Just tell me what checks to implement and I'll do it. I mean this is a lot better than having to patch python since it allows for the user to simply delete the file before deployment and it uses one of the mechanism python itself implements.

@BillyONeal: I mean I can add a check that sys.executable is actually python from vcpkg? (Meaning that it is located in a directory called tools/python3)

This wouldn't eliminate the risk of malicious DLLs being placed in the extra directories that are searched

This wouldn't eliminate the risk of malicious DLLs being placed in the extra directories that are searched.

The point is that the extra directories should be within the vcpkg installed tree. If we don't trust the vcpkg installed tree then even speaking about security issues due to this PR seems strange to me.

This wouldn't eliminate the risk of malicious DLLs being placed in the extra directories that are searched.

The point is that the extra directories should be within the vcpkg installed tree. If we don't trust the vcpkg installed tree then even speaking about security issues due to this PR seems strange to me.

What does this enable for you? For example, is this in order to be able to cd vcpkg_installed/tools/python/python.exe ... import numpy? If so, how is that necessary to build cpp libraries?

https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindPython/Support.cmake?ref_type=heads#L3796-L3801 otherwise you would be required to pass _${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR or _${_PYTHON_PREFIX}_NumPy_PATH manually.
https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindPython/Support.cmake?ref_type=heads#L3819
looks for the version of numpy. typically meson would do something similar in the lookup without a proper way to pass this stuff manually.
There is also
https://github.com/microsoft/vcpkg/pull/36270#issuecomment-1935100803
https://github.com/microsoft/vcpkg/pull/36270#issuecomment-1935120504
secondly, making sure that installed python extensions actually work in the end should require at least one import to test it.
The import on linux already works due to RPATH lookup, however there is no equivalent on Windows and PATH can also no longer be used.

Waiting on this as well: gdal[python], qscintilla[python]

Relitigating this one tomorrow.

@vicroms
@AugP
@data-queue
@ras0219-msft
@BillyONeal
@JavierMatosD
@BillyONeal So my understanding is that we have this tradeoff between enabling Python to run from the installed tree, vs. opening this security hole that every application that ships vcpkg python how has to guard/ACL "../bin" and friends.
@ras0219-msft I am concerned about the potential direction question here. If we don't believe that's a problem we are interested in resolving then resolving technical limitations is unnecessary.
Questions:

Is it a design goal that the python port in vcpkg can provide a full python distribution which is runnable from the installed directory?
Do the scenarios intended to be solved by this PR actually need a build script, meaning executable on the host and not the target, to load python modules built by vcpkg?

@JavierMatosD I thought that omniorbpy was a C++ library with Python capabilities.
@ras0219-msft My understanding is that omniorb is a C++ library and the one with py provides python bindings to it.
@JavierMatosD Is that a scenario we are interested in supporting? @BillyONeal I observe we provided Boost.Python et al for years; what changed that forces us to need this hack?
@ras0219-msft This hack is about making "cd PYTHONPATHininstalledtree, python import numpy" work, and we need to understand specifically why that's necessary. I just haven't seen the concrete use case here. @Neumann-A linked some lines but those suggest we could just set the CMake variables.
@JavierMatosD But that might not work from Meson
@ras0219-msft What that would mean is 'it is impossible to cross compile for Python with meson' because in cross compiling scenarios you can't run python from the installed tree, full stop. So if meson is really doing this that seems broken and we need to find some way to pass anything like this. Maybe that's a bug report for Meson.
@ras0219-msft I agree with what @JavierMatosD wrote previously ( https://github.com/microsoft/vcpkg/pull/38297#issuecomment-2078299006 ) and I feel like the questions raised therein have not been answered yet.

secondly, making sure that installed python extensions actually work in the end should require at least one import to test it. The import on linux already works due to RPATH lookup, however there is no equivalent on Windows and PATH can also no longer be used.

@BillyONeal I think the question is why this scenario is expected to work in the first place, not whether or not your PR is the correct change in order to achieve that @Neumann-A
@ras0219-msft Correct, if we wanted to test imports or something we could do what we tell customers to do and make their own bespoke custom deployment for that test. And we need to know why we can't do what we're telling customers to do in the first place before discussing the merits of one technical way of achieving that or another.

And we need to know why we can't do what we're telling customers to do in the first place before

Because venv changes all the internal paths python normally returns to the one of the venv. Again python on !windows just works as expected. I only need a way to make it work on windows. I can add a function get_installed_python_env which manually creates a venv without actually requiring venv being installed and basically installing a similar sitecustomize as here, creating a pyvenv.cfg and copying the python executable and the runtime and dlls into the BUILDTREE.
Want me to pursue that approach @ras0219-msft @BillyONeal?

What that would mean is 'it is impossible to cross compile for Python with meson' because in cross compiling scenarios you can't run python from the installed tree, full stop.

cross compiling with python is a whole different story. That requires crossenv which only works on !windows since the file it is looking for does not exist on windows. using crossenv entails taking a host/build and a target python and running the host with the paths of the target python.

I observe we provided Boost.Python et al for years; what changed that forces us to need this hack?

Boost.Python does not provide python bindings. It provides C++ bindings to python stuff (which than can be C/C++ stuff). The installation is also incomplete since it is missing the numpy bindings (which of course would require the numpy headers and libs).
@ras0219-msft @BillyONeal: Furthermore would it be ok to create a port for the changes here so that a person wanting a working  in tree python can actually have it?


min/max behaves incorrectly on 0-size array

Consider the following code:
In [324]: def test_0d_min(X):
     ...:     return np.min(X)
     ...:
     ...:

In [325]: test_0d_min(np.array([]))  # correct behavior
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
... (omitted)
ValueError: zero-size array to reduction operation minimum which has no identity

In [326]: nb.jit(test_0d_min)(np.array([]))  # incorrect
Out[326]: 0.0

In [328]: nb.jit(test_0d_min, parallel=True)(np.array([]))  # incorrect
Out[328]: 1.7976931348623157e+308

I guess that parallelization for reduction functions is done by calculating each block seperately and then combining them together, so an identity element is used as the initial result of each block. np.finfo(np.float64) shows that 1.7976931348623157e+308 is exactly the largest np.float64 instance, which seems suitable as an identity element of np.min.
But actually reduction function (aka folding) and identity element are both defined over binary functions, while min function is obviously an n-ary function (a function that accepts down to 0, up to n arguments) mathematically.
As for non-parallel version of jitted function, I have no idea why it computes to 0.

Thanks for the report. This is just a simple omission in the Numba re-implementation of np.min, seems like np.max, np.argmin and np.argmax all suffer similar issues. Your assertion about how np.min is working under parallelised reduction is correct. The parallel target should just replicate NumPy too. Fix is here: https://github.com/numba/numba/pull/3124
As to why the non-parallel jitted function produces 0, it's a bug in Numba nditer, https://github.com/numba/numba/issues/3123.


Why was behavior3 called?

I wonder where this name came from.
There might be behavior1 and Behavior2？

I believe its behavior3 comes from behavior Tree, the structure was a Tree basically.


Can't get rid of "nestable" checkbox

I set up max_depth=1 to create a one-level menu. It works just fine, but the "nestable" checkbox in the popup still appears

It is completely useless now, and I can't get rid of it

I think I fixed it in 7.1.7. It will only show up when the max depth is set to bigger than 1.


Describe @ReplaceEntity annotation

In CUBA it was called @Extends
CUBA documentation page
If project has the Multitenancy add-on, and new entity is extending the Tenant entity the annotation could be added by Studio:

Done, see https://docs.jmix.io/jmix/modularity/extension.html#data-model


[PostgreeSQL] Incorrect show all data type "timestamp with time zone" in case from current time zone, setted comands: set timezone = '+05';

System information:

MS Windows 10 x64 1607
DBeaver version 6.3.3
Additional extensions

Connection specification:

Database name and version PostgreeSQL 10
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:
Steps to reproduce, if exist:
CREATE TABLE public."TestTimeZone"
(
"Id" integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE<PHONE_NUMBER> CACHE 1 ),
"Date" timestamp with time zone
);
set TimeZone = '+08';
insert into "TestTimeZone" ("Date")
select CURRENT_TIMESTAMP;
insert into "TestTimeZone" ("Date")
select localtimestamp;
select
"Id"
, "Date"
from "TestTimeZone";
Include any warning/errors/backtraces from the logs

Please enable "Use native date/time format" (DB Navigator>database context menu> Edit connection> Result Sets> Data Formatting). It should help.


Is there any plan to developing a C++ version?

Is there any plan to develop a C++ version?   :)

No, I don't have any plan to do.
I wonder why you need C++ version.  Since it generates a reverse-proxy, it does not restrict the language  in which you implement your gRPC server.
Also I don't think C++ version will significantly improve the performance of the proxy.
They only benefit which comes to my mind is that C++ version would be able to support arbitrary message without rebuilding the proxy because C++ has a support of DynamicMessage.
What do you think?

The question seems to be resolved.
https://groups.google.com/d/msg/grpc-io/JnjCYGPMUms/2TSnRPm7E7cJ

Is there any C/C++ api gateway developed as on today

AFAIK, no.

are there any examples I can refer to understand how I can link this reverse-proxy with my gRPC server written in C++

It is probably possible to link the generated go code with C++ server since CGO can generate a shared library.
But can I confirm what you really need in case?  For what purpose are you trying to link the reverse-proxy to your gRPC server? For reducing network latency? For simplicity of deployment and monitoring?
If it is for network latency, I don't think linking solves the problem because the reverse proxy still communicates with the gRPC server over TCP or a  unix domain socket.

This is what I am looking for.

This is how grpc-gateway usually works. So you don't need dive into the complicated world of error handlings, concurrency and garbage collection in CGO.
With CGO, in theory it is still possible to run the reverse-proxy server in the same process as the gRPC server. But usually it is not very beneficial.
https://github.com/yugui/grpc-gateway/tree/example/embed/examples/cmd/example-cxx-server.

Thank you so much @yugui  :smiley:


Readme browser instructions are out of date

The readme section for browser usage suggests including a pack file that no longer exists from the npm package.

Browser
Include combined matchers file:
<script src="/node_modules/jasmine-collection-matchers/lib/pack.js"></script>

The correct way seems to be to install the package with bower and include:
<script src="/bower_components/jasmine-collection-matchers/index.js"></script>

You are right.
Forgot to update docs after changes in #5.
Now it should be fine, thank you!

Thanks for looking at this. One more improvement that might help new developers is explicitly listing the install command for bower to avoid confusion with the npm instructions.

Install via bower:
bower install jasmine-collection-matchers


ENH: add image and union = bundle

Closes #21 ready for review

Closes #25

Maybe eliminate call from classes? We could just hand blah.emit to the RunEngine.

Codecov Report

Merging #27 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   97.13%   97.21%   +0.07%
==========================================
  Files           4        5       +1
  Lines         803      826      +23
==========================================
+ Hits          780      803      +23
  Misses         23       23

Impacted Files
Coverage Δ

redsky/tests/test_streams.py
99.03% <ø> (-0.03%)
:arrow_down:

redsky/tests/test_against_runengine.py
100% <100%> (ø)

redsky/event_streams.py
94.52% <100%> (+0.07%)
:arrow_up:

redsky/tests/conftest.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Blocking FB except React.js developer tools & SDKs?

First of all, thanks for providing these great lists.   Of primary interest is the FB block list.
One thing I ran into after adding the complete FB block list to my /etc/hosts file, I'm unable to use React developer tools or download the SDK bundle from https://connect.facebook.net/en_US/sdk.js.
I'm looking for anyone who has run into this same issue and has tips or thoughts.
Is it enough to whitelist the SDK bundle URL listed above? Or are there other parts of React.js framework that need to connect to other FB URLs?
Disclaimer: I'm not trying to use the FB website, just as a developer working with React.js framework at work.
Thanks in advance for any insight into this issue.

You'll probably want to ask Facebook developers about this.


Implement Mac Lane comparison Functor?

See the Coq code at https://github.com/ekiciburak/ComparisonTheorem-MacLane .  There's a paper too.  Looks like fun.

@TOTBWF how much of this issue is dealt with by your PR #125  ?

I implemented the Eilenberg-Moore version of this, which is pretty similar in character. Doing the Kleisli version ought to be pretty straightforward 🙂 I suspect that proving uniqueness will be easier as well, as you don't need to show that two T-modules/T-actions are equivalent, only objects and arrows.
I'll take a look into finishing this off in the next couple of days.

Can this issue be closed now?

Yeah, Should be good to go.

I haven't forgotten - I just want to double-check for myself that it's all done. Most likely is.

Sorry to be so slow - it's all great. And the proof is readable (and short), unlike the Coq one.


ErrorCode:ResourceNotFound || Document uploading to Blob Storage doesn't go through || Blob error

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Set the .env variables:
AZURE_ENV_NAME="azuresearchopenaidemo"
AZURE_LOCATION="eastus2"
AZURE_OPENAI_CHATGPT_DEPLOYMENT_CAPACITY=8
AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION="turbo-2024-04-09"
AZURE_OPENAI_CHATGPT_MODEL="gpt-4"
AZURE_SUBSCRIPTION_ID="abcdefghijk"
DEPLOYMENT_TARGET="appservice"
USE_CHAT_HISTORY_BROWSER="true"
run 'azd up'

Any log messages given by the failure
Running "prepdocs.py"
./app/backend/prepdocs.py "C:\AzureDemo/data/" --verbose
Loading azd env from C:\AzureDemo.azure\azuresearchopenaidemo.env
Connecting to Azure services using the azd credential for tenant xxxxxx
Using local files: C:\AzureDemo/data/
Checking whether search index gptkbindex exists...
Creating new search index gptkbindex
Including vectorizer for search index gptkbindex, using Azure OpenAI service cog-d2zur3a7jasps
Ingesting 'COHOUSING- VIABILIDAD SOCIOECONÓMICA DEL MODELO EN LIMA.pdf'
Extracting text from 'C:\AzureDemo/data\COHOUSING- VIABILIDAD SOCIOECONÓMICA DEL MODELO EN LIMA.pdf' using Azure Document Intelligence
Splitting 'COHOUSING- VIABILIDAD SOCIOECONÓMICA DEL MODELO EN LIMA.pdf' into sections
Section ends with unclosed table, starting next section with the table at page 3 offset 14499 table start 1079
Section ends with unclosed table, starting next section with the table at page 5 offset 22407 table start 282
Section ends with unclosed table, starting next section with the table at page 7 offset 29461 table start 858
Section ends with unclosed table, starting next section with the table at page 8 offset 32296 table start 532
Section ends with unclosed table, starting next section with the table at page 9 offset 34682 table start 723
Traceback (most recent call last):
File "C:\AzureDemo\app\backend\prepdocs.py", line 422, in
loop.run_until_complete(main(ingestion_strategy, setup_index=not args.remove and not args.removeall))
File "C:\Users\EAS Consulting\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\AzureDemo\app\backend\prepdocs.py", line 237, in main
await strategy.run()
File "C:\AzureDemo\app\backend\prepdocslib\filestrategy.py", line 86, in run
blob_sas_uris = await self.blob_manager.upload_blob(file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AzureDemo\app\backend\prepdocslib\blobmanager.py", line 53, in upload_blob
await container_client.create_container()
File "C:\AzureDemo.venv\Lib\site-packages\azure\core\tracing\decorator_async.py", line 94, in wrapper_use_tracer
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AzureDemo.venv\Lib\site-packages\azure\storage\blob\aio_container_client_async.py", line 314, in create_container
process_storage_error(error)
File "C:\AzureDemo.venv\Lib\site-packages\azure\storage\blob_shared\response_handlers.py", line 186, in process_storage_error
exec("raise error from None")   # pylint: disable=exec-used # nosec
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1, in
File "C:\AzureDemo.venv\Lib\site-packages\azure\storage\blob\aio_container_client_async.py", line 306, in create_container
return await self._client.container.create( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AzureDemo.venv\Lib\site-packages\azure\core\tracing\decorator_async.py", line 94, in wrapper_use_tracer
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AzureDemo.venv\Lib\site-packages\azure\storage\blob_generated\aio\operations_container_operations.py", line 159, in create
map_error(status_code=response.status_code, response=response, error_map=error_map)
File "C:\AzureDemo.venv\Lib\site-packages\azure\core\exceptions.py", line 161, in map_error
raise error
azure.core.exceptions.ResourceNotFoundError: The specified resource does not exist.
RequestId:004bca49-c01e-003e-71e5-2a725c000000
Time:2024-10-30T16:05:08.4811789Z
ErrorCode:ResourceNotFound
Content: ResourceNotFoundThe specified resource does not exist.
RequestId:004bca49-c01e-003e-71e5-2a725c000000
Time:2024-10-30T16:05:08.4811789Z
Expected/desired behavior
Successfully running the 'azd up' command.
Successful uploading/indexing of documents from 'data' folder. (I believe this happens when I get to the deployment)
OS and Version?
Windows 11 Pro
azd version?
azd version 1.10.3 (commit 0595f33fe948ee6df3da492567e3e7943cb9a733)
Versions
{
"azure-cli": "2.65.0",
"azure-cli-core": "2.65.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"init": "0.1.0"
}
}
Bicep CLI version 0.30.23 (ec3612efc7)
PowerShell 7.4.6
Mention any other details that might be useful
This error started to happen when I started to 'azd up' the demo into appservice and set the DEPLOYMENT_TARGET to 'appservice', and USE_CHAT_HISTORY_BROWSER to 'true',
All resources were created correctly, but the problem came when splitting files with Document Intelligence, the file was .pdf format.
I've tested the data with local development, but never with the 2 new .env variables that I just set.

Thanks! We'll be in touch soon.

Additional Error Information:
"level": "Error",
"operationId": "373a25b6-1062-4c0c-b5e6-444a60cc2af6",
"operationName": {
"value": "Microsoft.CognitiveServices/accounts/listKeys/action",
"localizedValue": "List Keys"
},
"resourceGroupName": "rg-azuresearchopenaidemo",
"resourceProviderName": {
"value": "Microsoft.CognitiveServices",
"localizedValue": "Microsoft.CognitiveServices"
},
"resourceType": {
"value": "Microsoft.CognitiveServices/accounts",
"localizedValue": "Microsoft.CognitiveServices/accounts"
},
"resourceId": "/subscriptions/d488e441-4c7b-4499-9267-acd70f08343f/resourceGroups/rg-azuresearchopenaidemo/providers/Microsoft.CognitiveServices/accounts/cog-di-d2zur3a7jasps",
"status": {
"value": "Failed",
"localizedValue": "Error"
},
"subStatus": {
"value": "BadRequest",
"localizedValue": "Solicitud incorrecta (código de estado HTTP: 400)"
},
"submissionTimestamp": "2024-10-30T18:08:00Z",
"subscriptionId": "d488e441-4c7b-4499-9267-acd70f08343f",
"tenantId": "f6d070a1-ac8b-4703-aeb9-bd3ec1cd1281",
"properties": {
"statusCode": "BadRequest",
"serviceRequestId": null,
"statusMessage": "{"error":{"code":"BadRequest","message":"Failed to list key. disableLocalAuth is set to be true"}}"
Is there a .env variable that I should be setting?
I' never gotten this problem before.

I set the AZURE_AUTH_TENANT_ID with my tenant id and AZURE_USE_AUTHENTICATION (to 'true') and the error was gone.


Do not export default only from CJS packages, also because Typescript loose it's typenings

I really love ❤ ViteJS.
What makes me sad is something like this below.
I wanna use the amazing https://github.com/Nozbe/WatermelonDB for a project but I have problems with ES/CJS music.
Since they are using CJS export today (I opened this asking for ES) I'm using this in my vite.config.js:
module.exports = {
  optimizeDeps: {
    include: [
      '@nozbe/watermelondb',
      '@nozbe/watermelondb/adapters/lokijs',
      '@nozbe/watermelondb/decorators'
    ]
  }
}

What makes me sad now is:

I cannot use this code:
import { field } from '@nozbe/watermelondb/decorators'

  class Post extends Model {
  // ...
  @field('title') title
  @field('body') body
  // ... and so on
}

I need to use this instead:
import allDecoratorsPackage from '@nozbe/watermelondb/decorators'

class Post extends Model {
  // ...
  @allDecoratorsPackage.field('title') title
  @allDecoratorsPackage.field('body') body
  @allDecoratorsPackage.field('is_pinned') isPinned
  // ... and so on
}

I loose Typescript definitions in case like this:
import LokiJSAdapter from '@nozbe/watermelondb/adapters/lokijs'

const adapter = new LokiJSAdapter.default({})

and Typescript doesn't show definitions because of:
Property 'default' does not exist on type 'typeof LokiJSAdapter'.ts(2339)

Given that sooner or later everyone will export ESM,
given that I am doing everything to speed up this process (flatpickr is almost done merging PR!),
can we please find a way for fix these two "issues" that hinder rapid application development?
Thank you for your talent and your time.

Please keep track on #720 & #837. And thanks for the feedback.


Add http_options to configurable in mailer settings

Fixes #97
What

Make http_options to be configurable in settings
Add test for http_options

Why

As I mention here https://github.com/eddiezane/sendgrid-actionmailer/issues/97#issuecomment-746709842 . I had added the http_options as constructor params in this PR https://github.com/sendgrid/sendgrid-ruby/pull/455 of sendgrid-ruby. So, I hope the http_options available in your gem too.

@hoangtuanictvn This is great! As soon as sendgrid-ruby pushes out a gem update, we can update the gemset, and this should be good to go.

@tyrauber
Thank you,
The sendgrid-ruby was pushed the gem update there https://github.com/sendgrid/sendgrid-ruby/releases/tag/6.4.0 with the http_options. So, I have been updated the gemspec at ce5f591. I'm glad to wait for you to review it again.

Merged and pushed as 3.2.0. Thanks for the contribution.

Thank you, nice speed!


Workflow for adding relations with the ribbon UI

We could use the ribbon UI as an easier way to add new relations. For instance, adding a new bus route could work like this:

Search "bus route" with the Add Feature tool
Select the Bus Route preset
Enter a new mode where clicking on features adds them to the relation

See also #6465

Click all desired members.

We could limit which features are eligible, e.g. only allow roads and stops

Click Finish once done

Related: #4915

This seems a lot like #1575

Hey @quincylvania, when did you sneak this in? 2.19.5 I assume? I don't see it documented in release notes:

This resolves the last, and the most important, item from my list above. Kudos!

Hey @quincylvania, when did you sneak this in? 2.19.5 I assume? I don't see it documented in release notes:

This resolves the last, and the most important, item from my list above. Kudos!

Yes, this is #7753! It was released in 2.19.0 under Usability & Accessibility but I didn't make a big deal about it since it's sort of advanced and there was enough else to discuss.

Yes, this is #7753! It was released in 2.19.0 under Usability & Accessibility but I didn't make a big deal about it since it's sort of advanced and there was enough else to discuss.

I also think that relations should be a fourth button on the top ribbon. There is no reason not to, since they are standard OSM objects. How I imagine it could work:

Press 4 or click relation button.
iD goes from drawing mode to selection-only mode where user can select multiple objects.
In the sidebar will already be suggestions what type of relation they want to create.
Select e.g. multipolygon and iD automatically determines what is outer and inner parts, warns about bad members (in this case unclosed ways, points, touching outer rings.. etc.)
Sidebar shows only relevant fields e.g. hiking route will have colour and osmc:symbol
User can still keep selecting and unselecting objects and iD adds them or removes them
User confirms changes


Toggle Led

It would be very nice to be able to either toggle the led display to on/off or to use something similar as the tone prompt in the config.
Reason we have the ac on the bedroom and at night the led is too bright.

I don't think that is possible, I did search that in the doc and I wasn't able to find a flag for this. Although I do think that would be great.

I will add 1 configuration item

Very nice, I was about to ask the same.

Was this ever implemented? Is there anything I can do to get this moving?

Also would love this function.
I have also not seen this in the midea air app either but still hoping!

There's a PR out for this #177.
I have a fork with this and other PRs merged. You can add it as a custom repo in HACS.
https://github.com/mill1000/midea-ac-py


issue with multiple monitors edge toggle

Using 2 monitors and the phone with edge toggling. When moving the cursor from phone to computer, the cursor would sometimes glitch and instead of coming back from the right of first monitor it would come back from the right of second monitor. some times this happens sometimes it is fine. sometimes it also happens that the cursor is moving simultaneously on both devices.

Thank you for your feedback, may i ask that the position of your second monitor? At the top, left, right, bottom of your first monitor?

Thank you for your feedback, may i ask that the position of your second monitor? At the top, left, right, bottom of your first monitor?

the second monitor is on the left an the phone is on the right

I see u have added version 0.7.3 regarding my issue. I appreciate that you have already started to improve the software, but the version 0.7.3 hasn't fixed this issue. Now the cursor is stuck on the android device and it doesn't even come back.

Now the cursor is stuck on the android device and it doesn't even come back.

Maybe you can try to restart the android client.
The edge toggling may fail for some moments before the 0.7.3 version and this version is supposed to fix that

Now the cursor is stuck on the android device and it doesn't even come back.

Maybe you can try to restart the android client manually.
The edge toggling may fail for some moments before the 0.7.3 version and this version is supposed to fix that

i tried reinstalling the android client and the server client on pc. the issue persists, the mouse gets stuck in the left side of the phone and doesnt even come back. using ctrl+alt+s also doesnt help in bringing the cursor back to the pc.

thank you for your feedback, I will work on fixing it.


[PR][CLOSED] [Doxygen] check upper case doxygen tags and comments start with '/*'

 Issue by sewon-oh
Wednesday Jul 11, 2018 at 04:41 GMT
Originally opened as https://github.sec.samsung.net/STAR/TAOS-CI/pull/115

Doxygen need lower case tag and comments is required '/**'.
If we keep them, we can make doxygen doc better.
Signed-off-by: sewon.oh<EMAIL_ADDRESS>Self evaluation:

Build test: [ ]Passed [ ]Failed [*]Skipped
Run test: [*]Passed [ ]Failed []Skipped

sewon-oh included the following code: https://github.sec.samsung.net/STAR/TAOS-CI/pull/115/commits

:octocat: cibot: Thank you for posting issue #139. The person in charge will reply soon.

 Comment by git-bot-sec
Wednesday Jul 11, 2018 at 04:41 GMT

Thank you for submitting PR #115. Your PR has to pass all verificiation processes of cibot before getting a review process from reviewers. We recommend that you read instruction manual in . If you want to monitor the progress status of your PR in detail, visit http://aaci.mooo.com/.


Connection established but failed to authenticate. Check your credentials

adapter shows at once: „Connection established but failed to authenticate. Check your credentials“

Life360 API endpoints and calls have changed. Will have to modify the wrapper.


[HOLD for payment 2023-07-06] [$1000] Welcome message of custom workspace room translates HTML code to character in offline mode (works fine in online mode)

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app
Open any custom workspace room or create new by: click on plus->new room->any name, any workspace, any visibility->create room
Click on room name to open details page
Click on settings
Click on welcome message
Add any HTML code eg: 0 and click on save
Revisit welcome message to see that it still displays HTML code
turn off internet to go offline and revisit welcome message to see that on HTML code is converted to HTML character (In our eg, 0 will display as 0)

Expected Result:
App should not convert HTML code to HTML character in room welcome message
Actual Result:
In offline mode, app converts HTML code to HTML character in room welcome message
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: yes
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/c5819b55-e88c-4191-ab29-8e16cafab2f7
https://github.com/Expensify/App/assets/93399543/59543aa9-1690-4f05-8d25-2b43752f6dde
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686214026251619
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01187aec34f1d4c1eb
Upwork Job ID:<PHONE_NUMBER>584140288
Last Price Increase: 2023-06-15

I think this could be related to this other issue when using HTML character codes in the workspace name.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Welcome message of workspace room translates HTML code to character in offline mode(It works fine in online mode)
What is the root cause of that problem?
The decode function of this package decodes as 0 in case of wrong code entity like 0
What changes do you think we should make in order to solve the problem?
htmlToMarkdown function of expensify-common/lib/ExpensiMark lib should be updated by adding the following condition
        const replacedElement = this.replaceBlockElementWithNewLine(generatedMarkdown)
        const decodedHtml = Str.htmlDecode(replacedElement)
        if (decodedHtml && decodedHtml !== '0') return decodedHtml;

        return replacedElement;

The original codebase is
return Str.htmlDecode(this.replaceBlockElementWithNewLine(generatedMarkdown));

What alternative solutions did you explore? (Optional)
If this expensify common lib should not be changed, the changes should be in setting the initial value of welcomeMessageof component itself src/pages/ReportWelcomeMessagePage.js
    const parsedMarkdown = parser.htmlToMarkdown(props.report.welcomeMessage)
    const [welcomeMessage, setWelcomeMessage] = useState(parsedMarkdown && parsedMarkdown !== 0 ? parsedMarkdown : props.report.welcomeMessage);

Added video in proposal

Bumping @0xmiroslav to have a look at the above proposals.

Hi @0xmiroslav - looks like we're still waiting for your review.

Ok, thanks but there is a problem in decoding some characters as I showed in video, actually.

Ok, thanks. @0xmiroslav

@techievivek I'm unassigning myself b/c you were assigned here first (I think i got assigned because of the new process - C+ approving proposals)

@dukenv0307 @0xmiroslav - could you apply for the job in Upwork? https://www.upwork.com/jobs/~01187aec34f1d4c1eb

@dhanashree-sawant could you also apply for the job in Upwork for the reporting bonus?

Thanks @lschurr, if possible, can you invite me to the job?

@dhanashree-sawant could you include your Upwork profile here so that I can invite you to the job?

Hi @lschurr, Thanks.
My profile link: https://www.upwork.com/freelancers/~016c7b8ae165dc0bda

All paid and closed :)


ENH: Added allow_superseded kwargs to Transformer.from_crs and TransformerGroup

[x] Closes #1261
[x] Tests added
[x] Fully documented, including history.rst for all changes and api/*.rst for new API

This is looking good. @dmahr1, allow_superseded can be removed from Transformer.from_crs now, correct?

I was thinking of leaving the allow_superseded kwarg in Transformer.from_crs() so that superseded transformers could be included. But I have been unable to find a case where this is actually used. So I understand if you'd prefer to remove it.

I recommend adding the option to the TransformerGroup now and then add it to Transformer.from_crs in a future PR once the feature has been added to a PROJ release. Otherwise, this PR will be blocked until the feature is added in a future PROJ release.


EXP: PR to PR 207

My edits to https://github.com/OpenAstronomy/github-actions-workflows/pull/207

I think this was not a successful hack... 😆


Deleting records on the dummy app doesn't work

Trying deleting the record at: http://rails-admin-tb.herokuapp.com/admin/team/152/delete
The reason I tried to do this on the dummy app is that it wasn't working for me locally. In fact, it appears that none of the 'POST' actions are working for me or the dummy app.
I'm using rails_admin 1.0, Rails 4.2.6, and Ruby 2.2.3p173
Thanks.

Demo site is not working fine right now, sorry for inconvenience.


Scroll token claim flow

tbd wip
opening early for visibility

I didn't see this PR until after I did #459.
Instead of reconciling, I think it makes sense to get the prisma working in isolation, merge to main, and then you remove that from your PR.

...reason being is we want the scroll schema into the repo, before the token claim flow is merged.


jobsub_q @jobsubdevgpvm01.fnal.gov does not give detailed queue information

Output from jobsub_q @jobsubdevgpvm01.fnal.gov is not complete. The specifics are missing.
Here is an example of the output that one gets:
-- Schedd: jobsubdevgpvm01.fnal.gov : <<IP_ADDRESS>:9615?... @ 08/24/22 14:52:10
OWNER BATCH_NAME      SUBMITTED   DONE   RUN    IDLE   HOLD  TOTAL JOB_IDS
Total for query: 0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
Total for all users: 28 jobs; 9 completed, 0 removed, 17 idle, 0 running, 2 held, 0 suspended
Here is an example of the output that one SHOULD get:
-- Schedd: jobsubdevgpvm01.fnal.gov : <<IP_ADDRESS>:9615?... @ 08/24/22 14:51:34
OWNER    BATCH_NAME    SUBMITTED   DONE   RUN    IDLE   HOLD  TOTAL JOB_IDS
goodenou ID: 736      8/23 13:54      _      _      _      _      1 736.0
goodenou ID: 737      8/23 15:16      _      _      _      _      1 737.0
goodenou ID: 739      8/24 14:51      _      _      1      _      1 739.0
Total for query: 3 jobs; 2 completed, 0 removed, 1 idle, 0 running, 0 held, 0 suspended
Total for goodenou: 3 jobs; 2 completed, 0 removed, 1 idle, 0 running, 0 held, 0 suspended
Total for all users: 28 jobs; 8 completed, 0 removed, 18 idle, 0 running, 2 held, 0 suspended

So I think this is because we're putting an empty string into the argument list when we strip out the @jobsubdevgvpm01.fnal.gov.  So instead of:
condor_q -G fermilab -name jobsubdevgpvm01.fnal.gov
which works, we end up with
condor_q -G fermilab -name jobsubdevgpvm01 ''
which doesn't...

So I think over here;
https://github.com/marcmengel/jobsub_lite/blob/master/bin/jobsub_cmd#L72
we need to check for "i" being empty before we append it to the argument list...

Fixed in #96


Unexpected Performance Issue

I'm seeing a performance issue I simply cannot explain. When I remove this library, the issue vanishes. The trouble is, I really want this to work on my iPhone. What's weirder is that the performance issue depends on where I begin the drag operation. See the attached animation for reference. If I drag a tile from the bottom div, it's great. If I drag an item from the grid, it is horrible. Any thoughts? I wouldn't have thought simply having 16 separate draggable areas would cause this.

Thanks for reporting. I don't have an explanation yet. Some projects where I used this polyfill had similar views as far as number of draggables and dropzones are concerned.
Any chance you can provide a reproduction, either a git repo I can clone or a stackblitz/plunkr? Did you test on Android, too? Can you provide the version(s) of iOS where its occuring?

I've opened up the repo. Feel free to have a look. Thanks.
https://github.com/walkingriver/foreword
It happens on Chrome on the Mac and Mobile Safari. I have not yet tried an Android device.

I just installed it on a Pixel running Pie. Same exact behavior. The iPhone 7 is running iOS 12.1.

Thanks, I've found the cause: https://github.com/walkingriver/foreword/blob/d70f56096d696b14cb374f7c9e6bb185bdabc5e8/src/app/home/home.page.scss#L1
The problem is the transition on the .board-tile class. Since the class is on the draggable element what happens on dragstart is that all applied css properties at that specific time are copied onto the clone of the draggable element that is created to serve as drag image. This is done to preserve styling when the clone is added to the DOM at the root element.
I removed the class and did not see any change in the new game animation so this is probably fine.
.boom {
  transition: 0.5s;
}

If you need a transition on the draggables you can achieve it by conditionally activating some css class on a parent element so in normal drag and drop operations there would be no transition property active on the tiles. Example
.animate-new-game {
  .board-tile {
    transition: .5s
  }
}

Wow. I had forgotten all about that css class. It was something I had been goofing off with, and I doubt I'll even use it. Thanks for taking a look and responding so quickly!

No problem, you might want to check out my angular drag and drop module (shameless self promotion :laughing:)
https://github.com/reppners/ngx-drag-drop


Alert to specify span:type[]: https://github.com/metanorma/metanorma-…

…ieee/issues/174
Metanorma PR checklist

[ ] Breaking changes (list related PRs)
[ ] Documentation update required (create task for this)
[ ] External dependency introduced (documentation update need)
[ ] Gem with native library introduced

Merged into doc20230606


🚀 Feature Request: A way to specify custom polyfills

Describe the solution
In wrangler 1, I could add a custom webpack.config.js and specify aliases under resolve.alias. This allowed me create small shims to support npm packages that currently only work on node (such as @elastic/elasticsearch and express).
So for example, when express calls require('net') I can provide my own net.js file with my own functionality.
Looking at miniflare, it appears that I could use a custom build with webpack or the esbuild plugin esbuild-plugin-alias, but that requires me to create a custom build process.
I noticed that the request in ticket #1011 and others would be satisfied by this way to specify a custom polyfill to use on require or import.

I don't think we have plans just yet to enable overriding of polyfills in a granular fashion as you're describing. The reason we have a node_compat flag is so that we can now start working on them internally, with better polyfills that we'll provide, and potentially runtime support. So for example, in the future, we'll provide our own version of 'net' that actually works without modifications.
That said, I'm sympathetic to the idea of having aliasing functionality. It's just a hard decision to provide at the wrangler level because it can mess with other assumptions across other dependencies, and probably should be at a higher level of abstraction like a custom build. We'll keep discussing it. I think custom builds are a good workaround here for now for your current usecase. Thank you for filing this issue!

Thanks for considering.
A downside of improving the node_compat polyfills is that some libraries may want something stubbed one way and and some another.
I saw that there was a rules section in wrangler.toml which does does allow some esbuild configuration. This one.
[[rules]]
  type = "Text"
  globs = ["**/*.md"]
  fallthrough = true

Anyhow, I'll probably look next at a code change at the miniflare level that would allow adding  plugins to esbuild. Maybe a change to miniflare's build.mjs file.
@threepointone, I see that you are a contributor to miniflare as well. Would such a PR be welcome?
I think my approach would be to allow package.json specify one or more files that should be executed to get additional options for pkgBuildOptions. Or is there a better approach you could recommend?

Even if we own the polyfills with node_compat, you'll have the opportunity to override it with a custom build. So it's still a good solution.
I don't think we'd accept this functionality in miniflare either tbh.
Could you you explain why a custom build isn't a good solution for you? It feels perfectly right for a poweruser usecase like the one you're describing, where you'll have full control over how to alias and replace modules.

@threepointone In my personal use case, I wanted to write code that worked on both on NodeJS and Cloudflare Workers. Why? I don't like the risk of writing an entire app, not knowing if I could fit it into the max build size and max execution time. With Wrangler 1, it was surprisingly easy to make stubs that worked cross platform.
But the bigger draw is potentially for the reverse situation: apps written for NodeJS that can work with minimal changes; perhaps none if you can control the imports. I'd argue that Webpack's providing import aliasing without a plugin shows how common the use case is.
I look at the Works on Workers page and it is hard to convince my peers that they should write apps for a platform where most npm libraries don't work. I'd love to see a place where most npm libraries DO work, even though many will need some sort of companion shim.
As far as why I'm hesitant to make a custom build:

It appears that I need to create a copy of build.mjs, all to add just one line to insert a plugin (Or maybe I only need a 5-line equivalent of build.mjs, I don't know)
When Miniflare updates build.mjs, I may need to update my file to take advantage of new features.
I can't find any documentation about what Wrangler 2 features I lose if I use a custom build (maybe there aren't any)

Maybe you can clear up those points.


bump cpal dependency version

include latest cpal lib

Note that this doesn't change anything, as Cargo will pick version 0.2.8 even if you request 0.2.7.

then we should change rodio version number aswell so cargo can pick up the changed version


2.12-based metac emits wrong symbols for lazy vals and trait vals

Looks like Scalac 2.12 no longer emits the field/getter pair for lazy val members, limiting itself to just the getter. This is different from Scalac 2.11 and makes semanticdb-scalac for 2.12 not conform to the spec.

There seems to be a similar problem for trait vals:
trait T {
  private val f1 = ???
  private[this] val f2 = ???
  private[f] val f3 = ???
  protected var f4 = ???
  protected[this] var f5 = ???
  protected[f] var f6 = ???
}

        |_root_.f.T#f1(). => private getter f1: Nothing
        |  [0..7): Nothing => _root_.scala.Nothing#
-       |_root_.f.T#f2(). => private getter f2: Nothing
+       |_root_.f.T#f1. => private val f1: Nothing
+       |  [0..7): Nothing => _root_.scala.Nothing#
+       |_root_.f.T#f2. => private val f2: Nothing
        |  [0..7): Nothing => _root_.scala.Nothing#
        |_root_.f.T#f3(). => private getter f3: Nothing
        |  [0..7): Nothing => _root_.scala.Nothing#
+       |_root_.f.T#f3. => private val f3: Nothing
+       |  [0..7): Nothing => _root_.scala.Nothing#
        |_root_.f.T#f4(). => protected getter f4: Nothing
        |  [0..7): Nothing => _root_.scala.Nothing#
+       |_root_.f.T#f4. => private var f4: Nothing
+       |  [0..7): Nothing => _root_.scala.Nothing#
        |_root_.f.T#f5(). => protected getter f5: Nothing
        |  [0..7): Nothing => _root_.scala.Nothing#
+       |_root_.f.T#f5. => private var f5: Nothing
+       |  [0..7): Nothing => _root_.scala.Nothing#
        |_root_.f.T#f6(). => protected getter f6: Nothing
        |  [0..7): Nothing => _root_.scala.Nothing#
+       |_root_.f.T#f6. => private var f6: Nothing
+       |  [0..7): Nothing => _root_.scala.Nothing#

Superseded by https://github.com/scalameta/scalameta/issues/1538.


Autoforget on silence not working

At least in some cases I believe we have observed that alerts that have had the autoforget option set do not forget the alert when it goes unknown.
The logic that used to do this was in https://github.com/bosun-monitor/bosun/commit/18fb20e1c96a223235fdb4671b3953dc6579fc13#diff-e2044b69834f7b8060d01256fc22c495L203
I think maybe the following in runHistory in check.go might need a case added for auto-forget:
    // finally close an open alert with silence once it goes back to normal.
    if si := silenced(ak); si != nil && event.Status == models.StNormal {
        go func(ak models.AlertKey) {
            slog.Infof("auto close %s because was silenced", ak)
            err := s.ActionByAlertKey("bosun", "Auto close because was silenced.", models.ActionClose, ak)
            if err != nil {
                slog.Errorln(err)
            }
        }(ak)
    }
    s.Unlock()
    return checkNotify, nil

The intention of this statement is to not create a new incident if the alert key is silenced. Currently active alerts that are then silenced could still go unknown. I believe that was intended behavior at the time we re-worked the incident system.
Is the intention that the following sequence would forget the alert:?

Alert goes crit
Silenced
goes unknown

It may make sense to forget at 3, but I fear we lose information. The silence should suppress unknown notification.

I think this happened again, but I'm not 100% sure the silence had autoforget checked because it doesn't show up on the tab anymore (see https://github.com/bosun-monitor/bosun/issues/1897 )

Happened again. After a 2 week silence with forget we had some alerts go unknown

I believe I'm seeing this same issue.

Alerts are silenced prior to a host being decommissioned with a 6 hour window and "Auto Forget" == True
Host terminates - no alerts sent.
6 hour window expires and unknown alert triggers an alert.

Seeing this on  0.6.0-beta1 too. We're using the API to call silence with the forget option. The silent mode stays for the duration specified and then comes back.

Can this be merged? It's blocking our production use of Bosun.


Use pkg/exec for exec handling

gb had at least three copies of helper functions for handling running commands, running commands and capturing output, running commands and changing the working directory, etc. The combinational explosion of these permutations was annoying, not to mention the duplication.
Refactor this into a new package, github.com/pkg/exec which uses a function options pattern on top of the standard os/exec package.
This will also be the first non standard library package that gb relies on, and until we're self hosted, we'll just have to live with it. Depending on how painful this is, self hosting will come either sooner or later.

Lgtm. Nice refactoring, it looks a lot better now.

Thanks. I was incensed by the requirement to add another pair of run* functions because the broke ass version of git on Centos7 didn't support -C, the thought of having to continue to add permutations for different variants of working directory, output capture, environment munging, etc pushed me over the edge.

Tbh. I admire people who use Centos ^^

I'm going to fork pkg/exec into gb for now. I don't want to tackle the dependency issue at the moment


treesitter.get_node fail because lang is not passed

I am selecting the simple json object and run the :JsonFormatSelection command

The file is name laravel.log and that why it is failing.
Repeating the same process after renaming this file: laravel.json works
It's a shame though, we are formatting JSON so we could pass the lang to treesitter independently of the file extension.

Hello
It is failing because your buffer filetype is not set to json. As I have mentioned in prerequisites section in readme, the filetype of the buffer must be a json. That's why I have mentioned there :h filetype command.
Generally you don't need to rename file and set it's extention to .json, running set filetype=json inside buffer will be sufficient.

after this commit user will see an agreement prompt and if type y buffer filetype will set to json and then will proceed the requested operation.
closing the issue


Header scrolls horizontally but body doesn't follow with header scroll

I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
The entire header row scrolls horizontally, but the body scroll does not change.
Expected behavior
The entire header row and body should scroll horizontally together.
Reproduction of the problem

Create a table.
Add a custom header template with an input component.
Set scrollbarH to true.
Make the table scrollable horizontally.
Focus on the first input in the header.
Press the "TAB" key to change the focus to the next input.

See example in stackblitz editor or app
I have examined the source code of ngx-datatable and found that there is no header-to-body scrolling synchronization, only body-to-header scrolling. I attempted to listen to the header scroll event and recalculate the table dimensions but was not successful.

What is the motivation / use case for changing the behavior?
The motivation for changing the behavior is to allow for the addition of inputs and other elements to the header for expanding table functionality.

Please tell us about your environment:

Table version: 20.1.0

Angular version: 15.1.0

Browser: [all]

Language: [TypeScript 4.7]

I have found a solution that works for me:
I listen to a scroll event on the header element and reset the scroll position to the beginning. Additionally, I listen to a focus event from the header element and scroll the table body to it.
  ngOnInit() {
      const headerElement: HTMLElement = this.hostElementRef.nativeElement.querySelector('.datatable-header');
      // prevent horizontal scroll on header element and table element
      headerElement.addEventListener('scroll', this.scrollEventListener.bind(this));
      // on each focus event we have to scroll the body to this element
      headerElement.addEventListener('focus', this.focusEventListener.bind(this), true);
  }

  private scrollEventListener(scrollEvent: Event): void {
    if (this.skipScroll) {
      this.skipScroll = false;
      return;
    }
    this.skipScroll = true;
    (scrollEvent.target as HTMLElement).scrollTo({ left: 0 });
  }

    private focusEventListener(event: FocusEvent): void {
    const ngxDatatableBodyElement: HTMLElement = this.hostElementRef.nativeElement.querySelector(
      'ngx-datatable .datatable-body',
    );
    const bodyClientRect: DOMRect = ngxDatatableBodyElement.getBoundingClientRect();
    const targetClientRect: DOMRect = (event.target as HTMLElement).getBoundingClientRect();

    const gap: number = 8;
    const isLeftOut: boolean = targetClientRect.left < bodyClientRect.left + gap;
    const isRightOut: boolean = targetClientRect.right > bodyClientRect.right - gap;
    if (isLeftOut || isRightOut) {
      let scrollLeft: number;
      if (isLeftOut) {
        scrollLeft = ngxDatatableBodyElement.scrollLeft - bodyClientRect.left + targetClientRect.left - gap;
      } else {
        scrollLeft = ngxDatatableBodyElement.scrollLeft - bodyClientRect.right + targetClientRect.right + gap;
      }

      ngxDatatableBodyElement.scrollTo({ left: scrollLeft });
    }
  }

I have added a fixed example to StackBlitz, but it is not working well, and I don't have time to figure out why at the moment

The same happens to me. I move the horizontal scroll of the body of the table, but the header does not follow it and stays where it was. This happens to me in Firefox.

This seems to only happen in Firefox.

@BrianMcGrathOtised Recently, I encountered another bug with scrolling in Firefox where the body scrolls, but the header does not follow the scroll position.
This issue started occurring in Firefox 125 because they removed support for vendor-prefix properties. You can read more about it here: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#vendor-prefixed_transform_properties
The ngx-datatable library uses these prefixes for translating the header component.
May be you have faced this issue.

@mmfKupl  Thanks for the info, but how did you fix the issue then ?

@GauravKediaDbox

@mmfKupl Thanks for the info, but how did you fix the issue then ?

I use a fork ngx-datatabe in my project and changed this file so that prefixes are not added.
Instead of forking, you can patch the package using patch-package - it's worked for me well for about 2 years.


added support for display style (only none or inline values)

SvgReader improvements

I introduced a bug in this pull request... removed the pull request.. will do a new request without the bug


Reduce does not work with chunk

Laravel Version: 5.8.3
PHP Version: 7.2.11

Description:
I have an example where I use reduce with chunk. In the second call,
the computation is 1*2 + 3*4 + 5*6, which should give 44. It gives 2.
I have worked with Collect.jswhich is a port of Laravel's collections, where
it works OK.
Steps To Reproduce:
$nums = [1, 2, 3, 4, 5, 6];

$data = collect($nums);

$val = $data->reduce(function($c, $e) { return $e += $c; });
dump($val);

$val2 = $data->chunk(2)->reduce(function($c, $e) {
    // echo $e->get(0) . "\n";
    // echo $e->get(1) . "\n";
    return $c + $e->get(0) * $e->get(1);
}, 0);

dump($val2);

Your code doesn't work because the keys 0 and 1 only exist in the first sub-collection:
Collection {#236 ▼
  #items: array:3 [▼
    0 => Collection {#227 ▼
      #items: array:2 [▼
        0 => 1
        1 => 2
      ]
    }
    1 => Collection {#235 ▼
      #items: array:2 [▼
        2 => 3
        3 => 4
      ]
    }
    2 => Collection {#228 ▼
      #items: array:2 [▼
        4 => 5
        5 => 6
      ]
    }
  ]
}

Use first() and last() instead:
$val2 = $data->chunk(2)->reduce(function($c, $e) {
    return $c + $e->first() * $e->last();
}, 0);

If the sub-collections contain more than two values, you'll need to use a nested reduce().

OK, I got it. Thanks for clarification.


get_all_ConsequenceType API method no longer exists and appears to be unused here

Hi Nick,
This is the same fix in Will's pull request #167 "remove reference to unused and now removed class/method".
Cheers,
Laurent


Improve message Error:  Cannot read properties of undefined reading getPortSelector

Snippet code to reproduce
Error
Render Error: Cannot read properties of undefined (reading 'getPortSelector')

/bounty $15


[BUG]

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
Couldn't install bloxshade for bloxstrap, before it was perfectly fine, but now it just kept saying "failed to open file". Is there any way to fix this issue? My bloxstrap is on version 2.8.0. I'm not so sure what was the version I use before, I think it's 2.7.0.

Bloxstrap Log
N/A

No, this is for Bloxshade to fix.