Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

dumbfounded _guy
why did "the introduction of postage stamp was an advance for privacy it made it much easier to send letter anonymously."?
i am reading a book for my IT security seminar and i need to summarize a chapter where it says:
"The introduction of postage stamps in 1840 was an advance for privacy
as it made it much easier to send a letter anonymously. Some countries got so
worried about the threat of sedition an
d libel that they passed laws requiring
a return address to be written on the back of the envelope."
but i cant find any information on this in other sources ,nor can i understand why did the stamp help anonymity.
what i can find is that it forced payment non the sender , but this doesn't hep anonymity.
does anyone has a source and explanation?
1 AnswerLaw & Ethics6 years agowhat was the name of the t.v show from the 90's which had a company that helped people get justice?
i am trying to find the name of a tv show from around the 90's .
the show was about a group of people that ran a company which helped other people(good people) get revenge\justice on people that hurt them (if i remember correctly,the company didn't play by the book,and did some shady actions in order to get justice)
the only other thing i think i remember about the show was that one of the mangers of the company was a kind of a mobster type(i think he always wore a black suit and i think smoked a cigar, and no i am not talking about tony soprano)
i thought the show was called something like revenge inc or justice inc, but i haven't found any show with that name that fits with what i remember.
2 AnswersDrama8 years agohow can you access an write to specific cells in array of pointers in assembly in model large?
i need to write a program in c that creates a variable long int **arr , and then allocates to each cell a partition sized m like this:
arr = malloc(n*sizeof(long int *));
for(i=0; i < n;i=i+2 )
arr[i] = malloc( m*sizeof(long int));
and then create an asm program in model large that implement the function:
extern void set_bufferred_long(long int *arr[], int buff_size, int i,long int value); -which sets cells of the array
this is my implantation of the function in asm:
.MODEL LARGE
.CODE
PUBLIC _set_bufferred_long ;set_bufferred_long(long int *arr[], int buff_size, int i,long int value)
; [bp+6] [bp+10] [bp+12] [bp+14]
_set_bufferred_long PROC far
PUSH BP ;Preserve BP register
MOV BP,SP
PUSH SI ;Preserve SI register
PUSH DI ;Preserve DI register
PUSH ES ;Preserve ES register
MOV AX,[BP+12] ;i
MOV CX,[BP+10] ;m
DIV CX ;AX=I/M DX=I%M
MOV CX,2
MOV BX,DX ;BX=I%M
MUL CX ;AX=AX*2 =(I/M)*2
MOV ES,[BP+8]
MOV DI,[BP+6] ;address of arr
ADD DI,AX ;address of a[i] is the block inside the array
MOV SI,ES:[DI] ;[di]=the address of the memory where the block starts (each block contains m long int cells)
MOV AX,BX ;AX=I%M
MOV BX,4 ;each cell is long int=4
MUL BX
ADD SI,AX
MOV AX,[BP+14] ;first part of long int
MOV ES:[SI],AX
MOV AX,[BP+16] ;second part of long int
MOV ES:[SI+2],AX
POP ES ;Restore ES register
POP DI ;Restore DI register
POP SI ;Restore SI register
POP BP ;Restore BP register
RET
_set_bufferred_long ENDP
but while the program runs and compile the values are not placed correctly in the array, when i debug i see that when i try to get the address in a[i] (with the command MOV SI,ES:[DI]) ,si only gets the offset of the array ,and not the content of the cell (which should be the address of the partition i want to write to)
what am i doing wrong? (when i do the same program in model small with the proper changes it works fine)
any help would be appreciated
1 AnswerProgramming & Design8 years agoIn c programming when you write void *fucntionname what does it mean?
I am trying to write some multi threading programs (via the ptheread library), and I see that you need to create the function which the ptherad is calling in the following syntax
void *fucntionname() { printf("blabla"); }
What does the 'void *fucntionname' means?
In some places I found that it is the same as ''void * ‘
i.e. it just means that the function return value can be any type (int ,float ,char ,array).
But in other places I read that this means it's an fpointer (a pointer to the function), and as so when ptherad_create is called , you give it the address of the function you wish to call(and not the function name).
Which is true?
any explanation would be appreciated.
p.s
Is the following two forms different
void * print(){}
void *print(){}
1 AnswerProgramming & Design1 decade agowhat is the fastest way to check if an array has any duplications?
i was given a question to create the fastest (most efficient ) program that receives an array (size of array n) , and return 1 if there is any duplication in the array (i,e for the array 1,2,3,1 -it should return 1)
to me it seems there is no difference between preforming a brute force check (o(n^2) or preforming some type of sort (bubble sort for example), and then checking duplicated (also n^2)
am i right?
p.s
as the values of the array are not limited hashing is not an option
2 AnswersProgramming & Design1 decade agowhen do you use the singular and when do use a plural noun ,before the word "list"?
what is the correct way to say:
book list or books list? trail list or trails list?
when do you use the singular and when do use a plural noun ,before the word "list"?
3 AnswersWords & Wordplay1 decade ago