Networking – Is it sensible or logical to have a model where the transport layer is unreliable but the network layer is reliable?

Assume that the transport layer provides unreliable services to the application layer and the network layer provides reliable services to the transport layer.

I think this model will fail. An example are the buffers on the transport layer.
Assume there is a buffer overflow and packets are dropped. Nobody will retransmit these lost packets.

If I'm right, doesn't that contradict the telephony system?

SQL Server – I / O Entity Attribute Value Generic model with min-max values

I have an entity that consists of multiple attributes (can be added, removed from the entity, and new attributes can also be created). I need to be able to save the values ​​- so for example I have a list of attribute / value pairs. If you assign an attribute to the machine – the machine also has a min-max value for the attribute – how can I structure the tables to create the right relationship. Consider the following tables

  • (Machine table: MachId),
  • (Machine_EAV table: MachId, EavId,? MinVal?,? MaxVal?,
  • (EAV table: EavId, Name, TypeId),
  • (Type table: TypeId, TypeName)

To save values ​​and have min and max, I should have a table for the specific dataTypes as follows: IntType_Attributes IntId, Machine_EAVId, MinVal, MaxVal, Value

If anyone needs more information I can add it. Just ask and I will do my best to provide it.
Note that the machine parameters are constantly changing. You have to be flexible.

I also have to present a correct view – so I have to be able to create a view from the tables.

Distributed systems – What correlation is there between the actor model and reactive programming?

Could someone explain the difference / correlation between that Actor model and Reactive programming?

It seems that they are at different levels of abstraction – can the interaction between the components of a distributed system be designed using the actor approach, they would send messages and write code in a reactive style within the actors?

This question related to How are functional reactive programming and the actor model related?

However, the answers were not clear enough and my question generally does not refer to reactive programming FIn particular RP.

Authorization – How do I model ACLs?

There are several types of ACLs that I've generally implemented:

  1. Does a user have access to a resource type (API)?
  2. Does a user have access to a resource (object)?
  3. Does a resource have access to another resource?
  4. Is a resource type supported for a resource?
  5. Restrict the result of a metasoucetype (Seach) based on the restrictions of the resource type.

With the exception of 1, everything was generally modeled at the application level, while (1) is answered by conventional authn / authz mechanisms. This becomes immensely complex as the types of resources and resources increase themselves. Is there a good way to model a general solution to the above class of problems since these questions are very similar? If yes, which implementations / architectures are known?

magento2 – Magento 2.3.3: Uncaught TypeError: Pass argument 1 to Magento Review Model ResourceModel Review Summary :: appendSummaryFieldsToCollection ()

I just upgraded to Magento 2.3.3 and now I get errors like

Fatal error: Uncaught TypeError: Argument 1 passed to MagentoReviewModelResourceModelReviewSummary::appendSummaryFieldsToCollection() must be an instance of
 MagentoCatalogModelResourceModelProductCollection, instance of CedCsMarketplaceModelResourceModelVendorCollection given, called in 
 //vendor/magento/module-review/Observer/CatalogProductListCollectionAppendSummaryFieldsObserver.php on line 57 and defined in
 //vendor/magento/module-review/Model/ResourceModel/Review/Summary.php:87 Stack trace: #0
 MagentoReviewModelResourceModelReviewSummary->appendSummaryFieldsToCollection(Object(CedCsMarketplaceModelResourceModelVendorCollection), '5', 'product') #1
 //vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): MagentoReviewObserverCatalogProductListCollectionAppendSummaryFieldsObserver->e in
 //vendor/magento/module-review/Model/ResourceModel/Review/Summary.php on line 87

Does anyone have any idea how to solve this?

Unit – access to the intermediate layers of a tensorflow CNN model?

I am new to Unity scripting and am doing a project that captures video from my laptop's camera and then displays a heat map in AR using the information at an intermediate level from a CNN model.

I've checked out tutorials online, but I've never seen anyone speak about accessing intermediate levels from a model.

Basically, I want to show this in Unity.

    intermediate_layer_model = Model(inputs=model.input,

    layer_output = intermediate_layer_model.predict(Image)

Is that possible and can someone point me in the right direction?


Configuration – Magento only allows my model to be capitalized

I am working on a Magento ( module. For some reason (only) my models can be described as capitalized. For example, my helpers are called that; mycompany_module/helper, But my models can only be called that; MyCompany_Module/helper, I want them to like both mycompany_module/ but I can't figure out how to solve that.


MyCompany_Module MyCompany_Module_Model_Resource_Setup core_setup core_write core_read
admin MyCompany_Module admin_mycompany_module MyCompany_Module.csv Allow Everything module 1000 module example mycompany/module.xml

Client object model – javascript to change attributes of native ribbon buttons? (Or another way to select a standard ribbon tab when opening forms.)

I want my list forms to open with the "Browse" tab selected by default to avoid the hassle of getting into the drop-down lists on the "Edit" tab. I've spent most of the day googling and trying out different client-side methods.
The simplest and certainly the most efficient is to call the form with a URL including the query parameter InitialTabID = Ribbon.Read. The URL I created in this way works wonderfully if I simply cut it out and paste it into the browser. What surprised me is how to use this version of the URL via the native Sharepoint buttons.

How do I set a click function for the New Item ribbon button? I would normally use Javascript similar to the following code to set these attributes, but the button is only available when the tab is selected. Is there a way to edit these buttons using the SP ribbon properties / methods? I can't find enough documentation for this stuff to analyze or even tell what's still in use.

I would also accept another approach to end up on the Browse tab, but I've seen the variations of Javascript functions written to set the tab after the form was loaded, and so far they haven't worked either or my loading the form unacceptably slows down amounts.

// function adapted from default "+new item" anchor
function openForm(event) {
  _EasyUploadOrNewItem2(event, false, evt.currentTarget.href, "WPQ2");
  return false;

// Main code runs after page load
$(() => {
  const NewRequestLink = "https://MySiteStuff/listform.aspx?InitialTabId=Ribbon.Read&PageType=8&ListId=%7B63etc%7D&RootFolder=";
  var newItemAnchor = document.querySelector('#Ribbon.ListItem.New.NewListItem-Large a');

  // remove current onclick and reset href
  newItemAnchor.href = NewRequestLink;

  // replace with click event to open form correctly
  newItemAnchor.addEventListener('click', openForm, false);
}); – Object list is not linked to the model in .Net Core

I have a form in my .Net Core 2.2 application that does not reach the driver correctly.

The object always arrives empty in the control.

I've tried everything and don't know what else to do. I actually had everything with View Components, but I scaled it down so that I could pass the "name" index and build the lists.

Any suggestions?

Thank you very much

This is the DataSet (I tried Ajax and it doesn't work either)

ListFieldEditorViewModel (0) .Items (0) .Id: 95
ListFieldEditorViewModel (0) .Items (0) type: text
ListFieldEditorViewModel (0) .Items (0) .Name: Owner ID
ListFieldEditorViewModel (0) .Items (0) .Description: DNI Holder
ListFieldEditorViewModel (0) .Items (0) .OriginalValue: Holder ID
ListFieldEditorViewModel (0) .Items (0) .CorrectedValue:
ListFieldEditorViewModel (0) .Items (1) .Id: 96
ListFieldEditorViewModel (0) .Items (1) Type: Text
ListFieldEditorViewModel (0) .Items (1) .Name: Name of the owner
ListFieldEditorViewModel (0) .Items (1) .Description: Name Holder
ListFieldEditorViewModel (0) .Items (1) .OriginalValue: Name Holder
ListFieldEditorViewModel (0) .Items (1) .CorrectedValue:
ListFieldEditorViewModel (1) .Items (0) .Id: 97
ListFieldEditorViewModel (1) .Items (0) type: text
ListFieldEditorViewModel (1) .Items (0) .Name: Validation ID
ListFieldEditorViewModel (1) .Items (0) .Description: DNI Avalista
ListFieldEditorViewModel (1) .Items (0) .OriginalValue: DNI Avalista
ListFieldEditorViewModel (1) .Items (0) .CorrectedValue:
ListFieldEditorViewModel (1) .Items (1) .Id: 98
ListFieldEditorViewModel (1) .Items (1) type: text
ListFieldEditorViewModel (1) .Items (1) .Name: Avalist Name
ListFieldEditorViewModel (1) .Items (1) .Description: Avalist Name
ListFieldEditorViewModel (1) .Items (1) .OriginalValue: Avalist Name
ListFieldEditorViewModel (1) .Items (1) .CorrectedValue:
ListFieldEditorViewModel (2) .Items (0) .Id: 99
ListFieldEditorViewModel (2) .Items (0) type: text
ListFieldEditorViewModel (2) .Items (0) .Name: Mortgage ID
ListFieldEditorViewModel (2) .Items (0) .Description: Mortgage ID
ListFieldEditorViewModel (2) .Items (0) .OriginalValue: Mortgage ID
ListFieldEditorViewModel (2) .Items (0) .CorrectedValue:
ListFieldEditorViewModel (2) .Items (1) .Id: 100
ListFieldEditorViewModel (2) .Items (1) type: text
ListFieldEditorViewModel (2) .Items (1) .Name: Mortgage Name
ListFieldEditorViewModel (2) .Items (1) .Description: Mortgage Name
ListFieldEditorViewModel (2) .Items (1) .OriginalValue: Name of the mortgage
ListFieldEditorViewModel (2) .Items (1) .CorrectedValue:

The controller method

public IActionResult GuardarDatos(List formulario)
        return View(formulario);


@for (int i = 0; i < titulares.Count; i++) {
count++; }
@for (int i = 0; i < avalistas.Count; i++) {
count++; }
@for (int i = 0; i < hipotecantes.Count; i++) {
count++; }

The Intervening View Componenet

@if (Model.Type == EnumTipoCampo.Text) { } else if (Model.Type == EnumTipoCampo.Date) { DateTime value = DateTime.ParseExact(Model.OriginalValue, "dd/MM/yyyy", CultureInfo.InvariantCulture); } else if (Model.Type == EnumTipoCampo.Decimal) { decimal value = Convert.ToDecimal(Model.OriginalValue); } else if (Model.Type == EnumTipoCampo.Integer) { decimal value = Convert.ToInt32(Model.OriginalValue); } else if (Model.Type == EnumTipoCampo.Boolean) { } @{ string chk1 = "", chk2 = "", chk3 = ""; string display = "none"; if (Model.Status.HasValue) { if (Model.Status.Value == 1) { chk1 = "checked"; display = "none"; } else if (Model.Status.Value == 2) { chk2 = "checked"; display = "block"; } else if (Model.Status.Value == 3) { chk3 = "checked"; display = "none"; } } }
@if (Model.Type == EnumTipoCampo.Text) { } else if (Model.Type == EnumTipoCampo.Date) { } else if (Model.Type == EnumTipoCampo.Decimal) { } else if (Model.Type == EnumTipoCampo.Integer) { } else if (Model.Type == EnumTipoCampo.Boolean) { }

And the model

public class ListFieldEditorViewModel
    public List Items { get; set; }
    public ListFieldEditorViewModel()
        Items = new List();

public class FieldEditorViewModel
    public int Id { get; set; }

    public string Name { get; set; }

    public string Description { get; set; }

    public EnumTipoCampo Type { get; set; }

    public bool Mandatory { get; set; }

    public int Order { get; set; }

    public string Table { get; set; }

    public string OriginalValue { get; set; }

    public string CorrectedValue { get; set; }

    public int? Status { get; set; }

    public int SubseccionId { get; set; }

    public int? Index { get; set; }

    public FieldEditorViewModel(Campo campo)
        this.Name = campo.Nombre;
        this.Id = campo.Id;
        this.Type = (EnumTipoCampo)campo.TipoCampoId;
        this.Description = campo.Descripcion;
        this.Order = campo.Orden;
        this.Mandatory = campo.EsObligatorio;
        this.SubseccionId = campo.SubseccionId;

        if (Type == EnumTipoCampo.Date)
            this.OriginalValue = "01/01/1990";
        else if(Type==EnumTipoCampo.Integer || Type == EnumTipoCampo.Decimal)
            this.OriginalValue = "0";