PDA

View Full Version : nerd gifts???



MikeyIckey
03-16-2008, 12:28 PM
Hey, I was wondering if anyone had ever written some piece of code and given it to some one as a gift? I thought about learning the required languages and building a search engine and giving it to some one on a thumb drive as a gift. I know it sounds nerdy, but I wanted to make something for some one and I'm not conventionally crafty. I just wanted to see if anyone else had done anything like that and how the other person liked it?
Thanks!
-M.I.

Elysia
03-16-2008, 12:30 PM
Sure, if written some code for others. Mostly examples, though.
But if they want your end product, it's no different than giving a real gift, so hey, why not?

xuftugulus
03-16-2008, 12:41 PM
Sounds nerdomantic :)
Would easily do it for the right person.

Mario F.
03-16-2008, 09:18 PM
I wouldn't mind offering delete you; to a few people I know.

Yarin
03-17-2008, 06:39 PM
I wouldn't mind offering delete you; to a few people I know.
Good one. :D
Here's how to make peace in your house. :D


void shutUp(PPERSON per, PPERSON me)
{
if(per == me) return;
delete per->cells->voice_box;
long a, am = getDecendents(per);
BOOL sex = getGender(per);
for(a = 0; a < am; a++) {
PPERSON mate = getParent(per->child[a], !sex);
shutUp(per->child[a], me); }
return;
}

xuftugulus
03-18-2008, 01:35 AM
And as far as the gift is concerned i had a small idea...


#include "boxes.h"
#include "ribbons.h"
#include <stdmetal.h>
#include <socket.h>

extern money_t credit;

int main() {
au18_k *link, *t;
gem_t *gem;
jewel_t jewel;
money_t cost_per_link = AU * sizeof(au18_k);
int nlinks, sockfd;

credit = bank(getPid(), BANK_WITHDRAW);
if(credit/2 > DIAMOND)
gem = new_diamond();
else
gem = new_opal();
credit -= gem->money_cost;
if(credit < 0 )
return 1;
link = new_link();
for(nlink = credit/cost_per_link, t=link; nlink >0 ;nlink--) {
t->next = new_link();
if(nlink>1) t = t->next();
}
t->next = link;
jewel = meld(link, gem);
boxwrapf("%j", jewel);
ribbonize(stdbox, "%Hr %Vr %Dr",
INIT_RIBBON(1 | RIBBON_RED),
INIT_RIBBON(2 | RIBBON_GOLD,
INIT_RIBBON(3 | RIBBON_BLUE | A_BOLD));
sockfd = socket(AF_ILOVE, SOCK_PACKET, 0);
connect(sockfd, LOVE_ADDR, sizeof(socklen_t));
rewind(stdbox);
send(sockfd, stdbox, boxlen(stdbox) + 1, 0);
dream(1000);
free(love);

return 0;
}

JFonseka
03-21-2008, 04:32 AM
I would do it, but then again how many girls would like a program as a gift ?

Elysia
03-21-2008, 04:36 AM
If she wants a program as a gift, then go ahead and do it. Otherwise, you can get something else.

JFonseka
03-21-2008, 04:47 AM
If she wants a program as a gift, then go ahead and do it. Otherwise, you can get something else.

How often does one tell someone what they are giving as a gift?

Elysia
03-21-2008, 04:48 AM
You should make sure that they like it before giving it ;)

JFonseka
03-21-2008, 04:55 AM
You should make sure that they like it before giving it ;)

That's the difficult bit :p

Elysia
03-21-2008, 04:55 AM
But isn't it with all gifts? ;)

Dino
03-21-2008, 05:03 AM
How often does one tell someone what they are giving as a gift?

You obviously are not married!

JFonseka
03-21-2008, 05:06 AM
You obviously are not married!

Ah well, that will be remedied with age, or maybe not.

whiteflags
03-21-2008, 06:00 AM
One is the lonliest number that you'll ever do ...

Beautiful.

JFonseka
03-21-2008, 06:03 AM
Say what ^ ?

JFonseka
03-21-2008, 06:03 AM
Edit:

Nvm, i get it :(