[VIEWED 84683
TIMES]
|
SAVE! for ease of future access.
|
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 02-14-11 10:39
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
1
?
Liked by
|
|
Shoot out your problems...
Lets share and expand the knowledge.....!!!!
We are open to share on(any IT related stuffs) :
- Javascript/JQuery/Ajax
- Java,JSP,Servlets and Frameworks
- WebServices
- Unix, Linux, Webserver Administration
+ many more !!!!
|
|
|
|
nepali8
Please log in to subscribe to nepali8's postings.
Posted on 03-02-11 9:07
PM [Snapshot: 1946]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 03-03-11 9:08
AM [Snapshot: 1982]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
@prankster,
Yes we can but its under util package. " " is a space.
For somebody who needs to write in C#, importing java package might be more confusing.
We can so somethign like
String format = "%10.2f\n"; // width == 10 and 2 digits after the dot
float [] floats = {123.45f, 99.0f, 23.2f, 45.0f};
for(int i=0; i<floats.length; i++) {
float value = floats[i];
System.out.format(format, value);
}
output:
123.45
99.00
23.20
45.00
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 03-03-11 12:10
PM [Snapshot: 2010]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
java collections tutorial:[Nice Tutorial]
http://www.java-examples.com/java-collections-and-data-structures-%28-java.util-package-%29
|
|
|
prankster
Please log in to subscribe to prankster's postings.
Posted on 03-04-11 10:15
AM [Snapshot: 2076]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 03-04-11 3:09
PM [Snapshot: 2093]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Guys !!!
Ppl looking for jobs in Java, please search "FOCUS CAPITAL MARKETS". They are vendors but they place full time and do sponsor H1B visa as well.
http://www.focuscapital.com/dice.html
I don't work with them but just sharing the information.
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 03-08-11 7:11
PM [Snapshot: 2209]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
If new web app is to be designed .. wat would you be your topics / ideas / contents ????
|
|
|
default061
Please log in to subscribe to default061's postings.
Posted on 03-08-11 9:29
PM [Snapshot: 2234]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Ayus,
Do they hire in entry level position? or do we have to show fake experiences?
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 03-08-11 10:28
PM [Snapshot: 2247]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
@default
make 3 yrs around... put 2 yrs of bak home and a yr of here (of dhoti consultancies). infact why dont u giv them a call & explore more !!!
|
|
|
nmaharjan
Please log in to subscribe to nmaharjan's postings.
Posted on 03-09-11 2:34
PM [Snapshot: 2284]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Ayus ji,
Aso malai pani help garnu paryo..
I have a CCTV Camera connected to my DVR at my house and i want to connect it to the internet so that i can watch it from elsewhere too.
Thanks.
|
|
|
default061
Please log in to subscribe to default061's postings.
Posted on 03-09-11 3:30
PM [Snapshot: 2300]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
|
|
|
nmaharjan
Please log in to subscribe to nmaharjan's postings.
Posted on 03-09-11 3:43
PM [Snapshot: 2303]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
@default
I have already checked this forum..
thanks though..
|
|
|
default061
Please log in to subscribe to default061's postings.
Posted on 03-09-11 3:48
PM [Snapshot: 2306]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
what didnot work from that blog? if you can specify your exact problem , someone can come up with good solution.
like , you couldnot connect dvr to router or you couldnot forward the port etc.
note: I dont know a thing abt cctv :), just expecting someone to come up with solution.
|
|
|
nepali8
Please log in to subscribe to nepali8's postings.
Posted on 03-10-11 2:43
PM [Snapshot: 2356]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Last edited: 21-Mar-11 01:24 PM
|
|
|
prankster
Please log in to subscribe to prankster's postings.
Posted on 03-10-11 6:25
PM [Snapshot: 2377]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Non Cartesian product:
here is the pseudocode,
double first[10] = {1.2,1.3,5.6.......................}
double second[10] = {2.3, 4.2, 5.3,....................}
double product[10];
for (int i=0;i<10;i++)
{
product[i] = first[i] * second[i]
}
display product;
Cartesian product
double first[10] = {1.2,1.3,5.6.......................}
double second[10] = {2.3, 4.2, 5.3,....................}
double product[100]
int count = 0;
for (int i=0;i<10;i++)
{
for (j=0;j<10;j++)
{
product[count] = first[i] * second[j];
count ++
}
}
display product
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 03-10-11 9:13
PM [Snapshot: 2399]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Nice prankster !!!
@nepali8 -- if u need line by line description....POST again !!
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 03-11-11 1:51
PM [Snapshot: 2427]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Some Cool Tricks JavaScripts:
-- Display password under ************* for gmail/facebook + many more
Simple javascript - just copy and paste in browser(one is for fb and another for gmail)
e.g. go to facebook, type email and password & copy the above line in addressbar & hit enter
javascript: alert("Password:"+document.getElementById('pass').value); //for fb
javascript: alert("Password:"+document.getElementById('Passwd').value); //for gmail
& now, you should know how to do for other pages. Go to the source and look for name in the password input type
in gmail:
Password:
</span>
</td>
<td><input type="password" name="Passwd" id="Passwd" size="18" class="gaia le val" />
just replace the id in above javascript. If id is not there, getElementByName also works.
Last edited: 11-Mar-11 01:53 PM
|
|
|
troy123
Please log in to subscribe to troy123's postings.
Posted on 03-11-11 4:43
PM [Snapshot: 2448]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Last edited: 12-Mar-11 09:47 PM
|
|
|
troy123
Please log in to subscribe to troy123's postings.
Posted on 03-11-11 4:44
PM [Snapshot: 2449]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Last edited: 12-Mar-11 09:47 PM
|
|
|
prankster
Please log in to subscribe to prankster's postings.
Posted on 03-11-11 5:12
PM [Snapshot: 2457]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
@troy,
Parent Child
var1 = 1; var1 =1; (re ason var1 is intialized before fork())
var2 = fork(); (creates child process)
if (var2<=0) (checks if child process is created or not(<0)/ Also check if this fork is being called from child (0))
{
var1 =33; var1=33; (if child is not created or this is new child)
}
else
{
var1 =22; (child is created successfull, assigns var1 =22 to parent only)
}
printf("var1=%d\n", var1) (the parent should print 22 and child should print 33)
wait(&temp); //i think this is so that you can read the output
I might be wrong, try running the code and see if that is the o/p.
For your second question: see
http://www.csl.mtu.edu/cs4411/www/NOTES/process/fork/create.html
Updated in red:
Last edited: 11-Mar-11 05:19 PM
|
|
|
Ayus
Please log in to subscribe to Ayus's postings.
Posted on 03-11-11 5:14
PM [Snapshot: 2457]
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Read this:
http://www.csl.mtu.edu/cs4411/www/NOTES/process/fork/create.html
|
|