[GET] Punto de Venta Profesional with Visual Basic .NET and SQL Server (Spanish) | NewProxyLists


  1. Ziplack

    Ziplack
    VIP downloader


    joined:
    December 9, 2014
    posts:
    1,054
    I like receipts:
    115
    Trophy points:
    63

    (GET) Professional Guide with Visual Basic .NET and SQL Server (Spanish)

    Hidden content:

    You must answer before you can see the hidden data contained here.

  2. manniadel
    New member


    joined:
    Today & # 39; hui
    posts:
    1
    I like receipts:
    0
    Trophy points:
    1
    Genre:
    Male

    thank you so much

do a diagonal check to win in connect four Visual Basic

I have the vertical and horizontal check to win at work, but I have no idea of ​​the diagonal check to win. This is on Visual Basic using Visual Basic.
Private check checkwin (color)
& # 39; horizontal verification to win
Dim counts as Integer = 0
For the line = 5 TB 0 Step -1
For collar = 0 to 6
If c4grid (row, col) .Image.Tag = color Then
account + = 1
If count = 4 then
MsgBox ("You win")
Output for

                End If
            Else count = 0
            End If
        Next
        count = 0
    Next

    'vertical check for win
    For col = 6 To 0 Step -1
        For row = 0 To 5
            If c4grid(row, col).Image.Tag = color Then
                count += 1
                If count = 4 Then
                    MsgBox("You Win")
                    Exit For

                End If
            Else count = 0
            End If
        Next
        count = 0
    Next
    'vertical check for win

    For col = 6 To 0 Step -1
        For row = 0 To 5
            If c4grid(row, col).Image.Tag = color Then
                count += 1
                If count = 4 Then
                    MsgBox("You Win")
                    Exit For


                End If
            Else
                count = 0
            End If
        Next
        count = 0
    Next
    'top right diagonal check for win

How do 35mm film scanners handle the basic color of the film?

A software application is used to control a (film) scanner – whether it is software provided by the manufacturer or a third-party application such as VueScan or SilverFast. When you select in the software settings that the type of film being scanned is a negative color film, the software "neutralizes" the font from the orange mask. Some scanning software allow you to choose a specific film type because the orange mask will be slightly different from one emulsion to the other.

If you try to reproduce this process more manually, there is (or at least there was) a Photoshop plugin called ColorNeg that would take care of it for you. I read some texts a few years ago, but I have never tried them. This page explains the procedure. In a nutshell, the steps are first to remove the orange mask and then reverse the image. ColorNeg takes into account the exact movie type (and thus the orange mask and color characteristics of the movie) in question.

There is a little more reading about this here:
http://dpanswers.com/content/rev_colorneg.php
http://benneh.net/techshit/vuescan-colorperfect-a-guide/
and the (short) book "The Illustrated Guide to Film Digitization" also describes the technique.

c ++ – Basic implementation of LinkedList

Do not forget that this week, I only started learning c ++. As such, I would love the suggestions of topics that I should master to become better in C ++.

Below, my code for a single link list. It does not have all the features, but only the ability to print, add, and add a node to a specified index.

Currently, I am aware that each node is created on the job. I do not know how to delete nodes from a LinkedList once the LinkedList itself is deleted. I do not know how to create a linked list without pointers.

#include

template 
struct Node {
    Node(T value);
    T data;
    Node *next;
};

template 
Node::Node(T value){
    this->data = value;
    this->next = nullptr;
}

template 
class LinkedList {
public:
    Node *head;
    LinkedList();
    void push_back(T data);
    void push_back(int index, T data); 
    void print();
};

template 
LinkedList::LinkedList(){
    this->head = nullptr;
}

template 
void LinkedList::push_back(T data){
    Node *n = new Node(data);
    if (this->head == nullptr){
        this->head = n;
    } else {
        Node *cursor = this->head;
        while(cursor->next != nullptr){
            cursor = cursor->next;
        }
        cursor->next = n;
    }
}

template 
void LinkedList::push_back(int index, T data){
    Node *cursor = this->head;
    unsigned const position = index - 1;
    int i = 0;
    while (i < position && cursor->next != nullptr){
        cursor = cursor->next;
        i++;
    }
    Node *nodeToInsert = new Node(data);
    Node *temp = cursor->next;
    cursor->next = nodeToInsert;
    nodeToInsert->next = temp;
}

template 
void LinkedList::print(){
    Node *cursor = this->head;
    while(cursor != nullptr){
        std::cout << cursor->data << 'n';
        cursor = cursor->next;
    }
}

int main(){

    LinkedList intL;
    intL.push_back(1);
    intL.push_back(2);
    intL.push_back(3);
    intL.print();

    LinkedList sL;
    sL.push_back("one");
    sL.push_back("two");
    sL.push_back("three");
    sL.push_back(2, "two point five");
    sL.print();
}

Also, should I possibly add an abstract class / or c ++ version of an interface to follow for my LinkedList, then I could use this same abstraction for, for example, a stack?

Visual basic try and catch statement [pendente]

So, I work in a program that creates the resolution formula, but when I run the program, it does not execute the catch instruction. How can I fix this problem with try and catch statements?
there is a copy of my project
insert a description of the image above

pr.probability – Is there a real function that satisfies the basic conditions of a moment generating function?

We all know that a mgf of a random variable $ m_X (t) $ is positive and $ m (0) = $ 1. My question is: if a real positive function $ f (t) $ satisfied $ f (0) = $ 1 and the function is pretty smooth (around 0), is there still a random variable $ X $ whose mgf is $ f (t) $? Or are there other conditions to fulfill?

The origin of this problem is that I want to build two independent random variables, $ X_1 $ and $ X_2 $, or $ X_1 $ follows a uniform distribution between $ (0, k) $, or $ 0 <k <$ 1 and $ X_1 + X_2 $ follows a uniform distribution between $ (0.1) $.$ X_2 $ apparently exists if $ 1 / k is a positive integer but if k $ is a real number?

How to pass an exam with basic functions and language structures c

A program that carries such functions as cyclic, selective and by style as well as function and capture, display and print, screen design

forms – The location of the action buttons is different for the modals of the basic screens

I am in the process of redesigning a product for iPad and Windows and I am currently looking at how the buttons are placed in the application.

Basic screen

This is what a generic "basic screen" looks like. Nothing special, just a navigation with some actions aligned to the right, with the content appearing below. The content is editable. Therefore, when you edit it, you must save it by clicking the save button. Automatic backup beyond the scope of this.

basic screen

modal

When you click on one of the links in the navigation, a small modal appears, which contains a form to edit.

Current design

Currently, you fill out a form or modify it, then you accept or cancel your changes by pressing two icons in the top right corner of the modal. This has a number of immediately obvious limitations:

  1. The icons are ambiguous and must be accompanied by labels to clarify the meaning.
  2. Destructive (undo) action and (complete) constructive action are presented in a similar way (given the same level of visibility) and placed too close together.
  3. The actions appear after the form, so that the user fills the form up and down and then goes back up to activate it.

current modal

Proposed design

contested modal proposal

  1. The icons are replaced by buttons that clearly specify what each action does with a label.
  2. The Cancel and Finish buttons are separated and now have a different style, the most important one: the destructive "undo" action is styled only as a link, as opposed to "full" which is now a button. I hope this will encourage filling in the form rather than canceling it.
  3. The actions are now at the bottom of the form.

It was pointed out that it seems odd that for the basic screens, we have our actions before the form (the save button that saves the content below), while the design that I have proposed for the modals is at the bottom.

I see his argument although the reason is simply to save space. What these wired structures do not reflect, is the amount of content we have to fill in such a small space. It is therefore advisable to align the Save button on the main navigation. If we did not do this, we would have to sacrifice our content area by including a new line to accommodate a backup button and maybe one or two more buttons in the future. Seems hardly worth it.

My question is: did anyone encounter this problem and what did you do about it? Is my proposal acceptable given this inconsistency between the location of the buttons on the basic screen and the modals, or does it really need to be fixed?

  • User tests at this time are unfortunately out of reach.
  • Must work for the touch and the mouse.

sweet question – Diagrams that sum up some basic concepts in mathematics

I am now reviewing some undergraduate and graduate mathematics courses, and I am pleased to see how easy it is to recall some concepts of linear algebra or homology using a diagram. conceptual that summarizes various key constructs.

Did you ask what other similar diagrams exist?


Diagrams that are both informative and provide visual insight or clues to the underlying notions.
Something in the spirit of this sweet question, but centered on a diagram summarizing some concepts.

Like the famous diagrams for:

  • The Four Fundamental Spaces (From Introduction to Linear Algebra, Fourth Edition of Gilbert Strang)

$ ~~~~~~~~~~~~~~~~~~ quad quad $ enter the description of the image here

  • Complex chain diagram illustrating some of the relationships between different groups used to define homology (from Yingkai Liu's blog):

enter the description of the image here


I hope this will qualify you for a nice and sweet question and generate a list of diagrams that can be beneficial for people wishing to browse some of the basic mathematical constructs.

security – Basic authentication .htaccess on wp-login, but allow disconnection of woocommerce

I'm using a basic permission htaccess on my WC site to prevent hackers from accessing wp-login, which works well … except with woocommerce if a logged-in client wants to log out of his account – in clicking on the logout link – it is greeted by the basic Auth popup asking them to "authorize" (generated by our htaccess).

On the Woocommerce dashboard:
Hello MrTest (not MrTest? Logout) << By clicking Logout, the Basic Authentication dialog box appears. How can we avoid this?

Here is the content of our htaccess:

AuthName "Allowed"
AuthType Basic
AuthUserFile /home/user/.pswrdfile
requires a valid user

In the WooCommerce settings, the logout endpoint is: client-logout and the logout link URL displays: example.com/shop/my-account/customer-logout/?_wpnonce=2e343434.

So, how to change the htaccess to allow "wp-login.php? Action = logout" to go through basic authentication?

I have tried that but it does not work; I have an Apache server with the latest versions.

 RewriteEngine On
 RewriteCond %{REQUEST_URI} ^/wp-login.php$
 RewriteCond %{QUERY_STRING} ^action=logout
 RewriteRule ^ - (E=noauth)

 

    Options -Indexes +FollowSymLinks +MultiViews
    AuthName "Protected page. If you are not allowed to be here, leave the page"
    AuthType Basic
    AuthUserFile "/etc/apache2/htaccess/myhtaccess"
    Require valid-user

    Order Deny,Allow
    Deny from all
    Allow from env=noauth

    Satisfy any