XUL Runner error

I can use the interactive mode to chat with gpt4, but when I am using the python scripts, I meet the following error:
the profile was last used with a newer version of this application, please create a new profile.
How to fix this error?

Browser backend is deprecated, and its module use is no longer supported. Use the API backend module instead.


Run the rsync command with chmod parameter set to 755 (rwxr-xr-x) to mak...

...e sure we consistently copy our databases with the same permission

Coverage increased (+0.28%) to 74.69% when pulling 350edc2373024218aff8917a273a8e9779a59e61 on thomasmaurel:copydboverpermissions into 8bad4b467c2f36d016d9ebcc8a11489816213a1a on Ensembl:master.

Thanks for the change, looks fine to me


Feat/sisyfos baseline

feat: Sisyfos baselines
This PR sketches out an idea of configuring the default Sisyfos setup in an typed object, and sets both studio- and rundown baseline from this.
Server-channels need to be calculated from a config specifying how many channels ar eused for servers.
Experimental, un-tested. Sent to @thomaslee97 for a sanity check and being working into a mergeable state.

Untested, experimental, though, idea, scratchpad, pleasefix, yougettheidea


Replace lz4net by K4os.Compression.LZ4 for .NET framework build

lz4net is not maintained anymore and can be replaced by K4os.Compression.LZ4 that targets both net45 and .netstandard2.0.

Nice @verdie-g !
Just as a heads up, the lead engineer for the C# driver is out this week so the review might take longer than usual.

As Jorge mentioned I'm out this week (and the next) so it will be a while until I can look at this more carefully but in the meantime you might want to check the discussion at https://github.com/datastax/csharp-driver/pull/520
We are using K4os.Compression.LZ4 with netstandard2.0 but we kept lz4net with net452 because the compatibility between both libraries is not guaranteed. We are planning to make this change with the new major release which is several months away from release. If you want to go forward with this PR even though it will only be released in the new major version, then please change the target branch to 4.x instead of master.
Relevant JIRA tickets:
https://datastax-oss.atlassian.net/browse/CSHARP-719 (released in 3.15.0)
https://datastax-oss.atlassian.net/browse/CSHARP-898 (targeted for 4.0)

The methods LZ4.LZ4Codec.{En,De}code are supposed to be compatible with K4os.Compression.LZ4.LZ4Codec.{En,De}code and also with the original LZ4. If they were incompatible wouldn't that mean that either compression with .NET Framework or .NET Standard is broken?
The methods LZ4.LZ4Codec.{Unw,W}rap are not compatible with K4os.Compression.LZ4.LZ4Pickler.{Unp,P}ickle though. but they aren't used here.

I made the following script to understand the compatibility between the two libraries
private static readonly (string name, Func<byte[], byte[]> encode)[] Encoders =
{
    ("k4os-pickle         ", PickleK4os),
    ("k4os-encode         ", EncodeK4os),
    ("k4os-encode-stream  ", EncodeStreamK4os),
    ("k4os-wrap (legacy)  ", WrapK4osLegacy),
    ("lz4net-wrap         ", WrapLZ4net),
    ("lz4net-encode       ", EncodeLZ4net),
    ("lz4net-encode-stream", EncodeStreamLZ4net),
};

private static readonly (string name, Func<byte[], byte[]> decode)[] Decoders =
{
    ("k4os-unpickle       ", UnpickleK4os),
    ("k4os-decode         ", DecodeK4os),
    ("k4os-decode-stream  ", DecodeStreamK4os),
    ("k4os-unwrap (legacy)", UnwrapK4osLegacy),
    ("lz4net-unwrap       ", UnwrapLZ4net),
    ("lz4net-decode       ", DecodeLZ4net),
    ("lz4net-decode-stream", DecodeStreamLZ4net),
};

static void Main()
{
    byte[] payload = Encoding.UTF8.GetBytes("toto l'abricot");

    Console.WriteLine("encoder             decoder               result");
    Console.WriteLine("------------------------------------------------------------");
    foreach (var encoder in Encoders)
    {
        foreach (var decoder in Decoders)
        {
            try
            {
                if (!Enumerable.SequenceEqual(decoder.decode(encoder.encode(payload)), payload))
                {
                    throw new Exception("decode(encode(x)) != x");
                }

                Console.WriteLine($"{encoder.name}  {decoder.name}  COMPATIBLE");
            }
            catch (Exception e)
            {
                Console.WriteLine($"{encoder.name}  {decoder.name}  INCOMPATIBLE: {e.Message}");
            }
        }
    }
}

private static byte[] PickleK4os(byte[] b) => K4os.Compression.LZ4.LZ4Pickler.Pickle(b);
private static byte[] UnpickleK4os(byte[] b) => K4os.Compression.LZ4.LZ4Pickler.Unpickle(b);

private static byte[] EncodeK4os(byte[] b)
{
    var c = new byte[K4os.Compression.LZ4.LZ4Codec.MaximumOutputSize(b.Length)];
    int l = K4os.Compression.LZ4.LZ4Codec.Encode(b, 0, b.Length, c, 0, c.Length);
    return c.Take(l).ToArray();
}

private static byte[] DecodeK4os(byte[] b)
{
    var c = new byte[100];
    int l = K4os.Compression.LZ4.LZ4Codec.Decode(b, 0, b.Length, c, 0, c.Length);
    return c.Take(l).ToArray();
}

private static byte[] EncodeStreamK4os(byte[] b)
{
    using (var outputStream = new MemoryStream())
    {
        using (var compressedStream = K4os.Compression.LZ4.Streams.LZ4Stream.Encode(outputStream, leaveOpen: true))
        {
            compressedStream.Write(b);
        }

        return outputStream.ToArray();
    }
}

private static byte[] DecodeStreamK4os(byte[] b)
{
    using (var outputStream = new MemoryStream())
    {
        using (var inputStream = new MemoryStream(b))
        using (var decompressedStream = K4os.Compression.LZ4.Streams.LZ4Stream.Decode(inputStream, leaveOpen: true))
        {
            decompressedStream.CopyTo(outputStream);
        }

        return outputStream.ToArray();
    }
}

private static byte[] WrapK4osLegacy(byte[] b) => K4os.Compression.LZ4.Legacy.LZ4Wrapper.Wrap(b);
private static byte[] UnwrapK4osLegacy(byte[] b) => K4os.Compression.LZ4.Legacy.LZ4Wrapper.Unwrap(b);

private static byte[] WrapLZ4net(byte[] b) => LZ4.LZ4Codec.Wrap(b);
private static byte[] UnwrapLZ4net(byte[] b) => LZ4.LZ4Codec.Unwrap(b);

private static byte[] EncodeLZ4net(byte[] b)
{
    var c = new byte[LZ4.LZ4Codec.MaximumOutputLength(b.Length)];
    int l = LZ4.LZ4Codec.Encode(b, 0, b.Length, c, 0, c.Length);
    return c.Take(l).ToArray();
}

private static byte[] DecodeLZ4net(byte[] b)
{
    var c = new byte[100];
    int l = LZ4.LZ4Codec.Decode(b, 0, b.Length, c, 0, c.Length);
    return c.Take(l).ToArray();
}

private static byte[] EncodeStreamLZ4net(byte[] b)
{
    using (var outputStream = new MemoryStream())
    {
        using (var compressedStream = new LZ4.LZ4Stream(outputStream, LZ4.LZ4StreamMode.Compress, LZ4.LZ4StreamFlags.IsolateInnerStream))
        {
            compressedStream.Write(b);
        }

        return outputStream.ToArray();
    }
}

private static byte[] DecodeStreamLZ4net(byte[] b)
{
    using (var outputStream = new MemoryStream())
    {
        using (var inputStream = new MemoryStream(b))
        using (var decompressedStream = new LZ4.LZ4Stream(inputStream, LZ4.LZ4StreamMode.Decompress, LZ4.LZ4StreamFlags.IsolateInnerStream))
        {
            decompressedStream.CopyTo(outputStream);
        }

        return outputStream.ToArray();
    }
}

which gives

Encoder
Decoder
Compatibility
Error

k4os-pickle
k4os-unpickle
COMPATIBLE

k4os-pickle
k4os-decode
INCOMPATIBLE
decode(encode(x)) != x

k4os-pickle
k4os-decode-stream
INCOMPATIBLE
LZ4 frame magic number expected

k4os-pickle
k4os-unwrap (legacy)
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

k4os-pickle
lz4net-unwrap
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

k4os-pickle
lz4net-decode
INCOMPATIBLE
LZ4 block is corrupted, or invalid length has been given.

k4os-pickle
lz4net-decode-stream
INCOMPATIBLE
Unexpected end of stream

k4os-encode
k4os-unpickle
INCOMPATIBLE
Expected<PHONE_NUMBER> bytes but -1 has been decoded

k4os-encode
k4os-decode
COMPATIBLE

k4os-encode
k4os-decode-stream
INCOMPATIBLE
LZ4 frame magic number expected

k4os-encode
k4os-unwrap (legacy)
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

k4os-encode
lz4net-unwrap
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

k4os-encode
lz4net-decode
COMPATIBLE

k4os-encode
lz4net-decode-stream
INCOMPATIBLE
Unexpected end of stream

k4os-encode-stream
k4os-unpickle
INCOMPATIBLE
Pickle version 4 is not supported

k4os-encode-stream
k4os-decode
INCOMPATIBLE
decode(encode(x)) != x

k4os-encode-stream
k4os-decode-stream
COMPATIBLE

k4os-encode-stream
k4os-unwrap (legacy)
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

k4os-encode-stream
lz4net-unwrap
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

k4os-encode-stream
lz4net-decode
INCOMPATIBLE
LZ4 block is corrupted, or invalid length has been given.

k4os-encode-stream
lz4net-decode-stream
INCOMPATIBLE
Unexpected end of stream

k4os-wrap (legacy)
k4os-unpickle
INCOMPATIBLE
Pickle version 6 is not supported

k4os-wrap (legacy)
k4os-decode
INCOMPATIBLE
decode(encode(x)) != x

k4os-wrap (legacy)
k4os-decode-stream
INCOMPATIBLE
LZ4 frame magic number expected

k4os-wrap (legacy)
k4os-unwrap (legacy)
COMPATIBLE

k4os-wrap (legacy)
z4net-unwrap
COMPATIBLE

k4os-wrap (legacy)
z4net-decode
INCOMPATIBLE
LZ4 block is corrupted, or invalid length has been given.

k4os-wrap (legacy)
z4net-decode-stream
INCOMPATIBLE
Unexpected end of stream

lz4net-wrap
k4os-unpickle
INCOMPATIBLE
Pickle version 6 is not supported

lz4net-wrap
k4os-decode
INCOMPATIBLE
decode(encode(x)) != x

lz4net-wrap
k4os-decode-stream
INCOMPATIBLE
LZ4 frame magic number expected

lz4net-wrap
k4os-unwrap (legacy)
COMPATIBLE

lz4net-wrap
lz4net-unwrap
COMPATIBLE

lz4net-wrap
lz4net-decode
INCOMPATIBLE
LZ4 block is corrupted, or invalid length has been given.

lz4net-wrap
lz4net-decode-stream
INCOMPATIBLE
Unexpected end of stream

lz4net-encode
k4os-unpickle
INCOMPATIBLE
Expected<PHONE_NUMBER> bytes but -1 has been decoded

lz4net-encode
k4os-decode
COMPATIBLE

lz4net-encode
k4os-decode-stream
INCOMPATIBLE
LZ4 frame magic number expected

lz4net-encode
k4os-unwrap (legacy)
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

lz4net-encode
lz4net-unwrap
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

lz4net-encode
lz4net-decode
COMPATIBLE

lz4net-encode
lz4net-decode-stream
INCOMPATIBLE
Unexpected end of stream

lz4net-encode-stream
k4os-unpickle
INCOMPATIBLE
decode(encode(x)) != x

lz4net-encode-stream
k4os-decode
INCOMPATIBLE
decode(encode(x)) != x

lz4net-encode-stream
k4os-decode-stream
INCOMPATIBLE
LZ4 frame magic number expected

lz4net-encode-stream
k4os-unwrap (legacy)
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

lz4net-encode-stream
lz4net-unwrap
INCOMPATIBLE
inputBuffer size is invalid or has been corrupted

lz4net-encode-stream
lz4net-decode
INCOMPATIBLE
LZ4 block is corrupted, or invalid length has been given.

lz4net-encode-stream
lz4net-decode-stream
COMPATIBLE

LZ4.LZ4Codec.{En,De}code compatible with K4os.Compression.LZ4.LZ4Codec.{En,De}code and also with original LZ4
LZ4.LZ4Codec.{Unw,W}rap compatible with K4os.Compression.LZ4.Legacy.LZ4Wrapper.{Unw,W}rap
LZ4.LZ4Codec.{Unw,W}rap NOT compatible with K4os.Compression.LZ4.LZ4Pickler.{Unp,P}ickle
LZ4.LZ4Stream NOT compatible with K4os.Compression.LZ4.Stream.{En,De}code

Thanks for the investigation, I'm ok with merging this to master and 4.x but it's unlikely that we will push a 3.x minor release out because of this since we are currently focused on the new major release, is that ok?

Ok, should I change the branch to 4.x?

No, this is fine. master is 3.x at the moment and since it looks like there is no compatibility issues we can merge this to master so that it lands in a future 3.x release (and 4.0).
It looks like our CLA enforcer bot is having some issues because you didn't sign the CLA but the bot didn't post any message here... I'll try to figure out what's happening and I'll post an update here when I have more news.

Ok it is signed. A mention to the CLA should probably be added to the CONTRIBUTING.md

Oh thanks, I just confirmed it. Just curious, how did you find the link?
We didn't include it on the CONTRIBUTING.md because we have a bot that automatically checks if the author already signed it and in case it's a new contributor that hasn't signed it before, it posts a message with the link on the PR and then posts a message confirming that the user signed the CLA so adding it as a step on the CONTRIBUTING.md felt unnecessary.

https://www.google.com/search?q=datastax CLA :)

Thanks for the contribution again!


May I ask which config is the experiment you presented in your paper?

May I ask which config is the experiment you presented in your paper?

I can't see any improvement in model performance. Is this normal? I am running the mask_sac configuration file.


Mount s3 bucket to cfncluster via IAM role

This issue is more like a question about shared data storage in cfncluster. Is there a way that I can use s3 bucket as a mountpoint in the cluster that all nodes can share?
The reason I'm asking this is because we are planning to use cfncluster to run some algorithms to analyze some large data files. Slurm is used as the job scheduler,  and we wanted to see if it's possible to use s3 to store all the data results as a stable data store. I could mount s3 bucket to master using s3fs, but it seems slurm can't tell all the nodes to store their results back to the mountpoint on master.

s3fs-fuse

That's not a limitation of slurm, it's the nature of an object store (which is not a filesystem). Anyhow if you're using s3fs already you don't have to have just one mountpoint on the Master, you can mount the bucket on all the compute nodes... there's only "eventual consistency" guarantee if you're accessing the bucket from multiple nodes, but that as good as you can get with this type of storage.

Thanks for the reply. I tried s3fs several times and couldn't find a way to mount s3 bucket to all nodes. I could only mount it to the master node. I read through this thread https://github.com/s3fs-fuse/s3fs-fuse/issues/30 but it was not very clear about all things need to be done. Even after I tried to add the mount point in the "/etc/fstab" file.
As you said it's not a Slurm issue and I found this out too. Because when I tried to submit a batch job script that is stored in the mounted s3, slurm said "No such file or directory", which I think is due to the s3 bucket is not mounted onto all compute nodes.
Can you please shed some light on how to mount s3 to all compute nodes and the master? Much appreciated!

BTW, I tested with the s3_read_write_resource in configuration and it allowed me to read and write to the s3 bucket. According to the documentation http://cfncluster.readthedocs.io/en/latest/s3_resources.html it says that all nodes will have the read and write access. so I was wondering if this implies that I should try to call AWS S3 CLI to read and write instead of using s3fs.

If you have a workflow that can use s3 directly then aws cli is a great choice. I assumed you had some specific reason for wanting a filesystem, in which case you are stuck with something like s3fs. To mount it on all nodes I would create a post_install script containing the mount commands, which you upload to s3 and then reference in cfncluster configuration. This script gets run whenever a cluster node is built, be it Master or Compute, and is AWS recommended way of customizing node installation.

Thanks for the suggestion. I've been trying to run the post install script yesterday. Debugging is not very easy. My post install script looks like this:
#!/bin/bash

cd /home/ec2-user/

mkdir s3mnt

For testing purpose, I wanted to see if the s3mnt dir can be created on the master (as well as on all compute nodes, but I can't login to the compute nodes to verify). But after the cluster was created, I didn't see that dir.
I also made the post install script on s3 public and enabled the read and write access in cfncluster config.

s3_read_write_resource = arn:aws:s3:::ccd-s3
post_install = https://s3.amazonaws.com/ccd-s3/cfncluster-post_install.sh

I'm also wondering is the post install script is being executed by the root instead of ec2-user.

I finally got this working. This is what's in the post install script, which is stored in s3 and can be accessed publicly.
#!/bin/bash

cd /home/ec2-user/

mkdir s3mnt

chmod 777 s3mnt

yum -y install automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel

git clone https://github.com/s3fs-fuse/s3fs-fuse.git

cd s3fs-fuse

./autogen.sh

./configure

make

make install

cd ..

echo MYIDENTITY:MYCREDENTIAL > .passwd-s3fs

chmod 600 .passwd-s3fs

s3fs my-s3 /home/ec2-user/s3mnt -o allow_other -o passwd_file=/home/ec2-user/.passwd-s3fs -o umask=0000

In my cfncluster config, I have these two lines:
s3_read_write_resource = arn:aws:s3:::my-s3
post_install = https://s3.amazonaws.com/my-s3/cfncluster-post_install.sh

Just wanted to share so others who have the same issue may get some details.

That's basically the right way to do it, but you shouldn't put your credentials on the node, and especially  not by echoing them there via hardcoded entry in a shell script - it's only one forgetful moment away from exposing them to everyone online. The right way to do it is to set up IAM role with S3 read/write permissions on the bucket, grant the role to the cfncluster instances, and specify the  "-o iam_role <my_s3_read_write_role>" argument to s3fs.

Thanks for the suggestion. I'll do that. Since you mentioned using IAM role with s3fs, do you know can we also specify an IAM role in cfncluster configuration instead of have the AWS credentials in the config file?

When you mentioned "grant the role to the cfncluster instances", how do you do that? I created the IAM role (s3fs-iam-role) with s3 full access, and added the iam_role="s3fs-iam-role" when mounting the s3 bucket to the cluster instances via the post install script. I don't see the s3 bucket is mounted there. So I'm wondering maybe I didn't grant the IAM role to those cfncluster instances before creating them.

Oops, just saw this ec2_iam_role in the configuration. I think this is the one I needed. Trying it now.

Yes you need to assign the IAM role before node creation, which is why it's specified in the config file. See http://cfncluster.readthedocs.io/en/latest/iam.html. You should use the CfnClusterInstancePolicy as a template and add a section with policy for read/write permissions for whatever s3 resources you will be mounting with s3fs.
Re. earlier comment, you don't need AWS credentials in the config file as long as you have previously executed aws configure

@delocalizer thanks for the instructions. Here is what I did.

I added a new policy based on the CfnClusterInstancePolicy from http://cfncluster.readthedocs.io/en/latest/iam.html and added the S3 section as well.

Created a new role called "cfncluster-iam-role" and attached that CfnClusterInstancePolicy to this role.

Added ec2_iam_role in my .cfncluster/config file:

[global]
update_check = true
sanity_check = true
cluster_template = ccd

[aws]
aws_access_key_id = xxxxx
aws_secret_access_key = yyyyyyy
aws_region_name = us-east-1

[cluster ccd]
vpc_settings = ccd
key_name = dbmi-aws-east
scheduler = slurm
initial_queue_size = 2
max_queue_size = 4
s3_read_write_resource = arn:aws:s3:::ccd-s3
post_install = https://ccd-s3.s3.amazonaws.com/cfncluster-post_install.sh
ec2_iam_role = arn:aws:iam::495666495561:role/cfncluster-iam-role

[vpc ccd]
master_subnet_id = subnet-65aede3c
vpc_id = vpc-7f88871a

As you replied, I also tried to use aws configure to put the aws credentials there, it saved the config  to ~/.aws, I thought it might be still easy to just have the [aws] section with credentials in cfncluster config.
But after running cfncluster create ccd I got this error:
[ec2-user@ip-172-31-27-137 .cfncluster]$ cfncluster create ccd
Starting: ccd
Template format error: Unresolved resource dependencies [RootRole] in the Resources block of the template

And when I removed the ec2_iam_role line from config, it was fine. I just couldn't figure this out. Hope you can shed some light on me.

By default CfnCluster creates an EC2 IAM Role as part of the cluster stack. The ec2_iam_role setting causes CfnCluster to no longer create the role and use the provided role. The value should simply be the role name, in your example cfncluster-iam-role.
The s3_read_resource and s3_read_write_resource settings are used to add basic S3 access to the stack role and should not be set, when using ec2_iam_role.
In addition, it is best not to modify the CfnClusterInstancePolicy directly, rather you can attach up to 10 policies to the role you create for CfnCluster. It is generally better to use an S3 managed policy for S3 or built a specific one for your S3 access requirements.
With regards to credentials, the CfnCluster CLI is built using boto and uses the following precedence - http://boto.readthedocs.io/en/latest/boto_config_tut.html#precedence.

@dougalb thanks for your help! I got it work by following your instructions. As you suggested, I created a new policy for s3 access only and attached it together with the CfnClusterInstancePolicy from the documentation. Also removed the s3_read_write_resource  line and changed the ec2_iam_role value to the iam role name.
My s3 bucket was mounted and I could submit batch jobs with slurm inside the mounted s3 directory. So I assume this s3 bucket was also mounted to all other compute nodes.
The only thing I couldn't get work is to have this s3 mounted upon master server reboot. Cron job works on other tasks, but couldn't re-mount this using
@reboot s3fs ccd-s3 /home/ec2-user/s3mnt -o iam_role="cfncluster-iam-role" -o allow_other -o umask=0000

I'm guessing I'm not supposed to manually stop/start or reboot the master node since it's a cluster. Am I right about this?

Just an update: due to performance issue, we no longer use S3 with CfnCluster, we mounted an EBS volume to the cluster and it worked very well.

Hi @dougalb, I am trying to mount s3 on cfncluster instances using s3-fuse. I have s3-fuse installed on my custom ami. Could you please help me with the steps that use iam_role instead of AWS credentials?

@adavanisanti: you need to create an IAM role before building the cluster (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html).  That role should include the S3 permissions you need, as well as the list of permissions that CfnCluster requires (http://cfncluster.readthedocs.io/en/latest/iam.html).  From there, you should be able to specify your new role as the ec2_iam_role option in your CfnCluster configuration and be good to go.

I am having similar issues with utilizing the ec2_iam_role. When I create the cluster based on my configuration it appears to keep creating a new role with the default policies in AWS.
Here is my role with the policies:

Here is my configuration:

Here is a screenshot of the default behavior (creation of role):

Does anyone have any insight on what is wrong here?

It only seems to work when I have it defined in the "[cluster default]" section with "cluster default" being set as the template in the configuration.
Here is my full config:

@tylerwmarrs, there is no relationship between the Cfncluster cluster name and your IAM role name. CfnCluster should not create a new role if a custom one is provided. If you still have your "tiny" cluster running, can you see which role was actually attached to the instances --- was it cfncluster-tiny-RootRole-.. or cfncluster-default?

The root role was attached. I am aware that there is no relationship
between the names. I coincidentally named mine cfncluster-default. The only
way that I could get it to use my role was to have ec2_iam_role in my
default template and in the tiny cluster template. Having it only set in
the tiny cluster section caused the root role creation and association with
the cluster.
On Feb 2, 2018 3:36 PM, "Raghu Raja"<EMAIL_ADDRESS>wrote:

@tylerwmarrs https://github.com/tylerwmarrs, there is no relationship
between the Cfncluster cluster name and your IAM role name. CfnCluster
should not create a new role if a custom one is provided. If you still have
your "tiny" cluster running, can you see which role was actually attached
to the instances --- was it cfncluster-tiny-RootRole-.. or
cfncluster-default?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/cfncluster/issues/98#issuecomment-362714787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARmCszud7e75dm8DiaDOJX7I0A0E92mCks5tQ3_cgaJpZM4IZHIj
.


Return failure if docker pid file still not exists after waiting dock…

…er to start for 10 seconds
Signed-off-by: Chun Chen<EMAIL_ADDRESS>I've seen several times that service docker start succeeds even docker daemon fails to start and I think its reasonable to choose failure rather than success if daemon can't create pid file after 10 seconds waiting.
Before:
[root@docker-10-149-27-182 /data/home/gaia/chenchun]# service docker start
Starting docker (via systemctl):                           [  OK  ]
[root@docker-10-149-27-182 /data/home/gaia/chenchun]#
[root@docker-10-149-27-182 /data/home/gaia/chenchun]# docker ps
FATA[0000] Get http:///var/run/docker.sock/v1.18/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

After:
[root@docker-10-149-27-182 /data/home/gaia/chenchun]# service docker start
Starting docker (via systemctl):  Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.
                                                           [FAILED]
[root@docker-10-149-27-182 /data/home/gaia/chenchun]#
[root@docker-10-149-27-182 /data/home/gaia/chenchun]# systemctl status -l docker.service
docker.service - LSB: start and stop docker
   Loaded: loaded (/etc/rc.d/init.d/docker)
   Active: failed (Result: exit-code) since Tue 2015-08-11 17:37:10 CST; 4s ago
  Process: 1944 ExecStart=/etc/rc.d/init.d/docker start (code=exited, status=7)

Aug 11 17:37:00 docker-10-149-27-182 docker[1944]: Redirecting to /bin/systemctl status  cgconfig.service
Aug 11 17:37:10 docker-10-149-27-182 docker[1944]: Starting docker:        [FAILED]
Aug 11 17:37:10 docker-10-149-27-182 docker[1944]: /var/run/docker.pid not exists after waiting docker to initialize for 10 seconds, probably something is wrong, you can check docker logs at /gaia/docker/var/lib/docker/docker ...
Aug 11 17:37:10 docker-10-149-27-182 systemd[1]: docker.service: control process exited, code=exited status=7
Aug 11 17:37:10 docker-10-149-27-182 systemd[1]: Failed to start LSB: start and stop docker.
Aug 11 17:37:10 docker-10-149-27-182 systemd[1]: Unit docker.service entered failed state.

/cc @jfrazelle, @tianon

this was fixed by https://github.com/docker/docker/pull/14868


centerInSuperView functions added

https://github.com/goktugyil/EZSwiftExtensions/blob/master/CONTRIBUTING.md
Docs and readme pls


Button Addon does not seem to be working properly

I am using Bourbon in a Rails 3.0.5 application with Sass 3.1.1. I am trying to use the button add-on which appears to be working properly except that it doesn't seem to be rendering the gradients or shadows properly. This is the output that I get:
...
background-image: linear-gradient(top, compact(top, #4294F0 0%, #116DD5 50%, #095CB8 50%, #0F63C2 100%, false, false, false, false, false));
...

I think the problem is the compact() method that is being used. Shouldn't that be converted to
...
background-image: linear-gradient(#4294F0 0%, #116DD5 50%, #095CB8 50%, #0F63C2 100%);
...

Any assistance on this would be greatly appreciated.

Still having this issue with 1.3.0.
Despite line 10 of _linear-gradient.scss having been changed to:
  @if ($pos-type == color) or (nth($pos, 1) == "transparent")  {

The CSS output of linear-gradient isn't compacted properly:
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(100%, compact(#e53538, #732222, false, false, false, false, false, false, false, false)));
background-image: -webkit-linear-gradient(top, compact(#e53538, #732222, false, false, false, false, false, false, false, false));

Note I'm using this with a Rails 3.0.11 app and I've installed Bourbon through the `rake bourbon:install` command.
background-image: -moz-linear-gradient(top, compact(#e53538, #732222, false, false, false, false, false, false, false, false));
background-image: -ms-linear-gradient(top, compact(#e53538, #732222, false, false, false, false, false, false, false, false));
background-image: -o-linear-gradient(top, compact(#e53538, #732222));
background-image: linear-gradient(top, compact(#e53538, #732222, false, false, false, false, false, false, false, false));

What does your input look like? Are you using the linear-gradient mixin or the background-image mixin?

I'm using the linear-gradient mixin and the box-shadow mixin as is.

Can you paste the code you're using? I find it odd that the compact function isn't getting executed.

+linear-gradient(#d92b2b, #732222)
+box-shadow(inset darken(saturate(#732222, 10%), 10%) 0 0 0 1px, inset rgba(255,255,255,.6) 0 1px 0 1px)


Sub Only VODs not working in TL 1.4

I tried to download a sub only VOD, but the app says im not subbed to the channel even tho i just  subscribed

https://github.com/Franiac/TwitchLeecher#support--issues

Oh shite... I see where that comes from... I fucked something up in 1.4
Can you please confirm that it still works in 1.3.9? That would be very kind. I personally am not subbed to any channel with sub-only VODs, so I cannot test it.

I cancelled the TL 1.4 release. I will put up 1.4.1 if I get confirmation that 1.3.9 works.

I am able to download sub-only VODs with 1.3.9 without any problems.


💡 [REQUEST] - Add sprig support to TTPForge Template Rendering

Implementation PR
No response
Reference Issues
No response
Summary
TTPForge YAML files are actually all templates powered by the text/template package.
This powers our usage of command line arguments by rendering template variable references such as {{.Args.foo}}
We could do much more with templating if we add support for the Sprig library of template functions (this is used by Helm, a similar yaml-based tool that is very popular in the kubernetes community)
https://masterminds.github.io/sprig/
https://github.com/Masterminds/sprig
Examples of what we could do:

Use sprig's  randAlphaNum to support adding a random suffix to strings used in our TTPs
Generate UUIDs without relying on external shell commands (using uuidv4 function)
Use expandenv to reference environment variables in non-shell steps like create_file

The template rendering code that you will need to modify lives here:
https://github.com/facebookincubator/TTPForge/blob/89d43303661b0a2540b828aa920458f796f2a039/pkg/blocks/loader.go#L51C1-L51C1
Basic Example
I would love for something like this to work:
name: write-evil-sudoers-file
description: writes a malicious sudoers file to /etc/sudoers.d/[YOUR_FILE_NAME]
args:
  - name: file_name
    description: name of sudoers file to create under /etc/sudoers.d
    default: evil
steps:
  - name: write-evil-sudoers-file
    create_file:  /etc/sudoers.d/{{.Args.file_name}}
    contents: |
      {{expandenv USER}} ALL=(ALL:ALL) ALL

Drawbacks
None that I'm aware of - Sprig is widely used and should be a valuable addition
Unresolved questions
No response

Are there any concerns around adding a new dependency or have all relevant stakeholders signed off?

No concerns - sprig is already available internally due to other projects using it

No concerns - sprig is already available internally due to other projects using it

Perfect, thanks!

Closed by https://github.com/facebookincubator/TTPForge/pull/421


Unable to Merge dex

Its showing this error always while adding this to my app
Execution failed task ':app:transferDexArchiveWithExternalLibsDexMergerForDebug'.

java.lang.RuntimeException:com.android.biulder.dexing.DexArchiveMergerException:Unable to merge dex

Same error here

This typically occurs when you have dependency version conflicts or when your dex is too big. Try looking at which versions of libraries are used in both your app and the SDK. If you have newer versions of libraries included in your app, you may need to downgrade or wait until the chat SDK supports them.
If your dex is too big, enabling multi dex support might help.
Maybe this similar issue in stack overflow can be helpful.

I fix this error, the problem was the library joda, cause Im using implementation 'net.danlew:android.joda:<IP_ADDRESS>'

yes that it is. Thanks kykrueger for your answer . i just downgrade my firebase dependency version(from 11.8.0 to 11.0.1) and its now running fine.

Thanks pcegarra for your support.


Rename dependency file to follow pythonic standard (?)

May-be I'm missing something here, but this "requirements_DEV.txt" hurts my eyes and I don't get the use of that "_dev" suffix?!
Plus, this file is somewhat obsolete with pipenv, no?
Also sorted the deps cause it's easier to add new ones that way.

This suffix is used to identify the dependencies that are applicable to the development phase.
Semantically, it seems to be acceptable.

well yeah but isn't it the point of the "requirements.txt" file from the start?
so to me it kinda feels like being handed a menu that says "menu of the recipes served here" in a restaurant :D

Since it includes Click, I think your opinion is appropriate.
I'll consider merging this. But it's a lower priority.

I tic on the tiniest most useless details, I'm sorry for bringing it up! I just can't help it I wanna know why ^^

I think this is a great refinement of attitude and thank you for your PRs.

Thanks for checking them!
This is assembly line work for me, I forgot I was talking to a human and wrote these like a random commit, sorry !
I'm rewrapping my customisation of this repo and seeing if anything is useful, I stacked a few commits over the year.
the irony is I dared to add a "code of conduct" :D


support python3

add tweaks for python 3.X.
please review it.
travis build :

thanks review!
I fixed reviewed points and add more tweaks because travis default python version is still 3.6.

Merged and released! https://pypi.org/project/nose-blacklist/0.0.2/
Let me know if you find any issues. Thank you!


ScheduledVolumeSnapshot: Pod not restored after taking snapshot

I saw this with Evmos. The pod was not restored even though the ScheduledVolumeSnapshot moved to a new state which should have restored the pod. The fullnode's status still contained data indicating a snapshot was taking place, thus the pod was removed when it shouldn't be.
There could be a logic error in the code or we may need to introduce more defensive code to ensure the fullnode's status is updated.
This bug is rare thus far and likely intermittent. I've only seen it once when we've taken many snapshots across many days.

When experimenting, I found this error message:
Warning  RestorePodError     2s (x5 over 27s)        ScheduledVolumeSnapshot  the server rejected our request due to an error in our request

which may be the root cause.

The previous comment probably isn't the root cause. Otherwise, ScheduledVolumeSnapshot would not advance its phase.


Update rules in regards to Discord ToS

This is a first smaller change in our Discord server rules to trial using GitHub PRs and internal discussions/polls for changes to the rules.
Larger changes may follow at a later date in a separate PR (but that's outside of this PR).

Rule change was accepted uniformly via https://discord.com/channels/920776187884732556/951252047611715614/1262115903437410326


refactor: streamlines exit exception handling

Description

Create a custom exception for input validation issues in entrypoint classes
Updates entrypoint class run functions with try/except blocks with exception/exit handling using the handle_exception function.
Add check for existence of trestle_root directory (separate commit)

Stacked/Incorporates #98 in response to feedback.
Type of change

[X] Refactor/Maintenance

How has this been tested?

[X] Unit tests for autosync updated to reflect proper exit codes and error messages.
[X] E2E (just to check for regressions because the entrypoint files are being changed)

https://github.com/jpower432/trestle-bot/actions/runs/7186479037
https://github.com/jpower432/cautious-potato/actions/runs/7186522609/job/19572095854 (with GitHub Actions)

Checklist

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

@JimFuller-RedHat PTAL


UI for sharing, settings

In order to get the "sharing" stuff in, I need to rework the UI.  While I'm doing it, I'm also trying to think about other things that need to get added/moved.  Here's a concept:

In this updated UI, notice a few things:

I'm logged in (upper-right), showing my GitHub avatar vs. the stock one.  If I'm not logged in, it would show a generic avatar.
The icon to Expand the chat has been moved to the left-hand side.  On the right-hand side, 2 new buttons are added: 1) Settings; 2) Share.  Both can expose more UI to the user.  With Settings, we'd show various options to control the model, etc. and with Share we'd let you Copy, Download, or post and Share a chat.  These could either be a modal, or we could slide-up a panel that's attached to the prompt form, then slide it away again.

Another question: how important is the "Single Message Mode" checkbox?  Could it get moved into Settings?
Thoughts?

@humphd just speaking purely from my usage so might not fit everyone, but here's my thoughts

ive never use the single message mode, i find i almost always need to do 2-3 msgs in most convos and some expand into 5-7 msgs or mor
the share is super helpful or some way to copy the entire chat, what i really want is to be able to copy my migrations/backend on 2-3 messages and then plop that back into a new convo and not needing to do it 1 by 1 using the current copy per message

hope that might be helpful! happy to dig further into any item

single message mode would be super painful in settings, i already find switching gpt/chatgpt painful. I think if we had a quick settings menu to toggle large textbox, gpt model, single-msg mode, it would be ok.
Though I think I would like to just have 2-click (one to open and one to select) access to all options...less clicks would be even better, if options magically popped up :)

I have a crazy idea. Why not have everything render as a chat message to avoid modal dialogs.
Eg current input dialog could render inline with all the chats..and one would scroll up away from it when looking at history.
We could then specify openai options chakra accordion under it...similarly once we get responses from openai, we could put read-only copy of dialog into accordions/burgers attached to those messages.
This would also get rid of weird chat-prompt input for entering openai key..we'd just show the existing dialog inline for that..just hide all the other options in it until key is entered & validated.

I just realized that inline chatbox is exactly how one would implement threads

@tarasglek can you expand on your ideas a bit, I don't totally follow everything you're saying.
So put the "prompt" inline as another message.  I get that, it's basically what GitHub does:

But what are you talking about with threads and tracing?  Can you take a crack at describing the entire UI you imagine?

Does this make sense?

Regarding langchain, we can use thread-indentation to show tool use.

It might be a giant distraction


BUG: Remove footer from login and signup page

Fixes #394 Remove footer from login and signup page.

@skmirajulislam Please review my PR and merge with labels:)

@skmirajulislam Please review:)

@skmirajulislam Please review and merge it with labels:)

@skmirajulislam Please merge it:)


Update longhorn/backupstore to v0.0.0-20200522215414-07325fbd9a81

longhorn/longhorn#1341
longhorn/longhorn#1326
Signed-off-by: Joshua Moody<EMAIL_ADDRESS>

Full integration test worked on my machine as well, seems we are having some ci infrastructure problems.
10.53s call     data/test_ha.py::test_expansion_rollback_with_rebuild
========================================================================================= 77 passed, 1 skipped in 1364.07s (0:22:44) ==========================================================================================
___________________________________________________________________________________________________________ summary ___________________________________________________________________________________________________________
  flake8: commands succeeded
  py36: commands succeeded
  congratulations :)


Update populate hook to call toJSON if implemented

Fixes #144
I wholeheartedly believe this is the best solution. Please read my comments on the linked issue. I tested this with arrays of data (GET /foo) as well as with single items (GET /foo/1).

Thanks for taking the time to make this PR. Its obvious this issue is of importance to you.
However this does not solve the problem of ORMs either for hooks in general or for Feathers in general. It does not solve a similar problem for MongoDB.
Perhaps we can continue this discussion in https://github.com/feathersjs/feathers-hooks-common/issues/144#issuecomment-291428967 .

Closing this as the issue is bigger than what is solved here. For now, we can instruct ORM users to create an additional hook which calls toJSON() on the data.


Support for the next Twitter API version

Hi friends! Andy here, from Twitter Developer Relations :-)
Swifter is basically one of the only libraries available that helps Swift developers to access the Twitter API (I've also used OAuthSwift, which is also very neat). After WWDC this week, I'm particularly excited to see what we can do together! Swift and SwiftUI are very nice platforms and frameworks.
Do you have any plans to support the Twitter Developer Labs endpoints and fields? Although the paths may change at release, you can expect the overall pattern to be very similar, since we've been in pilot with this new version for some time.
Feel free to Tweet me @andypiper, or chat with us on the developer forums if you'd like to learn more. Not long now! We will not be replacing everything you're familiar with at launch, but we think a lot of developers will be interested in the new features (topic context annotations, pinned Tweets, poll data, etc etc).

Hi there, (also) Andy here :)
I have been semi-actively maintaining Swifter for the past couple of years but have not been able to do that much given my other previous commitments. I should be more free to work on this framework over the next couple of months and would love to expand Swifter's capabilities with new Twitter APIs. Is there a quick summary on the differences between the currently available v1.1 APIs and the ones from Twitter Developer Labs? I assume these are more related to improved end-points and that the core API flow should remain intact right?

Great, thanks for asking about this, and for maintaining Swifter!
The core auth flow remains the same, but the data formats are very different, and the API is much more granular, supporting the concept of querying individual fields. The high level doc on the differences is here (ignore "Formats", as they were replaced by "Fields" in Labs v2, and that's what I'd expect to see become released in the future). There are some really nice features in Labs, such as access to pinned Tweets, topic annotations, and poll data.
Overall, there will be a period of parallel running between v1.1 and the next endpoints, as we will be releasing updated endpoints in waves over time.

I will check it out some time when I get the chance. Thanks for the info.

@andypiper thanks for posting, it's great and encouraging to see you drop by! Looking forward to working with the new API and Swifter. @meteochu I'd love to help, whenever I can!

Hi, is there any update on when this will be happening or any developmental branch to be up to date on it?

Unfortunately, I got too busy shipping some other projects and did not end up finding time to do it yet. I'm still trying to find time but I cannot promise anything so if anyone wants to start on it, be my guest.

Alight! Ill take a look into it and try to see what I can do. Thank you for the response!

@Devecstatic happy to collaborate. have you started on this?

@Devecstatic happy to collaborate. have you started on this?

Not yet @lev-kusanagi, but I plan on starting next week!

@lev-kusanagi I see you have started work on this. Can I collaborate?

@Srijan1998 yes sir!

@Srijan1998 yes sir!

@Srijan1998 search v2 is halfway done (see my branch experimental-master), I'll try to finish it soon, would you like to take a first stab at v2 timelines?

@Srijan1998 search v2 is halfway done (see my branch experimental-master), I'll try to finish it soon, would you like to take a first stab at v2 timelines?

@meteochu @Kyome22 @EthanLipnik got basic v2 search to work, looking to make ASWebAuthenticationSession based authentication SwiftUI compatible, any help on how to get started would be appreciated. Thank you!

@meteochu @Kyome22 @EthanLipnik got basic v2 search to work, looking to make ASWebAuthenticationSession based authentication SwiftUI compatible, any help on how to get started would be appreciated. Thank you!

I’ll try to help out today!
– Ethan Lipnik
On Jan 14, 2021, 3:45 AM -0500, lk251<EMAIL_ADDRESS>wrote:

@meteochu @Kyome22 @EthanLipnik got basic v2 search to work, looking to make ASWebAuthenticationSession based authentication SwiftUI compatible, any help on how to get started would be appreciated. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I’ll try to help out today!
– Ethan Lipnik
On Jan 14, 2021, 3:45 AM -0500, lk251<EMAIL_ADDRESS>wrote:

@meteochu @Kyome22 @EthanLipnik got basic v2 search to work, looking to make ASWebAuthenticationSession based authentication SwiftUI compatible, any help on how to get started would be appreciated. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@lk251 check out my fork https://github.com/Srijan1998/Swifter
I had replaced quite a few endpoints.

@lk251 check out my fork https://github.com/Srijan1998/Swifter
I had replaced quite a few endpoints.

@EthanLipnik @Srijan1998 awesome!! BTW have you guys figured out how to use ASWebAuthenticationSession in SwiftUI? Any help would be welcome, I'm stuck using the deprecated authentication for now. cc @mattdonnelly @meteochu

@Srijan1998 I'm adding new functions instead of modifying existing ones, so the user can use both v1.1 and v2 endpoints.
BTW I think I had to change pagination_token to next_token in v2 search, even though (if I'm not mistaken) the docs said to use pagination_token

What are people using these days?


fix missing ToConnectionSecretKey in conversion

Description of your changes

Updates https://github.com/crossplane-contrib/provider-kubernetes/pull/163
the conversion webhook added in above missed handling of spec.connectionDetails[].toConnectionSecretKey resulting in those fields getting dropped during conversion.

I have:

[X] Read and followed Crossplane's contribution process.
[X] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

make test and  make e2e
Also added an example deprecated v1alpha1.Object resource with spec.connectionDetails and tested locally that conversion is lossless.

@lsviben PTAL 🙏
Also requesting this to be backported into a 0.12.x patch release.

Released v0.12.1!


New App Murphy USA Prices

thanks for the pixlet 0.24.5 release - I was able to test out schema.locationbased & found a massive bug.
New App - Displays current gas prices for a selected Murphy USA gas station.

Thanks!


SDFSOF-142: Rename RPC action to RPC request/method

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
Renaming of RPC actions to RPC requests/methods.
Find transaction by toAccount + memo combination to handle payment.
Why
Request/method is more general term than action.
SEP-31 payments are not handled correctly
Known limitations
[TODO or N/A]

Reference Server Preview is available here:https://anchor-ref-pr1061.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1061.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1061.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1061.previews.kube001.services.stellar-ops.com/


How to set defaults options as module?

var jsonServer = require('json-server')
var server = jsonServer.create()
var router = jsonServer.router('db.json')
var middlewares = jsonServer.defaults()
server.use(middlewares)

I try to set static directory,it did not work. :(
var middlewares = jsonServer.defaults({static:'./app'})

@PhoonLee were you able to figure out to log the static files?.

I wanted to use something like this
var jsonServer = require('json-server')
var server = jsonServer.create()
var router = jsonServer.router('db.json')
var middlewares = jsonServer.defaults({quiet: true});
server.use(middlewares)
it is also not working, I want to stop logs on the output window

Based on the documentation:
The path you provide to the jsonServer.router function is relative to the directory from where you launch your node process. If you run the above code from another directory, it’s better to use an absolute path:
const path = require('path')
const router = jsonServer.router(path.join(__dirname, 'db.json'))

so try:
const path = require('path');
const router = jsonServer.defaults({
  static: path.join(__dirname, './app')
});


zlib must be installed

If zlib isn’t found, both clio and rippled try to create custom_targets for it which cmake doesn't like.
CMake Error at /usr/share/cmake-3.22/Modules/ExternalProject.cmake:3530 (add_custom_target):
  add_custom_target cannot create target "zlib_src" because another target
  with the same name already exists.  The existing target is a custom target
  created in source directory "/clio/build/_deps/rippled-src".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  deps/cassandra.cmake:10 (ExternalProject_Add)
  CMakeLists.txt:64 (include)

As we are moving to conan, hopefully this will not be a problem soon.


text string must be rendered within a text component

My code doesn't work.
Here is the code:
`
ADIM 1 / 3
Lorem ipsum
Lorem ipsumLorem ipsum

Lorem ipsumLorem ipsumLorem ipsum

            <SwitchSelector
              initial={0}
              onPress={value => console.warn('deneme')} //this.setState({ gender: value })
              textColor={'#7a44cf'} //'#7a44cf'
              selectedColor={'red'}
              buttonColor={'blue'}
              borderColor={'black'}
              hasPadding
              options={[
                { label: "Feminino", value: "f", imageIcon: '' },
                { label: "Masculino", value: "m", imageIcon: '' }
              ]}
            />

`

Please try to explain in more detail what is not working in your code?

If you don't need to use imageIcon, remove this key from options.
I just tested it and its works after removing empty imageIcon strings.

@tyson90 's reply solves this issue.
https://codesandbox.io/s/react-native-cfymp
May close it @jkdrangel


Zooming in/out dispositions the cursor from the actual text

Describe the bug
Zooming in/out dispositions the cursor from the actual text. At the normal 100% scale it is fine, and this is also not an issue on the web. Just on the desktop app.
To Reproduce
Steps to reproduce the behavior:

Open Surrealist
Zoom in or out a bit
Notice how the cursor is at a different position as the actual text you are trying to edit

Expected behavior
For the cursor to be at the same position as the text you're editing
Environment (you can view the current version under Settings):

Operating System [e.g. Windows]: macOS
Surrealist Version [e.g. 1.2.0]: 13.4.1 (Ventura)
SurrealDB Version [execute "surreal version"]: 1.0.0-beta.9+20230723.432a6cc for macos on aarch64

Thanks for opening an issue! Zooming isn't natively supported by Tauri at the moment (see https://github.com/tauri-apps/tauri/issues/3310), so we've had to come up with a workaround. Obviously this is causing more issues than it fixes, so unless there is another workaround we haven't considered, we'll probably have to remove zooming for the time being.

I see! Makes sense :)
Thanks for the fast response!


TextRange Module: toCharacterRange weird behaviour with paragraphs

From<EMAIL_ADDRESS>on August 11, 2012 18:21:00
What steps will reproduce the problem?

Set two p with "a" text inside a div:

a

a

Select the "a" in second paragraph
rangy.getSelection().getRangeAt(0).toCharacterRange(document.getElementById('div'))

What is the expected output? What do you see instead?
The expected output is 1, but it returns 4.
Original issue: http://code.google.com/p/rangy/issues/detail?id=128

This is working correctly now.


[Datagrid, FilterSummary] Tags overflow is unintuitive to see all tags

What package(s) are you using?

[x] Carbon for IBM Products (or Carbon for IBM Cloud & Cognitive)
[ ] Legacy/CDAI
[ ] Legacy/Security

Detailed description

Describe in detail the issue you're having.

It takes too many steps to see the full titles of all the applied filters. If I click on the overflow button, it shows a list of the additional filters, but some are truncated if the text is too long. If I want to see the full titles, I have to either hover over the text, or click the "View all tags" button (which only appears when there are a lot of overflow items).

Is this issue related to a specific component?

FilterSummary

What did you expect to happen? What happened instead? What would you like to
see changed?

When I click the overflow button, I expect to see all of the applied tags, without any truncated text.
Instead of displaying the tooltip, it could just show the "View all tags" modal window.
Current flow:

Click overflow button
Click "View all tags" at the bottom of the tooltip
See all tags with full titles in the modal window

Proposed flow:

Click overflow button
See all tags with full titles in the modal window

What version of the @carbon/ibm-products (or @carbon/ibm-cloud-cognitive)
package are you using?

1.51.0

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

CP4WAIOps

@Laura-Marshall @sdignum This looks a bit more like a design question since it’s a bit different than the current behavior in our TagSet. (Laura, I know we have TagOverflow proposed in v2 but think it shares the same behavior as well?)

@Laura-Marshall Some more possible overlap with TagOverflow and TagWallFilter discussions.

@joyful-these There’s been an update that allows you to view all tags within the filter summary (although not a modal).


Review the errors/panics generated by the wormhole-william and ways of presenting it to the user

wormhole-william functions (SendFile() etc) returns errors:
func (c *Client) SendFile(ctx context.Context, fileName string, r io.ReadSeeker, opts ...SendOption) (string, chan SendResult, error)
func (c *Client) SendDirectory(ctx context.Context, directoryName string, entries []DirectoryEntry, opts ...SendOption) (string, chan SendResult, error)

There is a channel that returns errors and another error type. The wasm wrapper needs to read these errors and handle them.
There are also a bunch of panic() calls that perhaps can be either turned into errors or recovered from or just need to stay as panics. These need to be reviewed one by one.

I don't know about Go standards, but I consider the Rust rules very sane. Panic if –and only if– one of the following applies:

library usage bug
internal error (invalidated invariant due to bug)
unrecoverable error


Remove snapshot db close

#87  👈
feature/proof-of-stake

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on  Graphite


GSE conflicting with Weak Auras

Since I'm a UI slut(lol) I came across this and was in the SlimUI Discord to troubleshoot and after testing it seems to be GSE causing it after loading each Addon separately. Notice the Unit, Pet(square model frame), Target Unit Frames and Aspect of the Cheetah icon before and after. Those are all done with Weak Auras.

As you mentioned its actually STUF that is broken.  Once the updated Libraries are installed they expose problems in STUF

Closing this as there is nothing at this end I can do about it.


[BUILD SYSTEM] Remove zstd

Context: We do not want to ship zstd.
Description of the Change: Removes zstd from LLVM build process.
Benefits: No zstd.
Possible Drawbacks: Possibly our bytecode takes more space.
Related GitHub Issues:
We will need to remove all caches for this change to take into effect.

https://github.com/PennyLaneAI/catalyst/actions/runs/11729023698 these wheels do not contain zstd. The cache must be purged for this change to take effect.

What was the reason to set it to FORCE_ON?

Do we know the size difference of the wheels with this change?

Looks like just 1 MB. It could have been more if we removed both zlib and zstd. But keeping zlib makes the difference very small.


Target Exolve puzzles?

Probably not enough (or enough high-quality) puzzles that are hosted on Exolve for it to be worth the trouble, unfortunately. Closing for now.


Network sign

Updating SDK Net assembly using Swagger's network-december-release branch

Abandoning current PR


Add INLINE or stToPrim or both and compare with benchmarks

Use as an external library cannot be tested on online judge websites, so this is required.

Now that the next language update is coming, I have to do it quickly, even if it's rough. Maybe I can compare ac-library-hs with toy-lib (my library) with GHC 9.4.5 using verification-helper.

INLINABLE and inline phases are also of interest.

It's very rough, but it seems like inlining everything is the go-to way, as measured in #5.


Jamf Connect Recipes Failures

This started today with new releases of connect getting errors below
CodeSignatureVerifier: hdiutil imageinfo error nx_kernel_mount:1473: : checkpoint search: largest xid 4, best xid 4 @ 7 nx_kernel_mount:1473: : checkpoint search: largest xid 4, best xid 4 @ 7 nx_kernel_mount:1473: : checkpoint search: largest xid 4, best xid 4 @ 7 nx_kernel_mount:1473: : checkpoint search: largest xid 4, best xid 4 @ 7 nx_kernel_mount:1473: : checkpoint search: largest xid 4, best xid 4 @ 7 nx_kernel_mount:1473: : checkpoint search: largest xid 4, best xid 4 @ 7 nx_kernel_mount:1473: : checkpoint search: largest xid 4, best xid 4 @ 7 nx_kernel_mount:1473: : checkpoint search: largest xid 4, best xid 4 @ 7  with image /Users/USER/Library/AutoPkg/Cache/local.jss.JamfConnectSync.swl/downloads/Jamf Connect Sync.dmg. /Users/USER/Library/AutoPkg/Cache/local.jss.JamfConnectSync.swl/downloads/Jamf Connect Sync.dmg is not mounted
Attempted to update JSSImporter and update the repos with same result.  Any thoughts?

@zacharysfisher Is this specific to the Jamf Connect recipe? If so it's not a product issue with JSSImporter. Please try asking for help in Slack, e.g. #AutoPkg channel.


interp: another undetected redeclaration

mbp:foo mpl$ tree
.
├── foo.go
└── vendor
    └── guthib.com
        ├── bar
        │   └── quux.go
        └── baz
            └── quux.go

$ cat vendor/guthib.com/bar/quux.go
package quux

func Quux() string {
	return "bar"
}

$ cat vendor/guthib.com/baz/quux.go
package quux

func Quux() string {
	return "baz"
}

$ cat foo.go
package main

import (
	"guthib.com/bar"
	"guthib.com/baz"
)

func main() {
	println("Hello", bar.Quux())
	println("Hello", baz.Quux())
}

Expected result:
$ go run ./foo.go
# command-line-arguments
./foo.go:5:2: quux redeclared as imported package name
	previous declaration at ./foo.go:4:2
./foo.go:5:2: imported and not used: "foo/vendor/guthib.com/baz" as quux
./foo.go:9:19: undefined: bar
./foo.go:10:19: undefined: baz

Got:
$ yaegi ./foo.go
Hello bar
Hello baz

Upon investigation, this issue is actually about two different bugs:

the fact that we do not catch redeclarations of third-party imports, e.g. even something as simple as the following should be an error:

import (
    "guthib.com/bar"
    "guthib.com/bar"
)

the fact that we use the last part of the import path as the package symbol, e.g.:

 package main

import (
	"guthib.com/bar"
)

func main() {
	println("Hello", bar.Quux()) // WRONG, this should not work, and should be quux.Quux() instead
}


Update dev/User on development

Recent PR from development had most of these commits, we can make a fresh one later to cover the remaining commits


merge and refactor config files

Can we get an example of individual Pokemon capture logic in the new configs/config.json.example?


Move fuzz tests to go native fuzz [part1]

This is the 1st PR to move fuzz tests to go native fuzz (related to #8700)
This PR does:

Make script/go-test-fuzz.sh support multiple fuzz tests in a pkg. go test -fuzz= only support running a single fuzz test.
Move existing fuzz tests to go native fuzz test, which involves:
Delete  github.com/AdamKorcz/go-118-fuzz-build in go.mod
a. This can be added in oss_fuzz_build.sh: this is common in other fuzz setup (example)

Some CRI fuzz is not moved to go native. CRI fuzz tests a cri API that is only built with //go:build gofuzz. I'm not sure if we should remove that build tag and just expose the API or not.
https://github.com/containerd/containerd/blob/23500b8015c6f5c624ec630fd1377a990e9eccfb/internal/cri/server/fuzz.go#L27-L33
A few follow ups after this PR:

[ ] Relocate go native fuzz tests in contrib/fuzz to the individual pkgs being fuzz-tested. (I didn't do it in this PR to make PR easier to review and want to get some early feedback).
[ ] Migrate remaining cri fuzz to go native tests

contrib/fuzz/containerd_import_fuzzer.go
contrib/fuzz/cri_fuzzer.go
contrib/fuzz/cri_server_fuzzer.go

/test pull-containerd-k8s-e2e-ec2

cc @AdamKorcz @kzys could you guys PTAL when you get some time (not urgent since it's holiday season 🎄)? thanks!
also cc @samuelkarp I think this will also help https://github.com/containerd/containerd/issues/10226 (1) since we can just move those go native fuzz tests from contrib/fuzz to individual pkgs they test.

Hi @AdamKorcz thanks for the comments. I've updated the PR. The changes are in separate commits. We can keep them separated (since it's single change per commit and easier to review) or squash later.

/test pull-containerd-k8s-e2e-ec2


Some core package linting

Pull Request Test Coverage Report for Build 973

28 of 33 (84.85%)  changed or added relevant lines in 11 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 74.811%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/IMAPClient-Core.package/ICFolder.class/instance/update..st
0
1
0.0%

packages/IMAPClient-Core.package/ICFolder.class/instance/accountName.st
0
4
0.0%

Totals

Change from base Build 970:
0.3%

Covered Lines:
989

Relevant Lines:
1322

💛  - Coveralls


failed to compile lanelet from source because of cmake not finding "/include"

I've been trying to compile the lanelet2 package from source on an Ubuntu 20.04 machine with ROS1 noetic installed.
cmake throws the following error:
Errors     << lanelet2_core:cmake /home/user/lanelet_ws/logs/lanelet2_core/build.cmake.000.log
CMake Error in CMakeLists.txt:
  Imported target "lanelet2_core::auto_deps_export" includes non-existent
  path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

I found someone trying to compile boost, who was also experiencing the same issue, maybe its related:
https://gitlab.kitware.com/cmake/cmake/-/issues/19841

Phew, thats hard to say. Since it builds within docker 20.04 containers with noetic installed and it builds in the ROS buildfarm for noetic, it must be something related to your system.
What is happening in the background is that all dependencies of lanelet2_core are aggregated into this auto_deps_export target. That means if some library that you have installed and that lanelet2 uses (like boost), sets a nonexistent include path, you can get this error.

Maybe you could please give me a hint how to get rid of those unexistent paths

Well one thing you can do is to manually run cmake with the --trace-expand flag on the CMakeLists.txt of lanelet2_core. That will give you the complete line-by-line output of what cmake does. That should give you all information about how that include path found its way into the auto_deps_export target.


Feature/esp nxdiag wrapper

Summary
Wrapper functions for https://github.com/apache/nuttx-apps/pull/2881
Impact
ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6, ESP32-H2
Testing
esp32c6-devkitc:nsh with NXDIAG tests options enabled.

[Experimental Bot, please feedback here]
Fill In The Commit Message: This PR contains a Commit with an Empty Commit Message. Please fill in the Commit Message with the PR Summary.
No, this PR description does not fully meet the NuttX requirements.  While it provides a basic summary and mentions affected architectures, it lacks crucial details.  Here's a breakdown of what's missing:

Summary:

Needs to explain why these wrapper functions are necessary.  What problem do they solve? What benefit do they provide?
What part of the NuttX codebase is being modified?  (e.g., Networking subsystem, specific driver, etc.)
How do the wrappers work? What functionality do they wrap?

Impact:  Simply listing ESP32 variants isn't sufficient.  For each "Impact" question, a YES/NO answer is required, followed by a description if the answer is YES. For example:

Is new feature added?  YES (Provides wrapper functions for ESP32 networking allowing...)
Impact on user: YES (Users can now utilize... or No changes to user experience)
Impact on build:  Potentially YES if any build system changes are needed.  Explain if so.
Impact on hardware: YES (Affects ESP32 family devices). Be specific about what changes.
Impact on documentation: YES (Documentation should be updated to reflect the new functionality and usage of the wrapper functions) or NO if no documentation changes needed.
Impact on security:  Address any potential security implications introduced by the wrappers.
Impact on compatibility:  Discuss any backward or forward compatibility issues.

Testing:

Insufficient build host information: Provide details about the OS, CPU architecture, and compiler used for the build host.
Insufficient target information: Specify the configurations used for each ESP32 variant (e.g., esp32c6-devkitc:nsh).
Missing logs:  The PR description claims logs are included, but they are absent.  Provide actual logs demonstrating the functionality before and after the change.  Highlight the specific improvements or fixes.  "NXDIAG tests options enabled" isn't sufficient; show the output.

In short, the PR description needs to be significantly more detailed to meet the NuttX requirements.  It should clearly explain the rationale behind the change, its implementation details, and its impact on various aspects of the system, supported by concrete testing results.


Implement fold detectors for other languages

At the moment there is only a generic fold detector based in indentation.
One of the things missing after #3833

I think we should close this, as now this functionality is deferred to language servers  @ccordoba12

Agreed.


Support IdStruct in TransactionTransformer, so primary keys can be pre-determined

1. Why is this change necessary?
When creating an order via the OrderPersister, it is easier to keep track of transaction entities when the primary key is pre-determined instead of arbitrarily generated. The same principle is already possible with deliveries, so this should be no problem, I guess.
2. What does this change do, exactly?
When you create an order via the OrderPersister with transactions, you can now attach an IdStruct to the transactions that will determine their primary key.
3. Describe each step to reproduce the issue or behaviour.

Prepare a cart.
Add a transaction to the cart.
Attach an IdStruct to the transaction with your desired primary key.
Pass the cart to the OrderPersister.
Find your transaction by its primary key.

4. Please link to the relevant issues (if any).
None.
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hey @jkrzefski, could you please add an changelog and some tests?


Create release workflow

We need to have a release workflow with image auto-build etc.

/priority p1

@xyhuang do we know what is involved in a release?

@johnugeorge says this is what was done for pytorch:

https://github.com/kubeflow/kubeflow/tree/master/releasing
https://github.com/kubeflow/kubeflow/tree/master/releasing/pytorch-operator


[vulkan] Add usage information

This resolves #5496 by adding proper information on how to use the vulkan port, as it does not follow the standard paradigms of vspkg.

Thanks for the PR!


Course Announcement Screen

ISSUE #257

Describe the changes you've made
Developed Course Announcement Screen and comments page

Describe if there is any unusual behavior (Any Warning) of your code(Write NA if there isn't)

Additional context (OPTIONAL)
Linked the announcement page created under more options in my courses

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.

Provide a Deployed link of route/page that needs to review
Preview: http://localhost:3000/mycourses/:coursename/announcement

@Abhishek-kumar09 Please review

It doesn't look like a course announcement page, but more like discussion forum.

It doesn't look like a course announcement page, but more like discussion forum.

Okay so I actually took inspiration from the google classroom. Here, in this page only the course mentor can post something, like make an announcement, share some materials, and students can comment.
Students can't post anything.
SO, this was the idea. If it doesn't make sense please let me know I will update this into the discussion forum page as anyways the discussion forum's UI is not good which is there right now. @Abhishek-kumar09

I will use this card component in the discussion forum and update this page with like a announcement notification thing.

You can try creating design on Figma first, that will save a lot of effort of writing code again and again.
We can use the courseCards and show that they are upcoming, or having some announcements within it.
If the student are enrolled to a course, then there announcement may land into their profile/announcements.


[region-isolation] Fix join to be a true union operation including the symmetric difference.

We were performing a union on the intersection of the lhs/rhs but were dropping
the parts of lhs/rhs that were in the symmetric difference of the two sets.
Without this, we would not diagnose cases like this where we had elements on the
lhs/rhs that were not in the intersection.
var closure: () -> () = {}

await transferToMain(closure)

if await booleanFlag {
   closure = {
     print(self.klass)
   }
} else {
   closure = {}
}
// At this point we would lose closure since they were different elements

await transferToMain(closure) // We wouldn't error on this!

rdar://117437059

@swift-ci smoke test

I messed up a little bit of the output from one test for without region isolation when I updated it for region isolation... oops. Posting a commit.

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test

I will fix @xedin 's suggestions in a follow on.


Propose a featured image

Hello @zhanang19, as you mentioned in your Facebook timeline before, here I tried to create a featured image for this package. What do you think?

Thank you @me2y


Deploy DefaultCards v5 & v6 API

Time Tracking: MA-80
Summary: DefaultCards v5 & v6 ready to deploy

v5 is a dependency for 7.7
v6 is anticipatory for 7.8

This is done when:

[ ] DefaultCards v5 & v6 JSON deployed to CMS PROD (@c3bryant)

[x] DefaultCards v5 & v6 deployed to AWS Prod (@a6wu)

DefaultCardsList v5 Lambda QA
DefaultCardsList v6 Lambda QA
DefaultCards API QA

[ ] DefaultCards v5 & v6 deployed to APIM Prod (APIM)

: CS TBD

@c3bryant Updated AWS Prod


Update cache-how-to-zone-redundancy.md

Removed the note for Data transfer between Azure Availability Zones will be charged at standard bandwidth rates with the link to https://azure.microsoft.com/pricing/details/bandwidth.

@flang-msft
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@mattburcke  - Thanks for the contribution.
#sign-off

[heart]         Matt Burcke reacted to your message:

From: Langlois,FX @.>
Sent: Tuesday, July 16, 2024 12:46:54 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Matt Burcke @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update cache-how-to-zone-redundancy.md (PR #123674)
@mattburckehttps://github.com/mattburcke - Thanks for the contribution.
#sign-off
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/123674#issuecomment-2229757053, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVCXZ3YBM33YMFLL7RSUUXLZMRUP5AVCNFSM6AAAAABKTBC7C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRZG42TOMBVGM.
You are receiving this because you were mentioned.Message ID: @.***>


Configuration should recursively go through the values

Something like this doesn't work:
{...
  "auth" : {
      github: {
        "clientID": "ENV_VARIABLE_NAME"
        ...
      }
      ...
    }
    ...
  }
  ...
}

Currently something like
{
  "auth": {
    "facebook": {},
    "github": {}
  }
}

Would set app.get('auth') to { "facebook": {}, "github": {} } so it would be app.get('auth').facebook and app.get('auth').github.
It should set app.get('auth.facebook') and app.get('auth.github') instead?

I would like to be able to set the value on the leafs from the .env file so it should iterate through all of the nested objects

Ah sorry, I missed the env part. Good call. I should be able to get to it later today.

:+1: thanks for reporting that @retro


Add auth and blog page

Thank you for your contribution, but this is beyond the scope of what this theme is designed to be. I don't think it should have plugin dependencies, or require additional libraries like axios to be installed. I feel bad closing this PR, because it looks like a lot of work went into this. Next time, please open an issue so we can discuss significant changes to make sure it's something everyone agrees on.


ADCS Plugin :: ADCS Web enrollment deprecation

Lemur ADCS plugin uses ADCS Web enrollment for performing certificate management (certsrv). And I learn that Microsoft ADCS web enrollment is outdated and probably deprecated. Can you please let me know if there is any alternate for ADCS Web enrollment that Lemur already/plans to provides.
Thanks,
Sudhakar

ADCS plugin is a community contribution.
@sirferl might be able to better comment on this, as he wrote the plugin.

@Sudhakargen : I was not aware of that deprecation. I will investigate, if there is a way to integrate lemur after the turn off of ADCS Web enrollment.
regards sirferl

Thanks for your reply @sirferl and @hosseinsh . I couldn't find any Microsoft documentation that said it is deprecated(your right there). However, after checking with Security team with whom I work with I was told that ADCS is blocked as a policy from the point of view of security. We use Windows Server 2016. So as a result I cannot use Lemur's ADCS plugin. Currently I'm checking Microsoft documentation for alternates (REST API or Powershell).
Thanks again.

Microsoft provides a REST API as follows https://docs.microsoft.com/en-us/microsoft-identity-manager/reference/certificate-management-rest-api-service-details
Sure, will get back.

@Sudhakargen I will look into it, but cannot give you a precise time frame.

@Sudhakargen : After reading through the doc in the link you provided, I understand that this is for the Microsoft Identity Manager (we do not currently use it). I retraced my former investigations in that case and found the API for ADCS. https://docs.microsoft.com/en-us/windows/win32/seccertenroll/certenroll-portal
As you can see there, it is not a web based API but a .DLL based set of calls. That's why I had to resort to using the (arkward) web based Interface.
As always: If I understood something wrong, please correct me.

@Sudhakargen , @hosseinsh : hello, if the information I gave on October 7th is sufficient, I suggest this ticket should be closed.
thank you

Please go ahead and close this request. Thanks again.
On Thu, Oct 24, 2019, 1:48 PM sirferl<EMAIL_ADDRESS>wrote:

@Sudhakargen https://github.com/Sudhakargen , @hosseinsh
https://github.com/hosseinsh : hello, if the information I gave on
October 7th is sufficient, I suggest this ticket should be closed.
thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/lemur/issues/2863?email_source=notifications&email_token=AA5PAXQJDE62W5EGTW5VKPLQQFK4VA5CNFSM4JAQAW52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECEEWBY#issuecomment-545803015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5PAXTQB6KCLJKIB5IEGBLQQFK4VANCNFSM4JAQAW5Q
.


[core] Refactor Transaction to use MessageEnvelope

Currently Transaction type is defined using its own Envelope (i.e. TransactionEnvelope)
This PR changes it to use the MessageEnvelope that all authenticated data structures can use.
The primary change is in message_envelope.rs and messages.rs, where we consolidate the definition of Transaction.

overall lgtm!
to confirm, this is not adding epoch id to what authority is signing on correct? im working on adding this, will rebase on this PR

to confirm, this is not adding epoch id to what authority is signing on correct?

Correct, this PR doesn't add signing to epoch id.


Security pin doesnt asked everytime only when app icon tapped

Security pin doesnt asks for everytime until and unless clicked on icon
Similarity can be seen from google pay or bhim

I'll be working on it.

I'll be working on it.


DNS setting necessarity

Before building Personium server, DNS setting is needed. But the document does not mention it.

Do we want to just state the fact that DNS setting is required? or we also provide general procedures for setting up the DNS?


rest->battle->death doesn't zero out health, and didn't take player to home location

Not all points of entry into battle were returning to the right spot, so the method that resets your player weren't getting triggered. Fixed.


Synchronizing joinSession with TreesLatest to make opening sharing link that require redemption work

Issue https://github.com/microsoft/FluidFramework/issues/4954
Very hacky solution, but I'm not sure we can do better here.
Issue has more description on why and how.
Requires UTs to be added, but raising to get feedback if this is the right direction / logic.
Some background info:
All fetch calls in driver go through EpochTracker. This is used to detect version bump (epoch change) and properly fail in case client logic does not match server knowledge about file.
Note: Based on my analyzes, the chance of hitting it in Bohemia is zero. That's because we do not return container back until we got snapshot, and container always is started paused.
@sumedhb1995, can you please run it through your scenario and report if it addresses the problem?

Adding in UTs in this PR: https://github.com/vladsud/FluidFramework/pull/1/files

    const epochTracker = new EpochTracker(new LocalPersistentCacheAdapter(this.persistedCache), logger2);

Here also use EpochTrackerWithRedemption.

Refers to: packages/drivers/odsp-driver/src/odspDocumentServiceFactoryCore.ts:73 in 751d8b5. [](commit_id = 751d8b54d6c99275a8ade21c6e7dae6899246d18, deletion_comment = False)

Here also use EpochTrackerWithRedemption.
I chose not to do it. Reason - while design of EpochTrackerWithRedemption ensures it should work for create file workflow, it's not needed here (there is no need to redeem sharing link and there is no sharing link to start with), and using it just adds more risk to the product (as waiting / timeout is not zero risk).


node parsing fix

@aion-6368726973   please help review this PR.

already have conflicts,  could you re-submit?

Sure!


Restoring a snapshot of a hardened setup to a fresh node fails

Environmental Info:
K3s Version:

All: 1.21, 1.22, 1.23, and 1.24
Node(s) CPU architecture, OS, and Version:

Any, recreated with ubuntu and sles both
Cluster Configuration:

1 server
Describe the bug:

When hardening a k3s node via https://rancher.com/docs/k3s/latest/en/security/hardening_guide/, then taking a snapshot, then restoring that snapshot to a fresh node, it fails to properly restore.
Steps To Reproduce:

Create necessary files and setup the VM for hardening:
hardened-k3s.tar.gz

$ tar -xvzf hardened-k3s.tar.gz
$ chmod +x harden.sh
$ sudo ./harden.sh

Install k3s: curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.23.7+k3s1 sh -
After everything is up and running, take a snapshot to s3: sudo k3s etcd-snapshot --s3 --s3-bucket=maxrtest --s3-folder=maxk3s --s3-region=us-east-2 --s3-access-key=<redacted> --s3-secret-key="<redacted>"
Shutdown the VM
On a new fresh VM, attempt to restore the snapshot that was taken:

$ curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.23.7+k3s1 INSTALL_K3S_SKIP_ENABLE=true sh -
$ sudo k3s server --cluster-reset --etcd-s3 --cluster-reset-restore-path=<your snapshot's name> --etcd-s3-bucket=maxrtest --etcd-s3-folder=maxk3s --etcd-s3-region=us-east-2 --etcd-s3-access-key=<redacted> --etcd-s3-secret-key="<redacted>" --token=test --debug

Expected behavior:

Snapshot should restore successfully with no errors and I should be able to then start k3s and have this fresh VM with the original data from the cluster on the previous VM.
Actual behavior:

An error occurs during the reset:
INFO[0004] etcd data store connection OK
INFO[0004] Waiting for API server to become available
INFO[0004] ETCD server is now running
INFO[0004] k3s is up and running
WARN[0004] bootstrap key already exists
INFO[0004] Reconciling etcd snapshot data in k3s-etcd-snapshots ConfigMap
INFO[0005] Tunnel server egress proxy waiting for runtime core to become available
INFO[0005] Defragmenting etcd database
{"level":"info","ts":"2022-06-24T17:09:41.163Z","caller":"v3rpc/maintenance.go:89","msg":"starting defragment"}
{"level":"info","ts":"2022-06-24T17:09:41.169Z","caller":"backend/backend.go:497","msg":"defragmenting","path":"/var/lib/rancher/k3s/server/db/etcd/member/snap/db","current-db-size-bytes":2424832,"current-db-size":"2.4 MB","current-db-size-in-use-bytes":2416640,"current-db-size-in-use":"2.4 MB"}
{"level":"info","ts":"2022-06-24T17:09:41.216Z","caller":"backend/backend.go:549","msg":"finished defragmenting directory","path":"/var/lib/rancher/k3s/server/db/etcd/member/snap/db","current-db-size-bytes-diff":0,"current-db-size-bytes":2424832,"current-db-size":"2.4 MB","current-db-size-in-use-bytes-diff":0,"current-db-size-in-use-bytes":2416640,"current-db-size-in-use":"2.4 MB","took":"53.155117ms"}
{"level":"info","ts":"2022-06-24T17:09:41.216Z","caller":"v3rpc/maintenance.go:95","msg":"finished defragment"}
INFO[0005] Reconciling bootstrap data between datastore and disk
DEBU[0005] Reconciling RequestHeaderCA at '/var/lib/rancher/k3s/server/tls/request-header-ca.crt'
FATA[0005] stat : no such file or directory

Additional context / logs:

Full output of the command:
reset.log
Full output of the command with debug flag included:
reset.log
Adding the directories that were present before install on the other node does not fix the issue:
$ sudo mkdir -p -m 700 /var/lib/rancher/k3s/server/logs
$ sudo mkdir -p /etc/rancher/k3s
$ sudo mkdir -p /var/lib/rancher/k3s/server/manifests
$ sudo k3s server --cluster-reset --etcd-s3 --cluster-reset-restore-path=on-demand-ip-172-31-36-255-1656090522 --etcd-s3-bucket=maxrtest --etcd-s3-folder=maxk3s --etcd-s3-region=us-east-2 --etcd-s3-access-key=<redacted> --etcd-s3-secret-key="<redacted>" --token=test
...
FATA[0002] Failed to reconcile with temporary etcd: stat : no such file or directory

Backporting

[x] Needs backporting to older releases

Although I'm not finding the issue at the moment, I remember seeing something similar a while back and I couldn’t figure out how it got into that state. I believe I added some debug logging - would you be able to try the same with --debug?

Yep! Updated the original issue comment with results from debug 👍

So the issue stands as it's written, but it may be that we invalidate this. When I performed the following steps to harden the fresh VM before restoring the snapshot, it worked:
Fresh Node Steps:
5. Harden a new fresh VM by performing step 1 above on a new machine.
6. Attempt to restore the snapshot that was taken:
$ curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.23.7+k3s1 INSTALL_K3S_SKIP_ENABLE=true sh -
$ sudo k3s server --cluster-reset --etcd-s3 --cluster-reset-restore-path=<your snapshot's name> --etcd-s3-bucket=maxrtest --etcd-s3-folder=maxk3s --etcd-s3-region=us-east-2 --etcd-s3-access-key=<redacted> --etcd-s3-secret-key="<redacted>" --token=test --debug

I added some additional debug logging and believe I've found a more simple reproduction:

start k3s with --cluster-init --secrets-encryption=true --token=test
take an etdc snapshot to s3
k3s-killall.sh && rm -rf /var/lib/rancher/k3s
start k3s with --cluster-reset --cluster-reset-restore=xxx --secrets-encryption=false --token=test

Logs from this show:
INFO[0001] Reconciling bootstrap data between datastore and disk
DEBU[0001] Reconciling ETCDServerCA at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt'
DEBU[0001] Reconciling ETCDServerCA at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt' - case 1 checking ETCDServerCA at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt'
DEBU[0001] Reconciling ETCDServerCA at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt' - case 1 checking ETCDServerCAKey at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.key'
DEBU[0001] Reconciling ETCDServerCA at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt' - case 1 checking IPSECKey at '/var/lib/rancher/k3s/server/cred/ipsec.psk'
DEBU[0001] Reconciling ETCDServerCA at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt' - case 1 checking ServerCA at '/var/lib/rancher/k3s/server/tls/server-ca.crt'
DEBU[0001] Reconciling ETCDServerCA at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt' - case 1 checking ServiceKey at '/var/lib/rancher/k3s/server/tls/service.key'
DEBU[0001] Reconciling ETCDServerCA at '/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt' - case 1 checking EncryptionConfig at ''
FATA[0001] Failed to reconcile with temporary etcd: case 1 failed to stat EncryptionConfig at '': stat : no such file or directory

For some we have inner loops in the time skew checks:
https://github.com/k3s-io/k3s/blob/a237260237b549b90dd3aae449de09231caf1351/pkg/cluster/bootstrap.go#L364-L368
https://github.com/k3s-io/k3s/blob/a237260237b549b90dd3aae449de09231caf1351/pkg/cluster/bootstrap.go#L394-L398
Besides causing O(n^2) stat calls on all the files, the inner loops will cause the reconcile to fail if the bootstrap data contains data for a feature not currently enabled (encryption config, in this case).


[LLC] Choose moderate serialization method for different conten-type

RE: Python SDK strange behavior for webpubsub

We handwrite the fix in _patch.py: https://github.com/Azure/azure-sdk-for-python/pull/21393


make different options for run_docking_oe posit methods possible

Description
Resolves #312
Status

[ ] Ready to go

Codecov Report

Merging #314 (5a97f5a) into main (02a7df8) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

Problem is: https://github.com/choderalab/asapdiscovery/issues/319

Thanks for making the fix!!


Do not use a recursive MSBuild rule to determine Objective-C residency.

The recursive rule was causing us some trouble when projects did not include sbclang.targets.
This works just as well because any static library with an object containing this directive will spread ___pin_objc_init in a fairly insidious manner.
Fixes #973.
Verified by:

x86 debug app launch
x86 debug UTs
x86 release app launch
x86 release UTs
ARM release app launch
ARM release UTs

:shipit:

This build failure may be transient; I'm going to submit another one:
2016-09-20T01:06:05.2685043Z MSBUILD : error MSB4017: The build stopped unexpectedly because
 of an unexpected logger failure.
2016-09-20T01:06:05.2685043Z Microsoft.Build.Exceptions.InternalLoggerException: The build
 stopped unexpectedly because of an unexpected logger failure.
 ---> System.ArgumentException: Illegal characters in path.

That means there is an issue with parallel builds.

In reply to: 248383261 [](ancestors = 248383261)

Err. Maybe not.

In reply to: 248384868 [](ancestors = 248384868,248383261)

:shipit:

Tested this with a non-sample application with subproject references, and it looks good.


err: invalid character 'l' looking for beginning of value

getting this error a lot when using grid_scheduler.sched
"couldn't fetch node {n}: invalid character 'l' looking for beginning of value"
I need to keep retrying terraform apply till it eventually succeeds.
maybe we could enhance the logic to skip the likely down nodes when checking the nodes' capacity instead of exiting with an error.

Retrying is done in terraform, and grid proxy on devnet is updated with timeout increase.
Specifically for this issue, filtering nodes are done without contacting the node which should prevent this error from appearing (at least on this stage).


Get 'import "react"' working

Update BuildGraph to handle ClassDecls correctly
Handle 'declare global { ... }' namespaces

TODO:

[ ] pre-process @types/react/index.d.ts to remove/modify lines that require /// <reference path="global.d.ts" />
[ ] figure out why import * as PropTypes from "prop-types" isn't working as expected

Codecov Report
Attention: Patch coverage is 34.56376% with 195 lines in your changes missing coverage. Please review.

Project coverage is 81.73%. Comparing base (5f68f7a) to head (b243dfd).

Files
Patch %
Lines

src/Escalier.TypeChecker/BuildGraph.fs
7.38%
163 Missing :warning:

src/Escalier.TypeChecker/Infer.fs
50.00%
14 Missing :warning:

src/Escalier.TypeChecker/InferGraph.fs
67.64%
11 Missing :warning:

src/Escalier.Interop/Migrate.fs
86.84%
5 Missing :warning:

src/Escalier.TypeChecker/Graph.fs
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #242      +/-   ##
==========================================
- Coverage   82.90%   81.73%   -1.18%
==========================================
  Files          25       25
  Lines       10933    11162     +229
  Branches     1579     1601      +22
==========================================
+ Hits         9064     9123      +59
- Misses       1869     2039     +170

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feat(Chip.Group, Chip.Removable, Chip): created chips

Resolves: #49 and #367
FYI: I will keep this PR open until its reviewed and well tested.
Description:
Implemented the Chip component and support Chip.Group, Chip and Chip.Removable. The default Chip component supports the checkmark prop to decide whether the checkmark icon should be displayed or not. The guidelines is ensuring that the end user needs to add the aria label to the Removable chip if the provided text is not explaining that is a removable option. The Chip is implemented as described in Figma using design tokens.
Thoughts:
I marked this component as Beta but not sure if we should do it or not. I think it would be nice to wait until @mimarz is back at work before marking it as stable. This for ensuring we have a nice API for our end users and that we are on the same page regarding this. I have tried to implement the same API approach as the Accordion. Hopefully, we can follow the same API for radio buttons too.
Screenreaders:
Tested with NVDA, the behaviour of the toggle button is as expected. It accurately reads "Toggle button Car not pressed" when the button is not pressed, and "Toggle button Car pressed" when it is pressed. Furthermore, when toggling the button, it appropriately announces "Not pressed" and "pressed" without redundantly stating which specific toggle button was pressed. This approach is logical since the name of the toggle button is initially read aloud when it is first focused.
Have tested the Chip.Group and it works as well! :accessibility:

Dette ser veldig bra ut, bare litt småpirk her og der. Et par generelle kommentarer i tillegg:

Når jeg tester, blir chipene firkantede. I Figma er de runde. Er det noen variabler som ikke er oppdatert?
Jeg finner ikke noen funksjonalitet som faktisk fjerner Chip.Removable fra en liste. Som utvikler ville jeg forventet at hvis jeg lager en Chip.Group med Chip.Removable, så skal jeg ikke behøve å implementere funksjonaliteten som fjerner den selv. I det minste burde det være dokumentert hvordan man skal gjøre det.

Great feedback @TomasEng! :) You should run yarn build:tokens locally to ensure you have the latest tokens generated. This should fix the border-radius issue you mentioned. :)

Thanks for your review and your suggestions. I have added more docs on how to implement the Removable chips. I decided to wait for implementing more features into the group. I think it is better to iterate and add more features along the way instead of implementing more features now. The Chip.Removable has more or less the same features as in Aksel now, where you need to implement the removable code yourself. :)


pull request for e2e test at 12/12/2016 11:15:03

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Using I3D as a feature extractor for anomaly detection task

I am using I3D as a feature extractor for anomaly detection task. Following the paper "Real world anomaly detection in surveillance videos" they use C3D which require an input chunk with 16 frames. As my understanding, I3D can run with every chunk > 8 frames. So I wonder that which number of frames per chunk I should use in this case?
Thank you

Hi!
it should work with any number of frames (with minimal changes for
very small number of frames). It should work better when using as many
frames in evaluation as in training. So if the model was trained with 64
frames then it should work better evaluating on 64 frame clips.
Joao
On Tue, Mar 24, 2020 at 8:29 AM hongsamvo<EMAIL_ADDRESS>wrote:

I am using I3D as a feature extractor for anomaly detection task.
Following the paper "Real world anomaly detection in surveillance videos"
they use C3D which require an input chunk with 16 frames. As my
understanding, I3D can run with every chunk > 8 frames. So I wonder that
which number of frames per chunk I should use in this case?
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/kinetics-i3d/issues/99, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADXKU2SX2NKTVPSHE2LNFOLRJBVPVANCNFSM4LSO2LTA
.

Hi @joaoluiscarreira,
Thank you so much for your responding


title

NastyBugs

This issue used only for marketing purposes, see https://gist.github.com/brianzelip/34c7ae7fae90122c45d624fb20aa670b


Feature/unit tests

Coverage increased (+11.9%) to 90.636% when pulling aa813c56dd11a7acff9fe4da6d5cee6119600806 on feature/unit-tests into 2b41bdcad41b771b38dc87f03aef6380b846ffc5 on master.


404 when installing from Godot 4.0 Asset Library

Not sure if this is due to your listing or an issue with the editor, but I was able to install other templates successfully from the asset library, so I figured I would raise the issue in your repo.

I will look at it asap.

I forgot to include the "project.godot" file for Godot Asset library.
I edited it, but it is waiting for approval from asset library managers.
I will tell you once it is fixed.

it should be fixed now, I tested it.
reopen if there is still a problem.