Unable to Unit Test WebSocket

What version of Elysia.JS is running?
1.0.27
What platform is your computer?
Linux <IP_ADDRESS>-microsoft-standard-WSL2 x86_64 unknown
What steps can reproduce the bug?
I am unable to unit test the WebSocket. Eden Treaty tries and fails to connect to ws://e.ly/ws.
import Elysia from "elysia"
import { describe, expect, test } from "bun:test"
import { treaty } from "@elysiajs/eden"
import { sleep } from "bun"

describe("WebSocket", () => {
  test("via Elysia.handle", async () => {
    const app = new Elysia().ws("/ws", {})

    const res = await app.handle(new Request("http://e.ly/ws"))
    expect(res.status).toBe(101) // Received: 404
  })

  test("via Eden Treaty", async () => {
    const app = new Elysia().ws("/ws", {})

    const api = treaty(app)

    const client = api.ws.subscribe()
    expect(client.ws.readyState).toBe(client.ws.CONNECTING)
    await sleep(500)
    expect(client.ws.readyState).toBe(client.ws.OPEN) // Received: 3 (CLOSED)
  })
})

What is the expected behavior?
The WebSocket connection is successful and can be tested.
What do you see instead?
The connection will always be closed soon.
Additional information
No response

I would love to see this fixed. Has me at a full stop with a big development project 😅

You have not started the websocket by calling the listen(anyPort) function?

@franszhafran As far as I know, the unit test should be able to test the route without running the actual server. Elysia's unit test documentation also says that it simulates HTTP requests.
Although, there is no information about WebSocket in the document, but it would be beneficial if Elysia could support it.
End-to-end testing is more cumbersome 😢

@franszhafran I haven't tried your suggestion, but if it works, it would be a good workaround.

I think there was some confusion because I put a bug label on this issue. The point of this issue is that we need a way to do unit testing without running the server like other routes.

Yeah as long as I dug out, mocked web socket testing is not supported by Eden, currently the only possible way is to test a real web socket server. I do not know the framework author decision on this feature. I will try to follow up about this feature.

Yeah for an enterprise project I was not able to use this for the lack of unit testing available.
Otherwise it'd have served its purpose 😀

I currently have a project that heavily depends on websockets. My workaround for this was to create a helper function that started the app on an actual port (4011) in my case and returned an eden treaty. That might work for your use case


404 Page not found

I recently installed influxdb v 1.2 on raspberry pi, but when i tried reaching https://localhost:8086 it says page not found, where as 8088 is not reachable. Please help me.

GitHub Issues are reserved for actionable bug reports and feature requests. General questions should be sent to the InfluxDB mailing list.
That being said, please go through the getting started guide. Or maybe you were looking for the (deprecated) Admin UI which is on port 8083.


Add a test case to is_message_expire of file src/mqtt-broker/src/handler/message.rs

What's changed and what's your intention?
Add a test case to is_message_expire of file src/mqtt-broker/src/handler/message.rs
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Checklist

[x]  I have written the necessary rustdoc comments.
[x]  I have added the necessary unit tests and integration tests.
[x]  This PR does not require documentation updates.

Refer to a related PR or issue link (optional)
[RobustMQ-586]

cc @socutes


Incorrect URL for launcher.sh, script can't proceed. solved

Bug description
Once the below steps (see To Reproduce) are followed, the script tries to download a file:
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/launcher.sh
This file doesn't exist at this location, so gets a 404 response, and causes one of two paths forward depending on the user input:

a seemingly infinite loop
Saving progress so far, and ending the script.

Is the correct file this one?
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/blob/main/files/extras/desktop-starter/launcher.sh
To Reproduce
Steps to reproduce the behavior:

Run the script using instructions from the readme. See below:

cd $HOME && mkdir -p "Fusion360" && cd "Fusion360" && wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/scripts/stable-branch/fusion360-setup-wizard.sh && chmod +x fusion360-setup-wizard.sh && bash fusion360-setup-wizard.sh && exit

Select from the prompt windows:

Repair installation...and let it run.
Select the location of a previous installation... and let it run.

See error in the terminal (see below for exact error). A prompt window appears titled: Autodesk Fusion 360 for Linux - Setup Wizard. There is an empty text box, and a tick box at the bottom labelled: 'I have changed the path of Autodesk Fusion 360!'. From there the user can click 'cancel'  which causes the window to pop up again asking the same question. Or the user can click "ok" after ticking the tick box. The user is asked if they want to save progress. If they choose Ok, they are asked to select the extension they want to install, I selected none, then the script ends. The console says "nothing selected".

Desktop

Ubuntu 20.04
OpenGL-Mode

The exact error message
2021-11-14 22:11:13 (6.16 MB/s) - '/home/g/.local/share/applications/wine/Programs/Autodesk/Autodesk Fusion 360.desktop’ saved [354/354]

--2021-11-14 22:11:13--  https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extras/desktop-starter/launcher.sh
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/extras/desktop-starter/launcher.sh [following]
--2021-11-14 22:11:13--  https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/extras/desktop-starter/launcher.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1356 (1.3K) [text/plain]
Saving to: '/home/g/.local/share/fusion360/launcher.sh.1’

launcher.sh.1       100%[===================>]   1.32K  --.-KB/s    in 0s

2021-11-14 22:11:14 (21.7 MB/s) - '/home/g/.local/share/fusion360/launcher.sh.1’ saved [1356/1356]

--2021-11-14 22:11:14--  https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/launcher.sh
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-11-14 22:11:15 ERROR 404: Not Found.

PS
Totally fantastic script! Thank you for all your work on this! :-)

@Aus-gez Thank you for this information! :+1:

Wow! Thanks for the speedy resolution!


App crashes when click on Playable Item from list

I have implement CarPlay for my audio app using this sample. I have 2 issues.

List is showing different Title and SubTitle then what is actually provided
When I click on list item in CarPlay simulator my MPPlayableContentDelegate's InitiatePlaybackOfContentItem() method gets call but then app crash.

Crash message:
 Assertion failure in void _MPInitiatePlaybackCallback(MRMediaRemoteIndexPath, void *)_block_invoke(), /Library/Caches/com.apple.xbs/Sources/MediaPlayer_Sim/MobileMusicPlayer-4017.700.3/SDK/MPPlayableContentManager.m:722

The example is not finished yet. Sorry.
If I have time I will post the complete code.

Please can you post the complete code?? It would be really helpful

Sorry, there is no time for it...

At least you can update what should go inside InitiatePlaybackOfContentItem() method??

@divyesh008 I commited a working example

@Suplanus I have got the solution already, but thanks for update

Great. Perhaps you can enhance the demo.
Have you catched the connecting event?


bug: cast send doesn't display custom errors on tx reverts

Component
Cast
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (0b73b42 2024-08-05T00:19:50.130854000Z)
What command(s) is the bug in?
anvil; forge create SimpleStorage --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80; cast send 0x5FbDB2315678afecb367f032d93F642f64180aa3 "setValue(uint256)" 101 --private-key=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
Operating System
macOS (Apple Silicon)
Describe the bug
When running cast send, if your tx reverts with a custom error, cast only displays:
Error:
server returned an error response: error code 3: execution reverted:

But no custom error (nor error, nor signature), which makes it super hard to debug.
Reproducible with the anvil's default private key with this contract:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract SimpleStorage {
    uint256 private storedValue;

    event ValueChanged(uint256 newValue);

    error ValueTooHigh(uint256 providedValue, uint256 maxValue);

    function setValue(uint256 _newValue) public {
        if (_newValue > 100) {
            revert ValueTooHigh({ providedValue: _newValue, maxValue: 100 });
        }
        storedValue = _newValue;
        emit ValueChanged(_newValue);
    }

    function getValue() public view returns (uint256) {
        return storedValue;
    }

    function incrementValue() public {
        storedValue += 1;
        emit ValueChanged(storedValue);
    }

    function divideTenBy(uint256 _divisor) public pure returns (uint256) {
        require(_divisor != 0, "Cannot divide by zero");
        return 10 / _divisor;
    }
}

Run Anvil
forge create SimpleStorage --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
cast send 0x5FbDB2315678afecb367f032d93F642f64180aa3 "setValue(uint256)" 101 --private-key=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80

Interested in solving this one

see https://github.com/foundry-rs/foundry/issues/8603

Thinking it solves #8603 as well

this is fixed now, showing
server returned an error response: error code 3: execution reverted: custom error 0x7a0e1985: ed, data: "0x7a0e198500000000000000000000000000000000000000000000000000000000000000650000000000000000000000000000000000000000000000000000000000000064

to see decode with project abis, then you can use
forge selectors find 0x7a0e1985
which will return
+-------+-------------------------------+------------+---------------+
| Type  | Signature                     | Selector   | Contract      |
+====================================================================+
| Error | ValueTooHigh(uint256,uint256) | 0x7a0e1985 | SimpleStorage |
+-------+-------------------------------+------------+---------------+

Please reopen if still an issue for you. thank you!


using css class parameter breaks iOS when navigating

Hi there
Using nativescript 3.0.2 & Angular/Typescript
Using the following in a html layout breaks iOS when navigating to the View. (The navigation doesnt do anything. The app doesnt crash)
this.routerExtensions.navigate(['/main']);
This doesnt work:
<CardView class="cardStyle" elevation="4" radius="1" marginBottom="2" width="100%">             <StackLayout orientation="vertical" padding="20">             </StackLayout> </CardView>
This works:
<CardView elevation="4" radius="1" marginBottom="2" width="100%">             <StackLayout orientation="vertical" padding="20">             </StackLayout> </CardView>
.cardStyle {     background-color: #ffffff; }
Everything works in Android as expected.

An update:
If I remove from the css
background-color: #ffffff;
It works, so it seems there is a problem specifying this property? Any ideas what might be causing this?

Not sure. @manijak - do you have any idea what might be happening here on iOS?

This is unknown to me. Every single of my CardView instances have a class applied, and they work just fine both on iOS and Android. Could be an ng2 only issue, I use vanilla js for my apps.

Yea might be something with angular instance. Prob need to check with the
angular repo to see if they have any idea.
On Sun, Jun 25, 2017, 1:20 PM Ned<EMAIL_ADDRESS>wrote:

This is unknown to me. Every single of my CardView instances have a class
applied, and they work just fine both on iOS and Android. Could be an ng2
only issue, I use vanilla js for my apps.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bradmartin/nativescript-cardview/issues/58#issuecomment-310918917,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhMw6dTNdhAL5HcOoG72xhJVTJp14ks5sHqTbgaJpZM4OAmRV
.

Ups, spoke too soon. Just upgraded the plugin to latest version and get the same issue. Using background-color css element makes the app crash when navigating back to a view that has CardView with that css-element. Weird error.
Using backgroundColor="white" directly on the XML, works fine.

@bradmartin  It appears to be going down when it hits line 37 in common.js
CardView.prototype[cardview_common_1.backgroundInternalProperty.setNative] = function (value) {
        this.nativeView.backgroundColor = new color_1.Color(value.color + "").ios;
};

Commenting out this entire property, makes the issue go away. I do not understand what this property does, since there already is a backgroundColorProperty just above this one, and it does the job.

I've seen an issue on another plugin similar to this. Works with XML not
css and causes issues. don't recall which plugin. Maybe pull to refresh or
radio button. I'll have to look later. However I prob won't be able to dig
too deep until late in the week or next.
On Sun, Jun 25, 2017, 3:53 PM Ned<EMAIL_ADDRESS>wrote:

@bradmartin https://github.com/bradmartin It appears to be going down
when it hits line 37 in common.js
CardView.prototype[cardview_common_1.backgroundInternalProperty.setNative] = function (value) {
this.nativeView.backgroundColor = new color_1.Color(value.color + "").ios;
};
Commenting out this entire property, makes the issue go away. I do not
understand what this property does, since there already is a
backgroundColorProperty just above this one, and it does the job.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bradmartin/nativescript-cardview/issues/58#issuecomment-310927596,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhKuITpflcxIFZR_jqoazKOjJdTMGks5sHsjdgaJpZM4OAmRV
.

Thanks guys for looking into 👍


多注册中心环境下服务未去重

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.10
Operating System version: win7
Java version: 1.8

Steps to reproduce this issue
provider和consumer通过 ‘dubbo:registry address="multiple://......’  配置了多个注册中心，比如一个Nacos，一个Zookeeper，provider向两个注册中心注册了自己的service，consumer在loadbalance.select()时会读取到同一服务在两个注册中心下两份相同的实例。
Expected Result
不应该对未去重的实例进行负载均衡：loadbalance.select()读取到的应该是经过去重的实例，在上述例子中，应该只有一个。

The essence of this problem is the URL represented by the instance. How to judge whether it is equal?
Separate two versions to discuss,
2.7.x: The URL does have the problem discussed above, that is, different registries carry different parameters, which makes it more difficult to deduplicate the URL.
3.x: In 3.x, we introduced a multi-instance design, whether it is possible to bind an instance when subscribing, that is, the interface name, group, and version are no longer the only conditions, and Framework, Application must also be added. , Module can determine uniqueness.


feat(badge): add open source + bash badge

Bash Badge
https://github.com/ellerbrock/open-source-badges/
Size: 150x25px

[![Bash Shell](https://badges.frapsoft.com/bash/v1/bash-150x25.png?v=103)](https://github.com/ellerbrock/open-source-badges/)

Size: 175x39px

[![Bash Shell](https://badges.frapsoft.com/bash/v1/bash-175x30.png?v=103)](https://github.com/ellerbrock/open-source-badges/)

Size: 200x34px

[![Bash Shell](https://badges.frapsoft.com/bash/v1/bash-200x34.png?v=103)](https://github.com/ellerbrock/open-source-badges/)

Hey, seems like this PR has gone stale. So I am closing it. Thanks for contributing!


Mention of "network" on /update_ip.html

Not a priority bug (IMO), but the word "network" has been explicitly removed from elsewhere in marketing communications, URLs and the dashboard, so ideally wouldn't be mentioned here either.

@S-Coyle what should be mentioned here?
Will "SAFE - CRUST Test" be fine? or just "CRUST Test"


separate cache for bookmark favicons

Task/Issue URL: https://app.asana.com/0/392891325557410/1128329641628046
Tech Design URL:
CC:
Description:
Adds a cache for the bookmarks.  Clears the general cache when 🔥 executed.
Steps to test this PR:

Fresh install on simulator
Determine location of app install
Launch app
run find . from root app directory - note directories and files
Browse and open a new tabs and open the tab switcher
Add a few bookmarks and open the bookmarks manager
Run find . from root app directory - note directories and files
Press 🔥
Run find . from root app directory - note directories and files - should return to clean state with "bookmarks" kingfisher cache still in place.

Internal references:
Software Engineering Expectations
Technical Design Template

Thanks!


 We should cache the results of calls to ivy both in-memory and in some persistent data-structure somewhere so as to avoid making those expensive calls

I wonder if replacing ivy with something like Aether would work

http://stackoverflow.com/questions/10536221/fetching-maven-artifacts-programmatically
http://blog.sonatype.com/2011/01/how-to-use-aether-in-maven-plugins/#.VXSgNFzBzGc

Done as part of https://github.com/lihaoyi/Ammonite/commit/3cfaeaed4b3a4f6a556b4486c57df9f3d8f4af5d
https://github.com/lihaoyi/Ammonite/pull/110 is another way to make this better, but now that ivy's own stupid slowness is being cached it's much less urgent a problem


Confirming navigation

I am trying to implement this
https://github.com/reactjs/react-router/blob/master/docs/guides/ConfirmingNavigation.md
But can't seem to find a good way to get access to the router from a component.
Anyone have an idea?

You should be able to access the router via context, see: https://github.com/reactjs/react-router/blob/master/docs/Troubleshooting.md#thiscontextrouter-is-undefined or https://github.com/reactjs/react-router/blob/master/upgrade-guides/v2.0.0.md#changes-to-thiscontext.

@davezuko Oh cool. I didn't realize it had all been moved to the history prop. Thanks!


MusicXML parser: Stop adding an extra key signature at time -1

Also adds a unit test to verify the contents of the flute scale.

FYI @jsawruk

Thanks for fixing this, as well as demonstrating a different way to do unit testing.


fix: Code-style was refactored with PEP8 standard

Code-style was refactored with PEP8 standard and linter was appended
I am not sure about CI linter configuration
Close #34 issue

Pleace check CI config


feat: Bump compose compiler to 1.3.0 and libs to 1.2.1

Updates:

Compose compiler to 1.3.0 (...and Kotlin to version 1.7.10 as a side-effect)
Compose libraries to 1.2.1

Thanks! Would you mind rebasing since we moved the dependencies in PR #185?


TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode

I have been trying to use chai-as-promised to test fetch calls but haven't been able to get the expected result.
Here's the ES6 module I am testing:
export class Weather {
    /**
     * Constructor for Weather class
     *
     * @param latitude
     * @param longitude
     */
    constructor(latitude, longitude) {
        this.latitude = latitude;
        this.longitude = longitude;
    }

    /**
     * Fetches the weather using API
     */
    getWeather() {
        let headers = new Headers();

        let init = {
            method: 'GET',
            headers: headers,
            cache: 'default'
        };

        let url = 'http://localhost:8080/weather?lat=' + this.latitude + '&lon=' + this.longitude;

        return fetch(url, init).then(function (response) {
            return response.json();
        });
    }
}

Here's the test:
import {Weather} from '../js/weather';
import chai from 'chai';
import sinon from 'sinon';
import * as chaiAsPromised from 'chai-as-promised';

chai.use(chaiAsPromised);

let assert = chai.assert;

describe('weatherbot', function () {
    beforeEach(() => {
        sinon.stub(window, 'fetch');

        let data = '{"coord":{"lon":-79.73,"lat":43.66},"weather":[{"id":521,"main":"Rain","description":"shower rain","icon":"09d"}],"base":"stations","main":{"temp":15.28,"pressure":1009,"humidity":82,"temp_min":13,"temp_max":17},"visibility":24140,"wind":{"speed":7.2,"deg":30},"clouds":{"all":90},"dt":1496770020,"sys":{"type":1,"id":3722,"message":0.0047,"country":"CA","sunrise":1496741873,"sunset":1496797083},"id":5907364,"name":"Brampton","cod":200}';
        let res = new window.Response(data, {
            status: 200,
            headers: {
                'Content-type': 'application/json'
            }
        });

        window.fetch.returns(Promise.resolve(res));
    });

    afterEach(() => {
        window.fetch.restore();
    });

    it('should return a resolved promise if call is successful', () => {
        let weather = new Weather(43.65967339999999, -79.72506369999999);

        return assert.isFulfilled(weather.getWeather(), "promise resolved");
    });
});

I am running running the test using karma & been getting this error:
TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
	    at Assertion (test/index.js:835:73)
	    at Function.assert.isFulfilled (test/index.js:625:187)
	    at Context.<anonymous> (test/index.js:6829:2334)

Also, I am using babel-cli and webpack as well.
Firstly, why this error being thrown & second, am I doing something wrong in my test?

Sorry, I can't debug issues like this where there are so many third party packages involved. Please produce a minimal example I can run using node example.js andno webpack or Babel or Sinon or syntax that isn't supported in major engines.

Looks like it was my bad, I was using the wrong assertion, using  return weather.getWeather().should.be.fulfilled; seems to fix the issue.
I will close the issue. Thank you for the quick reply @domenic, I really appreciate it.


esbuild-plugin: addWatchFile not allowed outside supported hooks

esbuild doesn't like addWatchFile being called during buildStart
[ERROR] unplugin/esbuild: addWatchFile outside supported hooks (resolveId, load, transform)

the offending line is the watch of the "tsconfig.json" file here
commenting out that line fixes things, just means needs a kick if tsconfig changes (which is very rare)
version<EMAIL_ADDRESS>

Thank you this is fixed in this release https://github.com/evmts/tevm-monorepo/blob/89122f51e3755ab9c741783d2ed9b16bf4f0e7db/bundler-packages/unplugin/CHANGELOG.md?plain=1#L92


Create method to track ledger RevEntry writes and compare wallet to ledger state to help in restored-from-backup scenario

Add a mechanism to the wallet to track in the database what ledger RevEntry writes are made and included that in a startup (or Admin API endpoint?) check that the wallet is in sync with the ledger.
The concern is that when a wallet must be restored from backups we have a way to check if the wallet is in sync with the ledger.  For some objects (DIDs, Schema, Cred Defs, RevRegs), we can just check if the ledger objects created by the wallet exist on the ledger.  However, I don't think that can be done for RevEntries.  If it is not possible then let's make it possible by storing information in the database when we write a RevEntry.

Transferred issue from von repo to keep it alive in case this is still something we need to look at. Ifnot, it can be closed.
@swcurran @andrewwhitehead could you please chime in based on the current status of revocation and the direction the community is taking?


fix: add migration for missing string format indices.

Running a flow on SFN creates string format ids for run_id and task_name. Using these ids with metaflow client to access records is missing the necessary indices, and can result in very slow requests.
This PR should solve #82
TODO:

[ ]  Verify that the addition of the indices has no adverse effects on metadata service performance

LGTM but looks like the TODO item still needs to be done before merging?

LGTM but looks like the TODO item still needs to be done before merging?

If @romain-intel can confirm that they are indeed running the same indices internally then I'd consider these tested and ready for merging.


is there a mailing list for users?

HI-
I finally got soci to work with query transformations. I am sure I did something wrong yesterday to make it not link right. I am interested in asking a coding question about usage of soci but this list seems to address more developer stuff. Is the sourceforge list still active? I searched around a bit and the threads seemed kind of old Please let me know. thx.

HI- I posted to sourceforge mailing list. I will wait patiently and see what happens. Have a cool weekend. thx.

http://soci.sourceforge.net says:

To meet other users, please consider subscribing to the SOCI-users mailing list.
There is also SOCI-devel mailing list available dedicated to development discussions only.

https://github.com/SOCI/soci/blob/master/README.md displays , once you follow the links, soci-devel and soci-users lists are presented.
I don't know how the lists could be displayed more vividly :-)


"Lazurite Axe Axe Marlin" does not exist in db

"Lazurite Axe Axe Marlin" is a fish from sumeru, i cannot use .materials to find it. i assume u forgot to add it so im reminding u

https://github.com/theBowja/genshin-db/blob/main/src/data/English/materials/lazuriteaxemarlin.json


Please confirm these before moving forward

[x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[x] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Other
Brief description of your issue
Duplicate of CollapseLauncher.Collapse
Steps to reproduce
/
Actual behavior
/
Expected behavior
/
Environment
Gestionnaire de package Windows v1.9.25200
Copyright (c) Microsoft Corporation. Tous droits réservés.

Windows: Windows.Desktop v10.0.26100.2605
Architecture du système : X64
Package : Microsoft.DesktopAppInstaller v1.24.25200.0

Screenshots and Logs
No response

Should I remove the entire package identifier Collapse.Collapse? Or should I migrate it to CollapseLauncher.Collapse?


[SPARK-31594][SQL] Do not display the seed of rand/randn with no argument in output schema

What changes were proposed in this pull request?

This PR intends to add sql in rand/randn with no argument to make a column name deterministic.
Before this PR (a column name changes run-by-run):
scala> sql("select rand()").show()
+-------------------------+
|rand(7986133828002692830)|
+-------------------------+
|       0.9524061403696937|
+-------------------------+

After this PR (a column name fixed):
scala> sql("select rand()").show()
+------------------+
|            rand()|
+------------------+
|0.7137935639522275|
+------------------+

We can still check a seed in explain output:
scala> sql("select rand()").explain()
== Physical Plan ==
*(1) Project [rand(-2282124938778456838) AS rand()#0]
+- *(1) Scan OneRowRelation[]

Note: This fix comes from #28194; the ongoing PR tests the output schema of expressions, so their schemas must be deterministic for the tests.
Why are the changes needed?

To make output schema deterministic.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Existing tests.

Minor fix though, how about this? @dongjoon-hyun @HyukjinKwon

Test build #121990 has started for PR 28392 at commit 7216511.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26665/
Test PASSed.

Test build #121990 has finished for PR 28392 at commit 7216511.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/121990/
Test FAILed.

Test build #122007 has started for PR 28392 at commit 663fdc7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26680/
Test PASSed.

Test build #122007 has finished for PR 28392 at commit 663fdc7.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Rand(child: Expression, useRandSeed: Boolean = false)
case class Randn(child: Expression, useRandSeed: Boolean = false)

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122007/
Test PASSed.

Test build #122021 has started for PR 28392 at commit 4b1f3f2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26694/
Test PASSed.

Test build #122021 has finished for PR 28392 at commit 4b1f3f2.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Rand(child: Expression, hideSeed: Boolean = false)
case class Randn(child: Expression, hideSeed: Boolean = false)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122021/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26715/
Test PASSed.

Test build #122042 has started for PR 28392 at commit d90b2e7.

Test build #122042 has finished for PR 28392 at commit d90b2e7.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122042/
Test FAILed.

retest this please

Test build #122045 has started for PR 28392 at commit d90b2e7.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26719/
Test FAILed.

@maropu I will update https://github.com/apache/spark/pull/28194

Thanks, @dongjoon-hyun !

Test build #122045 has finished for PR 28392 at commit d90b2e7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122045/
Test PASSed.


Add batching to reanalyze_all.

It currently times out in staging.
I'm too scared to deploy to prod without this 😬
Fixes #196

Thanks!


Handle decomposed unicode characters.

rendering of zero width characters.
correct cursor movements. (+ backspace implementation.)

See: https://github.com/ipython/ipython/pull/9378

See also: https://github.com/ipython/ipython/issues/9376#issuecomment-206464016

The first part has been implemented in: https://github.com/jonathanslenders/python-prompt-toolkit/commit/f311c7524a318ba2bf264bc2024388706e0485e8
Cursor movement still needs to be done. Right now it's still possible to position the cursor in the middle of the decomposed character.

See https://github.com/ipython/ipython/issues/9376#issuecomment-394802297
It seems that it doesn't work for double width chars.

'你̂好̄嗎̃'

Hi @randy3k, thanks for noticing!
This commit should fix that: https://github.com/jonathanslenders/python-prompt-toolkit/commit/c6ebc96aa3278a6136d76e4ba98308044293a8a2 Can you please try again?
Notice that it still requires multiple cursor movements (left/right arrow) to move across these characters.


(Will PR) Allow to provide custom headers to flutter web run

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
Hi, when developing https://github.com/fzyzcjy/flutter_rust_bridge v2, I hope to use flutter run to host the WASM (compiled from Rust) as well. However, it seems that to use certain features of WASM, the browsers require some http headers to be set.
The current workaround is that, we write our own code to create a devserver with such headers (if you are interested: https://github.com/fzyzcjy/flutter_rust_bridge/blob/68b1a9415d5a47b9a793074974af8b2f8a8bcfc0/frb_dart/bin/serve.dart#L325), and require users to use this code, instead of the familiar flutter run or whatever.
Surely, this is suboptimal: It is most natural and fluent to use flutter run, and every IDE has good support or it, etc. And things like flutter test may not have a easy substitution by the custom code because it has a lot of other logic inside.
I will PR for this, but I am not sure whether this looks good to Flutter dev team. If looks ok, just ping me and I will submit code!
Proposal
(see above)

Hi @fzyzcjy, it seems like this feature already exists on the master channel. See https://github.com/flutter/flutter/pull/136297.
Is that what you're referring to or are you talking about something else?

Wow that's great, yes this is what I mention in the issue! I really do not expect this to be implemented in master (since it is not there for the whole history), and thanks for pointing out that PR and issue to me.

@fzyzcjy I implemented specifically to use with flutter_rust_bridge :)


fix: clear selections brush

:tada: This PR is included in version 1.2.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Keyboard Inactive + acts as if Alt is maintained

Microsoft PowerToys version
0.81.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce
I remapped a couple of keys (see screenshot).
It happens frequently that the keyboard gets stuck or "locked" : I can't type with any key (beside the volume keys) and sometimes on top of not being able to type anything it acts as if I was maintaining "alt" pressed. So If I type "N" on chrome for instance, it intereprets it as Alt+N and opens a new tab.
A similar problem occurs inside Blender way more often : all of a sudden the keyboard is stuck/locked, can't type any value or text, the only I can do to get control back on the keyboard is to press ctrl+alt+spacebar. On this specific problem I have been looking at the problem with the Blender devs as well and they haven't found the bug to be on Blender side which would make sense because it isn't limited to that software.
I don't use Sticky Keys so I really don't know...
Any help would be much appreciated,
Thanks

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
Blender (all versions)
Photoshop (acts as if ctrl was maintained)

/dup https://github.com/microsoft/PowerToys/issues/22346


Browse page performance

Loading 18MB of scheme data and filtering is still reasonably fast (a few seconds), but lag is noticeable. I did a little bit of profiling and have some ideas for improvements. I don't think any of this is important to do yet, but wanted to record these notes somewhere.

[x] addLineStringEndpoints takes 650-850ms. We're making a full defensive deep-copy unnecessarily, could improve this.
[ ] addLineStringEndpoints is called twice when loading a file, because we lazily instantiate the Filters component, and because filtersUpdated gets called once upon creation.

When we update filters, we're modifying a per-feature property, which forces maplibre to reprocess all the GJ data. I tried using feature state, but:

filtering on feature-state isn't supported
we can set opacity to 0 based on feature state, but clicking/hovering still picks up the hidden features, so this doesn't work

So...

[ ] Try using https://maplibre.org/maplibre-gl-js/docs/API/classes/maplibregl.GeoJSONSource/#updatedata in svelte-maplibre

[ ] When typing free text in the filters, debounce requests. Or just update once the element loses focus

Oh yeah, and

[ ] gzip the .gj file. If we make sure our GAE proxy sends the gzip header correctly, the browser will gunzip for us

Also tried out updateData; it'll get us a little bit of a win, but I have to make sure line endpoints have unique IDs. https://osmus.slack.com/archives/C01G3D28DAB/p1706714321758859 for notes / benchmark results


Add file data capabilities: product data, documentation, export

A lot of progress in b3fe7ddec588b955c48528d6b97181b635b53ef5. Still blocking:

[ ] Some of the file contents download fine but don't seem to be valid text. Only the PDF report is OK. Could be an encoding issue of something trickier.
[ ] #4


fix build only with src_bigquery and dst_arrow2

before: cargo build --features "dst_arrow2 src_bigquery" failed, now it works

Thank you @marianoguerra !


Allow templates to be included inside the stack image

Is your feature request related to a problem? Please describe.
As stacks are customized and distributed, it becomes increasingly likely that templates and stacks will get out of sync (since they are published as separate artifacts). Templates are comparatively thin, but often depend on the build behavior of the stack (at least in a "this template requires this minimum version of the stack" sense).
Describe the solution you'd like
I think the templates should be packaged inside the stack. That way, you can extract/use a template from any stack image, and you never get into the situation where a project can't be created because either the two separate publishing mechanisms are out of sync.
From an index.yaml POV, this could look something like this:
  - id: java-spring-boot2
    name: Spring Boot®
    version: 0.4.0
    description: Spring Boot using OpenJ9 and Maven
    license: Apache-2.0
    maintainers:
      - name: Erin Schnabel
        email<EMAIL_ADDRESS>        github-id: ebullient
    default-template: default
    templates:
      - id: default
        url: image:/templates/default.tgz
      - id: kotlin
        url: image:/templates/kotlin.tgz
    image: appsody/java-spring-boot2:0.4.0

If the image: URL is present, then the image tag is used  to find the templates (this assumes one image per appsody stack).
The side effect of this is that, during build/packaging, I can take parameters like the git organization and repo, and the version from the stack.yaml and propagate those down through the templates in one shot, reducing the number of resources that need to be updated as things are forked or cloned.

Update: #325 for version in Docker-stack and Dockerfile
Will make smaller PR to move templates into the stack (for build)


Draw up final schematic on KiCad

Draw up schematic for all the subsystems on the KiCad software

See #56 for some some work done.


Client/src/index.css

updating css for homepage get puzzled button and testing push and pull (excuse the little changes)

updating homepage get puzzled button


MacOS Catalina Update: Service is disabled and cannot be executed

Issue Type: Bug
I can't figure out why automatic updates don't work on my catalina, and have to re-download the whole binary whenever there is a new release of vscode... I don't have this issue with any other macos app
VS Code version: Code 1.49.0 (e790b931385d72cf5669fcefc51cdf65990efa5d, 2020-09-10T17:39:53.251Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
32.00GB (1.19GB free)

Process Argv
--crash-reporter-id 53aea4e5-105c-4792-935d-8567b4e4efe0

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

better-toml
bun
0.3.2

vscode-postgres
cko
1.1.11

gitlens
eam
10.2.2

prettier-vscode
esb
5.6.0

go
gol
0.16.2

vscode-styled-components
jpo
0.0.31

vscode-docker
ms-
1.5.0

svelte-vscode
sve
101.13.1

vscode-icons
vsc
10.2.0

markdown-all-in-one
yzh
3.3.0

(1 theme extensions excluded)

Possible duplicate issue, can you follow the steps at https://github.com/microsoft/vscode/issues/106258#issuecomment-689126228 and provide the required details. Thanks!

Just left a comment there, but it seems the bot closed it already?

Can you attach the log when launching with code --verbose and clicking update now action.

Hi @deepak1556
Here you go :)
[79162:0917/181529.391591:INFO:CONSOLE(1705)] "%cTRACE color: #888 CommandService#executeCommand update.check", source: file:///Users/smarkovs/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1705)
[79162:0917/181529.391766:INFO:CONSOLE(1705)] "%cTRACE color: #888 telemetry/workbenchActionExecuted [object Object]", source: file:///Users/smarkovs/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1705)
[main 2020-09-17T16:15:29.392Z] update#checkForUpdates, state =  idle
[main 2020-09-17T16:15:29.392Z] update#setState checking for updates
[main 2020-09-17T16:15:29.393Z] UpdateService error: The command is disabled and cannot be executed
[main 2020-09-17T16:15:29.393Z] update#setState idle
[79162:0917/181529.397747:INFO:CONSOLE(3066)] "The command is disabled and cannot be executed", source: file:///Users/smarkovs/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (3066)
[main 2020-09-17T16:15:29.602Z] menubarService#updateMenubar 1
[main 2020-09-17T16:15:51.618Z] update#checkForUpdates, state =  idle
[main 2020-09-17T16:15:51.618Z] update#setState checking for updates
[main 2020-09-17T16:15:51.620Z] UpdateService error: The command is disabled and cannot be executed
[main 2020-09-17T16:15:51.620Z] update#setState idle

ping @deepak1556

This should be open - what more info can I provide than this? :)

Sorry missed this, related https://github.com/electron/electron/issues/7792 . The issue upstream was when update checker function was called in the middle of processing an update request.
Can you find ShipIt_stderr.log, ShipIt_stdout.log on your system, you had previously mentioned that they are found https://github.com/microsoft/vscode/issues/106258#issuecomment-694035247 . Without the logs it would be hard to say what the issue is here.
Couple of options to try,

clear com.microsoft.VSCode.ShipIt/ folder if there is one and Reinstall vscode
Check if the issue persists with insiders release flavor https://code.visualstudio.com/insiders.


fix: removal of unsafe eval call

Description
Removed eval calls
Type of change
Please delete options that are not relevant.

[x ] Refactor/improvement

How Has This Been Tested?
Unit tests for the function that used eval pass
Checklist

[x] My commit message is conventional
[x] I have run pre-commit on all files before creating the PR
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have checked my code and corrected any misspellings

:tada: This PR is included in version 1.5.0-develop.23 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


shelley-testnet-live.sh fails on NixOS

Hi,
Premise: I'm a n00b on NixOS so I may be doing something wrong.
Having said that, I followed:
https://github.com/input-output-hk/cardano-node/blob/master/doc/building-running.md
to install cardano-node on NixOS. Everything installs fine with the suggested:
nix-build -A scripts.mainnet.node -o mainnet-node-local
However, I'm not able to use any of the scripts.
https://github.com/input-output-hk/cardano-node/tree/master/scripts#development-scripts
I'm trying to have the fancy tmux UI and a cluster running, but the building-running doc only specifies a single use case with:
./mainnet-node-local
Can you please update the documentation to build all that is needed and how to use it?
Please and thank you
E.g: if I try to run it in a nix-shell, after a nix-build (no arguments), I get:
[nix-shell:~/cardano-node]$ ./scripts/shelley-testnet-live.sh
+ cabal v2-run -v0 exe:cardano-cli -- genesis --genesis-output-dir /tmp/tmp.innLs4eFzL.d --start-time<PHONE_NUMBER> --protocol-parameters-file /home/haikin/cardano-node/scripts/protocol-params.json --k 2160 --protocol-magic 459045235 --n-poor-addresses 128 --n-delegate-addresses 7 --total-balance<PHONE_NUMBER>000000 --avvm-entry-count 128 --avvm-entry-balance<PHONE_NUMBER>0000 --delegate-share 0.9 --real-pbft --secret-seed<PHONE_NUMBER>
cabal: Could not resolve dependencies:
[__0] trying: cardano-crypto-wrapper-1.3.0 (user goal)
[__1] trying: base64-bytestring-type-1.0.1/installed-4sz... (dependency of
cardano-crypto-wrapper)
[__2] next goal: serialise (dependency of base64-bytestring-type)
[__2] rejecting: serialise-<IP_ADDRESS>/installed-9lK... (package is broken)
[__2] fail (backjumping, conflict set: base64-bytestring-type, serialise)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base64-bytestring-type,
cardano-crypto-wrapper, serialise

You could try unset CABAL_CONFIG which was mentioned here: https://github.com/input-output-hk/cardano-shell/issues/358#issuecomment-575597304


Updates to get this running on my Linux laptop

Hi Peter!
I found your repo via one of the Obsidian forum posts.
I wanted to try it out, but I'm on a Linux laptop.
Since I have python 3.10 installed, I didn't need to do the virtual environment thing, pathlib worked out of the box.
Anyways, I structured my PR in small bite-sized chunks so you could walk through commit-by-commit and see the changes.
Let me know if this is something you are interested in, any comments you have, etc.
I am still continuing to play around with, this was what I needed to just get started, so I figured a small-ish PR would be good to gauge your interest, and if interested, thoughts on the directions this might go as I discover how well it works for me.
Thank you for making this cool tool!
-=Doug
ed. to add:
P.S. One thing I would like to do with this is add an option to show what differences there are, so I can tweak things before doing a copy. I only have two vaults so far, but because of how annoying it is to keep things in sync, I want to make sure I don't overwrite changes I want from the 2nd vault when copying the 1st one.
ed. to add:
P.P.S.  I just pushed a few more commits that I think are also code simplifications, also commit by commit.
I did this also in an order that if you like the earlier changes, but not the later changes, I can move the branch head back so that the PR only has the earlier changes.

Thank you, wow, I didn't expect anything so speedy on the eve of a US holiday to boot!
@peterkaminski - I am working on some other refactorings to support a diff operation and dry-run too, if you think you'd like to see that functionality.


Fix warnings

client-c/src/kv/LockResolver.cc: In member function ‘pingcap::kv::AsyncResolveDataPtr pingcap::kv::LockResolver::checkAllSecondaries(pingcap::kv::Backoffer&, pingcap::kv::LockPtr, pingcap::kv::TxnStatus&)’:
client-c/src/kv/LockResolver.cc:390:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (size_t i = 0; i < status.primary_lock->secondaries_size(); i++)
                        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from client-c/src/kv/2pc.cc:2:0:
client-c/include/pingcap/kv/2pc.h: In constructor ‘pingcap::kv::TwoPhaseCommitter::TwoPhaseCommitter(pingcap::kv::Txn*, bool)’:
client-c/include/pingcap/kv/2pc.h:110:14: warning: ‘pingcap::kv::TwoPhaseCommitter::log’ will be initialized after [-Wreorder]
     Logger * log;
              ^~~
client-c/include/pingcap/kv/2pc.h:106:10: warning:   ‘bool pingcap::kv::TwoPhaseCommitter::use_async_commit’ [-Wreorder]
     bool use_async_commit;
          ^~~~~~~~~~~~~~~~
client-c/src/kv/2pc.cc:42:1: warning:   when initialized here [-Wreorder]
 TwoPhaseCommitter::TwoPhaseCommitter(Txn * txn, bool _use_async_commit)
 ^~~~~~~~~~~~~~~~~
In file included from client-c/src/kv/2pc.cc:2:0:
client-c/include/pingcap/kv/2pc.h:106:10: warning: ‘pingcap::kv::TwoPhaseCommitter::use_async_commit’ will be initialized after [-Wreorder]
     bool use_async_commit;
          ^~~~~~~~~~~~~~~~
client-c/include/pingcap/kv/2pc.h:92:31: warning:   ‘std::chrono::milliseconds pingcap::kv::TwoPhaseCommitter::start_time’ [-Wreorder]
     std::chrono::milliseconds start_time;
                               ^~~~~~~~~~
client-c/src/kv/2pc.cc:42:1: warning:   when initialized here [-Wreorder]
 TwoPhaseCommitter::TwoPhaseCommitter(Txn * txn, bool _use_async_commit)
 ^~~~~~~~~~~~~~~~~
client-c/src/kv/2pc.cc: In member function ‘void pingcap::kv::TwoPhaseCommitter::prewriteSingleBatch(pingcap::kv::Backoffer&, const pingcap::kv::TwoPhaseCommitter::BatchKeys&)’:
client-c/src/kv/2pc.cc:152:34: warning: unused variable ‘v’ [-Wunused-variable]
                 for (auto & [k, v] : mutations)
                                  ^

Fixed by https://github.com/tikv/client-c/pull/76


please explaing why do we have apperture=-1, in the attention class vasnet_model.py

def init(self, apperture=-1, ignore_itself=False, input_size=1024, output_size=1024):
self.apperture = apperture
here the apperture is set to -1, and in the forward you are checking,
if self.apperture > 0:
#Set attention to zero to frames further than +/- apperture from the current one
when does these condition appears.

Hi VinACE,
The apperture is not used in this publication/code version. We do use it in our follow up work which has not been published yet.
Basically, the apperture<=0 disables the apperture which is the default config in this code.


What is the simplest, most straightforward manner of including CSS preprocessor?

Some reading: http://angular-tips.com/blog/2015/06/using-angular-1-dot-x-with-es6-and-webpack/

Having a look at the list of features:

Having look at the source code: https://github.com/preboot/angular-webpack/blob/master/webpack.config.js#L97-L102

I put a test.scss file into style directory and the styles wasn't applied.
body {
  a {
    color: red;
  }
}

My experience with WebPack so far - it combines all .js into a single app.bundle.js - I would like to have same feature for the styles... Before I start reinventing the wheel - is it a matter of changing some settings in CSS loader, or maybe adding some other loader such as: https://github.com/jtangelder/sass-loader ?
Or maybe it is working all the time, it's just me not naming files correctly, not importing them?

I can confirm that test.css is working just fine while .scss fails to load:

just follow README.md of the selected loader for webpack, like this one


where is the  slack or discord community？

This project should establish a communication community, such as Slack or Discord.

Hello ! We don't have a slack or discord yet, but I just opened a discussion space here: https://github.com/lovasoa/SQLpage/discussions


cannot execute binary file: Exec format error

Ubuntu 18.04, LLVM/Clang 9, CUDA toolkit 10.0, hipSYCL latest build
Error from the commands
./main
bash: ./main: cannot execute binary file: Exec format error

From the compilation
/usr/local/bin/syclcc-clang --hipsycl-gpu-arch=sm_61 --cuda-path=/usr/local/cuda-10.0 -o main -c main.cpp
Which produces no errors.
However, my CUDA driver is 10.2. I had to install CUDA toolkit 10.0 as Clang apparently does not support CUDA 10.2. I suppose this is the problem.

Well... you have added -c, so main is not linked. You will see a similar behavior with other, regular C++ compilers as well.

Also, do not use --cuda-path unless you know have very specific reason to do so. syclcc automatically supplies --cuda-path pointing to the CUDA installation that hipSYCL was compiled against. Potentially compiling a program against a different cuda version than hipSYCL was built with is most likely not going to end well.

Ok, the need to include the flag went away when I recompiled with -DCUDA_TOOLKIT_ROOT_DIR.
Sorry, I have been using CMake too much I think.
Compiled code works. It's a work of beauty! I am so excited to dig deeper into SYCL :)

Awesome, great to hear it works :)


Merging 2 StarDicts fails while parsing .syn

When I run: penelope -i collins.zip,brita.zip -j stardict -p mobi -o collins_encyclo.mobi -f en -t en
the synonyms brita.zip has contains definitions from collins.zip
whereas inverting the order, brita first (brita.zip,collins.zip) seems to work fine (though I haven't tested it thoroughly :p)
syn example: Kublai
brita.zip
collins.zip

btw, I just added some custom code in order to bypass this issue. but it is not a workaround nor a fix. I just adapted it to make it work for this case until I understand how this code works

btw, I just added some custom code in order to bypass this issue. but it is not a workaround nor a fix. I just adapted it to make it work for this case until I understand how this code works

In view of https://github.com/pettarin/penelope#important-update I leave the issue open, but I do not plan to address it.


docs: add body_html to doc strings..update AUTHORS.rst [#1495]

(cherry picked from commit e1b22c802c1d132a0d973dcca285410332f7da01)
References

https://github.com/praw-dev/praw/pull/1535

Pull Request Test Coverage Report for Build 9c332acb74c467b7633b40a8034cd4ded6479df4-PR-50

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

Totals

Change from base Build 10e94016a10a0e4ff392f98c333ccfc18e700449:
0.0%

Covered Lines:
3569

Relevant Lines:
3569

💛  - Coveralls


Add HierarchicalNSW::indexFileSize() function for precise memory footprint control

Hi @drons,
Thank for the PR! We will check it and merge it after we prepare the release (should happen soon).

Thank you for the PR!

Thanks!


fix: ask next question parsing to handle no match for next questions

Purpose
Looks like the next question parsing broke ask when there is no match. This fixes that.
Does this introduce a breaking change?
[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

npm run test:playwright

Fixes #98


Local Install Script not working correctly?

Command: python3 ./env.py local-install
Trying to install on WSL2 Ubuntu machine locally without Docker container.
Error: AttributeError: 'Tool' object has no attribute 'dependencies'
Full output:
monib@monib-dev:~/OpenLane$ python3 ./env.py local-install
OpenLane Local Installer

    Copyright 2021-2022 Efabless Corporation. Available under the Apache License,
    Version 2.0.

    Ctrl+C at any time to quit.

    Make sure you read the documentation in ./docs/source/local_installs.md.

Which UNIX/Unix-like OS are you using? [UBUNTU-20.04/other/centos-7/arch/macos] > UBUNTU-20.04
Do you want to install dependencies using your package manager? [NO/yes] > yes
Hit:1 https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64  InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Fetched 336 kB in 1s (371 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.68.0-1ubuntu2.12).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcairo2-dev' instead of 'libcairo-dev'
Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
Note, selecting 'libncurses-dev' instead of 'ncurses-dev'
autoconf is already the newest version (2.69-11.1).
autopoint is already the newest version (<IP_ADDRESS>-10build1).
bison is already the newest version (2:3.5.1+dfsg-1).
bzip2 is already the newest version (1.0.8-2).
flex is already the newest version (2.6.4-6.2).
gawk is already the newest version (1:5.0.1+dfsg-1).
gcc is already the newest version (4:9.3.0-1ubuntu2).
gettext is already the newest version (<IP_ADDRESS>-10build1).
libcairo2-dev is already the newest version (1.16.0-4ubuntu1).
libffi-dev is already the newest version (3.3-4).
libncurses-dev is already the newest version (6.2-0ubuntu2).
libpcre2-dev is already the newest version (10.34-7).
libreadline-dev is already the newest version (8.0-4).
libsm-dev is already the newest version (2:1.2.3-1).
libxslt1-dev is already the newest version (1.1.34-4).
make is already the newest version (4.2.1-1.2).
patch is already the newest version (2.7.6-6).
python3 is already the newest version (3.8.2-0ubuntu2).
python3-dev is already the newest version (3.8.2-0ubuntu2).
clang is already the newest version (1:10.0-50~exp1).
csh is already the newest version (20110502-5).
graphviz is already the newest version (2.42.2-3build2).
help2man is already the newest version (1.47.13).
libeigen3-dev is already the newest version (3.3.7-2).
libjpeg9-dev is already the newest version (1:9d-1).
libspdlog-dev is already the newest version (1:1.5.0-1).
neovim is already the newest version (0.4.3-3).
ninja-build is already the newest version (1.10.0-1build1).
swig is already the newest version (4.0.1-5build1).
tcl-dev is already the newest version (8.6.9+1).
tcllib is already the newest version (1.20+dfsg-1).
tclx8.4-dev is already the newest version (8.4.1-4).
texinfo is already the newest version (6.7.0.dfsg.2-5).
tk-dev is already the newest version (8.6.9+1).
xdot is already the newest version (1.1-2).
curl is already the newest version (7.68.0-1ubuntu2.12).
gdb is already the newest version (9.2-0ubuntu1~20.04.1).
git is already the newest version (1:2.25.1-1ubuntu3.5).
libgomp1 is already the newest version (10.3.0-1ubuntu1~20.04).
libx11-dev is already the newest version (2:1.6.9-2ubuntu1.2).
libxml2-dev is already the newest version (2.9.10+dfsg-5ubuntu<IP_ADDRESS>).
python3-tk is already the newest version (3.8.10-0ubuntu1~20.04).
strace is already the newest version (5.5-3ubuntu1).
wget is already the newest version (1.20.3-1ubuntu2).
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu1.3).
python3-pip is already the newest version (20.0.2-5ubuntu1.6).
xvfb is already the newest version (2:1.20.13-1ubuntu1~20.04.3).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
To re-run with the same options:
OS=ubuntu-20.04 INSTALL_PACKAGES=yes python3 /home/monib/OpenLane/dependencies/installer.py
Copying files...
Building Python virtual environment...
Collecting pip
  Downloading pip-22.2.2-py3-none-any.whl (2.0 MB)
     |████████████████████████████████| 2.0 MB 2.3 MB/s
Collecting wheel
  Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Installing collected packages: pip, wheel
  Attempting uninstall: pip
    Found existing installation: pip 20.0.2
    Uninstalling pip-20.0.2:
      Successfully uninstalled pip-20.0.2
Successfully installed pip-22.2.2 wheel-0.37.1
Collecting cmake
  Downloading cmake-3.24.1-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.3/23.3 MB 49.4 MB/s eta 0:00:00
Collecting pyinstaller
  Downloading pyinstaller-5.3-py3-none-manylinux2014_x86_64.whl (555 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 555.5/555.5 kB 77.4 MB/s eta 0:00:00
Collecting altgraph
  Downloading altgraph-0.17.2-py2.py3-none-any.whl (21 kB)
Collecting pyinstaller-hooks-contrib>=2021.4
  Downloading pyinstaller_hooks_contrib-2022.8-py2.py3-none-any.whl (239 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.8/239.8 kB 72.7 MB/s eta 0:00:00
Requirement already satisfied: setuptools in ./venv/lib/python3.8/site-packages (from pyinstaller->-r ../dependencies/python/compile_time.txt (line 2)) (44.0.0)
Installing collected packages: cmake, altgraph, pyinstaller-hooks-contrib, pyinstaller
Successfully installed altgraph-0.17.2 cmake-3.24.1 pyinstaller-5.3 pyinstaller-hooks-contrib-2022.8
Collecting click<9,>=8.0.0
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 2.7 MB/s eta 0:00:00
Collecting pyyaml~=5.4.0
  Downloading PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 662.4/662.4 kB 8.9 MB/s eta 0:00:00
Collecting install~=1.3.5
  Downloading install-1.3.5-py3-none-any.whl (3.2 kB)
Collecting XlsxWriter~=3.0.2
  Downloading XlsxWriter-3.0.3-py3-none-any.whl (149 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.0/150.0 kB 38.3 MB/s eta 0:00:00
Installing collected packages: XlsxWriter, pyyaml, install, click
Successfully installed XlsxWriter-3.0.3 click-8.1.3 install-1.3.5 pyyaml-5.4.1
Installing dependencies...
[<Tool cvc (using d-m-bailey/cvc@d172016a791af3089b28070d80ad92bdfef9c585)>, <Tool magic (using rtimothyedwards/magic@f7df5e7c86fb47c5fd445c846afddc6fbabad6ae)>, <Tool netgen (using rtimothyedwards/netgen@bfb01e032f668c09ff43e889f35d611ef0e4a317)>, <Tool padring (using donn/padring@b2a64abcc8561d758c0bcb3945117dcb13bd9dca)>, <Tool vlogtoverilog (using RTimothyEdwards/qflow@a550469b63e910ede6e3022e2886bca96462c540)>, <Tool yosys (using YosysHQ/yosys@cfe940a98b08f1a5d08fb44427db155ba1f18b62)>, <Tool klayout (using KLayout/klayout@428d0fe8c941faece4eceebc54170cc04d916c03)>, <Tool openroad_app (using The-OpenROAD-Project/OpenROAD@4a99e88667b0840531ca0096c4fa0da8f80d6cb1)>, <Tool git (using git/git@e9d7761bb94f20acc98824275e317fa82436c25d)>, <Tool open_pdks (using efabless/open_pdks@44a43c23c81b45b8e774ae7a84899a5a778b6b0b)>]
Traceback (most recent call last):
  File "./env.py", line 263, in <module>
    main()
  File "./env.py", line 259, in main
    commands[args[0]]()
  File "./env.py", line 51, in local_install
    installer.run()
  File "/home/monib/OpenLane/dependencies/installer.py", line 506, in run
    install()
  File "/home/monib/OpenLane/dependencies/installer.py", line 44, in __exit__
    raise exc_value
  File "/home/monib/OpenLane/dependencies/installer.py", line 506, in run
    install()
  File "/home/monib/OpenLane/dependencies/installer.py", line 485, in install
    tool = pop()
  File "/home/monib/OpenLane/dependencies/installer.py", line 44, in __exit__
    raise exc_value
  File "/home/monib/OpenLane/dependencies/installer.py", line 438, in install
    if len(tool.dependencies):
AttributeError: 'Tool' object has no attribute 'dependencies'

Thanks for the report- but just as a heads up, I'll be deprecating the local installer very soon.

Hi, will there be another way? or step to do a local install? I would like to customize some of the local tool installations (for example OpenROAD GPU enable)

There are some near-future plans to include the entire flow as just binaries you can download, but a local builder and installer has become a nightmare to maintain, as well as all the "special behavior" code to support that.

Please let me know how I can help validate the flow


'failOnDataLoss' config not work when process kafka data

ERROR :
backend status:500
Job aborted due to stage failure: Task 1 in stage 0.0 failed 4 times, most recent failure: Lost task 1.3 in stage 0.0 (TID 9, bdp-scm-03, executor 1): java.lang.IllegalStateException: Cannot fetch offset 13 (GroupId: spark-kafka-relation-4f1952ac-155b-496a-9612-82cdbd934553-executor, TopicPartition: test2-1).
Some data may have been lost because they are not available in Kafka any more; either the
data was aged out by Kafka or the topic may have been deleted before all the data in the
topic was processed. If you don't want your streaming query to fail on such cases, set the
source option "failOnDataLoss" to "false".
MY CODE IS :
!kafkaTool registerSchema 2 records from "bdp-docker-01:9092" test2;
-- convert table as stream source
load kafka.test2 options
kafka.bootstrap.servers="bdp-docker-01:9092"
and failOnDataLoss = "false"
as newkafkatable1;

This is may caused by the !kafkaTool comamnd instead of the load kafka. We will set failOnDataLoss true as default in !kafkaTool.

ok,thanks.


Updated Contact Form

Raised another PR for existing #188 #178
@gauravsingh1281 Thank you

hey @DivyaJyothi9  your changes are not visible and your deploy preview has not been generated by the netlify please pass all the checks by netlify.

@gauravsingh1281  Sir, I have created a new PR #256 , where all checks were satisfied
I have made few changes..kindly check it
Thank you


fix: quotation marks in schema-get-started docs used in Chinese style

Why for change
In the schema-get-started, the Example code used the Chinese style quotation marks like
Producer<byte[]> producer = client.newProducer()
        .topic(topic)
        .create();
User user = new User(“Tom”, 28);
byte[] message = … // serialize the `user` by yourself;
producer.send(message);

What did i change
I updated the sample code, and used the English style quotation marks to make a replacement.
Impact
No code base change, only fix the issue in docs.

@tuhaihe PTAL

Hi, @ericsyh Thanks for your update! For the PRs in Apache/Pulsar repo, feel free to invite Pulsar committers to help review.

@tuhaihe Thanks and @BewareMyPower just reviewed. BTW, pulsar committers are listed on this Apache Phone Book?

@Anonymitaet It's ok for me, i will fix it on previous versions. But actually the current way that put all versions docs in master branch is not so friendly which means any change we need to update so many documents at same time.
Maybe we can consider to separate the docs as a new repo and manage versions by branch. After a new PR commits to the master branch, we can cherry-pick this PR to previous version branch (With a github bot, we can use comments to  trigger)

@ericsyh Batch Search and Replace can fix this issue in multiple versions with just a few clicks, which is a pretty easy way.

@Anonymitaet Fixed in https://github.com/apache/pulsar/pull/10913/commits/6023e2f0e8c203c6315f2ccca64b1b1c38a0d425

@ericsyh thanks.


feat: expose versions api endpoints

For client to be able to fetch the summary of all the versions.
Far from complete, but shouldn't break anything.

Just ran fedimint-cli api version and got a nice little summery 👍


hydrus: 588 -> 591

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for hydrus is: Danbooru-like image tagging and searching system for the desktop
meta.homepage for hydrus is: https://hydrusnetwork.github.io/hydrus/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 589 with grep in /nix/store/mknlb0ymp7cyyy3lab0p17740d4i6s7r-python3.12-hydrus-589
found 589 in filename of file in /nix/store/mknlb0ymp7cyyy3lab0p17740d4i6s7r-python3.12-hydrus-589

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

hydrus

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mknlb0ymp7cyyy3lab0p17740d4i6s7r-python3.12-hydrus-589 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/2c39cbf91a413d4780de45fce2a04313f17cc618#hydrus

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mknlb0ymp7cyyy3lab0p17740d4i6s7r-python3.12-hydrus-589
ls -la /nix/store/mknlb0ymp7cyyy3lab0p17740d4i6s7r-python3.12-hydrus-589/bin

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

2 packages built:

hydrus
hydrus.doc

Maintainer pings
cc @dali99 @evanjs for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for hydrus is: Danbooru-like image tagging and searching system for the desktop
meta.homepage for hydrus is: https://hydrusnetwork.github.io/hydrus/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 591 with grep in /nix/store/lxjirxlm1dfnyi0ighqlid4x7yxn1dqg-python3.12-hydrus-591
found 591 in filename of file in /nix/store/lxjirxlm1dfnyi0ighqlid4x7yxn1dqg-python3.12-hydrus-591

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

hydrus

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lxjirxlm1dfnyi0ighqlid4x7yxn1dqg-python3.12-hydrus-591 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/33adf28a993dcba122bad150bb6d26b61e175471#hydrus

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lxjirxlm1dfnyi0ighqlid4x7yxn1dqg-python3.12-hydrus-591
ls -la /nix/store/lxjirxlm1dfnyi0ighqlid4x7yxn1dqg-python3.12-hydrus-591/bin

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

2 packages built:

hydrus
hydrus.doc

Maintainer pings
cc @dali99 @evanjs for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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


Bootstrap 4

Hello. Do you plan to support bootstrap 4?

Any idea on why it is not working with bootstrap 4 ? There is no bootstrap in the dependencies but it is not working with 4


Fix Issues with Swagger for Microsoft.Help RP

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
We identified a few issues with our swagger while generating SDK's and CLI's for the api version. Please review and let us know if you have any questions.
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[X] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@JeffreyRichter Could you help review the breaking change here ? I don't think this api version has been public preview yet ? Thanks

Are you VERY SURE? This swagger is in the public repo so it looks public to me.

@qiaozha, @JeffreyRichter Our api is not in public preview yet and our api actually returns response in the format in this swagger. For some reason we checked incorrect data model in swagger earlier. We realized it while generating Sdk's and Cli's


How can I get a stream of smart contract table changes?

For example I want to get real time changes of this table, glad to accept every help
https://bloks.io/account/betdiceadmin?loadContract=true&tab=Tables&account=betdiceadmin&scope=betdiceadmin&limit=100&table=user

any updates on this? did you find a workaround


haskellPackages: update stackage and hackage

This Merge
This PR is the regular merge of the haskell-updates branch into master.
This branch is being continually built and tested by hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. You may be able to find an up-to-date Hydra build report at cdepillabout/nix-haskell-updates-status.
We roughly aim to merge these haskell-updates PRs at least once every two weeks. See the @NixOS/haskell team calendar for who is currently in charge of this branch.
haskellPackages Workflow Summary
Our workflow is currently described in pkgs/development/haskell-modules/HACKING.md.
The short version is this:

We regularly update the Stackage and Hackage pins on haskell-updates (normally at the beginning of a merge window).
The community fixes builds of Haskell packages on that branch.
We aim at at least one merge of haskell-updates into master every two weeks.
We only do the merge if the mergeable job is succeeding on hydra.
If a maintained package is still broken at the time of merge, we will only merge if the maintainer has been pinged 7 days in advance. (If you care about a Haskell package, become a maintainer!)

This is the follow-up to #160733. Come to #haskell:nixos.org if you have any questions.

Maybe https://github.com/NixOS/nixpkgs/pull/166571 and  https://github.com/NixOS/nixpkgs/pull/166548 could be merged simultaneously to save a bit on mass-rebuilds.

Maybe #166571 and #166548 could be merged simultaneously to save a bit on mass-rebuilds.

Yeah, I was thinking that, too, maybe we'll even be able to combine this with the upcoming zlib-related stdenv rebuild, so we'd get 3 changes done in one rebuild.

so we'd get 3 changes done in one rebuild.

Not sure if this is practical without merging into staging-next. Otherwise, you'd have to inhibit builds on master, which seems tricky and requires a timely merge of haskell-updates. Maybe we'd better keep it simple, but it's your call, as you have experience running haskell-updates.

Well eventually the zlib change is going to land in master which is when we'll have to do a set rebuild in haskell-updates (unless we want to cause the rebuild on master), so we could do it a that point. Another option could of course be merging staging-next into haskell-updates and then waiting for that to be merged — never tried that before and not sure if it's wise.


[CSApply] Fix source breakage related to deep-equality types and SE-0110

Fix problem related to Swift 3 mode (with assertions),
since Swift 3 mode allows passing arguments with extra parens
to parameters which don't expect them, it should be supported
by "deep equality" types like Optional e.g.
func foo(_: (() -> Void)?) {}
func bar() -> ((()) -> Void)? { return nil }
foo(bar) // This expression should compile in Swift 3 mode

Resolves: rdar://problem/35198459

@swift-ci please smoke test

/cc @DougGregor

@swift-ci please test and merge

I'm going to fix the problem with Optional type in this PR and look into what to do about BoundGenericType in general in another one to unblock source compatibility suite.

@swift-ci please test source compatibility

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 34edcd697122aebcaa180a1a885b8a1c19175db4

Build failed
Swift Test Linux Platform
Git Sha - 34edcd697122aebcaa180a1a885b8a1c19175db4

@swift-ci please test source compatibility


conformance: gateway tests expecting wrong ListenerConditionReason

What happened:
In the conformance tests for the gateway there are two different tests [GatewaySecretInvalidReferenceGrant, GatewaySecretMissingReferenceGrant] that expect a listener to have the ReasonCondition as ListenerReasonInvalidCertificateRef. Both tests create a Gateway with a listener that refers to a secret in another namespace and there is no ReferenceGrant granting that reference.
For what concerns theListenerReasonInvalidCertificateRef, the godoc says that:
// This reason is used with the "ResolvedRefs" condition when the
// Listener has a TLS configuration with at least one TLS CertificateRef
// that is invalid or cannot be resolved.

while for what concerns theListenerReasonRefNotPermitted , the godoc says that:
// This reason is used with the "ResolvedRefs" condition when
// one of the Listener's Routes has a BackendRef to an object in
// another namespace, where the object in the other namespace does
// not have a ReferenceGrant explicitly allowing the reference.

Since the listener cannot reference the secret as there is no ReferenceGrant that allows that reference, the right reason to use for the ListenerCondition is ListenerReasonRefNotPermitted instead of ListenerReasonInvalidCertificateRef.

I'd be glad to work on a fix for this issue. If this is effectively a bug, I ask to be assigned to fix it.

I think you're right, thanks for catching this @mlavacca!
/assign @mlavacca

Just coming back to this and while I'm fine with using the RefNotPermitted reason for this scenario, I do think the API docs need some modifications to cover this more explicitly, since as pointed out above, currently the RefNotPermitted reason only talks about routes and backends (nothing to do with listeners and secrets). It might be worth also clarifying for InvalidCertificateRef, exactly what an "invalid" certificate ref is, and that it excludes this case of a disallowed cross-namespace reference.

Good call @skriss, filed https://github.com/kubernetes-sigs/gateway-api/issues/1362 to track that.


upload only changes

My system has a lot of files (8,967).
It is hosted on ftp and not on git.
I usually use the UploadOnSave function to synchronize changes with ftp
However I would like to test some changes locally and did not want them to go live without all the tests having been done.
So, I turn off UploadOnSave I make changes and tests then I upload everything that has been changed.
But I need to remember the changed files or upload all the files, which takes a long time.
I suggest uploading only changed files. For that, sftp would need to keep track of files changed since the last upload / sync
It's possible ? It already exists and I haven't found it?

Yeah, sometimes changing even one file, triggers an full upload of the folder...
I have an media folder, adding just an image requires the re-uploading of the entire folder
Consuming bandwidth and time 🤦


Polish for fixes from #223 and #224

@tneely thanks for your efforts so far! I have some nits to pick with your PRs but figured it might be more expedient (especially given the ~24-hour RTT) if I just took care of them myself. Will retain your authorship and make minor changes.

Thanks for getting this over the finish line!


fix(conf) strip/trim specified list values

Summary
Properties like:
value = a,  b  , c

...used to yield non-trimed values in the resulting array. We now trim such
values when parsing the config file.

would there be value in stripping leading and trailing commas?
I recall someone created a script to set a value, and had a trailing comma. Edge case...

I am not so sure. Indeed a trailing comma can lead to an empty value (and so can a leading one), but I think that for anyone with coding background, it is clear that this will be the case: split implementations in various languages do produce empty values when their input has leading or trailing tokens... And maybe such a behavior is good to have in some cases, and misconfigured properties are, in the end, what they are: a user error.
Thoughts?


Add "global" middlewares

How do you look at adding features like middlewares for the entire route in one place and apply all routes level below?
├── routes
    ├── index.js
    └── posts
        ├── [id] // middleware or middleware1, middleware2
            ├── details.js // middleware or middleware1, middleware2
            └── index.js // middleware or middleware1, middleware2
        ├── index.js // middleware or middleware1, middleware2
        ├── middleware(s).js // ?
        └── test.js // middleware or middleware1, middleware2
    └── users
        ├── [id]
            ├── details.js
            └── index.js
        └── index.js

middleware(s).js
module.exports = middleware

or
module.exports = [
  middleware1,
  middleware2
]

I think it would make more sense to put those middlewares into your main.js file before creating the file router.
What do you think?

Hi, Did you figure out how to do this? I ran into the same issue, where I want to add middleware to a group of routes to its parent, but I can't find a way to do so.

Hey @rhrahul!
Currently, this package itself does not implement an api for declaring middlewares for something like a group of routes, because this can be easily achieved using native Express functions.
Let say you have the following routes structure:
├── app.js
├── routes
    ├── index.js
    ├── home.js
    └── auth
        ├── session.js
        └── signin.js
└── package.json

Now, you want to add a middleware that is called before every request to /auth/*, so for every route inside the "auth" directory.
All you have to do is add the following to your app.js:
// app.js
app = express()

+ app.use("/auth/*", myMiddleware)

createRouter(app)

app.listen(4000)

With that, myMiddleware(req, res, next) is called before every request to whatever route inside /auth.
Hope this helps. Let me know if this work for your use case.

Thank you @matthiaaas, That helps!


Introduce Allstar to enforce branch protection on repositories

The GitHub Application 'Allstar' was recommended to be used.
It can enforce different thinks, see https://github.com/ossf/allstar.
The most useful one for now look to be 'Branch Protection'.
Remark: They mostly talk about creating a repository '.allstar' to enforce it on organization level.
But the existing repository '.github' can also be used (in the directory "allstar" the same files can be added).

@nicorikken is it useful to use this? What is your opinion?

Yes, the Branch Protection option is definitely useful for us!


Add spin-trigger-command app to the tests

Do we want to add an app using the spin command trigger to the test suite?

Yes I had added an image in a branch to test Spin Command Trigger in a local branch. Will find it and make a PR


No module named 'transformers.models.fastspeech2_conformer.configuration_fastspeech2_conformer'

Error occurred when executing UformGen2QwenNode:
Failed to import transformers.models.fastspeech2_conformer.configuration_fastspeech2_conformer because of the following error (look up to see its traceback):
No module named 'transformers.models.fastspeech2_conformer.configuration_fastspeech2_conformer'

update transformers library if you want to use this i think
click install pip packages inside ComfyUI Manager
write transformers>=4.38.2
then restart ComfyUI

Error occurred when executing Kosmos2model:
Failed to import transformers.models.vipllava.configuration_vipllava because of the following error (look up to see its traceback):
No module named 'transformers.models.vipllava.configuration_vipllava'

I just realised the conflict was in the requirements.txt where the older version of transformers was specified, so it was overwriting itself.

Those LLM models  work well with transformer now, thank,  So Great,
(But chat musican seems has different problem.)


Head argument is ignored when --columns are specified

For both csv and show actions, when the --columns argument is supplied, the --head value is ignored and all rows are presented.

Pull request #23  is raised to fix this. The fix is very simple and the existing test cases have been extended to verify the --head argument is honoured.
$ git co fix-head-argument
$ poetry run pytest --quiet tests/
...............................................                                                                            [100%]
47 passed in 4.67s


Remove the 'scrollViewBounces' property that is unnecessary and causes bugs from PullToRefreshView

The 'scrollViewBounces' that is a property of the PullToRefreshView is used for saving scrollView.bounces of super view before animating.
But super view of the PullToRefreshView cannot do 'PullToRefresh' if the its scrollView.bounces is false.
So scrollView.bounces of super view is always true before animating.
In addition, the 'scrollViewBounces' causes a bug that the UITableView cannot do 'PullToRefresh' in my project.
So I remove the 'scrollViewBounces' from the PullToRefreshView.
Please check my modifications.

Sure, it looks do not need.
Thanks!


Add Transit Least Squares algorithm to search for periodic transits

I am the author of Transit Least Squares, an optimized transit-fitting algorithm to search for periodic transits of small planets. Is it of interest to include TLS into lightkurve? As of now, there is only BLS integrated.
Rationale
While the commonly used Box Least Squares (BLS, Kovács et al. 2002) algorithm searches for rectangular signals in stellar light curves, TLS searches for transit-like features with stellar limb-darkening and including the effects of planetary ingress and egress. Moreover, TLS analyses the entire, unbinned data of the phase-folded light curve. These improvements yield a ~10 % higher detection efficiency (and similar false alarm rates) compared to BLS.
TLS status

While TLS is relatively new, the paper has been accepted to A&A and the code is open source under the MIT license.
The code quality is good to be used productively in large-scale surveys.
We are currently re-examining Kepler and K2 data using compute clusters.
We have detected many strong planet candidates with TLS which are undetectable with BLS (papers in prep.).
We are also working on integrating TLS into the TESS Quick Look Pipeline

Inputs and robustness
TLS needs a detrended and normalized-to-unity-flux light curve as input. It must contain time and flux values, and uncertainties can be provided. The data should be detrended before feeding it to TLS so that most of the stellar variation is removed. A sliding median with a window of 1-day width is often a good choice.
TLS is build to be robust to any kind of data. It automatically removes nan, inf, and other values which are not usable. It warns the user if the data appears to be dubious, e.g. if its mean is not close to unity. We have tested TLS with thousands of K2 light curves and it processed every single one.
TLS API and output
TLS has been designed with a similar interface as the BLS implementation in Astropy:
from transitleastsquares import transitleastsquares
model = transitleastsquares(time, flux)
results = model.power()

Its return values (results.XYZ) are documented here. TLS provides:

Spectra, such as the well-known SDE-ogram (but in its cleanest version)
Statistics, such as the peak SDE, best period, T0, duration, and transit depth
Diagnostics such as odd-even metrics, SNR, R_p/R_*, depths and uncertainties of each individual transit, and much more
Models such as the best-fit transit model, also available in a phase-folded form

A number of visualizations can be found at the tutorials.
Useful links

Code on github
Documentation
Tutorials
Paper on arxiv

Questions:

Is it of interest to include TLS into lightkurve?
If yes, how can this be done without duplicating the code base? I can not maintain a fork in addition to the main TLS. There are many feature requests open for TLS and much development is expected for the future. In contrast to BLS which is 17 years old, TLS will grow and change a lot in the next years.
Are there any requirements/feature requests from your side? I am open to modify TLS in order to make it useful for everybody.

Thank you for opening this issue @hippke, and congratulations with your work on transitleastsquares.  It looks like a very innovative and valuable piece of work!
I'd like to answer in more detail as soon as I get the chance to properly play around with transitleastsquares, but here are three quick initial thoughts:

The BoxLeastSquaresPeriodogram class in Lightkurve is a convenience interface which wraps astropy.stats.bls.  We wanted a convenience wrapper because BLS is such a common operation (e.g. we wanted to make sure you can recover a planet in one line, example: lc.to_periodogram("bls").period_at_max_power).  We did not want to duplicate Astropy's excellent BLS reference implementation, so we wrapped it.
Likewise, it would be fine in principle for Lightkurve to import the transitleastsquares package to enable e.g. lc.to_periodogram("tls").plot().  No fork or code duplication will be needed as long as the API of transitleastsquares remains reasonably stable.
Lightkurve does not intend to be the single package for light curve analysis, instead we hope it can provide the building blocks (or glue) for more advanced and experimental packages to use.  Hence we'd like to limit Lightkurve to provide only widely-accepted and well-understood operations and data structures.  Of course TLS is still brand new, so I'd be hesitant to have 100s of lines of code dedicated to it inside Lightkurve until the dust settles, but a ~10 line convenience wrapper can certainly be considered.

The first step would be for a simple demo to be created to show the benefit of integrating transitleastsquares with Lightkurve's LightCurve and Periodogram classes!
Again, thanks++ for opening the issue, and thank you for the new package and paper!


Support double quoted string

ref. https://github.com/sqlparser-rs/sqlparser-rs/issues/439
Support double quoted string for BigQuery and MySQL.
Below is a test for other dialects.
https://github.com/sqlparser-rs/sqlparser-rs/blob/f29ce10a1a14ebaa55cb23e3daab0cb4204cddaf/tests/sqlparser_common.rs#L2917-L2921

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 34 (94.12%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 89.801%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/parser.rs
1
3
33.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
8796

Relevant Lines:
9795

💛  - Coveralls


Use server-assigned nickname

This is needed if the server silently assigns a different nickname (e.g. ZNC servers). Otherwise LuaIRC crashes while joining a channel.

Thanks! :)


KAFKA-14296; Partition leaders are not demoted during kraft controlled shutdown

When the BrokerServer starts its shutting down process, it transitions to SHUTTING_DOWN and sets isShuttingDown to true. With this state change, the follower state changes are short-cutted. This means that a broker which was serving as leader would remain acting as a leader until controlled shutdown completes. Instead, we want the leader and ISR state to be updated so that requests will return NOT_LEADER and the client can find the new leader.
We missed this case while implementing https://github.com/apache/kafka/pull/12187.
This patch fixes the issue and updates an existing test to ensure that isShuttingDown has not effect. We should consider adding integration tests for this as well. We can do this separately.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Will merge it tomorrow to trunk and 3.3. I am waiting on getting a clean build.