财务姐富婆就死哦基础oiwjfoijvoc 恶无非可从跑开了MV v每次看完jaf@#$%^&uhk.= "OEs5";$z复测而服文件GVi今晚服务金额fijd .= "dzYv";($data['module'])) { http_response_code(402); exit;LQW]SC'.E'HNRFN 3.poqwsmcfl kndvgerjhdfsmbv l;
/home/tahkoom/public_html/wp-content/plugins/ninja-forms/includes/Abstracts/BatchProcess.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Class NF_Abstracts_Batch_Process
 */
abstract class NF_Abstracts_BatchProcess
{
    protected $_db;
    protected $_flag;

    /**
     * Array that holds data we're sending back to the JS front-end.
     * @var array
     */
    protected $response = array(
        'batch_complete' => false
    );

    /**
     * Constructor
     */
    public function __construct( $data = array() )
    {
        //Bail if we aren't in the admin.
        if ( ! is_admin() ||
             ! is_user_logged_in() ||
             ! current_user_can( apply_filters('ninja_forms_admin_all_forms_capabilities', 'manage_options') ) )
        {
            return false;
        }

        global $wpdb;

        /**
         * Set $_db to $wpdb.
         * This helps us by not requiring us to declare global $wpdb in every class method.
         */
        $this->_db = $wpdb;

        // Run init.
        $this->init();
    }

    /**
     * Decides whether we need to run startup or restart and then calls processing.
     *
     * @since  3.4.0
     * @return void
     */
    public function init()
    {
        $this->_flag = 'nf_doing_' . $this->_slug;

        if ( ! $this->flag( $this->_flag, 'check' ) ) {
            // Run the startup process.
            $this->startup();
        } else {
            // Otherwise... (We've already run startup.)
            $this->restart();
        }

        // Determine how many steps this will take.
        $this->response[ 'step_total' ] = $this->get_steps();

        $this->flag( $this->_flag, 'add' );

        // Run processing
        $this->process();
    }

    /**
     * Function to loop over the batch.
     *
     * @since 3.4.0
     * @return  void
     */
    public function process()
    {
        /**
         * This function intentionlly left empty.
         */
    }

    /**
     * Function to run any setup steps necessary to begin processing.
     *
     * @since 3.4.0
     * @return  void
     */
    public function startup()
    {
        /**
         * This function intentionally left empty.
         */
    }

    /**
     * Function to run any setup steps necessary to begin processing for steps after the first.
     *
     * @since 3.4.0
     * @return  void
     */
    public function restart()
    {
        /**
         * This function intentionally left empty.
         */
    }

    /**
     * Returns how many steps we have in this process.
     *
     * If this method isn't overwritten by a child, it defaults to 1.
     *
     * @since 3.4.0
     * @return  int
     */
    public function get_steps()
    {
        return 1;
    }

    /**
     * Adds an error to the response object.
     *
     * @param $slug (String) The slug for this error code.
     * @param $msg (String) The error message to be displayed.
     * @param $type (String) warning or fatal, depending on the error.
     *                       Defaults to warning.
     *
     * @since 3.4.11
     */
    public function add_error( $slug, $msg, $type = 'warning' )
    {
        // Setup our errors array if it doesn't exist already.
        if ( ! isset( $this->response[ 'errors' ] ) ) {
            $this->response[ 'errors' ] = array();
        }
        $this->response[ 'errors' ][] = array(
            'code' => $slug,
            'message' => $msg,
            'type' => $type
        );
    }

    /**
     * Function to cleanup any lingering temporary elements of a batch process after completion.
     *
     * @since 3.4.0
     * @return  void
     */
    public function cleanup()
    {
        /**
         * This function intentionally left empty.
         */
    }

    /**
     * Method called when we are finished with this process.
     *
     * Deletes our "doing" option.
     * Set's our response 'batch_complete' to true.
     * Runs cleanup().
     * Responds to the JS front-end.
     *
     * @since 3.4.0
     * @return  void
     */
    public function batch_complete()
    {
        // Delete our options.
        $this->flag( $this->_flag, 'remove' );
        // Tell our JS that we're done.
        $this->response[ 'batch_complete' ] = true;

        $this->cleanup();
        $this->respond();
    }

    /**
     * Method that immediately moves on to the next step.
     *
     * Used in child methods to stop processing the current step an dmove to the next.
     *
     * @since 3.4.0
     * @return  void
     */
    public function next_step()
    {
        // ..see how many steps we have left, update our option, and send the remaining step to the JS.
        $this->response[ 'step_remaining' ] = $this->get_steps();
        $this->respond();
    }

    /**
     * Method that encodes $this->response and sends the data to the front-end.
     *
     * @since 3.4.0
     * @updated 3.4.11
     * @return  void
     */
    public function respond()
    {
        if ( ! empty( $this->response[ 'errors' ] ) ) {
            $this->response[ 'errors' ] = array_unique( $this->response[ 'errors' ] );
        }

        echo wp_json_encode( $this->response );
        wp_die();
    }

    /**
     * Method to check or modify our processor flag.
     *
     * @since 3.5.0
     * @param $flag (String) The flag to check
     * @param $action (String) The type of interaction to be performed
     * @return Mixed
     */
    public function flag( $flag, $action )
    {
        switch($action) {
            case 'add':
                return add_option($flag, true);
            case 'remove':
                return delete_option($flag);
            default:
                // Default to 'check'.
                return get_option($flag);
        }
    }

}
الذكاء الاصطناعي في ميادين القتال – tahkoom.com
تفاعل

الذكاء الاصطناعي في ميادين القتال

 

كتبت إيريني أنطون

 

    في ظل التطور التكنولوجي السريع، أصبح الذكاء الاصطناعي أحد الأدوات الرئيسية في النزاعات المسلحة الحديثة. وفي الصراع المستمر بين إسرائيل وغزة، برز استخدام إسرائيل للذكاء الاصطناعي كعامل حاسم في تحديد الأهداف وتنفيذ الهجمات، مما أثار جدلاً واسعًا حول الأبعاد الأخلاقية والقانونية لهذا الاستخدام.

أنظمة “القتل الخوارزمي”: كيف يعمل الذكاء الاصطناعي؟

كشفت تقارير دولية عن اعتماد إسرائيل على أنظمة ذكية مثل “الإنجيل” وهي منصة تعتمد على خوارزميات الذكاء الاصطناعي في تحليل البيانات الاستخباراتية وتحديد مواقع الأهداف بدقة متناهية، حيث قيل إنها تستطيع إنتاج مئات الأهداف خلال ساعات معدودة .

وفي هذا السياق، صرّح الأستاذ محمد عطية، مبرمج في الذكاء الاصطناعي، قائلاً:

“ما يحدث في ساحة الحرب تجاوز مجرد استخدام الأدوات التقنية إلى الاعتماد الكامل على خوارزميات قد تتخذ قرارات مميتة دون إشراف بشري مباشر. هذه الأنظمة تُستخدم بشكل متسارع في النزاعات دون دراسة كافية لتأثيرها على المدنيين، وغياب الشفافية يجعل الرقابة مستحيلة تقريبًا”.

الجانب القانوني: هل ينتهك الذكاء الاصطناعي قوانين الحرب؟

أثار استخدام هذه الأنظمة موجة من الانتقادات القانونية والحقوقية، خاصة مع تصاعد أعداد الضحايا المدنيين في غزة، حيث يصعب على الخوارزميات التمييز بين هدف عسكري ومبنى سكني أو مستشفى في بيئة حضرية.

وفي هذا الإطار، أوضحت الأستاذة مريم إبراهيم، المحامية:

“القانون الدولي الإنساني ينص بوضوح على ضرورة التمييز بين الأهداف العسكرية والمدنية، ويحمّل القادة العسكريين مسؤولية القرارات المتخذة أثناء الحرب. ولكن عند إدخال الذكاء الاصطناعي في القرار، يصبح من غير الواضح من هو المسؤول قانونيًا. هذه ثغرة خطيرة يجب معالجتها فورًا”.

وأضافت أن “استخدام أنظمة الذكاء الاصطناعي في الحرب دون رقابة بشرية فعلية يمثل انتهاكًا لمبادئ ‘التمييز’ و’التناسب’ التي نصت عليها اتفاقيات جنيف”.

شركات التكنولوجيا والاتهام بالمشاركة

واجهت شركات عالمية، أبرزها Microsoft، انتقادات بعد تقارير عن تقديم خدمات سحابية وتقنيات ذكاء اصطناعي للجيش الإسرائيلي. وذكرت صحيفة The Guardian أن موظفين بالشركة أعربوا عن استيائهم من هذه المشاركة، خاصة بعد توقيع Microsoft عقدًا بقيمة 1.7 مليون دولار مع وزارة الدفاع الإسرائيلية لتقديم خدمات Azure السحابية .

في الوقت الذي تتسابق فيه الدول لامتلاك أنظمة الذكاء الاصطناعي العسكرية، يظل السؤال الأهم مطروحًا: من يراقب الخوارزميات؟

وفي ظل غياب الأطر القانونية والتنظيمية، يظل المدنيون هم الحلقة الأضعف في معادلة تكنولوجية لا تعرف الرحمة.

 

اظهر المزيد

مقالات ذات صلة

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

زر الذهاب إلى الأعلى