VictoryPie Labels display as "undefined"

Bugs and Questions
Checklist

[ ] This is a victory-native specific issue. (Issues that also appear in victory should be opened here)

[ ] I have read through the FAQ and Guides before asking a question

[ ] I am using the latest version of victory-native

[ ] I have checked to make sure that my versions of react-native and react-native-svg are compatible with this version of victory-native. Read about version requirements

[x] I've searched open issues to make sure I'm not opening a duplicate issue

The Problem
Describe the issue you're seeing, and what you expect the behavior to be.
Reproduction
Please check that your issue is specific to victory-native. If you're unsure, a good way to check is by trying your code in a sandbox. You can fork this sandbox to get started. Issues that are not specific to victory-native should be reported here.
Please list steps to reproduce your issue. Include a code sample and exact version numbers for victory-native, react-native and react-native-svg.
Feature Requests
Checklist

[ ] My feature request is specific to victory-native. (Feature requests that do not specifically address native functionality should be opened here)

[ ] I've read through the Docs and Guides to make sure this functionality doesn't already exist

[ ] I've searched open issues to make sure I'm not opening a duplicate issue

Description
Please describe the feature you're requesting in detail.
I have a victory pie:
<VictoryPie
     colorScale="blue"
     standalone={false}
    width={800}
    height={400}
    data={pieChartData}
    labels={(d) => `${d.y}%`}
    style={{ parent: { maxWidth: '50%' } }}
 />

pieChartData consists of pieSlices:
let pieSlice = {
   x: name,
   y: value,
};
pieArray = pieArray.concat(pieSlice);

I want to display the y values as the labels in my victory pie. I make my last adjustment to these values in a function, computePiePercentages.
    computePiePercentages() {
        var denominator = 1600;

        if (this.state.total < 1600) {
            denominator = this.state.total;
        }

        this.setState({
            showResults: true,
            pieChartData: this.state.pieChartData.map(item => ({
                ...item,
                y: Number((item.y / denominator).toFixed(2)) * 100,
            })),

        });

    }

I print my pieChartData inside render(){ return( .... and the y values are correct. However, they display as "undefined" in the victory pie.
This is my full code:
import React from 'react';
import styled from '@emotion/styled';
import { VictoryLegend, VictoryPie } from 'victory';

const data = {
    questions: [
        {
            id: 'q0',
            accessor: 'Student Loan Payment',
            text:
                'How much money should Leif put towards student loans each month?',
            values: [
                {
                    ansInt: 200,
                    ansText:
                        'This is under the minimum payment and will decrease Leif’s credit score. However, this may be necessary and completely valid, especially if Leif is choosing to put this money towards an emergency fund instead.',
                },
                {
                    ansInt: 400,
                    ansText:
                        'This is the minimum payment. This will maintain Leif’s relationship with the student loan servicer, and make sure that their credit score doesn’t decrease.',
                },
                { ansInt: 500, ansText: 'the minimum payment plus $100 more' },
            ],
        },
        {
            id: 'q1',
            accessor: 'Emergency Fund',
            text: 'How much money should Leif put towards an emergency fund?',
            values: [
                {
                    ansInt: 0,
                    ansText:
                        'Leif has other priorities at the moment, and will wait to contribute to an emergency fund',
                },
                {
                    ansInt: 200,
                    ansText:
                        'It will take longer for Leif to reach an emergency fund goal, but it’s a more manageable amount of money each month.',
                },
                {
                    ansInt: 1000,
                    ansText:
                        'This may seem like a lot, but can quickly propel Leif to reach an emergency fund goal in a smaller amount of months. Leif may have to consider cutting out a large portion of discretionary spending as a result.',
                },
            ],
        },
        {
            id: 'q2',
            accessor: '401k',
            text: 'How much money should Leif put towards their 401(k)?',
            values: [
                {
                    ansInt: 0,
                    ansText:
                        'This is 0% of their discretionary income. Perhaps Leif wants to prioritize an emergency fund, student loans, or other financial goals before saving for retirement.',
                },
                {
                    ansInt: 70,
                    ansText:
                        'This is 2% of their discretionary income. Leif wants to begin the nest egg for retirement, but has other financial goals as a higher priority.',
                },
                {
                    ansInt: 350,
                    ansText:
                        'This is 10% of their discretionary income. This amount is a good rule of thumb for long-term retirement plans',
                },
            ],
        },
        {
            id: 'q3',
            accessor: 'ESPP',
            text: 'How much money should Leif put towards their ESPP?',
            values: [
                {
                    ansInt: 0,
                    ansText:
                        'This is 0% of their discretionary income. Leif wants to focus on other financial goals (such as student loans or emergency funds) before investing in employee stock.',
                },
                {
                    ansInt: 175,
                    ansText:
                        'This is 5% of their discretionary income. This seems like a manageable amount. Leif is ready to take the risk of the stock increasing or decreasing after the stock is bought.',
                },
                {
                    ansInt: 525,
                    ansText:
                        'This is 15% of their discretionary income. This is the maximum amount that MongoDB will allow Leif to put towards the ESPP each month. Leif understands that this is risky, because the stock could change at any given moment after the company puts the money into actually buying the stock. ',
                },
            ],
        },
        {
            id: 'q4',
            accessor: 'Eating Out',
            text: 'How much money should Leif put towards eating out?',
            values: [
                {
                    ansInt: 0,
                    ansText:
                        'Leif is happy with buying groceries and cooking. That saved money will instead go towards other financial goals.',
                },
                {
                    ansInt: 100,
                    ansText:
                        'Eating out or grabbing drinks with friends is something that Leif enjoys a couple of times a month. It wouldn’t feel sustainable to Leif to cut everything out.',
                },
                {
                    ansInt: 200,
                    ansText:
                        'Leif is somebody who relies on eating out a lot, because their hours don’t allow them a lot of time to shop and make meals.',
                },
            ],
        },
        {
            id: 'q5',
            accessor: 'Streaming Services',
            text: 'How much money should Leif put towards streaming services?',
            values: [
                {
                    ansInt: 0,
                    ansText:
                        'Maybe Leif doesn’t like TV, or maybe Leif has friends and family that like to share their accounts.',
                },
                {
                    ansInt: 20,
                    ansText:
                        'for Hulu and Netflix. Leif likes to watch TV, but isn’t picky about what they watch.',
                },
                {
                    ansInt: 50,
                    ansText: 'for a deluxe cable package. Its not TV. Its HBO',
                },
            ],
        },
        {
            id: 'q6',
            accessor: 'Live Entertainment',
            text: 'How much money should Leif put towards live entertainment?',
            values: [
                {
                    ansInt: 0,
                    ansText:
                        'Seeing live entertainment isn’t a priority for Leif.',
                },
                {
                    ansInt: 10,
                    ansText:
                        'Leif enjoys open mic nights, and those are usually cheaper.',
                },
                {
                    ansInt: 75,
                    ansText:
                        'Leif is an avid music fan that loves seeing bands in person.',
                },
            ],
        },
        {
            id: 'q7',
            accessor: 'Gifts',
            text: 'How much money should Leif put towards holidays and gifts?',
            values: [
                {
                    ansInt: 0,
                    ansText:
                        'Maybe Leif will pick up some extra income by dog walking when it comes closer to that special holiday.',
                },
                {
                    ansInt: 10,
                    ansText:
                        'Leif likes to think about these things in advance.',
                },
                {
                    ansInt: 25,
                    ansText:
                        'Leif has a large friend group and someone is always having a birthday!',
                },
            ],
        },
        {
            id: 'q8',
            accessor: 'Vacation',
            text:
                'How much money should Leif put towards traveling somewhere on vacation?',
            values: [
                { ansInt: 0, ansText: 'Staycation, all I ever wanted' },
                {
                    ansInt: 10,
                    ansText:
                        ' Leif may want to go to Greece or Japan some day, but isn’t in a rush.',
                },
                { ansInt: 500, ansText: 'Travel means the world to Leif!' },
            ],
        },
    ],
    selectedQuestions: {},
};

const Options = ({ question, questionIndex, state, handler }) => {
    const {
        data: { selectedQuestions },
    } = state;
    return question.values.map(val => {
        let checked = selectedQuestions[question.accessor];
        const id = `${question.id}_${questionIndex}`;
        if (checked) {
            checked = checked[id] === val.ansInt;
        }
        return (

                <Input
                    id={id}
                    type="radio"
                    name={question.accessor}
                    value={val.ansInt}
                    onChange={handler}
                    checked={checked}
                    hidden={val.visibility}
                />

{val.ansInt}

{val.ansText}

        );
    });
};

const BrokeBudget = ({ beyondBudget }) =>
    Object.keys(beyondBudget).map((budgetItem, itemIndex) => {
        const id = `${budgetItem.id}_${itemIndex}`;
        return (

                {budgetItem}
                {beyondBudget[budgetItem]}

        );
    });

class Budget extends React.Component {
    state = {
        data,
        pieChartData: [],
        beyondBudget: {},
        showResults: false,
        total: 0,
        pieLegend: [],
    };

    constructor(props) {
        super(props);
        this.state = {
            data,
            pieChartData: [],
            beyondBudget: {},
            showResults: false,
            total: 0,
            pieLegend: [],
        };

        this.computePiePercentages = this.computePiePercentages.bind(this);
        this.computeTotals = this.computeTotals.bind(this);
    }

    computePiePercentages() {
        var denominator = 1600;

        if (this.state.total < 1600) {
            denominator = this.state.total;
        }

        this.setState({
            showResults: true,
            pieChartData: this.state.pieChartData.map(item => ({
                ...item,
                y: Number((item.y / denominator).toFixed(2)) * 100,
            })),

        });

    }

    computeTotals() {
        var runningTotal = 0;
        var pieArray = [];
        var beyondBudget = {};

        //filter out all $0 answers
        Object.keys(this.state.data.selectedQuestions)
            .filter(
                key =>
                    Object.values(this.state.data.selectedQuestions[key])[0] !==
                    0
            )
            .forEach(key => {
                const value = Object.values(
                    this.state.data.selectedQuestions[key]
                )[0];
                const name = key;
                runningTotal += value;

                //still not gone beyond budget, add to pie chart
                if (runningTotal <= 1600) {
                    let pieSlice = {
                        x: name,
                        y: value,
                    };
                    pieArray = pieArray.concat(pieSlice);
                }
                //went beyond budget, add to beyondbudget table data
                else {
                    if (Object.keys(beyondBudget).length === 0) {
                        beyondBudget[name] = {};
                        beyondBudget[name] = runningTotal - 1600;
                        let pieSlice = {
                            x: name,
                            y: value - beyondBudget[name],
                        };
                        pieArray = pieArray.concat(pieSlice);
                    }
                    if (!beyondBudget[name]) {
                        beyondBudget[name] = {};
                    }
                    if (Object.keys(beyondBudget).length > 1) {
                        beyondBudget[name] = value;
                    }
                }
            });

        this.setState(
            {
                pieChartData: pieArray,
                total: runningTotal,
                beyondBudget: beyondBudget,
                pieLegend: pieArray.map(a => ({ name: a.x })),
            },
            () => {
                this.computePiePercentages();
            }
        );
    }

    handleInputChange = event => {
        let { value, id, name } = event.target;
        value = parseInt(value, 10);

        const selectedQuestions = Object.assign(
            {},
            this.state.data.selectedQuestions
        );

        if (!selectedQuestions[name]) {
            selectedQuestions[name] = {};
        }

        selectedQuestions[name][id] = value;
        this.setState({
            data: {
                ...this.state.data,
                selectedQuestions,
            },
            total: this.state.total + value,
        });
    };

    render() {
        const { data, pieChartData, beyondBudget, pieLegend } = this.state;
        const questions = data.questions;
        return (

                {questions.map((question, index) => (

{question.text}

                            <Options
                                state={this.state}
                                question={question}
                                questionIndex={index}
                                handler={this.handleInputChange}
                            />

                ))}

                <Button
                    disabled={
                        Object.keys(this.state.data.selectedQuestions)
                            .length !== 9
                    }
                    onClick={this.computeTotals}
                >
                    Submit
                </Button>
                {console.log({pieChartData})}
                {this.state.showResults && (

                        <svg width={1000} height={1000}>
                            <VictoryLegend
                                standalone={false}
                                colorScale="blue"
                                legendWidth={50}
                                x={20}
                                y={40}
                                gutter={20}
                                title="Legend"
                                centerTitle
                                style={{ border: { stroke: 'black' } }}
                                data={pieLegend}
                            />
                            <VictoryPie
                                colorScale="blue"
                                standalone={false}
                                width={800}
                                height={400}
                                data={pieChartData}
                                labels={(d) => `${d.y}%`}
                                style={{ parent: { maxWidth: '50%' } }}
                            />
                        </svg>
                        {Object.keys(beyondBudget).length > 0 && (

                                            Out of Budget

                                        <BrokeBudget
                                            beyondBudget={beyondBudget}
                                        />

                        )}

                )}

        );
    }
}

const UL = styled.ul`
    list-style-type: none;
`;
const Label = styled.label`
    display: flex;
    align-items: center;
`;
const Input = styled.input`
    display: flex;
    align-items: center;
`;
const H4 = styled.h4`
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    align-items: center;
`;
const P = styled.p`
    width: 700px;
    font-weight: normal;
    display: flex;
    align-items: center;
`;
const Button = styled.button`
    margin-left: 20px;
`;
const Table = styled.table`
    width: 20%;
`;
export default Budget;

Not related to victory native


Improve screen reader announcement for daysHeader

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

Summary 💡
To improve the user experience for screen reader users, I'm looking to hide the daysHeader section with aria-hidden=true but have not been able to find a way to do so.

Therefore I propose some way of accessing/customizing the daysHeader subcomponent, or possibly setting aria-hidden=true by default.
Examples 🌈
N/A
Motivation 🔦
The shortened weekday headers in daysHeader are presented as multiple text elements to screen readers, and are read as "Mo" "Tu" "We" "Th" "Fr" "Sa" "Su".
This does not provide much context if you cannot see the columns. Rather it creates a UX problem for screen reader users since it's tedious to navigate though seven non-meaningful text elements before getting to the calendar contents.
For non-sighted users, I believe information about weekdays is best communicated in the aria-label for each dayButton. This can already be achieved with the renderDay prop, so no change is needed there.

I think it was fixed in v4. Check https://next.material-ui-pickers.dev/demo/datepicker

@dmtrKovalenko
Yes it is. Excellent! Thanks for the quick response!


Bindless not detected when using HLSL

I think this is maybe not sufficient for detecting bindless: https://github.com/attackgoat/screen-13/blob/71c1c05f74c17d0ca891ae784d3e701c8fdcbc12/src/driver/graphic.rs#L457-L459
In HLSL using Texture2D Texture2DTable[] : register(t0, space0); the binding count ends up being 1 instead of 0.
I don't think it's really a solution, but as a test, before here: https://github.com/attackgoat/screen-13/blob/71c1c05f74c17d0ca891ae784d3e701c8fdcbc12/src/driver/shader.rs#L871-L873 I tried setting the binding count to 0 with:
if "Texture2DTable" == name.as_deref().unwrap_or_default() {
    binding_count = 0;
}

And it actually made a HLSL version of the bindless example work (though I still haven't gotten samplers working correctly so this was just with Texture2DTable[input.instance_index].Load(int3(0, 0, 0)))

I modified examples/bindless.rs to use hassle-rs (DXC) and had some success:
RUST_LOG=info cargo run --example bindless -- --hlsl --hassle-rs

When I don't pass the --hassle-rs flag it uses Shaderc and fails:
binding #0 with #63 descriptors being updated but this update oversteps the bounds
`main` entrypoint not found for stage VK_SHADER_STAGE_FRAGMENT_BIT
create_graphics_pipelines: An unknown error has occurred, due to an implementation or application bug

Could you provide a larger HLSL example?

Oh! I hadn't thought of that. It looks like bindless does work with dxc in my renderer! I've been using shaderc mostly as I haven't tried setting up hassle-rs with hot reloading yet, so I've been using my workaround from the first post. But I have a cargo feature to switch to dxc so it's easy to test both. (It's also handy to be able to pass -Od to dxc to disable opt so it doesn't strip out things (like bindings) that screen-13 needs if you aren't using them in the shader yet.)
Yep! I can figure out a larger example. Are you looking for something that can be added to the repo as an official hlsl example, or just a larger code base in general that's using hlsl with screen-13?

I'm interested in finding the minimal HLSL that you think should work, but does not. Hopefully that would help figure out if there is anything this crate could change which would fix things, and probably make examples along the way.
I used HLSL professionally for years before switching to Vulkan and GLSL; personally at least for what I do I don't mind the clunkiness of the language because I avoid all of these random bugs. Unfortunately this has rotted my HLSL skills to basically zero - so my ask for an example is because I want to make sure I'm fixing the correct random bugs. 😊


Add option that makes migrator only mark migrations applied when migration successful

Adds an option that instructs the Migrator to mark migrations applied on success, not on both success and failure.
Something to note, the group is being returned in more of the error paths than before, I think this is consistent with the intent that despite a migration failing some migrations were still applied and that information should be provided to the caller.
Resolves: https://github.com/uptrace/go-clickhouse/issues/25

@vmihailenco thank you for your attention on this PR so far. If you need any more changes made, please let me know.

Thanks


Ensure TLS encryption works for gRPC and RPC

          Is it in scope of this Pr to ensure TLS encryption works for gRPC? And for bridge nodes TLS for RPC to core? If not I assume this will be tackled shortly after?

Originally posted by @liamsi in https://github.com/celestiaorg/celestia-node/issues/3359#issuecomment-2098215544

https://github.com/celestiaorg/celestia-node/issues/2439 👀👀


Fix unit test

Signed-off-by: Hu Keping<EMAIL_ADDRESS>

Current coverage is 50.93% (diff: 100%)

Merging #1991 into master will decrease coverage by 10.14%

@@             master      #1991   diff @@
==========================================
  Files           125        125
  Lines         11118      11118
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6791       5663   -1128
- Misses         3444       4712   +1268
+ Partials        883        743    -140

Powered by Codecov. Last update b89a594...b984f91

LGTM

LGTM


Added support for reserved IP association

Added methods associate_reserved_ip_address and disassociate_reserved_ip_address for classic REST interface: https://msdn.microsoft.com/en-us/library/azure/dn722420.aspx
Fixes #695

Coverage decreased (-0.05%) to 58.571% when pulling b5ab99692bcbb72f7a8587f7e2df4f19dd07b6ec on SUSE:reserved_ip_association into 4d61f581a83b4a6821095e1f59866d8bc2b5d8c9 on Azure:dev.

Thank you!


Refactor/rtree

Refactored Rtree code outside the functions to be used directly in the test functions.

Looks great, thanks !


Refactor Samples to use a Public API for TrustManager

From this morning:
https://stackoverflow.com/questions/60735480/okhttp3-returns-sslhandshakeexception-handshake-failed

From this morning:
https://stackoverflow.com/questions/60735480/okhttp3-returns-sslhandshakeexception-handshake-failed

I think I can crack this one, will take a look later after work.
What do you think about making this extend the work on okhttp-tls?  Make it a utility there?

I’d love to do a feature that’s very close to your allowlist. Something where I can turn off TLS stuff for some hosts that don’t do it right.
val client = OkHttpClient.Builder()
    .insecureForHosts("localhost", "<IP_ADDRESS>")
    .build()

Plaintext http? Or insecure Https?

Insecure HTTPS.

@swankjesse Take another look on direction

Testing update
Checking localhost against InsecureTrustManager 0
Checking localhost against X509TrustManagerImpl 1
Running security checks for localhost using X509TrustManagerImpl
[CN=localhost]
Checking www.google.com against InsecureTrustManager 0
Checking www.google.com against X509TrustManagerImpl 1
Using default X509TrustManagerImpl 88
Running security checks for www.google.com using X509TrustManagerImpl
[CN=www.google.com, O=Google LLC, L=Mountain View, ST=California, C=US]
https://www.google.com/robots.txt

I’m imagining the entire API surface area could be one new method on OkHttpClient.Builder insecureHttpsHost that takes a hostname. Internally we could delegate or whatever, but the user doesn’t need to see the word trust manager or understand that "trust manager" means "certificate authorities" (or even to know what certificate authorities are!).

You did too good a job convincing me this was a bad idea previously.
I suspect in a lot of these cases the devserver has internal CA issued certificates available in dev builds.  So I was aiming for that case.  But with a fallback also for insecure.  I'll try another loop with just the public API you suggest, since we still need the majority of this code related to bridging both the Android and JVM TrustManager extensions.
FWIW - I've tackled this beast once before, and it wasn't fun, and I wished there was something like okhttp-tls that went slightly further.  In that case it was related to required client auth for Estonian ID smartcard auth.  In that case I'm not even sure my code would work on Android.
https://github.com/yschimke/okurl/blob/0520489d697d49b179010e468a87ef0749ff95be/src/main/kotlin/com/baulsupp/okurl/security/CertificateUtils.kt
https://github.com/yschimke/okurl/tree/master/certificates
https://github.com/yschimke/okurl/blob/0520489d697d49b179010e468a87ef0749ff95be/src/main/kotlin/com/baulsupp/okurl/security/OpenSCUtil.kt

Today: https://www.reddit.com/r/androiddev/comments/fl7jjm/how_can_i_use_custom_and_default_ssl_certificate/

@swankjesse minimal public API, but with internal classes until I can convince you on a public API.

Today: https://www.reddit.com/r/androiddev/comments/fl7jjm/how_can_i_use_custom_and_default_ssl_certificate/

Answer
"different hosts completly"
Basically this person wants this fix.

For after 4.5...

@swankjesse Are you ok with this minimal API for now? And that it's effectively a no-op when not activated.

It might be useful to consider how browsers’ trust manager mechanisms work. By default you get a well known set of root CAs. You can install your own CA for institutional use. And you can click through an angry "TLS is sketchy” warning on dev server's and sites that are misconfigured.
My preference for this feature is to resemble that angry TLS is sketchy page.
What triggers that page? Untrusted CAs? Hostname mismatches? Expired certs? Incomplete chains? (We should test how expired certs work!)
For institutional our best strategy is to encourage users to add their trusted CAs instead of using this feature. Making it easier to accept a PEM file could be useful here. (I think our custom trust recipe might need an update to use okhttp-tls).

Making it easier to accept a PEM file could be useful here. (I think our custom trust recipe might need an update to use okhttp-tls).

Already have a tracking issue for that https://github.com/square/okhttp/issues/5701

My preference for this feature is to resemble that angry TLS is sketchy page.

I like this idea, somewhat like the CertificatePinner failure messages.  I think eventually we should bridge the work of okhttp-tls with failure cases.  Unfortunately the errors from TLS implementations are totally incomprehensible to me.  Poor users.  FWIW if you try to use something like 2FA at work, or European smartcards with Firefox or Chrome, it's similar.  Technically secure, but with esoteric* errors popping up.

happy to use byzantine, just because it's a cool word.

@swankjesse I think landing this carefully in the minimal devserver form first (I was trying for too broad a solution initially, towards where you are talking) is wise.  Particularly being comfortable that if you don't activate it that it can't break security because it isn't invoked.
Then if we think it's useful work on a nice internal API for the cases you talk about and when ready make it public.


Iconographic and design treatments for existing browser URL bars

Colours and fonts differences and changes with URL (i.e. FF)
Brave tracking menu with options


Grant patch-continue API

Implement PATCH /auth/continue/{id} endpoint
see:
https://datatracker.ietf.org/doc/html/draft-ietf-gnap-core-protocol#section-5.3
https://docs.openpayments.guide/reference/patch-continue

Closing as we are currently not allowing the modification of GNAP grant requests.


Unable to find detected appliance

Hi All,
I'm quite noob, but I'm having a problem on the v0.70 where the login into NetHome Plus account seems fine, the devices is identified and the serial retreived but unable to detect on the network, even if I manually input the ip address and so on.
We were unable to discover an appliance called DEVICENAME with the serial number 000000P0000000Q1F0C9D1*********.
Logger: midea_beautiful.scanner
Source: /usr/local/lib/python3.9/site-packages/midea_beautiful/scanner.py:175
First occurred: 11:13:10 (3 occurrences)
Last logged: 20:08:22
Unable to discover registered appliance {'id': '1319413958****', 'name': 'Aire Dormitorio', 'sn': '000000P0000000Q1F0C9D1C0********', 'type': '0xAC', 'modelNumber': '-84'}
Logger: midea_beautiful.scanner
Source: /usr/local/lib/python3.9/site-packages/midea_beautiful/scanner.py:155
First occurred: 11:13:10 (3 occurrences)
Last logged: 20:08:22
Some appliance(s) where not discovered on local network: 0 discovered out of 1

Hi All, I'm quite noob, but I'm having a problem on the v0.70 where the login into NetHome Plus account seems fine, the devices is identified and the serial retreived but unable to detect on the network, even if I manually input the ip address and so on.
We were unable to discover an appliance called DEVICENAME with the serial number 000000P0000000Q1F0C9D1*********.
Logger: midea_beautiful.scanner Source: /usr/local/lib/python3.9/site-packages/midea_beautiful/scanner.py:175 First occurred: 11:13:10 (3 occurrences) Last logged: 20:08:22
Unable to discover registered appliance {'id': '1319413958****', 'name': 'Aire Dormitorio', 'sn': '000000P0000000Q1F0C9D1C0********', 'type': '0xAC', 'modelNumber': '-84'}
Logger: midea_beautiful.scanner Source: /usr/local/lib/python3.9/site-packages/midea_beautiful/scanner.py:155 First occurred: 11:13:10 (3 occurrences) Last logged: 20:08:22
Some appliance(s) where not discovered on local network: 0 discovered out of 1

I have the same problem, and may be the same model of AC '-84'
Logger: midea_beautiful.scanner
Source: /usr/local/lib/python3.9/site-packages/midea_beautiful/scanner.py:175
First occurred: 24 de marzo de 2022, 19:22:06 (6 occurrences)
Last logged: 24 de marzo de 2022, 19:27:13
Unable to discover registered appliance {'id': '3738339534****', 'name': 'Buhardilla', 'sn': '000000P0000000Q1A8407D9C********', 'type': '0xAC', 'modelNumber': '-84'}
Unable to discover registered appliance {'id': '4288095348****', 'name': 'Dormitorio', 'sn': '000000P0000000Q1A8407D9E********', 'type': '0xAC', 'modelNumber': '-84'}

@marianoem can you check if new release (0.8.0) fixes the issue?

Hi, I'm a noob as well and experience the same issue. For the record, we make use of Carrier AC's and normally we'd use the Carrier app. As I understand it, Carrier nowadays is part of Midea. The units, serial numbers and device names are recognized but unable to detect the devices, even if IPv4 adresses are provided (e.g.: "Unable to find appliance at specified IPv4 address." What am I doing wrong?

Hi, I'm a noob as well and experience the same issue. For the record, we make use of Carrier AC's and normally we'd use the Carrier app. As I understand it, Carrier nowadays is part of Midea. The units, serial numbers and device names are recognized but unable to detect the devices, even if IPv4 adresses are provided (e.g.: "Unable to find appliance at specified IPv4 address." What am I doing wrong?

Same with me... "Unable to find appliance at specified IPv4 address."

Hi, I'm a noob as well and experience the same issue. For the record, we make use of Carrier AC's and normally we'd use the Carrier app. As I understand it, Carrier nowadays is part of Midea. The units, serial numbers and device names are recognized but unable to detect the devices, even if IPv4 adresses are provided (e.g.: "Unable to find appliance at specified IPv4 address." What am I doing wrong?

Never mind. Fixed it.

Glad it worked.


Load from Content/EmbeddedResource

Great job on this library! Worked with every animation I tried.
Ideally, I would like to package Lottie animations as Content or Embedded Resource types so that output directory isn't littered with asset files. Unfortunately, it looks like this control only supports loading from a file?
For example, in the XAML below, the image loads correctly but the Lottie file does not (both are embedded resources):
<Border BorderThickness="0,0,0,1">
    <Image Source="pack://application:,,,/Assets/image.jpg" />
</Border>

<Border BorderThickness="0,0,0,1">
    <wpf:LottieViewer x:Name="LottieViewer" LottieFile="pack://application:,,,/Assets/lottie.json" />
</Border>

Is this something you intend to support?
Thanks again,
Ian

Good idea! Why didn't I think of that, thanks for the reminder.

Added "Source" property
resource
<wpf:LottieViewer x:Name = "LottieViewer"
Source = "pack://application:,,,/Assets/LottieLogo1.json" />
resource or relative path file
<wpf:LottieViewer x:Name = "LottieViewer"
Source = "/Assets/LottieLogo1.json" />
absolute path file
<wpf:LottieViewer x:Name = "LottieViewer"
Source = "c:\LottieLogo1.json" />

Amazing! I'll give it a shot thanks.

Tested. Works great, thanks!


Pls help

I have tried to solve this problem,but it make no sense.....i'm losing.....

It looks like you're missing the powerline fonts?
But I'm just as new to zsh as you are, so take that for what it's worth.

It looks like you're missing the powerline fonts?
But I'm just as new to zsh as you are, so take that for what it's worth.

i have solved it . if you want to use 'agnoster',You must change the fonts

yet, you get it，I have solved it, the reason is that system miss some font.
, you can downland it form website, and then reload it, it will work...
[image: image.png]
Michael<EMAIL_ADDRESS>于2019年8月22日周四 上午12:07写道：

It looks like you're missing the powerline fonts?
But I'm just as new to zsh as you are, so take that for what it's worth.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/robbyrussell/oh-my-zsh/issues/8095?email_source=notifications&email_token=AIRU7AMVSQ7FJI6LJL4L2PLQFVR3ZA5CNFSM4IOGHVG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD42GG7I#issuecomment-523527037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIRU7AOU5VI55UAZXSJMKULQFVR3ZANCNFSM4IOGHVGQ
.


pinch and zoom QR code

The trouble we faced with encointer/pallets#168 might've been avoidable by allowing the user to resize the QR code. The problem was a shattered display and bad scanning robustness

Closed by #699


Unexpected parse error in begining of file

I am getting a "Unexpected parse error in file" at the first character of my file:
/**
 * Base definitions
 */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

Note: I am running sass-lint through the Atom linter plugin.
This seems related to #580

Parse errors like this are thrown by the AST we use, Gonzales-Pe
As far as I can see this is parsing fine in the latest build, therefore we may just have to wait until that version of the AST has stabilised and we can incorporate it into sass-lint.

Not sure what was causing this issue but it is fixed in the  newly released version v1.11.0. Please let me know if you still have issues. Thanks!


Enable maven enforcer plugin

Problem
Enable maven enforcer plugin to check transitive dependencies convergence:

http://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html

Persona:
Which persona is this feature for?
Contributor
Exit Criteria
A measurable (binary) test that would indicate that the problem has been resolved.
Time Estimate (optional):
How many developer-days do you think this may take to resolve?
1

/good-first-issue

/assign

/assign


python3Packages.reedsolo: init at 1.5.4

Motivation for this change
Required for esptool update
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Done

Okay, rebased. Please update your example to --force-with-lease ;)

i actually revised it by only mentioning git rebase


Support no_std with and without alloc, various other improvements

See commits for further details

Published as v0.1.3 🎉
https://github.com/CAD97/cstr8/releases/tag/v0.1.3
https://crates.io/crates/cstr8/0.1.3


Cross correlation Loss

Hello,
For the cross correlation loss, I was wondering why there was an extra factor of 10 in this function:
def compute(self, x_fake):
cross_correl_fake = cacf_torch(self.transform(x_fake), 1).mean(0)[0]
loss = self.norm_foo(cross_correl_fake - self.cross_correl_real.to(x_fake.device))
return loss / 10.
Is this 10 hard coded? Should it be the number of features?
Thank you!

Hi, this 10 is just used for scaling down the main results of our paper, and it has no other special meaning. The metirc's detailed description can be found in the paper [Conditional-Sig-Wasserstein-GANs], and we reuse its official  code. Thanks!


Fix crash on entity double click.

When an entity geometry exists forever but its position property is time-limited.  Double clicking on the geometry would attempt to track that position, which is undefined at the current animation time. We now better guard against defined Property instances with undefined values and instead zoom to the extent of the geometry. New test fails in master, passes in this branch.
As reported on the forum (Sandcastle example is there as well if you want to compare behavior).

Code and tests look good.  Update CHANGES.md in master if you think.

When an entity geometry exists forever but its position property is time-limited. Double clicking on the geometry would attempt to track that position, which is undefined at the current animation time. We now better guard against defined Property instances with undefined values and instead zoom to the extent of the geometry. New test fails in master, passes in this branch.
As reported on the forum (Sandcastle example is there as well if you want to compare behavior).

Is there any way to get the entity's position property?


Operator "Not" does not work correctly

Operator "Not" does not work correctly
Example:
SFQB.not(SFQB.like("test", "value")).toString()
Actual result - (test ~ 'value')
Expected result - (NOT (test ~ 'value'))

You are right, thanks for reporting it! I'll settle this. But now that I have some experience with Typescript, I will rewrite the library with Typescript, set up unit tests and set up a GitHub pipeline for continuous deployment.
In a few days, I should be done.
Sorry for the inconvenience


Check for subnet existence to avoid confusing error

Thanks to @harishjayakumar for catching this one
Signed-off-by: Nathan LeClaire<EMAIL_ADDRESS>

LGTM 💥


Error in s:prompt with complete_files

When trying to complete after :Grepper -tool rg I am getting an error (after closing/ending) the input():
Error detected while processing function <SNR>4_lod_cmd[3]..<SNR>125_parse_flags[74]..<SNR>125_start[6]..<SNR>125_process_flags[35]..<SNR>125_prompt:
line   19:
E117: Unknown function: <sid>complete_files
Error detected while processing function <SNR>4_lod_cmd[3]..<SNR>125_parse_flags[74]..<SNR>125_start[6]..<SNR>125_process_flags:
line   35:
E171: Missing :endif
Error detected while processing function <SNR>4_lod_cmd[3]..<SNR>125_parse_flags[74]..<SNR>125_start:
line    6:
E171: Missing :endif

In Neovim it looks like this:
Error detected while processing function <SNR>2_lod_cmd[3]..<SNR>177_parse_flags[74]..<SNR>177_start[6]..<SNR>177_process_flags[35]..<SNR>177_prompt:
line   19:
E120: Using <SID> not in a script context: <sid>complete_files
Error detected while processing function <SNR>2_lod_cmd[3]..<SNR>177_parse_flags[74]..<SNR>177_start[6]..<SNR>177_process_flags:
line   35:
E171: Missing :endif
Error detected while processing function <SNR>2_lod_cmd[3]..<SNR>177_parse_flags[74]..<SNR>177_start:
line    6:
E171: Missing :endif

Seems like a config issue? s:lod_cmd() belongs to vim-plug.
How do you complete? Can you specify the exact keys you hit?

I am using vim-plug, yes:
    Plug 'mhinz/vim-grepper', { 'on': ['Grepper', '<plug>(GrepperOperator)'] }

But it also happens when not loading it lazily:
Error detected while processing function <SNR>126_parse_flags[74]..<SNR>126_start[6]..<SNR>126_process_flags[35]..<SNR>126_prompt:
line   19:
E120: Using <SID> not in a script context: <sid>complete_files

But from what I remember it would be better to have the completion function in autoload instead, but I also see that you moved stuff out of it?!

you moved stuff out of it?!

Yup, there was no reason for autoloading anymore, since almost everything has to be initialized at the start anyway. But I don't see why script-local functions for completion would be a bad thing.
Although.. I don't get any error, but just :Grepper -<tab> is doing nothing instead of completing. Argh.
I'm looking into it.

Scratch that, completion is working as expected for me.
I can't reproduce it so far.
Just to be on the safe side, this should reproduce it right?
:Grepper -tool rg<space><tab>. This actually thows an error, but you don't see it until you end the prompt. Is that correct?

Sorry for the confusing repro.
I am doing :Grepper -tool rg<cr>, then on the input() (rg -H --no-heading --vimgrep --sort-files> (customized)) I type foo <tab>.
Nothing completes, but after Escape I get the error.

Oh, you probably changed the default g:grepper.next_tool, eh? Otherwise <tab> would change to the next tool instead of trying to complete.
I can reproduce it now.

Should be fixed now. 🎉
Thanks for finding this!


Remove double active directory reference

Someone simply added it twice and that doesn't seem to make sense.

These are two different properties: a boolean flag and the AD domain
https://github.com/kafbat/kafka-ui/blob/main/api/src/main/java/io/kafbat/ui/config/auth/LdapProperties.java#L21


fix: use correct protobuf include dir in external protobuf case

There was cmake configure error when we use userver as git submodule and external protobuf with conan package manager
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/.

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/

Hi, @apolukhin!
I'm not sure about failed checks 😢 , but I have example if needed.
There are two actions with pathced and broken (actual develop userver branch) cmake.
Error message:
2023-09-04T21:44:56.8238444Z CMake Error at third_party/userver/cmake/GrpcTargets.cmake:24 (message):
2023-09-04T21:44:56.8238835Z   Invalid Protobuf package
2023-09-04T21:44:56.8239158Z Call Stack (most recent call first):
2023-09-04T21:44:56.8239542Z   third_party/userver/grpc/CMakeLists.txt:3 (include)

I would be happy to research something, but I don't know, what actually will fix failed checks in this PR.

Thank you for the PR! We merged it as #377
We'll mention you in the release notes

Thanks again for the bug report and for the PR!


Move nested hand styles up

In the SvgFacet we are adding some additional styles to show hands down and open. This breaks the styles at the top of the svg tag.
We should render all of the styles before the rest of the SVG is rendered.

Fixed this in https://github.com/aavegotchi/aavegotchi-contracts/commit/acebd67fd10772f67d5e40f187587c4f1b6d0333. Will close after confirmed fixed in a live deployment.

Fixed this in https://github.com/aavegotchi/aavegotchi-contracts/commit/acebd67fd10772f67d5e40f187587c4f1b6d0333. Will close after confirmed fixed in a live deployment.

Fixed this and other hand-related issues in https://github.com/aavegotchi/aavegotchi-contracts/commits/master. Closed.

Fixed this and other hand-related issues in https://github.com/aavegotchi/aavegotchi-contracts/commits/master. Closed.


Feature/formlayouts

Description
Clean up svg image path on framework side.
Fixes # (issue)
The UI code was expecting the image to always be in an "images" folder and was also adding the ".svg" to the image path. removed the hardcoding of images folder and .svg
The client will pass the image path and image extension.
Overview of Changes
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Testing through cm product application.
Additional Notes

You did it @dinakarmeda!
Thank you for signing the Anthem Opensource Software CLA.


Move image processing engine to seperate repository

Image engine should be moved to a separate repository and npm module. So we can build other engines then lwip.

Done in sprity v1.0.0


KAFKA-9730 add tag "partition" to BrokerTopicMetrics so as to observe…

Partitioner enable us to dispatch the data to the specify partition as we wish. However, we can't observe the partition metrics if they are on the same broker. The root cause is that the key of topic metrics doesn't contain "partition" so all partitions on the same broker are merged into single metrics (see attachment).
before

after

Committer Checklist (excluded from commit message)

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

the flaky StateDirectoryTest.shouldReturnEmptyArrayIfListFilesReturnsNull is traced by #8310


GetNftCatalog (maybe also other functions) return only testnet nfts

Thanks for developing the lib :+1:
Issue:

no matter what I do, I get only testnet collections

Possible cause:

https://github.com/dapperlabs/nft-catalog/blob/11c950f97512a46d5dc8df5fcd1be3a0da1fca68/index.js#L24
the function has the side effect of setting the environment (mainnet then testnet) which then never gets reset, so it stays testnet (getNftCatalog function then just reads this environment which is always testnet)

Solution:

IMO it's pretty strange that getAddressMaps returns costs for both mainnet and testnet, it should at least receive an argument mainnet | testnet and return only network-specific address maps.

This is a fair callout.  A quick workaround would be to import @onflow/cadut and set the environment correctly to the network you want.  We will think through how to better approach this problem.
Ideally, taking in a network parameter would be useful here, however, alot of this code/functions are auto-generated.


Remove social media icons from the top of GirlScript Chennai Website

@smaranjitghose  I would like to work on this issue

i would like to work on this issue.


Support for Claude / OpenRouter API

Hello!
Could you look at adding support for Claude and OpenRouter API?

I'm sorry, I recently switched to MacOS and I am not planning any updates. I would more than happy to accept pull requests though.


Accordion requires 2 clicks to collapse a panel after the first open + close.

Bug report
Current Behavior
Go to https://radix-ui.com/primitives/docs/components/accordion#basic-example
Try to open and close the accordion panels. It works correctly the first time, but subsequent attempts require 2 clicks to collapse the panel.

Expected behavior
It should not take 2 clicks to collapse a panel.

Reproducible example
https://radix-ui.com/primitives/docs/components/accordion#basic-example

Hi there, we have fixed this already but it hasn't been released: https://github.com/radix-ui/primitives/pull/594
Duplicate of #593


Show the state of p2p in tray

States:

Running
Not Running
Cannot find p2p

What i see:
-P2P is running
-P2P is loading
-Can't launch P2P

@Erkin97

@amol4anoff p2p is not running will be show, when you stop the p2p daemon

OK

Works in prod


Add method to build Source::Pos from an offset

Why do we want this?
This is the first step towards building a better LSP diagnostic response, but first a bit of background.
As of recently, when Mare compiles it will add all the errors it finds along the way in the @context.errors variable. One of the  errors we need to catch is Pegmatite::Pattern::MatchError, thrown when parsing files. In order for us to wrap this in an Error we need to construct a Source::Pos pointing to where this happens in the source, but Pegmatite only reports the byte offset[1] where parsing fails, not a row and column.
[1] We might need an enhancement for Pegmatite::Pattern::MatchError to actually read the offset attribute, but this PR assumes it exists.
Why did I do it this way?
I first set off to just calculate the row and col given the offset (to call point(source, row, col) afterwards), but I later noticed that given the way I walked the source, if I just renamed my variables I would already have the line_start and line_finish values.
Test output
Since (I think) we don't have a CI, here's the passing spec:
$ target=spec/compiler/source_pos_spec.cr make test.narrow
docker exec -ti mare-dev make target="spec/compiler/source_pos_spec.cr" extra_args="" test.narrow.inner
crystal spec spec/spec_helper.cr "spec/compiler/source_pos_spec.cr"
.

Finished in 263 microseconds
1 examples, 0 failures, 0 errors, 0 pending

Thanks!
Regarding CI, I'm actually surprised that it didn't run. We certainly have CI running make ci on the master branch successfully.
I just now tweaked something in the CircleCI settings, so we'll see on the next PR if that worked.
Thanks again for working on this!


Cannot register a model if there's a non-managed model referring to it

I have these two models, which have worked for me for many months.
class User(AbstractBaseUser, PermissionsMixin):
    username = models.CharField(max_length=250, blank=True)
    email = models.CharField(max_length=100, unique=True, blank=True, null=True)

class UserOrdersView(models.Model):
    user = models.OneToOneField(
        User,
        on_delete=models.DO_NOTHING,
        related_name='user_orders',
        primary_key=True
    )
    # other fields
    class Meta:
        managed = False
        db_table = "users_userordersview"

However, when I register the User class, my testcases fail, with the following stack:
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.7.11/x64/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py", line 393, in __get__
    rel_obj = self.related.get_cached_value(instance)
  File "/opt/hostedtoolcache/Python/3.7.11/x64/lib/python3.7/site-packages/django/db/models/fields/mixins.py", line 13, in get_cached_value
    return instance._state.fields_cache[cache_name]
KeyError: 'user_orders'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.7.11/x64/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedTable: relation "users_userordersview" does not exist
LINE 1: ...", "users_userordersview"."churned_date" FROM "users_use...

I tried completely removing the view from my app (including the migrations), migrating to a clean database, and registering the user mode, and it worked fine.
Why does auditlog care about the view? The view is not registered. (ironically, I tried registering it and the tests passed).

Sorry @aqeelat for the late response.
Do you still have this problem?

@hramezani Yes. I fixed it by using:
for app_label in internal_apps_list:
    for model in apps.get_app_config(app_label.split(".")[-1]).get_models(include_auto_created=True):
        meta = model._meta
        if not meta.managed:
            continue

        m2m_fields = [m for m in meta.fields if isinstance(m, models.ManyToManyField)]

        exclude_fields = [
            i.related_name for i in meta.related_objects if i.related_name and not i.related_model._meta.managed
        ]

        auditlog.register(model, exclude_fields=exclude_fields, m2m_fields=m2m_fields)

This is related to #548

@aqeelat do you want to create a PR?

@hramezani sure


does not build on ppc64le

Expected Behavior
builds
Current Behavior
does not build
Steps to Reproduce
Build dlib after 600923359f504bde8e1747b00be3a257d0470128 on ppc64(le) platform
It contains code such as inline vector bool int to_bool() const { return x.b; } which is unintelligible to the compiler.

export 'CFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g'
/usr/bin/python3.8 setup.py build '--executable=/usr/bin/python3.8 -s'
[  179s] In file included from /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io/../image_transforms/../simd/simd4f.h:7,
[  179s]                  from /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io/../image_transforms/../simd.h:6,
[  179s]                  from /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io/../image_transforms/spatial_filtering.h:13,
[  179s]                  from /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io/../image_transforms/image_pyramid.h:10,
[  179s]                  from /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io/load_image_dataset.h:19,
[  179s]                  from /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io.h:12,
[  179s]                  from /home/abuild/rpmbuild/BUILD/dlib-19.24.0/tools/python/src/opaque_types.h:14,
[  179s]                  from /home/abuild/rpmbuild/BUILD/dlib-19.24.0/tools/python/src/other.cpp:4:
[  179s] /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io/../image_transforms/../simd/simd4i.h:53:13: error: invalid use of template-name ‘dlib::vector’ without an argument list
[  179s]    53 |             vector signed int v;
[  179s]       |             ^~~~~~
[  179s] /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io/../image_transforms/../simd/simd4i.h:53:13: note: class template argument deduction is only available with ‘-std=c++17’ or ‘-std=gnu++17’
[  179s] /home/abuild/rpmbuild/BUILD/dlib-19.24.0/dlib/../dlib/data_io/../image_transforms/../simd/simd4i.h:54:13: error: invalid use of template-name ‘dlib::vector’ without an argument list
[  179s]    54 |             vector bool int b;
[  179s]       |             ^~~~~~

Version: 19.24.0
Where did you get dlib: https://files.pythonhosted.org/packages/source/d/dlib/dlib-19.24.0.tar.gz
Platform: Preparing to boot Linux version 6.1.7-1-default (geeko@buildhost) (gcc (SUSE Linux) 12.2.1 20221020 [revision 0aaef83351473e8f4eb774f8f999bbe87a4866d7], GNU ld (GNU Binutils; openSUSE Tumbleweed) <IP_ADDRESS>20810-1)  SMP Wed Jan 18 11:12:34 UTC 2023 (872045c)
Compiler: GCC 12.2.1

Maybe it needs to be ::vector.  I'm not sure.  PRs are welcome :)

I don't know c++ so it's unlikely I will fix this.
If it was a problem with what the code does that might have a chance but I have absolutely no idea how to fix up c++ formalisms.

I don't have a PPC machine to test this on so :shrug:
What it's complaining about is just a name conflict though.  There is a type called vector in the PPC SIMD tooling that code is trying to use but dlib::vector is clashing with it apparently.  Try changing the name to ::vector and seeing if that works.

This is actually problem of not building with the Apple extensions
https://gcc.gnu.org/onlinedocs/gcc/PowerPC-AltiVec_002fVSX-Built-in-Functions.htm
The altivec.h file has some ifdefs around APPLE_ALTIVEC which imply that normally only __vector and __bool keywords are available for invoking the altivec extension, and this code uses mostly the ones without underscores.

This fixes the build but tests still crash. I see a crash even when the altivec code is not build so I suspect it has some other cause.


CI environment variable not getting set

Chromatic builds from the action aren't getting marked as fromCI=true. I assume this is because the CI env var isn't set?
cf
https://github.com/chromaui/chromatic/issues/3031

@ndelangen any chance you could look at this soon?

Yes, looking at this now


Settings appear to work but actual obligate statements not firing

New to plugin. I changed the settings per the video. New notes are being created with the file structure I put in the settings. However. using the example template, the statements are coming across either 1) with the {{ obligate whatever}} or 2) without that but statements don't appear to be executing.
Example:

Are you using the little carrot icon to create the note, or the daily note icon?

Created with the carrot. Using the daily note icon doesn't use the
obligator at all.
On Sun, Sep 22, 2024 at 10:06 AM Dimitar Dimitrov @.***>
wrote:

Are you using the little carrot icon to create the note, or the daily note
icon?
—
Reply to this email directly, view it on GitHub
https://github.com/Newbrict/obsidian-obligator/issues/36#issuecomment-2366805616,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLPXW3G5GJNSZSFKMEQPTGDZX3FGXAVCNFSM6AAAAABOUQZZ6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRWHAYDKNRRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Can you post your template file

The format of the macro is incorrect:

The obligate macro will add the immediately proceeding line if you the date matches for any day between your last note and today. See the example template file for plenty of common examples. If you are confused about this and want some help, just open a GitHub issue.

Maybe this is confusing because GitHub tries to format it?
Try the raw view:
https://raw.githubusercontent.com/Newbrict/obsidian-obligator/refs/heads/master/example/daily_note.md

Did this fix your issue?

Yes, my fiddling around eventually got it. Thanks.
On Sun, Sep 29, 2024 at 11:34 AM Dimitar Dimitrov @.***>
wrote:

Did this fix your issue?
—
Reply to this email directly, view it on GitHub
https://github.com/Newbrict/obsidian-obligator/issues/36#issuecomment-2381400671,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLPXW3DDRZTUMLPA37WGQUDZZAMYLAVCNFSM6AAAAABOUQZZ6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGQYDANRXGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Login on JWT login route: when login there is a red toast error even when success

but it still redirect to succees route !!!

There is a bigger problem on JWT login: it doesn't work coz of JS that don't use the right route


Tap redis expiry checkers (no-data-received)

Description of PR

What component(s) does this PR affect?

[ ] Back-End (Database, Detection/Configuration/etc. Microservices)
[ ] Front-End (Flask, API, UI, etc)
[X] Monitor (RIPE RIS, BGPStream RV/RIS/CAIDA, etc.)
[ ] Docs
[ ] Build System

Does the PR require changes on other components? If yes, please mark the components:

[ ] Back-End (Database, Detection/Configuration/etc. Microservices)
[ ] Front-End (Flask, API, UI, etc)
[ ] Monitor (RIPE RIS, BGPStream RV/RIS/CAIDA, etc.)
[ ] Docs
[ ] Build System

Related Issue

Resolves #478
Solution

Type

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Docs update
[ ] None of the above

Checklist:

[X] I have read the contributing guide and my code conforms to the guidelines.
[ ] This change requires a change in the documentation.
[ ] I have updated the documentation accordingly.

@slowr before reviewing the current PR check https://github.com/FORTH-ICS-INSPIRE/artemis/issues/558 since it is blocking (we need to read the redis conf correctly before we have the expiry subscription)

@slowr before reviewing the current PR check https://github.com/FORTH-ICS-INSPIRE/artemis/issues/558 since it is blocking (we need to read the redis conf correctly before we have the expiry subscription)

@slowr any comments/objections on this PR? I reused code as discussed by importing from utils.

@slowr any comments/objections on this PR? I reused code as discussed by importing from utils.


Ajax request

Awesome job on this. I'm new the Angular but I believe I've poked around enough to get the ajax request working that'll retrieve events from a mysql database via php script and return the events in json format. I'd appreciate any help.

Retrieve data from your server for events to be displayed in the calendar.  Then w/in your controller for the calendar, loop through the results returned from your database, and build out an array of event objects formatted as follows:
var events = [],
i = 0;
for (i = 0; 8 < YourData.length; i += 1) {
events.push({
title: YourData[i].Title,
startTime: YourData[i].StartDateTime,
endTime: YourData[i].EndDateTime,
allDay: YourData[i].AllDay
});
}
$scope.eventSource = events;
****** NOTES: the allDay property is a boolean value.  Also, add any additional properties you want to each event object in the events array.  In my own implementation, I add an "id" property, representing the unique identifier from the database for a given event, to enable me to link through to more details for that event after selecting the event.


Embedded resources

It'd be nice if we could embed a static resource in a Rune and use it as a capability. This would let people take an existing Rune and fix one of its inputs (kinda like functools.partial() in Python)
This is related to #193 in that we'd be using the same "embedded resources" mechanism under the hood, but expressed in different ways (one uses it as an input, another uses resources to allow swapping models in and out).

This also makes hotg-ai/rune-registry#3 a lot easier because NLP uses large word lists and including them inline in the Runefile is a bit cumbersome.

What I had in mind for this was an extra resources section for your Runefile.
version: 1
image: runicos/base
pipeline:
  ...

resources:
  wallet:
    file: ./path/to/wallet
  username:
    inline: "Michael"

Then the runtime exposes a file-like API to the Rune.
fn rune_resource_open(name: *const u8, name_len: u8) -> u32;
fn rune_resource_read(resource_id: u32, buffer: *mut u8, buffer_len: u8) -> u32;
fn rune_resource_close(resource_id: u32);

We'd also need some way to signal to a proc block or input or whatever that it needs to read from the resource.
Perhaps they could be referred to in the Runefile using some special syntax?
pipeline:
  some_proc_block:
    proc_block: foo
    args:
      wallet_public_key: $wallet

Then inside the Rune we'd represent the resource using a lazy_static variable which contains an opaque byte array.
lazy_static! {
  static ref wallet: Vec<u8> = rune_core::read_resource_to_buffer("wallet");
  static ref username: Vec<u8> = rune_core::read_resource_to_buffer("username");
}

fn _manifest() {
  let mut some_proc_block = foo::Foo::default();
  some_proc_block.set_wallet_public_key(&wallet);
}


Getting started with MySQL seeding in Laravel 8

Proposed title of article
Getting started with MySQL seeding in Laravel 8
Proposed article introduction
Laravel’s Seeders are special classes that live in the database/seeders directory in a Laravel project that allow you to programmatically insert a collection of default or sample records in the database. The demo application has a seeder class that imports links from a links.yml file in the root of the application folder.
I will explain step by step tutorial laravel 8 seeder example. this example will help you laravel 8 database seeder example. it's simple example of how to create seeder in laravel 8. it's simple example of create seeder command in laravel 8.
Key takeaways

Getting started with seeders in Laravel
Using MySQL engine in Laravel
populating database with fake data using faker class

Thank you for submitting your topic @vincentoriyo.
However, after some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to suggest an alternative topic.


Changes of assoc dev stats,sec_mode and proto_init

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[GIF Search] Add next page to gif search results.

Extension – GIF Search
Author: @josephschmitt

Idea: Add a next page to the search results. Press next to return the next N search results.
Describe the feature and the current behavior/state.
Currently it displays the first N results (as configured in settings). If I don't like those, I have to do a new search. I'd like to be able to click next and it grabs the next N gif results.
Who will benefit with this feature?
Everyone! Sometimes you need to hunt down the right gif, and the first N isn't enough to choose from.
Any Other info.

This is a great idea! I've asked the Raycast devs if they plan to support pagination natively in Raycast and I think they know about it. As soon as this feature is rolled out I'll definitely put it into the extension. Shouldn't be hard to add!


Commit updated records under a different author

Commiting with andrewrk as the author makes it show up in the contribution graph. If you commit with a different author eg --author="Gotta Go Fast<EMAIL_ADDRESS>it won't do that.

records.csv is no longer stored in this repo


Macro parsing incorrectly with OhMyThreads.@set

julia> function f()
           for i in [1,2,3]
               # check something
               OhMyThreads.@tasks for j in [1,2,3]
                   OhMyThreads.@set begin
                       scheduler = :static
                       ntasks = 8
                   end
                   j += 2
                   # do sutff
                   end
               end
           end
ERROR: LoadError: The @set macro may only be used inside of a @tasks block.

but this works:
julia> function f()
           for i in [1,2,3]
               # check something
               OhMyThreads.@tasks for j in [1,2,3]
                   @set begin
                       scheduler = :static
                       ntasks = 8
                   end
                   j += 2
                   # do sutff
                   end
               end
           end
f (generic function with 1 method)

Yeah, the @set macro is not a real macro. All it does is throw an error. It's only ever meant to be used as something that @tasks detects and handles, so when you write OhMyThreads.@set, it gets confused.
We can make it catch this particular pattern too, but it'll always be possible to confused it, e.g. you could do
const var"@my_set" = var"@set"

and then try and use use @my_set inside @tasks and you'll get this same error.

What Mason said. But this particular pattern, i.e. OhMyThreads.@macroname, should probably be covered.


[Bug] [UI] SUB_PROCESS Clicking into the child node does not react

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Workflow Definition List page, select Workflow, Enter, Select SUB_PROCESS Component Click into child nodes without reaction.
note：There is no problem with this feature of the workflow instance page.
ERROR:

What you expected to happen
Child nodes can be entered.
How to reproduce
See "What happened"
Anything else
No response
Version
2.0.3
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

hi @mchcz, what's the meaning of select Workflow, Enter? can you support a gif for reproduce this issue?


WinUI3 apps close after showing the splash screen when launched with an executionAlias

Describe the bug

If a WinUI3 app is launched with an execution alias the app starts but automatically closes after briefly showing the splash screen.
Steps to reproduce the bug

Steps to reproduce the behavior:

Create a new, empty WinUI3 desktop app from the VSIX template (version <IP_ADDRESS>7130)
Add the following to package.appxmanifest as a child of the App element.

        <Extensions>
            <uap5:Extension
                Category="windows.appExecutionAlias"
                Executable="$targetnametoken$.exe"
                EntryPoint="$targetentrypoint$">
                <uap5:AppExecutionAlias>
                    <uap5:ExecutionAlias Alias="MyTestApp.exe" />
                </uap5:AppExecutionAlias>
            </uap5:Extension>
        </Extensions>

(If using a UWP app set the EntryPoint as {AppName}.App)

Add the XML Namespace alias xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
Run the app from VS to deploy it locally
Run the app from the command line c:\> MyTestApp.exe

Expected behavior

App should launch without issue
Screenshots

Version Info

NuGet package version:
Microsoft.WinUI 3.0.0-preview2.200713.0

Windows app type:

UWP
Win32

Yes
Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)
Yes

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

If in a WinUI3 UWP app, setting the Start action as "Do not launch, but debug my code when it starts" and adding a break point in the App Constructor , the break point is never hit. (I don't know how to test the equivalent in a desktop app--or if it's possible)
The error code/level after unsuccessfully launching an app from an alias is reported as 0. This is a success error code and so is misleading.
The same/equivalent functionality works fine for a pre-WinUI3/regular UWP app.

For the desktop app, I've also tried overriding the OnActivated event in the main app, and also defining DISABLE_XAML_GENERATED_MAIN and creating my own main method but this doesn't work with the executionAlias either. :(

Without this functionality it is not possible to pass command-line arguments to apps.
While "Desktop" apps are being equated with "Win32" apps I feel the lack of command-line support is a big gap.
Currently this issue isn't even mentioned on the roadmap. With the GA release planned for H12021 and quarterly point releases after that, it looks as if command line support won't be available until at least Q4 2021.
This is a serious blocker for allowing WinUI3 apps from integrating with existing apps.

I can still repro this in Preview 4.

@mrlacey I made it work using the uap3:
<Package
  ...
  xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
  xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
...
IgnorableNamespaces="uap rescap uap3">

    <Extensions>
        <uap3:Extension
              Category="windows.appExecutionAlias"
              EntryPoint="Windows.FullTrustApplication">
          <uap3:AppExecutionAlias>
            <desktop:ExecutionAlias Alias="MyTest.exe" />
          </uap3:AppExecutionAlias>
        </uap3:Extension>
      </Extensions>

Let me know if this works on your side.

@marb2000 I can confirm that I can now get this working for both UWP and Desktop apps with Preview 4. (My repro above  is incomplete 😢 and I can't find my original exploratory projects so I don't know if it was me or if it has been fixed.)
Both work with  uap3&desktop and uap5 aliases.
Here's how I got it working in a WinUI3 UWP app.

In Package.appxmanifest

Add the alias xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
Add this below </uap:VisualElements>

    <Extensions>
        <uap5:Extension
                Category="windows.appExecutionAlias"
                Executable="App231.exe"
                EntryPoint="App231.App">
            <uap5:AppExecutionAlias>
                <uap5:ExecutionAlias Alias="MyTest.exe" />
            </uap5:AppExecutionAlias>
        </uap5:Extension>
    </Extensions>

OR use
  xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
  xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"

   ...

    <Extensions>
        <uap3:Extension
                Category="windows.appExecutionAlias"
                Executable="App231.exe"
                EntryPoint="App231.App">
            <uap3:AppExecutionAlias>
                <desktop:ExecutionAlias Alias="MyTest.exe" />
            </uap3:AppExecutionAlias>
        </uap3:Extension>
    </Extensions>

(where "App231" is the name of the app/project and "MyTest.exe" is the alias to use to launch the app.)
Either set of extension (aliases) work the same.

In App.xaml.cs add

    protected override void OnActivated(IActivatedEventArgs args)
    {
        base.OnActivated(args);

        Frame rootFrame = Window.Current.Content as Frame;

        if (rootFrame == null)
        {
            rootFrame = new Frame();
            rootFrame.NavigationFailed += OnNavigationFailed;
            Window.Current.Content = rootFrame;
        }

        rootFrame.Navigate(typeof(MainPage));
        Window.Current.Activate();
    }

Here's how I got it working in a WinUI Desktop app:

In App.xaml.cs of the main project, add:

    protected override void OnActivated(IActivatedEventArgs args)
    {
        base.OnActivated(args);

        if (args.Kind == ActivationKind.CommandLineLaunch)
        {
            m_window = new MainWindow();
            m_window.Activate();
        }
    }

In Package.appxmanifest (of the "Package" project)

Add the alias xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
Add this below </uap:VisualElements>

    <Extensions>
        <uap5:Extension
                Category="windows.appExecutionAlias"
                EntryPoint="Windows.FullTrustApplication">
            <uap5:AppExecutionAlias>
                <uap5:ExecutionAlias Alias="MyDesktopTest.exe" />
            </uap5:AppExecutionAlias>
        </uap5:Extension>
    </Extensions>

(where "MyDesktopTest.exe" is the alias to use to launch the app.)
This also works with uap3 and desktop as above.
Important points of note:

Using the method with EntryPoint="Windows.FullTrustApplication" requires the restricted runFullTrust capability which cannot be used with apps distributed through the store. If using/distributing the app separately this might not be an issue. The packaging project includes the runFullTrust capability by default in the (current) project templates.
I tested with WinUI3-Preview4, using VS16.9.0 Preview 4.0, on Windows Insider Preview 21296.1010

Hello!
My attempts to get these solutions to work in Project Reunion desktop app have failed.
Windows 20H2 (OS Build 19042.867)
Microsoft.ProjectReunion (0.5.0-prerelease)

@mrlacey does your solution work with ProjectReunion?

@StephenLPeters I've just run through my steps above and I can confirm that they work for me with the ProjectReunion0.5-preview packages and templates.
It would be nice if WinUI had an automated test to verify this functionality, rather than rely on manual testing for regressions ;)

It would be nice if WinUI had an automated test to verify this functionality, rather than rely on manual testing for regressions ;)

Yes, totally agree! @kmahone and @Austin-Lamb .  Thanks for confirming that :)
@borzillaR do you want to take a closer look or provide more info about your scenario?

@StephenLPeters, I ran my app in the power shell. Now I launch it though the command prompt and it successfully showed. Should I use a different syntax to run my app through the power shell?

@BorzillaR you have to have run the app at elast once before being able to launch from the alias. Is that the issue you were having?

@mrlacey, no, I am talking about another issue.
After the first run I  do the following steps
Open a command line.
Type MyDesktopTest.exe in the console.
The app starts successfully.
Then open a Power Shell window.
Type MyDesktopTest.exe there.
The app does not start at all.
Thats the issue.

@BorzillaR  this looks to be a PowerShell specific issue and not at all related to the issue originally reported here.
Just typing MyDesktopTest.exe would never be expected to work. PowerShell will not launch an executable when you pass it an executable name the way it does in other consoles/terminals.
In theory using the call operator (&) should work e.g. & MyDesktopTest.exe but this doesn't work and may be worth logging as a PowerShell issue.
However, using Process-Start does work to launch an application from an alias e.g. Process-Start MyDesktopTest.exe.
Hopefully this unblocks you.

@mrlacey, I agree with you. This issue is not related to the original subject. The reason, I decided that it does not work, was I use the Power Shell console in my daily work. I could not imagine that the command line console would work better than Power Shell ))))
Anyway, it is strange that I can execute winver.exe from the Power Shell (whether by its name or by Start-Process) but I cannot execute MyDesktopTest.exe the same way. Another strange thing, when I type the command, which does not exist, I see a specific error in the response, but when I type MyDesktopTest.exe, there is no response. Looks like the app is launched but silently crashes.

In the command line, all work as expected.

And thank you @mrlacey for the precise and clear instructions. It was very helpful for me.

@BorzillaR you have to have run the app at elast once before being able to launch from the alias. Is that the issue you were having?

Could you elaborate a bit more on this?


Add :mgem gem loading.

This pull request adds :mgem gem loader to load mrbgem from mgem-list.
And it will support auto mrbgem dependencies solving from mgem-list and core mrbgems too.

wow :+1:


feat: remove temp directory

This is a part of the following PRs:

sapientml: feature/remove_tmp_dir
core: feature/remove_tmp_dir

@kimusaku Lint fails on GitHub although it passes locally. Could you review it?


SSDO-5989 send datadog events instead of relying on crond log processing

 All committers have signed the CLA.


Add: Link to the data from BHRRC

I'd like our website to show for each company the data points related to this company from the BHRRC.
Compare for example here:
https://www.business-humanrights.org/en/companies/abb/

[ ] discuss cahit<>david
[ ] write down approach, how to integrate the data.
[ ] exchange with or at least inform BHRCC
[ ] implement


Creating UserFields?

I see the method getUserFields(), but what about createUserFields()? Does the client have that capability?

No, Listing User Fields is the only supported endpoint.


Improve resolve error information.

When a resolve failed at the stage of determining roots it left alot
of context on the floor. Add that context in the error message when
available.

This is motivated by making a hard to debug macOS / CI specific issue here: https://github.com/pantsbuild/pants/pull/11773/checks?check_run_id=2162600254#step:9:87 easier to debug.


LocalSend exits unexpectedly after minimized to the tray

LocalSend: 1.6.0
OS: Windows 10 22H2 (19045.2486)
Steps to reproduce:

Launch LocalSend and change the settings to allow minimizing to the tray upon close
Close LocalSend
Observe that the LocalSend icon stays in the tray
Wait for 30~60 seconds
Observe icons from the tray

Expected result:
LocalSend's icon should remain in the tray and the app should function normally.
Actual result:
LocalSend's icon disappears from the tray and the Windows machine could not be found from LocalSend from other devices.
Other factors (may be irrelevant)

Chrome is running
The machine has a multi-monitor setup
LocalSend is set to launch at Windows startup

Thanks for mentioning this issue!
I have fixed this problem and will release a hotfix v1.6.1 soon.

This should be fixed in v1.6.1 now, let me know if it still occurs


feat(tensorrt_yolo): add multi gpu support to tensorrt_yolo node

Signed-off-by: Kaan Colak<EMAIL_ADDRESS>Description

Build top of #736
Resolves #736
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

is there anyone from TierIV who has a multiple-GPU computer? This PR is ready for review.

@aohsato @yukkysaito @miursh @yukke42 Could you assign an appropriate reviewer? :pray:

For example,
Step = Pointcloud size / sampling number
for (i) {
  pointcloud.at(Step * i)
}


Add ability to inject conjur-access-token volume mounts

When injecting the authenticator sidecar the app containers require access to the conjur-access-token volume that the authenticator writes the access token to. This commit provides a mechanism for injecting access token volume mounts as part of the sidecar injector process. An operator is able to specify the candidate containers by specifying their names as a comma separated string under the annotation sidecar-injector.cyberark.com/conjurTokenReceivers.

Connected to #25

@izgeri Turns out there was no CHANGELOG. I've just added one


A config (or page?) setting for a navbar logo

See page setting navbarBrand.

Thank you. Verified that it works.
Also noticed that when I added text after the image the system shows them vertically stacked, instead of horizontally. Any idea how to overcome that ?
For clarity, the navbar was rendered as
    logo   item1 item2
    text

whereas I had expected
    logo text item1 item2 ...

I don't know the answer offhand but I would try to wrap both the image and
the text in a single  and apply the CSS class "pull-left" to it.
Sent from my mobile device.

Ok.

Yes, that worked, mostly. The vertical alignment was still off, until I reduced the logo to 20x20.
I will have get a better understanding of bootstrap here to see how a lrger logo can be made to work.
Also found
http://stackoverflow.com/questions/18474564/bootstrap-3-navbar-with-logo
and am currently reading that.

Back to 30x30, and styling for positioning. Looks ok now.
Oh, with that I can use the regular logo and let the browser scale it down!
Good. Happy now.

Instructions on how to accomplish this may be good material for the wiki.
--
Sent from my mobile device.
On Jan 24, 2015 3:23 AM, "Andreas Kupries"<EMAIL_ADDRESS>wrote:

Back to 30x30, and styling for positioning. Looks ok now.
Oh, with that I can use the regular logo and let the browser scale it down!
Good. Happy now.
—
Reply to this email directly or view it on GitHub
https://github.com/dbohdan/tclssg/issues/31#issuecomment-71293483.


query does not cover 'acq' and 'rec'

Playing around with a dataset that has different acq for the bold data and I realized that bids.query does not cover that parameter (nor rec).
It would be useful to have the possibility to just do:
fullbrain_bold_ls = bids.query(BIDS, 'data', 'sub', '01', 'type', 'bold', 'acq', 'fullbrain').
acq and rec are already listed in the structure returned by layout should it should be fairly straightforward. @gllmflndn you know those functions better so do you want to have a go or should I have a crack at it?

Hi @Remi-Gau,
The code would deserve serious refactoring and documenting but this feature should already be available. It is implemented here:
https://github.com/bids-standard/bids-matlab/blob/master/%2Bbids/query.m#L77-L81
I just tried on the example dataset 7t_trt and it seems to work for me:
>> bids.query(BIDS,'data','sub','01','ses','1','type','bold','acq','fullbrain')

ans =

  2x1 cell array

    {'/BIDS-examples/7t_trt/sub-01/ses-1/func/sub-01_ses-1_task-rest_acq-fullbrain_run-1_bold.nii.gz'}
    {'/BIDS-examples/7t_trt/sub-01/ses-1/func/sub-01_ses-1_task-rest_acq-fullbrain_run-2_bold.nii.gz'}

Do you get an empty output for the same query?

Hum... Not sure what I did yesterday evening but it threw an error that I am not able to reproduce now... I will close the issue and file it under PIBKAC.


Prep release 3.7.0

I have divided this in 2 commits so the tag that goes to master do not list features that are not present there.

This PR is not raised between the right branches. I am closing it and will re-raise differently.


Map: Labels arrows don't change direction when click on them

Issue Description

Open https://www.freecodecamp.org/map
You see all menus expanded, click on any to collapse it

Expected: Arrow directed right and collapsed menu
Actual: Arrow directed down and collapsed menu
When you click on "Expand/Collapse all chalenges" button everything works fine and arrows changes it's directions.
Same repeats when map occurs as slide window on the right side.
Browser Information

Browser Name, Version: Opera 48.0.2685.39
Operating System:  Windows 10 64 bit
Mobile, Desktop, or Tablet: Desktop

Screenshot

Anyone looking into this please make a change against backup/master

Is it okay if I work on this ?

@dshubhadeep sure!

is this issue still open? may i fix this?

@sanatankc; unfortunately @JustusFT has grabbed that one!
If you still want to help out, check any of the issues with the help wanted label, read our Contributing Guide and  feel free to ask for help in our Contributors Gitter room.

Is this topic still open?

Closing this issue as the fix seems to have been merged. Thanks everyone! :)
https://github.com/freeCodeCamp/freeCodeCamp/pull/16038


CocoaPod metrics not updated today?

migration of https://github.com/CocoaPods/CocoaPods/issues/5407

[x] I've read and understood the *CONTRIBUTING guidelines and have done my best effort to follow.

Report
What did you do?
Invoked https://metrics.cocoapods.org/api/v1/pods/Firebase.json
What did you expected to happen?
Expected to see updated stats for today
What happened instead?
It showed me the exact same stats today as it did yesterday, except for the updated_at field which changed (to "2016-05-25 09:03:31 UTC"). This is the first time this has happened in the one week I've been monitoring the stats (in particular the app_total field).
CocoaPods Environment
N/A
Project that demonstrates the issue
https://metrics.cocoapods.org/api/v1/pods/Firebase.json

Since https://github.com/CocoaPods/stats.cocoapods.org/issues/12 we've not seen any times when the data hasn't been updated every day

^ we only get rows in this table once all requests have been made, so right now I'm not sure why


Sentinel: refactorize to use ::redis

In previous commits, usage of redis::sentinel made impossible to run
::redis class which is the Puppet way to run this module.
This patch keeps feature parity but clean-up the implementation to use
::redis and configure Sentinel with the same configuration file as
regular system.
The rspec tests show that we can use ::redis and have Redis Sentinel
configuration that is expected.

Does this still preserve the ability to run a sentinel without running a redis server? Separate configs and services was a goal of my original patches.
Also, does it ensure required write perms on conf file?
I'm in bed on my phone, otherwise Id check. Will check things out tomorrow.

Also with the exec cp removed, each time puppet is run sentinel's state, which is kept in the conf file, will be lost.
That or a similar mechanism must be in place. It is why sentinel+puppet is so messy.

@cdent yes, you can run sentinel without running a redis server thanks to "service_name" which will only manage redis-sentinel service.
Same for write perms on config file, look at unit tests I did.
Separate config is a bit hacky, same for doing a "cp" in a manifest. I never saw this before.
As far I understand, Sentinel is a service that runs a config, exactly like does Redis.
Look at the unit tests I wrote and you'll see you have the same result by using ::redis class with the right parameters.

Separate config is a bit hacky, same for doing a "cp" in a manifest. I never saw this before.
As far I understand, Sentinel is a service that runs a config, exactly like does Redis.

I'll do some testing on the other issues, but this problem with the cp is something we'll need to figure out. Maybe your changes cover it (I'll see in the testing) but for reference here is more information.
From the sentinel docs:

You only need to specify the masters to monitor, giving to each separated master (that may have any number of slaves) a different name. There is no need to specify slaves, which are auto-discovered. Sentinel will update the configuration automatically with additional informations about slaves (in order to retain the information in case of restart). The configuration is also rewritten every time a slave is promoted to master during a failover.

This means that the after the sentinel server boots up and starts looking at masters and learning about slaves it will change the config file. The next time puppet runs, because the config file is managed, those changes will be lost, and the service will be restarted, disrupting the sentinel's management of its own state.
Thus we end up with the hacky solution: cp with two files. The sentinel.conf.puppet is the managed file. Only when it changes (with intentional admin changes) is it copied to the actual sentinel configuration file (and the service restarted).
There may be a better solution, but it has to be something that allows sentinel to write to its own config without disruption.

I've started my testing, the initial problems to stand out following, using this simple test.pp:
class { 'redis':
  sentinel_enabled          => true,
  service_name              => 'redis-sentinel',
  sentinel_master_name      => 'cow',
  sentinel_master_host      => '<IP_ADDRESS>',
}

On rpm-based systems the systemd unit file is pointed at /etc/redis-sentinel.conf which means that the changes caused by these puppet manifests are not seen upon service restart
The /etc/redis.conf file is owned by root but the redis-sentinel process is running as redis, so it can't write its state (not that this matters because of the item above)
There is a redis-sentinel running, but it is monitoring the wrong host.
The generated redis.conf has the correct information in it, but it is not being used because of the unit file issues described above.

I haven't had a chance to check on deb-based systems but will do so shortly.

@EmilienM and I talked about this morning in IRC and made some progress on figuring out what needs to happen. There were three basic conclusions that we hope to address later today:

The fact that sentinel writes to its own config needs to be addressed, but there may be a more puppetish way to do it than my exec resource.

If sufficient configuration parameters are passed to the redis class a working sentinel will start.

The extent of parameters required goes against the "reasonable defaults" attitude that this module has so additional refactoring will be required. It ought be possible to start a sentinel by saying:

I want a sentinel
I want it monitoring this master

and not needing to pass in parameters which otherwise have defaults in params.pp

Another question @EmilienM: Using this style, how do I declare in one manifest that I want to run both a redis-server and redis-sentinel on the same host? If I add another class { 'redis': } I get a duplicate declaration error. We need to be able to run both.

I think we should keep your implementation and fix the resource duplication: https://github.com/arioch/puppet-redis/pull/20


Add rflorenc & berkeragir as CoP members

Resolves #343 & resolves #344

/approve
/assign @sabre1041

/lgtm


Delete Messages

Fixes #55 #68
Message can be deleted by user who posted them either on their page or on the country page
Important: Before running, you must run
mvn clean

This is because I had to add a property (ID) to the datastore, so old messages do not contain this property and therefore deletion does not work on them

Nevermind, not ready yet

I had forgotten to cleanout old messages.  Not that this still contains issue #76 . This checks for valid user on deletion of messages. Additionally,from this PR there is no way to get to country page besides manually changing the URL to "/country/AD" (Andorra) such as   "/country/US" (United States) or  "/country/AR" (Argentina). Grace's PR #71  should fix this, I think


GraphQL User details.

Converts user details to graphql, including querying for roles in categories.
This sets the stage for adding the new modal with the category user role listing.

          1 Warning

:warning:
Please provide a linked tracker story for this PR in the description

  Generated by :no_entry_sign: Danger


Mark package as development dependency

This change marks the NuGet package as development dependency. This causes a different PackageReference entry to be generated in the project file when it is installed:
<DevelopmentDependency>false</DevelopmentDependency>:
<PackageReference Include="AspNetCore.SassCompiler" Version="1.51.0" />

<DevelopmentDependency>true</DevelopmentDependency>:
<PackageReference Include="AspNetCore.SassCompiler" Version="1.51.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

This in turn makes sure that the AspNetCore.SassCompiler.dll does not end up in the published build result of projects simply referencing it for development purposes.
See also: https://docs.microsoft.com/en-us/nuget/reference/nuspec#developmentdependency

I've looked at whether we can add that to the csproj before but ended up not adding it because it would break the ASP.NET Core watcher hosted service. When this property is added, the compiled assets of the nuget are not included in the compilation which means the hosted service is not available so it would essentially remove the watcher functionality.
I've tried to work around this for Blazor WASM by making the dll trimmable, so when you publish the Blazor app it should not include the dll in the publish folder because the code doesn't reference it.

If have not considered this since we are not using the watcher functionality. When building and publishing our Blazor server app, the AspNetCore.SassCompiler.dll does end up in the final output, though. We have not turned on trimming, however, so that might be the cause for this behavior. But this can easily be solved on our side by manually adding <PrivateAssets>all</PrivateAssets>, so no problem.


Errer, timeout by the Mysql login

When i start my Lobby Server the Console says that:
https://hastebin.com/lerugurada.md
and Than he stops to start

I replied on Discord.

I dont ask it to you,i dont have even discord

The log you posted here is identical to the one a user sent me on Discord.
Anyway, my reply was "does it happen after every startup, or only once?"

it happens at every Server start

Can you try with the latest build from here please: https://ci.lucko.me/job/LuckPerms/

I try it , when it doesnt work i write it in here

Same Problem
https://hastebin.com/zunetohewi.md

here is also the Latest Log
https://hastebin.com/utivukizug.md

That's still an initial startup.

but how i fix it/ where why is the error happening

in the Latest log can you see that he trys to download Drivers but failed, can i download then
manually or do something else ?

do you know from where the Error is ore something other to fix it ?

The drivers are being downloaded fine. I don't really understand the issue with the duplicate entries though.
You still haven't answered my question clearly, does this happen after every startup, or only when you run the plugin for the first time?

when i start the Server LuckPerms is loading, than i see the error Message and than it stops to start the Server

Alright, couple of questions:

Have you modified the table prefix setting in the config?
Have you tried to modify the database manually previously?
Which database server are you using?

1.I dont modify anything in the config, only the Login for the Database
2.What do you mean with this ?
3. MySQL

2.What do you mean with this ?
Have you manually edited anything in the DB, or used some tool to change the data directly?

Feel free to reopen if this is still an issue.