Computing desk | ||
---|---|---|
< April 18 | << Mar | April | May >> | April 20 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
how are the data-bases of images mapped to strings made? (and whats an "op"?) 70.114.248.114 (talk) 02:40, 19 April 2013 (UTC)
The question is an interesting one that is not answered by the CAPTCHA article. If an English word has been taken from a book and distorted so it can't be read by machine, how does the server know what input is correct? What string is mapped to the image I was presented with here? Presumably no human made a conscious decision to require me to type "λόγον" ! Sussexonian (talk) 18:13, 20 April 2013 (UTC)
IS there a standard term for the highest level of DNS domain name at which cookie sharing can take place? This would be the highest level that does not appear in the public suffix list, for example within the .co.uk namespace it would be the third level domain, so news.bbc.co.uk and weather.bbc.co.uk can share cookies, but for .com names it is the second level domain, and according to the list for nsw.edu.au it is the forth level domain. Some sites incorrectly refer to this as the second level domain[1] but is there a recognised term for it. The best term that I can come up with is "first level below the effective tld portion of the name", but is there already a recognised term. -- Q Chris (talk) 11:02, 19 April 2013 (UTC)
Hi !
--->My doubt Is on relation ship between sleep method and interrupt status flag.
--->I am asking this doubt based on below two programmes.
--->In programme1, I have called sleep method with out clearing interrupt status .Then InterruptedException was thrown.
--->In programme2 ,I have called sleep method after clearing interrupt status flag using interrupted method.
Then InterruptedException was not thrown.
Is there any relation ship between sleep method and interrupt status flag?
Does sleep method throws Interrupted exception based on interrupt status flag?
Programme1:
class even extends Thread {
public void run() {
for(int i=10;i<=20;i=i+2) {
System.out.println(i);
this.interrupt();
try {Thread.sleep(1000);}
catch(InterruptedException ie) {System.out.println("interrupted");
}
}
public static void main(String args[]) {
even e1=new even();
e1.start();
}
}
Output:
10 interrupted 12 interrupted 14 interrupted 16 interrupted 18 interrupted 20 Interrupted
Programme2:
class even extends Thread {
public void run() {
for(int i=10;i<=20;i=i+2) {
System.out.println(i);
this.interrupt();
Thread.interrupted();
try {Thread.sleep(1000);}
catch(InterruptedException ie) {System.out.println("interrupted");
}
}
public static void main(String args[]) {
even e1=new even();
e1.start();
}
}
Output:
10 12 14 16 18 20
— Preceding unsigned comment added by Me shankara (talk • contribs) 15:47, 19 April 2013 (UTC)