Query: receiving InvalidOperationException "coalesce used with type that cannot be null"

I'm getting an exception when I try to coalesce the result of a sub-query that returns a DateTime? with a column that is typed as DateTime - I didn't get this exception before upgrading to EF 2.1 from EF 2.0.
I've tried workarounds such as returning DateTime for the DateModified projection in sessionQuery, but this means I have to use a ternary condition that tests for equality to DateTime.MinValue when projecting into UserGridItem, and the SQL generated is much worse because it has to execute the sub-query defined in sessionQuery twice.
Steps to reproduce
Query code:
var sessionQuery =
    from s in context.Set<UserSession>()
    join u in context.Set<User>() on s.UserId equals u.Id
    orderby u.Id, s.DateModified descending
    select new { s.UserId, DateModified = (DateTime?)s.DateModified };

var itemQuery =
    from u in context.Set<User>()
    select new UserGridItem
    {
        Id = u.Id,
        Name = $"{u.FirstName} {u.LastName}",
        EmailAddress = u.EmailAddress,
        LastActivityDate = sessionQuery.Where(s => s.UserId == u.Id).Select(s => s.DateModified).FirstOrDefault() ?? u.DateCreated
    };

var results = itemQuery.ToArray(); // throws here

Workaround (works, but generates much heavier SQL plan):
var sessionQuery =
    from s in context.Set<UserSession>()
    join u in context.Set<User>() on s.UserId equals u.Id
    orderby u.Id, s.DateModified descending
    select new { s.UserId, s.DateModified };

var itemQuery =
    from u in context.Set<User>()
    let lastActivity = sessionQuery.Where(s => s.UserId == u.Id).Select(s => s.DateModified).FirstOrDefault()
    select new UserGridItem
    {
        Id = u.Id,
        Name = $"{u.FirstName} {u.LastName}",
        EmailAddress = u.EmailAddress,
        LastActivityDate = lastActivity == DateTime.MinValue ? u.DateCreated : lastActivity
    };

var results = itemQuery.ToArray(); // works correctly

For now I guess I will have to use the workaround, but I don't see why this projection can't work as intended, it's a very common pattern in our codebase and the current workaround we are having to use is very sub-optimal.
Will this be fixed in an upcoming release? Are there better workarounds that I could use while preserving the logical intent?
Further technical details
EF Core version: 2.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: IDE Visual Studio 2017 15.7.2

@sam-piper can you share the code listing for the entities and contents of OnModelCreating? I tried to reverse engineer the model from the query you provided, but it works correctly, producing the following sql:
SELECT [u].[Id], [u].[FirstName], [u].[LastName], [u].[EmailAddress], COALESCE((
    SELECT TOP(1) [s].[DateModified]
    FROM [UserSessions] AS [s]
    INNER JOIN [Users] AS [u0] ON [s].[UserId] = [u0].[Id]
    WHERE [s].[UserId] = [u].[Id]
    ORDER BY [u0].[Id], [s].[DateModified] DESC
), [u].[DateCreated]) AS [LastActivityDate]
FROM [Users] AS [u]

You can also try the following workaround, which should produce a better query:
                var sessionQuery =
                    from s in ctx.UserSessions
                    join u in ctx.Users on s.UserId equals u.Id
                    orderby u.Id, s.DateModified descending
                    select new { s.UserId, DateModified = (DateTime?)s.DateModified };

                var itemQuery =
                    from u in ctx.Users
                    select new //UserGridItem
                    {
                        u.Id,
                        u.DateCreated,
                        Name = $"{u.FirstName} {u.LastName}",
                        u.EmailAddress,
                        LastActivityDate = sessionQuery.Where(s => s.UserId == u.Id).Select(s => s.DateModified).FirstOrDefault()
                    };

                var results = itemQuery.ToList().Select(u => new UserGridItem
                {
                    Id = u.Id,
                    Name = u.Name,
                    EmailAddress = u.EmailAddress,
                    LastActivityDate = u.LastActivityDate ?? u.DateCreated
                }).ToArray();

I can't provide the exact code we're using, unfortunately, and it's entirely possible that this error is a result of our specific codebase, if you aren't able to replicate from basic code.
Here's the OnModelCreating code and relevant configuration classes, which I've stripped down to match the sample above, in case it provides more context.
// in DbContext
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    // add all configurations from this assembly
    var query =
        from t in GetType().Assembly.GetTypes()
        where t.GetInterfaces().Any(i => i.IsGenericType && i.GetGenericTypeDefinition() == typeof(IEntityTypeConfiguration<>)) && !t.ContainsGenericParameters
        select t;

    foreach (var configurationType in query)
    {
        dynamic configuration = Activator.CreateInstance(configurationType);
        modelBuilder.ApplyConfiguration(configuration);
    }
}

public class EntityConfiguration<T> : IEntityTypeConfiguration<T> where T : Entity
{
    public virtual void Configure(EntityTypeBuilder<T> builder)
    {
        // Primary key
        builder.HasKey(e => e.Id);

        // Id column
        builder.Property(e => e.Id).ValueGeneratedNever();

        // Version column
        builder.Property(e => e.Version).IsRequired().IsRowVersion().UsePropertyAccessMode(PropertyAccessMode.Property);
    }
}

public class UserSessionConfiguration : EntityConfiguration<UserSession>
{
    public override void Configure(EntityTypeBuilder<UserSession> builder)
    {
        base.Configure(builder);

        builder.HasOne<User>().WithMany().HasForeignKey(s => s.UserId);
    }
}

public class UserConfiguration : EntityConfiguration<User>
{
    public override void Configure(EntityTypeBuilder<User> builder)
    {
        base.Configure(builder);
    }
}

public abstract class Entity
{
    private Guid _id;
    private byte[] _version;
    private DateTime _dateCreated = DateTime.UtcNow;
    private DateTime _dateModified = DateTime.UtcNow;

    protected Entity()
    {
        _id = CreateId();
    }

    public Guid Id
    {
        get => _id;
        set => _id = value;
    }

    public DateTime DateCreated
    {
        get => _dateCreated;
        set => SetProperty(ref _dateCreated, value, nameof(DateCreated), true);
    }

    public DateTime DateModified
    {
        get => _dateModified;
        set => _dateModified = value;
    }

    public byte[] Version
    {
        get => _version;
        set => _version = value;
    }

    public static Guid CreateId()
    {
        var dateBytes = BitConverter.GetBytes(DateTime.Now.Ticks);
        var guidBytes = Guid.NewGuid().ToByteArray();

        // copy the last six bytes from the date to the last six bytes of the GUID
        Array.Copy(dateBytes, dateBytes.Length - 7, guidBytes, guidBytes.Length - 7, 6);
        return new Guid(guidBytes);
    }
}

public class UserSession : Entity
{
    private Guid _userId;

    public Guid UserId
    {
        get => _userId;
        set => _userId = value;
    }
}

public class User : Entity
{
    private string _firstName;
    private string _lastName;
    private string _emailAddress;

    public string FirstName
    {
        get => _firstName;
        set => _firstName = value;
    }

    public string LastName
    {
        get => _lastName;
        set => _lastName = value;
    }

    public string EmailAddress
    {
        get => _emailAddress;
        set => _emailAddress = value;
    }
}

If you still can't reproduce with this code (there's a lot stripped out), then I'll have to spend more time working to isolate the issue in a separate repo.

@sam-piper I'm still unable to reproduce the issue. Tried on current bits as well as 2.1.2.
Here is the full repro I used:
    class Program
    {
        static void Main(string[] args)
        {
            using (var ctx = new MyContext())
            {
                ctx.Database.EnsureDeleted();
                ctx.Database.EnsureCreated();

                var s1 = new UserSession { Id = Guid.NewGuid(), DateCreated = DateTime.Now, DateModified = DateTime.Now, Version = new byte[] { 0x00, 0x01 } };
                var s2 = new UserSession { Id = Guid.NewGuid(), DateCreated = DateTime.Now, DateModified = DateTime.Now, Version = new byte[] { 0x02, 0x03 } };

                var u = new User { DateCreated = DateTime.Now, DateModified = DateTime.Now, EmailAddress = "email", FirstName = "FN", LastName = "LN", Id = Guid.NewGuid(), Version = new byte[] { 0x00, 0x01 } };
                s1.UserId = u.Id;
                s2.UserId = u.Id;

                ctx.UserSessions.AddRange(s1, s2);
                ctx.Users.Add(u);
                ctx.SaveChanges();
            }

            using (var ctx = new MyContext())
            {
                var sessionQuery =
                    from s in ctx.UserSessions
                    join u in ctx.Users on s.UserId equals u.Id
                    orderby u.Id, s.DateModified descending
                    select new { s.UserId, DateModified = (DateTime?)s.DateModified };

                var itemQuery =
                    from u in ctx.Users
                    select new
                    {
                        u.Id,
                        u.DateCreated,
                        Name = $"{u.FirstName} {u.LastName}",
                        u.EmailAddress,
                        LastActivityDate = sessionQuery.Where(s => s.UserId == u.Id).Select(s => s.DateModified).FirstOrDefault()
                    };

                var results = itemQuery.ToList().Select(u => new UserGridItem
                {
                    Id = u.Id,
                    Name = u.Name,
                    EmailAddress = u.EmailAddress,
                    LastActivityDate = u.LastActivityDate ?? u.DateCreated
                }).ToArray();
            }
        }
    }

    public class UserGridItem
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
        public string EmailAddress { get; set; }
        public DateTime LastActivityDate { get; set; }
    }

    public class MyContext : DbContext
    {
        public DbSet<UserSession> UserSessions { get; set; }
        public DbSet<User> Users { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer(@"Server=.;Database=Repro12644_21;Trusted_Connection=True;MultipleActiveResultSets=True");
        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            // add all configurations from this assembly
            var query =
                from t in GetType().Assembly.GetTypes()
                where t.GetInterfaces().Any(i => i.IsGenericType && i.GetGenericTypeDefinition() == typeof(IEntityTypeConfiguration<>)) && !t.ContainsGenericParameters
                select t;

            foreach (var configurationType in query)
            {
                dynamic configuration = Activator.CreateInstance(configurationType);
                modelBuilder.ApplyConfiguration(configuration);
            }
        }

        public class EntityConfiguration<T> : IEntityTypeConfiguration<T> where T : Entity
        {
            public virtual void Configure(EntityTypeBuilder<T> builder)
            {
                // Primary key
                builder.HasKey(e => e.Id);

                // Id column
                builder.Property(e => e.Id).ValueGeneratedNever();

                // Version column
                builder.Property(e => e.Version).IsRequired().IsRowVersion().UsePropertyAccessMode(PropertyAccessMode.Property);
            }
        }

        public class UserSessionConfiguration : EntityConfiguration<UserSession>
        {
            public override void Configure(EntityTypeBuilder<UserSession> builder)
            {
                base.Configure(builder);

                builder.HasOne<User>().WithMany().HasForeignKey(s => s.UserId);
            }
        }

        public class UserConfiguration : EntityConfiguration<User>
        {
            public override void Configure(EntityTypeBuilder<User> builder)
            {
                base.Configure(builder);
            }
        }
    }

    public abstract class Entity
    {
        private Guid _id;
        private byte[] _version;
        private DateTime _dateCreated = DateTime.UtcNow;
        private DateTime _dateModified = DateTime.UtcNow;

        protected Entity()
        {
            _id = CreateId();
        }

        public Guid Id
        {
            get => _id;
            set => _id = value;
        }

        public DateTime DateCreated
        {
            get => _dateCreated;
            set => _dateCreated = value;
        }

        public DateTime DateModified
        {
            get => _dateModified;
            set => _dateModified = value;
        }

        public byte[] Version
        {
            get => _version;
            set => _version = value;
        }

        public static Guid CreateId()
        {
            var dateBytes = BitConverter.GetBytes(DateTime.Now.Ticks);
            var guidBytes = Guid.NewGuid().ToByteArray();

            // copy the last six bytes from the date to the last six bytes of the GUID
            Array.Copy(dateBytes, dateBytes.Length - 7, guidBytes, guidBytes.Length - 7, 6);
            return new Guid(guidBytes);
        }
    }

    public class UserSession : Entity
    {
        private Guid _userId;

        public Guid UserId
        {
            get => _userId;
            set => _userId = value;
        }
    }

    public class User : Entity
    {
        private string _firstName;
        private string _lastName;
        private string _emailAddress;

        public string FirstName
        {
            get => _firstName;
            set => _firstName = value;
        }

        public string LastName
        {
            get => _lastName;
            set => _lastName = value;
        }

        public string EmailAddress
        {
            get => _emailAddress;
            set => _emailAddress = value;
        }
    }

sql that gets generated is as follows:
SELECT [u].[Id], [u].[DateCreated], [u].[FirstName], [u].[LastName], [u].[EmailAddress], (
    SELECT TOP(1) [s].[DateModified]
    FROM [UserSessions] AS [s]
    INNER JOIN [Users] AS [u0] ON [s].[UserId] = [u0].[Id]
    WHERE [s].[UserId] = [u].[Id]
    ORDER BY [u0].[Id], [s].[DateModified] DESC
) AS [LastActivityDate]
FROM [Users] AS [u]

Closing, as we were not able to reproduce the issue. Feel free to re-open the issue adding full repro if the problem persists.


disable scroll to top on navigating with data-turbo-scroll="false"

this is not a must, but every link trigger the page to top (as normal web behavior - this is expected, so far so good).
however, there are some cases we wouldn't want to scroll top, for instance, when you're filtering multi facets,
the url is changing, new data has arrived and now you have to scroll down again to the previous position
this is really easy to add this, (did this on my repo) , if this is acceptable, i will submit a pr.
thanks

Would you be able to share your repo? I'm also looking for a solution to this.
In my case, I have a list of basket lines - and when removing one the page scrolls back to the top losing your position.
It works if the basket is put inside a turbo frame - however then other areas of the UI do not update, such as the basket count in the header.

I'd also second the need for this, even if it's just a guide on how to achieve it.
@eladmarg do you mind sharing your solution?

My usecase is that I'm using a link to toggle an option on a page, which updates a URL parameter, and I want the page scroll position to stay the same.

#37 duplicate


Make gevent dependency opt-in?

Currently pykafka always requires to install gevent even if we don't use it. Would be great be able to opt-in.
Basically, pip install pykafka will not install gevent, while we can add a extra_requires param in setup.py to make pip install pykafka[gevent] install pykafka with gevent.

Sure, this seems reasonable. Thanks for the suggestion @messense, and if you'd like to open a PR that implements this, that would be great.


ignore errno.ENOTDIR in open_if_exists

Fixes #821

Check if there's a testcase for the other error cases; if there is one add one for this one as well, otherwise I think it's not needed (unless you want to cover it of course)

Given that #839 has been closed, is there anything blocking this one being merged?

@ThiefMaster sorry for late reply, no there haven't been tests for open_if_exists yet.  It would be nice if we could merge this as-is; otherwise let me know if something needs to be changed.

Would you add a changelog entry for this?

Done, please take a look.

The CI failure isn't related to this PR, am I right?

CI failure definitely not related to this change. Only failing on Python 3.3 with some venv error

Any reason this cannot be merged?

Is there a reason this is not merged? I face the same issue.

@davidism may I do something for this PR?

Sorry, forgot this happens when I rename branches. Can you resubmit this against master?

On Tuesday, March 19, 2019 9:05:14 PM CET David Lord wrote:

Sorry, forgot this happens when I rename branches. Can you resubmit this against master?

Of course, I'll take a look at this tomorrow (ooo now).

This is going to need to be rebased against the latest 2.10.x branch. Right now there is a build running against Python 3.3 which is failing, and in the latest copy of that branch we no longer test against Python 3.3 (because it is EOL).

I thought we can close this, and keep only #963?


fix bulletpoints

Description
Add guidance around not using second level bullets (re-write instead).
Not yet ready to merge.
Additional information
This will close #180
Definition of Done

[x] Acceptance testing (for code changes - TBD)
[ ] Draft reviewed by other Content Designer
[ ] Update to Updates page
[ ] PR approved by Libby
[ ] Related GitHub issues closed

I'm trying to come up with a good example of a multi level bullet point list to rewrite. See the example. Thoughts?

Hey @klepas I'm struggling with the CSS embiggening bullet points from 2nd level onwards for the purposes of this example. Any chance we can fix this without having to wait for dev work on the brand new guide?
(I had to do bad hacky things like this in dev tools to generate the above screenshot
<style>
ul, ol, p{font-size: 17px;
    font-size: 1.1rem}
</style>

)

Fixed. (:

Thanks @klepas We're getting an extra space between 2 sets of second level points, see pic

Can you add a fix for this too?

@joolswood Done. (:

https://github.com/govau/content-guide/issues/23


Proper concurrency

At the moment mysteryshack limits itself to a single HTTP worker to avoid data races. We should introduce locks instead. Atomic file writes won't be sufficient.
RwLock seems useful.

Files now use a per-user rw-lock.

https://github.com/alfiedotwtf/file-lock/issues/10


React support?

Is there any possibility of supporting React in the future? Or any hack that makes it work?

Since this package is using momentum, which at the moment (and most likely also in the future) only supports Blaze, there is no way of supporting React.
If you are using react-router there is an example in their repo on how to do route transition animations here.


fix rlocus timeout due to inefficient _default_wn calculation

This PR fixes an obscure bug that got pointed out to me a year ago in e-mail from a colleague in Costa Rica:

I have a piece of code that I run for my students. I downloaded the latest control module and it does not print the root locus any more. I think it gets stuck in an iterative process. Nothing changed in the code. I suppose something in the updated version is causing the problem. Has anybody else made a complaint about the root locus?

Turns out that the problem was that he had a very unusual pole/zero pattern in which the algorithm for computing the default natural frequencies to use in plotting the grid was introduced in PR #138.  The code essentially used the x-axis major ticks as the starting point for the natural frequencies and then added additional ticks to "complete" the frequencies on the y axis.  The problem was that if the x-axis had tick marks that were orders of magnitude different that the y-axis, this could generate a lot of additional natural frequencies (which were subsequently removed a later point in the code).
I didn't want to spend a lot of time on this fix, so I basically put in a check to see when you might end up generating an excessive number of ticks based on this heuristic and switched things so that if that happens, you use the y-axis ticks as the starting point.  There's a unit test to make sure it is working right (that also covers the new code).

Coverage increased (+0.03%) to 87.78% when pulling 4ef490620efef1b20f291acd4b1446dc37aa6527 on murrayrm:fix_rlocus_timeout into 343d5d64de8e64d3915e597e4b216190f789e53d on python-control:master.

Coverage increased (+0.03%) to 87.78% when pulling 4ef490620efef1b20f291acd4b1446dc37aa6527 on murrayrm:fix_rlocus_timeout into 343d5d64de8e64d3915e597e4b216190f789e53d on python-control:master.


max_by function cannot use with json data type

Steps to reproduce the behavior (Required)

select
corpId , empId ,  max_by(  table_data,effectDate_$date) table_data
from a
group by corpId , empId ;

Expected behavior (Required)
invalid agg function plan:max_by
Real behavior (Required)
i can get the result when i use max_by function
StarRocks version (2.5.1-rc1)

You can get the StarRocks version by executing SQL select current_version()

#这条语句是可以执行的，主要问题是max_by函数不识别table_data 是json数据类型
select
corpId , empId ,max_by(cast(table_data as string),effectDate_$date) table_data
from std_emp_history_info
group by corpId , empId ;

std_emp_history_info 本身是一张物化视图表

JSON data type could not be applied to this function right now,I would convert this issue into a feature request, and support this functionality later.


UPnP implementation - rebased

do you have miniupnpc_linux.jar  in commit ?

libupnp will crash kernel.   more testing ongoing.
                ______
  .'.       |  .~      ~.  |..          |
.'   `.     | |          | |  ``..      |

.''''''''.   | |          | |      ``..  | .'           . |  `.______.'  |          ``|
                 NETWORK

18-03-02 15:03:17.854 INFO  GEN  [main]: loaded block <num=194405, root=584f77c2... l=32>
18-03-02 15:03:18.014 INFO  GEN  [main]:
18-03-02 15:03:18.016 INFO  CONS [main]:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fe321e050b0, pid=9264, tid=9310

JRE version: Java(TM) SE Runtime Environment (9.0+11) (build 9.0.4+11)
Java VM: Java HotSpot(TM) 64-Bit Server VM (9.0.4+11, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
C  [libminiupnpc.so.10+0x40b0]  upnpDiscover+0x50

Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/jin/dev/aion/core.9264)

An error report file with more information is saved as:
/home/jin/dev/aion/hs_err_pid9264.log
[thread 9314 also had an error]


Deep signing equivalent?

Hi,
Is there a way to run electron-osx-sign with the equivalent of the --deep flag from Apple's own codesign tool, so that it will recursively walk directories and sign included binaries? I have some Pyinstaller-bundled dependencies of my Electron app that work fine on Windows and Linux and under earlier versions of macOS, but I'm having trouble working out a way of signing them with the available Electron tooling without having to package an app bundle within an app bundle, which won't pass notarization, or expand a list of every .dylib and .so in the bundle...
Thanks!

Would it make sense to simply run it this way, to get every included binary?
electron-osx-sign ProveIt-darwin-x64/ProveIt.app/ $(find ProveIt-darwin-x64/ProveIt.app/Contents/ -type f -perm -u+x)

Note that this doesn't seem to work because escaping spaces or quoting filenames when doing shell expansion this way isn't picked up by electron-osx-sign -- it seems to have some problem parsing paths.

I noticed there was on open PR #231 that hasn't been merged yet, but this was somewhat impacting to my build pipeline...especially since the newest version of Mac requires a hardened runtime now. I got around this by creating a hook that deep signs the finished .app after it's been packaged. You'd just need to change the app name in the path.resolve() function.
const { exec } = require('child_process');

const config = {
   hooks: {
    postPackage: (forgeConfig, options) => {
      if (process.platform == "darwin") {
        let appPath = path.resolve(options.outputPaths[0], 'CHANGEME.app');
        console.log(`Signing App: ${appPath}`);
        exec(`codesign --force --deep --sign - ${appPath}`,
        (err, stdout, stderr) => {
          if (err) {
            console.log(`ERROR: ${err}`);
          }
          if (stdout) {
            console.log(stdout);
          }
          if (stderr) {
            console.log(stderr);
          }
        });
      }
    }
  },
}

Zsign technical support:
Apple signature tool iPA supporting ios15 and ios16
Support the removal of dylib dynamic library
Support Windows Mobile mac
It can help solve the problems that IOS cannot be installed and verified
https://urlzs.com/44zCx

Hello, is there any progress on this issue? I can't move forward when I encounter this problem at present.
cc @MarshallOfSound


Setup eks connections to the database

PULL REQUEST
Summary
The following changes were made:

Added the EKS to database connection
Add Terraform documentation and formatting scripts
Added a docs directory that provides the steps needed to fix the EKS to RDS (postgres) connection

Related Issue
This PR fixes the FATAL: no pga_hba.conf error message
Additional Information
Anything else the review team should know?

This PR creates the resources needed in order for my database connection fix to work


Export variables

Variables from .env file must be exported otherwise docker wont read them
Load .env file after copying

sorry @ondra-m you might miss some docker docs. hope you get through.


Provision for google map resize event

Is there a  provision to use google maps resize event?

What are really you want?

I resize  my map container on marker click and subsequently reduce the container height . I need to reposition the map according to the new height ie move my map center .

As I remember map resize event will not raise on layout changes (only on window resize).
There is no simple way to detect this without quering the element dimensions in some loop, and in html query dimension causes reflow. So access to resize event will not help you. (Internally this component uses just window resize events.
So there are hacks how to refresh (just search issues with refresh word) for example read this thread https://github.com/istarkov/google-map-react/issues/44#issuecomment-146638300
For declarative refresh we need something like refreshSizeToken property, and any change to this prop will cause internal viewSize refresh.
But I feel that a better solution exists, need to think some time.


RabbitMQ.Client v7 breaks Aspire.RabbitMQ.Client component

There have been some major binary breaking changes in https://www.nuget.org/packages/RabbitMQ.Client/7.0.0-alpha.5. Our component doesn't even load when using this version. The first error I get is:
MissingMethodException: Method not found: 'Void RabbitMQ.Client.ConnectionFactory.set_UseBackgroundThreadsForIO(Boolean)'.
Microsoft.Extensions.Configuration.Binder.SourceGeneration.<BindingExtensions_g>F4A9562478640BAD0160976753D96FF712B41D5A2B91D22C8BB8580DF176A8A3D__BindingExtensions.BindCore(IConfiguration configuration, ref ConnectionFactory instance, bool defaultValueIfNotFound, BinderOptions binderOptions)
Microsoft.Extensions.Configuration.Binder.SourceGeneration.<BindingExtensions_g>F4A9562478640BAD0160976753D96FF712B41D5A2B91D22C8BB8580DF176A8A3D__BindingExtensions.Bind_ConnectionFactory(IConfiguration configuration, object instance) in BindingExtensions.g.cs
Microsoft.Extensions.Hosting.AspireRabbitMQExtensions+<>c__DisplayClass5_0.<AddRabbitMQClient>g__CreateConnectionFactory|0(IServiceProvider sp) in AspireRabbitMQExtensions.cs

But I assume there will be many others after this.
We will need to handle this breaking change by splitting our component into 2, one for each major version.

For the current Aspire.RabbitMQ.Client package, we should put a NuGet version limit on our dependency: [6.8.1,7.0.0). This way people won't be able to update to the 7.0.0 version, which will break their app.
If RabbitMQ.Client ships an official 7.0.0 stable package during the .NET Aspire 8.x lifetime, we can add a new, forked component named Aspire.RabbitMQ.Client.v7 which will have a dependency on 7.0.0 and contain any updates so the .NET Aspire component will work with v7. People who explicitly want to use version 7 can opt into using this package.
When .NET Aspire 9 ships, we can "swap" the dependencies around.

The Aspire.RabbitMQ.Client package will be updated to depend on version 7 of RabbitMQ.Client.
If RabbitMQ.Client v6 is still in support, we can create Aspire.RabbitMQ.Client.v6 which has the dependency limit [6.8.1, 7.0.0) and works with the version 6 of RabbitMQ.Client.
Aspire.RabbitMQ.Client.v7 will be dead-ended. We won't make new .NET Aspire 9 versions of this package.

Note that we shouldn't need to do this for every component when the underlying client library ships a new major version. We will only need to follow this model when major breaking changes come into the underlying client library such that our library doesn't even work anymore (or other major breaks that convince us it is worth doing this).
cc @sebastienros @radical @joperezr @DamianEdwards

RabbitMQ.Client v7 is now release!

And doesn't recognize CreateConnection() anymore :) I hope this will be fixed. I did rollback my upgrade.


NUTCH-3092 Replace all imports of commons-lang by commons-lang3

Rebased to master.

Ok, but the rebase uncovered an issue introduced with NUTCH-3094 / #841 - although there are plenty of changes in the Java code (core and plugins), no unit tests are run. I'll try to address this before merging this PR.


Style of rendered Cursor/Selection should be improved

In general, there is now lots of visual changes because native blurs happen a lot (try using undo button).
This would be less visible if the rendered cursor would be visually more similar to the native selection.
In FF, the cursor style does not work at all.

Not perfect but good enough for now. Until we render our own cursor even.


GROOVY-8104: fix this$0 for closure with anon. inner class of inner type

https://issues.apache.org/jira/browse/GROOVY-8104
class Outer {
  class Inner {
    // requires Outer reference
  }
  def x = { ->
    new Inner() { // this.@this$0 returns closure; call getThisObject()
    }
  }
}

Merged. Thanks!


Update requirements, ready for v0.1.3

Close #41

Current coverage is 82.08%

Merging #52 into develop will increase coverage by +82.08% as of e5a89b2

@@            develop     #52   diff @@
=======================================
  Files             0      14    +14
  Stmts             0     748   +748
  Branches          0       0
  Methods           0       0
=======================================
+ Hit               0     614   +614
  Partial           0       0
- Missed            0     134   +134

Review entire Coverage Diff as of e5a89b2

Powered by Codecov. Updated on successful CI builds.

:+1:


Interval between connection and fetch

Hello,
I am trying to fetch html from a PHP website but the website show a "Querying Server Data..." text during 0.5s before showing the informations I want to fetch
So I need to put an interval delay between "connection" and fetching data from the website
How can I do this ?
Example Code

fetch("https://games.ludosoft.net/sourcebans/index.php", {delay: 500})
	.then((res) => res.text())
	.then((body) => {
		...
	});

Expected behavior, if applicable
The fetch() call will return the data delay (500 here) ms after accessing the website to give him time to load correct data
Your Environment

software
version

node-fetch
2.6.1

node
14.15.3

npm
6.14.9

Operating System
Windows 10 Family, 20H2, x64

Additional context/Screenshots
Here is a GIF of what happen when loading the page

Something like this?
const sleep = t => new Promise(rs => setTimeout(rs, t))

await sleet(500)
const res = await fetch("https://games.ludosoft.net/sourcebans/index.php")
const text = await res.text()
await sleet(500)

I got this error
d:\Users\Lucas\Documents\Autres\Discord bot\Bot #8061\index.js:257
				await sleet(500)
				^^^^^

SyntaxError: await is only valid in async function

top level await can be supported in ESM modules.
in package.json you have the option to add "type": "module"
or you could use a iif-function
(async () => {
  await sleep()
})()

Oh, ok
I don't have any more errors, but the program still doesn't work, I still have "Querying Server Data..." instead of the correct data
I tried putting sleep(3000) but it doesn't work anyway

I see now... you are trying to scrape a website that is populated dynamically with ajax on the https://games.ludosoft.net/sourcebans/index.php page
The fetch api don't execute any javascript. it only upload & download data.
What you need to do is to make the same request they are doing... here is a example request found in the network pannel
eg:
fetch("https://games.ludosoft.net/sourcebans/index.php", {
  "headers": {
    "accept": "*/*",
    "accept-language": "sv-SE,sv;q=0.9,en-US;q=0.8,en;q=0.7",
    "cache-control": "no-cache",
    "content-type": "application/x-www-form-urlencoded",
    "pragma": "no-cache"
  },
  "referrer": "https://games.ludosoft.net/sourcebans/index.php?p=servers",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": "xajax=ServerHostPlayers&xajaxr=1623241295708&xajaxargs[]=1&xajaxargs[]=servers&xajaxargs[]=&xajaxargs[]=0&xajaxargs[]=-1&xajaxargs[]=&xajaxargs[]=70",
  "method": "POST",
  "mode": "cors"
});

Oh yes !
This return a xml response. Do I have to parse the XML to find what I want or is there a way to "apply" the xml to the website data to scrap it ?

I don't know. this is beyond our scope. Better ask this kind of question on Stackoverflow
one alternative is to use a headless browser that renders the website with javascript. but that is more tech heavy.
you would need some xml parser

Thank you very much !


Explore adding functionality to create more lines for specific rows in the form

From: https://github.com/geneontology/noctua/issues/583
From @suzialeksander
I need to add two "has_input"s to an annotation. Is there a way to tweak the Form? I managed to do this through the Graph Editor but it wasn't intuitive (two different titles for what, to the user, are the same thing: "sub-nodes"/"edge & class expression"
From @vanaukenk
Perhaps we could add a feature to the form that would allow curators to add another row of contextual information, although we will want to be selective about which rows could be duplicated.

Note that multiple 'has input' relations and values are allowed in the current spec:
https://github.com/geneontology/GO_Shapes/blob/master/shapes/go-cam-shapes.shex

@suzialeksander @vanaukenk yes, this feature will be implemented on Form 2.0 . I am still playing around with how to best expand the form without overwhelming it on its default ( first impressions :) ) @thomaspd had a good suggestion of adding the option on the MF row like below

With proper labeling of course. However hiding it like this, means noone will know it's there unless they dig in. Any thoughts?

Thanks @tmushayahama
I agree that we need to make this functionality more visible.
How about something simple like a '+' sign next to the rows that can have more than one entry (according to the shex specifications, of course)?
Clicking on the '+' sign would generate an additional row.


feat(icons): added shield-user icon

closes #2600
What is the purpose of this pull request?

[x] New Icon

Description
Added new shield-user icon.
Icon use case

Access to admin area, mark user as admin/elevated access rights
Alternative icon designs

Icon Design Checklist
Concept

[x] I have provided valid use cases for each icon.
[x] I have not added any a brand or logo icon.
[x] I have not used any hate symbols.
[x] I have not included any religious or political imagery.

Author, credits & license

[ ] The icons are solely my own creation.
[x] The icons were originally created in #2600 by @sebinemeth
[x] I've based them on the following Lucide icons: shield, user
[ ] I've based them on the following design:

Naming

[x] I've read and followed the naming conventions
[x] I've named icons by what they are rather than their use case.
[x] I've provided meta JSON files in icons/[iconName].json.

Design

[x] I've read and followed the icon design guidelines
[x] I've made sure that the icons look sharp on low DPI displays.
[x] I've made sure that the icons look consistent with the icon set in size, optical volume and density.
[x] I've made sure that the icons are visually centered.
[x] I've correctly optimized all icons to three points of precision.

Before Submitting

[x] I've read the Contribution Guidelines.
[x] I've checked if there was an existing PR that solves the same issue.

I would prefer something like this Open lucide studio

Feels a bit imbalanced, maybe a smaller user would be more appropriate:
Open lucide studio

I would prefer something like this Open lucide studio

Feels a bit imbalanced, maybe a smaller user would be more appropriate:
Open lucide studio

My version is from the contact-round, and is consistend with circle-user and square-user.
So my vote is for my version, for consistency.

My version is from the contact-round, and is consistend with circle-user and square-user. So my vote is for my version, for consistency.

It's not entirely consistent though, since the user shape is 1px lower than in case of circle/square-user.
I feel like even with the minor gap guideline violation this one feels better because it's much less bottom-heavy:
Open lucide studio

My version is from the contact-round, and is consistend with circle-user and square-user. So my vote is for my version, for consistency.

It's not entirely consistent though, since the user shape is 1px lower than in case of circle/square-user.
I feel like even with the minor gap guideline violation this one feels better because it's much less bottom-heavy:

Open lucide studio

I'm up for this, even with the gap violation, looks nice.

My version is from the contact-round, and is consistend with circle-user and square-user. So my vote is for my version, for consistency.

It's not entirely consistent though, since the user shape is 1px lower than in case of circle/square-user.
I feel like even with the minor gap guideline violation this one feels better because it's much less bottom-heavy:

Open lucide studio

Thanks guys for the contribution, I also like this version, changing now


Android Dialog Fragment - Plugin issue

Here is my repo: https://github.com/bradmartin/nativescript-color-picker
I understand the fragment piece with Android and not having the Support FragmentManager which this plugin expects. What I don't understand is how this worked with NS 1.6 (or 1.7). I wasn't making a plugin at that time, I just added the dependency via gradle and called it directly just to show it off. I can't get the code from that app (still installed on my phone) because I had livesynced another demo and it overwrote the code but the dialog is still working. I extracted the .apk and inspected the source and it's not there. So at any rate, just wondering if there is any work around to get this working again. Really want to get the plugin shipped :+1:  Any tips or explanation on what changed to where this won't work anymore, possible work around?
This was recorded from the actual working project I created with 1.6 (or 1.7, don't remember).

We haven't changed the java classes from standard to support, so the only way this could have been working for you back then is if the library that you had been using was itself using non-support classes. After a little research and digging I can confirm that that was indeed the case - https://github.com/MrBIMC/VintageChroma/blob/1.1/library/src/main/java/com/pavelsikun/vintagechroma/ChromaDialog.java (release 1.1, March 30) at that time the author was still using app.DialogFragment vs support.v4.app.DialogFragment (release 1.5, Apr 5).
As for the workaround - you can extend any classes, so I imagine that you should be able to extend an activity to FragmentActivity (https://github.com/NativeScript/android-runtime/issues/283) and use it instead of the in-house one we provide. That however would work when using it in your project and not separately as a plugin.
I would suggest you make a PR/open an issue in the library author's Github.

@pip3r4o - can't believe I overlooked a change like that :/ thanks for pointing it out. I'll just go back to the older one for this library for now. Thanks again

@bradmartin you can also clone the current version and revert just that change and make your cocoapod point to your repo...  I did this with the websockets plugin as the author wasn't doing much support on it when I started using it and I had a number of bugs and changes that needed to be done in the release.


Add a summary section in cventry(shown before bulleted list)

I needed to include a summary section in work experience before bullet points. Hope It can be useful for others as well. Visual changes can be seen in cv.pdf and resume.pdf experience section.
This solves the issue https://github.com/posquit0/Awesome-CV/issues/121

awesome thanks man

Seems to be broken in the latest master.

first of all thanks a lot for your support and contribution. I tried and managed to add summary part. However, I recognized that summary section has a different font(probably latex's default one). How can I change its font to the original CV style? thanks in advance.


Display error message when viewing model/design/report before pipeline has run

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1873
Originally created by @DouweM on 2020-03-19 22:42:01

This currently results in a 500 error.

View 2 previous comments from the original issue on GitLab


Upgrade spring version

Codecov Report

Merging #12797 (adf2777) into 3.3 (80d496c) will decrease coverage by 0.02%.
Report is 22 commits behind head on 3.3.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.3   #12797      +/-   ##
============================================
- Coverage     68.11%   68.09%   -0.02%
  Complexity        6        6
============================================
  Files          1703     1703
  Lines         70133    70167      +34
  Branches      10175    10182       +7
============================================
+ Hits          47768    47780      +12
- Misses        17719    17731      +12
- Partials       4646     4656      +10

see 36 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat(java): add LanceOperation, commitAppend for batch write

Add LanceOperation, Add commit for Append Operation.
Pass Fragment as JSON string between Rust/Java.

@eddyxu @beinan PTAL, thanks!

@eddyxu Addressed the comments, PTAL


@scope options don't match the documentation

Describe the bug

Documentation for @scope says that there are four possible options for lifecycle  however, TS gives us only  two.
// scoped.d.ts
export default function scoped<T>(lifecycle: Lifecycle.ContainerScoped | Lifecycle.ResolutionScoped, token?: InjectionToken<T>): (target: constructor<T>) => void;

Expected behavior

I expect all four versions to be available.
Other options are very convenient. For example, I have a hybrid app, and on the server, I need a new instance every time, but in the browser, I need a singleton.
@scoped(type of window === 'undefined' ? Lifecycle.Transient : Lifecycle.Singleton)

Version:
4.5.0

Is this still awaiting triage? Isn't this a bug? Or is "By Design" supporting only these two scopes?

How is this still an issue?


grafana issue postgresql_details.json

It seems there is a small issue with postgresql_details.json.
dbname=~ should be used to replace datname=~.
Below is what I changed
"expr": "sum(irate(ccp_stat_database_xact_commit{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m])) + sum(irate(ccp_stat_database_xact_rollback{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(irate(ccp_pg_stat_statements_total_calls_count{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(irate(ccp_stat_database_tup_fetched{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(irate(ccp_stat_database_tup_inserted{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(irate(ccp_stat_database_tup_updated{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(irate(ccp_stat_database_tup_deleted{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(irate(ccp_stat_database_tup_returned{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(rate(ccp_stat_database_deadlocks{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(rate(ccp_stat_database_conflicts{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(irate(ccp_stat_database_xact_commit{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum(irate(ccp_stat_database_xact_rollback{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\"}[5m]))",
"expr": "sum by (mode) (ccp_locks_count{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\",mode=\"accessexclusivelock\"})",
"expr": "sum by (mode) (ccp_locks_count{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\",mode=\"exclusivelock\"})",
"expr": "sum by (mode) (ccp_locks_count{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\",mode=\"rowexclusivelock\"})",
"expr": "sum by (mode) (ccp_locks_count{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\",mode=\"sharerowexclusivelock\"})",
"expr": "sum by (mode) (ccp_locks_count{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\",mode=\"shareupdateexclusivelock\"})",
"expr": "sum by (mode) (ccp_locks_count{pg_cluster=\"[[cluster]]\",pod=~\"[[pod]]\",dbname=~\"[[datname]]\",mode=\"accesssharelock\"})",

Oh, thanks @Eric-zch, I'm looking into that now and opened a PR for upstream pgmonitor (from where we pull these dashboards, etc.)

Hey @Eric-zch, how are you installing the monitoring stack? I ask because I updated the dashboard in this repo (in the devel branch currently), so if you're installing directly from here (on that branch) using kustomize, everything should be good. I'm working to get that change merged into our main branch and also working to get the Helm chart updated in our OCI registry, but that might not be soon.
Also, just wanted to say thanks again for raising this issue.


vertical-align ignored

Property is ignored due to the display. With display: block, vertical-align should not be used.

From MDN:

Applies to inline-level and table-cell elements. It also applies to ::first-letter and ::first-line.

This is inspired by this rule from CSS Remedy:
https://github.com/mozdevs/cssremedy/blob/master/css/remedy.css#L56-L65
The idea is that if someone adds the inline-block class to one of those elements, they will be aligned in a less annoying way.
Not changing this as it's a breaking change, thanks though!


feat: OPTIC-176: Updates to support soft deletion on LS

This PR contains an update to the organizations API and users API to support soft-delete of users in LS.

The organization page was displaying deleted users (as only the LSE organizations api had been update).  This change explicitly filters out deleted users in the organizations page.
LS uses a different endpoint to fetch users in the Data Manager page so the changes to support returning all users only existed on LSE (via the members api) while for LS all users must also be returned in the users api.

PR fulfills these requirements

[ ] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[ ] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[ ] Backend (Database)
[ ] Backend (API)
[ ] Frontend

Describe the reason for change
(link to issue, supportive screenshots etc.)
What does this fix?
(if this is a bug fix)
What is the new behavior?
(if this is a breaking or feature change)
What is the current behavior?
(if this is a breaking or feature change)
What libraries were added/updated?
(list all with version changes)
Does this change affect performance?
(if so describe the impacts positive or negative)
Does this change affect security?
(if so describe the impacts positive or negative)
What alternative approaches were there?
(briefly list any if applicable)
What feature flags were used to cover this change?
(briefly list any if applicable)
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[ ] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[ ] e2e
[ ] integration
[ ] unit

Which logical domain(s) does this change affect?
(for bug fixes/features, be as precise as possible. ex. Authentication, Annotation History, Review Stream etc.)

/git merge develop


How to use actions buttons?

Hello,
Is it possible to add actions to the notification?
Add a "accept" and "decline" button to it with some action behind it?
ref:
https://firebase.googleblog.com/2018/05/web-notifications-api-support-now.html
Greetings

I can't confirm that it works, but you could try by adding the described payload from the article as a platform specific config to the message (https://firebase-php.readthedocs.io/en/5.8.1/cloud-messaging.html#webpush)
If the message goes through, Firebase has accepted it and you should be able to act on it in your web application.


CRYPTO80:Fix the PMD error

fix the pmd error

Thank @JkSelf for your contribution!

Thanks @sundapeng  comment. I have fixed.

+1, Thank @JkSelf for your contribution.

Committed, thank @JkSelf


Icon request: Caixa

URL of the site or app (required): https://www.caixa.gov.br
Logo resources for the icon (optional): https://seeklogo.com/vector-logo/24768/caixa-economica-federal (double-check logo color)

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Caixa.svg

❓ How to add icon(s) to Aegis?
⭐ Support this project by giving a star! Just adding like to this comment is also appreciated.


Tab navigation

Summary | Résumé
Tabs component available. Needs a <nav> so we'll need to update some templates as we go to set it up within a <nav> container and give it a proper label.

There seems to be a lot more than just tabs navigation in this PR. Can you explain what is happening in the PR description?

@ethanWallace Added a bunch of comments and a bit more description about the whats happening with the blocks. otherwise this is just css, and some frontmatter/content changes on token pages. should I split it in 2 PRs?


[gardening] Fix recently introduced typo: "acutall" → "actual"

What's in this pull request?
Fix recently introduced typo: "acutall" → "actual"
Resolved bug number: –

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test and merge


Add Japanese

KDK sent me the translations on Twitter.

I believe this is no longer valid with v2.


Show cEUR balance & exchange rate

Description

If the user has a cEUR balance, they can now see it in the side menu.
Note: This PR requires the changes in https://github.com/celo-org/wallet/pull/259 to be deployed to work since we're querying the local currency exchange rates from there. They are deployed in alfajores atm.
There are many renaming changes (see Other changes) which might make reviewing difficult. Sorry about that :/ The files with significant changes are:
New currencies file:
packages/mobile/src/utils/currencies.ts

Fetching and exposing balance and exchange rate:
packages/mobile/src/localCurrency/ directory
packages/mobile/src/stableToken/ directory
packages/mobile/src/tokens/saga.ts

Showing the balance in the side menu:
packages/mobile/src/navigator/DrawerNavigator.tsx
packages/mobile/src/navigator/BalancesDisplay.tsx

Showing amounts correctly when displaying:
packages/mobile/src/components/CurrencyDisplay.tsx
packages/mobile/src/components/TotalLineItem.tsx

Other changes

I copied and adapted the currencies file from contractkit to our codebase and updated it everywhere it was used (that's why there are 130 files changed, most are name changes).

We were using a CURRENCY_ENUM enum from ContractKit. This enum was updated in contractkit but the update with the currency support is not live yet, it is going to be updated in a week or so. It feels wrong for Valora to depend on ContractKit for the currencies it supports, if we wanted to support cXOF for example we shouldn't depend on a ContractKit update. Also, the enum doesn't follow the design guidelines we have (it should be just Currency).

For displaying local currency we now query for the CELO exchange rate from blockchain-api as well. This allows making the code generic for all currencies and not have to have a special case in many places for CELO.

Renamed some other selectors and variables which were referring to Dollars when it should be just stable (and viceversa) or gold where it should be celo. Not everywhere of course.

Tested
Manually and with unit tests.
How others should test
Obtain an account with a cEUR balance and see that the balance shows up in the side menu. Set a different local currency from the Settings menu and check that the exchange rate is correct for all currencies (USD/EUR/CELO).
If you don't have access to cEUR send me your alfajores address and I'll send you some.
Also, some small changes were made in many files related to currency display, so check the transaction detail screens, CELO screens and Send screens to make sure everything is in order.
Related issues

Fixes #211
Fixes #213

Backwards compatibility
N/A

https://valora.testquality.com requirement R44.

Hey @MuckT I have verified this issue using Android internal build V1.16.1 & Test Flight build V1.16.1(67) updated our observation in below sheet.
Sheet Link:

https://docs.google.com/spreadsheets/d/1wYi5kbe_NUXuhc9xtcbT9dtyrVbPXqNBrAETfSx0R58/edit#gid=1471006649&range=O3
Attachments:

cEURBalance.png

SendFlow.mp4

CELOScreenFlow.mp4

Query:

[ ] We have observed some difference in exchange rate for COP, SLL , UGX, NGN this currencies we have added detailed details rate in sheet. Can you please let us know are they expected or we need to raise ticket for same ?

Verified On Devices: Redmi Note 8 (9.0),iPhone SE (14.2)
CC: @gnardini
Thanks..!!


Remove already "removed" FakeBackendV2

Summary
This PR fixes an oversight from #11376 where the FakeBackendV2 base class was removed from the documentation and reported as removed without actually removing the source code for the class (the fact that there were two FakeBackendV2 classes probably didn't help). I'm labeling it as changelog:None because this change doesn't affect the public API.
Details and comments
On hold until a qiskit-experiments release that includes https://github.com/Qiskit-Extensions/qiskit-experiments/commit/428c9bcffe3905f9a7ec689abf57d9c83d80b467. This allow the corresponding qiskit-neko tests to pass.

With https://github.com/Qiskit-Extensions/qiskit-experiments/pull/1420 merged, an on hold be removed?

With Qiskit-Extensions/qiskit-experiments#1420 merged, an on hold be removed?

We would need qiskit-extensions to do a bugfix release so that neko can pull the fix for its test. I'll ping them about it.

The patch release of qiskit-experiments is out! The PR can now be merged.


TODO - update to kops 1.11.0 (k8s 1.11.6)

https://github.com/kubernetes/kops/releases/tag/1.11.0
https://raw.githubusercontent.com/kubernetes/kops/master/channels/stable
recommendedVersion: 1.11.6

it's working now

specify the versions in env.config

Kops 1.11.0 has become the official stable release now
https://github.com/kubernetes/kops/releases/tag/1.11.0
TODO

[ ] check the cluster creation again
[ ] update the README

ref - https://github.com/nwcdlabs/kops-cn/issues/43

I can confirm Kops 1.11.0 with K8s 1.11.6 is working now
pahud:~/environment/kops-cn (master) $ kops version
Version 1.11.0 (git-2c2042465)
pahud:~/environment/kops-cn (master) $ kops  validate cluster
Using cluster from kubectl context: cluster.zhy.k8s.local

Validating cluster cluster.zhy.k8s.local

INSTANCE GROUPS
NAME                    ROLE    MACHINETYPE     MIN     MAX     SUBNETS
master-cn-northwest-1a  Master  t2.medium       1       1       cn-northwest-1a
master-cn-northwest-1b  Master  t2.medium       1       1       cn-northwest-1b
master-cn-northwest-1c  Master  t2.medium       1       1       cn-northwest-1c
nodes                   Node    t2.medium       2       2       cn-northwest-1a,cn-northwest-1b,cn-northwest-1c

NODE STATUS
NAME                                            ROLE    READY
ip-10-0-102-155.cn-northwest-1.compute.internal node    True
ip-10-0-106-47.cn-northwest-1.compute.internal  master  True
ip-10-0-58-25.cn-northwest-1.compute.internal   master  True
ip-10-0-65-94.cn-northwest-1.compute.internal   master  True
ip-10-0-68-102.cn-northwest-1.compute.internal  node    True

Your cluster cluster.zhy.k8s.local is ready
pahud:~/environment/kops-cn (master) $ kubectl get cs
NAME                 STATUS    MESSAGE              ERROR
controller-manager   Healthy   ok
scheduler            Healthy   ok
etcd-1               Healthy   {"health": "true"}
etcd-0               Healthy   {"health": "true"}
pahud:~/environment/kops-cn (master) $ kubectl -n kube-system get po
NAME                                                                     READY     STATUS    RESTARTS   AGE
aws-node-4q7qw                                                           1/1       Running   0          16m
aws-node-6mxqn                                                           1/1       Running   0          16m
aws-node-96xj2                                                           1/1       Running   0          1m
aws-node-h9bf4                                                           1/1       Running   0          16m
aws-node-xbdct                                                           1/1       Running   0          1m
dns-controller-878d5577d-2bctk                                           1/1       Running   0          1m
etcd-server-events-ip-10-0-106-47.cn-northwest-1.compute.internal        1/1       Running   0          15m
etcd-server-events-ip-10-0-58-25.cn-northwest-1.compute.internal         1/1       Running   0          15m
etcd-server-events-ip-10-0-65-94.cn-northwest-1.compute.internal         1/1       Running   0          15m
etcd-server-ip-10-0-106-47.cn-northwest-1.compute.internal               1/1       Running   0          15m
etcd-server-ip-10-0-58-25.cn-northwest-1.compute.internal                1/1       Running   0          15m
etcd-server-ip-10-0-65-94.cn-northwest-1.compute.internal                1/1       Running   0          16m
kube-apiserver-ip-10-0-106-47.cn-northwest-1.compute.internal            1/1       Running   0          15m
kube-apiserver-ip-10-0-58-25.cn-northwest-1.compute.internal             1/1       Running   0          15m
kube-apiserver-ip-10-0-65-94.cn-northwest-1.compute.internal             1/1       Running   0          16m
kube-controller-manager-ip-10-0-106-47.cn-northwest-1.compute.internal   1/1       Running   0          15m
kube-controller-manager-ip-10-0-58-25.cn-northwest-1.compute.internal    1/1       Running   0          16m
kube-controller-manager-ip-10-0-65-94.cn-northwest-1.compute.internal    1/1       Running   0          15m
kube-dns-78c464997c-7mvvf                                                3/3       Running   0          16m
kube-dns-78c464997c-qpl9g                                                3/3       Running   0          1m
kube-dns-autoscaler-565984f9c9-s5k2l                                     1/1       Running   0          16m
kube-proxy-ip-10-0-102-155.cn-northwest-1.compute.internal               1/1       Running   0          57s
kube-proxy-ip-10-0-106-47.cn-northwest-1.compute.internal                1/1       Running   0          15m
kube-proxy-ip-10-0-58-25.cn-northwest-1.compute.internal                 1/1       Running   0          16m
kube-proxy-ip-10-0-65-94.cn-northwest-1.compute.internal                 1/1       Running   0          15m
kube-proxy-ip-10-0-68-102.cn-northwest-1.compute.internal                1/1       Running   0          1m
kube-scheduler-ip-10-0-106-47.cn-northwest-1.compute.internal            1/1       Running   0          15m
kube-scheduler-ip-10-0-58-25.cn-northwest-1.compute.internal             1/1       Running   0          15m
kube-scheduler-ip-10-0-65-94.cn-northwest-1.compute.internal             1/1       Running   0          15m
pahud:~/environment/kops-cn (master) $


Julia As A Service

Cleans up the connection architecture and exposes the client object as a service.
What this means is that if packages want to extend what Juno can do – including by adding new ways of connecting to a client, e.g. over SSH – they can just grab the client object and get on with it. Equally, it might be possible to e.g. implement a profiler as an Atom plugin + Julia package on top of Atom.jl and julia-client.
Couple extras: better error messages, and a command which sends text to Julia's STDIN.

Cc @mdpradeep @nkottary


[How-to guide]: Why do I get a warning that no responses can be found?

We should add a guide to the common problems section to highlight why this is and how to resolve it.

Alternatively, we should consider supporting something like an ~appfolder token that points to the folder where the application is located so that we can point to the empty file we ship with the Developer Proxy rather than looking it up in the current working directory.

I like the use of the AppFolder instead of the extracted directory. Makes it ways easier. How is that affecting multiple "versions" of the proxy running in multiple folders, though?

When specifying file path you could choose to pass either an absolute path, relative to the current working folder, or ~AppFolder which is the default that we'd ship to avoid broken default behavior. Since it's a config setting you can choose how you want the Developer Proxy to work.
Right now we support only the relative path. Absolute and ~AppFolder would be enhancements for future releases.


Share on Instagram stories with stickers  links and tag user

Hey is it possible to share on Instagram a story with stickers  link and tag user ?

nope this feature is not included in this plugin at the moment


Get the build workflow working with Acquia

Summary
This merges the work from @edaemon's branch in RIG-28/implement-cicd and the composer lock updates from my RIG-28/update-lock-file branches and expands the workflow to run through the workflow and successfully deploy to Acquia.
Metadata

Question
Answer

Did you use a meaningful pull request title?
yes

Did you apply meaningful labels to the pull request?
yes

Did you perform a self review first?
yes

Documentation reflects changes?
no

CHANGELOG reflects changes?
yes

Unit/Functional tests reflect changes?
n/a

Did you perform browser testing?
yes

Risk level
Mediua

Relevant links
RIG-28

Concur!
/approved

@ben-hamelin, I made a few modifications to this PR to get things working in ACSF. I've confirmed that sites are installed properly now and have the correct permissions for authentication with Active Directory.

Ok LGTM!
/approved


Make Gradient Clipping an Algorithm

CO-188
Moves all gradient clipping functionality to an algorithm and merges with AGC.

changes algorithms/agc/* to algorithms/gradient_clipping/*
tests/algorithms/test_agc to tests/algorithms/test_gradient_clipping
removes grad_clipping logic from Trainer

Can we fully remove the grad clipping implementation in the trainer? See comments
I removed it everywhere except for in __init__, I just append the GradientClipping algorithm to algorithms if it is specified.
Is it possible to refactor the grad clipping with deepspeed to not use private variables? See comment for a suggested alternative.
We decided to keep as is since deepspeed is such a mess/pain to work with anyway.
Can you take another pass through the docs and docstrings? The formatting on https://mosaicml-composer--1099.com.readthedocs.build/en/1099/api_reference/composer.algorithms.gradient_clipping.gradient_clipping.html#module-composer.algorithms.gradient_clipping.gradient_clipping and https://mosaicml-composer--1099.com.readthedocs.build/en/1099/method_cards/gradient_clipping.html looks a bit off in places.
Will take a look at this tmrw


[capture] Set num_segments to max

If no num_segments is provided in the config file for Husky, the scope driver automatically sets it to num_segments_max.
For WaveRunner, an error is raised if no num_segments max is provided.
Closes #277.

One question: when doing batch-mode captures with CW I've noticed that the API reports to do 1 segment per batch which isn't true. Have you noticed this, too? Do you maybe know how to correct this?

Thanks for having a look into the PR!
Do you mean the following message:
Connected to ChipWhisperer (num_samples: 501, num_samples_actual: 501, num_segments_actual: 1)
If yes, we had this message already before working on this PR.
The reason for this message is that we first configure the ChipWhisperer and in a second step configure the batch mode together with the number of segments. However, the message you are seeing is generated in the first step. So I don't think that there is a way of changing this.

Thanks for having a look into the PR!
Do you mean the following message: Connected to ChipWhisperer (num_samples: 501, num_samples_actual: 501, num_segments_actual: 1) If yes, we had this message already before working on this PR. The reason for this message is that we first configure the ChipWhisperer and in a second step configure the batch mode together with the number of segments. However, the message you are seeing is generated in the first step. So I don't think that there is a way of changing this.

Yes, that's exactly what I meant. Sounds good to me then, thanks for your explanation. :-)


nixos-install: support -j, --cores and --option. Closes #6755

Copied from nixos-rebuild, except I also added the doc in the manpage, stripping some other stuff not needed to know at installation time and hard to xref in docbook.

Fixes #6755, do we want to keep the text about the options at one place?

Nix does keep common options in one place, it could be done I guess.

Btw I'm not sure nixos-rebuild should have the same docs as nixos-install. For example nixos-rebuild should also mention /etc/nix/nix.conf like nix-build does, whereas for nixos-install it would be only burden to read. I'd push this for now.

Merging this for now, another time we can improve making docs more common for nixos tools.


Investigate if GFXRECON_PAGE_GUARD_EXTERNAL_MEMORY can be supported on Linux/Android

Reasoning for this issue:
page_guard is the main bottleneck when GFXR is in track mode. This is because page_guard by default, in order to track memory accesses in mapped device memory regions, allocates a "shadow memory" which returns to the user instead of the real mapped memory. For that reason, even when GFXR is in track mode, all accesses need to go through the page_guard mechanism: shadow memory is read+write protected -> user accesses trigger segmentation faults -> "dirty" regions are memcpyed from/into the real mapped memory. The only part that is skipped is writing the dirty region into the capture file.
This adds a significant overhead while in track mode and it would be nice if it could be eliminated.
Possible solution:
GFXRECON_PAGE_GUARD_EXTERNAL_MEMORY gives the option to eliminate the need of shadow memory.
When this option is enabled, it makes the page guard manager to track memory without using shadow memory but instead work directly on the mapped memory regions.
This depends on the VK_EXT_external_memory_host extension which gives the option to back device memory allocations (vkAllocateMemory) with a host allocated memory.
So, at least in theory, it should be possible to skip entirely the tracking part while GFXR is in track mode.
Currently this option is only available on Windows.
Steps:

Do the wiring to enable this feature on Linux.
If things seem to work then tweak PageGuardManager so that it applies memory protection on tracked memory regions (only PROT_READ in  this case) only in write mode. Otherwise the memory regions do not need to be protected at all (allow both PROT_READ | PROT_WRITE).

I was hopping that VK_EXT_external_memory_host + uffd would work but I couldn't get even vkcube to capture correctly because of device lost errors.


[suggestion] config option to halt tree growth after it is mature (to help on server load)

well as the title says it would be nice to have a config option to stop the server from ticking tree changes an leafs and branches after it gets to the mature state (but it would still drop seeds), this way a forest can grown without much issues with server performance.
technically potion of persistance once tree is mature.
Thanks.

It's something I've thought about.  I'm willing to discuss it.
What about light smothering?  If the Dynamic Leaves blocks are no longer updated then it can't tell if it's in the dark.  How can we flag the Dynamic Leaves blocks as mature when there's no metadata bits left(2 bits for species identification, 2 bits for hydration level)?  We can't really reallocate the metadata because players saved worlds would have ruined trees.  For each metadata bit we allocate we double the blocks that need to be registered.  It could get inconvenient when other modders start using this API to add dynamic trees.  One way around it is that we could add more blocks that are "mature" versions of the Dynamic Leaves blocks.  Not sure if I'm diggin' that solution though.
Can't really replace with Vanilla leaves because they don't fall crush, don't limit mobility, don't drop seeds, and don't light smother.  Though the vanilla leaves could be modified to do that but it's getting into icky nasty code with huge compatibility issues.
Another possibility is to get rid of random ticking in dynamic leaves altogether and store a voxelmap of all the leaves for a tree in a hashmap with the coordinates of the RootyDirtBlock as the key.  When the RootyDirtBlock gets an random tick update it can update a percentage of it's leaves.  Mature RootyDirt could update less often.  Problem: Memory usage, Extra data stored in chunks in a non-standard way.
Yet another possibility.. Same mechanism as above only make the RootyDirtBlock contain a TileEntity with the voxelmap and let it decide when to update the leaves. Problem: Memory Usage.  In 1.7.10 the TileEntity is ticked every game tick. At least in 1.8+ TileEntity ticking is optional.  If the tileentity stores the voxmap data in it's NBT then the data can be tucked away neatly.
None of the solutions really solve the problem that crushed, destroyed, or smothered leaves need to grow back or die in a consistent manner.  This must happen regardless of the tree's maturity level.
I'm willing to hear any ideas because I'd love this to actually be the way it works if it's feasible.

you seem to have though of many ways to do it, but I think you are also overthinking it a little bit, thanks God i'm a programmer as well and I could understand what you were talking about XD.
The point in case is that you want to keep the features of your mod, and try to find a way to improve either memory usage or cpu usage and that is cool, to be honest I would love all my trees to look like the ones you do but I use quite some mods, bop, natura, etc etc... so it looks kind of odd, some are cool some are well normal.
I also use the fast leafs decay or something like that, so ticking of leafs is rather fast (not flickering but it is very often), also there are trees that show up in caves, nether, etc, not very realistic I know, but they add to the feeling of the game mostly, this is not really a simulation, in the end it is just a game so keeping it fun is part of the challenge on every mod, and as you said, some people over extend their mods with features and they end up getting bored of it, so I like you honestly and straight forwardness around that.
So suggestion wise I would say, that without thinking it too much, you could do the following to keep as much as your mod and save some performance:

Break the tree checking in 5 sections, instead of checking every single leaf, so take highest leaf as top side, left most leaf, right most leaf, and so on, as you checking points, to check for updates and light and everything else, all the leafs in that quadrant will behave as this checking point leaf would say. for example, no light on the north control leaf, modify all in the north section based on this so either smothering or grow, no light on the top part, tree starts to die.

Add an option to stop ticking at a tree (regardless of condition), for example after 30 mins, stop ticking a tree, and leave it as it is, this way if you have a not so good server you could stop checking all those things but still keep the cool trees around your server, and if broken drop a bunch of seeds, so you also get the seeds out of it, so if the tree managed to spread in that time cool, and if not, well another tree might take its place trying to grow.

I'd say I'd rather use more memory than CPU time for stuff like this.
I like the idea of having the RootyDirtBlock control the growth of the tree more or less entirely... As it adds just a single ticking block per tree, though... Does the tree fall when the block it is rooted on is broken, or is it just frozen in time in that case?
Sounds like this mod adds a lot of ticking blocks. Luckily doesn't seem to be a problem for my little LAN world 👍
And, as with many other "visual enhancing mods" as I would classify this, it is requiring. Problem is that we hit the server and not the client, I suppose.
Shaders and Better Foliage hits the client quite hard, for a similar effect.

In the latest work on this I have eliminated updateTick() for branches.  This should help immensely.  Also I've redone the Cell Automata for Leaves so it's more optimized and should cause less lag.  I've posted an alpha release on CurseForge if anyone wants to test it.  I know this isn't what you're asking for but it's a step in that direction.

Jomik,
Yes.  The entire tree will fall(harvest) if the root block is broken.  I've recently moved most of the signals and ticking to the root block.  The branches no longer tick.  This will enable features like species that can use the same wood and leaves but grow differently, have different fruit/seeds and whatnot.
Leaves still tick because they need to account for light and hydration on a regular basis.  This will be the case for a while.
All good ideas in this discussion.  Maybe in time we'll get to implement them effectively.


Adding SanitizeImage

This is a port (with modifications) of ValidateImage from FMRIPREP. Modifications to the ValidateImage interface are best viewed using this link https://github.com/poldracklab/niworkflows/compare/132558efe2013588fb2135c464405b16234dd84e...chrisfilo:a9e0d4a4769ddb252d9f99fee6d1930d35a672bf

Sanitizer in action https://github.com/poldracklab/mriqc/pull/687

Fails due to python 2 compatibility. Do we still support python 2?

This is the issue - textwrap.indent was included in python 3.3:
/root/niworkflows/niworkflows/interfaces/utils.py:15: in <module>
    from textwrap import indent
E   ImportError: cannot import name indent

I think we can drop python 2. We were waiting for nipype 2.0 to drop it in niworkflows, but I'd say we should stop that effort. We could also shorten the 2h long builds if we don't test python 2 anymore.

I would not disagree with this.
Best,
Chris
On Feb 13, 2018 7:50 AM, "Chris Markiewicz"<EMAIL_ADDRESS>wrote:

@effigies commented on this pull request.
In niworkflows/interfaces/utils.py
https://github.com/poldracklab/niworkflows/pull/221#discussion_r167907559
:

   # Rows 5-6:

   else:

       affine = img.affine

       img.set_sform(affine, nb.nifti1.xform_codes['scanner'])

       img.set_qform(affine, nb.nifti1.xform_codes['scanner'])

       save_file = True

       warning_txt = 'WARNING - Missing orientation information'

       description = """\

+

Orientation information could not be retrieved from the image header.
The qform and sform matrices have been set to a default, LAS-oriented affine.
Analyses of this dataset MAY BE INVALID.
+
+"""

   if (self.inputs.force_float32 and np.dtype(img.get_data_dtype()).itemsize > 4) or self.inputs.n_volumes_to_discard:

I see now that it's in the description, so that's good. But maybe it'd be
better to rename the variable to be a little more congruent with its
function.
Some options:

max_32bit
disable_64bit
allow_float64 (inverting logic)
allow_64bit (inverting logic)

I don't think any of these are great, but I think they'll reduce the
double-take factor.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/poldracklab/niworkflows/pull/221#discussion_r167907559,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOkp2ZA4BHOgXT6VU4GLeZy3VjFoh6pks5tUa9WgaJpZM4SAyGl
.


Fix xml-test-report: allow proofs to be in nested directories

Currently the --xml-test-report flag will throw an error if the proofs are located in a nested directory. This is due to the line _, contract_name = contract.split('%') in the foundry_to_xml function. Replacing it with _, contract_name = contract.rsplit('%', 1) should solve the problem.

Thanks @JuanCoRo! It looks good, but do you think you can add a test for it? For example, you can add another folder with a test to test-data/foundry-test and include it in test_foundry_xml_report.

Looks like a  few modules are added for contracts
S2KsrcZModcseZModAdd-VERIFICATION
S2KsrcZModcseZModMultiply-VERIFICATION
S2KsrcZModcseZModSub-VERIFICATION
S2KtestZModCSETest-VERIFICATION
S2KlibZModforgeZSubstdZModsrcZModmocksZModMockERC20-VERIFICATION
S2KlibZModforgeZSubstdZModsrcZModmocksZModIERC721TokenReceiver-VERIFICATION
S2KlibZModforgeZSubstdZModsrcZModmocksZModMockERC721-VERIFICATION
S2KsrcZModcseZModUIntBinaryOp-VERIFICATION
S2KsrcZModcseZModUIntUnaryOp-VERIFICATION
S2KtestZModnestedZModAssertNestedTest-VERIFICATION
S2KsrcZModcseZModAddConst-VERIFICATION
S2KsrcZModcseZModIdentity-VERIFICATION
S2KsrcZModcseZModIterate-VERIFICATION
S2KsrcZModcseZModWETH9-VERIFICATION

formatting them:
./src/cse/Add
./src/cse/Multiply
./src/cse/Sub
./test/CSETest
./lib/forgeZSubstd/src/mocks/MockERC20
./lib/forgeZSubstd/src/mocks/IERC721TokenReceiver
./lib/forgeZSubstd/src/mocks/MockERC721
./src/cse/UIntBinaryOp
./src/cse/UIntUnaryOp
./test/nested/AssertNestedTest
./src/cse/AddConst
./src/cse/Identity
./src/cse/Iterate
./src/cse/WETH9

which does not reflect the Solidity file you added.


Restart fails after selecting specific airframe type: Generic Quadrotor X config with mount (e.g. Gimbal)

Hello all,
I just wanted to inform you that QGroundControl (v3.0.2) succesfully flashes PX4 Stack (v 1.5.1dev) to a Pixhawk (PXIMUV2) device, if I select and apply settings for "Generic Quadrotor X config" from airframe type dropdown menu, hardware restarts and QGroundControl can connect again via USB.
But if I select "Generic Quadrotor X config with mount (e.g. Gimbal)" airframe type, Hardware seems to stuck at somewhere, no Buzzer, no connection to QGC, even re-flashing firmware does not effect. (i believe its because of backup and restore of settings).
I flashed Ardupilot stack via Mission Planner and used QGC again to flash PX4 stack again and this time I only selected "Generic Quadrotor X config". It seems everything working for now.
Since I am new to PX4 stack and QGC, I don't know what is failing and causing the issue, how selecting a menu item is affecting hardware?
I can provide logs if someone needed, or reproduce the issue with specific ways if asked. I wish everyone a Happy New Year. Kind regards.

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)


Add support for eslint-plugin-jsx-a11y

https://github.com/jsx-eslint/eslint-plugin-jsx-a11y

eslint-plugin-jsx-a11y is now part of eslint-plugin-next and covered in #263


NAM Keeps Crashing

The Issue
Whenever I try to open the app, it starts initialising (it comes up in task manager briefly and a microphone icon appears showing that nam is using the microphone) but then it crashes without displaying an error. In vsthost, nam will be added to the signal chain, but when I press edit parameters, which will open the nam plugin, it all crashes with an unhandled exception.
To Reproduce
I have no clue, it works on my other computer running Windows 10 Home 64 bit which is confusing.
Expected behavior
It should open nam without crashing.
Desktop (please complete the following information):

OS Windows 10 Pro 64 bit
Plugin version 0.7.5, 0.7.4, 0.7.1, 0.5.6
Standalone and VST3
DAW Reaper, Vsthost

It would also be worth noting that the windows compatibility troubleshooter comes up with the error NeuralAmpModeler_x64 is not compatible when ran.

I tried running it via command prompt and everything ran as usual, but no log was shown in command prompt.
The laptop it works on is a Dell inspiron 15 3567 running Windows 10 home 64 bit
The laptop it doesn't work on is a Dell inspiron 1521 running Windows 10 pro 64 bit
Obviously the Dell 1521 is quite old, but would that really be an issue? Are there hardware requirements I should be aware of?

It seems to only be a problem loading the UI. In reaper, I have managed to load the plugin using their UI (in which I can't load nam models or IRs) but as soon as I try to switch to the nam UI it all crashes.

It might be due to opengl drivers. If you can, update the graphics card driver and try again

Closing this since we haven't heard back


MarginTrade and CloseWithSwap using signatures

Allows to open margin trade positions and close positions with swap using signatures. marginTradeBySig() and closeWithSwapWithSignature() are the two functions that are created.

This PR was required for Limit Orders - Take Profit/Stop Loss functionality. It has been temporarily put on hold. We will proceed with Limit Orders for Swap and Margin trades and hence archiving this.


Why is the project running in index.html in dist and I want to modify the source file what should I do？

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Why is the project running in index.html in dist and I want to modify the source file what should I do？
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
no
💻 Operating System and Arch
windows11
🌐 Browser
edge
🐋 Docker Version
No response
🟩 NodeJS Version
18.16.0

You have to understand and setup the dev environment first:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md

您必须先了解并设置开发环境：https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md
抱歉！我不是学前端对这方面知识很欠缺，我看了还不是很懂，感谢回答


Screen deletion generator

It's too complex and probably impossible to implement in general. Instead IJ Ultimate will help user with refactoring in case of screen deletion


SonOff MiniR3 + SMate on SonoffLAN

Hello,
I want to buy the SonOff Mini R3 and its SMate plugin, but I have not found information about how it works with SonoffLAN, I would like to know if adding the MiniR3 to HA through SonoffLAN will allow me to access the state entities of the auxiliary contacts of the SMate.
Thank you

S-mate is invisible in the integration. It connects locally to any "ewelink remote" compatible switch by scene created in the app. And actually you don't need it to be visible. It's only a transmitter. What do you need the state of it's contacts for?

I have a eweblink-remote E27 smart bulb holder, they won't show up in HA too if I connect those via DualR3?

Don't have this devices, can't help you

I have a ewelink-remote E27 smart bulb holder, they won't show up in HA too if I connect those via DualR3?

Which model is this?

I have a ewelink-remote E27 smart bulb holder, they won't show up in HA too if I connect those via DualR3?

Which model is this?

I have a ewelink-remote E27 smart bulb holder, they won't show up in HA too if I connect those via DualR3?

Which model is this?

AFAIK it always was a WIFI+RF device. Since when it acquired "ewelink remote" connection protocol, so it could be connected to DUAL R3?

I have a ewelink-remote E27 smart bulb holder, they won't show up in HA too if I connect those via DualR3?

Which model is this?

AFAIK it always was a WIFI+RF device. Since when it acquired "ewelink remote" connection protocol, so it could be connected to DUAL R3?

this one is "ewelink remote" only device with no wifi mode.

this one is "ewelink remote" only device with no wifi mode.

How do you know that? Is it mentioned anywhere? I've never seen this, nor is it described anywhere.


feat: add cohere as a provider

This PR adds Cohere as a supported platform for fish-ai. I believe I covered all my bases here (adding a provider seems very plug and play), but please let me know if there are any changes I should make.

Made a small change, can you test again to make sure cohere still works? I'll then merge this PR and create a new tag.
There are some failing tests, but except the DCO they are not related to your changes, and wil be worked on in a separate PR.
Thank you!

Yes, it seems to work perfectly.


Training datasets

Hello,
I am wondering if the training datasets used in the publication (RNAStralign, TR0, and fine-tuning dataset for bpRNA-new) are available? I was able to find the evaluation datasets from Google Drive (https://drive.google.com/drive/folders/143TJDgGqYOhumayiDx7w4XWLDVEOSZ2X) but do not see the training sets.
Also, I am wondering which datasets were used to train ufold_train.pt and ufold_train_alldata.pt?
Thank you so much in advance!

Hi there,
The training dataset we used in the publication can be retrieved from mxfold2 paper(RNAStralign and TR0), you can download that data from its repository, as for the fine-tuning dataset for bpRNA-new, we kept the fasta file after mutating and CD-Hit. You can download that from the google drive link.
As for the ufold_train.pt and ufold_train_alldata.pt, the difference between these two files is the training data. We use all the data including training and testing datasets to train the latter model for future prediction on other sequences. And we also kept the pre-trained model only for training (ufold_train.pt).
Thanks.

Hello there, I have another quick question regarding exactly which datasets were used to train ufold_train.pt.
Was it trained only on TR0 or RNAStralign & TR0? Also, was the provided ufold_train.pt also trained on the fine-tuning dataset for bpRNA-new?

Same question

Hello there, I have another quick question regarding exactly which datasets were used to train ufold_train.pt.
Was it trained only on TR0 or RNAStralign & TR0? Also, was the provided ufold_train.pt also trained on the fine-tuning dataset for bpRNA-new?

I doubt that the author mistoke testing data for training since I can only reach up to 0.5 F1s with TR0 for training and TS0 for testing under same settings with this repo

Hi there,
As illustrated in our paper, we trained the model on TR0 & RNAStralign & augmented mutated dataset for ufold_train.pt. TS0 is only used for training(the dataset we used is the same as MXfold2 and SPOTRNA). So we don't think we mistoke testing data for training. And ufold_train.pt is not trained on the fine-tuning dataset for bpRNA-new dataset, it is designed for fine-tuning for PDB dataset.
Thanks

Hello,
Thank you for your response. Maybe I need to set training epoches larger for better results.

Hi there,
As illustrated in our paper, we trained the model on TR0 & RNAStralign & augmented mutated dataset for ufold_train.pt. TS0 is only used for training(the dataset we used is the same as MXfold2 and SPOTRNA). So we don't think we mistoke testing data for training. And ufold_train.pt is not trained on the fine-tuning dataset for bpRNA-new dataset, it is designed for fine-tuning for PDB dataset.
Thanks

Hi,
Could you share your augmented mutated dataset pickle file?

Hi all @CatIIIIIIII  @sperfu @andrewjjung47 !
I would like to ask if it's possible to share with us the mutated sequence of bpRNA-new that you generated (synthetic/augmented data).
That would be very helpful!
Thanks in advance.
N.

@CatIIIIIIII @sperfu @andrewjjung47
The PDB train set (669 structures), as detailed in the supplementary material, would be very helpful if you could indicate which file/folder it corresponds to.

@CatIIIIIIII @sperfu @andrewjjung47
Update:
PDB train data
hi, I have found the 669 PDB files here: https://bprna.cgrb.oregonstate.edu/index.html
Nonetheless, the .fasta files are just the sequences, there are no contact maps.
Mutated data
merge_allbpnew_mutate.cdhit.fa probably contains the mutated sequences but the targets are missing.


[Feature]: Get isRequired from useField

What is the new or updated feature that you are suggesting?
The useField hook should tell us if the field is optional or not to be able to style the input accordingly.
Why should this feature be included?
Currently, even though required fields are being enforced through the schema, there is no way to know which inputs are actually required other than manually setting required on the inputs which seems like a waste since we're specifying that in the schema.

Hi!
Unfortunately, I don't think this is something we can do. The only way I could think this would work is to inspect the validation schema and that's something I'd like to avoid doing in this library. You might be able to make something like this in userland though if you know how to get that information from zod or yup.


Update gauntlet-map

Refactor code & add new features:
-New overlay map option
-Show fishing spots option
-Show grym leaves option
-Highlight demi boss room node option

Good to know, thanks! First fancy README file I've ever done lol.
I have the images in tags with a set width. Is that still going to be an issue? Also where do you recommend I store the images for the readme?

Just need to put them anywhere outside of the src/ folder, they can be in their own folder like tombs-of-amascut or just in the root like dink whatever you prefer.

A couple things:

You've committed your build/ directory. This doesn't do anything good or bad, but it does clutter up the diff view; I'd recommend adding it to your .gitignore to reduce the size of your repo (and make our lives easier by not needing to collapse/skip so many irrelevant files during review)
You need to remove the map and demiboss overlays on plugin shutDown; presently they are not removed if you turn off your plugin


Adding alonzo genesis files

Updating documentation
Issue
Adds alonzo genesis files to documentation.

Description of the change
Adding the alonzo gensis files as starting the cardano-node didn't work without them.

@Im0 - could you also update the build number to 7370192 as per PR #294 ?

@rdlrt updated.  Thank you for that!


SEO - documentation sitemap missing

Describe the bug
Latest version of the documentation site is missing the sitemap. Without the sitemap the search engine will lower our rank on search results. This is especially true right now while the docs links are pointing to the v1. sub domain.
https://clarity.design/sitemap.xml

I've added this during the latest release.


Tests against dev qiskit fail due to version inconsistancy

Steps to reproduce the problem

run dev test script for repository that has qiskit metapackage in requirements

What is the current behavior?
When dev workflow tries to install qiskit-terra separately pip fails due to version inconsistancy with metapackage.
2021-12-06 15:29:40 ecosystem INFO Successfully installed pbr-5.8.0 qiskit-terra-0.19.0 stevedore-3.5.0
2021-12-06 15:29:40 ecosystem INFO py39 run-test: commands[2] | python -c 'import qiskit; f = open("./terra_version.txt", "w"); f.write(qiskit.__qiskit_version__["qiskit-terra"]); f.close();'
2021-12-06 15:29:42 ecosystem INFO py39 run-test: commands[3] | pip check
2021-12-06 15:29:43 ecosystem INFO qiskit 0.32.1 has requirement qiskit-terra==0.18.3, but you have qiskit-terra 0.19.0.
2021-12-06 15:29:43 ecosystem INFO ERROR: InvocationError for command /home/runner/work/ecosystem/ecosystem/ecosystem/resources/cloned_repo_directory/qiskit-superstaq/py39/bin/pip check (exited with code 1)

What is the expected behavior?
Should not fail

Does the command pip check matter for the dev checks as if the stable check are ok the dev should too ?

@mickahell hm ,probably we do not need pip check and it can possible solve this problem