Domain Name System – binding and dynamic updates

I have zones in my BIND server that are dynamically updated by some Windows DHCP servers very often.
However, I have to add entries "manually" in these zones.
Can I still update these zones manually by simply editing them (using vi on my bind server, as I do with the others that do not support updates), adding the record, updating the serial number, and reloading the thing? (rndc reload)
What happens if during my serial update an update is carried out simultaneously by any dynamic system (in my case DHCP)?
Thank you very much

anglejs – while the data retry on the server side is not binding

@using (Html.BeginForm("Index", "myform", FormMethod.Post)) { }

When I click on button, the values ​​on the serever page are not bound


var _mydata = $scope.personalDetails;
        IndexFac.PostHrUploadeDataEmailData(_mydata).then(function (d) {
        }).catch(function (e) {


ac.PostHrUploadeDataEmailData = function (_data) {
        return $"/Registration/Index", _data, {
            withCredentials: false,
            headers: { 'Content-Type': 'application/x-www-form-urlencoded' },

Please help me, where I make mistakes

Switch – NIC binding under Linux in redundant network topology

I want to implement NIC bonding on a Linux server in a redundant network topology, as shown in the following network diagram.

Network topology

Both interfaces of the Linux server fa0 and fa1 would be connected to the mode active-backup, so that at this time only one of the connections is active. The bond has an IP address and a MAC address that are visible to the switches. If the active connection goes down, I know the backup will be active and send a free ARP over the network.

My confusion is how the ASA would know on which interface the packets are sent to the server, also not sure how STP can help in this topology. Both ASA are configured in Active Standby Failover.

infopath – Bugs: Binding a non-repeating control to a repeating field or group is not supported in SharePoint list forms

I'm creating a sign-up list for a corporate site and want to see the number of certain court types already registered. Details:

I have two lists: Potluck Signup List and Dish Type Lookup List.

The search for crockery types has three columns: crockery type, number of crockery types, and total crockery type. The list contains 3 records with the available types of crockery (main course, side dish, dessert).

The login list includes a search for dish type that includes a drop-down list of items from the Dish Type column of the search list. In the lookup list, the number of court types is a look back at the signup list, which shows the number of related items. The number of items selected in the enrollment list for each type of crockery is displayed (ie 3 for main course or 2 for dessert).

Dish Type Total is just a number field that I use because lookup fields can not be used for some things. I have a workflow that successfully updates this value.

I have created an InfoPath form for the registration list. I have a problem with a label (Computed Value field) indicating the number of people who have already logged in to bring the type of court selected by the user of the form. Suppose I log in to bring a supplement. I would like to show on the form that 2 other people have already registered to bring supplements.

I have two data connections in the InfoPath form: Main (Login List) and Secondary (Lookup List).

I added the Calculated Value box and set the dish type sum to be retrieved from the lookup list. By default, only the value of the first line is displayed, so I wanted to add a filter. My filter is:

Dish Type (Secondary) = Type of dish (Main)

However, when I try to publish, the error appears in the question title. The full mistake is:

Binding controls are not supported: Binding a non-repeating control to a repeating field or group is not supported in SharePoint list forms. To resolve this issue, remove the control or replace it with a repeating control, such as a repeating section or a table.

When I try to add a table, insert the Computed Value field and bind to Dish Type Total (Secondary), the following error message appears:

A repeating table must be bound to a field or group that repeats. In addition, the field or group must contain other fields.

I have the feeling that I am now running in circles and working on them for hours. Web searches have proven unsuccessful. How can I get the current value of Dish Type Total from the lookup list to display in a field on my InfoPath form based on the value of the Dish Type dropdown list?

Thank you in advance. If I can clarify something, please let me know!

ZPF CustomControl loses binding while reducing

Hello, I have made this XYController, which does not bind properly, if the parent control a DockPanel The visibility was set to reduced. It works fine, but it is hidden.

The ThumbPosX and ThumbPosY should move as property Sat and Val are controlled from different locations.

public class XYController : Control
    static XYController()
        DefaultStyleKeyProperty.OverrideMetadata(typeof(XYController), new FrameworkPropertyMetadata(typeof(XYController)));
        EventManager.RegisterClassHandler(typeof(XYController), Thumb.DragDeltaEvent, new DragDeltaEventHandler(XYController.OnThumbDragDelta));

    #region Private Members
    private const string ThumbName = "PART_Thumb";
    private TranslateTransform m_thumbTransform = new TranslateTransform();
    private Thumb m_thumb;

    #region Dependency Properties
    public Color SelectedColor
        get { return (Color)GetValue(SelectedColorProperty); }
        set { SetValue(SelectedColorProperty, value); }
    public static readonly DependencyProperty SelectedColorProperty =
    DependencyProperty.Register("SelectedColor", typeof(Color), typeof(XYController),
        new PropertyMetadata(Colors.Transparent));

    public double ThumbPosX
        get { return (double)GetValue(ThumbPosXProperty); }
        set { SetValue(ThumbPosXProperty, value); }
    public static readonly DependencyProperty ThumbPosXProperty =
    DependencyProperty.Register("ThumbPosX", typeof(double), typeof(XYController),
        new PropertyMetadata(0.0, new PropertyChangedCallback(OnThumbPosChanged)));

    public double ThumbPosY
        get { return (double)GetValue(ThumbPosYProperty); }
        set { SetValue(ThumbPosYProperty, value); }
    public static readonly DependencyProperty ThumbPosYProperty =
    DependencyProperty.Register("ThumbPosY", typeof(double), typeof(XYController),
        new PropertyMetadata(0.0, new PropertyChangedCallback(OnThumbPosChanged)));

    private static void OnThumbPosChanged(DependencyObject relatedObject, DependencyPropertyChangedEventArgs e)
        XYController xycontroller = relatedObject as XYController;
        if (xycontroller != null)
            xycontroller.m_thumbTransform.X = xycontroller.ThumbPosX * xycontroller.ActualWidth;
            xycontroller.m_thumbTransform.Y = xycontroller.ThumbPosY * xycontroller.ActualHeight;

    private void UpdatePosition(double positionX, double positionY)
        positionX = LimitValue(positionX, ActualWidth);
        positionY = LimitValue(positionY, ActualHeight);

        m_thumbTransform.X = positionX;
        m_thumbTransform.Y = positionY;

        ThumbPosX = map(positionX, 0, ActualWidth, 0, 1);
        ThumbPosY = map(positionY, 0, ActualHeight, 0, 1);

    #region Event Handlers
    private void OnThumbDragDelta(DragDeltaEventArgs e)
        double offsetX = m_thumbTransform.X + e.HorizontalChange;
        double offsetY = m_thumbTransform.Y + e.VerticalChange;
        UpdatePosition(offsetX, offsetY);

    private static void OnThumbDragDelta(object sender, DragDeltaEventArgs e)
        XYController hsvControl = sender as XYController;

    protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
        if (m_thumb != null)
            Point position = e.GetPosition(this);
            UpdatePosition(position.X, ActualHeight - position.Y); //Check canvas scale in style 

    protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
        m_thumbTransform.X = ThumbPosX * ActualWidth;
        m_thumbTransform.Y = ThumbPosY * ActualHeight;

    private double LimitValue(double value, double max)
        if (value < 0)
            value = 0;
        if (value > max)
            value = max;
        return value;

    private double map(double value, double fromLow, double fromHigh, double toLow, double toHigh)
        return (value - fromLow) * (toHigh - toLow) / (fromHigh - fromLow) + toLow;

    public override void OnApplyTemplate()
        m_thumb = GetTemplateChild(ThumbName) as Thumb;
        if (m_thumb != null)
            UpdatePosition(this.ThumbPosX, this.ThumbPosY);
            m_thumb.RenderTransform = m_thumbTransform;

So I posted it because I have no idea what's missing. I've also created custom sliders that work normally when reducing.

I use it like this:


Just a simple tie to a RadioButton, As I said the ColorSlider also one CustomControl also moves when the DockPanel has collapsed.

I tried to adjust the visibility directly to the XYController instead of the DockPanel, but the problem remains the same.

Is something missing here?

Many thanks

Binding issue with Xamarin.iOS properties with {get; } vs {get; to adjust; }

So I have base protocol

(Protocol, Model)
interface BaseProtocol
  bool IsEnabled { get; }

and another, the previous one inherits

(Protocol, Model)
interface SomeProtocol : BaseProtocol
  bool IsEnabled { get; set; }

When inherited, isEnabled becomes readwrite, and the following issue occurs during generation

Error CS0102: The type 'SomeProtocolWrapper' already contains a definition for 'IsEnabled' (CS0102)

Can anything be done to fix it? Any help is greatly appreciated.

Nginx on Docker can not access the binding deployment

I'm trying to set up an nginx container as part of a docker stack. I wanted to use a bind mount that nginx provides content with, but although the server starts properly, I keep getting the "permission denied" error message.

Here is the relevant folder structure of my project:



version: '3.7'

      context: frontend
      dockerfile: frontend.dockerfile
      - 8080:80
      - type: bind
        source: ./frontend/static
        target: /data/www
        read_only: true


FROM nginx:1.16-alpine
COPY nginx.conf /etc/nginx/nginx.conf


events {

http {
  server {
    listen 80;

    location / {
      root /data/www;

When I run docker-compose upThe container starts without any problems, but when I type localhost:8080 In the browser I get HTTP 403 and the following error in the Docker console:

frontend_1  | - - (04/Aug/2019:22:15:50 +0000) "GET / HTTP/1.1" 403 555 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36"
frontend_1  | 2019/08/04 22:15:50 (error) 7#7: *1 "/data/www/index.html" is forbidden (13: Permission denied), client:, server: , request: "GET / HTTP/1.1", host: "localhost:8080"

So Nginx clearly receives the HTTP request and looks in the right place, but can not access the binding deployment. If I put a non-existent filename at the end of the URL, I get HTTP 404 as expected.

I'm using Fedora 30. The project itself is in my home folder: ~/Dev/sandbox, I have used chmod -R 755 frontend/static in the project folder to grant permissions to the folder that needs to be bound.

I also tried to use a non-alpine image from Nginx, no difference.

Object-oriented – PHP: binding of PDO result values ​​to class properties

I'm new to PHP, trying to figure out the best way to bind column values ​​to properties in a class. The column names in the database are not ideal, and I want to extract them so that I can refer to the object properties instead. Is the following example a reasonable approach?

Class rating
// @var object
private $ db;

// @var integer
public $ id;

// @var string
public $ name;

public function __construct ($ db)
$ this-> db = $ db;

public function getById ($ id)
$ id = (int) $ id;

$ query = $ this-> db-> prepare ("SELECT * FROM checkups WHERE checkup_id =: checkup_id");
$ query-> bindValue (& # 39 ;: checkup_id & # 39 ;, $ id, PDO :: PARAM_INT);
$ query-> execute ();

$ assessment = $ query-> fetch ();

$ this-> id = $ assessment['checkup_id'];
$ this-> name = $ assessment['checkup_name'];


And then used like this:

$ assessment = new assessment ($ db);
$ assessment-> getById (1539);
echo $ assessment-> name;

Curious if there is an extra layer abstraction that I should consider or any other methods I should use to assign the values ​​to their properties. For example, I'm not sure how I would handle fetchAll () with this method. I have taken note of the PDET FETCH_OBJECT and similar methods, but they only seem to apply if the class properties have the same name as the columns from which I want to get away.