All Questions

1
answer

How to use the address tag, doubts?

Is it correct to only use the element <address> for an email? For example: <address><a href="mailto:[email protected]">[email protected]</a></address> Examples that I always see are something...
asked on 18.07.2016 / 01:37
2
answers

Is there any way to break?

I wanted to know if there is any kind of 'break' in IF . My question is based on the example below. When the b() function returns false all subsequent comparisons are not performed. I thought the condition would compare all t...
asked on 21.09.2016 / 16:00
2
answers

How do I make mysql_num_rows of multiple results

Well, what I want is the following: I have 1 table designated by items, in this table I have 4 columns: name iditem (Unique ID) numerobot What I want to do is: I want to make a mysql_num_rows of all results, but for each different...
asked on 15.02.2017 / 01:12
2
answers

What does this piece of cast code do?

code taken from Linux x86_64 execve Shellcode #include<stdio.h> #include<string.h> unsigned char code[] = \ "\x48\x89\xc6" // mov %rax,%rsi "\x48\x89\xf2" // mov %rsi,%rdx "\x49\...
asked on 21.06.2016 / 22:08
1
answer

Cloned objects are not the same as when comparing with the Object.equals () method?

I was doing some equality testing, and when comparing two objects, being a clone of the other, I noticed that equals returns false , even the objects being identical. The return should not be true since they are cloned object...
asked on 11.01.2017 / 00:12
1
answer

How to pass an array as an argument of a function per copy?

As an array is used as a pointer in many situations . A parameter that expects an array is actually a pointer, so what it copies is the memory address and not the array data, p> But what if I want to get the data right? I know the size...
asked on 27.01.2017 / 13:00
1
answer

What is a binary-safe function? And what are your applications?

I was browsing through the php.net manual when I came across the following note about function str_replace :   Note:Thisfunctionisbinary-safe.Igavea searched here on the net and found nothing about it. What is a binary-safe func...
asked on 16.01.2017 / 23:28
1
answer

Combine all x, y, z coordinates of a list of tuples

I have the following list with several points: [(14, 9, 7), (11, 1, 20), (1, 1, 7), (13, 9, 1), (9, 13, 4), (20, 1, 4), (17, 6, 8), (14, 10, 1), (14, 2, 17), (7, 20, 7)] Each element of the list is a tuple with the coordinates (x, y, z), wh...
asked on 06.01.2017 / 15:14
1
answer

What is a linker for?

Some languages use a linker or Wikitravel as it is also called. What is its function and relationship to the compiler? Why do some languages do not have a linker ?     
asked on 21.03.2017 / 16:01
1
answer

What is the difference TEXT and LONGTEXT?

I'm working on a system where I'm going to import data from an Excel. Since these data will be temporary, I want to save the information for this imported column in JSON format in the database. So, I was in doubt about using TEXT or...
asked on 07.02.2017 / 12:06