does we confusing between ram addressing and ram storage?

if we have cpu with Architecture 32-bit so we can only adress 4GB from row of ram(one row are holds 64 bit, its depended of the EDB and how the ram created) so why its said that the ram will storage only 4GB. doesnt it wrong ?because one row are hold 64-bit so if we have 32-bit cpu the ram will holds(4GB = 34359738368 Bit x 64 bit = 256 GB). and when we said this ram are 4GB(have 4GB of row)

i dont know if i am understading wrong or we use terms wrong way?

Network – Subnet and VLAN addressing in a datacenter

I'm trying to learn data center networks and find it difficult to understand best practices for assigning IP addresses and VLANs to servers and racks.

For my question, I'm assuming a typical three-tier network with top-of-the-rack switch (TOR) access switches. I'd like to understand what things I would consider to assign IP addresses and VLANs to the servers in the racks (and across racks). Suppose IPs are statically assigned. Let's assume 10 racks of 40 servers each (for a total of 400 servers).

I understand that there are a million ways to make the network, but I'm really just looking for best practices (or clues).

One way to assign IPs is to assign a large subnet to the entire datacenter (/ 16 or / 24, depending on the number of hosts). I could then chain the ToRs with VLAN trunks. From what I've read, I've been able to create management, vmotion / live migration, and application data VLANs. However, would this require a server to have 3 network adapters?

The second option I could think of is to assign IP addresses one at a time to servers 1-400, but NOT to connect TORs directly (but to connect through a router). I'm confused what kind of behavior this would do. All servers are on the same subnet because they have the same network ID. But are all these servers still in the same L2 domain because switches are only connected through routers?

The third option is to assign a subnet to each rack, but this would waste a lot of IP space.

A guide on how it behaves best? How should I think about using VLANs with subnets in every way?

Why are Trump supporters addressing Obama, even though he has not been politically relevant for over 3 years?

You idiots keep shouting about things Trump is doing, what Obama did without any reaction from you, such as the separation of arrested children from the adults who illegally brought them across the border.

Leftists also routinely silence Trump's criticisms of the press, although the Obama administration has actually used its executive powers to harass and prosecute critical journalists.

The point – apparently hovering above your heads – is that by simply remembering how you acted under the previous President, we can easily point out your hypocrisy when you freak over Trump.

Computer Architecture – Relationship between CPU Cycle and Addressing Mode

Professor has put this question into consideration. I can not find any relevant reference for this question

Which addressing modes (for x86 architectures) consume more CPU clock? (Keep in mind that all are special registers.)
A. Indexed
B. PC Relative
C. Index register with shift
D. None of the above

What I have understood is that fetching instructions (1 cycle) and updating the PC value is the same for all modes.
The indexed mode takes 1 cycle (calculation of the effective address because the base address is already set) and 1 cycle for writing to the memory.

PC Relative will decide 1 cycle for the command, 1 cycle for fetching operands from memory and 1 cycle for writing back the memory.

The indexed shift register requires 1 cycle for the decoding of n commands, 1 cycle for the calculation of the effective address and 1 cycle for the fetching of the operands, and 1 cycle for the write-back of the memory.
I am getting indexed register with shift mode as having more cpu cycle.

Correct me if I'm wrong. Also provide a reference to understand the relationship between CPU cycle and addressing mode mvc – Addressing questions about multiple servers

Full Disclosure: I've been a .NET developer for several years, but have never worked on deployment. So far, I've only deployed IIS locally (single instance) to test developers. I did not have a chance to participate in multi-server deployments, including load balancing, load testing, stress testing, etc. This remains a dark area and a weak point when I conduct an interview and I want to correct that situation.

In two recent interviews I was asked the following questions:

(1) In a distributed ASP.NET MVC system, the logon request of a user is serviced by server 1. He is logged in. Because HTTP is stateless, the server has completed its request response and closed the connection. His subsequent request from the homepage hits server 2.
How can Server 2 detect if the user is already logged in? How do server authentication information communicate?

(2) How do you achieve a transaction / rollback in a distributed architecture? For example, suppose you have a resource that needs to be written in part to 2 servers. You provide two asynchronous HTTP POST requests with the appropriate data to each server. On server 1, writing is successful. on server 2, the write fails. How's it going?
Are you putting the writing back on Server 1? Are you trying to save to Server 2 again? How do you achieve this?

It would be nice if you could answer these questions. But more importantly, I'm looking for resources on these topics.
Where do I have to search and how can I answer such questions?

Computer Architecture – Determine the Postbyte for the Indexed 6809 Addressing Instruction

Thank you for contributing to the Computer Science Stack Exchange!

  • Please be safe! answer the question, Provide details and share your research!

But avoid

  • Ask for help, clarification or answers to other answers.
  • Make statements based on opinions; secure them with references or personal experiences.

Use MathJax to format equations. Mathjax reference.

For more information, see our tips for writing great answers.

php – Problems with addressing with jQuery, the variable arrives without value

Good morning, I am making a web program and have a problem sending a variable via Javascript and Javascript.

I have the following method that redirects and sends a variable through this address:

Function consultPaciente () {
url = "index.php? action = consultPatient & document =" + $ ("# assignDocument"). attr (& # 39; value & # 39;);
$ ("# patient"). load (url);
/ * alert ($ ("# assignDocument"). attr (& # 39; value & # 39;)); * /

I do the code I've commented to know what value I get in the execution, which means it's undefined.

The HTML file that uses this code is as follows:

        Dental Management System

Assign appointment

As you can see, I first ask if the patient is there and I do it with the javascript function.

The Javascript feature redirects me to the main page called index.php, which performs functions in the Controller class and GestorCita.


    seePage (& # 39; view / html / assign.php & # 39;);
elseif ($ _ GET['accion'] == & # 39; consult & # 39;
$ controller-> verPagina (& # 39; vista / html / consultar.php & # 39;);
elseif ($ _GET['accion'] == & # 39; cancel & # 39;
$ driver-> verPagina (& # 39; vista / html / cancel.php & # 39;);
elseif ($ _GET['accion'] == & # 39; saveQuote & # 39;) {
$ controller-> addQuote ($ _ POST['asignarDocumento'], $ _POST['medico'],
$ _POST['fecha'], $ _POST['hora'], $ _POST['consultorio']);
elseif ($ _ GET['accion'] == & # 39; consultQuote & # 39;) {
$ controller-> consultQuotes ($ _ POST['consultarDocumento']);
elseif ($ _GET['accion'] == & # 39; cancelQuote & # 39;) {
$ driver-> cancelQuote ($ _ POST.)['cancelarDocumento']);
elseif ($ _GET['accion'] == & # 39; patient consult & # 39;) {
$ controller-> consult the patient ($ _ GET['documento']);
$ controller-> verPagina (& # 39; vista / html / inicio.php & # 39;);
$ controller-> verPagina (& # 39; vista / html / inicio.php & # 39;);


Here is the method consult patient in the controller class, which is instantiated in index.php.

                #metodo consult patients
public function consultPaciente ($ doc) {
$ gestorCita = new GestorCita ();
$ result = $ gestorQuita-> consultPaciente ($ doc);
required_once & # 39; Vista / html / consultPaciente.php & # 39 ;;

and here's the GestorCita class, which is instantiated in the previous controller class.

                #metodo consult patients
public function consultPaciente ($ doc) {
$ gestorCita = new GestorCita ();
$ result = $ gestorQuita-> consultPaciente ($ doc);
required_once & # 39; Vista / html / consultPaciente.php & # 39 ;;

When a user is executed in the browser, this is entered in the database and I see that it is not registered.

Execution interface

The problem I notice is that the value "document" does not arrive to me, as it appears to me to be undefined when printing.

Note: The connection and the query and the verification and they work normally, because I have other questions and have no problems.

Thanks for any help I can get to it and any problem, but you already know what it's like in the beginning.

patients document
patients document