I've read SICP, I became a Satori programmer. Yet, yesterday I asked my best friend of years to go out with her, and the answer was a direct no. We (used to) go out every week, tell eachother everything.
What the hell. I don't even feel like playing with dead dogs or whatever shit anymore. It's all pointless, /prog/.
>>10
But what happens when we feed it it's own Godel number?
Name:
Anonymous2009-04-03 17:52
OP here, I'll keep bumping this thread until she says yes.
The Culver is not a valid substitute :(
Name:
Anonymous2009-04-04 0:17
BAMPU
Name:
Anonymous2009-04-04 3:10
write a program for her.
do something like calculating the factorial of the fibbonaci of the product of every letter in her name, then converting the result to binary and tattooing it on her chest;
chicks love that stuff.
Name:
Anonymous2009-04-04 3:51
>>13 import java.math.BigInteger;
public class LoveYou {
private static String DEFAULTNAME = "Leah Culver";
private static BigInteger TWO = new BigInteger("2");
public static void main(String[] args) {
String name = args.length==0?DEFAULTNAME:args[0];
for(int i=0; i<name.length(); i++) {
int digit = (int)(name.charAt(i));
sum = sum.multiply(new BigInteger(digit+""));
}
System.out.println("Sum of name is: "+sum);
sum = fibs(sum);
System.out.println("Fibs is: "+sum);
sum = fact(sum);
System.out.println("Fact is: "+sum);
}
private static BigInteger fact(BigInteger n) {
BigInteger counter = new BigInteger(n.subtract(BigInteger.ONE)+"");
while(counter.compareTo(BigInteger.ONE)>0) {
n = n.multiply(counter);
counter = counter.subtract(BigInteger.ONE);
}
return n;
}
private static BigInteger fibs(BigInteger n) {
BigInteger t = new BigInteger("0");
BigInteger t2 = new BigInteger("1");
BigInteger t3 = new BigInteger("2");
BigInteger t4 = new BigInteger("0");
while(t3.compareTo(n)<=0) {
t4 = t.add(t2);
t = t2;
t2 = t4;
t3 = t3.add(BigInteger.ONE);
}
return t2;
}
}
Better get started.
Name:
Anonymous2009-04-04 4:28
>>14
what a kind anon.
now all OP needs is chloroform and a tattoo artist that has no problem working on a unconscious woman
Name:
Anonymous2009-04-04 4:40
>>15
Actually, I forgot to convert the result to binary, and in hindsight I'm not really sure how I would extract that information from the java standard BigInteger implementation.
>>18
:(
I feel incredibly stupid now. As you can tell, I'm not that familiar with the BigInteger library and that's the only reason I didn't NO EXCEPTIONS this thread.