Define what an "event" is further at the top

The first half of the article talks about events without explaining what events actually are. (I assumed that events are single measurements, which seems to be wrong).
Half way through the article under "Environment planning" it states that:

... an ingressed data packet that has a packet size of 32 KB is treated as 32 events, each 1 KB in size.

So an "event" has nothing to do with the number of measurements that I read from my sensors, but with the packet size divided into 1 KB blocks?
I'm still not sure what events are...

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

ID: 750c5eeb-be8d-a927-7c63-1fbce1e92cc0
Version Independent ID: 6e55272d-b6fa-64df-a7b8-243c28c111bb
Content: Plan your GA environment - Azure Time Series Insights
Content Source: articles/time-series-insights/time-series-insights-environment-planning.md
Service: time-series-insights
GitHub Login: @deepakpalled
Microsoft Alias: dpalled

Thanks for the feedback! We are currently investigating and will update you shortly.

Adding @lyrana for further review and update the doc as appropriate.

Hi @stmax82, we see this issue as well as your other 4 submissions. I first want to underscore that we are listening, even though it might feel like GitHub feedback is a "black-hole," the TSI product team is receiving your feedback.
This sentence is worded incorrectly and has caused confusion. There are many things I want to mention, so I'll leverage this thread to communicate with you while we work on correcting the docs.

This page specifically refers to the V1 version of Azure Time Series Insights--referred to as the "Standard" SKU or S1/S2. In this version, users select a tier and as well as their capacity

When you designate a capacity level, there is both a total events limit, as well as a GB/month limit--and this is evaluated on a "whichever comes first" basis. Thus, a customer sending hundreds of thousands of tiny events of 100 bytes each would be throttled by their # of events/month limit, whereas a different customer sending very few but very large events would be throttled by the latter. I wholeheartedly agree that this document does not correctly convey that.

We are on the same page regarding an "event" --> your sensor or tag measurements, and what we do require is that the TS ID that you configured during environment creation be present in each event payload. Your configured timestamp should be there too, otherwise we will default to the time when the event was enqueued in the hub. There are additional details here that might be of interested to you--certain flattening logic that allows user to batch multiple readings in one JSON object. At the bottom of this thread  is an explanation, and another great example of this batching can be found in Equinor's OmniaPlant repo here. I'm happy to go into more detail if needed.

All of that being said, I see that you've been looking into the Preview version of TSI. There is no such throttling in this SKU. If users ingress at a rate that is over our limits they will observe a minor to significant lag in their environment. This could be a problem--if lag grows significantly such that it is over the configured hub retention time there will be data loss. It's best to configure an alert for the Ingress Received Messages Time Lag metric that we expose.

I'm interested in hearing your scale and throughput requirements?

#please-close

Hi @lyrana,
thanks for looking into these cases.

I first want to underscore that we are listening, even though it might feel like GitHub feedback is a "black-hole," the TSI product team is receiving your feedback.

 It's the best thing added to MS Docs ever.

This version of the product will be GA soon, and anyone considering TSI is recommended to use PAYG rather than V1 since there is no new feature development happening for V1.

Thanks for the confirmation. That was our feeling too and we already decided to drop V1 and concentrate on PAYG.

All of that being said, I see that you've been looking into the Preview version of TSI. There is no such throttling in this SKU.

The article "Plan your Azure Time Series Insights Preview environment" states that "By default, Preview environments support ingress rates up to 1 megabyte per second (MB/s) per environment. Customers may scale their Preview environments up to 16 MB/s throughput if necessary."
One of our tests has shown that a PAYG environment can handle about 6 MB/s for several hours before lag starts to increase. (Was the default ingress rate of 1 MB/s increased?)
We also found that PAYG can handle about 10x more data than a V1 S2x10 units environment (ie. fully maxed out), while costing less. Both were connected to the same IoT Hub through two different consumer groups. This was unexpected. I still believe that there was something wrong with the V1 S2x10 environment, but didn't investigate further due to PAYG becoming the new GA soon anyway.

I'm interested in hearing your scale and throughput requirements?

We're in the process of evaluating different products for storage and analysis of time series data. There are no clear requirements yet though so we're just trying to get a feeling for how much each system can handle, its costs and usability.


load ssd300 snapshot fail: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Hello,
when we tried to load ssd300 snapshot, we saw following problem, any suggestion for this issue? Thanks in advance.
$ python train.py --resume result/snapshot_iter_60000
Traceback (most recent call last):
File "train.py", line 189, in
main()
File "train.py", line 183, in main
serializers.load_npz(args.resume, trainer)
File "/home/mingxiao/pythonenv/py3-intel-chainer/lib/python3.5/site-packages/chainer/serializers/npz.py", line 187, in load_npz
d.load(obj)
File "/home/mingxiao/pythonenv/py3-intel-chainer/lib/python3.5/site-packages/chainer/serializer.py", line 83, in load
obj.serialize(self)
File "/home/mingxiao/pythonenv/py3-intel-chainer/lib/python3.5/site-packages/chainer/training/trainer.py", line 333, in serialize
entry.extension.serialize(s[name])
File "/home/mingxiao/pythonenv/py3-intel-chainer/lib/python3.5/site-packages/chainer/training/extensions/log_report.py", line 124, in serialize
self._log = json.loads(log)
File "/home/mingxiao/.local/lib/python3.5/json/init.py", line 319, in loads
return _default_decoder.decode(s)
File "/home/mingxiao/.local/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/mingxiao/.local/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

thanks.
chainercv commit: [master branch]7c0fb1484e726a5d4512f54883df80b43aa3bbea
chainer version: chainer-4.0.0a1
python version: 3.5.2
no cupy was used, we trained it on cpu.

@fukatani Thanks. We save the snapshot per 10000 iterations,  it is expected that we can resume the test by load the saved snapshot.
I just uploaded one snapshot on https://github.com/mingxiaoh/chainercv/tree/master/examples/ssd/result.

@mingxiaoh I could reproduce the same error using your snapshot.
I found that your snapshot was broken. The following script can fix snapshot. Please try this.
import argparse
import numpy as np

parser = argparse.ArgumentParser()
parser.add_argument('snapshot')
args = parser.parse_args()

snapshot = dict(np.load(args.snapshot))

key = 'extensions/LogReport/_log'
snapshot[key] = np.asarray(np.asscalar(snapshot[key]).decode())

with open(args.snapshot, mode='wb') as f:
    np.savez_compressed(f, **snapshot)

I will investigate why the snapshot was broken.

@Hakuyume thanks.

Since I could not reproduce the issue in my environment, I close this issue.
@mingxiaoh If the same error occurs again, please reopen.


fix: bump min cdk version to 2.28.0 to use node 14

As node12 runtime has been deprecated, the integration test using<EMAIL_ADDRESS>synthesizes the custom resource provider with runtime node12 which fails the deployment. We should use nodejs14 instead. And the minimal CDK release for node14 custom resource runtime is 2.28.0.
update contributing guide to execute the command with npx projen to avoid confusion.
generate .gitpod.yml from projen to use the jsii/superchain container image that comes with everything required to run the yarn build.

@kaizencc  please take a look again.

@mergifyio backport kubectl-v22/main

@mergifyio backport kubectl-v22/main

@Mergifyio copy kubectl-v21/main kubectl-v22/main

@mergifyio copy kubectl-v21/main kubectl-v22/main


[Feature] Add an OrToIn expr rewrite rule.

Proposed changes
Add an OrToIn expr rewrite rule.
Detail: #7120
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)
[ ] Optimization. Including functional usability improvements and performance improvements.
[ ] Dependency. Such as changes related to third-party components.
[ ] Other.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have created an issue on (Fix #7120) and described the bug/feature there in detail
[x] Compiling and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[ ] Any dependent changes have been merged

Further comments

Hi~ I think we can add rewrite rule in the same java file, because they both belong to Predicate 'OR' rewrite.
fe/fe-core/src/main/java/org/apache/doris/rewrite/CompoundPredicateWriteRule.java
related pr: https://github.com/apache/incubator-doris/pull/6518

It's been a while.
I will review this PR this weekend.
Thanks for contribution❤.

This PR has not been updated for a long time.
There could be many reasons.
If it's caused by there are no maintainers to push or ignore this PR, I'm sorry.
If you contact maintainer or want to continue this PR, feel free to @me or @other maintainers.


"The given ColumnMapping does not match up with any column in the source or destination" - When using GetDataTable

First i was receiving this exception

NotSupportedException: DataSet does not support System.Nullable<>.
Module "System.Data.DataColumn", line 164, col 0, in .ctor
Void .ctor(System.String, System.Type, System.String, System.Data.MappingType)
Module "System.Data.DataColumnCollection", line 8, col 0, in Add
System.Data.DataColumn Add(System.String, System.Type)
File "C:\Users\tom.adams\Source\Repos\EFCore.BulkExtensions\EFCore.BulkExtensions\SqlBulkOperation.cs", line 175, col 21, in GetDataTable
System.Data.DataTable GetDataTable[T](Microsoft.EntityFrameworkCore.DbContext, System.Collections.Generic.IList`1[T])
File "C:\Users\tom.adams\Source\Repos\EFCore.BulkExtensions\EFCore.BulkExtensions\SqlBulkOperation.cs", line 75, col 25, in MoveNext
Void MoveNext()
Module "System.Runtime.ExceptionServices.ExceptionDispatchInfo", line 12, col 0, in Throw
Void Throw()
Module "System.Runtime.CompilerServices.TaskAwaiter", line 46, col 0, in HandleNonSuccessAndDebuggerNotification
Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)

Which seems to be caused by this line and the column was of type DateTime?https://github.com/borisdj/EFCore.BulkExtensions/blob/275155dea39249fd76aef16a2e86c1f6389fc50e/EFCore.BulkExtensions/SqlBulkOperation.cs#L175
i managed to solve this by changing the line to
dataTable.Columns.Add(columnName, Nullable.GetUnderlyingType(property.PropertyType) ?? property.PropertyType);
But then it throws this exception

System.InvalidOperationException: The given ColumnMapping does not match up with any column in the source or destination.
at System.Data.SqlClient.SqlBulkCopy.AnalyzeTargetAndCreateUpdateBulkCommand(BulkCopySimpleResultSet internalResults)
at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource1 source) --- End of stack trace from previous location where exception was thrown ---    at EFCore.BulkExtensions.SqlBulkOperation.InsertAsync[T](DbContext context, IList1 entities, TableInfo tableInfo, Action`1 progress) in C:\Users\tom.adams\Source\Repos\EFCore.BulkExtensions\EFCore.BulkExtensions\SqlBulkOperation.cs:line 78

On this line https://github.com/borisdj/EFCore.BulkExtensions/blob/275155dea39249fd76aef16a2e86c1f6389fc50e/EFCore.BulkExtensions/SqlBulkOperation.cs#L76
Any ideas what could be causing this?

Are columns in db table in same order as their Properties in Entity?
This is required when having OwnedType, and it is described in README:
It also maps OwnedTypes, but when that is used it will work only if Properties of Entity are in the same order as DbColumns, because this is implemented with DataTable class.

I have done some more test and have reproduced the issue even with correct order of Properties.
So it's a bug regarding NullableTypes that you have correctly found part of fix.
The same fix done in line 175 have to be done also in line 205.
I will soon publish new NuGet version with this fix.

NuGet 2.1.4 published.

@borisdj Thanks for that! is it possible we can reopen this issue?
I've updated the properties in the class to be the same order as what is in the database, however i'm still getting this exception.
I've placed a breakpoint in the GetDataTable<T> method and manually iterated the properties foreach loop and they seem to match up with the order that is in the db table. Is there anyway to dump the Column Mappings that you know of or is there anyway i can debug this further?
Also, i'm assuming the Include/Exclude properties options of the BulkConfig are ignored when using OwnedTypes?

Did you try with 2.1.4 Nuget?
If you still have error with that version than you can reopen the issue and add code of entity class where it happens.
Regarding Include/Exclude properties they should work even with OwnedTypes.

Yeah thats with the latest NuGet package.
The exception  NotSupportedException: DataSet does not support System.Nullable<>. is gone, but the original The given ColumnMapping does not match up with any column in the source or destination exception still remains.
I don't have the ability to reopen issues so shall i just post a new one with the class details?

Issue Reopened

Ok, so here are the classes. It's quite a deep graph however the only classes i am interested in Adding/Updating are the CentraStageDevice, CentraStageDeviceType, CentraStageDeviceUdf. The other collection properties i.e CentraStageDeviceLogicalDisk and Added/Updated separately.
Base Class
    [JsonConverter(typeof(CentraStageDeviceBaseConverter))]
    public abstract class CentraStageDeviceBase : Entity<long>
    {
        public bool A64Bit { get; set; }
        public string CagVersion { get; set; }

        [JsonConverter(typeof(EpochConverter))]
        public DateTime CreationDate { get; set; }

        public bool Deleted { get; set; }
        public string Description { get; set; }
        public string DeviceClass { get; set; }

        [JsonIgnore]
        public CentraStageDeviceType DeviceType { get; set; } = new CentraStageDeviceType();

        [JsonIgnore]
        public string Category { get;set; }

        [JsonIgnore]
        public string Type {get; set; }

        public string DisplayVersion { get; set; }
        public string Domain { get; set; }
        public string ExtIpAddress { get; set; }
        public string Hostname { get; set; }
        public string IntIpAddress { get; set; }

        [JsonConverter(typeof(EpochConverter))]
        public DateTime? LastAuditDate { get; set; }

        public string LastLoggedInUser { get; set; }

        [JsonConverter(typeof(EpochConverter))]
        public DateTime? LastReboot { get; set; }

        [JsonConverter(typeof(EpochConverter))]
        public DateTime? LastSeen { get; set; }

        public bool Online { get; set; }
        public string OperatingSystem { get; set; }
        public string PortalUrl { get; set; }
        public bool RebootRequired { get; set; }
        public virtual CentraStageSite Site { get; set; }
        public int SiteId { get; set; }
        public string SiteName { get; set; }
        public string SiteUid { get; set; }
        public bool SnmpEnabled { get; set; }
        public bool Suspended { get; set; }
        public CentraStageDeviceUdf Udf { get; set; }
        public string Uid { get; set; }
    }

Derived Class
    [JsonConverter(typeof(CentraStageDeviceBaseConverter))]
    public class CentraStageDevice : CentraStageDeviceBase
    {
        public virtual ICollection<CentraStageDeviceLogicalDisk> LogicalDisks { get; set; }
        public virtual ICollection<CentraStageDeviceSoftware> Software { get; set; }
        public virtual CentraStageDeviceSystemInfo SystemInfo { get; set; }

        // some methods
    }

Column Order
SELECT [Id]
      ,[A64Bit]
      ,[CagVersion]
      ,[CreationDate]
      ,[Deleted]
      ,[Description]
      ,[DeviceClass]
      ,[DisplayVersion]
      ,[Domain]
      ,[ExtIpAddress]
      ,[Hostname]
      ,[IntIpAddress]
      ,[LastAuditDate]
      ,[LastLoggedInUser]
      ,[LastReboot]
      ,[LastSeen]
      ,[Online]
      ,[OperatingSystem]
      ,[PortalUrl]
      ,[RebootRequired]
      ,[SiteId]
      ,[SiteName]
      ,[SiteUid]
      ,[SnmpEnabled]
      ,[Suspended]
      ,[Uid]
      ,[Category]
      ,[Type]
      ,[Udf_Udf1]
      ,[Udf_Udf10]
      ,[Udf_Udf2]
      ,[Udf_Udf3]
      ,[Udf_Udf4]
      ,[Udf_Udf5]
      ,[Udf_Udf6]
      ,[Udf_Udf7]
      ,[Udf_Udf8]
      ,[Udf_Udf9]
  FROM [PortalCore].[dbo].[CentraStageDevices]

EF Core Configuration
    public class CentraStageDeviceBaseConfiguration : IEntityTypeConfiguration<CentraStageDeviceBase>
    {
        public void Configure(EntityTypeBuilder<CentraStageDeviceBase> builder)
        {
            builder
                .Ignore(p => p.DeviceType);

            builder
                .OwnsOne(p => p.Udf);

            builder
                .ToTable("CentraStageDevices")
                .HasDiscriminator<string>("DeviceClass")
                .HasValue<CentraStageDevice>("device")
                .HasValue<CentraStageEsxiHost>("esxihost")
                .HasValue<CentraStagePrinter>("printer");
        }
    }

    public class CentraStageDeviceConfiguration : IEntityTypeConfiguration<CentraStageDevice>
    {
        public void Configure(EntityTypeBuilder<CentraStageDevice> builder)
        {
            builder
                .Property(p => p.Id)
                .ValueGeneratedNever();

            builder
                .HasBaseType<CentraStageDeviceBase>();

            builder
                .HasMany(p => p.Software)
                .WithOne(c => c.Device)
                .HasForeignKey(c => c.DeviceId);

            builder
                .HasMany(p => p.LogicalDisks)
                .WithOne(c => c.Device)
                .HasForeignKey(c => c.DeviceId);

            builder
                .HasOne(p => p.SystemInfo)
                .WithOne(c => c.Device)
                .HasForeignKey<CentraStageDeviceSystemInfo>(c => c.DeviceId);

            builder
                .HasIndex(p => p.Uid);
        }
    }

As you can probably tell from the class definition, there are a lot more classes that i haven't included just for brevity, but if you want them then just let me know.
So essentially when the BulkInsertOrUpdateAsync method is called, it is receiving a collection of CentraStageDevice.
I also tried using the PropertiesToInclude option in the bulk config and just including the Id column, but this failed with the same error.

You have here pretty complex composition.
Anyway I have added this into Test of the library and simplified it a little bit by reducing number of properties but still kept all special elements and structure. Some configuration is done with Annotations.
Then I have found 2 problem and a way to fix them.
First issue was when 'CentraStageDevice' is derived from 'CentraStageDeviceBase' on creating databse columns of that table were not in proper order.
This is some EFCore issue.
So I have commented CentraStageDevice and renamed CentraStageDeviceBase to CentraStageDevice, effectively eliminating inheritance. Then I have created DB and after that resoterd inheritance structure.
Second issue is with inheritance :Entity<long> where PK Id when is in Parent class Entity will be at end of list of entites and in Db Column is first one so there there will be order mismatch.
Therefor I have removed that inheritance and add Id directly in class:
public long Id { get; set; }
This is the code:
public class TestContext : DbContext
{
    // ...

    public DbSet<CentraStageDevice> CentraStageDevices { get; set; }
    public DbSet<CentraStageDeviceLogicalDisk> CentraStageDeviceLogicalDisks { get; set; }
    public DbSet<CentraStageDeviceSystemInfo> CentraStageDeviceSystemInfos { get; set; }
    public DbSet<CentraStageDeviceType> CentraStageDeviceTypes { get; set; }
    public DbSet<CentraStageSite> CentraStageSites { get; set; }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        // ...

        modelBuilder.Entity<CentraStageDevice>()
            .ToTable("CentraStageDevice")
            .HasDiscriminator<string>("DeviceClass")
            .HasValue<CentraStageDevice>("device");

        modelBuilder.Entity<CentraStageDevice>().HasMany(p => p.LogicalDisks)
            .WithOne(c => c.Device)
            .HasForeignKey(c => c.DeviceId);

        modelBuilder.Entity<CentraStageDevice>()
            .HasOne(p => p.SystemInfo)
            .WithOne(c => c.Device)
            .HasForeignKey<CentraStageDeviceSystemInfo>(c => c.DeviceId);

        modelBuilder.Entity<CentraStageDevice>()
            .HasIndex(p => p.Uid);
    }
}

public class CentraStageDeviceLogicalDisk
{
    public int Id { get; set; }
    public string LogicalDisk { get; set; }

    public CentraStageDevice Device { get; set; }
    public long DeviceId { get; set; }
}

public class CentraStageDeviceSystemInfo
{
    public int Id { get; set; }
    public string SystemInfo { get; set; }

    public CentraStageDevice Device { get; set; }
    public long DeviceId { get; set; }
}

public class CentraStageDeviceType
{
    public int Id { get; set; }
    public string DeviceType { get; set; }
}

public class CentraStageSite
{
    public int Id { get; set; }
    public string Site { get; set; }
}

[Owned]
public class CentraStageDeviceUdf
{
    public string Udf1 { get; set; }
    public string Udf2 { get; set; }
}

public class CentraStageDevice : CentraStageDeviceBase
{
    public virtual ICollection<CentraStageDeviceLogicalDisk> LogicalDisks { get; set; }
    public virtual CentraStageDeviceSystemInfo SystemInfo { get; set; }
}

/*public abstract class Entity<T>
{
    [DatabaseGenerated(DatabaseGeneratedOption.None)]
    public T Id { get; set; }
}*/

public abstract class CentraStageDeviceBase// : Entity<long>
//public class CentraStageDevice
{
    [DatabaseGenerated(DatabaseGeneratedOption.None)]
    public long Id { get; set; }

    public bool A64Bit { get; set; }
    public string CagVersion { get; set; }

    public string DeviceClass { get; set; }

    [NotMapped]
    public CentraStageDeviceType DeviceType { get; set; } = new CentraStageDeviceType();

    public virtual CentraStageSite Site { get; set; }
    public int? SiteId { get; set; }

    public CentraStageDeviceUdf Udf { get; set; }

    public string Uid { get; set; }

    // Was added here initialy when D
    //public virtual ICollection<CentraStageDeviceLogicalDisk> LogicalDisks { get; set; }
    //public virtual CentraStageDeviceSystemInfo SystemInfo { get; set; }
}

I'm having this same issue, only my  model is not very complex.  I'm simply trying to use BulkInsert as described in the documentation.
Is the navigation property an issue?

    public class CostingAllocationDetailAmount
    {
        [Key]
        public int CostingAllocationDetailAmountId { get; set; }
        public int CostingAllocationDetailId { get; set; }
        public DateTime DistributedWorkPeriodStartDate { get; set; }
        public DateTime DistributedWorkPeriodEndDate { get; set; }
        public decimal Pay { get; set; }
        public decimal Longevity { get; set; }
        public decimal BenefitsEarningsWithLongevity { get; set; }
        public decimal Retirement { get; set; }
        public decimal PreTaxEarnings { get; set; }
        public decimal GIPAmount { get; set; }
        public decimal OASIAmount { get; set; }
        public decimal OAHIAmount { get; set; }
        public decimal WCIAmount { get; set; }
        public decimal UCIAmount { get; set; }
        public decimal ACAPTaxAmount { get; set; }
        public decimal MeritAmount { get; set; }
        public decimal PromotionAmount { get; set; }
        public decimal AdditionalAdjustmentAmount { get; set; }
        public decimal CurrentFteMonthlyRate { get; set; }
        public decimal CurrentFteSourceAmount { get; set; }
        public decimal AnnualWorkPeriodMultiplier { get; set; }
        public decimal TotalRateAdjustmentAmount { get; set; }
        public decimal IntervalPercentOfAnnualWorkPeriod { get; set; }

        [ForeignKey(nameof(CostingAllocationDetailId))]
        public virtual CostingAllocationDetail Detail { get; set; }
    }
}
``

I have added you model in Test (just reduced number of decimal Properties) and ti works fine.
public class TestContext : DbContext
{
    public DbSet<CostingAllocationDetailAmount> CostingAllocationDetailAmounts { get; set; }
    public DbSet<CostingAllocationDetail> CostingAllocationDetails { get; set; }
}

public class CostingAllocationDetailAmount
{
    [Key]
    public int CostingAllocationDetailAmountId { get; set; }

    public int CostingAllocationDetailId { get; set; }

    public DateTime DistributedWorkPeriodStartDate { get; set; }
    public DateTime DistributedWorkPeriodEndDate { get; set; }

    public decimal Pay { get; set; }
    public decimal Longevity { get; set; }

    [ForeignKey(nameof(CostingAllocationDetailId))]
    public virtual CostingAllocationDetail Detail { get; set; }
}

public class CostingAllocationDetail
{
    public int CostingAllocationDetailId { get; set; }
    public string Name { get; set; }
}

private void RunInsert(bool isBulkOperation)
{
    using (var context = new TestContext(ContextUtil.GetOptions()))
    {
        var entities = new List<CostingAllocationDetailAmount>();
        for (int i = 1; i < EntitiesNumber; i++)
        {
            var entity = new CostingAllocationDetailAmount
            {
                CostingAllocationDetailId = 1,
                DistributedWorkPeriodStartDate = DateTime.Now,
                DistributedWorkPeriodEndDate = DateTime.Now,
                Pay = 10.0m,
                Longevity = 20.0m,
            };
            entities.Add(entity);
        }

        using (var transaction = context.Database.BeginTransaction())
        {
            context.BulkInsert(entities);
            transaction.Commit();
        }
    }
}

Please reproduce it in Test and write entire code of it.

@borisdj Thank you for the response.  Actually I found out the problem.  The issue was due to case sensitivity.
For instance my public int CostingAllocationDetailAmountId { get; set; } property in the database is actually named CostingAllocationDetailAmountID.  Note the capitalized "D".  I had to annotate my model like so:
[Column("CostingAllocationDetailAmountID")]
public int CostingAllocationDetailAmountId { get; set; }

However, Entity Framework does not seem to care that the property names are different.  Is there any way to configure BulkExtensions to work like EF, and to ignore case sensitivity?

This is underlying SqlBulkCopy limitation, not BulkExtensions's, so you need to specify column names in your mapping properly if you want to use them with bulk copy

But it is probably best to clarify that it is not "improper", according to EF, to specify property names with different casing than your SQL table columns.
In addition, it is unknown to the user what the underlying technology the extension is using -- he/she only knows that it is supposed to work with EF and most likely expects it to work seamlessly with standard EF conventions.
That being the case, is this limitation documented anywhere?  I'd suggest that it at least be prominent in the "getting started" sections of the docs.

EF works with SQL and MSSQL parses it using master database collation, which is usually case-insensitive. If you will configure your server to use case-sensitive collation on master - it will also break for EF if names in your mappings doesn't match database names.
BulkCopy is a bit different mechanism and it is implemented to be case-sensitive and nothing could be changed here

Ah, that actually makes a lot of sense now.  Thanks for the clarification!


The vocabulary in training and testing

Hi,
Suppose I have pre-trained an ELMo model with a large corpus and its corresponding vocabulary, and next I want to run usage_cached.py to dump the embeddings of a new and small dataset.
My question is that, during dumping, should I use the vocabulary of the original large corpus, or just build a small vocabulary of the new dataset?

You can use a smaller vocabulary for the new dataset, assuming it includes all of the unique tokens in that dataset.


Reload Outside PlayMode in 2022.3.81f Not Working!

Hi if you'd like that to be looked at we'd need some more details.

Is the fresh demo project working?
Did you managed to get it working in different Unity version?
Can you send a recording with editor opened


[GRMP-56] Systest Failure: 'test_chunked_download'.

Addresses GRMP-56

fix syntax error, Due to system tests  run with different versions of python

Yes test_chunk_download  system test pass and it doesn't affect other testcases , though others also fails in master branch adn for that i found separate task.

The problem is from the  back-end side  that header is missing which i mentioned earlier and the solution which @tseaver  is asking for that i have implemented in PR85. May be he also need some clarification on that. response.raw which he wants to implement that i have done in _write_to_stream method  and already tested in system test.

Since we have an open public PR, I'm closing this one.

Closed by mistake. Reopening.

The problem is from the back-end side that header is missing which i mentioned earlier and the solution which @tseaver is asking for that i have implemented in Public Pull Request 85 .Need some clarification on response.raw which he wants to implement that i have done in _write_to_stream method and already tested in system test.

I'd consult @tseaver about it.


Set up CI with Azure Pipelines

TODO:

[x] port release infra to azure (TRAVIS_* env vars in scripts/release, replace travis-sphinx in docs-deploy w/ something else)
[x] add windows and mac os to testing matrix
[x] add docker-compose based tests
[x] Fix Python 3.8 tests on Windows

Maybe postpone these to later:

[ ] finish setting up local Agent for tests w/ dataset access
[ ] add "release" information (continuous, rc, stable release; which version? etc.) as environment variables to all ci steps, and make it available as environment variables for running tests. could be (ab)used to xfail/skip known flaky tests
[ ] Add packaging secrets as variables, making sure they are only available in the right context

Including in 0.6 milestone since organization page and Python 3.8 tests depend on this.

This now hit a race condition (https://github.com/dask/distributed/issues/3969) which should be fixed in the next distributed version

Discussion with @sk1p: Bump priority since travis-ci will limit access for open source projects: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing

I've squashed it since it had a number of trial-and-error commits in there, as it happens when dealing with CI. :-)

That all looks pretty green and sensible to me. :-) Nice to have all the OSes in one CI configuration! I'll merge this now, and we'll test the release process with 0.6 to make sure all env vars are set correctly etc. Thx for dealing with all this!

Thanks for the review! Btw. I could reproduce the failures related to event loop policy on Python 3.8 w/ Windows on my Laptop - is your environment still on Python 3.7?

I've squashed it since it had a number of trial-and-error commits in there, as it happens when dealing with CI. :-)

Yeah, good call.
It looks like the master branch didn't get built after merging this PR - I'm not sure why this is the case. The pipeline definition itself is set to trigger on the master branch, and because of the default settings, all PRs will also be built. The triggers setting also shows that continuous integration is enabled:

Maybe something needs to be changed on the GitHub side too, I'll have a look.

Unfortunately it seems that Azure is quite buggy: https://developercommunity.visualstudio.com/content/problem/1272448/not-possible-to-join-an-organization-after-invitat.html We should be on the lookout for a better solution.


How to add a new alert for Split Brain in my postgresql cluster.

As a Ops User I want to get an alert if there is a Split-Brain scenario and more than one postgresql database  is in primary mode.
Can anyone walk through the steps, in which files and what changes would need to be done to enable that please.

This is a usage issue not a bug report. Closing.


uif-button ng-disabled not working properly

Expected Behavior
When using ng-disabled attribute on uif-button, the button should reflect the state.
Actual Behavior
It works as expected only if scope property name controlling disabled state equals to "disabled"
In other case js error is thrown by angular.

Eek... good catch by @tom2all ... more details here: https://github.com/ngOfficeUIFabric/ng-officeuifabric/issues/268#issuecomment-215083711


Fix a couple of bsb parsing cases

I realized today two cases that were not being covered with the existing regexps.

1. Indented parts of the error message:
for example, this code:
let debugAstNode astNode =>
  switch astNode {
    | result (NumberLiteral n) => "Number " ^ n
    | result (StringLiteral s => "String " ^ s
    | result (CallExpression n _) => "CallExpression " ^ n
    | result (CallExpression n _) => "CallExpression " ^ n
    | error msg => "Error when parsing: " ^ msg
  };

triggered this output:
File "/Users/javi/Development/github/the-super-tiny-compiler/src/compiler.re", line 498, characters 13-14:
Error: 1087: Expecting one of the following:
  - "|" to open the next pattern
  - "=>" to start the body of the matched pattern
  - "when" to start a contitional guard for the previous pattern

  We've found a bug for you!
  /Users/javi/Development/github/the-super-tiny-compiler/src/compiler.re

But the server was only returning Error 1087: Expecting one of the following:.
Changing the level 1 regexp to be more greedy fixes it (match everything until We've found a bug for you).

2. Multiple files with errors:
An output like this
> bsb -make-world

ninja: Entering directory `lib/bs'
[2/2] Building src/demo.mlast.d
[1/4] Building src/d3.cmj
FAILED: src/d3.cmj /Users/javi/Development/sandbox/reason-hello/lib/js/src/d3.js src/d3.cmi
/Users/javi/.nvm/versions/node/v6.9.4/lib/node_modules/bs-platform/bin/bsc.exe -bs-package-name reason-hello  -bs-package-output commonjs:lib/js/src -bs-assume-no-mli -bs-no-builtin-ppx-ml -bs-no-implicit-include  -I src   -nostdlib -I '/Users/javi/Development/sandbox/reason-hello/node_modules/bs-platform/lib/ocaml' -bs-super-errors -no-alias-deps -color always -w -40+6+7+27+32..39+44+45 -bs-re-error -o src/d3.cmj -c  src/d3.mlast

  We've found a bug for you!

  Unbound value <:

[2/4] Building src/a.cmj
FAILED: src/a.cmj /Users/javi/Development/sandbox/reason-hello/lib/js/src/a.js src/a.cmi
/Users/javi/.nvm/versions/node/v6.9.4/lib/node_modules/bs-platform/bin/bsc.exe -bs-package-name reason-hello  -bs-package-output commonjs:lib/js/src -bs-assume-no-mli -bs-no-builtin-ppx-ml -bs-no-implicit-include  -I src   -nostdlib -I '/Users/javi/Development/sandbox/reason-hello/node_modules/bs-platform/lib/ocaml' -bs-super-errors -no-alias-deps -color always -w -40+6+7+27+32..39+44+45 -bs-re-error -o src/a.cmj -c  src/a.mlast

  We've found a bug for you!
  /Users/javi/Development/sandbox/reason-hello/src/a.re 2:8-17

  1 │ let debugAstNode astNode =>
  2 │ switch astsdfNode {
  3 │   | true => "Error when parsing: " ^ msg
  4 │ };

  Unbound value astsdfNode

  Hint: Did you mean astNode?

[3/4] Building src/demo.cmj
FAILED: src/demo.cmj /Users/javi/Development/sandbox/reason-hello/lib/js/src/demo.js src/demo.cmi
/Users/javi/.nvm/versions/node/v6.9.4/lib/node_modules/bs-platform/bin/bsc.exe -bs-package-name reason-hello  -bs-package-output commonjs:lib/js/src -bs-assume-no-mli -bs-no-builtin-ppx-ml -bs-no-implicit-include  -I src   -nostdlib -I '/Users/javi/Development/sandbox/reason-hello/node_modules/bs-platform/lib/ocaml' -bs-super-errors -no-alias-deps -color always -w -40+6+7+27+32..39+44+45 -bs-re-error -o src/demo.cmj -c  src/demo.mlast

  We've found a bug for you!
  /Users/javi/Development/sandbox/reason-hello/src/demo.re 59:9-23

  57 │   };
  58 │
  59 │ Js.log (pattesdfrnMatch test other);
  60 │
  61 │ /* Records */

  Unbound value pattesdfrnMatch

  Hint: Did you mean patternMatch?

ninja: build stopped: subcommand failed.

was causing wrong messages ([3/4] Building src/demo.cmj... would be part of the message). Taking [n/n] Building into account on the regexp fixes it.
Side note: we should probably add some tests for this, depending on how long we will be relying on this hack to parse bsb output. I could maybe help with that :)

Thanks!


Trying to minimize the impact of niivue image loading using a web worker

Hi,
first of all, I'm opening many issues because when I first learned niivue I was instructed to do so, since there is no official mailing list. If things have changed just let me know. Then directly to the issue:
I want to know how to clone an img object to send it via postMessage. The context in which this is useful is below. But the main question is just if the image metadata and buffer (they can be cloned and posted) is sufficient to reconstruct an image, and how to do that.
I'm trying to set up a web worker to load niivue images, because loading them in the main thread, even if asynchronously, slows down the UI rendering thread and makes things horrible.
I do have a worker set up, but I don't know how to reconstruct the image in the main thread, since I have to decompose the image into metadata and buffer, as the result of loadFromUrl is not cloneable. Not sure if that data is enough. Here is the worker code:
//@ts-ignore
import { NVImage } from '@niivue/niivue'

addEventListener("message", (e) => {
    NVImage.loadFromUrl({
        url: e.data.overlay,
        opacity: 0.4,
        colormap: 'winter'
        //}).then((img: any) => postMessage({ overlay: e.data.overlay, result: img }))
    }).then((image: any) => {
        const metadata = image.getImageMetadata()
        console.log("WORKER:",image)
        postMessage({ overlay: e.data.overlay, metadata: metadata, buffer: image.img.buffer })
    })
})

How do I rebuild the image in the main thread? Do I need more information than metadata and buffer?

Today I studied niivue code a bit and investigated the performance bottlenecks that seem to block the UI thread (not sure if all of them should, but it's rather evident when I'm loading volumes).
The list is quite narrow in my case (I'm loading compressed nifti images). Source locations come from the master branch of the github repo as of today.
niivue.js:2815: let response = await fetch(url);
niivue.js:2821: dataBuffer = await response.arrayBuffer();
niivue.js:2869: nvimage = new NVImage(...)

nvimage.js:332: imgRaw = nifti.readImage(this.hdr, nifti.decompress(dataBuffer));
nvimage.js:616: if (!isNaN(cal_max)) this.hdr.cal_max = cal_max;

Note that all the functions involved could be easily moved to a webworker. I don't intend this to be a change in niivue (or not at the moment?) but rather it would be very useful if the loadFromUrl function and the constructors were split in subfunctions that could be individually called and only returned arraybuffers and other clonable types, so that they could be put in web workers by the application.

Just as a side note, a workaround for things like svelte ripple animations to finish before nvimage apparently steals the UI thread, is to start things like loadFromUrl in a "setTimeout" call, with something like 200ms delay. Not ideal but improves the user experience.

@vincenzoml , do you have a minimal example you could share that demonstrates the performance issues you referenced? Ideally, a simple project that shows the issues without a lot of extraneous setup and config.

Here is a minimal example demonstrating the lag.
https://github.com/vincenzoml/niivue-example-svelte/blob/main/README.md
Note that the lag will become way more prominent in real-world-sized apps, and also I want to stress that  the minimal solution would be to allow NVImages to be serialized and de-serialized from binary data without recoding (here I just mean: COPY all the fields to a record where image data is just saved as UINT8Array or similar).. Which would have another big advantage: caching pre-loaded nvimage objects to IndexDB!


Can't find file name inside vendor folder in Laravel using CTRL + P

i want to search file DB.php inside vendor folder in laravel 5 but it seem atom failed to do that. Any idea what's going on here? i'm using CTRL + P try with CTRL + SHIFT + P as well but DB.php didn't exist on search. I look manually inside target folder and it's apparently exist among many sub sub folder.

in relation to this https://github.com/atom/fuzzy-finder/issues/332


Use bootstrap on all templates

I was in a hurry creating the templates and couldn't style them properly.
All the html files in the folder /bottle_admin/templates need a proper design

done.
"mental" note: it needs a better layout


[ServiceBus] Update tracing

Span creation logic and attribute names were updated.
Reference overview about tracing for AMQP
Part of: #25838

API change check
API changes are not detected in this pull request.

Closed in favor of https://github.com/Azure/azure-sdk-for-python/pull/29995 which is based on the pyamqp development branch.


Typing A\x41 on search field crashes Bluesky

Describe the bug

A CJS-ESM module confusion in how LinguiJS attempts to import the unraw module causes Bluesky to crash if a Unicode escape like \x41 appears in a localized string
To Reproduce
Steps to reproduce the behavior:

Open Bluesky
Type A\x41 in the search field

Expected behavior

There shouldn't be any autocompletion results, so it would show the localized string for "No results found..."
Screenshots

r is the function from unraw module that LinguiJS tried to import, it's the default export specifically.
Details

Platform: Web, any browser and device
Platform version: Chrome 120
App version: 1.63

Additional context

https://bsky.app/profile/mary.my.id/post/3kix2upox6k23
Web-only bug, does not happen in mobile app.

@mary-ext thank you for compiling the details here!!

Just for fun, I added \x41\x41 to the end of my display name, and it breaks my profile when viewed directly: https://bsky.app/profile/retr0.id
(I'm sure this will be fixed once the patch rolls out)


approved unapproved titles

found 102 approved titles that are still listed in https://sean.fish/mal_unapproved/manga page
some of them was approved month ago

Click to expand
101732 (Novel) - Pheromone Tantei Yappari Junan no Hibi https://myanimelist.net/manga/101732/pheromone-tantei-series
101854 (Novel) - Skip Beat! Kyouko no Zenryoku Full Course! https://myanimelist.net/manga/101854/shousetsu-skip-beat-kyouko-no-zenryoku-full-course
102254 (Manga) - Kujaku Ou Denki https://myanimelist.net/manga/102254/kujakuou-denki
102255 (Manga) - Kai no tora Takeda Shingen https://myanimelist.net/manga/102255/kai-no-tora-takeda-shingen
106764 (Manga) - Kinnikuman One Shot Collection 2011 - 2014 https://myanimelist.net/manga/106764/kinnikuman-yomikiri-kessakusen-2011-2014
106795 (Manga) - High School Agent https://myanimelist.net/manga/106795/high-school-agent
106840 (Novel) - Mofumofu Hoikuen to Harapeko Ookami https://myanimelist.net/manga/106840/mofumofu-hoikuen-to-harapeko-ookami
106930 (Manga) - Yummy Yummy Boy - Yen Man No Hiketsu https://myanimelist.net/manga/106930/yummy-yummy-boy-yen-man-no-hiketsu
107033 (Manga) - Ore no Sora https://myanimelist.net/manga/107033/ore-no-sora
107451 (Novel) - Tsuki no Sabaku no Ryakudatsu Hanayome https://myanimelist.net/manga/107451/tsuki-no-sabaku-no-ryakudatsu-hanayome
107511 (Manga) - Boku to Furio to Koutei de https://myanimelist.net/manga/107511/boku-to-furio-to-koutei-de
107528 (Manga) - Space https://myanimelist.net/manga/107528/hokenshitsu-made-nan-m-dj-space
107692 (Manga) - Haou Kessen Lion https://myanimelist.net/manga/107692/haou-kessen-lion
107693 (Manga) - BW - Majan Hoshitori Densetsu https://myanimelist.net/manga/107693/bw-mahjong-hoshitori-densetsu
107742 (Manga) - Kanashimi no Machi https://myanimelist.net/manga/107742/kanashimi-no-machi
107773 (Doujinshi) - Kare to Kare no Ijiwaru na Kyori dj - Zero Kyori https://myanimelist.net/manga/107773/kare-to-kare-no-ijiwaru-na-kyori-dj-zero-kyori
107803 (Manga) - Sunao ni Juujun ni Shitsukete https://myanimelist.net/manga/107803/sunao-ni-juujun-ni-shitsukete
107806 (Manga) - Grancrest Senki - Dropout https://myanimelist.net/manga/107806/grancrest-senki-dropout
107807 (Manga) - Otogizoushi https://myanimelist.net/manga/107807/otogizoushi
107879 (Manga) - Ze: Haru no Yuki https://myanimelist.net/manga/107879/ze-haru-no-yuki
107889 (Manga) - Starmyu Stardust’s Dream https://myanimelist.net/manga/107889/starmyu-stardust-s-dream
107892 (Manga) - Miyatake Miracle https://myanimelist.net/manga/107892/miyatake-miracle
108149 (Manga) [NSFW] - Nama de Naka o Ippai ni Shite. https://myanimelist.net/manga/108149/nama-de-naka-wo-ippai-ni-shite
109010 (Manga) - Piri Fuwa Tsu-n https://myanimelist.net/manga/109010/piri-fuwa-tsuun
109043 (Manga) - Kimama ni Idol https://myanimelist.net/manga/109043/kimama-ni-idol
109162 (Manga) - Violent Runner Vibrator https://myanimelist.net/manga/109162/bakusou-ningen-vibrator
109167 (Manga) - Girl@Girl https://myanimelist.net/manga/109167/girl-girl
109200 (One-shot) - SSG CODE:0 https://myanimelist.net/manga/109200/ssg-code-0
109223 (Manga) - Manga de Wakaru - Hontou wa Ecchi na Butsurigaku https://myanimelist.net/manga/109223/manga-de-wakaru-hontou-wa-ecchi-na-butsurigaku
109302 (Manga) - Senjou Manga Series https://myanimelist.net/manga/109302/senjou-manga-series
109368 (Manga) - D4 Princess https://myanimelist.net/manga/109368/d4-princess
109411 (Manga) - Wakakusa Monogatari https://myanimelist.net/manga/109411/wakakusa-monogatari
109424 (One-shot) - Seaside Return https://myanimelist.net/manga/109424/seaside-return
109507 (Manga) - Toragurumi Araburu! https://myanimelist.net/manga/109507/toragurumi-araburu
109508 (Manga) - Sono Egao Suki Janai https://myanimelist.net/manga/109508/sono-egao-suki-ja-nai
109524 (Manga) - Yunomi Mix https://myanimelist.net/manga/109524/yunomi-mix
109567 (Manga) - Kamo no Mizukaki https://myanimelist.net/manga/109567/kamo-no-mizukaki
109579 (One-shot) - Bishounen https://myanimelist.net/manga/109579/bishounen
109660 (Manga) - Träumerei https://myanimelist.net/manga/109660/traumerei
109661 (Manga) - Yajikita in Deep https://myanimelist.net/manga/109661/yajikita-in-deep
109685 (Manga) - Azuma-san to Itakura-san wa Koi wo Suru. https://myanimelist.net/manga/109685/azuma-san-to-itakura-senpai-wa-koi-wo-suru
109692 (Manga) - Gorin no Sho https://myanimelist.net/manga/109692/chouyaku-gorin-no-sho
109705 (Manga) - tomodachi wo kudaku houhou https://myanimelist.net/manga/109705/tomodachi-wo-kudoku-houhou
109706 (Manga) - koibito wo kudaku houhou https://myanimelist.net/manga/109706/koibito-wo-kudoku-houhou
117077 (Novel) - Kimi no Suizou wo Tabetai https://myanimelist.net/manga/117077/kimi-no-suizou-wo-tabetai
119771 (One-shot) [NSFW] - Muchi homo shin'yū (kanojo) https://myanimelist.net/manga/119771/muchi-homo-kanojo
119949 (Novel) - Ankoku Joshi https://myanimelist.net/manga/119949/ankoku-joshi
120044 (Manga) - Sekitou Elergy - Toukyou Monogatari https://myanimelist.net/manga/120044/sekitou-elegy-tokyo-monogatari
120232 (Manga) - Lady Rin! https://myanimelist.net/manga/120232/lady-rin
120297 (One-shot) - Sentimental Beach Side https://myanimelist.net/manga/120297/sentimental-beach-side
120393 (One-shot) - Elfen Lied Tokubetsu-hen https://myanimelist.net/manga/120393/elfen-lied-tokubetsu-hen
120569 (Manga) - K-On! Story Anthology Comic https://myanimelist.net/manga/120569/k-on-story-anthology-comic
120616 (Novel) - Urasekai Picnic https://myanimelist.net/manga/120616/urasekai-picnic
120847 (Manga) [NSFW] - Mama Koubi https://myanimelist.net/manga/120847/mama-koubi
120923 (Manga) - 美脚ミミック、ハルミさん ~転生モンスター異世界成り上がり伝説~ https://myanimelist.net/manga/120923/bikyaku-mimic-harumi-san-tensei-monster-isekai-nariagari-densetsu
120961 (Novel) - Konyakuhaki Kara Hajimeru Akuyaku Reijou no Kangoku Slow Life https://myanimelist.net/manga/120961/konyaku-haki-kara-hajimaru-akuyaku-reijou-no-kangoku-slow-life
120975 (Manga) [NSFW] - Uchi ni wa Yuurei-san ga Imasu https://myanimelist.net/manga/120975/uchi-ni-wa-yuurei-san-ga-imasu
121046 (Manga) - Color Recipe Clear https://myanimelist.net/manga/121046/color-recipe-clear
121068 (Manga) [NSFW] - Tsumatorare https://myanimelist.net/manga/121068/tsumatorare
121152 (Manga) - Stigmata: Aikon https://myanimelist.net/manga/121152/stigmata-aikon
121263 (Novel) - Haikei, akumana kishi-sama no hanayome ni narimashite https://myanimelist.net/manga/121263/haikei-akuma-na-kishi-sama-no-hanayome-ni-narimashite-amaama-shinkon-fuufu-mezashite-ganbarimasu
121339 (Novel) - Futsugyou https://myanimelist.net/manga/121339/futsugyou
122211 (Manga) - Kimi no Sekai ni Ite Itai https://myanimelist.net/manga/122211/kimi-no-sekai-ni-iteitai
122531 (Novel) - Kimi wa Tsukiyo ni Hikari Kagayaku https://myanimelist.net/manga/122531/kimi-wa-tsukiyo-ni-hikarikagayaku
122877 (Novel) - Teogonia https://myanimelist.net/manga/122877/teogonia
123180 (Manga) - Yamikin toritate no osoroshi jittai https://myanimelist.net/manga/123180/kakusanteki-emotion
123225 (Manga) - Kimi ni Soba ni Itehoshii https://myanimelist.net/manga/123225/kimi-ni-soba-ni-itehoshii
123356 (Manga) - Komatta Jiisan https://myanimelist.net/manga/123356/komatta-jiisan
123364 (Manga) - A Boy. A Girl. https://myanimelist.net/manga/123364/a-boy-a-girl
123564 (Manga) - Seija no Koushin Revenge https://myanimelist.net/manga/123564/seija-no-koushin-revenge
123924 (Manga) - Kyonyuu Tights https://myanimelist.net/manga/123924/kyonyuu-tights-kuro-tights-bishoujo-to-icha-ero-shichau-anthology-comic
123930 (Manga) - Black Girls Talk https://myanimelist.net/manga/123930/black-girl-s-talk
123935 (Manga) - Chocolate: Shakaijin Yuri Anthology https://myanimelist.net/manga/123935/chocolat-shakaijin-yuri-anthology
124150 (Manga) - Kesaran Nanigashi to Soup'ya-san https://myanimelist.net/manga/124150/kesaran-nanigashi-to-soupya-san
124247 (Manga) - Wareware wa Uchuujin da!! https://myanimelist.net/manga/124247/wareware-wa-uchuujin-da
124440 (Manga) - Kimi ga Suki de Komaru https://myanimelist.net/manga/124440/kimi-ga-suki-de-komaru
125842 (Novel) - Koi suru Kiseichû https://myanimelist.net/manga/125842/koisuru-kiseichuu
126479 (Novel) - Mikkakan no Koufuku https://myanimelist.net/manga/126479/mikkakan-no-koufuku
128560 (One-shot) [NSFW] - Maji Good Chance Doutei https://myanimelist.net/manga/128560/maji-good-chance-doutei
128561 (One-shot) [NSFW] - Chifuyu-chan wa Damasareyasui! https://myanimelist.net/manga/128561/chifuyu-chan-wa-damasareyasui
128564 (Manga) [NSFW] - Love Splash https://myanimelist.net/manga/128564/love-splash
128565 (One-shot) [NSFW] - Yoku Ataru Uranaishi https://myanimelist.net/manga/128565/yoku-ataru-uranaishi
128593 (Doujinshi) - Me ga Sametara Onna no Ko ni natte ita Hanashi https://myanimelist.net/manga/128593/mememori-kun-ni-wa-kanawanai
128612 (Manga) [NSFW] - Hagane no Koromo no Otome-tachi https://myanimelist.net/manga/128612/hagane-no-koromo-no-otome-tachi
128907 (Manga) - Maou no Hajimekata Gaiden Mary-chan no Osunaba Dungeon https://myanimelist.net/manga/128907/maou-no-hajimekata-gaiden-mary-chan-no-osunaba-dungeon
128980 (Manga) - Douse Horu Nara Fukai Ana. https://myanimelist.net/manga/128980/douse-horu-nara-fukai-ana
129314 (One-shot) - Akujiki no Dinner https://myanimelist.net/manga/129314/akujiki-no-dinner
129520 (Manga) [NSFW] - Koizome Marking https://myanimelist.net/manga/129520/koizome-marking
131805 (Manga) [NSFW] - Dosukebe Oneichan https://myanimelist.net/manga/131805/dosukebe-onei-chan
131935 (Doujinshi) [NSFW] - Kanojo no Ane wa Gal de Bitch de Yariman de https://myanimelist.net/manga/131935/kanojo-no-ane-wa-gal-de-bitch-de-yariman-de
131936 (Doujinshi) [NSFW] - Papakatsu Gal to Kimeseku kara no Ranpako https://myanimelist.net/manga/131936/papakatsu-gal-to-kimeseku-kara-no-ranpako
131938 (Doujinshi) [NSFW] - Inma Kyuusei https://myanimelist.net/manga/131938/inma-kyuusei
131942 (Doujinshi) [NSFW] - Hidai! Kakuchou! Nikubenki Kaizou Shinryou https://myanimelist.net/manga/131942/hidai-kakuchou-nikubenki-kaizou-shinryou
133709 (Light Novel) - Harapeko na Joushi no I wo Tsukamu Houhou: Sasen-saki wa Kyuutei Majutsushi no Senzoku Chef https://myanimelist.net/manga/133709/harapeko-na-joushi-no-i-wo-tsukamu-houhou-sasen-saki-wa-kyuutei-majutsushi-no-senzoku-chef
133726 (Light Novel) - Erotical Wizard to 12 Nin no Hanayome https://myanimelist.net/manga/133726/erotical-wizard-to-12-nin-no-hanayome
133800 (Manga) - Kedamonotachi No Jikan https://myanimelist.net/manga/133800/kedamono-tachi-no-jikan-kyouizon-shoukougun
133894 (Manga) - Hitorimi Desuga Nanika? https://myanimelist.net/manga/133894/hitorimi-desu-ga-nani-ka
134878 (Manga) - Trigger Keeper https://myanimelist.net/manga/134878/trigger-keeper
136228 (Manga) - Ikki Yakou https://myanimelist.net/manga/136228/ikki-yakou
136840 (Manga) - Nippen! https://myanimelist.net/manga/136840/nippen
137368 (Manga) - DAYS ~fragment~ https://myanimelist.net/manga/137368/days-fragment
137759 (Manga) - Himitsu Sentai Gorenger https://myanimelist.net/manga/137759/himitsu-sentai-gorenger

Hey, thanks for letting me know
will try and look at it later tonight

Still see things being added to the cache in general, so I don't think its a major problem -- its probably just not requesting pages far enough back to see that those entries have been approved
I tweaked the numbers a bit and will monitor it to see if that fixed it, else continue debugging
Will update here in a bit

two more
108928 (Manga) - Juumin yo Koigokoro wo Idake
https://myanimelist.net/manga/108928/Juumin_yo_Koigokoro_wo_Idake/stats?m=all&show=75
111348 (Manga) - Iwakutsuki! Miyako-sou
https://myanimelist.net/manga/111348/Iwakutsuki_Miyako-sou/stats?m=all#members

Yeah, like previously
Since those IDs are so far back, it hasn't found those yet
It searches back that far once a month, so it'll find them eventually
I'll think about adding some mechanism for a user to request an ID to be checked by the member count, since it's not really feasible to search the entire database constantly

added an API so I can search back https://github.com/Hiyori-API/checker_mal/commit/ff9240f19ad747f3f11b20d36cd62a82da88b7a9, just triggered it to search back 100 pages for manga, so it should find those in a bit
If you have a discord/want to discuss some sort of way to trigger this, feel free to join the server here -- is the main way I'd trigger it since I don't want to make the API public for fear of it getting spammed/blocked


Downgrade missing @Sendable error on local functions to a warning.

We're staging in most of these checks via warnings in Swift 5.x.
Fixes rdar://92986898.

@swift-ci please smoke test


Update elasticity MergeTablets to use MERGED marker

The MERGED marker is set on the last tablet of the merged range after metadata has been updated so that it is possible to know whether or not the files were already fenced. If the marker exists then the fencing for the last tablet can be skipped as the process was restarted.
This is a follow on to #3957 and applies that changes that were done in main in TabletGroupWatcher to the MergeTablets and DeleteTablets fate ops.
The existing tests in MergeIT verify that the merged marker is properly cleared.

@keith-turner - I put the code to clean up the MERGED marker in DeleteTablets because this seemed like the simplest place to put it. I could also move it into FinishTableRangeOp but that currently can be called even if there is no marker to clean up (such as if only 1 tablet for the merge range and it skips) where as DeleteTablets should only be called if there is a MERGED marker to clean up. But I can move the clean up there if you think that makes more sense and just check if the marker exists before removing it or just remove it regardless (I don't think there's any harm in deleting a column that doesn't exist)


How to update the params in batchnorm layers by passing the inputs

I'm currently implementing Averaging Weights Leads to Wider Optima and Better Generalization in keras ,the source code(Pytorch) is  here , but i'm stucking in the fix_batchnorm() function.  how could i update the params(moving_mean,moving_variance) in batchnorm layers by passing the inputs?  In Pytorch, u  just do like this model(inputs), In keras , model.predict(inputs) doesn't work
the pytorch code is here
def fix_batchnorm(swa_model, train_dl):
    """
    During training, batch norm layers keep track of a running mean and
    variance of the previous layer's activations. Because the parameters
    of the SWA model are computed as the average of other models' parameters,
    the SWA model never sees the training data itself, and therefore has no
    opportunity to compute the correct batch norm statistics. Before performing
    inference with the SWA model, we perform a single pass over the training data
    to calculate an accurate running mean and variance for each batch norm layer.
    """
    bn_modules = []
    swa_model.apply(lambda module: collect_bn_modules(module, bn_modules))

    if not bn_modules: return

    swa_model.train()

    for module in bn_modules:
        module.running_mean = torch.zeros_like(module.running_mean)
        module.running_var = torch.ones_like(module.running_var)

    momenta = [m.momentum for m in bn_modules]

    inputs_seen = 0

    for (*x,y) in iter(train_dl):
        xs = V(x)
        batch_size = xs[0].size(0)

        momentum = batch_size / (inputs_seen + batch_size)
        for module in bn_modules:
            module.momentum = momentum

        res = swa_model(*xs)

        inputs_seen += batch_size

    for module, momentum in zip(bn_modules, momenta):
        module.momentum = momentum

i do like this:
def fix_batchnorm(swa_model, generater):
    bn_layers = []

    for swa_layer in zip(swa_model.layers):
        if isinstance(swa_layer, keras.layers.BatchNormalization):
            bn_layers.append(swa_layer)

    if not bn_layers: return

    for layer in bn_layers:
        layer.moving_mean = K.zeros_like(layer.moving_mean)
        layer.moving_variance = K.zeros_like(layer.moving_variance)
    momenta = [l.momentum  for l in bn_layers]

    inputs_seen = 0

    for X_batch , Y_batch in generater:
        batch_size = X_batch.shape[0]

        momentum = batch_size / (inputs_seen + batch_size)
        for layer in bn_layers:
            layer.momentum = momentum

        """===========Im stucking here==============="""
        swa_model.predict(X_batch)
        """====================================="""

        inputs_seen += batch_size

    for layer, momentum in zip(bn_layers, momenta):
        layer.momentum = momentum

Well, found it.
You have to save model and then do:
    K.clear_session()
    K.set_learning_phase(1)
    model = load_model("...")

And then your batchnorm will update with predict or evaluate.

@spsancti Hi, I try your method, but it doesn't work. Running mean and var stay same.


Failed to launch the browser process! Error loading shared library

After installing n8n-nodes-puppeteer from the community nodes admin panel, I try to execute any of the Puppeteer action nodes and I get an error.
Running at linode with N8N v1.67.1 on the official Docker image.
Linux: Ubuntu 22.04.5

The same happens using any of the actions of the puppeteer node (Get Page Content / PDF / Screenshot / Run Custom Script)
I get this error when executed:

(Complete output):
Failed to launch the browser process! Error loading shared library libgobject-2.0.so.0: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libglib-2.0.so.0: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libnss3.so: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libnssutil3.so: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libsmime3.so: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libnspr4.so: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libdbus-1.so.3: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libatk-1.0.so.0: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libatk-bridge-2.0.so.0: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libcups.so.2: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libgio-2.0.so.0: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libdrm.so.2: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libX11.so.6: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libXcomposite.so.1: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libXdamage.so.1: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libXext.so.6: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libXfixes.so.3: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libXrandr.so.2: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libgbm.so.1: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libxcb.so.1: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libxkbcommon.so.0: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libpango-1.0.so.0: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libcairo.so.2: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libudev.so.1: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libasound.so.2: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error loading shared library libatspi.so.0: No such file or directory (needed by /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome) Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_dbus_connection_signal_unsubscribe: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_cancellable_cancel: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_object_unref: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_cancellable_new: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_dbus_proxy_new_finish: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_error_matches: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_io_error_quark: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_dbus_proxy_get_connection: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_variant_builder_init: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_strdup_printf: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_random_int_range: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_variant_builder_add: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_variant_new_string: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_dbus_proxy_call: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_variant_new: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_dbus_proxy_call_finish: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_variant_get: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_dbus_proxy_call_with_unix_fd_list_finish: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_unix_fd_list_get: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_modifier: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_destroy: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_create_device: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_plane_count: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_device: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_device_get_fd: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: drmPrimeHandleToFD: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_handle_for_plane: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_stride_for_plane: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_offset: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_handle: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_map: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_width: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_get_height: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_unmap: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_create: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_create_with_modifiers: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_bo_import: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_device_is_format_supported: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: gbm_device_destroy: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: XMissingExtension: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: _XGetRequest: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: _XReply: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: _XEatData: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: _XRead: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: XextFindDisplay: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: XextAddDisplay: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: XextRemoveDisplay: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: _XSetLastRequestRead: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: drmGetNodeTypeFromFd: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: drmGetMagic: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: drmGetVersion: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: drmFreeVersion: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: posix_fallocate64: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_source_new: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_source_add_poll: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_source_set_can_recurse: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_main_context_get_thread_default: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_main_context_default: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_source_attach: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_source_set_priority: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_source_destroy: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: g_source_unref: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: snd_pcm_open: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: snd_device_name_hint: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: snd_device_name_get_hint: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: snd_device_name_free_hint: symbol not found Error relocating /home/node/.cache/puppeteer/chrome/linux-131.0.6778.69/chrome-linux64/chrome: snd_card_next: symbol not found  TROUBLESHOOTING: https://pptr.dev/troubleshooting

Full log at: https://pastebin.com/0TerPNya

Hi @pbdco
You are receiving this message because the official Docker image for n8n does not include the dependencies required to run Chrome. If you're deploying via Docker you'll need to build your own image similar to what was called out in the README.
If building your own Docker image isn't an option, then the only other option is to use the Browser Websocket Endpoint option and offload the execution to a service like browserless or browsercloud, or self hosting your own chrome instance outside of n8n and using that as the browser websocket endpoint (Browserless puts out self-hostable containers ie. ghcr.io/browserless/chromium)

@drudge Thank you very much for the response! It would be very helpful to add a note in the Readme.md about the official Docker image for n8n not including Chrome dependencies. This could save other users from running into similar issues.

Thanks for the feedback, @padurets. I've updated the documentation, hope it's clearer now.
https://github.com/drudge/n8n-nodes-puppeteer#n8n-nodes-puppeteer


Upgrade to 0.8.7 from 0.8.4 causing crashes when used with iron:router

The upgrade to 0.8.7 is causing crashes for any app using iron:router elsewhere in the application.
Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.
    at Object.Meteor._nodeCodeMustBeInFiber (packages/meteor/dynamics_nodejs.js:9:1)
    at [object Object]._.extend.get (packages/meteor/dynamics_nodejs.js:21:1)
    at [object Object].RouteController.lookupOption (packages/iron_router/lib/route_controller.js:66:1)
    at new Controller.extend.constructor (packages/iron_router/lib/route_controller.js:26:1)
    at [object Object].ctor (packages/iron_core/lib/iron_core.js:88:1)
    at Function.Router.createController (packages/iron_router/lib/router.js:201:1)
    at Function.Router.dispatch (packages/iron_router/lib/router_server.js:39:1)
    at Object.router (packages/iron_router/lib/router.js:15:1)
    at next (/Users/redacted/.meteor/packages/webapp/.<IP_ADDRESS>kpnst++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:190:15)
    at Object.handle (/Users/redacted/.meteor/packages/simple_json-routes/.<IP_ADDRESS>a0fwo3++os+web.browser+web.cordova/npm/node_modules/connect-route/lib/connect-route.js:110:5)

There seems to be a conflict with iron:router and simple:json-routes maybe.  See also stubailo/meteor-rest#82
To reproduce:
meteor create foo
cd foo
meteor add nimble:restivus
meteor add iron:router
meteor run

I think you're right. This appears to be a result of the upgrade to json-routes v2.0.1. For now, anyone using iron router should remain on Restivus v0.8.5 or below.
Thanks so much for reporting this! The world will be a better place when everyone moves on to Flow Router. I'll try to update the docs with a warning or something.

can confirm

<EMAIL_ADDRESS>fixes this

Nice! I'll update ASAP and release a new version. Thanks for the heads up @heschong!

Just published v0.8.8 with the updated version of simple:json-routes. Thanks again for the heads up @heschong. Let me know if any of you are still getting errors.


Update photos and names of cabinet members 2024

Description

Get the photos of current cabinet from the Dev Leads
Convert them to webp for faster loading
Move the old cabinet photos to assets/images/cabinet/old and add the current cabinet photos to assets/images/cabinet
Follow this naming convention 2024-CabinetPosition-FirstnameLastname.webp for all the photos
Add 2023 cabinet to previous cabinet as below

https://github.com/cyscomvit/cyscomvit.github.io/blob/master/team.html

@ezhil56x can you send the images of the current cabinet members


Animations does not work when app layout direction is RTL

The title is clearly. when I set app layout direction to RTL (using I18nManager.forceRTL(true)), animations not working.

change to:
import {
    Animated,
    Easing,
    findNodeHandle,
    NativeModules,
    ScrollView,
    StyleSheet,
    Text,
    View,
    I18nManager
} from 'react-native'

animateBounce = () => {
        const {duration, marqueeDelay, loop, isInteraction, useNativeDriver, easing, children, scrollingSpeed} = this.props
        this.setTimeout(() => {
            Animated.sequence([
                Animated.timing(this.animatedValue, {
                    toValue: I18nManager.isRTL ? this.distance + 10 : -this.distance - 10,
                    duration: duration || (this.distance) * scrollingSpeed,
                    easing: easing,
                    isInteraction: isInteraction,
                    useNativeDriver: useNativeDriver
                }),
                Animated.timing(this.animatedValue, {
                    toValue: 10,
                    duration: duration || (this.distance) * scrollingSpeed,
                    easing: easing,
                    isInteraction: isInteraction,
                    useNativeDriver: useNativeDriver
                })
            ]).start(({finished}) => {
                if (finished) {
                    this.hasFinishedFirstLoop = true
                }
                if (loop) {
                    this.animateBounce()
                }
            })
        }, this.hasFinishedFirstLoop ? 0 : marqueeDelay)
    }

Can you submit a PR for this fix?

Thanks, Can you submit a PR for this fix?

Yes, I sent it

Closing due to inactivity, feel free to reopen an issue once further PR activity has been resolved.


Update Collections and API to WFS 3 latest

WFS 3 changed their collection definition a bit. We should update to align.

I'm taking this over, but will wait for an actual implementation into the spec until at least the OGC Hackathon was held.

Backporting WFS to STAC makes sense only around July as it's when they plan to release the next release candidate. Is that early enough for 0.8 or do we delay it for 0.9? @cholmes

see also https://github.com/opengeospatial/WFS_FES/issues/243

Draft 2 has been released 5 days ago: https://github.com/opengeospatial/WFS_FES/releases/tag/1.0.0-draft.2 - will make a PR very soon.

I saw that there are two new (optional) properties in their collections:

itemType: indicator about the type of the items in the collection (the default value is 'feature').
crs: the list of coordinate reference systems (OGC URls) supported by the service (there's an additional crs in the spatial extent, too)

Those seem somewhat unrelated to STAC and backporting them to STAC Collections feels wrong. Should we ignore them?
Also, they have new optional properties in the links:

hreflang language of the referenced document
length not sure yet what this is about. length of the referenced document?

Should we also ignore them? I think not providing optional properties would be fine.
Other than that, we only need to change the structure of extent in STAC collection.
There are probably some more changes in the API.
cc @cholmes

PR: #525 to update the API and backport extent to STAC collections.


Using multiple GPUs or other ways to reduce task run time

Is there an option to use multiple GPUs to get the baseline scores ?
Using GPT2 base model the runtime is approximately 13+ hours for my task.

As far as I know this is not supported by the HuggingFace backend we are
using. I suggest running the evaluation with a smaller number of examples
(--max_examples) and/or with a shorter output length (--max_length) to
speed things up.
Best,
Guy
On Thu, Jun 10, 2021 at 9:52 PM Sayan Ghosh @.***>
wrote:

Is there an option to use multiple GPUs to get the baseline scores ?
Using GPT2 base model the runtime is approximately 13+ hours for my task.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/BIG-bench/issues/442, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADGRN4EIZZNNVIYEKEJB4LTSGI7NANCNFSM46P5C7JA
.

Our HuggingFace code was recently updated (PR), which should make evaluation much faster.


A great tool, but sometimes hard to act on

Having learned of this from the Intrazone podcast, I am delighted by what it can help with. However it's pretty hard to convert insights to action; in particular it's really hard to work out which images are the ones that need trimming down to size.

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

ID: 4ad660ca-262d-19f0-a28a-bb834095b4e0
Version Independent ID: ea31f15c-4528-901f-2a67-28b378573a18
Content: Use the Page Diagnostics tool for SharePoint Online
Content Source: Enterprise/page-diagnostics-for-spo.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@SimonJHudson  - Thank you for submitting feedback.
I will get this issue over to the Enterprise writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@SimonJHudson - Thank you for engaging with the community here for the docs.
I know the product teams are always looking for user feedback and feature request on how to make SharePoint better. They keep a close tab on user feedback and it would be awesome if you could add your voice in UserVoice.
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!


docker-compose fails to source meltano project's .env

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/582
Originally created by @mbergeron on 2019-04-12 12:43:48

What is the current bug behavior?
What is happening now?
Create .env files contains export statements and docker-compose fails on it https://github.com/docker/compose/issues/6511.
See https://gitlab.com/meltano/meltano/commit/210ecd8b7816a45d4e09b2d4ff03a2129c0b8fa0#note_160037831
What is the expected correct behavior?
What should be happening?
docker-compose should load the .env accordingly.
Possible fixes
If you can, link to the line of code that might be responsible for the problem or suggest a fix
Remove export statements in the .env generated by meltano init.
These were there to support source .env that we had to do before dotenv was added to the project. Now that meltano uses dotenv to load the file it doesn't need to be source-able anymore.
Further regression test
Ensure we automatically catch similar issues in the future

[ ] Write additional adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

View 5 previous comments from the original issue on GitLab


Make replace pattern in regex.replace aware of matching groups.

Make it possible to refer to matching groups by index like in the example below:
[] > app
  stdout > @
    replace
      "a1a A2B B3B"
      "/((([A-Za-z])[0-9])\g{2})/"
      "$2"

Output:
"a1 A2B B3"

For more information see objectionary/eo#865 description and Java Matcher

@levBagryansky transferred

Make it possible to refer to matching groups by index like in the example below:
[] > app
  stdout > @
    replace
      "a1a A2B B3B"
      "/((([A-Za-z])[0-9])\g{2})/"
      "$2"

@mximp do you mean
[] > app
  stdout > @
    replaced.
      compile.
        QQ.txt.regex
        "a1a A2B B3B"
      "/((([A-Za-z])[0-9])\g{2})/"
      "$2"

?
Is 2 index of group here?
So must "/((([A-Za-z])[0-9])\g{2})/" encounters be replaced by the 2nd group of this regex?

@mximp It has been implemented in #86 pr. You can close the issue.


Nest removed Logger.setContext()

Thanks so much for effort writing all this, this repo has been my go to for helping me grok DDD books and their concepts in the context of something tangible.
I'm working through your example implementation and noticed that at some point Nest upgraded their Logger implementation, so the Logger.setContext() method is no longer available. Instead you're expected to pass the context as an optional second parameter in the log call.
All I can think is to add the log method overloads to the Logger port interface and then add a private class attribute for the logContext wherever you've previously called setContext().
Is there a cleaner way to deal with this that I'm missing?

Hey. Thanks for reporting the issue, I will check that out when I have time.

@Sairyss Thanks so much for writing such a repository. I use the following code to create a custom logger.
// @libs/ddd/domain/ports/logger.port
import { Logger as NestLogger } from '@nestjs/common';
export class Logger extends NestLogger {
setContext(context: string): void {
this.context = context;
}
}

Hey. Thanks to @Sairyss for sharing this very nice repository. I'm learning Nestjs, DDD and programming and it is a very helpful and valuable resource :)
@vahidzafari , I'm not sure it is the right way to proceed according to ddd principles. In my understanding, the port is part of the domain and should only define an interface without any dependency with the real implementation. Therefore, I guess it should be better to keep the port definition as it is and just define an adapter to implement it.
Could be something like this (not tested yet) :

// @libs/ddd/infrastructure/logger/logger.adapter.ts
import { ConsoleLogger, Injectable } from '@nestjs/common';
import { LoggerPort } from<EMAIL_ADDRESS>@Injectable()
export class LoggerAdapter extends ConsoleLogger implements LoggerPort {}

// @libs/ddd/infrastructure/logger/logger.module.ts
import { Module, Global } from '@nestjs/common';
import { LoggerAdapter } from './logger.adapter';
@Global()
@Module({
providers: [LoggerAdapter],
exports: [LoggerAdapter],
})
export class LoggerModule {}

Indeed, the setContext method was removed from the Logger class but kept in the ConsoleLogger one. The Nestjs team encourage to use the latter now.


[Enhancement] Roadmap or more info on path to production ready

Hi there!
Looking into this library for potential use at my company - it would be great if there was some kind of roadmap, rough timeline, or even MVP scope for this project, so we can evaluate if we'll be able to use it in the near term, or use another library initially and migrate here longer term.
I understand giving estimates on projects like this is a bit of a nightmare, but even something like "maybe this year, next year H1, next year H2" would be a massive help!
Thanks 🚀

Hey @gavinroderick we are still on a path to provide a general availability that is complete with all features including Confluent Schema Registry as well as support by Confluent's GTS team by the end of the year.

Amazing, thanks for the info! Will feed it back to the team!


create triage team for container-cop, add pfeifferj

@sabre1041 @pabrahamsson ; cant see anywhere else we use triage - is this a flow/role we want to add in?

https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/repository-roles-for-an-organization

I certainly wasn't aware of the triage role, looks like it could be useful. No objection from me.

can we merge the PR? :)

@pfeifferj I'd like @sabre1041 to take a look before we merge.


Internal device values are still boolean

We changed device values from booleans (True / False) to int (0 / 1) in the last release, but PingServer and TimeOfDay values are still boolean. Probably just these two but we should check.

See also my comment here https://github.com/RPi-Distro/python-gpiozero/pull/744#discussion_r256208205


prototype platform connection

Adds support for sending traces to the dlthub platform.
Open questions/tasks

[ ] Do we need a never changing unique id for each schema to be able to trace the lineage?
[ ] Send more data from normalize phase, there is no information about the files created for a load package
[ ] Send data from the extract phase (resource graphs, items extracted, extraction duration per source / resource...)

one thing that is a bit strange in the trace is, that there is this additional run step which duplicates the result of the loadinfo as stepinfo. It's not a problem really, but for one the run step is just a representation of the full trace really, and we are sending too much data around, especially given the fact that the loadinfo will always be the most verbose.

two suggestions :) also do you want to merge it or keep a branch for testing?

For now this is only for testing i would say.

one thing that is a bit strange in the trace is, that there is this additional run step which duplicates the result of the loadinfo as stepinfo. It's not a problem really, but for one the run step is just a representation of the full trace really, and we are sending too much data around, especially given the fact that the loadinfo will always be the most verbose.

run step is used to correlate several pipeline steps into one transaction. it makes sense IMO to send some summary information. yeah I think we repeat the LoadInfo (or the last step info) in it? then let's change it to RunInfo with just basic information. we could also use it to send full state sync (but not everyone uses run method so probably bad idea

I am not quite sure i have implemented reporting the current state data to the platform the way you had in mind, let me know.


[WIP] add copy-from command

add copy-from command
This command should copy file from container to host.
For now, this is not working. The file is copied, but when i tried to run it (executable file), it throws:  Exec format error.
//cc @fromanirh, @MarSik
Signed-off-by: Karel Šimon<EMAIL_ADDRESS>

The error seems to be that podman intermixes some debug messages in the output stream (!!!!), which is quite bad and seems a podman bug.
To test this, just remove --log-level from the podman systemd service unit

Also, let's keep an eye on this PR: https://github.com/containers/libpod/pull/3568

The error seems to be that podman intermixes some debug messages in the output stream (!!!!), which is quite bad and seems a podman bug.
To test this, just remove --log-level from the podman systemd service unit

After further investigation, this could have been just a local setting of mine.
IF confirmed, podman intermixing its own debug messages in the stdout/stderr streams is bad nevertheless.

Closing this in favour of https://github.com/fromanirh/pack8s/pull/27


fix: atSign activation issue

- What I did
- How I did it
- How to verify it
- Description for the changelog

@sachins-geekyants please add comments when closing PRs to explain why (obsolete, different approach, etc)