standard install broken for npm@2?

The latest update throws an error when running:
https://travis-ci.org/gr2m/initials/builds/107403864
After updating to npm@3, the error went away:
https://travis-ci.org/gr2m/initials/builds/107441491
Does standard require npm@3? I couldn't find any info on it.
Note that the above is just an example, I get the error in every package of mine, examples here, here and here and I got 15 more of these

Doh, why open new issue, when have #406 and #407?
I also have same problem, but will wait few hours.
It's strange to me that it fails on every version except v5, lol
https://travis-ci.org/tunnckoCore/acorn-strip-comments/builds/107431082

@tunnckoCore I’m very sorry, I looked for open issues quickly but that was pre- :coffee: me. Feel free to close as duplicate

oh man, this happened on pnpm too when it was following npm@2 behavior more strictly.

@tunnckoCore Thanks for pointing out the duplicate issues.
Everyone: Let's move the discussion to #406

closing in favor of https://github.com/feross/standard/issues/406

This should be fixed in standard 6.0.3. Sorry for the trouble, folks!


Use unix.Getrusage to fetch process usage info

Use this in place of exec'ing to ps

Turns out the documentation per man -a getrusage indicates that this API call isn't exactly what we wanted it to be. Right now ps is a good enough approach. We can aim to have more platform specific routines going forward.


preset for leisure=sauna

https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dsauna

This is a great beginner task 👍
Someone just needs to

create a new file data/presets/presets/leisure/sauna.json with the stuff below
then npm run build

{
    "fields": [
        "name",
        "operator",
        "address",
        "opening_hours",
        "access_simple",
        "fee"
    ],
    "geometry": [
        "point",
        "area"
    ],
    "tags": {
        "leisure": "sauna"
    },
    "name": "Sauna"
}


Job board update 180423

What it says on the tin :)

blank out the positions of af instead of deleting the file, otherwise LGTM

Yes, thanks. I realized that after I had deleted the åf file :)

Re-add the af.md
Rebase it on origin/master
Squash all commits to one (possible in the same time as the rebase)

fixed the rebase and added af.md back in https://github.com/Stockholm-AI/stockholm-ai/pull/95

Thank you Jim. I tried to do this earlier but failed. I'm going to brush up my Github skills for the next time.


multiple formData issues

I may be incorrectly pointing to the wrong project for the root of this issue. That said, I observed this while inserting sample formData into encounter playground and exploring the props and state of our various components.

When default formData is loaded, it seems that the pagination wrapper is not passing the formData into the pages where it is needed. Nothing displays in the rendered view, and nothing is in the props of the corresponding tab's form. I observed this with example initial data of { "height": "100" }.

When initial formData was provided, then a field in the form is manually adjusted, the initial formData was entirely overwritten in the pagination wrapper's state, despite changes to unrelated fields. The formData was also not propagated to the state of other wrappers. I'm unsure of what the value of submitted formData is in this case.

When data is manually entered into the form (regardless of whether there was initial formData), the state of the pagination wrapper's formData is updated properly, but it shows strange prop values (e.g. portions of what was typed in the field).

These are observations made using React's Chrome dev tools, using pagination version 0.1.14.

I've spread this issues in 3, so I can close them
#23, #24 & #25

Addressed in appropriate issues


#611 provide file drop attribute to allow calling context to disable fil...

...e drop based on scope state.
Sorry about the irrelevant white space changes.  The only relevant changes...

angular-file-upload.js:385 - isDisabled is defined.  only other relevant changes are related to checking the condition isDisabled in element drag* event handlers.
updated readme to document the new 'drop-disabled' attribute
bumped package version to .3 minor
ran 'grunt' and included the generated files in the pull request

Adding ignore-white-space diff URL for convenience.
https://github.com/danialfarid/ng-file-upload/pull/612/files?w=1

logically equivalent changes added to master, closing PR


Neotest configuration has no effect

Description
The neotest config has no effect. All the no-neck-pain windows are still closed instead of using one of the side panels when i open the neotest summary.
related: https://github.com/shortcuts/no-neck-pain.nvim/issues/246
Steps to reproduce
require("no-neck-pain").setup({
    width = 154,
    autocmds = {
        enableonvimenter = false,
    },
    mappings = {
        enabled = false,
    },
    integrations = {
        nvimtree = {
            position = "left",
            reopen = true,
        },
        undotree = {
            position = "left",
        },
        neotest = {
            position = "right",
            reopen = true,
        },
    },
})

Expected behavior
No neck pain should one of the side panels when i open neotest summary
Environment

Neovim version: latest
no-neck-pain.nvim 1.3.0
Plugin clash: no neck pain

hey, thanks for reporting the issue! I indeed realized it, it's fixed in https://github.com/shortcuts/no-neck-pain.nvim/issues/251


ScatterPlot axes: gray out unused categories instead of not showing them

Fixed in Datagrok v1.6.0


Some rocketmq examples

Describe what this PR does / why we need it
Parts of #2481 works.
Does this pull request fix one issue?
Some examples of rocketmq stream:

broadcast
delay
orderly
sql
Will imporve docs and write some other example latter.

Describe how you did it
Describe how to verify it
Manual test
Special notes for reviews

Add some readme documentations please!

Add some readme documentations please!

Will add readme doc today(4.10)  or tomorrow(4.11).

I found a problem about your examples, i think the feature example provided now isn't a normal using method in daily Spring Cloud application, maybe we should provide a standard using method that users can use directly. Such as using @Autowired to create a MessageProvider, and users can use it to produce message.

I found a problem about your examples, i think the feature example provided now isn't a normal using method in daily Spring Cloud application, maybe we should provide a standard using method that users can use directly. Such as using @Autowired to create a MessageProvider, and users can use it to produce message.

Got it.

Add some readme documentations please!

Will add readme doc today(4.10) or tomorrow(4.11).

Worked overtime today, may finish tomorrow or the day after tomorrow (4.12 or 4.13)

Reopen for discussion.

Add some readme documentations please!
Done.

Ready to review.
This pr is not including Transactional example, will add Transactional  exmaple next week(maybe 4.24).
Also not including  rocketmq docs in spring-cloud-alibaba-docs, will improve it alter(maybe before 5.5）


[2319] add state machine for course

Context
To simplify how we understand the state of a course, currently we derive it from several dynamic values, but reasoning what it is to be able to work with it is painful this way. We think that by driving the state with a state machine will simplify this.
Changes proposed in this pull request
Just simply add a state column and the basics of the state machine, as we expect it should be, to course. It doesn't actually do anything except sketch how we think it will work, and prove that we can introduce it without breaking anything (yet).
Guidance to review
More PRs to come, this is just trying to chip away at it so we avoid having one big, nasty PR to review.
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[ ] Tested by running locally

 Add state machine to Course

opps drive by rebase master onthis....

@defong New is synonymous with Empty.

@misaka what's left to do on this PR other than rebase?

@misaka pushed back, hence closing

I think this should be merged in as-is, and we'll start to fill in the actual functionality with new tickets and PRs.

 Add state machine to Course

:ship: :ship: :shipit:


Learn Button does not go to the first item in the Map Not Completed

Challenge http://www.freecodecamp.com/challenges/bonfire-where-do-i-belong has an issue. User Agent is: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

Correct, It does not. It goes to the next challenge based on the last challenge you opened. This is intentional.
Happy Coding.


Extract text with AI command

Introducing a extractTextWithAI command that uses LLM to extract text form a screenshot. Some situations where it is useful:

Finding dynamic elements on the screen (i.e. as a result of a search)
Finding elements by their semantic meaning rather than hardcoded strings or IDs
Bypassing Captcha

Usage Example
- extractTextWithAI: CAPTCHA value
- inputText: ${aiOutput}

Not sure why detekt pushed so many styling changes 🤷 Perhaps these classes were not touched since the style changed?


Sticky Scroll doesn't clear after deleting text in special circumstances

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.73.1 (user setup)
OS Version: Windows 11 22H2 (Build 22621.819)

Steps to Reproduce:
As far as I can tell, this occurs when you delete the rest of a file and the part remaining would not trigger sticky scroll normally. In my case I noticed it with my PowerShell profile as I have some ad hoc commands at the beginning and was removing a function later in the file. The function began on line 16 and extended past the page boundary. When I selected the function, sticky scroll worked normally and showed me what part of the function I was in. After deleting the function, the sticky scroll banner remained with data that was no longer in the file.

Enable Sticky Scroll
Open file that extends past a page. Start selecting text from the first page to the end of the document. Note that sticky scroll works as intended and shows what part of the functions/code you're in.
Delete all selected text so all code will appear on one single screen. Note that sticky scroll text stays the same, even though that text is no longer in the file and it is now blocking the ability to see the first couple of lines.

I can't reproduce this on any kind of file other than a PowerShell script where the beginning of the file and the text that I'm leaving would not trigger sticky scroll in the first place.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Clarification on the initiating client of Hello

https://github.com/ethereum/eth2.0-specs/blob/499e187382798060b3c880782b5563e4253c0bcf/specs/networking/p2p-interface.md#L338-L345
Just want to confirm: I'm not sure who should open a new stream Hello to another upon connection. It should be great to clarify this. Should both sides do it, or just the client who initiates the connection opens the stream?

My understanding:
To begin, I discover a peer's identity and location yielding a multiaddr with this information (something like ip/IPV4_ADDR/tcp/PORT/p2p/PEER_ID). I inject this info to the peer store and then ask my libp2p implementation to dial this peer. There is a handshake that is transparent to me (AIUI) that upgrades the connection to one providing security and multiplexing guarantees at the transport level. I, as the initiator, now MUST open a new stream under the /eth2/beacon_chain/req/hello/1/ protocol and send the only valid message here, Hello. I close my end of the connection and wait for the remote peer's response.
The peer I connected to will see this incoming message from me and then MUST send its own Hello in response. The remote peer closes its end of the connection after sending the response Hello. At this point, each side can decide what to do following the spec (aka the peer missing data should start syncing the chain or incompatible peers are disconnected).
Does this clarify the initial handshake?

@ralexstokes  Thank you for the clarification.

I, as the initiator, now MUST open a new stream under the /eth2/beacon_chain/req/hello/1/ protocol and send the only valid message here, Hello. I close my end of the connection and wait for the remote peer's response.

Yeah this is just what I want to confirm: who should open the stream Hello. If we all agree on the connection initiator should open the stream, probably we can specify it in the spec?

I think this is clarified in the updates made in v08x -- https://github.com/ethereum/eth2.0-specs/blob/v08x/specs/networking/p2p-interface.md#status

The dialing client MUST send a Status request upon connection.


Relative paths in pypi pages

I work at a firm which uses Artifactory as a proxy for PyPi and we've looked to proxy pytorch-geometric's pypi wheel page and packages. The problem comes in that due to absolute links Artifactory is unable to proxy the wheel files. Is it possible to have relative links and use the webserver to redirect to S3 as you currently link to?

The wheel page now supports relative paths. Please let me know if this fixes your issues :)

Looks to be working for us. Thanks.
Is it not possible to leverage the main pypi repo for all of these? Seems like some projects put all variations of their libs into pypi such as mxnet.

This is sadly not an option since we need to provide wheels for the product of PyTorch and CUDA versions.

Ah. Just too many versions. Certainly easier if you only need versions per CUDA version.
Thanks again.


JavaScript function to reverse the odd number in an array

JavaScript function to reverse the odd number in an array

Hello @emmakolade, closing this PR as part of cleanup work in preparation for our project. Just FYI.


[FLOC-2871] Quote vagrant floc 2871

Fixes https://clusterhq.atlassian.net/browse/FLOC-2871

looks fine, tests are passing, berge it

Thanks @Azulinho - you're welcome to merge (my?) PRs if you're happy with them :smile:


Add Reminders?

I think this would be another awesome one to have. Thank you for the fantastic project!

In a few days I will add! Thanks!

I am added Reminders, you can check it


Support new Arrow PyCapsule Interface for Python FFI

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
There's existing support for interop with Python via the C data interface in arrow::pyarrow.
As of pyarrow v14, there's a new specification for Python-based interop, called the Arrow PyCapsule Interface. In particular, this allows interfacing with any arrow-based Python library, instead of only pyarrow. It also ensures memory doesn't leak if the capsule isn't used.
Describe the solution you'd like
Updates to the Python interop to support the new capsule-based approach.
Describe alternatives you've considered
Additional context

I took a quick stab at this but got stuck. In particular, I tried:
use arrow::array::ArrayData;
use arrow::ffi;
use pyo3::exceptions::{PyTypeError, PyValueError};
use pyo3::prelude::*;
use pyo3::types::{PyCapsule, PyTuple};
use pyo3::{PyAny, PyResult};

pub fn pyobj_to_array(ob: &'_ PyAny) -> PyResult<ArrayData> {
    if ob.hasattr("__arrow_c_array__")? {
        let tuple = ob.getattr("__arrow_c_array__")?.call0()?;

        if !tuple.is_instance_of::<PyTuple>() {
            return Err(PyTypeError::new_err(
                "Expected __arrow_c_array__ to return a tuple.",
            ));
        }

        let schema_capsule = tuple.get_item(0)?;
        if !schema_capsule.is_instance_of::<PyCapsule>() {
            return Err(PyTypeError::new_err(
                "Expected __arrow_c_array__ first element to be PyCapsule.",
            ));
        }
        let schema_capsule: &PyCapsule = PyTryInto::try_into(schema_capsule)?;
        let schema_capsule_name = schema_capsule.name()?;
        if schema_capsule_name.is_none() {
            return Err(PyValueError::new_err(
                "Expected PyCapsule to have name set.",
            ));
        }
        let schema_capsule_name = schema_capsule_name.unwrap().to_str()?;
        if schema_capsule_name != "arrow_schema" {
            return Err(PyValueError::new_err(
                "Expected name 'arrow_schema' in PyCapsule.",
            ));
        }

        let array_capsule = tuple.get_item(1)?;
        if !array_capsule.is_instance_of::<PyCapsule>() {
            return Err(PyTypeError::new_err(
                "Expected __arrow_c_array__ second element to be PyCapsule.",
            ));
        }
        let array_capsule: &PyCapsule = PyTryInto::try_into(array_capsule)?;
        let array_capsule_name = array_capsule.name()?;
        if array_capsule_name.is_none() {
            return Err(PyValueError::new_err(
                "Expected PyCapsule to have name set.",
            ));
        }
        let array_capsule_name = array_capsule_name.unwrap().to_str()?;
        if array_capsule_name != "arrow_array" {
            return Err(PyValueError::new_err(
                "Expected name 'arrow_array' in PyCapsule.",
            ));
        }

        let arr = unsafe {
            ffi::from_ffi(
                *array_capsule.reference::<ffi::FFI_ArrowArray>(),
                schema_capsule.reference::<ffi::FFI_ArrowSchema>(),
            )
            .unwrap()
        };
        return Ok(arr);
    }

    Err(PyValueError::new_err(
        "Expected an object with dunder __arrow_c_array__",
    ))
}

but this doesn't work because of
error[E0507]: cannot move out of a shared reference
  --> src/ffi2.rs:60:17
   |
60 |                 *array_capsule.reference::<ffi::FFI_ArrowArray>(),
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `arrow::ffi::FFI_ArrowArray`, which does not implement the `Copy` trait

This has a different setup because instead of provisioning FFI structs ourselves for python to export into, python exports its own ffi structs inside the capsule. Maybe I'm missing something in the pyo3 api to get an owned pointer, but I assume that's not possible.
I figure here that the arrow-rs ffi code would need to be changed to allow a reference to a FFI_ArrowArray struct, just like it does with the schema? It would then just have to check that released on the struct is not true before importing..?

The arrow-rs FFI interfaces expect to take ownership of the provided data. That is when the last reference within arrow is freed it should invoke release.
If this is what the PyCapsule is providing, then it should just be a case of std::ptr::read to transfer the ownership. However, if this is not how ownership in PyCapsule works, in particular if the ownership of the PyCapsule needs to be transfered and not the underlying array, then a new FFI mechanism would be required.

std::ptr::read to obtain an owned value

Awesome! Sorry, I'm still learning low-level FFI stuff in Rust and didn't know
With that I got it to work!
#[pyfunction]
pub fn read_array(ob: &'_ PyAny) -> PyResult<()> {
    let arr = pyobj_to_array(ob)?;
    println!("{:?}", arr);
    Ok(())
}

pub fn pyobj_to_array(ob: &'_ PyAny) -> PyResult<ArrayData> {
    if ob.hasattr("__arrow_c_array__")? {
        let tuple = ob.getattr("__arrow_c_array__")?.call0()?;

        if !tuple.is_instance_of::<PyTuple>() {
            return Err(PyTypeError::new_err(
                "Expected __arrow_c_array__ to return a tuple.",
            ));
        }

        let schema_capsule = tuple.get_item(0)?;
        if !schema_capsule.is_instance_of::<PyCapsule>() {
            return Err(PyTypeError::new_err(
                "Expected __arrow_c_array__ first element to be PyCapsule.",
            ));
        }
        let schema_capsule: &PyCapsule = PyTryInto::try_into(schema_capsule)?;
        let schema_capsule_name = schema_capsule.name()?;
        if schema_capsule_name.is_none() {
            return Err(PyValueError::new_err(
                "Expected PyCapsule to have name set.",
            ));
        }
        let schema_capsule_name = schema_capsule_name.unwrap().to_str()?;
        if schema_capsule_name != "arrow_schema" {
            return Err(PyValueError::new_err(
                "Expected name 'arrow_schema' in PyCapsule.",
            ));
        }

        let array_capsule = tuple.get_item(1)?;
        if !array_capsule.is_instance_of::<PyCapsule>() {
            return Err(PyTypeError::new_err(
                "Expected __arrow_c_array__ second element to be PyCapsule.",
            ));
        }
        let array_capsule: &PyCapsule = PyTryInto::try_into(array_capsule)?;
        let array_capsule_name = array_capsule.name()?;
        if array_capsule_name.is_none() {
            return Err(PyValueError::new_err(
                "Expected PyCapsule to have name set.",
            ));
        }
        let array_capsule_name = array_capsule_name.unwrap().to_str()?;
        if array_capsule_name != "arrow_array" {
            return Err(PyValueError::new_err(
                "Expected name 'arrow_array' in PyCapsule.",
            ));
        }
        let array_ptr = array_capsule.pointer();

        let array_ptr = array_ptr as *const ffi::FFI_ArrowArray;
        let owned_array_ptr = unsafe { std::ptr::read(array_ptr) };

        let arr = unsafe {
            ffi::from_ffi(
                owned_array_ptr,
                schema_capsule.reference::<ffi::FFI_ArrowSchema>(),
            )
            .unwrap()
        };
        return Ok(arr);
    }

    Err(PyValueError::new_err(
        "Expected an object with dunder __arrow_c_array__",
    ))
}

Then in Python:
>>> import pyarrow as pa
>>> arr = pa.array([1, 2, 3, 4])
>>> geoarrow.rust.rust.read_array(arr)
ArrayData { data_type: Int64, len: 4, offset: 0, buffers: [Buffer { data: Bytes { ptr: 0x596540300c0, len: 32, data: [1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0] }, ptr: 0x596540300c0, length: 32 }], child_data: [], nulls: None }

I'm still not 100% understanding the ownership model of the pycapsule, but at least the proof of concept works

Well, I take that back, if I call read_array twice in a row on the same pyarrow array, it segfaults.
>>> geoarrow.rust.rust.read_array(arr)
ArrayData { data_type: Int64, len: 4, offset: 0, buffers: [Buffer { data: Bytes { ptr: 0x596540300c0, len: 32, data: [1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0] }, ptr: 0x596540300c0, length: 32 }], child_data: [], nulls: None }
>>> geoarrow.rust.rust.read_array(arr)
[1]    9141 segmentation fault  python

So clearly I'm doing something wrong with the ownership model

label_issue.py automatically added labels {'arrow'} from #5070


Enhancement: Normalize composer.json

This PR

[x] normalizes composer.json

💁♂ I ran
$ composer global require localheinz/composer-normalize

followed by
$ composer normalize

For reference, see https://github.com/localheinz/composer-normalize.

Coverage increased (+0.2%) to 79.321% when pulling 8f3a8635c9356048e7e56f1eed949e577ff903d2 on localheinz:feature/normalize into 8bf99b4cc1db078f8b27a36a5d878d928f80841c on jcchavezs:master.

Coverage increased (+0.2%) to 79.321% when pulling 8f3a8635c9356048e7e56f1eed949e577ff903d2 on localheinz:feature/normalize into 8bf99b4cc1db078f8b27a36a5d878d928f80841c on jcchavezs:master.

@jcchavezs
Can do! Perhaps similar to https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3542?

I was thinking that this library is not changing composer.json too much so maybe it is overkill to check the composer.json on CI. Merging as it is.

@localheinz would you mind to rebase?

@jcchavezs
Rebased!


More statistical functions added to stats.js (2)

Description
The following functions have been added into stats.js:
Geometric Distribution (PDF)
Binomial Distribution
Binomial Coefficient
Log Series Distribution
Lognormal Distribution (PDF)
Gumbel Distribution
Uniform Distribution
Linear Moving Average
Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x]  Chrome browser testing: using Inspect element, I used the console to test all the functions I'm implementing by making an instance of HydroLang and calling the function for a result.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules

Description
The following functions have been added into stats.js:
Homogenous Poisson Process
Non-Homogenous Poisson Process
Log Pearson Type III
boxPlotDistribution
Mean Squared Error
Exponential Moving Average
Return Period
Multinomial Distribution
Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x]  Chrome browser testing: using Inspect element, I used the console to test all the functions I'm implementing by making an instance of HydroLang and calling the function for a result.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules# Description

The following new functions have been added into stats.js:

Homogenous Poisson Process
Non-Homogenous Poisson Process
Log Pearson Type III
boxPlotDistribution
Mean Squared Error
Exponential Moving Average
Return Period
Multinomial Distribution

Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x]  Chrome browser testing: using Inspect element, I used the console to test all the functions I'm implementing by making an instance of HydroLang and calling the function for a result.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules

New functions on stats: Geometric Distribution (PDF), Binomial Distribution, Binomial Coefficient, Log Series Distribution, Lognormal Distribution (PDF), Gumbel Distribution, Uniform Distribution, Simple Moving Average


Pressing return on completion item doesn't trigger signature popup

Hi,
If I select a completion item then press left open bracket, the signature popup appears.
But if I select a completion item then press CR with g:completion_enable_auto_paren = 1 set, the parenthesis are added, but the signature popup does NOT appear.
I'm using the latest master pull, as of 2 hours ago.
Thanks!
.vimrc
let g:completion_chain_complete_list = {
            \ 'default' : {
            \   'default': [
            \       {'complete_items': ['lsp', 'snippet']},
            \       {'mode': '<c-p>'},
            \       {'mode': '<c-n>'}],
            \   'comment': [],
            \   'string': []
            \   }
            \ }
let g:completion_enable_auto_hover = 0
let g:completion_enable_auto_paren = 1
let g:completion_enable_auto_popup = 1
let g:completion_enable_auto_signature = 1
let g:completion_enable_snippet = 0
let g:completion_timer_cycle = 150
let g:completion_trigger_character = ['.', '::']
let g:completion_trigger_keyword_length = 2

:verbose imap cr
i  <CR>        *@<Cmd>call completion#wrap_completion()<CR>

It should be fixed in the latest commit. Please update and check!

Looks good. Thanks!


[Hidden] fixes, demos, regression tests, and only functionality

Fixes #6768 demo
Fixes #6766 only as Breakpoints | Array<Breakpoints> to allow hiding discontiguous breakpoints
Added regression tests
Update docs
Reorganized Responsive UI section a bit to allow for Hidden to be sibling to Layout.

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

I have reverted the top-level to Layout, which I agree makes sense when comparing to the design docs.
My preference is to change the Layout component to Grid as that is consistent with the material.io docs, but @oliviertassinari doesn't want that change.
So, the component Layout docs are visible in the menu path Layout -> Layout- which makes no sense to me especially when the H1 of that doc is Grid.


[activemq-cpp] support linux

This adds support for linux and x64-windows-static-md in the activemq-cpp port.
It also adds an activemq-cppConfig.cmake file for integration with CMake's find_package(activemq-cpp) call. This may only work on Linux and Windows (the only place I could test). I hope the Linux case works on other platforms too. That file might have got a little larger than I expected it to be when I started :-) and there might be some opportunity for cleanup but I'm not enough of a CMake wizard to know a better way to go about supporting Linux and Windows in shared and static builds than brute force.

Which triplets are supported/not supported? Have you updated the [CI baseline]

All (I hope...we'll see).

Does your PR follow the maintainer guide?

Yes.

Yes

@mheyman, sorry for the delay, could you resolve the conflicts?

The changes in activemq-cppConfig.cmake needs other team member to take a further look.

/azp run

LGTM on my side.


Fix occasional test failure of l2normalize

A part of #3766

Jenkins, test this please.

Jenkins CI test (for commit 6534c1481d9b60b22f3f6301b23993a416175bbc, target branch master) succeeded!


xa-datasources are not exported

In the section datasources of the standalone.xml can be section datasource for which exporting works perfectly fine.
But user can define there also section xa-datasource which is ignored.
Problem is probably in the class JbossJdbcPoolExports where ObjectName is defined:
"jboss.as:subsystem=datasources,data-source=,statistics=pool"
I guess they are not found, because prefix xa- is missing there:
"jboss.as:subsystem=datasources,xa-data-source=,statistics=pool"
Environment: Java 8, Wildfly 24.0.1, Ubuntu 20.04.3

Hi Richard, you are right, I'll use it, thank you.


Attachments not saved by first click

I need click twice for save attachments.

This is to preserve bandwidth ... iOS does the same.

not, this is like preload by first click and by second click opened save dialog window


st.popover examples erroring out

Summary
When visiting the st.popover docs, the examples are erroring out and not providing an example
Steps to reproduce
Code snippet:

Visit the st.popover docs and scroll down to the examples.

Screenshot(s):

Hi @digitalghost-dev 👋  thanks for reporting this issue.
We've discovered an inefficient use of CPU for Streamlit version 1.32.0 and 1.32.1. Apps deployed on Community Cloud are temporarily capped at version 1.31.1. Patch 1.32.2 has been released on PyPi and is available for development. The limitation for Community Cloud is expected to be lifted on Monday, March 18.
As st.popover is available in versions >=1.32.0, the app throws an exception since it is using version 1.31.1. This issue should be resolved ideally by EOD.

This has been resolved. Thanks.


IOS-3202: Feature/Retrying Requests

Issue Link
https://spothero.atlassian.net/browse/IOS-3202
Description
Adds the ability to retry a request if it failed or fails validation.

Added the RequestRetrier protocol and updated RequestInterceptor to conform to it
Call the RequestRetrier when a task completes and either fails or does not pass validation, which will allow for a new request to be attempted
Handled TODO around cancelling/suspending tasks while the RequestInterceptor is being called to ensure the cancellation or suspension request is upheld after returning from those async methods
Moved existing RequestAdapter tests into a new test file named RequestTests and use a Request object directly instead of going through the HTTPClient
Added new tests centered around retrying requests


Dynamically change the proxy mode from regular to upstream when http_connect

Problem Description
I'd like to redirect HTTP requests in the (frontend/downstream) connection between a client and mitmproxy to HTTPS requests in the (backend/upstream) connection between mitmproxy and the target server. However if the frontend connection has been over HTTPS, I tried to change the proxy mode of mitmproxy to upstream (Upstream Proxy) so as not act as a Middle Man (no decryption and encryption and using self-cert) by script, it still failed.
C:\Users\ssfang>mitmweb --help
usage: mitmweb [options]

optional arguments:
  -h, --help            show this help message and exit

  --scripts SCRIPT, -s SCRIPT
                        Execute a script. May be passed multiple times.

Use the following diagram (or http://www.partow.net/programming/tcpproxy/index.html),
                                    ---> upstream --->           +---------------+
                                              https  +---->------>               |
                               +-----------+         |           | Remote Server |
                http +--------->          [x]--->----+  +---<---[x]              |
                     |         | mitmproxy |            |        +---------------+
 +-----------+       |  +--<--[x]          <-----<------+ https
 |          [x]--->--+  |      +-----------+
 |  Client   |          |
 |           <-----<----+ http
 +-----------+
                <--- downstream <---

   Frontend                                                           Backend

Steps to reproduce the behavior:

Run bin\mitmweb -s RedirectHttpToHttpsForSpecifiedHost.py
Run curl -x <IP_ADDRESS>:8080 --connect-timeout 30 --max-time 50 https://m.v.qq.com

curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

RedirectHttpToHttpsForSpecifiedHost.py
"""
Usage: mitmproxy -s RedirectHttpToHttpsForTencentVideo.py
Test: curl -x <IP_ADDRESS>:8080 --connect-timeout 30 m.v.qq.com
"""

from mitmproxy import ctx  # pip install mitmproxy
from mitmproxy.proxy.protocol.http import HTTPMode
import mitmproxy.http

# https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_(PAC)_file#Use_proxy_for_everything_except_local_hosts
PAC_SPECIFIED_DOMAIN = b'''\
function FindProxyForURL(url, host) {
	//if (isPlainHostName(host) || !dnsDomainIs(host, "m.v.qq.com")) {
	//	return "DIRECT";
	//} else {
	//	return "PROXY <IP_ADDRESS>:8080; DIRECT";
	//}
	return "PROXY <IP_ADDRESS>:8080; DIRECT";
}'''

class LocalRedirectHttpToHttps:

	def __init__(self):
		print('Loaded addon: redirect http to https for Tencent Video')

	def http_connect(self, flow: mitmproxy.http.HTTPFlow):
		"""
			An HTTP CONNECT request was received. Setting a non 2xx response on the flow will return the response to the
			client abort the connection. CONNECT requests and responses do not generate the usual HTTP handler events.
			CONNECT requests are only valid in regular and upstream proxy modes.
		"""
		req = flow.request
		ctx.log.info('http_connect|request@{:x} {} {} {}'.format(id(req), flow.intercepted, flow.mode, req.pretty_url))
		flow.mode = HTTPMode.upstream

	def request(self, flow: mitmproxy.http.HTTPFlow):
		"""
			The full HTTP request has been read.
		"""
		req = flow.request
		ctx.log.info('request|request@{:x} {} {} {}'.format(id(req), flow.intercepted, flow.mode, req.pretty_url))
		# if 'https' == req.scheme: flow.mode = HTTPMode.upstream
		if 'm.v.qq.com' in req.pretty_host and 80 == req.port:
			ctx.log.info('request|pretty host is: {} {}'.format(req.pretty_host, flow.server_conn.address))
			req.scheme = 'https'
			req.port = 443
		# flow.server_conn.address[1] = 443
		elif req.pretty_url == "http://example.com/PAC":
			flow.response = mitmproxy.http.HTTPResponse.make(
				200,  # (optional) status code
				PAC_SPECIFIED_DOMAIN,  # (optional) content
				{"Content-Type": "text/plain"}  # (optional) headers
			)

	def response(self, flow: mitmproxy.http.HTTPFlow):
		"""
			The full HTTP response has been read.
		"""
		req = flow.request
		ctx.log.info('response|request@{:x} {} {} {}'.format(id(req), flow.intercepted, flow.mode, req.pretty_url))
		# No need to recover the connection between client and mitmproxy
		if False and 'm.v.qq.com' in flow.request.pretty_host and 80 == req.port:
			ctx.log.info("response|pretty host is: %s" % flow.request.pretty_host)
			flow.request.scheme = 'http'
			flow.request.port = 80

addons = [LocalRedirectHttpToHttps()]

System Information
D:\mitmproxy> bin\mitmweb --version
Mitmproxy: 5.2 binary
Python:    3.7.8
OpenSSL:   OpenSSL 1.1.1g  21 Apr 2020
Platform:  Windows-10-10.0.18362-SP0

I'm not sure what you want to do, maybe you could try with a reverse proxy?
mitmdump -p 80 --mode reverse:https://v.qq.com/

I have an app that still uses HTTP, and then I want to use a proxy to feed the HTTP responses to it and those reponses come from the target server over HTTPS when the proxy acts as a client to communicate with the server.
Howerver, there are other apps that use HTTPS. If the proxy server address is configured in the Wi-Fi networks on my Android device, it will affect all apps following this sytem proxy setting and self-signed certs About Certificates by mitmproxy cannot be verified on my Android device because I cannot import the custom trusted cert in System Configuration even if there's import entry (it always failed). Configure Fiddler for Android / Google Nexus 7 - Credential Storage - Install from storage
In fact, when client traffic are HTTPS, I expect mimproxy not to decrypt and encrypt.

v.qq.com is forced to use HTTPS, you need to handle the redirect request separately in response, and then retrieve the web content to send to the client.
Changing https to http via mitmproxy is useless when the browser sends an https request.
def request(flow: http.HTTPFlow):
    if flow.request.scheme == "http":
        flow.request.scheme = "https"
        flow.request.port = 443

With the above code it is possible to access https content over the http protocol, but there are a lot of problems and it does not automatically convert https to http.
I suggest you find a way to install the certificate, it's much easier to install the certificate than this need!


Add swift network to NetConfig for va-hci-base and restore default

This commit restores networking-definition.yml to its pre-swift state and overrides cifmw_networking_definition in va-hci-base.

obsolete


Create AgentDispatchClient Example

Create an example to showcase the new AgentDispatchClient API in use to programmatically dispatch a running agent to a specific room.

implemented on https://github.com/livekit/python-sdks/pull/311


image classification eval/try model doesn't work

I added a new item, trained local image classification with CPU with this dataset:
https://www.kaggle.com/jeffheaton/iris-computer-vision
After training, in Evaluate page, I tried to test several images, but keep getting this error:

Resolved


rawBody vs. body inconsistencies

https://github.com/Shopify/shopify-api-node/issues/538#issue-1397957814

PR was merged 🎉


support uploading midi files for download

https://github.com/studiorack/studiorack-site/issues/36
https://github.com/ldrolez/free-midi-chords

https://www.hooktheory.com/theorytab
while i wasnt envisioning uploading tablature, that would be possible as well.

also for metadata, allow the uploader to pick a mode. so if i write "Mode: dorian" i dont have to force it into G ionian or aeolian to upload it. also having a scale list, e.g. blues / pentatonic / etc. (like the license list) would be good.
you might be tempted to add a key metadata entry but thats wrong entirely. every melody and chord progressions can just be quickly shifted up to any key with arrow keys. the only thing the user needs to know is the mode, the key should always be a parallel key to C major (C ionian, D dorian, E phygrian, F lydian, G mixolydian, A aeolian, B locrian) as C major is a standard for these types of things. the user then can search for a specific mode and can pitch shift it themselves. we can also just have a tool to pitch shift it for them but this is basic theory.

all midi file uploaders (as well as projects) will have to sign a CLA or something saying they have rights to upload this and if they dont they must credit the rights holders. again, it is legal to upload sheet music and midi files of songs that arent yours such as https://www.hooktheory.com/theorytab as long as you credit the owners

all midi file uploaders (as well as projects) will have to sign a CLA or something saying they have rights to upload this and if they dont they must credit the rights holders. again, it is legal to upload sheet music and midi files of songs that arent yours such as https://www.hooktheory.com/theorytab as long as you credit the owners

this would require some sort of artist tag? would that just be author? author is used for creator of something but do we list that as the person who assembled the midi or the song?


kube state metrics integration missing pod_name labels

After deploying Kube-state-metrics in my kubernetes cluster along side with Datadog-agent. I was able to see kubernetes_state.pod.status_phase metrics showed up in datadog. However, there are no pod_name label/tag for this particular metric. Can we have  kube state metrics integration includes this tag/label
Here is how it looks with kube-state-metric/metrics endpoint
kube_pod_status_phase{namespace="default",pod="nginx-deployment-687cbb6bc7-2tplf",phase="Pending"} 1

I think you can close the issue.
It seems to have been fixed a long time ago.


[feature] Support syntax "select a from t partition(p1)"

Is your feature request related to a problem? Please describe.
Currently, TiSpark doesn't support a MySQL/TiDB partition table syntax select col_name from table_name partition(partition_name)
spark.sql("select a from t where partition(p0)").show(false)
org.apache.spark.sql.AnalysisException: Undefined function: 'partition'. This function is neither a registered temporary function nor a permanent function registered in the database 'default'.; line 1 pos 22
  at org.apache.spark.sql.catalyst.analysis.Analyzer$LookupFunctions$$anonfun$apply$15$$anonfun$applyOrElse$51.apply(Analyzer.scala:1395)
  at org.apache.spark.sql.catalyst.analysis.Analyzer$LookupFunctions$$anonfun$apply$15$$anonfun$applyOrElse$51.apply(Analyzer.scala:1395)
  at org.apache.spark.sql.catalyst.analysis.package$.withPosition(package.scala:53)
  at org.apache.spark.sql.catalyst.analysis.Analyzer$LookupFunctions$$anonfun$apply$15.applyOrElse(Analyzer.scala:1394)
  at org.apache.spark.sql.catalyst.analysis.Analyzer$LookupFunctions$$anonfun$apply$15.applyOrElse(Analyzer.scala:1386)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$2.apply(TreeNode.scala:258)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$2.apply(TreeNode.scala:258)
...

docs: https://github.com/pingcap/tispark/pull/1976
Describe the solution you'd like
Support this syntax.
Describe alternatives you've considered
We can still use where condition to filter the partitions.
scala> spark.sql("select a from t where a<100").show(false)
21/03/23 10:24:44 WARN ObjectStore: Failed to get database test, returning NoSuchObjectException
21/03/23 10:24:44 WARN ObjectStore: Failed to get database test, returning NoSuchObjectException
+---+
|a  |
+---+
+---+

Additional context
Add any other context or screenshots about the feature request here.

Sorry for the late reply.
Sadly, we don't support it for spark SQL doesn't support this syntax.


JPQL 에러모음

https://www.inflearn.com/questions/256851

https://www.inflearn.com/questions/256851

JPQL 파라미터 관련 @Param


Replace Sets with Schedules / unify adding sets to schedules

What problem does this solve or what need does it fill?
After #8079, adding systems to schedules is unified under a single API, which is great. Configuring sets, however, still has multiple ways of doing it. Plus, systems belong in multiple different "types" of "collections" (schedules and sets). This was the case before as well, with systems having to belong in a CoreSet plus the main schedule, but now the core sets have been replaced with separate schedules.
What solution would you like?
Do the same for all notions of "sets", i.e. unify sets and schedules. Since systems have to belong to a schedule anyway, I propose replacing sets with nested schedules. Instead of configuring a set as you would now, you instead can configure schedules and nest them. In function, this would be the same as the current way of configuring a tree of sets and adding your systems to those, inside a schedule. In addition to making the API smaller and cleaner, it would simplify code for structuring your systems. Currently, if you want to create a system in a set, you have to annotate every system with the set it's in, in addition to its schedule
app.configure_sets(PreUpdate, (A, B).chain());

app.add_systems(
  PreUpdate,
  (
    a.in_set(A),
    b.in_set(B)
  )
);

However, after this, you could add directly to your nested schedule (just an example)
app.add_schedules(PreUpdate, (A, B).chain());

app.add_systems(A, a);
app.add_systems(B, b);

This also removes the need of having to "know" what schedules each set belongs to if you want to add your system to it, e.g. in plugins.
What alternative(s) have you considered?
Just configure the configure_sets function to also take a single set, to at least be consistent in not having many functions do the same thing.

Has anyone done anything with regards to this and #9792?


Missing instructions when using create-react-app

A guide to use in create-react-app should be provided.

I'm a bit busy ATM, will add instructions in the following weeks. I still need to fix #1 first.


Chevron should be resized

Expected behavior and actual behavior:
Size of the chevron should be resized to match the design.  It's currently much larger.
Environment :
CB: Redesign branch/latest pull
Browser: Chrome59
Screenshots:
Design:

Implemented Version:

/cc @davidrleonard

Fixed in 5b47ac4c0ab2b878bc3fd46078e5dd21778a5ceb, its smaller now to match the spec.


about mysql or redis

Excuse me, would you give me an example for redis or mysql?

Btw, I'd like to know how to write data into my redis.
Thank you very much.

I don't use the redis or mysql modules, but I can provide an example for Redshift.

@dlstadther Thank you very much. After reading your example and the src in contrib, I think I have to add some function for redis_store....

closing this issue.

[x] It has been inactive for +4 months.
[x] It's not about luigi core, so not as many users are affected about this.
[ ] The change seems quite big, it's unlikely to be sporadically picked up.
[ ] The owner haven't responded or disappeared.
[ ] I don't understand what this issue is about.
[ ] There exists a reasonable workaround for this.
[ ] We need to check if this hasn't been fixed by now (for old issues).
[ ] This is kind of by design and not a bug.
[ ] Resolving this would probably add a lot of complexity.
[X] This is a question not an issue. Use SO or the mailing list.

Every open issue adds some clutter, and we try to make the issues fewer and make it easier for new collaborators to find. Currently we try to close any issue that meets the first checkbox + one other.
Feel free to reopen this issue at any point if you have the intent to continue to work this. :)


hotkeys module.run causes injection issue in unit test

After I added angular-hotkeys to my project, I'm having issues in my unit tests.  I'm getting the following error message:
Error: [$injector:unpr] Unknown provider: $rootElementProvider <- $rootElement <- hotkeys <- hotkeys
This error message seems to indicate that angular-mocks.js hasn't been included yet, but I've checked it, and it has.  I can also verify that that the $rootElementProvider is providing its mock element.  All these mechanisms seem fine for everything else.  However, I now get the error message above when I try to inject hotkeys service into a test.
It seems to be related to the .run that hotkeys calls to ensure that the initialization code gets called.  Does this make sense to anyone?  It's puzzling for me.  I can make my tests run by putting the .run method inside an if statement that tests for !angular.mock, but this seems like an awkward solution.

Did you find a solution for this?


[MTSRE-481] Added new secrets and pullSecretName attributes in addon metadata file

py-mtcli
Description
This PR adds two new attributes (secrets and pullSecretName) in the addon metadata file.
Jira: https://issues.redhat.com/browse/MTSRE-481

let's not get rid of pullSecret field but rather deprecate it for now otherwise it would break the CI pipelines due to invalidation caused by all the existing addons currently making use of pullSecret

Also, can we cover this schema-change under our unit tests?
Refs:

https://github.com/mt-sre/managed-tenants-cli/blob/main/tests/addons/test_addon.py
https://github.com/mt-sre/managed-tenants-cli/blob/main/tests/testdata/addons/test-operator/metadata/stage/addon.yaml
https://github.com/mt-sre/managed-tenants-cli/blob/main/Makefile#L58-L59

/ok-to-test


Questions about mocking strategies

Hello,
First of all, thank you for creating this package, as it's incredibly helpful for unit-testing dbt models. I've been using the "include_missing_columns" strategy, but I'm running into some issues with Bigquery complaining about query complexity when building the entire DAG to infer missing columns.
Specifically, I'm wondering why it's necessary to build the entire DAG to infer missing columns using this strategy. Would it be possible to only look at the immediate parent nodes instead?
Thank you in advance for your help!

Hi @mikael-ljung, I'm glad that you find this package helpful 🙂
Have you tried the option "use_database_models"? It should simplify the query used to fetch the missing columns.
Please give it a try and let us know if it helps.

Hi @psousa50,
Yes, I have tried that. I have a test setup that where I'm running with the options:
{% set options = {"include_missing_columns": true} %}
And it works just fine. However, when I'm replacing that for:
{% set options = {"use_database_models": true} %}
It complains that columns are missing. Is there any examples where the use_database_models  is used?

It's a bit hard to understand the problem without more information. Could you run your "dbt test" command with the option  --vars "verbose: true" and paste here the result?

Hi @mikael-ljung , are you still having this issue?

Hi there, we are doing a clean-up of old/inactive Issues.
Happy to open again if there is a need for that.
Thank you for collaboration!


feat: support default formatted modelValue and timeSelect functional …

https://theplant.slack.com/archives/C02B1UQD1JM/p1733365346130759?thread_ts=1733302061.284669&cid=C02B1UQD1JM

[ ] https://theplanttokyo.atlassian.net/browse/KAK-7000

PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.


Fix error message styling on EthAddress inputs

What does this PR do and why?
Fix error message styling on EthAddress inputs. Previously, they were all over the place depending on two conditions: A, whether 'extra' prop is passed EthAddress, and B, whether the 'addressForENS' and its check symbol were present. I've accounted for these conditions by: A, giving FormItem.EthAddress a new class when 'extra' is passed to it and then making a separate CSS declaration for this class. And for B, moving the position of the 'addressForENS' in the code so the error message behaves the same whether it is present or not.
Screenshots or screen recordings
OLD:

NEW:

Acceptance checklist

[x] I have evaluted the
Approval Guidelines for this
PR.

nice catch with this bug! thanks for the fix. left some comments


How to save StackingRegressor model while we using ensemble method

Hi,
We used ensemble to perform regression task, and found after fitting, the StackingRegressor model was not able to be saved by using pickle or other ways.
So could you give me some suggestions on how to saving models when using AutoML ensemble?
The code of FLAML AutoML models:
am = automl()
am.fit(x_train,
y_train,
task='regression',
metric='rmse',
split_ratio=0.2,
ensemble={
'final_estimator': LGBMRegressor(),
'passthrough': True,
},
time_budget=3600)
with open('am_model_test.pickle', 'wb') as am_output:
pickle.dump(am, am_output, pickle.HIGHEST_PROTOCOL)
am_output.close()

### Tasks
- [ ] Question

cloudpickle was suggested in #1061


router.param doc states that it can accept an array as name, but it cannot

see also https://github.com/strongloop/express/issues/2742#issuecomment-134736492

Thanks for reporting. Updated.


fix: patch workflow status to workflow. Fixes #8245

Signed-off-by: wujayway<EMAIL_ADDRESS>Fixes #8245
Every time controller reconciles the workflowset patch workflow status on workflowset.

This makes sense. Always overwrite the value.


Widget requirements

Hello friend, first of all I want to say that this project of yours is really great, there is nothing better than this.
But there is currently a problem. Chinese law requires that the registration number must be displayed on the website, and this string of numbers must have a hyperlink. I really don't have the ability to add a small component like a red box at the bottom of your project desktop and fill in the registration number, so I can only raise my need here and hope to get support. I am very happy.

If it is not convenient to make widgets, maybe there are two boxes in the lower right corner like time, where you can fill in text, and when clicked, it will automatically jump to other websites. This is also good.
If you have a better way, that's great too, thanks again.

Are you going to be hosting a fork of this project in China?
@LemonDrug

Thanks for checking out my site! The idea of widgets is interesting and I do have a long term plan to allow 3rd party plugins/widgets which would make it easy to do what you want. If you plan to host your own instance of daedalOS then you can modify the code to achieve this, but you will need some basic React knowledge. You could even hack something together with a <script> tag and pure JavaScript which would place a link on the page that is outside the normal flow of the app.


Returns strings by default from styles

Right now styles default to undefined. Defaulting to strings should fix a few things mentioned at the bottom of #45. Any input on this would be cool.

Hi @Olical, I just changed this line within Element.js:
return props.style[styleCamelCase(name)]

to this:
return props.style[styleCamelCase(name)] || ''

but I don't know if it needs to be more subtle than that?

Pretty much all I was going to do + tests :)
On 30 Aug 2016 18:15, "Dominic Chambers"<EMAIL_ADDRESS>wrote:

Hi @Olical https://github.com/Olical, I just changed this line within
Element.js:
return props.style[styleCamelCase(name)]
to this:
return props.style[styleCamelCase(name)] || ''
but I don't know if it needs to be more subtle than that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Olical/react-faux-dom/issues/68#issuecomment-243511997,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATPXaChVpN8VWDpoBbID8hEu5myFJZRks5qlGVLgaJpZM4JwudN
.

I see, makes sense :smile:

Okay, I've created a pull-request for this in case you haven't started it already.

Thanks @dchambers, I'll get this released ASAP.

Thanks @Olical, much appreciated 👍

Released in v3.0.0. Thanks for the report and fix.

That's working for me. Thanks again @Olical!


Jobs randomly result in composer load class fail without even trying to process it

Laravel Version: 9.5.1
PHP Version: 8.1.3
Database Driver & Version: PGSQL (12.9)
Queue driver: Redis (with 8 workers on queue "low")

Description:
Random instances of the same Job lead to composer autoload error. (Failed to open stream: No such file or directory).
I use pm2 to create the workers, the job doesn't even appear at the screen, just print directly in the storage/logs/laravel.log
Job code: https://prnt.sc/pCtZMRf8Er9f
(The backoff seems to work)
First error: https://prnt.sc/om8PCthikwEs
Second error (after some tries to fix it): https://prnt.sc/o7EIa2qW6wYO
Storage/logs: https://prnt.sc/P5CL-MkAl5jq
Steps To Reproduce:
Unfortunately I can't reference a repository.
The error seems too much random to replicate, sometimes I can run 20 jobs in a row flawless, I tried to test it on my local machine, but the WSL always give a curl timedout.
(The error also happens when I dispatch multiple empty jobs)
https://prnt.sc/7z9myHScPrTh
After running 3000 jobs on 8 workers, I got 8140 lines of logs of:
include(/home/ubuntu/backend/vendor/composer/../facade/ignition/src/QueryRecorder/Query.php): Failed to open stream: No such file or directory

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

Please, reconsider your response, since there isn't any class of my project in the stacktrace, I tried the discord before opening an issue, got nothing so far.
[2022-03-22 18:35:23] production.ERROR: include(/home/ubuntu/backend/vendor/composer/../facade/ignition/src/QueryRecorder/Query.php): Failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): include(/home/ubuntu/backend/vendor/composer/../facade/ignition/src/QueryRecorder/Query.php): Failed to open stream: No such file or directory at /home/ubuntu/backend/vendor/composer/ClassLoader.php:571)
[stacktrace]
#0 /home/ubuntu/backend/vendor/composer/ClassLoader.php(571): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /home/ubuntu/backend/vendor/composer/ClassLoader.php(571): include()
#2 /home/ubuntu/backend/vendor/composer/ClassLoader.php(428): Composer\\Autoload\\includeFile()
#3 /home/ubuntu/backend/vendor/facade/ignition/src/QueryRecorder/QueryRecorder.php(41): Composer\\Autoload\\ClassLoader->loadClass()
#4 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(404): Facade\\Ignition\\QueryRecorder\\QueryRecorder->record()
#5 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}()
#6 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Database/Connection.php(889): Illuminate\\Events\\Dispatcher->dispatch()
#7 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Database/Connection.php(732): Illuminate\\Database\\Connection->event()
#8 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Database/Connection.php(687): Illuminate\\Database\\Connection->logQuery()
#9 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Database/Connection.php(502): Illuminate\\Database\\Connection->run()
#10 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Database/Connection.php(454): Illuminate\\Database\\Connection->statement()
#11 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2980): Illuminate\\Database\\Connection->insert()
#12 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Failed/DatabaseUuidFailedJobProvider.php(64): Illuminate\\Database\\Query\\Builder->insert()
#13 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(214): Illuminate\\Queue\\Failed\\DatabaseUuidFailedJobProvider->log()
#14 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(161): Illuminate\\Queue\\Console\\WorkCommand->logFailedJob()
#15 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(404): Illuminate\\Queue\\Console\\WorkCommand->Illuminate\\Queue\\Console\\{closure}()
#16 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}()
#17 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(195): Illuminate\\Events\\Dispatcher->dispatch()
#18 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(581): Illuminate\\Queue\\Jobs\\Job->fail()
#19 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(527): Illuminate\\Queue\\Worker->failJob()
#20 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(455): Illuminate\\Queue\\Worker->markJobAsFailedIfWillExceedMaxAttempts()
#21 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(432): Illuminate\\Queue\\Worker->handleJobException()
#22 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(378): Illuminate\\Queue\\Worker->process()
#23 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(172): Illuminate\\Queue\\Worker->runJob()
#24 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(117): Illuminate\\Queue\\Worker->daemon()
#25 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(101): Illuminate\\Queue\\Console\\WorkCommand->runWorker()
#26 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#27 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#28 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#29 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#30 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#31 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\\Container\\Container->call()
#32 /home/ubuntu/backend/vendor/symfony/console/Command/Command.php(298): Illuminate\\Console\\Command->execute()
#33 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()
#34 /home/ubuntu/backend/vendor/symfony/console/Application.php(1015): Illuminate\\Console\\Command->run()
#35 /home/ubuntu/backend/vendor/symfony/console/Application.php(299): Symfony\\Component\\Console\\Application->doRunCommand()
#36 /home/ubuntu/backend/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
#37 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\\Component\\Console\\Application->run()
#38 /home/ubuntu/backend/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()
#39 /home/ubuntu/backend/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#40 {main}
"}

(I forgot to mention you)
@driesvints

Probably related, the dispatch()->beforeCommit() doesn't work on the first time.
https://i.imgur.com/lGeuEhh.png

Can you please review this issue? @driesvints

Maybe something failed while composer was dumping the classes?
Have you tried reinstalling composer dependencies i.e. delete vendor and running composer install?

Maybe something failed while composer was dumping the classes? Have you tried reinstalling composer dependencies i.e. delete vendor and running composer install?

@mikeydevelops Yes, I did everything, install, dump autoload, everything you can possible imagine with composer, it's random as hell, sometimes < 30% of the jobs actually work, sometimes is around >= 90%, even without applying any update to the project, just regular dispatchs and queue retries.

Everything synchronized

can you see currently, does vendor/facade/ignition/src/QueryRecorder/Query.php exist. does the whole folder exist vendor/facade/ignition?

can you see currently, does vendor/facade/ignition/src/QueryRecorder/Query.php exist. does the whole folder exist vendor/facade/ignition?

It does not exists, only vendor/facade/ignition-contracts/
This also doesn't exists on my local machine.

Do you have any other projects running on the same server, maybe it is a memory leak where composer is using a different class loader?

Do you have any other projects running on the same server, maybe it is a memory leak where composer is using a different class loader?

This is the only project running in PHP. Every other project is JavaScript, the server also has 32Gb, I'm currently using 2.65Gb

You want to continue this on discord? Let's not spam the issue and I will try to help you debug it? the.mickeyy#0631

So for anyone facing a similar issue. The problem was some caching happening with Octane or PHP opcache. This happened when OP upgraded from Laravel 8.x to 9.x and the composer class loader file was somehow cached and after a full restart of the server the problem is no longer happening.


Review PDF (Compare with Web) for any missing elements / style adjustments

@mtiley it would be great to review the PDF files to check for any:

missing content
style issues that make the pdf difficult to read

Thanks, @mmcky, and @mtiley. The findings can also be documented in this issue where a few styling issues are mentioned:- https://github.com/QuantEcon/lecture-source-py/issues/757

Didn't notice any missing content - 93 chapters and 93 web lectures. I'll put the style issues in #757 with the others.


[Help] Does it have a solution to handle command messages?

Hey,
Thank you for sharing your library publicly.
I'm really excited to use it in my bot project which deal with user command messages.
Does it have a built-in solution to handle it?
I saw this part of the code:

But I suppose it is not coded yet, am I correct?
Thank you in advance.

Correct there is currently no way to extend the app command handler
This wouldn't be too much work to add dispatching/extension capabilities like exist in the message interaction handler. I'll look into it later this week

There is a dev branch available if you'd like to pull it in: application-command-support (with composer: nwilging/laravel-discord-bot:dev-application-command-support
If you just need the ability to intercept app command events, this branch will work fine. It's still in progress as I need to finish writing tests for the command helper classes. They can be used to create commands via the API if needed but currently have no test coverage on that branch.

Thank you very much!
I’ll check it out.
Great week ahead.
On Tue, 7 Feb 2023 at 18:20 Nick @.***> wrote:

There is a dev branch available if you'd like to pull it in:
application-command-support (with composer:
nwilging/laravel-discord-bot:dev-application-command-support
If you just need the ability to intercept app command events, this branch
will work fine. It's still in progress as I need to finish writing tests
for the command helper classes. They can be used to create commands via the
API if needed but currently have no test coverage on that branch.
—
Reply to this email directly, view it on GitHub
https://github.com/nwilging/laravel-discord-bot/issues/4#issuecomment-1421466962,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI46HH4BDXMLAY2WSL22R2DWWK4A3ANCNFSM6AAAAAAUIGSWWY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Atenciosamente,
Rômulo Sousa. (24) 99200-3005 (Whatsapp)

This is fully supported in 1.0.0. See readme for additional information


support storage light subscribe

Resolve #477
Change

add subscribe API for light storage node
support keep subscription

PR-Codex overview
This PR adds a new version of the store_sdk module, adds a new Subscribe RPC to the StorageNode service, and implements a subscription mechanism in the StorageNodeV2Impl struct.
Detailed summary

Adds store_sdk_v2 module to SDK
Adds Subscribe RPC to StorageNode service
Implements subscription mechanism in StorageNodeV2Impl struct
Adds Subscription, EventType, BlockEvent, EventMessage protobuf messages to db3_storage_proto
Implements block event broadcasting in StorageNodeV2Impl struct

The following files were skipped due to too many changes: src/node/src/storage_node_light_impl.rs

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@db3.network🚀🚀🚀
2023-06-12T03:14:30.314968Z  INFO db3_storage::mutation_store: open mutation store with path ./mutation_db
2023-06-12T03:14:30.352161Z  INFO db3_storage::state_store: open state store with path ./state_db done
2023-06-12T03:14:30.352208Z  INFO db3_storage::db_store_v2: open db store with path ./doc_db
2023-06-12T03:14:30.427543Z  INFO db3_node::command: start db3 store node on public addr <IP_ADDRESS>:26619 and network 10
2023-06-12T03:14:30.427986Z  INFO db3_node::storage_node_light_impl: start to keep subscription
2023-06-12T03:14:30.428184Z  INFO db3_node::storage_node_light_impl: listen to subscription update event and event message broadcaster
2023-06-12T03:14:30.428189Z  INFO db3_node::storage_node_light_impl: start the block producer thread
2023-06-12T03:14:30.428202Z  INFO db3_node::storage_node_light_impl: start the rollup thread
2023-06-12T03:14:30.428237Z  INFO db3_node::storage_node_light_impl: keep subscription loop
2023-06-12T03:14:30.428375Z  INFO db3_node::storage_node_light_impl: wait select ...
2023-06-12T03:14:30.445039Z  INFO db3_node::rollup_executor: start rollup executor with ar account 2FqRYpb7tnjGBkXj9F_ChIZHUWoWhj6-BYMsg0TdsEg
2023-06-12T03:14:32.430933Z  INFO db3_node::storage_node_light_impl: produce block 0
2023-06-12T03:14:32.431074Z  INFO db3_node::storage_node_light_impl: broadcast block event 0, 0
2023-06-12T03:14:34.434408Z  INFO db3_node::storage_node_light_impl: produce block 1
2023-06-12T03:14:34.434451Z  INFO db3_node::storage_node_light_impl: broadcast block event 1, 0
2023-06-12T03:14:36.435546Z  INFO db3_node::storage_node_light_impl: produce block 2
2023-06-12T03:14:36.435651Z  INFO db3_node::storage_node_light_impl: broadcast block event 2, 0
2023-06-12T03:14:38.438115Z  INFO db3_node::storage_node_light_impl: produce block 3
2023-06-12T03:14:38.438213Z  INFO db3_node::storage_node_light_impl: broadcast block event 3, 0
2023-06-12T03:14:40.442697Z  INFO db3_node::storage_node_light_impl: produce block 4
2023-06-12T03:14:40.442742Z  INFO db3_node::storage_node_light_impl: broadcast block event 4, 0
2023-06-12T03:14:42.445127Z  INFO db3_node::storage_node_light_impl: produce block 5
2023-06-12T03:14:42.445182Z  INFO db3_node::storage_node_light_impl: broadcast block event 5, 0
2023-06-12T03:14:44.449202Z  INFO db3_node::storage_node_light_impl: produce block 6
2023-06-12T03:14:44.449252Z  INFO db3_node::storage_node_light_impl: broadcast block event 6, 0
2023-06-12T03:14:46.449426Z  INFO db3_node::storage_node_light_impl: produce block 7
2023-06-12T03:14:46.449481Z  INFO db3_node::storage_node_light_impl: broadcast block event 7, 0
2023-06-12T03:14:48.450847Z  INFO db3_node::storage_node_light_impl: produce block 8
2023-06-12T03:14:48.450901Z  INFO db3_node::storage_node_light_impl: broadcast block event 8, 0
2023-06-12T03:14:50.452326Z  INFO db3_node::storage_node_light_impl: produce block 9
2023-06-12T03:14:50.452376Z  INFO db3_node::storage_node_light_impl: broadcast block event 9, 0
2023-06-12T03:14:52.453041Z  INFO db3_node::storage_node_light_impl: produce block 10
2023-06-12T03:14:52.453100Z  INFO db3_node::storage_node_light_impl: broadcast block event 10, 0
2023-06-12T03:14:54.453492Z  INFO db3_node::storage_node_light_impl: produce block 11
2023-06-12T03:14:54.581891Z  INFO db3_node::storage_node_light_impl: broadcast block event 11, 0
2023-06-12T03:14:56.585494Z  INFO db3_node::storage_node_light_impl: produce block 12
2023-06-12T03:14:56.585581Z  INFO db3_node::storage_node_light_impl: broadcast block event 12, 0
2023-06-12T03:14:58.589841Z  INFO db3_node::storage_node_light_impl: produce block 13
2023-06-12T03:14:58.589880Z  INFO db3_node::storage_node_light_impl: broadcast block event 13, 0
2023-06-12T03:15:00.593006Z  INFO db3_node::storage_node_light_impl: produce block 14
2023-06-12T03:15:00.593048Z  INFO db3_node::storage_node_light_impl: broadcast block event 14, 0
2023-06-12T03:15:02.594297Z  INFO db3_node::storage_node_light_impl: produce block 15
2023-06-12T03:15:02.594397Z  INFO db3_node::storage_node_light_impl: broadcast block event 15, 0
2023-06-12T03:15:04.598453Z  INFO db3_node::storage_node_light_impl: produce block 16
2023-06-12T03:15:04.598577Z  INFO db3_node::storage_node_light_impl: broadcast block event 16, 0
2023-06-12T03:15:06.602410Z  INFO db3_node::storage_node_light_impl: produce block 17
2023-06-12T03:15:06.602452Z  INFO db3_node::storage_node_light_impl: broadcast block event 17, 0
2023-06-12T03:15:08.606266Z  INFO db3_node::storage_node_light_impl: produce block 18
2023-06-12T03:15:08.606315Z  INFO db3_node::storage_node_light_impl: broadcast block event 18, 0
2023-06-12T03:15:10.610050Z  INFO db3_node::storage_node_light_impl: produce block 19
2023-06-12T03:15:10.610172Z  INFO db3_node::storage_node_light_impl: broadcast block event 19, 0
2023-06-12T03:15:12.610271Z  INFO db3_node::storage_node_light_impl: produce block 20
2023-06-12T03:15:12.610319Z  INFO db3_node::storage_node_light_impl: broadcast block event 20, 0
2023-06-12T03:15:13.207264Z  INFO db3_node::storage_node_light_impl: receive subscribe request
2023-06-12T03:15:13.207378Z  INFO db3_node::storage_node_light_impl: sender is close: false
2023-06-12T03:15:13.208748Z  INFO db3_node::storage_node_light_impl: add subscriber for addr 0xc18e1cdf8ffa6ffa25cdf080d313e739870c9d10
2023-06-12T03:15:13.208786Z  INFO db3_node::storage_node_light_impl: payload Subscription { topics: [Block] }
2023-06-12T03:15:13.208819Z  INFO db3_node::storage_node_light_impl: sender Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7faff9020400, tail_position: 0 }, semaphore: Semaphore { semaphore: Semaphore { permits: 1024 }, bound: 1024 }, rx_waker: AtomicWaker, tx_count: 2, rx_fields: "..." } } }
2023-06-12T03:15:14.614016Z  INFO db3_node::storage_node_light_impl: produce block 21
2023-06-12T03:15:14.614156Z  INFO db3_node::storage_node_light_impl: broadcast block event 21, 0
2023-06-12T03:15:16.617362Z  INFO db3_node::storage_node_light_impl: produce block 22
2023-06-12T03:15:16.617420Z  INFO db3_node::storage_node_light_impl: broadcast block event 22, 0
2023-06-12T03:15:18.619507Z  INFO db3_node::storage_node_light_impl: produce block 23
2023-06-12T03:15:18.619585Z  INFO db3_node::storage_node_light_impl: broadcast block event 23, 0
2023-06-12T03:15:20.622495Z  INFO db3_node::storage_node_light_impl: produce block 24
2023-06-12T03:15:20.622547Z  INFO db3_node::storage_node_light_impl: broadcast block event 24, 0
2023-06-12T03:15:22.626920Z  INFO db3_node::storage_node_light_impl: produce block 25
2023-06-12T03:15:22.627028Z  INFO db3_node::storage_node_light_impl: broadcast block event 25, 0
2023-06-12T03:15:24.631008Z  INFO db3_node::storage_node_light_impl: produce block 26
2023-06-12T03:15:24.631063Z  INFO db3_node::storage_node_light_impl: broadcast block event 26, 0
2023-06-12T03:15:26.632933Z  INFO db3_node::storage_node_light_impl: produce block 27
2023-06-12T03:15:26.632987Z  INFO db3_node::storage_node_light_impl: broadcast block event 27, 0
2023-06-12T03:15:28.636464Z  INFO db3_node::storage_node_light_impl: produce block 28
2023-06-12T03:15:28.636512Z  INFO db3_node::storage_node_light_impl: broadcast block event 28, 0
2023-06-12T03:15:30.450793Z  INFO db3_node::rollup_executor: the next rollup start block 0 and the newest block 29
2023-06-12T03:15:30.450891Z  INFO db3_node::rollup_executor: no block to rollup
2023-06-12T03:15:30.641605Z  INFO db3_node::storage_node_light_impl: produce block 29
2023-06-12T03:15:30.641661Z  INFO db3_node::storage_node_light_impl: broadcast block event 29, 0
2023-06-12T03:15:32.645697Z  INFO db3_node::storage_node_light_impl: produce block 30
2023-06-12T03:15:32.645754Z  INFO db3_node::storage_node_light_impl: broadcast block event 30, 0
2023-06-12T03:15:34.650135Z  INFO db3_node::storage_node_light_impl: produce block 31
2023-06-12T03:15:34.650197Z  INFO db3_node::storage_node_light_impl: broadcast block event 31, 0
2023-06-12T03:15:36.653014Z  INFO db3_node::storage_node_light_impl: produce block 32
2023-06-12T03:15:36.653065Z  INFO db3_node::storage_node_light_impl: broadcast block event 32, 0
2023-06-12T03:15:38.654711Z  INFO db3_node::storage_node_light_impl: produce block 33
2023-06-12T03:15:38.654768Z  INFO db3_node::storage_node_light_impl: broadcast block event 33, 0

Codecov Report

Merging #478 (279ac4a) into main (6ce329b) will decrease coverage by 0.45%.
The diff coverage is 30.00%.

:exclamation: Current head 279ac4a differs from pull request most recent head 79720d3. Consider uploading reports for the commit 79720d3 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #478      +/-   ##
==========================================
- Coverage   67.41%   66.96%   -0.45%
==========================================
  Files          55       56       +1
  Lines       11507    11655     +148
==========================================
+ Hits         7757     7805      +48
- Misses       3750     3850     +100

Flag
Coverage Δ

rust
66.96% <30.00%> (-0.45%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/node/src/command.rs
42.15% <0.00%> (-0.49%)
:arrow_down:

src/node/src/storage_node_light_impl.rs
0.00% <0.00%> (ø)

src/storage/src/mutation_store.rs
79.15% <0.00%> (-0.19%)
:arrow_down:

src/sdk/src/store_sdk_v2.rs
100.00% <100.00%> (ø)

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


Add shfmt to CI

CI should automatically check codestyle using shfmt.
The exact command is already in the Makefile on the ci-builds branch: https://github.com/particleflux/bitbutler/blob/790eead70788565af8001b2136f76773c746146e/Makefile#L30-L31

Fixed in 679d5c5f28f7c21d8dfca9351552db5896876893


changing serverUrl not working

when adding a serverurl it doesnot override the default one any help
??

Can you please share the code that you are using to change the server url?


Add CRD installation to modules

@bittrance we will have to pause this PR for a while as I found a bug in the Helm Terraform Provider. I have submitted PR hashicorp/terraform-provider-helm/pull/795 that fixes these issues. We will have to wait for it to be merged and released before progressing with this PR, as it would cause more harm than good before that.

I guess we can close this PR and instead look at: https://github.com/XenitAB/terraform-modules/pull/664


changed process graph to accomodate pthreads

Changes Made:

For every cloneOp Op with the pthread_id same as task_id of cloneOp is found and an edge is created from CloneOp to the found op
For every waitOp last op with the pthread_id same as ret is found and an edge is created with the last op to waitOp

@charmoniumQ  should I add support for TASK_ISO_C_THREAD threads using the same logic?

@charmoniumQ should I add support for TASK_ISO_C_THREAD threads using the same logic?

Yes, please do


[labs/virtualizer] Disable scrolling tests until issue with latest chromedriver is fixed.

Something in the repo has changed which is breaking the scrolling tests.  Assuming it is chromedriver update, but either way, these don't work and we need to disable them until we fix the issue so we can continue to run our tests.

@augustjk that's a fine idea.  Force pushing that change.


[BUG] Flaky integ test testBooleanQuery_withNeuralAndBM25Queries, testBasicQuery

What is the bug?
Flaky integ test
How can one reproduce the bug?
In github CI for the plugin you can see that tests for windows are not stable and failing at random.
Example of such failed run:
https://github.com/opensearch-project/neural-search/actions/runs/6397635644/job/17366751285?pr=359
Tests with failures:
 - org.opensearch.neuralsearch.query.NeuralQueryIT.testBooleanQuery_withNeuralAndBM25Queries
 - org.opensearch.neuralsearch.query.NeuralQueryIT.testBasicQuery

=== Standard output of node `node{::integTest-0}` ===
�    ? errors and warnings from D:\a\neural-search\neural-search\build\testclusters\integTest-0\logs\opensearch.stdout.log ?
� WARN ][o.o.g.DanglingIndicesState] [integTest-0] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
� WARN ][o.o.d.FileBasedSeedHostsProvider] [integTest-0] expected, but did not find, a dynamic hosts list at [D:\a\neural-search\neural-search\build\testclusters\integTest-0\config\unicast_hosts.txt]
� WARN ][r.suppressed             ] [integTest-0] path: /_plugins/_ml/models/3XAr94oB_1pNJlKRXFYm, params: {model_id=3XAr94oB_1pNJlKRXFYm}
�  java.lang.Exception: Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete
�  	at org.opensearch.ml.action.models.DeleteModelTransportAction.lambda$doExecute$2(DeleteModelTransportAction.java:128) [opensearch-ml-<IP_ADDRESS>-SNAPSHOT.jar:<IP_ADDRESS>-SNAPSHOT]
�  	at org.opensearch.core.action.ActionListener$1.onResponse(ActionListener.java:82) [opensearch-core-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.ml.helper.ModelAccessControlHelper.validateModelGroupAccess(ModelAccessControlHelper.java:79) [opensearch-ml-<IP_ADDRESS>-SNAPSHOT.jar:<IP_ADDRESS>-SNAPSHOT]
�  	at org.opensearch.ml.action.models.DeleteModelTransportAction.lambda$doExecute$4(DeleteModelTransportAction.java:114) [opensearch-ml-<IP_ADDRESS>-SNAPSHOT.jar:<IP_ADDRESS>-SNAPSHOT]
�  	at org.opensearch.core.action.ActionListener$1.onResponse(ActionListener.java:82) [opensearch-core-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.action.support.TransportAction$1.onResponse(TransportAction.java:113) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.action.support.TransportAction$1.onResponse(TransportAction.java:107) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleResponse(TransportSingleShardAction.java:298) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleResponse(TransportSingleShardAction.java:284) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.transport.TransportService$ContextRestoreResponseHandler.handleResponse(TransportService.java:1516) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.transport.TransportService$DirectResponseChannel.processResponse(TransportService.java:1599) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1579) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:71) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.action.support.ChannelActionListener.onResponse(ChannelActionListener.java:62) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.action.support.ChannelActionListener.onResponse(ChannelActionListener.java:45) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.action.ActionRunnable.lambda$supply$0(ActionRunnable.java:74) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.action.ActionRunnable$2.doRun(ActionRunnable.java:89) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:908) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52) [opensearch-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
�  	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
�  	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
�  	at java.lang.Thread.run(Thread.java:829) [?:?]
�   ? last 40 non error or warning messages from D:\a\neural-search\neural-search\build\testclusters\integTest-0\logs\opensearch.stdout.log ?

What is the expected behavior?
Test results are stable
Do you have any additional context?
Tests on linux are much more stable, there was a recent PR that fixes some flaky tests, maybe some params can be tweaked there

@heemin32 this can be problem for 2.11 release can we fix it?

I ran into the same issue when trying to run ./gradlew build on the latest commit, raised a PR to fix it: #487

@tanqiuliu are you still working on the PR? we have to fix this flaky tests for 2.12. Please respond if you are still working on the PR.

Hey @tanqiuliu
I don’t think the PR which you raised will fix the issue. The reason being
In every integ test case
@before calls prepare model which loads the model Id in the cluster
And
@after finds the deployed models and deletes it.
The problem is we are not deleting a specific model Id.
Consider a scenario
Thread 1                                                                                Thread 2
Running HybridQueryIT                                                                        Running NeuralQueryIT
At T+1 time the execution starts                                                  At T+9 time the execution starts
prepareModel                                                                               prepareModel is called.                                                                Then it will create a model Id with DEPLOYING State
At T+5
Run test
T+10 time it tries to delete the model Id
Delete Model
Therefore at T+10 time it will throw the error mentioned in the description of issue.
�  java.lang.Exception: Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete
There are 2 major errors we face
1.) https://github.com/opensearch-project/neural-search/blob/91a1202714bbeb58412cb19c069f189c2d6ca3fe/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java#L788
We get 2 model id some times and the CI check fails.

The second issue is mentioned above where we try deleting the model in deploying state.

Now what your solution is doing is just extending the time for an individual execution by adding a wait time in the load model.
However, the above scenario can still come.
Therefore, I would present a solution
Where we can declare a variable at the top in the class and store the model Id in that when prepare model is executed.
Then in @After instead of finding all deployed Models and deleting them we will delete the specific model id generated before running the test,
The same has been done in BWC tests and we didn’t face any issues.
The core issue of these flaky tests is Integ tests execution in multithreaded environement.
Open for your suggestions.

Hey @tanqiuliu
I don’t think the PR which you raised will fix the issue. The reason being
In every integ test case @before calls prepare model which loads the model Id in the cluster
And @after finds the deployed models and deletes it.
The problem is we are not deleting a specific model Id.
Consider a scenario
Thread 1 Thread 2
Running HybridQueryIT Running NeuralQueryIT
At T+1 time the execution starts At T+9 time the execution starts
prepareModel prepareModel is called. Then it will create a model Id with DEPLOYING State
At T+5 Run test
T+10 time it tries to delete the model Id Delete Model
Therefore at T+10 time it will throw the error mentioned in the description of issue. � java.lang.Exception: Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete
There are 2 major errors we face 1.)
https://github.com/opensearch-project/neural-search/blob/91a1202714bbeb58412cb19c069f189c2d6ca3fe/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java#L788
We get 2 model id some times and the CI check fails.

The second issue is mentioned above where we try deleting the model in deploying state.

Now what your solution is doing is just extending the time for an individual execution by adding a wait time in the load model. However, the above scenario can still come.
Therefore, I would present a solution
Where we can declare a variable at the top in the class and store the model Id in that when prepare model is executed.
Then in @after instead of finding all deployed Models and deleting them we will delete the specific model id generated before running the test,
The same has been done in BWC tests and we didn’t face any issues.
The core issue of these flaky tests is Integ tests execution in multithreaded environement.
Open for your suggestions.

+1 on this. We should do this rather than waiting for model to be deployed and deleted.

last time I was checking flaky tests that approach faced a major issue - model were redeployed in background with a different model id, so storing model id did not give any benefit. I traced it to a feature in ml-commons https://github.com/opensearch-project/ml-commons/pull/852. I'm not sure how the feature works nowadays, seems there were some changes to default behavior - https://github.com/opensearch-project/ml-commons/pull/1808.
We can spend some time on checking if same concern is still valid.

The redeploy happen if the cluster died/node restarted before the model is deleted. Hence you would be seeing those issues.

Bug is resolved now


Renamed SslPort to TlsPort

The property SslPort in the class MvcOptions has a legacy name.
SSL is no longer used as it has been superseded by TLS.
Fixes issue #5285

Hi @vanillajonathan, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@vanillajonathan, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Per https://github.com/aspnet/Mvc/issues/5285#issuecomment-247383355, closing this.


What is the relation of tensor2tensor version and tensorflow version?

How to know the corresponding tensorflow version for each tensor2tensor version?
Thank you!

tensor2tensor 1.15.2 is the largest version for tensorflow1


Creating an affiliation shows pre-filled information

Describe the bug
When selecting an existing affiliation and then create a new one, the form shows pre-filled content from the previous selected affiliation.
To Reproduce
Steps to reproduce the behavior:

Create a new offer
Create a new customer
Select an affiliation
Create a new affiliation

Expected behavior
The form for creating a new affiliation shows empty fields.

 Fix issue #221 (Creating an affiliation shows pre-filled information)

 Fix issue #221 (Creating an affiliation shows pre-filled information)


Google OAuth package not compatible with 3rd party libraries

Not sure about where the issue should be placed. So feel free to point me to another place.
I've developed single-page application using AngularJS. I've included satillizer to use as client-side login provider. Also I've added Microsoft.AspNet.Authentication.Google to web application. I've specified Microsoft.AspNet.Authentication.Google callback path in satellizer.
Errors occur on calling callback. Error in logs: "The oauth state was missing or invalid.". "state" is referring to AuthenticationProperties object, that sends from the app to auth endpoint and back.
As I understand Microsoft.AspNet.Authentication.Google is integrated only with AspNet.Authentication stuff and can't be used in other scenarios, except specified.

Those packages are built for an interactive flow. For SPA apps you should be using something like Bearer to authenticate with the server after doing a client side login.


Add Union/UnionAll support

I've found myself needing first-class support recently for a lot of more advanced SQL features, such that parameters are used correctly, and finding neither Prefix nor Suffix really work for what I'm doing. This is the first of a handful of small PRs adding support for some of these features.
This one adds Union and UnionAll support. It adds the target query to a new internal storage part, combiningParts, which could also be used in the future to support INTERSECT or EXCEPT combining clauses.

@mattly why did you end up closing this?


Failed core_memory_append and core_memory_replace calls

The core_memory_append and core_memory_replace function calls seem to fail for me because object of type 'LocalArchivalMemory' has no len()
function_call": {"name": "core_memory_append", "arguments": "{\n  \"name\": \"human\",\n  \"content\": \"name: alex\",\n  \"request_heartbeat\": true\n}"}},
{"role": "function", "name": "core_memory_append", "content": "{\"status\": \"Failed\", \"message\": \"Error calling function core_memory_append with args {'name': 'human', 'content': 'name: alex'}: object of type 'LocalArchivalMemory' has no len()\",
\"time\": \"2023-10-31 08:42:22 PM PDT-0700\"}"}, {"role": "user", "content": "{\"type\": \"heartbeat\", \"reason\": \"Function call failed\", \"time\": \"2023-10-31 08:42:22 PM PDT-0700\"}"}

function_call": {"name": "core_memory_replace", "arguments": "{\n  \"name\": \"persona\",\n  \"old_content\": \"sam_pov\",\n  \"new_content\": \"alice_pov\",\n  \"request_heartbeat\": true\n}"}},
{"role": "function", "name": "core_memory_replace", "content": "{\"status\": \"Failed\", \"message\": \"Error calling function core_memory_replace with args {'name': 'persona', 'old_content': 'sam_pov', 'new_content': 'alice_pov'}: object of type 'LocalArchivalMemory' has no len()\",
 \"time\": \"2023-10-31 09:04:36 PM PDT-0700\"}"}, {"role": "user", "content": "{\"type\": \"heartbeat\", \"reason\": \"Function call failed\", \"time\": \"2023-10-31 09:04:36 PM PDT-0700\"}"}

Can you share the version of MemGPT you're using and the command you ran?

Should be the latest version, installed with the command python3 -m pip install pymemgpt about 3 hr ago.
Python version is 3.11
The command I used to run is just memgpt run

Would you be able to post a screenshot of what commands you put into mempt run? Or do you see this immediately after running memgpt run?
Also, could you share whats in your ~/.memgpt/config file (with any keys/private information removed)?

Here you go

The error messages were found in the corresponding agent_state folder after /save
[defaults]
model = gpt-4
preset = memgpt_chat
model_endpoint = openai
persona = sam_pov
human = basic

[openai]
key = ***

[embedding]
model = openai
dim = 768
chunk_size = 300

[client]
anon_clientid =<PHONE_NUMBER>0000000000fc448240b8fb

@sarahwooders this bug is happening because len() needs to be implemented for all memory classes (it should have been part of the abstract class).
See #236