Update guid samples

@Youssef1313 I'm closing this PR. As I said https://github.com/dotnet/samples/pull/1654#discussion_r337670053 the methods Guid.NewGuid and Guid.Parse are clearly named factory methods that return a Guid. That is clear to most readers, and the use of var is fine.
The guideline of "its use is clear" is somewhat subjective. In this instance, I asked a few colleagues for their opinion, and we all agree that this use is clear.

@BillWagner, Actually one of the changes made was to use var.
For the other changes:
My understanding of using var when the type is "obvious" is that it's obvious by a C# language rule. Like Guid x = new Guid(..);.
I think @stephentoub may confirm what's exactly meant by "obvious" and he may update the style guide in corefx repo to make it more clearer.

I think @stephentoub may confirm what's exactly meant by "obvious"

An explicit cast (T) or a new T(...).

So your recommendation would be to reopen this and accept the changes, correct @stephentoub?

Personally I like the change, and it better conforms to the style guidelines we have for code in corefx (which we don't conform to 100%, but we're incrementally getting there).  That said, everyone has their own style and opinions.  The more important thing is that the docs are internally self-consistent, whatever style it settles on.

Thanks for clarifying @stephentoub. I was hasty in closing this.
Whether or not to use var is one of the more controversial guidelines. There are analyzers that convert to var, and analyzers that convert to an explicit team. They are both very popular.
My main concern is to avoid repeated changes that add var / remove var and so on. Historically, we've avoided that.
I"ll reopen and merge this.


Support homebrew installed dapr

Homebrew is one of the supported installation options ( https://docs.dapr.io/getting-started/install-dapr-cli/#install-from-homebrew ), but does not work with aspire.
fork/exec /usr/local/bin/dapr: no such file or directory

which dapr
/opt/homebrew/bin/dapr

cc @philliphoff

@davidfowl sure, I can do that

Just adding a note that, in the meantime, one can configure Aspire to point to an arbitrary path for the Dapr CLI, using the DaprPath property of the DaprOptions type.  That said, given it's a documented means of acquiring Dapr, the Aspire logic should look for it there if not found elsewhere (on MacOS).

@philliphoff Ok, also added some flexibility around user-installed paths (i.e. "Installing a specific CLI version without sudo")

This is still an issue in preview 2

That’s right it wasn’t fixed in preview 2

I feel like there's an echo in here 🤭


Chunk data is broken.

Chunk data looks like it was never tested. Have been trying for a few hours now and it absolutely is broken, and even older revisions did not work, I have written some isolated examples to prove it.
Here's a simple extraction of the code used to set and restore the vec from the preset data, clearly showing the references point off into space.
use std::os::raw::c_void;

fn main() {
    let chunks = vec![11_u8, 22_u8, 33_u8];
    println!("chunks = {:?}", chunks);
    let len = chunks.len() as isize;
    let ptr: *mut *mut c_void = &mut (chunks.into_boxed_slice().as_ptr() as *mut c_void);
    println!("reading back..");
    let new_chunks = unsafe { std::slice::from_raw_parts(ptr as *mut u8, len as usize) };
    println!("new_chunks = {:?}", new_chunks);
}

This tries to transmute and recover the data from the raw pointer using the same functionality as the code, and I'm getting the same kind of output in the plugin. The size of the array is correct (send independently of ptr) but it points to nothing. example output:
rob@tato ~/P/dd-plugs> rustc test.rs & ./test
chunks = [11, 22, 33]
reading back..
new_chunks = [8, 80, 33]

rob@tato ~/P/dd-plugs> rustc test.rs & ./test
chunks = [11, 22, 33]
reading back..
new_chunks = [8, 80, 129]

Each time returning different numbers (eg. pointers off to random data). Looking at it, I'm not sure how it was supposed to work to begin with, I mean, it seems to be stored as a *mut *mut c_void pointer to a Box, and recovered as an unboxed slice...?

I've determined the bug, all of the code was broken in the GetData opcode.
First, the memory was being freed, so you need to mem::forget(chunks) on a vec. It's owned data.
Second, chunks.shrink_to_fit() prevents the need to slice on save.
Third, *(ptr as *mut *mut c_void) = chunks.as_ptr() as *mut libc::c_void; works as the actual data assignment to the ptr ref.
I'd PR but I think this repo is kinda dead.

I'll keep the issue open as it is still a bug...


Mark flutter_gallery__transition_perf as non-flaky

One of our linux/android Moto G4 has alerts (emergency, amber, etc.)
turned on. That's probably the cause of the flakiness. I've turned it
off.
Let's mark this as non-flaky and see if it's fixed. If not, I'll move it
to mac/android and see if that fixes the flakiness.
I think the most important thing to do right now is to mark it as
non-flaky so those who really break the test could get a notification.
See https://github.com/flutter/flutter/issues/39419

This test was basically consistently red before this change was made so there was no evidence that it would perform reliably.
A better solution would be to fix what you think is the problem, then let it continue to run as a flaky test and wait for it to consistently show green and then and only then, remove the flaky flag.

Thanks Jim for the suggestion! We've being trying to fix it since yesterday (see discussions in #hackers-engine channel, but haven't succeeded yet. We decided that this is such an important test, and it's right now indeed reliably failing instead of being flaky. Therefore it should mark the tree as red to block future commits. That's why we turned it to non-flaky.

The importance of the test wasn't mentioned in the main description above. Unfortunately this is blocking commits for other known problems.

Manually rerunning the failed tests is causing them to pass. Isn't that the definition of "still flaky"?

@flar : please see this announcement in the tree-status channel for its importance.
The successful run is not just a simple manual-rerun. We've brought linux1 and shut down linux2 to make the test successful. The test is, AFAIK, still consistently failing on linux2. As now linux1 is giving green light to this test, I think it should no longer block any commits.

BTW, if the commits of other known problems need to be fixed urgently, feel free to merge on red. Otherwise, maybe it's better to wait 😄

Until we know why it works on one system and not the other - isn't that, again, the definition of "flaky"?

I'm not sure how it's defined elsewhere. In Flutter, it's defined as

If a test is flakey, that test is a FAILING test which occasionally passes.

In my opinion, this test is either:

a successful test that never gets passed (recently) due to some infra issues
a failing test (due to infra issues) that never gets passed recently.

Whether it's flaky or not, I think we need to do the following:

Mark it as non-flaky in our system, so if a new commit makes it fail on linux1, a red flag should be raised. (If mark as flaky, that commit would get away.)
Figure out why linux2 is given a hard time to this test. According to my meeting with the infra team yesterday, this seems to be not uncommon. They're re-imaging the host machines every 2 weeks or so to avoid this kind of mystery issues.


HUSH-358 hush-sensor: add support for custom criSocketPath

There are cases when snoopy cannot auto-detect CRI socket path.
Add support for specifying a custom path on the Host.
Map the directory of the path read-only. This is done to allow snoopy
to reopen the socket in case it is recreated on the Host.
Pass the mounted path to snoopy via configuration.

Revision 1
Compare

0..1

CC @horomena @sladkani

Moving this to Draft until Revision 2

Revision 2
Compare

1..2
0..1, 0..2

CC @horomena @sladkani @moshe-hush


UnhandledPromiseRejectionWarning: Error: Returned error: out of gas

This code returns "UnhandledPromiseRejectionWarning: Error: Returned error: out of gas".
Any idea why?
const { Multicall } = require('ethereum-multicall');
const Web3 = require('web3');
const { abi } = require('../metadata/abi');

const options = {
  timeout: 10000, // ms
  reconnect: { auto: true, delay: 1000,  maxAttempts: 5, onTimeout: false }
};
const provider = new Web3.providers.HttpProvider('ADDRESS HERE');
const web3 = new Web3(provider, options);
const multicall = new Multicall({ web3Instance: web3, tryAggregate: true});

async function main() {
  const tokenIDs = Array.from({length: 296}, (_, i) => i + 1900);
  const calls = tokenIDs.map((token_id) => { return { methodName: 'tokenByIndex', methodParameters: [token_id] }; });
  const contractCallContext = [{ reference: 'contract', contractAddress: '0x160c404b2b49cbc3240055ceaee026df1e8497a0', abi, calls}];
  const results = await multicall.call(contractCallContext);
  const extract = results.results.contract.callsReturnContext.map((r) => r.success ? web3.utils.hexToNumber(r.returnValues[0].hex) : null);
  console.log(extract);
}

main();

I was under the impression the code should not fail with tryAggregate: true?

Are you trying to call a state changing method here?

Are you trying to call a state changing method here?

Thanks for fast response! I am calling standard "tokenByIndex" which exists in ERC20 contracts as read method:
https://etherscan.io/address/0x160c404b2b49cbc3240055ceaee026df1e8497a0#readContract

Ok first web3 user here normally ethers users haha
let me try to run this code tomorrow and come back to you.. you are just using a infura or alchemy normal node right? I’m guessing the interface it tried to execute using web3 is a bit off as that error tends to be trying to call a method which is state changing logic (hence out of gas shizzle) but web3 generic error messaging may be this! Will look at fix it tomorrow time thanks for raising

Can you confirm which web3 version you are using as well please?

Can you confirm which web3 version you are using as well please?

Thanks! its this
"web3": "^1.7.1"

you are just using a infura or alchemy normal node right?

Yes correct!

Can you try to delete web3Instance for me and pass in nodeUrl instead? (Not on computer but if that works it be down to the web3 version I reckon and could make you carry on without this blocking you).
const multicall = new Multicall({ nodeUrl: INSERT_HERE, tryAggregate: true});
Let me know the outcome

Sure outcome didn't all fit in terminal, but:


IP routing using tc

Hi, I am trying to perform IP routing using tc. I am taking guidance from two repos : lb-from-scratch and ebpf-networking. The client and backend are running in containers on my system and the load balancer(LB) is receiving packets on the docker0 interface.
However, when connection is initiated from client to LB, the client continuously retries sending the first SYN packet. Below is the bpf kernel code:
#include <bcc/proto.h>
#include <linux/bpf.h>
#include <uapi/linux/bpf.h>
#include <linux/if_ether.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/pkt_cls.h>
#include <linux/icmp.h>

#define IP_ADDRESS(x,y,z,w) (uint32_t)(x + (y << 8) + (z << 16) + (w << 24))
#define IS_PSEUDO 0x10

struct address{
    unsigned char mac[6];
    uint32_t ip;
    u16 port;
};

#define IP_CSUM_OFF (offsetof(struct iphdr, check))
#define TCP_CSUM_OFF offsetof(struct tcphdr, check)

static __always_inline void change_address_and_update_crc(
    struct __sk_buff * skb,
    struct address * addr,
    struct ethhdr * eth,
    struct iphdr * ip,
    struct tcphdr * tcp){

    int flags = IS_PSEUDO;
    uint32_t orig_src_ip;
    uint64_t orig_src_mac;
    u16 orig_src_port;

    orig_src_mac = (unsigned char)(eth->h_source);
    orig_src_ip = ip->saddr;
    orig_src_port = tcp->source;

    eth->h_source[0] = eth->h_dest[0];
    eth->h_source[1] = eth->h_dest[1];
    eth->h_source[2] = eth->h_dest[2];
    eth->h_source[3] = eth->h_dest[3];
    eth->h_source[4] = eth->h_dest[4];
    eth->h_source[5] = eth->h_dest[5];
    ip->saddr = ip->daddr;
    //tcp->source = tcp->dest;

    uint32_t dst_ip = (*addr).ip;
    u16 dst_port = (*addr).port;
    eth->h_dest[0] = (*addr).mac[0];
    eth->h_dest[1] = (*addr).mac[1];
    eth->h_dest[2] = (*addr).mac[2];
    eth->h_dest[3] = (*addr).mac[3];
    eth->h_dest[4] = (*addr).mac[4];
    eth->h_dest[5] = (*addr).mac[5];
    ip->daddr = (*addr).ip;
    //tcp->dest = (*addr).port;

    bpf_trace_printk("AFTER CHANGING\n");
    bpf_trace_printk("src mac address [0-2] : %u %u %u\n", eth->h_source[0], eth->h_source[1], eth->h_source[2]);
    bpf_trace_printk("src mac address [3-5] : %u %u %u\n", eth->h_source[3], eth->h_source[4], eth->h_source[5]);
    bpf_trace_printk("dst mac address [0-2] : %u %u %u\n", eth->h_dest[0], eth->h_dest[1], eth->h_dest[2]);
    bpf_trace_printk("dst mac address [3-5] : %u %u %u\n", eth->h_dest[3], eth->h_dest[4], eth->h_dest[5]);
    bpf_trace_printk("ip addresses : %u %u\n", ip->saddr, ip->daddr);
    bpf_trace_printk("ports : %u %u\n", tcp->source, tcp->dest);

    bpf_l4_csum_replace(skb, TCP_CSUM_OFF, orig_src_ip, dst_ip, flags | sizeof(dst_ip));
    //ip->check = iph_csum(ip);
    bpf_l3_csum_replace(skb, IP_CSUM_OFF, htons(orig_src_ip), htons(dst_ip), 4);
    //bpf_l4_csum_replace(skb, TCP_CSUM_OFF, orig_src_port, dst_port, 2);
}

int tc(struct __sk_buff * skb){
    int key=0;
    struct address client_addr, server_addr;

    server_addr.ip = IP_ADDRESS(172,17,0,2);
    server_addr.port = 8000;

    server_addr.mac[5] = 0x02;
    server_addr.mac[4] = 0x00;
    server_addr.mac[3] = 0x11;
    server_addr.mac[2] = 0xac;
    server_addr.mac[1] = 0x42;
    server_addr.mac[0] = 0x02;

    client_addr.ip = IP_ADDRESS(172,17,0,3);
    client_addr.port = 8000;

    client_addr.mac[5] = 0x03;
    client_addr.mac[4] = 0x00;
    client_addr.mac[3] = 0x11;
    client_addr.mac[2] = 0xac;
    client_addr.mac[1] = 0x42;
    client_addr.mac[0] = 0x02;

    bpf_trace_printk("pckt rcvd\n");
    void *data = (void *)(long)skb->data;
    void *data_end = (void *)(long)skb->data_end;
    struct ethhdr *eth = data;
    if ((void *)eth + sizeof(*eth) <= data_end)
    {
        struct iphdr *ip = data + sizeof(*eth);
        if ((void *)ip + sizeof(*ip) <= data_end)
        {
            if (ip->protocol == IPPROTO_TCP)
            {
                struct tcphdr *tcp = (void *)ip + sizeof(*ip);
                if ((void *)tcp + sizeof(*tcp) <= data_end)
                {
                    if(tcp->dest==ntohs(8000)){
                        uint64_t src_mac, dst_mac;
                        uint32_t src_ip, dst_ip;
                        u16 src_port, dst_port;
                        bpf_trace_printk("BEFORE CHANGING\n");
                        bpf_trace_printk("src mac address [0-2] : %u %u %u\n", eth->h_source[0], eth->h_source[1], eth->h_source[2]);
                        bpf_trace_printk("src mac address [3-5] : %u %u %u\n", eth->h_source[3], eth->h_source[4], eth->h_source[5]);
                        bpf_trace_printk("dst mac address [0-2] : %u %u %u\n", eth->h_dest[0], eth->h_dest[1], eth->h_dest[2]);
                        bpf_trace_printk("dst mac address [3-5] : %u %u %u\n", eth->h_dest[3], eth->h_dest[4], eth->h_dest[5]);
                        bpf_trace_printk("ip addresses : %u %u\n", ip->saddr, ip->daddr);
                        bpf_trace_printk("ports : %u %u\n", tcp->source, tcp->dest);

                        if(eth->h_source[5]==0x03){ //packet from client to server
                            bpf_trace_printk("CLIENT TO LB TO BACKEND\n");
                            change_address_and_update_crc(skb, &server_addr, eth, ip, tcp);
                            //bpf_redirect(6, 0);
                            return TC_ACT_REDIRECT;
                        }
                        else{
                            bpf_trace_printk("BACKEND TO LB TO CLIENT\n");
                            change_address_and_update_crc(skb, &client_addr, eth, ip, tcp);
                           // bpf_redirect(8, 0);
                           return TC_ACT_REDIRECT;
                        }
                    }
                }
            }
        }
    }
    return TC_ACT_OK;
}

I'm not sure what I'm missing. For the checksum, I feel using the bpf helper functions bpf_l4_csum_replace and bpf_l3_csum_replace should be sufficient. In some other articles, I have read not to change the checksum at all.

I Tried rerouting with XDP and its working. It uses the action XDP_TX.
Not sure how TC_ACT_REDIRECT work exactly.
Does routing work in case of tc in same way as xdp or some additional steps involved?


Add CODECOV_TOKEN to autowarefoundation repositories

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description
Transitioning from codecov/codecov-action@v3 to codecov/codecov-action@v4, a token is required.
I've added an organization wide CODECOV_TOKEN variable that is accessible through token: ${{ secrets.CODECOV_TOKEN }}.
This will work for all https://app.codecov.io/github/autowarefoundation repositories.
Forks won't need the token, they are handled automatically:

https://docs.codecov.com/docs/codecov-uploader#if-youre-using-the-action

Definition of done

I've updated all tokens for v4 for autowarefoundation organization.


fix: CORS fails if allowed origins contain upper case letter

Pull Request Checklist
Task Description/Number
Issue Number: DEV-1801
Basic Requirements
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] fix: represents bug fixes
[ ] refactor: represents production code refactoring
[ ] feat: represents a new feature
[ ] docs: documentation changes (no production code change)
[x] chore: maintenance tasks (no production code change)
[ ] test: all about tests: adding, refactoring tests (no production code change)
[ ] other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No
[ ] Maybe (not 100% sure => check with FE)

Does this PR change client-test-data?

[ ] Yes (don't forget to update the JS-LIB team about the change)
[ ] No

not sure, if this should be labeled fix or chore


Allow ArgumentProviders be passed as Test Jvm arguments

@lptr There may still be a problem with CommandLineArgumentProvider: https://github.com/gradle/gradle/blob/5437b0fc69e636b77f3f3ffec9f3acbf1ae56591/subprojects/core-api/src/main/java/org/gradle/process/CommandLineArgumentProvider.java#L27-L32
Currently, asArguments is returning an Iterable<String>. The problem here is that you can implement this interface in Groovy, and actually return a List<GString> without getting any warnings:
class MyApplicationJvmArguments implements CommandLineArgumentProvider {
    @InputFile
    @PathSensitive(PathSensitivity.NONE)
    File inputFile

    @Override
    Iterable<String> asArguments() {
        return ["-Dinput.file=\${inputFile.absolutePath}"]
    }
}

We could make this more convenient from Groovy by having asArguments return Iterable<?> and then call toString() on all the elements.
We actually do this for jvmArgs already: https://github.com/gradle/gradle/blob/5437b0fc69e636b77f3f3ffec9f3acbf1ae56591/subprojects/core-api/src/main/java/org/gradle/process/JavaForkOptions.java#L142-L147

@adammurdoch Could you have a look at the public API we are introducing in this PR? Especially if you have a better idea than to introduce the new interface ConfigurableJavaForkOptions.


Build KG-IDG dashboard

It would help with sanity checks to have some basic graph visualization. We have a few options, any or all of which may be appropriate:

Load merged graph into Neo4j
Load merged graph into Ensmallen/Embiggen and cluster based on node/edge type
Build dashboard as per https://knowledge-graph-hub.github.io/kg-covid-19-dashboard/ and https://github.com/Knowledge-Graph-Hub/kg-covid-19-dashboard

The second item is part of #35 and Neo4J loading is a major commitment, so the most immediately achievable goal here is to assemble a dashboard. Changing title accordingly.

Complete - see http://kghub.org/kg-hub-dashboard/


osX

Dear all,
I have installed nocturn on my osX 12.6 using brew and unfortunately it appears I cannot login .
The app login correctly, I am asked for the 2FA, I input the code, and then I am asked for the login again etc etc (tried 4 times)

So, I got a similar report in https://github.com/k0kubun/Nocturn/issues/115 (I'm sorry it was reported not in English), and the problem is that I can't reproduce it. I need you to investigate why it's happening or fix it yourself when I can't reproduce it.
Can you open a developer console, look for errors, and try to print the backtrace when an error happens if any?

Ok, I´ll have a look and document here.


Attractive Portfolio Using HTML,CSS

This is one of the best Portfolio that I had ever made.

download the gif to see demo video ...

rename demo to "demo.gif", it would be better if you use a screen recorder to make gif there are many free tools available

rename demo to "demo.gif", it would be better if you use a screen recorder to make gif there are many free tools available

Done sir ..you can check it and please mere this :)

Will you please merge this PR :)  ?


Renamed conversion interface mdims argument to groupby

As suggested in https://github.com/ioam/holoviews/issues/1061 renaming mdims to groupby in the conversion interface .to method is a lot clearer. This PR renames the kwarg while retaining support for the mdims argument along with a deprecation warning.

Looks great; I think that will be much clearer.  Also seems to add support for passing a single dimension, not just a list of dimensions.

Looks great; I think that will be much clearer. Also seems to add support for passing a single dimension, not just a list of dimensions.

Yes, should have listed that explicitly, both the kdims and vdims arguments support this so it's been annoying me persistently that you had to pass a list here.

Passing and ready to merge.

Made one minor comment about the deprecation message but otherwise, I am happy to merge now.

Comment addressed, ready to merge when tests pass.

Looks good. Merging!


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove Yakima Studies from Project List

We recently lost access to the Yakima study (REDCap PID 34101) and will not be getting our access back, so are removing it from the project list. Also included this change is the removal of the Spanish Pilot version of this study (PID 34701) which we still have access to but will likely lose in the future. This change will preempt those run failures for the Spanish project.

 Remove yakima study (rossey) redcap references

Deployed.


expose broker bundles  metrics to prometheus

Expose broker bundles metrics to prometheus.
Documentation
Docs will update in another pr.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@BewareMyPower  PTAL

@hangc0276 PTAL again

Doc is added https://github.com/apache/pulsar/pull/12825


Homescreen wallpaper filetype support expansion and/or more graceful error detail

Describe the bug
Homescreen skill does not support PNG files for wallpaper, and moreover doesn't tell user that is what the problem is specifically enough. It just says "wallpaper error"
To Reproduce
Steps to reproduce the behavior:

Go to home.mycroft.ai
Click on Skills > Homescreen
Select option "Customer (using URL below)"
Populate Custom Image URL box with valid url to PNG image file

Expected behavior
Mycroft homescreen wallpaper replaced with selected image (as would be the case, were the file a jpeg file).
Whether or not PNG support is an option, I would also expect Mycroft to verbally give the detail already present in the exception message in the log, i.e., "Wallpaper error, the custom wallpaper is not an image file [that I recognize!]" and perhaps go ahead and say "Please try converting to JPEG format, I like JPEG format!".
Log files
log excerpt:

File "/opt/mycroft/skills/homescreen.mycroftai/skill/wallpaper.py", line 108, in _add_custom
self._validate_custom()
File "/opt/mycroft/skills/homescreen.mycroftai/skill/wallpaper.py", line 140, in _validate_custom
raise WallpaperError("Custom wallpaper is not an image file")
homescreen_mycroftai.skill.wallpaper.WallpaperError: Custom wallpaper is not an image file

Environment (please complete the following information):

Device type: Mark 2 devkit
Mycroft-core version:  20.02r1

Yeah right, thanks for the write up - surprised this hasn't come up before.
I imagine that supporting png will be very possible - something we'll need to do some testing on and work out the best place to test for a valid image. Whatever we define "valid" as for this purpose.


Feature/create facet place

@barnabyalter,
I've added code for this user story: https://www.pivotaltracker.com/n/projects/1025988/stories/85386472. I do have a question though. When I was doing cucumber tests, my tests passed but the test for name facet was failing and I had nothing to do with the name facet. I couldn't see why since the value exists in the ead that was being used for cucumber tests. Thanks for the feedback.
Esha

Hi @eshadatta
Just pulled your branch into my local env because I wanted to look at some more sample faceting code and some more rspecs.
The reason the name facet feature isn't passing anymore is that the additional finding aids have pushed the name your looking for out of the top 20. I wonder if the way to fix this would be to add a second layer such that if the facet isn't found in the first screen it opens "more" and tries again?

Good catch! I can add that test. Thanks so much for figuring it out!
Sent from my iPhone

On Jan 29, 2015, at 7:58 PM, chrpr<EMAIL_ADDRESS>wrote:
Hi @eshadatta
Just pulled your branch into my local env because I wanted to look at some more sample faceting code and some more rspecs.
The reason the name facet feature isn't passing anymore is that the additional finding aids have pushed the name your looking for out of the top 20. I wonder if the way to fix this would be to add a second layer such that if the facet isn't found in the first screen it opens "more" and tries again?
—
Reply to this email directly or view it on GitHub.

@eshadatta Can you clean these commits up a bit? When this gets merged back the comments like "initial feature" won't mean anything to someone scanning the messages. I've been guilty on many occasions of having the "testing" commit message too but that's why you can rewrite history: http://git-scm.com/book/en/v2/Git-Tools-Rewriting-History

Coverage increased (+0.08%) to 96.65% when pulling f633ae7105d1871e5bb2d006e9207d4412e47da3 on feature/create_facet_place into 4e84e254b1401837a5b3c71ff6e1373c6f8efff2 on development.

Coverage increased (+0.08%) to 96.65% when pulling f633ae7105d1871e5bb2d006e9207d4412e47da3 on feature/create_facet_place into 4e84e254b1401837a5b3c71ff6e1373c6f8efff2 on development.

@barnabyalter ,
I've consolidated some commits and changed a few git messages to make the history more comprehensible. Should I push to this branch or delete this branch and create a new branch? Thanks.

Coverage increased (+0.08%) to 96.65% when pulling e2479338764d37a7b2f710a42968457e03011c03 on feature/create_facet_place into 7f0ff7597203e29d6aa334c3c93453e084480a0c on development.

Coverage increased (+0.08%) to 96.65% when pulling e2479338764d37a7b2f710a42968457e03011c03 on feature/create_facet_place into 7f0ff7597203e29d6aa334c3c93453e084480a0c on development.

@eshadatta I added a few comments for cleaning up some functions. After those quick changes this PR looks good to go.

@eshadatta Oh and please rebase this branch as well.


Support of table bordered

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

"td": {
"base": "whitespace-nowrap",
"padding": "px-3 py-4",
"color": "text-gray-500 dark:text-gray-400",
"font": "",
"size": "text-sm"
"border":'border border -gray-500 dark:border -gray-400 '
},
Additional context

Hi @clopezpro, Nice Feature Request
This is how it will look after applying border
Light Mode

Dark Mode

Suggestion
We can also apply border to column headings, so match the overall design

Let me know whether this fulfills your requirement.

Hello, yes this complies and it looks great, I had placed this to apply the borders for now

You can achieve this easily from your app.config.ts: https://stackblitz.com/edit/nuxtlabs-ui?file=app.config.ts,app.vue

You can achieve this easily from your app.config.ts: https://stackblitz.com/edit/nuxtlabs-ui-j4ccqs?file=app.config.ts

How Change this border?

this change is for all table

You can achieve this easily from your app.config.ts: https://stackblitz.com/edit/nuxtlabs-ui-j4ccqs?file=app.config.ts

 How Change this border?

You can do with the tbody class, I've updated the Stackblitz. You can check the default app.config.ts: https://github.com/nuxtlabs/ui/blob/dev/src/runtime/app.config.ts#L3


Feature request: text size

Not much to add to the title: I think many of us would benefit from the possibility to pick text size.
Awesome app btw ;-)

Hey. I have to say I'm not convinced of the need for this. Modern OSs offer extensive options for customizing text size, and this app uses very standard text styles that should appropriately scale with those settings. Is there any reason you'd want disproportionally small or large text sizes in Glider? I'm also curious if you'd like to mainly adjust the post title size, comment text size, or both!

I agree with you on the fact that the app scales well. This said, the main reason for this request is conveniecy. Different apps have different font styles and size, and respond to different needs hence different reading habits. That extra text-adjusting knob is a life saver. Also try to think of the complementary case: text size is fine everywhere but in this app: one would have to adjust the system setting to match the app needs and run throught all n-1 apps to reset text size.

Right. I'm not one to use different densities for different apps, but I guess everyone's usage is different! That said, I'm not sure I want to commit to this feature right now, so I'm going to let it sit for a bit.

I'd also want this feature implemented. I use some settings on my phone that makes the text in this particular app a tad bit too small, if I adjust it up a little everything else kinda becomes a little wacky so instead of having to adapt my phone settings to comfortably use this app I'd love it if it was possible to adjust the text size within it. It also depends a little on the amount of text on screen, my sms app shows the text a tad bit bigger than in Glider so a setting for this would be very much appreciated.

By popular demand, this has been implemented in bc62b8ed5b152b56e49997f2ff757a3817bb03f1. Should be part of the next release.
A few things to note:

The setting impacts all the text in the app proportionally.
The setting acts on top of the system's font size setting instead of overriding it, so setting the system's font size to large and the app's to large as well will make text look extra large.
The possible sizes are "small", "medium" and "large", which correspond to multipliers of 0.85, 1 and 1.15 respectively. These values match the values used for the global Android font size setting, but are not set in stone and may be adjusted in a later release.

I'm sorry to post on a closed issue, but on v. 2.8.0 from FDroid I'm not able to see these text option under settings. I can only pick the font type/family, but not the supposedly available size of it.
What am I missing?
I really like to have my system UI in a somewhat normal/not-big setting, but having heavily text-based apps where you only read and read text, to have a bigger font size so I don't force my eyes as  much and if the article is long even keep the font a bit more far from my eyes than regular phone use case.
Running on Android 14 on a Pixel 5 device (CalyxOS)


Possible bug in article creation

While creating article if you click "publish" button multiple time you create multiple articles with the same content. There was no single project I've seen for which such behavior was intentional, so I'd assume that here it is a bug as well.

Fixed by #37


Feature/Log Component Level

Add LOG_LEVEL and more loggers on verbose and debug.
This new changes added logger on every chain/agents, and logger error with stack trace

@matthias here is the PR for adding loggers on components

Looks cool.
I haven't figured out where you configure the logger. From where is options.logger coming? Just can't figure this out.
const loggerHandler = new ConsoleCallbackHandler(options.logger)
And: I did locally install the branch - but couldn't figure out how to enable the chain logging ... (.env ?)

in packages/server/src/utils/index.ts line 233, for chain logging i set it as verbose, so you need to add LOG_LEVEL=debug in your .env file


Disabling hidden select if select is disabled

Closes https://github.com/adobe/react-spectrum/issues/4546
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:
RSP

Seems easy to miss, maybe useSelect should be returning an object for the HiddenSelect?
Could have isDisabled, label, name?

I think that sounds reasonable, something we could consider since HiddenSelect feels tightly coupled to any select implementation. We could essentially just do a props spread + state as HiddenSelectProps from useSelect and that would just leave providing the ref to the implementor

https://github.com/orgs/adobe/projects/19/views/4?pane=issue&itemId=29081180 covers https://github.com/adobe/react-spectrum/pull/4552#pullrequestreview-1434931877


add java metadata files for vscode

experiment with the Java support in VSCode (add the metadata files the Java plugin requires to understand the project)

@danrubel

LGTM


hide symbols from spotlight for App.framework

Description
The basic problem is that if Xcode can find these via Spotlight, it will try to use them incorrectly.  This prevents that from happening.
Related Issues
See https://github.com/flutter/flutter/pull/36471#discussion_r308521828
See https://github.com/flutter/flutter/pull/22540
See https://github.com/flutter/flutter/pull/22540
Tests
I added the following tests:
Updated existing test to make sure that dsym is passed a folder that ends in .noindex.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

Thanks! LGTM


chore: Changes for COPPA compliance removing YOB from profile

Description
To ensure the app complies with COPPA regulations - Issue
Requirements:

Remove the Year of Birth (YOB) field from the profile section
If learner's age is more than 13:

Display toggle for Limited and Full profile
Allow image upload in both Limited and Full profile
Display all fields in both Limited and Full profile, except YOB
Disable the fields in Limited profile

If learner's age is less than 13 or not provided (requiresParentalConsent = true):

Do not display toggle for Limited profile
Do not allow image upload, hide the icon
Display all fields but disable them

Note:
Instead of removing the code, I've commented the code, because post-MVP we might be moving these changes behind a feature flag.
We currently don't have specific design guidelines for this request. So the changes are approved by Moiz.

https://github.com/user-attachments/assets/1da2c36d-f544-433d-b765-a82cd83cfe7a

@k1rill @dixidroid Please have a look at it as well. 👍🏻


Implement inline & file based domain whitelisting

Currently just rejects messages signed by domains not on the whitelist.

Closing as out of date.


TSServer crashes on sufficiently large projects

Issue Type: Bug
Hello,
We are developing an enterprise-scale monorepo system. Upon opening one of our larger packages, TSServer exits with code 134.
[Info  - 13:32:11.241] Starting TS Server
[Info  - 13:32:11.241] Using tsserver from: c:\Program Files\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib
[Info  - 13:32:11.243] <syntax> Forking...
[Info  - 13:32:11.253] <syntax> Starting...
[Info  - 13:32:11.254] <semantic> Forking...
[Info  - 13:32:11.266] <semantic> Starting...
[Error  - 14:12:48.797] TSServer exited with code: 134

TSServer then tries to restart, resulting in this error over and over again.
VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2304)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.72GB (14.44GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (15)

Extension
Author (truncated)
Version

TabOut
alb
0.2.0

vscode-eslint
dba
2.1.6

gitlens
eam
10.2.2

prettier-vscode
esb
5.1.3

todo-tree
Gru
0.0.178

svg
joc
1.3.5

docthis
joe
0.7.1

graphql-for-vscode
kum
1.15.3

powershell
ms-
2020.6.0

debugger-for-chrome
msj
4.12.8

vscode-jest
Ort
3.2.0

markdown-preview-enhanced
shd
0.5.12

vscodeintellicode
Vis
1.2.9

vim
vsc
1.14.5

markdown-all-in-one
yzh
3.1.0

Have you tried increasing the server's max memory by setting typescript.tsserver.maxTsServerMemory?

Also see https://code.visualstudio.com/docs/typescript/typescript-compiling#_working-with-large-projects

+1

@mjbvz I'll try out the typescript.tsserver.maxTsServerMemory setting and get back to you. Regarding the working with large projects section you linked, I believe we already take these steps. The typescript language server usually only crashes when I open up our largest package in our monorepo.

Closing this as we need more information to investigate this.
If you are still seeing this after checking those configuration options, are you able share an example project?


Build a minimal PyPI based Docker image for MSMonitor

Impact of the new feature
Overhaul the Dockerfile for reqmgr2ms, splitting out into separate containers for each microservice. Containers should be as small as possible. Container will use PyPI packages instead of the current RPM based deployment method.
Is your feature request related to a problem? Please describe.
reqmgr2ms container is currently very large and is used for multiple microservices, which is not ideal for k8s.
Describe the solution you'd like
Build a minimal Docker image using the MSMonitor package from PyPI
Describe alternatives you've considered
NA
Additional context
NA

I provided initial Dockerfile to build docker image and it was successfully build, see details in https://github.com/dmwm/WMCore/issues/11310.

CMSKubernetes repo commits for WMCore Dockefiles:

https://github.com/dmwm/CMSKubernetes/commit/fa223eea3bb05ef45b93499aa14f04630a60330a
https://github.com/dmwm/CMSKubernetes/commit/942145b863dc62d5108525b7a223dd96b1073375
https://github.com/dmwm/CMSKubernetes/commit/092523fc55fdc171558080ad6d99bea1487c8671
https://github.com/dmwm/CMSKubernetes/commit/f67f20b2999a731bc742d861ce49ffce22bbd918
https://github.com/dmwm/CMSKubernetes/commit/64bbe4eb9d24a879b32194d93594ae4b8de7e074
https://github.com/dmwm/CMSKubernetes/commit/99d65ad733ea3adf970fc49602d8ba193e0047a5
https://github.com/dmwm/CMSKubernetes/commit/6e025ba0f9641284f4a4d3e087264126c760c590

The new pypi based image is available:

docker files: https://github.com/dmwm/CMSKubernetes/tree/master/docker/pypi
docker images: https://registry.cern.ch/harbor/projects/1771/repositories/reqmgr2ms-output

@amaltaro , should we close the ticket?

Basic functionality of these PyPi-based services have been tested with docker image label: 2.1.6rc3.
Workflows are getting their input rules evaluated and moving to staged status!
In addition to the changes already linked above, the following was required as well:
Mount rucio-secrets and rename the docker image name for microservices, global workqueue and t0_reqmon:
https://github.com/dmwm/CMSKubernetes/pull/1261
https://github.com/dmwm/CMSKubernetes/pull/1283
https://github.com/dmwm/CMSKubernetes/pull/1287
Fix to the run.sh script in the dmwm-base image:
https://github.com/dmwm/CMSKubernetes/pull/1288
I think we can close this ticket out and follow up with a more detailed validation in https://github.com/dmwm/WMCore/issues/11354.


remove --host-whitelist option issue #7761

remove the --host-whitelist option, issue #7761
deleted the command and it's associated tests, we however did not manage to test / build
(unfortunately, automatically added some beauty changes in benchmark/docker-compose.yml)

@JanetMo thanks for your PR - you should be able to revert the changes to the docker-compose file to remove that from this PR. Also I think RetestethSubCommand has been deleted in the meantime, so you've got a conflict there

Thanks @macfarla for the update! We reverted the changes to the docker-compose file and solved the merge conflict, we weren't able to signoff some of the commits though. Do you have an idea, how to sign previous commits (we tried to rebase)?
The changelog was already updated previously by @jflo I believe.

details on how to correct a DCO situation can be found on the failing DCO action:
https://github.com/hyperledger/besu/pull/7847/checks?check_run_id=32756293076

@jflo Thanks for the help. We tried rebasing, but it seems to have made it worse.... Should I just start over with a fresh PR?

@macfarla @jflo We created a fresh PR https://github.com/hyperledger/besu/pull/7884
Sorry for the confusion and thanks for the help so far!


How to open a list of url from csv

I have a list of url in batch.csv
urla;b
https://website.com/@user1;a
https://website.com/user2;a
I run the script tagui script.tag batch.csv
the problem is i don't know how to actually open the url
i've tried :
urla => doesn't work
url urla => doesn't work
run `chrome-cli open --new-tab ${urla}` => doesn't work
open urla => doesn't work
visit urla => doesn't work

The doc say we can use any value from the csv. But in my case, the value is the url, and i have no idea how to actually open it.

hi @microSoftware
load test.csv to rows
rows = rows.split('\n')
for n from 0 to rows.length-1
  col = rows[n].split(';')
  link = col[0].slice(8, col[0].length)
  https://`link`

must use the word https:// or http://

Hi @microSoftware, adding on to @microSoftware solution, if you are using datatable csv, the solution will be something like below, which truncates away the https:// from your data and still having the https:// prefix in the step so that TagUI know that you are loading a URL in the variable.
https://`urla.substring(8)`


Fix rebase glitch

A python import seems to have been skipped during a rebase.
:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions

https://github.com/rdettai/vast/actions/runs/2581898735


weekly live

Please use this template to ensure easier processing of your pull request
Category

[x ] Content fix
[ ] New article

Docs Build status updates of commit 21e4a65:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CHANGELOG.md
:white_check_mark:Succeeded

Community/microsoft-365-on-social-media.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add Chapter 2.B and 2.C rules to "all the rules we know"

In preparation for the next sections; I'll hold off merging until after the session tomorrow.

PDF preview of the changes: https://github.com/llewelld/hut23-linear-algebra/blob/gh-action-result/pdf-files/reference/all-the-rules-we-know.pdf

If you could put my mind at rest and take a look at this @rwood-97 I'd be really grateful!

Thank you @rwood-97!

Rebased.


[QUESTION] Protocol parameters

Hi there guys. How often does the protocol parameters change? For example:  cardano-cli query protocol-parameters. I want to know if I need to get the protocol parameters every time I need to calculate transaction fee or it doesn't change much often and I'm good querying only once.
Thank you.
I tried to ask somewhere else but nobody answered so that is why I'm opening an issue.

 The values in there can be changed dynamically. Yes they stay the same most of the time, but always using the latest version is a good advise. 😄

IOG will announce in advance on Twitter, Discord and the SPO TG when they plan to update the protocol parameters.


Can't seem to get the ServiceStack.Examples.Host.Web running

Could not load file or assembly 'ServiceStack.Examples.Host.Web' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'ServiceStack.Examples.Host.Web' could not be loaded.
=== Pre-bind state information ===
LOG: User = IIS APPPOOL\ASP.NET V4.0 Integrated
LOG: DisplayName = ServiceStack.Examples.Host.Web
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: ServiceStack.Examples.Host.Web | Domain ID: 7
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/Users/Jonathon/Downloads/ServiceStack.Examples-v3.17/ServiceStack.Examples/src/ServiceStack.Examples/ServiceStack.Examples.Host.Web/
LOG: Initial PrivatePath = C:\Users\Jonathon\Downloads\ServiceStack.Examples-v3.17\ServiceStack.Examples\src\ServiceStack.Examples\ServiceStack.Examples.Host.Web\bin
Calling assembly : (Unknown).
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\Jonathon\Downloads\ServiceStack.Examples-v3.17\ServiceStack.Examples\src\ServiceStack.Examples\ServiceStack.Examples.Host.Web\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/servicestack.examples.host.web/df0fc23d/19f2ef1c/ServiceStack.Examples.Host.Web.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/servicestack.examples.host.web/df0fc23d/19f2ef1c/ServiceStack.Examples.Host.Web/ServiceStack.Examples.Host.Web.DLL.
LOG: Attempting download of new URL file:///C:/Users/Jonathon/Downloads/ServiceStack.Examples-v3.17/ServiceStack.Examples/src/ServiceStack.Examples/ServiceStack.Examples.Host.Web/bin/ServiceStack.Examples.Host.Web.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.

An attempt was made to load a program with an incorrect format.

Thats usually the Win 32/64 mismatch issue which is a problem when trying
to run the 32bit sqlite dll on a 64bit pc.
I've also got a .NET 4 / 64bit pc and I've just downloaded and ran the
latest download and works here, so IMO you just need to get the 32bit
sqlite dll running on your pc.
See this question for some info on how to do this:
http://stackoverflow.com/a/4794181/85785
As well as this group thread:
https://groups.google.com/forum/#!topic/servicestack/EUPqF2jI4ig/discussion
On Wed, Jan 4, 2012 at 11:40 AM, Jonathon Kresner <
<EMAIL_ADDRESS>
wrote:

Could not load file or assembly 'ServiceStack.Examples.Host.Web' or one of
its dependencies. An attempt was made to load a program with an incorrect
format.
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'ServiceStack.Examples.Host.Web' could not be loaded.
=== Pre-bind state information ===
LOG: User = IIS APPPOOL\ASP.NET V4.0 Integrated
LOG: DisplayName = ServiceStack.Examples.Host.Web
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: ServiceStack.Examples.Host.Web | Domain ID: 7
WRN: A partial bind occurs when only part of the assembly display name is
provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for
the assembly,
WRN: that consists of the simple name, version, culture, and public key
token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for
more information and common solutions to this issue.
LOG: Appbase =
file:///C:/Users/Jonathon/Downloads/ServiceStack.Examples-v3.17/ServiceStack.Examples/src/ServiceStack.Examples/ServiceStack.Examples.Host.Web/
LOG: Initial PrivatePath =
C:\Users\Jonathon\Downloads\ServiceStack.Examples-v3.17\ServiceStack.Examples\src\ServiceStack.Examples\ServiceStack.Examples.Host.Web\bin
Calling assembly : (Unknown).
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\Users\Jonathon\Downloads\ServiceStack.Examples-v3.17\ServiceStack.Examples\src\ServiceStack.Examples\ServiceStack.Examples.Host.Web\web.config
LOG: Using host configuration file:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NETFiles/servicestack.examples.host.web/df0fc23d/19f2ef1c/ServiceStack.Examples.Host.Web.DLL.
LOG: Attempting download of new URL
file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NETFiles/servicestack.examples.host.web/df0fc23d/19f2ef1c/ServiceStack.Examples.Host.Web/ServiceStack.Examples.Host.Web.DLL.
LOG: Attempting download of new URL
file:///C:/Users/Jonathon/Downloads/ServiceStack.Examples-v3.17/ServiceStack.Examples/src/ServiceStack.Examples/ServiceStack.Examples.Host.Web/bin/ServiceStack.Examples.Host.Web.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing
terminated.

Reply to this email directly or view it on GitHub:
https://github.com/ServiceStack/ServiceStack.Examples/issues/4

--

Demis

http://twitter.com/demisbellot
http://www.servicestack.net/mythz_blog

Thanks for your prompt reply. Got a bit further. Do need to have sqllite installed? If i try to add a reference to it in the project I also get an Access denied / invalid assembly message from visual studio. But here is what I get when it try to run the app:
Server Error in '/ServiceStack.Examples.Host.Web' Application.
Unable to load DLL 'sqlite3': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.DllNotFoundException: Unable to load DLL 'sqlite3': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Source Error:
Line 54: 					SqliteOrmLiteDialectProvider.Instance));
Line 55:
Line 56: 			ConfigureDatabase.Init(container.Resolve());
Line 57:
Line 58:
Source File: C:\Users\Jonathon\Downloads\ServiceStack.Examples-v3.17\ServiceStack.Examples\src\ServiceStack.Examples\ServiceStack.Examples.Host.Web\AppHost.cs    Line: 56

Nope, the sqlite.dll is just an un-managed dll and just needs to be copied
in the /bin directory (this should already be done for you).
The Mono.Data.Sqlite assembly (that is already referenced) is what loads
the un-managed sqlite dll.
Note: the other solution is to just un-reference the 32 bit dll and just
use all-in-one 64-bit managed/unmanaged wrapper:
https://github.com/ServiceStack/ServiceStack.OrmLite/tree/master/src/ServiceStack.OrmLite.Sqlite64
You can get the binaries from here:
https://github.com/ServiceStack/ServiceStack.OrmLite/downloads
This will avoid the problems with trying to host a 32bit dll on a 64bit pc.
Cheers,
On Wed, Jan 4, 2012 at 12:35 PM, Jonathon Kresner <
<EMAIL_ADDRESS>
wrote:

Thanks for your prompt reply. Got a bit further. Do need to have sqllite
installed? If i try to add a reference to it in the project I also get an
Access denied / invalid assembly message from visual studio. But here is
what I get when it try to run the app:
Server Error in '/ServiceStack.Examples.Host.Web' Application.
Unable to load DLL 'sqlite3': Access is denied. (Exception from HRESULT:
0x80070005 (E_ACCESSDENIED))
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.DllNotFoundException: Unable to load DLL
'sqlite3': Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED))
Source Error:
Line 54:
SqliteOrmLiteDialectProvider.Instance));
Line 55:
Line 56:
ConfigureDatabase.Init(container.Resolve());
Line 57:
Line 58:
Source File:
C:\Users\Jonathon\Downloads\ServiceStack.Examples-v3.17\ServiceStack.Examples\src\ServiceStack.Examples\ServiceStack.Examples.Host.Web\AppHost.cs
Line: 56

Reply to this email directly or view it on GitHub:
https://github.com/ServiceStack/ServiceStack.Examples/issues/4#issuecomment-3357858

--

Demis

http://twitter.com/demisbellot
http://www.servicestack.net/mythz_blog

Thanks, I've got the non examples nuget running in a new mvc project, I will just refer to the examples project without running it if necessary. Great support cheers.

No worries, the source code should still be good source of documentation
and showcase of ServiceStack features.
Also the wiki should help:
https://github.com/ServiceStack/ServiceStack/wiki
Most of the examples are still available to try/run on servicestack.net,
e.g. the above project is available at:
http://www.servicestack.net/ServiceStack.Examples.Clients/
Cheers,
On Wed, Jan 4, 2012 at 12:47 PM, Jonathon Kresner <
<EMAIL_ADDRESS>
wrote:

Thanks, I've got the non examples nuget running in a new mvc project, I
will just refer to the examples project without running it if necessary.
Great support cheers.

Reply to this email directly or view it on GitHub:
https://github.com/ServiceStack/ServiceStack.Examples/issues/4#issuecomment-3358055

--

Demis

http://twitter.com/demisbellot
http://www.servicestack.net/mythz_blog


nixos/oauth2_proxy: add extraConfig typ

Motivation for this change
#76184
Things done

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

[ ] 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"
[ ] 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.

Typo "typ" -> "type" in commit message.

Typo "typ" -> "type" in commit message.

thanks for noticing, fixed it


Please improve error reporting with 'validate.py'

When running validate.py against a non-existing configuration file, the following output is returned:
./validate.py --ignore-input-output --software bulk-config2.json
Traceback (most recent call last):
  File "./validate.py", line 41, in <module>
    args = vars(parser.parse_args(sys.argv[1:]))
  File "/usr/lib64/python2.7/argparse.py", line 1705, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib64/python2.7/argparse.py", line 1737, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib64/python2.7/argparse.py", line 1946, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File "/usr/lib64/python2.7/argparse.py", line 1902, in consume_positionals
    take_action(action, args)
  File "/usr/lib64/python2.7/argparse.py", line 1795, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "/usr/lib64/python2.7/argparse.py", line 2235, in _get_values
    value = self._get_value(action, arg_string)
  File "/usr/lib64/python2.7/argparse.py", line 2264, in _get_value
    result = type_func(arg_string)
IOError: [Errno 2] No such file or directory: 'bulk-config2.json'

It would be great if this IOError could be properly trapped so the script returns more descriptive output.
./validate.py --ignore-input-output --software bulk-config2.json
***ERROR***
Missing configuration file: bulk-config2.json

Thank you for your feedback! this seems to be an improvement rather than a bug. I am really tied up with other work. I wonder that would you like to contribute to this as a contributor? That would be awesome!


Register API docs lie about default kind param

is it guest or user?

This will be fixed by #740 in the next spec release.


Failing --equil and --stride tests

Currently, two tests are failing: test_bench5_equil and test_bench5_equil_stride. Local testing of the parser and testing using tcp.sh in the test directory indicate that this is not an issue with command line arguments. Adding --equil or --stride to tcp.sh seems to result in the expected behavior. I believe there is an error with subprocess not waiting for the task to finish, and with the previous file (no equilibration or stride) being compared against in the test.

This is actually occurring because updates to Tinker cause the snapshot file to be updated when ELECTRIC is run. This appears to result in the problem observed above because it seems (perhaps) that the calculations are not run if the input file is updated (perhaps the calculation fails, I'm not sure). This alteration of the input trajectory seems like a much larger (more consequential) bug than the initial issue.

Fixed by #39


Revert "Change default cardinality to low for metrics (#7522)"

Description
This reverts commit c3baea50a19e8e00793f5d79929edce45fc4c5e2.
Proposal to postpone decision to make low cardinality default, done in https://github.com/dapr/dapr/pull/7522
Issue reference

Please reference the issue this PR will close: N/A
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Context:
After testing the low cardinality mode as default for a while and having received a satisfactory amount of user feedback, it becomes clear that while this enabling or disabling by default cannot be summarized into a right/wrong decision and both carry pros and cons that will better optimize for a certain class of users. The overall feedback received is that users want the ability to easily turn off high cardinality metrics if they need to, and a subset of users would very much benefit more granular control over the metrics configuration, such as path matching and regex, to allow power users to tailor metrics to their needs. With the implications of making metrics less usable out of the box for new users and potentially disrupting dashboards, monitoring and observability platform ingesting Dapr metrics of existing users, it would be preferable to follow how way sister projects like Istio and Linkerd handle the situation, which is to keep high cardinality as default and provide users with the best experience of opting out or arriving at a desired custom configuration.

Changes look fine, but there are some failing int tests that I believe should be passing before this gets merged

I think I fixed now. Let's see.


Emailable test result report colors

Colors are so painful in emailable test report.

You can customize using implements "IReporter" and add listener to your class or suite

@vinoopraj Thank you, I will do that inshallah, anyway if default colors were refined I think it would be better.

Yes, Better you should re-design all the methods.


comments for MessageField & EnumField

Hi David,
I have a problem right now using your parser. Hope you can help me identify the cause and solve it.
Problem Background:
In my message proto file, there are several fields. Almost all the fields, including primitive type field, message field and enum field, have comments (doc). Since I’m generating the documentation for the proto file, I want all comments of fields to show up.
Problem:
Only comments of primitive type field (int, string, datetime) show up right now, comments of both message field and enum field don’t show up, even though there are comments for the message and enum field in the proto file.
I'm thinking that maybe all comments of MessageField and EnumField are not parsed through by the parser, and that's the reason it keeps giving me null values.
Regards,
Liang

We'd like to generate the docs from the proto sources, so this feature would be very helpful for us.
Is there anything we can do to parse the comments?

I had this implemented before but it did not have the same semantics as protobuf where trailing comments are considered.  My impl is similar to java's annotation/javadoc/comment semantics where they precede the target.
The changes are simple if we stick to prefix-only (same as annotation) comments.  Would you accept that tradeoff?
Btw, how are you using protostuff @maxim5?

Hi David,

The changes are simple if we stick to prefix-only (same as annotation) comments. Would you accept that tradeoff?
Absolutely! Our current workaround is to use annotations, like [@]doc(value="The doc").
We're ready to use block or inline comments, or javadoc style. After-statement comments also make sense, if one wants to add private comments and not share them with the public (e.g. TODO).

Btw, how are you using protostuff @maxim5?
We're using protostuff in Upsource project by JetBrains. It's a pretty complex web app, which does a lot of RPC calls from browser to the server, and under the hood it's all proto buffers. Works great!
We have a few compilers on top of STCodeGenerator. But your project is (listed)[https://www.jetbrains.com/upsource/help/1.0/third-party_software.html] among the third-parties. Thanks a lot!

Cool.
To address private comments, we could use triple-slash for javadoc and double-slash as regular comment that would be discarded by the parser.
Thoughts? @kshchepanovskyi what do you think?
@maxim5 Has the protostuff-compiler lived up to its expectations?  I imagine it would be somewhat slow when you have a lot of messages (especially huge).
I've an internal proto compiler that I've upgraded to ST4 (noticeable speed difference).
It still needs polishing for opensource though (lots of unrelated stuff in there, like flatbuffers compatibility and c++ output).

It works as expected, that's the main thing. I think compiler speed is noticeable, unfortunately, any performance improvements would make a difference, but we can live with that.
I'm not sure I understand what you mean by ST4. Our current protostuff version is 1.0.7.
If there are no compatibility breaks, I can try a not-very-polished version, no problem here.

ST4 = stringtemplate v4.  Its a bytecode-based template engine (V3 was tree-based).
The problem is that it breaks compatibility with v3.  Which means our existing templates won't work with ST4.
The breaking changes are good though.  Its much easier to re-use/compose templates (you can import simply import them)
I don't have a generator for java yet (I'm mainly using it for Nim/C/C++).  When the java output is available, I'll be sure to make it public.
Btw, are you guys using the protostuff maven plugin to compile or plain old java -jar protostuff.jar?
I find doing the latter helps a little bit.

Ah, that might be a problem. We have a number of .stg files, and rewriting them can take time.
What do think is the easiest way to migrate to ST4?
We're using ant script that invokes java -jar.

Well, you really have to make time and refactor everything (which I haven't done at all ... too many of them).  Won't be easy.  But writing a new one is defintely easier/better in terms of maintainability.

Actually we use slightly updated versions of gwt_overlay.stg, and others. Yes, there are too many of them...
Is this the right doc that lists the differences between the two?
When can we expect a new version with a fix?

To address private comments, we could use triple-slash for javadoc and double-slash as regular comment that would be discarded by the parser.
Thoughts? @kshchepanovskyi what do you think?

Need to think a little. I will try to check how it might look.

Btw, are you guys using the protostuff maven plugin to compile or plain old java -jar protostuff.jar?

We use maven plugin and custom template, based on java_bean.

About ST4
I think it might make sense to think about next major release (where we can break backward compatibility and make APIs better - ), and there migrate to ST4 (and ANTLR 4, and lot of other things).
Also, I was thinking about new syntax - google released alpha version of proto3 - I found it interesting.

+1 for a version that does not break compatibility

I created small repo to check what is current protoc (latest alpha) behavior: https://github.com/kshchepanovskyi/proto3-test/
For message:
/**
 * Protobuf type {@code test.A}
 *
 *

 * Message level comment line 1
 * Message level comment line 2
 *

 */
public  final class A extends

For field:
 /**
   * optional int64 x = 1;
   *
   *

   * field level comment line 1
   * field level comment line 2
   *

   */
  public long getX() {

From my side, I have only few points:

For now we can ignore trailing comments for simplicity reasons. Maybe it does not make sense to support them at all. In the java world, trailing comments are not good practice.
As for me, it does not make sense to separate javadoc/non-javadoc comments. I could not find any goood reason to put "private" (non-javadoc) comments into proto file.
java_bean and java_bean_model should generate javadoc in the same way as protoc does (similar formatting - header +
 block), but users should be able to use their own formatting.

Ok.  So we all agree we will not include trailing comments as docs.
Using a triple-slash (///), the change could be as little as maybe 10-20 lines.  I suggested it because its the easiest way to implement docs.  I don't have a problem if you want to use double-slash but you'd have to do a huge refactor.
Sure.  I've no problems with that.

Using a triple-slash (///), the change could be as little as maybe 10-20 lines. I suggested it because its the easiest way to implement docs. I don't have a problem if you want to use double-slash but you'd have to do a huge refactor.

Ok, then triple slash.

Just wanted to bring up this issue, we're ready to try any build with comments support.
Do you have an estimate for this?

@dyu , are you goint to implement this feature? If you have no time this month, I can start working on this.

Also I have small update: I found some additional info in the protobuf's descriptor.proto:
    //   optional int32 foo = 1;  // Comment attached to foo.
    //   // Comment attached to bar.
    //   optional int32 bar = 2;
    //
    //   optional string baz = 3;
    //   // Comment attached to baz.
    //   // Another line attached to baz.
    //
    //   // Comment attached to qux.
    //   //
    //   // Another line attached to qux.
    //   optional double qux = 4;
    //
    //   // Detached comment for corge. This is not leading or trailing comments
    //   // to qux or corge because there are blank lines separating it from
    //   // both.
    //
    //   // Detached comment for corge paragraph 2.
    //
    //   optional string corge = 5;
    //   /* Block comment attached
    //    * to corge.  Leading asterisks
    //    * will be removed. */
    //   /* Block comment attached to
    //    * grault. */
    //   optional int32 grault = 6;
    //
    //   // ignored detached comments.

Here's the impl as we previously discussed.
https://github.com/protostuff/protostuff/pull/119

Great, thanks! I will test it as soon as possible.
@maxim5 I will make a release this weekend.

Usage
Template:
docs(container) ::= <<
<if(container.docs)>

/**
<container.docs:{doc |  * <doc>}; separator="\n">
 */
<endif>
>>

Field comments:
field_getters(field, options, message) ::= <<

<docs(container=field)>
<if(field.repeated)>
public List\<<map_primitive_wrapper.(field.javaType)>\> get<field.name; format="PC&&SINGULAR">List() {
    return <var(val=field.name, fmt="CC", options=options)>;
}

Correct.  That's the best way to use it.  Thanks for posting.

I finished my tests, works great!

ver. 1.3.4 will be released in next few days

Released.
https://github.com/protostuff/protostuff/releases

Great! I'll try it this week. Thanks!

Works great!


usage of gridding_loss

Hi, thanks for the amazing work.
I check the "train.py" code, but it seems not using "gridding_loss", is there any reason for that? Or I just need to add the "gridding_loss" in the "_loss".
Thanks in advance

by the way, what is the weight of gridding loss?
Is gridding_loss: sparse_loss : dense_loss = 1:1:1?
Thanks :) !

You need to train the whole network with Chamfer Distance. It reaches CD ~0.40 on ShapeNet.
Then, you need to fine-tune the network with Gridding Loss + Chamfer Distance on the Coarse Point Cloud.
Finally, you fine-tune the network with Chamfer Distance. Chamfer Distance is taken as a metric, therefore, you cannot get lower CD without using Chamfer Distance as a loss.

The weight of gridding loss is defined in config.py.
https://github.com/hzxie/GRNet/blob/1f4b421d22bc2b09c11d85c5d427b463feea83df/config.py#L68-L69

The weight of gridding loss is defined in config.py.
https://github.com/hzxie/GRNet/blob/1f4b421d22bc2b09c11d85c5d427b463feea83df/config.py#L68-L69

Oh, I see, thanks!

@AlphaPav
Actually, I'm not sure it is the best value for Girdding Loss.
Try to use the following value:
 __C.NETWORK.GRIDDING_LOSS_SCALES  = [128, 64]
 __C.NETWORK.GRIDDING_LOSS_ALPHAS  = [0.1, 0.01]


Allow Any inputs

Rebase of https://github.com/replicate/cog/pull/968

Wahey! Passing tests!
It's a shame that test was deleted in the other PR though. It should be testing the new behavior that it works.
This PR is a bit of a mess now so I might try and make a clean version...

So I tried the test that was deleted and turns out arbitrary input objects don't work because runner doesn't typecast objects, so this doesn't work all.
I have written some tests to represent some of the behavior I really want from #608 in #1313, but I reckon this PR and #968 is the wrong approach so I reckon we can close them.

@bfirsh Thanks so much for digging into that. I'll go ahead and close this PR and https://github.com/replicate/cog/pull/968 now.


UIA: reduce number of extraneous text change events in conhost

NVDA has trouble processing large numbers of events, leading to hangs of the entire UIA client implementation (nvaccess/nvda#11002). Consider the possibility of reducing the number of events we send to capture the fact that text changed without creating unnecessary work for clients.

This seems useful: https://docs.microsoft.com/en-us/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomation6-get_coalesceevents
I should check if XAML is doing this for us (and if not, ask them if they can).

I'm pretty sure this is also applies to Windows Terminal. So I'm adding that tag too.

With regards to a solution, @lhecker and I had a chance to chat about it today. Here's some notes from that meeting:

Idea: batch the notifications

We can't do that because we don't know how much text we're receiving. That's all on the shell we're connected to.

Idea: diff text on our end and send better notifications that way

Same problem as above.

Idea: provide a way for NVDA (or an attached screen reader) to tell us to stop/continue sending events

Changes on our side:

use WaitForSingleObjectEx much like we do in the AtlasEngine to throttle our notifications until the client is ready for more

Changes on NVDA's side:

use CreateEventW, SetEventW, and ResetEventW to notify us when we should stop/continue sending events

General flow:

NVDA: check WT custom UIA property to see if we support this method
WT: return an event via the property
NVDA: when you're approaching a limit (determined by you), call Reset.
WT: we stop sending events. Cache any new text that has been written.
NVDA: after making enough progress, call Set.
WT: we start sending text from the cached data

References:

https://docs.microsoft.com/en-us/windows/win32/coreaudio/exclusive-mode-streams
https://docs.microsoft.com/en-us/windows/uwp/gaming/reduce-latency-with-dxgi-1-3-swap-chains#step-4-wait-before-rendering-each-frame

Corner cases:

What happens if NVDA crashes and we stopped sending events?

We need some way to be aware if NVDA is still connected. UIA may be able to provide that information. Alternatively, we could get the client process handle and wait on that handle directly. Once the process exits, the process handle gets closed and we would immediately be aware of that.

I'm pretty sure this also applies to Windows Terminal.

It does, but less severely.

Idea: provide a way for NVDA (or an attached screen reader) to tell us to stop/continue sending events

This is related to notifications (not text changes), so a slightly different but related issue. As mitigation for this issue, I've opened nvaccess/nvda#14067 as a start, with an eventual end goal to turn these off for terminal completely once nvaccess/nvda#14047 is merged.
This should theoretically work on the NVDA side (I'm assuming with some sort of speech callbacks, so synth dependent to some degree), but I'll leave it to you and @leonardder to work out the details.

To extend on what @carlos-zamora said and add some IMHO convincing arguments:
I understand that UIA doesn't just exist for text-to-speech, but I'm nonetheless surprised to find that there's seemingly no feedback mechanism to prevent buffering too much such "speech".
The text-to-speech system as implemented by NVDA and as used by us, sounds to me basically like any other audio API, but with a different concept of how to encode sound. The notification API to me appears like a classic queue, for which we need to control the delay to prevent us from buffering too much data.
Audio, but also video APIs, are queue based as well and both have ways of getting feedback whether the queue is full, as this prevents latency buildup, reduces memory usage and improves stability. Network equipment has a similarly related issue which is often called "bufferbloat":

[...] bufferbloat occurs when a network link becomes congested, causing packets to become queued for long periods in these oversized buffers.

Backend engineering has to deal with similar issues of so called "back pressure" in distributed systems, just like our two processes (Windows Terminal and NVDA) present a form of a distributed system, and it was always of paramount importance to handle this gracefully to prevent systematic failure by running into timeouts and crashes due to going out of memory.
In short, I get the feeling that if we get NVDA to tell us when it's running low on text and wants more (low watermark) and when it has buffered enough data and needs us to stop (high watermark), we can prevent buffering too much data and reduce the latency between text appearing in the terminal and it being read out. If this is correct, I believe we have a lot of prior art from which we can learn here.

I finally got around to think about this:

Idea: batch the notifications

We can't do that because we don't know how much text we're receiving. That's all on the shell we're connected to.

I read something about a 1000-character limit for notifications. How about that, i.e. when text is coming in exceeding that length, how is that handled currently?

Idea: provide a way for NVDA (or an attached screen reader) to tell us to stop/continue sending events

Is this supposed to fix latency issues?
In the case of NVDA, I have several concerns about its UIA event processing, mainly because it happens entirely in python and therefore its performance is limited by the Python Global Interpretter lock. Therefore I don't think it is terminal's primary responsibility to think about event limitation. Of course, it makes no sense to bloat a screen reader with events, but notifications for incoming text are perfectly fine to me.

I read something about a 1000-character limit for notifications. How about that, i.e. when text is coming in exceeding that length, how is that handled currently?

We currently have a pretty naive approach: https://github.com/microsoft/terminal/blob/62b34cf6f77199df306999f89a5f57368cfa5059/src/renderer/uia/UiaRenderer.cpp#L283-L291
Basically, we send a notification for each 1000 characters, all filled as much as possible. We can change that, if requested (probably best to track in a separate issue though).

Is this supposed to fix latency issues?

This would provide a way for NVDA to adjust to backpressure. @lhecker and I are surprised that UIA doesn't have a first-party solution for this problem, so the idea would be to do it ourselves. That said, @DHowett brought up some major concerns offline. Particularly in that this could be used maliciously and create a textbook denial of service attack.

Particularly in that this could be used maliciously and create a textbook denial of service attack.

BTW as I mentioned before, and if we ever need to implement anything like that, I strongly believe we'll find lots of helpful prior art in network algorithms (e.g. TCP), as it deals with the same class of issues (backpressure, etc.) with mitigations that have the same class of downsides (DoS, etc.), as far as I can see. For instance in this case we can look at slowloris attack mitigations.

Basically, we send a notification for each 1000 characters, all filled as much as possible. We can change that, if requested (probably best to track in a separate issue though).

I guess we can at least implement batching for that, since we know when the last chunk comes in. The question is how to communicate it. We can play with the activitiy id may be?

@lhecker and I are surprised that UIA doesn't have a first-party solution for this problem, so the idea would be to do it ourselves.

There is UIA event coalescing, but I don't think it works for notifications. There is also connection recovery, that should kick in if the provider doesn't respond quick enough. I guess the latter means that a screen reader can freeze its provider when it's too busy, in which case messages should be discarded automatically. But I'm not sure whether that's really the case.


fix: etcd reconnecting problem

当生产者与etcd短时间（比如120秒）内网络异常，导致节点注册信息过期。而待网络正常后，节点不会自动重新在etcd上注册。
这个修改解决了该问题吗？或者在其他版本已经解决该问题？
When the network between the producer and the etcd is abnormal for a short time (such as 120 seconds), the node registration information will expire. After the network is normal, the node will not automatically re register on the etcd.
Does this change solve the problem? Or has the problem been solved in other versions?


Error installing coreos image: [ERROR] openpgp: invalid data: user ID packet not followed by self-signature

I freshly installed the latest corectl and kube-cluster-osx today on OS X El Capitan 10.11.2 (15C50). When I click Setup->Initial setup of Kube-Cluster VMs, I get this error:
[ERROR] openpgp: invalid data: user ID packet not followed by self-signature

Full console log:
22:17:53-myusername~$ /Applications/Kube-Cluster.app/Contents/Resources/first-init.command; exit;

Setting up Kubernetes Cluster for macOS

Reading ssh key from /Users/myusername/.ssh/id_rsa.pub

/Users/myusername/.ssh/id_rsa.pub found, updating configuration files ...

Set CoreOS Release Channel:
 1)  Alpha (may not always function properly)
 2)  Beta
 3)  Stable (recommended)

Select an option: 3

Please type Nodes RAM size in GBs followed by [ENTER]:
[default is 2]:
Changing Nodes RAM to 2GB...

Creating 5GB sparse disk (QCow2) for Master ...
-
Created 5GB Data disk for Master

Please type Nodes Data disk size in GBs followed by [ENTER]:
[default is 15]:

Creating 15GB sparse disk (QCow2) for Node1...
-
Created 15GB Data disk for Node1

Creating 15GB sparse disk (QCow2) for Node2...
-
Created 15GB Data disk for Node2

Starting k8smaster-01 VM ...
> booting k8smaster-01 (1/1)
[WARN] /Users/myusername/.coreos/images/stable/1122.2.0/coreos_production_pxe.vmlinuz missing - stable/1122.2.0 ignored
---> downloading and verifying stable/1122.2.0
[ERROR] openpgp: invalid data: user ID packet not followed by self-signature

Master VM has not booted, please check '~/kube-cluster/logs/master_vm_up.log' and report the problem !!!

Press [Enter] key to continue...

Found a workaround:
If I open a new iterm window and run this line of code to install the VMs, I don't get the openpgp error:
$ ~/bin/corectl load settings/k8smaster-01.toml
> booting k8smaster-01 (1/1)
[WARN] /Users/myusername/.coreos/images/stable/1122.2.0/coreos_production_pxe.vmlinuz missing - stable/1122.2.0 ignored
---> downloading and verifying stable/1122.2.0
32.63 MB / 32.63 MB [==================================================================================================================================] 100.00 %
---> SHA512 hash for coreos_production_pxe.vmlinuz OK
220.78 MB / 220.78 MB [================================================================================================================================] 100.00 %
---> SHA512 hash for coreos_production_pxe_image.cpio.gz OK
---> stable/1122.2.0 ready
---> 'k8smaster-01' started successfuly with address <IP_ADDRESS> and PID 87297
---> 'k8smaster-01' boot logs can be found at '/Users/myusername/.coreos/running/7E79BC00-7E3C-4B19-9CDF-83F99FD73A23/log'
---> 'k8smaster-01' console can be found at '/Users/myusername/.coreos/running/7E79BC00-7E3C-4B19-9CDF-83F99FD73A23/tty'

I can then manually execute all the code inside the first-init.command shell script successfully to get everything up and running.

that's is a very weird issue, it could be that first time the download got interrupted.
@AntonioMeireles would be possible to make corectl tool to try to re-download the missing fail automatically?


Updated Information for SRS stages

I updated the SRS stages description to account for an inaccuracy. I changed the amount of time from Guru 1 to Guru 2 from 4 days to 1 week.
Changes proposed in this pull request:

Guru 1 > Guru 2 now says 1 week instead of 4 days

The credentials to view the Netlify deploy is the following:

username: crabigator
password: googlebegone

Deploy preview for wanikani-knowledgebase processing.
Building with commit 40867f962be07267f4903ab40ed0efd2123cd1c5
https://app.netlify.com/sites/wanikani-knowledgebase/deploys/5e5ff1734bbf81000860a3d0


Numpy has no attribute 'array'

When I run the example code it returns an error:
https://i.imgur.com/wSCWM3E.png

Have you seen #297?

Yes, but the solution did not work for me. There's no numpy.py file anywhere in the directory. Am I supposed to get the files from somewhere else other than numpy's github?

No, that should work. More information would be useful here:

The entire error message
The output from running import numpy; numpy.__file__ from a python shell
How you installed numpy

https://i.imgur.com/UjEx9ml.png
I installed it by downloading numpy's repository to my manim folder through GitHub Desktop.
Running the command you mentioned:
https://i.imgur.com/28Sv5ZX.png

Downloading the repository is different from installing the library. A google search should produce instructions on how to install numpy.

I found where my numpy was and after putting it in the manim directory i got another error for a module that was located in the same place. Is there some way I can set the directory that these modules are in to be accessible from any directory? Sort of how I had to set up the PATH for python.


Service Fabric plugin for eclipse does not appear

Following these instructions the Service Fabric plugin does not come up, only the azure toolset and Team explorer are available. Please advise

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

ID: 867a5a41-6a54-7c92-6bb3-65eec3159076
Version Independent ID: f83a57ba-66fc-96a4-9f69-6bb299a51001
Content: Set up your development environment on Linux
Content Source: articles/service-fabric/service-fabric-get-started-linux.md
Service: service-fabric
GitHub Login: @mani-ramaswamy
Microsoft Alias: subramar

@wcom939 Thank you for your feedback! We will investigate and get back to you with the relevant info.

@wcom939 can you confirm that you are using Eclipse Neon or a later version?

Apologies I did not see the notification on my side.

This was the latest neon when I downloaded from eclipse last week.
Thanks,
Dan

I just checked and the servicefabric plugin appears now:

@wcom939 thanks for getting back.
Strange they are showing up now. Good but strange as I am not sure why they would not show up to begin with. Aware of any changes made?

@wcom939 I will close this as the issue seems to have resolved itself. It you notice the issue come back please reopen and we can continue.

https://dl.microsoft.com/eclipse does not exist anymore and service fabric cannot be installed


feature: add leader election for controllers

Feature Description
As a kcp platform operator, I would like to be able to run multiple copies of the kcp process for high availability.
As a kcp platform operator, I need to ensure that multiple copies of the controllers do not fight with each other.
Proposed Solution
We can enable leader election (optionally) so only 1 copy of each controller is active at a time.
Alternative Solutions
No response
Want to contribute?

[ ] I would like to work on this issue.

Additional Context
No response

There are probably a thousand implementations. Here is one using client-go https://github.com/kube-bind/kube-bind/blob/main/cmd/konnector/cmd/leaderelection.go

Right, no need to reinvent the wheel, since client-go has it already

Deployment rollout would run normally, but at the end of the rollout no bootstrapping would have run (which might be vital for the hypothetical v0.21.0 upgrade).

Maybe I'm dense, but why would there be no bootstrap? At some point a new 0.21 Pod has to become leader, no?

Maybe I'm dense, but why would there be no bootstrapping? At some point a new 0.21 Pod has to become leader, no?

Bootstrapping only happens once at pod startup. So a 0.21 pod doesn't need to become leader at some point, it needs to be leader at startup if 0.21 bootstrapping is supposed to happen.
Let's walk through an example. We have kcp-0.20-a and kcp-0.20-b pods running. kcp-0.20-a is leader. We trigger a rolling update to 0.21.

kcp-0.21-c starts up while kcp-0.20-b terminates. Our c pod will not be able to become leader during startup because a is still leader. Bootstrapping will not happen in c.
kcp-0.21-c becomes ready. kcp-0.21-d starts up while kcp-0.20-a terminates. Since a terminates, leader election is up. c snatches the leader lock while d is still pulling image. d does not do bootstrapping because it's not leader.
Step 2 can theoretically happen continuously with each kcp-0.21 pod starting. If a leader election happens because the leader gets replaced, the "established" kcp-0.21 pod becomes leader, and the new one doesn't run bootstrapping.

Maybe I'm missing something, but I would like to avoid an implementation that depends on "we got lucky and leader election worked in our favour".

Maybe bootstrapping should be done via a dedicated Job that runs once. If both 0.20 and 0.21 pods would be able to function with a bootstrapped 0.21 system, then it should not matter when the bootstrappin happens.
Of course this is maybe just piling on additional complexity, but it sounds managing leader election and bootstrapping in the same process is nightmarish.

Okay, I've given up on making everything work. #2996 will implement leader elections for the existing (core) controllers in kcp, the bootstrapping situation will be dealt with at a later point.


Fix index schemes data coordinator

Nothing more to add, this is leftover from switching supported-housing to schemes

Should there be a spec for the failing case?


Method not found

I'm using the latest godot build from git.
I'm able to run this project but this keeps appearing on my console. Anything needs changing?
ERROR: emit_signal: Error calling method from signal 'position_changed': 'Sprite(gdexample.gdns)::_on_Sprite_position_changed': Method not found.    At: core/object.cpp:1246. ERROR: emit_signal: Error calling method from signal 'position_changed': 'Sprite(gdexample.gdns)::_on_Sprite_position_changed': Method not found.    At: core/object.cpp:1246. ERROR: emit_signal: Error calling method from signal 'position_changed': 'Sprite(gdexample.gdns)::_on_Sprite_position_changed': Method not found.    At: core/object.cpp:1246. ERROR: emit_signal: Error calling method from signal 'position_changed': 'Sprite(gdexample.gdns)::_on_Sprite_position_changed': Method not found.    At: core/object.cpp:1246.

Made a fresh copy of everything. I'm closing this now. Thanks!


Cannot Transfer URDF From ROS

[x] I am at the right place and my issue is directly related to ROS#. General technical questions I would post e.g. at ROS Answers or Stack Overflow. For library-specific questions I would look for help in the corresponding library forums.
[x] I have thoroughly read the Contributing Guideline and writing this issue is the right thing to do in my case.

[x] I am using the latest ROS# version available here on the master branch.

[x] I am adding all required information, code and data files, screenshots and log files so that you can reproduce the problem.

My OS is: Ubuntu 22.02

My Unity Version is: Unity 6 (6000.0.25f1)

My ROS Distribution is: ROS 2 humble

My Build Target Platform is: Unity Editor

Here is my bug description:
I refer to https://github.com/siemens/ros-sharp/wiki/User_App_ROS_TransferURDFFromROS .
Below error occurred when transferring URDF from ROS.
FileNotFoundException: Could not find file "/home/hijikata/work/Robot_Unity_App/Assets/Urdf/file_server2/robot_state_publisher:robot_description.urdf"
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <f724beac1c704825ad74571377c52f70>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) (at <f724beac1c704825ad74571377c52f70>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
System.Xml.XmlDownloadManager.GetStream (System.Uri uri, System.Net.ICredentials credentials, System.Net.IWebProxy proxy, System.Net.Cache.RequestCachePolicy cachePolicy) (at <342a04f2cf8d45d88209220398fbc274>:0)
System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) (at <342a04f2cf8d45d88209220398fbc274>:0)
System.Xml.XmlTextReaderImpl.FinishInitUriString () (at <342a04f2cf8d45d88209220398fbc274>:0)
System.Xml.XmlTextReaderImpl..ctor (System.String uriStr, System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext context, System.Xml.XmlResolver uriResolver) (at <342a04f2cf8d45d88209220398fbc274>:0)
System.Xml.XmlReaderSettings.CreateReader (System.String inputUri, System.Xml.XmlParserContext inputContext) (at <342a04f2cf8d45d88209220398fbc274>:0)
System.Xml.XmlReader.Create (System.String inputUri, System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext inputContext) (at <342a04f2cf8d45d88209220398fbc274>:0)
System.Xml.XmlReader.Create (System.String inputUri, System.Xml.XmlReaderSettings settings) (at <342a04f2cf8d45d88209220398fbc274>:0)
System.Xml.Linq.XDocument.Load (System.String uri, System.Xml.Linq.LoadOptions options) (at <ddc5d26c16934c8e8cb0267acccb1a3a>:0)
System.Xml.Linq.XDocument.Load (System.String uri) (at <ddc5d26c16934c8e8cb0267acccb1a3a>:0)
RosSharp.Urdf.Robot..ctor (System.String filename) (at ./Library/PackageCache/com.siemens.ros-sharp/Runtime/Libraries/Urdf/Robot.cs:41)
RosSharp.Urdf.Editor.UrdfRobotExtensions.Create (System.String filename) (at ./Library/PackageCache/com.siemens.ros-sharp/Editor/Urdf/UrdfComponents/UrdfRobotExtensions.cs:44)
RosSharp.RosBridgeClient.TransferFromRosHandler.GenerateModelIfReady () (at ./Library/PackageCache/com.siemens.ros-sharp/Editor/RosBridgeClient/UrdfTransfer/TransferFromRosHandler.cs:122)
RosSharp.RosBridgeClient.TransferFromRosEditorWindow.OnInspectorUpdate () (at ./Library/PackageCache/com.siemens.ros-sharp/Editor/RosBridgeClient/UrdfTransfer/TransferFromRosEditorWindow.cs:141)
UnityEditor.HostView.OnInspectorUpdate () (at /home/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:452)

As you can see from the first line, the file name is wrong.
The URDF parameter (robot_state_publisher:robot_description) seems to be related, but changing the URDF parameter to “robot_description” does not resolve the issue.
Perform the following steps reproduce the bug:

launch file_server with below commandros2 launch file_server2 publish_description_r2d2.launch.py

launch Unity Editor
Select [RosBridgeClient] -> [Transfer URDF From ROS...]
Set "Robot Name Parameter" "r2d2:file_server2"
Set "URDF Parameter" "robot_state_publisher:robot_description"
Set "Asset Path" "/home/${USER}/work/Robot_Unity_App/Urdf"
Press "Read Robot Description" button
Click "Yes" button in pop-up dialogue box

Observed results:
Screenshot is below.

Expected results:
If the tutorial is followed, a robot model should be generated.

It could be improved by changing line 117 and after in TransferRosHandler.cs as follows.
            if (EditorUtility.DisplayDialog(
                "Urdf Assets imported.",
                "Do you want to generate a " + robotName + " GameObject now?",
                "Yes", "No"))
            {
#if ROS2
                string[] urdfNames = urdfParameter.Split(':');
                string urdfName = urdfNames[1];
#else
                string urdfName = urdfParameter;
#endif
                Urdf.Editor.UrdfRobotExtensions.Create(Path.Combine(
                    localDirectory,
                    Path.GetFileNameWithoutExtension(urdfName) + ".urdf"));
            }

However, I am not familiar enough with C# to know if this is the correct change.

Hi, I made a PR for this problem here : https://github.com/siemens/ros-sharp/pull/466

Thanks for creating the pull request.

Hi @hijimasa,
Thanks for reaching out and testing ROS# with Unity 6 and Ubuntu 22. No matter what I did, I couldn't reproduce the bug, it works on Windows 11 & Unity 2022.3. Checking the error dialogue, TransferFromRosHandler is looking for the robot_state_publisher:robot_description.urdf, which is not the intended behaviour. I suspect the reason this isn't a problem on Windows is the different execution of the Path.GetFileNameWithoutExtension Method between Windows and Ubuntu, as : is not allowed in the Windows path format.
The quickest workaround I would suggest (if you haven't already) is to wrap the urdfParameter with CutAfterColon before passing it to GetFileNameWithoutExtension. Not the best practice, but it might be a quick fix.


fix : contributor's chat room link

Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

Sorry, It was a problem